/*!
* @license PreloadJS
* Visit http://createjs.com/ for documentation, updates and examples.
*
* Copyright (c) 2011-2013 gskinner.com, inc.
*
* Distributed under the terms of the MIT license.
* http://www.opensource.org/licenses/mit-license.html
*
* This notice shall be included in all copies or substantial portions of the Software.
*/

/*!
 * jQuery JavaScript Library v1.12.4
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2016-05-20T17:17Z
 */

/*!
 * Sizzle CSS Selector Engine v2.2.1
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2015-10-17
 */

/*! jQuery Mobile v1.4.5 | Copyright 2010, 2014 jQuery Foundation, Inc. | jquery.org/license */

/*!
 * jQuery UI Core 1.11.2
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/category/ui-core/
 */

/*!
 * jQuery UI Widget 1.11.2
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/jQuery.widget/
 */

/*!
 * jQuery UI Mouse 1.11.2
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/mouse/
 */

/*!
 * jQuery UI Draggable 1.11.2
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/draggable/
 */

/*!
 * jQuery UI Droppable 1.11.2
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/droppable/
 */

/*!
 * jQuery UI Position 1.11.2
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/position/
 */

/*!
 * jQuery UI Touch Punch 0.2.3
 *
 * Copyright 2011–2014, Dave Furfero
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 * Depends:
 *  jquery.ui.widget.js
 *  jquery.ui.mouse.js
 */

/* Notify.js - http://notifyjs.com/ Copyright (c) 2015 MIT */

/*!
 * jQuery Mousewheel 3.1.13
 *
 * Copyright 2015 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */

/*
 * Copyright (c) 2010 Nick Galbreath
 * http://code.google.com/p/stringencoders/source/browse/#svn/trunk/javascript
 *
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 */

/*! jQuery Color v@2.1.2 http://github.com/jquery/jquery-color | jquery.org/license */

/**
 * @license SmartBuilder4 HTML5 widget framework, Copyright (c) 2014
 *          SuddenlySmart;
 * @author Kent Xu
 *
 * Obsolete?
 */

/**
 * @license SmartBuilder4 HTML5 widget framework, Copyright (c) 2014 SuddenlySmart;
 * @author Kent Xu
 * @ver 20151109
 */

/**
 * @license RequireJS text 2.0.12 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
 * Available via the MIT or new BSD license.
 * see: http://github.com/requirejs/text for details
 */

/** @license
 * RequireJS plugin for loading JSON files
 * - depends on Text plugin and it was HEAVILY "inspired" by it as well.
 * Author: Miller Medeiros
 * Version: 0.4.0 (2014/04/10)
 * Released under the MIT license
 */

/** @license
 * RequireJS Image Plugin
 * Author: Miller Medeiros
 * Version: 0.2.2 (2013/02/08)
 * Released under the MIT license
 */

this.createjs=this.createjs||{},function(){var e=createjs.PreloadJS=createjs.PreloadJS||{};e.version="NEXT",e.buildDate="Thu, 02 Apr 2015 20:48:15 GMT"}(),this.createjs=this.createjs||{},createjs.extend=function(e,t){function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i},this.createjs=this.createjs||{},createjs.promote=function(e,t){var i=e.prototype,n=Object.getPrototypeOf&&Object.getPrototypeOf(i)||i.__proto__;if(n){i[(t+="_")+"constructor"]=n.constructor;for(var r in n)i.hasOwnProperty(r)&&"function"==typeof n[r]&&(i[t+r]=n[r])}return e},this.createjs=this.createjs||{},createjs.indexOf=function(e,t){for(var i=0,n=e.length;n>i;i++)if(t===e[i])return i;return-1},this.createjs=this.createjs||{},function(){createjs.proxy=function(e,t){var i=Array.prototype.slice.call(arguments,2);return function(){return e.apply(t,Array.prototype.slice.call(arguments,0).concat(i))}}}(),this.createjs=this.createjs||{},function(){function e(){throw"BrowserDetect cannot be instantiated"}var t=e.agent=window.navigator.userAgent;e.isWindowPhone=t.indexOf("IEMobile")>-1||t.indexOf("Windows Phone")>-1,e.isFirefox=t.indexOf("Firefox")>-1,e.isOpera=null!=window.opera,e.isChrome=t.indexOf("Chrome")>-1,e.isIOS=(t.indexOf("iPod")>-1||t.indexOf("iPhone")>-1||t.indexOf("iPad")>-1)&&!e.isWindowPhone,e.isAndroid=t.indexOf("Android")>-1&&!e.isWindowPhone,e.isBlackberry=t.indexOf("Blackberry")>-1,createjs.BrowserDetect=e}(),this.createjs=this.createjs||{},function(){function e(e,t,i){this.type=e,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!t,this.cancelable=!!i,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var t=e.prototype;t.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},t.stopPropagation=function(){this.propagationStopped=!0},t.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},t.remove=function(){this.removed=!0},t.clone=function(){return new e(this.type,this.bubbles,this.cancelable)},t.set=function(e){for(var t in e)this[t]=e[t];return this},t.toString=function(){return"[Event (type="+this.type+")]"},createjs.Event=e}(),this.createjs=this.createjs||{},function(){function e(e,t,i){this.Event_constructor("error"),this.title=e,this.message=t,this.data=i}var t=createjs.extend(e,createjs.Event);t.clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)},createjs.ErrorEvent=createjs.promote(e,"Event")}(),this.createjs=this.createjs||{},function(){function e(){this._listeners=null,this._captureListeners=null}var t=e.prototype;e.initialize=function(e){e.addEventListener=t.addEventListener,e.on=t.on,e.removeEventListener=e.off=t.removeEventListener,e.removeAllEventListeners=t.removeAllEventListeners,e.hasEventListener=t.hasEventListener,e.dispatchEvent=t.dispatchEvent,e._dispatchEvent=t._dispatchEvent,e.willTrigger=t.willTrigger},t.addEventListener=function(e,t,i){var n;n=i?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var r=n[e];return r&&this.removeEventListener(e,t,i),r=n[e],r?r.push(t):n[e]=[t],t},t.on=function(e,t,i,n,r,o){return t.handleEvent&&(i=i||t,t=t.handleEvent),i=i||this,this.addEventListener(e,function(e){t.call(i,e,r),n&&e.remove()},o)},t.removeEventListener=function(e,t,i){var n=i?this._captureListeners:this._listeners;if(n){var r=n[e];if(r)for(var o=0,s=r.length;s>o;o++)if(r[o]==t){1==s?delete n[e]:r.splice(o,1);break}}},t.off=t.removeEventListener,t.removeAllEventListeners=function(e){e?(this._listeners&&delete this._listeners[e],this._captureListeners&&delete this._captureListeners[e]):this._listeners=this._captureListeners=null},t.dispatchEvent=function(e){if("string"==typeof e){var t=this._listeners;if(!t||!t[e])return!1;e=new createjs.Event(e)}else e.target&&e.clone&&(e=e.clone());try{e.target=this}catch(i){}if(e.bubbles&&this.parent){for(var n=this,r=[n];n.parent;)r.push(n=n.parent);var o,s=r.length;for(o=s-1;o>=0&&!e.propagationStopped;o--)r[o]._dispatchEvent(e,1+(0==o));for(o=1;s>o&&!e.propagationStopped;o++)r[o]._dispatchEvent(e,3)}else this._dispatchEvent(e,2);return e.defaultPrevented},t.hasEventListener=function(e){var t=this._listeners,i=this._captureListeners;return!!(t&&t[e]||i&&i[e])},t.willTrigger=function(e){for(var t=this;t;){if(t.hasEventListener(e))return!0;t=t.parent}return!1},t.toString=function(){return"[EventDispatcher]"},t._dispatchEvent=function(e,t){var i,n=1==t?this._captureListeners:this._listeners;if(e&&n){var r=n[e.type];if(!r||!(i=r.length))return;try{e.currentTarget=this}catch(o){}try{e.eventPhase=t}catch(o){}e.removed=!1,r=r.slice();for(var s=0;i>s&&!e.immediatePropagationStopped;s++){var a=r[s];a.handleEvent?a.handleEvent(e):a(e),e.removed&&(this.off(e.type,a,1==t),e.removed=!1)}}},createjs.EventDispatcher=e}(),this.createjs=this.createjs||{},function(){function e(e,t){this.Event_constructor("progress"),this.loaded=e,this.total=null==t?1:t,this.progress=0==t?0:this.loaded/this.total}var t=createjs.extend(e,createjs.Event);t.clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)},createjs.ProgressEvent=createjs.promote(e,"Event")}(window),function(){function e(t,n){function o(e){if(o[e]!==m)return o[e];var t;if("bug-string-char-index"==e)t="a"!="a"[0];else if("json"==e)t=o("json-stringify")&&o("json-parse");else{var i,r='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var l=n.stringify,c="function"==typeof l&&A;if(c){(i=function(){return 1}).toJSON=i;try{c="0"===l(0)&&"0"===l(new s)&&'""'==l(new a)&&l(b)===m&&l(m)===m&&l()===m&&"1"===l(i)&&"[1]"==l([i])&&"[null]"==l([m])&&"null"==l(null)&&"[null,null,null]"==l([m,b,null])&&l({a:[i,!0,!1,null,"\x00\b\n\f\r	"]})==r&&"1"===l(null,i)&&"[\n 1,\n 2\n]"==l([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==l(new u(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==l(new u(864e13))&&'"-000001-01-01T00:00:00.000Z"'==l(new u(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==l(new u(-1))}catch(d){c=!1}}t=c}if("json-parse"==e){var h=n.parse;if("function"==typeof h)try{if(0===h("0")&&!h(!1)){i=h(r);var p=5==i.a.length&&1===i.a[0];if(p){try{p=!h('"	"')}catch(d){}if(p)try{p=1!==h("01")}catch(d){}if(p)try{p=1!==h("1.")}catch(d){}}}}catch(d){p=!1}t=p}}return o[e]=!!t}t||(t=r.Object()),n||(n=r.Object());var s=t.Number||r.Number,a=t.String||r.String,l=t.Object||r.Object,u=t.Date||r.Date,c=t.SyntaxError||r.SyntaxError,d=t.TypeError||r.TypeError,h=t.Math||r.Math,p=t.JSON||r.JSON;"object"==typeof p&&p&&(n.stringify=p.stringify,n.parse=p.parse);var f,g,m,v=l.prototype,b=v.toString,A=new u(-0xc782b5b800cec);try{A=-109252==A.getUTCFullYear()&&0===A.getUTCMonth()&&1===A.getUTCDate()&&10==A.getUTCHours()&&37==A.getUTCMinutes()&&6==A.getUTCSeconds()&&708==A.getUTCMilliseconds()}catch(y){}if(!o("json")){var x="[object Function]",w="[object Date]",_="[object Number]",E="[object String]",k="[object Array]",T="[object Boolean]",S=o("bug-string-char-index");if(!A)var C=h.floor,j=[0,31,59,90,120,151,181,212,243,273,304,334],L=function(e,t){return j[t]+365*(e-1970)+C((e-1969+(t=+(t>1)))/4)-C((e-1901+t)/100)+C((e-1601+t)/400)};if((f=v.hasOwnProperty)||(f=function(e){var t,i={};return(i.__proto__=null,i.__proto__={toString:1},i).toString!=b?f=function(e){var t=this.__proto__,i=e in(this.__proto__=null,this);return this.__proto__=t,i}:(t=i.constructor,f=function(e){var i=(this.constructor||t).prototype;return e in this&&!(e in i&&this[e]===i[e])}),i=null,f.call(this,e)}),g=function(e,t){var n,r,o,s=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n;for(o in r)f.call(r,o)&&s++;return n=r=null,s?g=2==s?function(e,t){var i,n={},r=b.call(e)==x;for(i in e)r&&"prototype"==i||f.call(n,i)||!(n[i]=1)||!f.call(e,i)||t(i)}:function(e,t){var i,n,r=b.call(e)==x;for(i in e)r&&"prototype"==i||!f.call(e,i)||(n="constructor"===i)||t(i);(n||f.call(e,i="constructor"))&&t(i)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],g=function(e,t){var n,o,s=b.call(e)==x,a=!s&&"function"!=typeof e.constructor&&i[typeof e.hasOwnProperty]&&e.hasOwnProperty||f;for(n in e)s&&"prototype"==n||!a.call(e,n)||t(n);for(o=r.length;n=r[--o];a.call(e,n)&&t(n));}),g(e,t)},!o("json-stringify")){var P={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},R="000000",I=function(e,t){return(R+(t||0)).slice(-e)},M="\\u00",O=function(e){for(var t='"',i=0,n=e.length,r=!S||n>10,o=r&&(S?e.split(""):e);n>i;i++){var s=e.charCodeAt(i);switch(s){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=P[s];break;default:if(32>s){t+=M+I(2,s.toString(16));break}t+=r?o[i]:e.charAt(i)}}return t+'"'},N=function(e,t,i,n,r,o,s){var a,l,u,c,h,p,v,A,y,x,S,j,P,R,M,D;try{a=t[e]}catch(B){}if("object"==typeof a&&a)if(l=b.call(a),l!=w||f.call(a,"toJSON"))"function"==typeof a.toJSON&&(l!=_&&l!=E&&l!=k||f.call(a,"toJSON"))&&(a=a.toJSON(e));else if(a>-1/0&&1/0>a){if(L){for(h=C(a/864e5),u=C(h/365.2425)+1970-1;L(u+1,0)<=h;u++);for(c=C((h-L(u,0))/30.42);L(u,c+1)<=h;c++);h=1+h-L(u,c),p=(a%864e5+864e5)%864e5,v=C(p/36e5)%24,A=C(p/6e4)%60,y=C(p/1e3)%60,x=p%1e3}else u=a.getUTCFullYear(),c=a.getUTCMonth(),h=a.getUTCDate(),v=a.getUTCHours(),A=a.getUTCMinutes(),y=a.getUTCSeconds(),x=a.getUTCMilliseconds();a=(0>=u||u>=1e4?(0>u?"-":"+")+I(6,0>u?-u:u):I(4,u))+"-"+I(2,c+1)+"-"+I(2,h)+"T"+I(2,v)+":"+I(2,A)+":"+I(2,y)+"."+I(3,x)+"Z"}else a=null;if(i&&(a=i.call(t,e,a)),null===a)return"null";if(l=b.call(a),l==T)return""+a;if(l==_)return a>-1/0&&1/0>a?""+a:"null";if(l==E)return O(""+a);if("object"==typeof a){for(R=s.length;R--;)if(s[R]===a)throw d();if(s.push(a),S=[],M=o,o+=r,l==k){for(P=0,R=a.length;R>P;P++)j=N(P,a,i,n,r,o,s),S.push(j===m?"null":j);D=S.length?r?"[\n"+o+S.join(",\n"+o)+"\n"+M+"]":"["+S.join(",")+"]":"[]"}else g(n||a,function(e){var t=N(e,a,i,n,r,o,s);t!==m&&S.push(O(e)+":"+(r?" ":"")+t)}),D=S.length?r?"{\n"+o+S.join(",\n"+o)+"\n"+M+"}":"{"+S.join(",")+"}":"{}";return s.pop(),D}};n.stringify=function(e,t,n){var r,o,s,a;if(i[typeof t]&&t)if((a=b.call(t))==x)o=t;else if(a==k){s={};for(var l,u=0,c=t.length;c>u;l=t[u++],a=b.call(l),(a==E||a==_)&&(s[l]=1));}if(n)if((a=b.call(n))==_){if((n-=n%1)>0)for(r="",n>10&&(n=10);r.length<n;r+=" ");}else a==E&&(r=n.length<=10?n:n.slice(0,10));return N("",(l={},l[""]=e,l),o,s,r,"",[])}}if(!o("json-parse")){var D,B,H=a.fromCharCode,F={92:"\\",34:'"',47:"/",98:"\b",116:"	",110:"\n",102:"\f",114:"\r"},q=function(){throw D=B=null,c()},z=function(){for(var e,t,i,n,r,o=B,s=o.length;s>D;)switch(r=o.charCodeAt(D)){case 9:case 10:case 13:case 32:D++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=S?o.charAt(D):o[D],D++,e;case 34:for(e="@",D++;s>D;)if(r=o.charCodeAt(D),32>r)q();else if(92==r)switch(r=o.charCodeAt(++D)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=F[r],D++;break;case 117:for(t=++D,i=D+4;i>D;D++)r=o.charCodeAt(D),r>=48&&57>=r||r>=97&&102>=r||r>=65&&70>=r||q();e+=H("0x"+o.slice(t,D));break;default:q()}else{if(34==r)break;for(r=o.charCodeAt(D),t=D;r>=32&&92!=r&&34!=r;)r=o.charCodeAt(++D);e+=o.slice(t,D)}if(34==o.charCodeAt(D))return D++,e;q();default:if(t=D,45==r&&(n=!0,r=o.charCodeAt(++D)),r>=48&&57>=r){for(48==r&&(r=o.charCodeAt(D+1),r>=48&&57>=r)&&q(),n=!1;s>D&&(r=o.charCodeAt(D),r>=48&&57>=r);D++);if(46==o.charCodeAt(D)){for(i=++D;s>i&&(r=o.charCodeAt(i),r>=48&&57>=r);i++);i==D&&q(),D=i}if(r=o.charCodeAt(D),101==r||69==r){for(r=o.charCodeAt(++D),(43==r||45==r)&&D++,i=D;s>i&&(r=o.charCodeAt(i),r>=48&&57>=r);i++);i==D&&q(),D=i}return+o.slice(t,D)}if(n&&q(),"true"==o.slice(D,D+4))return D+=4,!0;if("false"==o.slice(D,D+5))return D+=5,!1;if("null"==o.slice(D,D+4))return D+=4,null;q()}return"$"},U=function(e){var t,i;if("$"==e&&q(),"string"==typeof e){if("@"==(S?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=z(),"]"!=e;i||(i=!0))i&&(","==e?(e=z(),"]"==e&&q()):q()),","==e&&q(),t.push(U(e));return t}if("{"==e){for(t={};e=z(),"}"!=e;i||(i=!0))i&&(","==e?(e=z(),"}"==e&&q()):q()),(","==e||"string"!=typeof e||"@"!=(S?e.charAt(0):e[0])||":"!=z())&&q(),t[e.slice(1)]=U(z());return t}q()}return e},W=function(e,t,i){var n=X(e,t,i);n===m?delete e[t]:e[t]=n},X=function(e,t,i){var n,r=e[t];if("object"==typeof r&&r)if(b.call(r)==k)for(n=r.length;n--;)W(r,n,i);else g(r,function(e){W(r,e,i)});return i.call(e,t,r)};n.parse=function(e,t){var i,n;return D=0,B=""+e,i=U(z()),"$"!=z()&&q(),D=B=null,t&&b.call(t)==x?X((n={},n[""]=i,n),"",t):i}}}return n.runInContext=e,n}var t="function"==typeof define&&define.amd,i={"function":!0,object:!0},n=i[typeof exports]&&exports&&!exports.nodeType&&exports,r=i[typeof window]&&window||this,o=n&&i[typeof module]&&module&&!module.nodeType&&"object"==typeof global&&global;if(!o||o.global!==o&&o.window!==o&&o.self!==o||(r=o),n&&!t)e(r,n);else{var s=r.JSON,a=r.JSON3,l=!1,u=e(r,r.JSON3={noConflict:function(){return l||(l=!0,r.JSON=s,r.JSON3=a,s=a=null),u}});r.JSON={parse:u.parse,stringify:u.stringify}}t&&define("perload",[],function(){return u})}.call(this),function(){var e={};e.parseXML=function(e,t){var i=null;try{if(window.DOMParser){var n=new DOMParser;i=n.parseFromString(e,t)}}catch(r){}if(!i)try{i=new ActiveXObject("Microsoft.XMLDOM"),i.async=!1,i.loadXML(e)}catch(r){i=null}return i},e.parseJSON=function(e){if(null==e)return null;try{return JSON.parse(e)}catch(t){throw t}},createjs.DataUtils=e}(),this.createjs=this.createjs||{},function(){function e(){this.src=null,this.type=null,this.id=null,this.maintainOrder=!1,this.callback=null,this.data=null,this.method=createjs.LoadItem.GET,this.values=null,this.headers=null,this.withCredentials=!1,this.mimeType=null,this.crossOrigin=null,this.loadTimeout=i.LOAD_TIMEOUT_DEFAULT}var t=e.prototype={},i=e;i.LOAD_TIMEOUT_DEFAULT=8e3,i.create=function(t){if("string"==typeof t){var n=new e;return n.src=t,n}if(t instanceof i)return t;if(t instanceof Object&&t.src)return null==t.loadTimeout&&(t.loadTimeout=i.LOAD_TIMEOUT_DEFAULT),t;throw new Error("Type not recognized.")},t.set=function(e){for(var t in e)this[t]=e[t];return this},createjs.LoadItem=i}(),function(){var e={};e.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,e.RELATIVE_PATT=/^[.\/]*?\//i,e.EXTENSION_PATT=/\/?[^\/]+\.(\w{1,5})$/i,e.parseURI=function(t){var i={absolute:!1,relative:!1};if(null==t)return i;var n=t.indexOf("?");n>-1&&(t=t.substr(0,n));var r;return e.ABSOLUTE_PATT.test(t)?i.absolute=!0:e.RELATIVE_PATT.test(t)&&(i.relative=!0),(r=t.match(e.EXTENSION_PATT))&&(i.extension=r[1].toLowerCase()),i},e.formatQueryString=function(e,t){if(null==e)throw new Error("You must specify data.");var i=[];for(var n in e)i.push(n+"="+escape(e[n]));return t&&(i=i.concat(t)),i.join("&")},e.buildPath=function(e,t){if(null==t)return e;var i=[],n=e.indexOf("?");if(-1!=n){var r=e.slice(n+1);i=i.concat(r.split("&"))}return-1!=n?e.slice(0,n)+"?"+this._formatQueryString(t,i):e+"?"+this._formatQueryString(t,i)},e.isCrossDomain=function(e){var t=document.createElement("a");t.href=e.src;var i=document.createElement("a");i.href=location.href;var n=""!=t.hostname&&(t.port!=i.port||t.protocol!=i.protocol||t.hostname!=i.hostname);return n},e.isLocal=function(e){var t=document.createElement("a");return t.href=e.src,""==t.hostname&&"file:"==t.protocol},e.isBinary=function(e){switch(e){case createjs.AbstractLoader.IMAGE:case createjs.AbstractLoader.BINARY:return!0;default:return!1}},e.isImageTag=function(e){return e instanceof HTMLImageElement},e.isAudioTag=function(e){return window.HTMLAudioElement?e instanceof HTMLAudioElement:!1},e.isVideoTag=function(e){return window.HTMLVideoElement?e instanceof HTMLVideoElement:!1},e.isText=function(e){switch(e){case createjs.AbstractLoader.TEXT:case createjs.AbstractLoader.JSON:case createjs.AbstractLoader.MANIFEST:case createjs.AbstractLoader.XML:case createjs.AbstractLoader.CSS:case createjs.AbstractLoader.SVG:case createjs.AbstractLoader.JAVASCRIPT:case createjs.AbstractLoader.SPRITESHEET:return!0;default:return!1}},e.getTypeByExtension=function(e){if(null==e)return createjs.AbstractLoader.TEXT;switch(e.toLowerCase()){case"jpeg":case"jpg":case"gif":case"png":case"webp":case"bmp":return createjs.AbstractLoader.IMAGE;case"ogg":case"mp3":case"webm":return createjs.AbstractLoader.SOUND;case"mp4":case"webm":case"ts":return createjs.AbstractLoader.VIDEO;case"json":return createjs.AbstractLoader.JSON;case"xml":return createjs.AbstractLoader.XML;case"css":return createjs.AbstractLoader.CSS;case"js":return createjs.AbstractLoader.JAVASCRIPT;case"svg":return createjs.AbstractLoader.SVG;default:return createjs.AbstractLoader.TEXT}},createjs.RequestUtils=e}(),this.createjs=this.createjs||{},function(){function e(e,t,i){this.EventDispatcher_constructor(),this.loaded=!1,this.canceled=!1,this.progress=0,this.type=i,this.resultFormatter=null,this._item=e?createjs.LoadItem.create(e):null,this._preferXHR=t,this._result=null,this._rawResult=null,this._loadedItems=null,this._tagSrcAttribute=null,this._tag=null}var t=createjs.extend(e,createjs.EventDispatcher),i=e;i.POST="POST",i.GET="GET",i.BINARY="binary",i.CSS="css",i.IMAGE="image",i.JAVASCRIPT="javascript",i.JSON="json",i.JSONP="jsonp",i.MANIFEST="manifest",i.SOUND="sound",i.VIDEO="video",i.SPRITESHEET="spritesheet",i.SVG="svg",i.TEXT="text",i.XML="xml",t.getItem=function(){return this._item},t.getResult=function(e){return e?this._rawResult:this._result},t.getTag=function(){return this._tag},t.setTag=function(e){this._tag=e},t.load=function(){this._createRequest(),this._request.on("complete",this,this),this._request.on("progress",this,this),this._request.on("loadStart",this,this),this._request.on("abort",this,this),this._request.on("timeout",this,this),this._request.on("error",this,this);var e=new createjs.Event("initialize");e.loader=this._request,this.dispatchEvent(e),this._request.load()},t.cancel=function(){this.canceled=!0,this.destroy()},t.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy()),this._request=null,this._item=null,this._rawResult=null,this._result=null,this._loadItems=null,this.removeAllEventListeners()},t.getLoadedItems=function(){return this._loadedItems},t._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},t._createTag=function(){return null},t._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent("loadstart")},t._sendProgress=function(e){if(!this._isCanceled()){var t=null;"number"==typeof e?(this.progress=e,t=new createjs.ProgressEvent(this.progress)):(t=e,this.progress=e.loaded/e.total,t.progress=this.progress,(isNaN(this.progress)||1/0==this.progress)&&(this.progress=0)),this.hasEventListener("progress")&&this.dispatchEvent(t)}},t._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var e=new createjs.Event("complete");e.rawResult=this._rawResult,null!=this._result&&(e.result=this._result),this.dispatchEvent(e)}},t._sendError=function(e){!this._isCanceled()&&this.hasEventListener("error")&&(null==e&&(e=new createjs.ErrorEvent("PRELOAD_ERROR_EMPTY")),this.dispatchEvent(e))},t._isCanceled=function(){return null==window.createjs||this.canceled?!0:!1},t.resultFormatter=null,t.handleEvent=function(e){switch(e.type){case"complete":this._rawResult=e.target._response;var t=this.resultFormatter&&this.resultFormatter(this),i=this;t instanceof Function?t(function(e){i._result=e,i._sendComplete()}):(this._result=t||this._rawResult,this._sendComplete());break;case"progress":this._sendProgress(e);break;case"error":this._sendError(e);break;case"loadstart":this._sendLoadStart();break;case"abort":case"timeout":this._isCanceled()||this.dispatchEvent(e.type)}},t.buildPath=function(e,t){return createjs.RequestUtils.buildPath(e,t)},t.toString=function(){return"[PreloadJS AbstractLoader]"},createjs.AbstractLoader=createjs.promote(e,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){function e(e,t,i){this.AbstractLoader_constructor(e,t,i),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src"}var t=createjs.extend(e,createjs.AbstractLoader);t.load=function(){this._tag||(this._tag=this._createTag(this._item.src)),this._tag.preload="auto",this._tag.load(),this.AbstractLoader_load()},t._createTag=function(){},t._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},t._formatResult=function(e){return this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.onstalled=null,this._preferXHR&&(e.getTag().src=e.getResult(!0)),e.getTag()},createjs.AbstractMediaLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){var e=function(e){this._item=e},t=createjs.extend(e,createjs.EventDispatcher);t.load=function(){},t.destroy=function(){},t.cancel=function(){},createjs.AbstractRequest=createjs.promote(e,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){function e(e,t,i){this.AbstractRequest_constructor(e),this._tag=t,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this),this._addedToDOM=!1,this._startTagVisibility=null}var t=createjs.extend(e,createjs.AbstractRequest);t.load=function(){this._tag.onload=createjs.proxy(this._handleTagComplete,this),this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this),this._tag.onerror=createjs.proxy(this._handleError,this);var e=new createjs.Event("initialize");e.loader=this._tag,this.dispatchEvent(e),this._hideTag(),this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this._tag[this._tagSrcAttribute]=this._item.src,null==this._tag.parentNode&&(window.document.body.appendChild(this._tag),this._addedToDOM=!0)},t.destroy=function(){this._clean(),this._tag=null,this.AbstractRequest_destroy()},t._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var e=this._tag;("loaded"==e.readyState||"complete"==e.readyState)&&this._handleTagComplete()},t._handleError=function(){this._clean(),this.dispatchEvent("error")},t._handleTagComplete=function(){this._rawResult=this._tag,this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult,this._clean(),this._showTag(),this.dispatchEvent("complete")},t._handleTimeout=function(){this._clean(),this.dispatchEvent(new createjs.Event("timeout"))},t._clean=function(){this._tag.onload=null,this._tag.onreadystatechange=null,this._tag.onerror=null,this._addedToDOM&&null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag),clearTimeout(this._loadTimeout)},t._hideTag=function(){this._startTagVisibility=this._tag.style.visibility,this._tag.style.visibility="hidden"},t._showTag=function(){this._tag.style.visibility=this._startTagVisibility},t._handleStalled=function(){},createjs.TagRequest=createjs.promote(e,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){function e(e,t,i){this.AbstractRequest_constructor(e),this._tag=t,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var t=createjs.extend(e,createjs.TagRequest);t.load=function(){var e=createjs.proxy(this._handleStalled,this);this._stalledCallback=e;var t=createjs.proxy(this._handleProgress,this);this._handleProgress=t,this._tag.addEventListener("stalled",e),this._tag.addEventListener("progress",t),this._tag.addEventListener&&this._tag.addEventListener("canplaythrough",this._loadedHandler,!1),this.TagRequest_load()},t._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var e=this._tag;("loaded"==e.readyState||"complete"==e.readyState)&&this._handleTagComplete()},t._handleStalled=function(){},t._handleProgress=function(e){if(e&&!(e.loaded>0&&0==e.total)){var t=new createjs.ProgressEvent(e.loaded,e.total);this.dispatchEvent(t)}},t._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.removeEventListener("stalled",this._stalledCallback),this._tag.removeEventListener("progress",this._progressCallback),this.TagRequest__clean()},createjs.MediaTagRequest=createjs.promote(e,"TagRequest")}(),this.createjs=this.createjs||{},function(){function e(e){this.AbstractRequest_constructor(e),this._request=null,this._loadTimeout=null,this._xhrLevel=1,this._response=null,this._rawResponse=null,this._canceled=!1,this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this),this._handleProgressProxy=createjs.proxy(this._handleProgress,this),this._handleAbortProxy=createjs.proxy(this._handleAbort,this),this._handleErrorProxy=createjs.proxy(this._handleError,this),this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this),this._handleLoadProxy=createjs.proxy(this._handleLoad,this),this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this),!this._createXHR(e)}var t=createjs.extend(e,createjs.AbstractRequest);e.ACTIVEX_VERSIONS=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],t.getResult=function(e){return e&&this._rawResponse?this._rawResponse:this._response},t.cancel=function(){this.canceled=!0,this._clean(),this._request.abort()},t.load=function(){if(null==this._request)return void this._handleError();null!=this._request.addEventListener?(this._request.addEventListener("loadstart",this._handleLoadStartProxy,!1),this._request.addEventListener("progress",this._handleProgressProxy,!1),this._request.addEventListener("abort",this._handleAbortProxy,!1),this._request.addEventListener("error",this._handleErrorProxy,!1),this._request.addEventListener("timeout",this._handleTimeoutProxy,!1),this._request.addEventListener("load",this._handleLoadProxy,!1),this._request.addEventListener("readystatechange",this._handleReadyStateChangeProxy,!1)):(this._request.onloadstart=this._handleLoadStartProxy,this._request.onprogress=this._handleProgressProxy,this._request.onabort=this._handleAbortProxy,this._request.onerror=this._handleErrorProxy,this._request.ontimeout=this._handleTimeoutProxy,this._request.onload=this._handleLoadProxy,this._request.onreadystatechange=this._handleReadyStateChangeProxy),1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));try{this._item.values&&this._item.method!=createjs.AbstractLoader.GET?this._item.method==createjs.AbstractLoader.POST&&this._request.send(createjs.RequestUtils.formatQueryString(this._item.values)):this._request.send()}catch(e){this.dispatchEvent(new createjs.ErrorEvent("XHR_SEND",null,e))}},t.setResponseType=function(e){"blob"===e&&(e=window.URL?"blob":"arraybuffer",this._responseType=e),this._request.responseType=e},t.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof Function?this._request.getAllResponseHeaders():null},t.getResponseHeader=function(e){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(e):null},t._handleProgress=function(e){if(e&&!(e.loaded>0&&0==e.total)){var t=new createjs.ProgressEvent(e.loaded,e.total);this.dispatchEvent(t)}},t._handleLoadStart=function(){clearTimeout(this._loadTimeout),this.dispatchEvent("loadstart")},t._handleAbort=function(e){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("XHR_ABORTED",null,e))},t._handleError=function(e){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(e.message))},t._handleReadyStateChange=function(){4==this._request.readyState&&this._handleLoad()},t._handleLoad=function(){if(!this.loaded){this.loaded=!0;var e=this._checkError();if(e)return void this._handleError(e);if(this._response=this._getResponse(),"arraybuffer"===this._responseType)try{this._response=new Blob([this._response])}catch(t){if(window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,"TypeError"===t.name&&window.BlobBuilder){var i=new BlobBuilder;i.append(this._response),this._response=i.getBlob()}}this._clean(),this.dispatchEvent(new createjs.Event("complete"))}},t._handleTimeout=function(e){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_TIMEOUT",null,e))},t._checkError=function(){var e=parseInt(this._request.status);switch(e){case 404:case 0:return new Error(e)}return null},t._getResponse=function(){if(null!=this._response)return this._response;if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(e){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(e){}return null},t._createXHR=function(e){var t=createjs.RequestUtils.isCrossDomain(e),i={},n=null;if(window.XMLHttpRequest)n=new XMLHttpRequest,t&&void 0===n.withCredentials&&window.XDomainRequest&&(n=new XDomainRequest);else{for(var r=0,o=s.ACTIVEX_VERSIONS.length;o>r;r++){var a=s.ACTIVEX_VERSIONS[r];try{n=new ActiveXObject(a);break}catch(l){}}if(null==n)return!1}null==e.mimeType&&createjs.RequestUtils.isText(e.type)&&(e.mimeType="text/plain; charset=utf-8"),e.mimeType&&n.overrideMimeType&&n.overrideMimeType(e.mimeType),this._xhrLevel="string"==typeof n.responseType?2:1;var u=null;if(u=e.method==createjs.AbstractLoader.GET?createjs.RequestUtils.buildPath(e.src,e.values):e.src,n.open(e.method||createjs.AbstractLoader.GET,u,!0),t&&n instanceof XMLHttpRequest&&1==this._xhrLevel&&(i.Origin=location.origin),e.values&&e.method==createjs.AbstractLoader.POST&&(i["Content-Type"]="application/x-www-form-urlencoded"),t||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),e.headers)for(var c in e.headers)i[c]=e.headers[c];for(c in i)n.setRequestHeader(c,i[c]);return n instanceof XMLHttpRequest&&void 0!==e.withCredentials&&(n.withCredentials=e.withCredentials),this._request=n,!0},t._clean=function(){clearTimeout(this._loadTimeout),null!=this._request.removeEventListener?(this._request.removeEventListener("loadstart",this._handleLoadStartProxy),this._request.removeEventListener("progress",this._handleProgressProxy),this._request.removeEventListener("abort",this._handleAbortProxy),this._request.removeEventListener("error",this._handleErrorProxy),this._request.removeEventListener("timeout",this._handleTimeoutProxy),this._request.removeEventListener("load",this._handleLoadProxy),this._request.removeEventListener("readystatechange",this._handleReadyStateChangeProxy)):(this._request.onloadstart=null,this._request.onprogress=null,this._request.onabort=null,this._request.onerror=null,this._request.ontimeout=null,this._request.onload=null,this._request.onreadystatechange=null)},t.toString=function(){return"[PreloadJS XHRRequest]"},createjs.XHRRequest=createjs.promote(e,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){function e(e,t,i){this.AbstractLoader_constructor(),this._plugins=[],this._typeCallbacks={},this._extensionCallbacks={},this.next=null,this.maintainScriptOrder=!0,this.stopOnError=!1,this._maxConnections=1,this._availableLoaders=[createjs.ImageLoader,createjs.JavaScriptLoader,createjs.CSSLoader,createjs.JSONLoader,createjs.JSONPLoader,createjs.SoundLoader,createjs.ManifestLoader,createjs.SpriteSheetLoader,createjs.XMLLoader,createjs.SVGLoader,createjs.BinaryLoader,createjs.VideoLoader,createjs.TextLoader],this._defaultLoaderLength=this._availableLoaders.length,this.init(e,t,i)}var t=createjs.extend(e,createjs.AbstractLoader),i=e;t.init=function(e,t,i){this.useXHR=!0,this.preferXHR=!0,this._preferXHR=!0,this.setPreferXHR(e),this._paused=!1,this._basePath=t,this._crossOrigin=i,this._loadStartWasDispatched=!1,this._currentlyLoadingScript=null,this._currentLoads=[],this._loadQueue=[],this._loadQueueBackup=[],this._loadItemsById={},this._loadItemsBySrc={},this._loadedResults={},this._loadedRawResults={},this._numItems=0,this._numItemsLoaded=0,this._scriptOrder=[],this._loadedScripts=[],this._lastProgress=0/0},i.loadTimeout=8e3,i.LOAD_TIMEOUT=0,i.BINARY=createjs.AbstractLoader.BINARY,i.CSS=createjs.AbstractLoader.CSS,i.IMAGE=createjs.AbstractLoader.IMAGE,i.JAVASCRIPT=createjs.AbstractLoader.JAVASCRIPT,i.JSON=createjs.AbstractLoader.JSON,i.JSONP=createjs.AbstractLoader.JSONP,i.MANIFEST=createjs.AbstractLoader.MANIFEST,i.SOUND=createjs.AbstractLoader.SOUND,i.VIDEO=createjs.AbstractLoader.VIDEO,i.SVG=createjs.AbstractLoader.SVG,i.TEXT=createjs.AbstractLoader.TEXT,i.XML=createjs.AbstractLoader.XML,i.POST=createjs.AbstractLoader.POST,i.GET=createjs.AbstractLoader.GET,t.registerLoader=function(e){if(!e||!e.canLoadItem)throw new Error("loader is of an incorrect type.");
if(-1!=this._availableLoaders.indexOf(e))throw new Error("loader already exists.");this._availableLoaders.unshift(e)},t.unregisterLoader=function(e){var t=this._availableLoaders.indexOf(e);-1!=t&&t<this._defaultLoaderLength-1&&this._availableLoaders.splice(t,1)},t.setUseXHR=function(e){return this.setPreferXHR(e)},t.setPreferXHR=function(e){return this.preferXHR=0!=e&&null!=window.XMLHttpRequest,this.preferXHR},t.removeAll=function(){this.remove()},t.remove=function(e){var t=null;if(!e||e instanceof Array){if(e)t=e;else if(arguments.length>0)return}else t=[e];var i=!1;if(t){for(;t.length;){var n=t.pop(),r=this.getResult(n);for(o=this._loadQueue.length-1;o>=0;o--)if(s=this._loadQueue[o].getItem(),s.id==n||s.src==n){this._loadQueue.splice(o,1)[0].cancel();break}for(o=this._loadQueueBackup.length-1;o>=0;o--)if(s=this._loadQueueBackup[o].getItem(),s.id==n||s.src==n){this._loadQueueBackup.splice(o,1)[0].cancel();break}if(r)this._disposeItem(this.getItem(n));else for(var o=this._currentLoads.length-1;o>=0;o--){var s=this._currentLoads[o].getItem();if(s.id==n||s.src==n){this._currentLoads.splice(o,1)[0].cancel(),i=!0;break}}}i&&this._loadNext()}else{this.close();for(var a in this._loadItemsById)this._disposeItem(this._loadItemsById[a]);this.init(this.preferXHR,this._basePath)}},t.reset=function(){this.close();for(var e in this._loadItemsById)this._disposeItem(this._loadItemsById[e]);for(var t=[],i=0,n=this._loadQueueBackup.length;n>i;i++)t.push(this._loadQueueBackup[i].getItem());this.loadManifest(t,!1)},t.installPlugin=function(e){if(null!=e&&null!=e.getPreloadHandlers){this._plugins.push(e);var t=e.getPreloadHandlers();if(t.scope=e,null!=t.types)for(var i=0,n=t.types.length;n>i;i++)this._typeCallbacks[t.types[i]]=t;if(null!=t.extensions)for(i=0,n=t.extensions.length;n>i;i++)this._extensionCallbacks[t.extensions[i]]=t}},t.setMaxConnections=function(e){this._maxConnections=e,!this._paused&&this._loadQueue.length>0&&this._loadNext()},t.loadFile=function(e,t,i){if(null==e){var n=new createjs.ErrorEvent("PRELOAD_NO_FILE");return void this._sendError(n)}this._addItem(e,null,i),this.setPaused(t!==!1?!1:!0)},t.loadManifest=function(e,t,n){var r=null,o=null;if(e instanceof Array){if(0==e.length){var s=new createjs.ErrorEvent("PRELOAD_MANIFEST_EMPTY");return void this._sendError(s)}r=e}else if("string"==typeof e)r=[{src:e,type:i.MANIFEST}];else{if("object"!=typeof e){var s=new createjs.ErrorEvent("PRELOAD_MANIFEST_NULL");return void this._sendError(s)}if(void 0!==e.src){if(null==e.type)e.type=i.MANIFEST;else if(e.type!=i.MANIFEST){var s=new createjs.ErrorEvent("PRELOAD_MANIFEST_TYPE");this._sendError(s)}r=[e]}else void 0!==e.manifest&&(r=e.manifest,o=e.path)}for(var a=0,l=r.length;l>a;a++)this._addItem(r[a],o,n);this.setPaused(t!==!1?!1:!0)},t.load=function(){this.setPaused(!1)},t.getItem=function(e){return this._loadItemsById[e]||this._loadItemsBySrc[e]},t.getResult=function(e,t){var i=this._loadItemsById[e]||this._loadItemsBySrc[e];if(null==i)return null;var n=i.id;return t&&this._loadedRawResults[n]?this._loadedRawResults[n]:this._loadedResults[n]},t.getItems=function(e){var t=[];for(var i in this._loadItemsById){var n=this._loadItemsById[i],r=this.getResult(i);(e!==!0||null!=r)&&t.push({item:n,result:r,rawResult:this.getResult(i,!0)})}return t},t.setPaused=function(e){this._paused=e,this._paused||this._loadNext()},t.close=function(){for(;this._currentLoads.length;)this._currentLoads.pop().cancel();this._scriptOrder.length=0,this._loadedScripts.length=0,this.loadStartWasDispatched=!1,this._itemCount=0,this._lastProgress=0/0},t._addItem=function(e,t,i){var n=this._createLoadItem(e,t,i);if(null!=n){var r=this._createLoader(n);null!=r&&("plugins"in r&&(r.plugins=this._plugins),n._loader=r,this._loadQueue.push(r),this._loadQueueBackup.push(r),this._numItems++,this._updateProgress(),(this.maintainScriptOrder&&n.type==createjs.LoadQueue.JAVASCRIPT||n.maintainOrder===!0)&&(this._scriptOrder.push(n),this._loadedScripts.push(null)))}},t._createLoadItem=function(e,t,i){var n=createjs.LoadItem.create(e);if(null==n)return null;var r="",o=i||this._basePath;if(n.src instanceof Object){if(!n.type)return null;if(t){r=t;var s=createjs.RequestUtils.parseURI(t);null==o||s.absolute||s.relative||(r=o+r)}else null!=o&&(r=o)}else{var a=createjs.RequestUtils.parseURI(n.src);a.extension&&(n.ext=a.extension),null==n.type&&(n.type=createjs.RequestUtils.getTypeByExtension(n.ext));var l=n.src;if(!a.absolute&&!a.relative)if(t){r=t;var s=createjs.RequestUtils.parseURI(t);l=t+l,null==o||s.absolute||s.relative||(r=o+r)}else null!=o&&(r=o);n.src=r+n.src}n.path=r,(void 0===n.id||null===n.id||""===n.id)&&(n.id=l);var u=this._typeCallbacks[n.type]||this._extensionCallbacks[n.ext];if(u){var c=u.callback.call(u.scope,n,this);if(c===!1)return null;c===!0||null!=c&&(n._loader=c),a=createjs.RequestUtils.parseURI(n.src),null!=a.extension&&(n.ext=a.extension)}return this._loadItemsById[n.id]=n,this._loadItemsBySrc[n.src]=n,null==n.crossOrigin&&(n.crossOrigin=this._crossOrigin),n},t._createLoader=function(e){if(null!=e._loader)return e._loader;for(var t=this.preferXHR,i=0;i<this._availableLoaders.length;i++){var n=this._availableLoaders[i];if(n&&n.canLoadItem(e))return new n(e,t)}return null},t._loadNext=function(){if(!this._paused){this._loadStartWasDispatched||(this._sendLoadStart(),this._loadStartWasDispatched=!0),this._numItems==this._numItemsLoaded?(this.loaded=!0,this._sendComplete(),this.next&&this.next.load&&this.next.load()):this.loaded=!1;for(var e=0;e<this._loadQueue.length&&!(this._currentLoads.length>=this._maxConnections);e++){var t=this._loadQueue[e];this._canStartLoad(t)&&(this._loadQueue.splice(e,1),e--,this._loadItem(t))}}},t._loadItem=function(e){e.on("fileload",this._handleFileLoad,this),e.on("progress",this._handleProgress,this),e.on("complete",this._handleFileComplete,this),e.on("error",this._handleError,this),e.on("fileerror",this._handleFileError,this),this._currentLoads.push(e),this._sendFileStart(e.getItem()),e.load()},t._handleFileLoad=function(e){e.target=null,this.dispatchEvent(e)},t._handleFileError=function(e){var t=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,e.item);this._sendError(t)},t._handleError=function(e){var t=e.target;this._numItemsLoaded++,this._finishOrderedItem(t,!0),this._updateProgress();var i=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,t.getItem());this._sendError(i),this.stopOnError?this.setPaused(!0):(this._removeLoadItem(t),this._loadNext())},t._handleFileComplete=function(e){var t=e.target,i=t.getItem(),n=t.getResult();this._loadedResults[i.id]=n;var r=t.getResult(!0);null!=r&&r!==n&&(this._loadedRawResults[i.id]=r),this._saveLoadedItems(t),this._removeLoadItem(t),this._finishOrderedItem(t)||this._processFinishedLoad(i,t)},t._saveLoadedItems=function(e){var t=e.getLoadedItems();if(null!==t)for(var i=0;i<t.length;i++){var n=t[i].item;this._loadItemsBySrc[n.src]=n,this._loadItemsById[n.id]=n,this._loadedResults[n.id]=t[i].result,this._loadedRawResults[n.id]=t[i].rawResult}},t._finishOrderedItem=function(e,t){var i=e.getItem();if(this.maintainScriptOrder&&i.type==createjs.LoadQueue.JAVASCRIPT||i.maintainOrder){e instanceof createjs.JavaScriptLoader&&(this._currentlyLoadingScript=!1);var n=createjs.indexOf(this._scriptOrder,i);return-1==n?!1:(this._loadedScripts[n]=t===!0?!0:i,this._checkScriptLoadOrder(),!0)}return!1},t._checkScriptLoadOrder=function(){for(var e=this._loadedScripts.length,t=0;e>t;t++){var i=this._loadedScripts[t];if(null===i)break;if(i!==!0){var n=this._loadedResults[i.id];i.type==createjs.LoadQueue.JAVASCRIPT&&(document.body||document.getElementsByTagName("body")[0]).appendChild(n);var r=i._loader;this._processFinishedLoad(i,r),this._loadedScripts[t]=!0}}},t._processFinishedLoad=function(e,t){this._numItemsLoaded++,this._updateProgress(),this._sendFileComplete(e,t),this._loadNext()},t._canStartLoad=function(e){if(!this.maintainScriptOrder||e.preferXHR)return!0;var t=e.getItem();if(t.type!=createjs.LoadQueue.JAVASCRIPT)return!0;if(this._currentlyLoadingScript)return!1;for(var i=this._scriptOrder.indexOf(t),n=0;i>n;){var r=this._loadedScripts[n];if(null==r)return!1;n++}return this._currentlyLoadingScript=!0,!0},t._removeLoadItem=function(e){var t=e.getItem();delete t._loader;for(var i=this._currentLoads.length,n=0;i>n;n++)if(this._currentLoads[n]==e){this._currentLoads.splice(n,1);break}},t._handleProgress=function(e){var t=e.target;this._sendFileProgress(t.getItem(),t.progress),this._updateProgress()},t._updateProgress=function(){var e=this._numItemsLoaded/this._numItems,t=this._numItems-this._numItemsLoaded;if(t>0){for(var i=0,n=0,r=this._currentLoads.length;r>n;n++)i+=this._currentLoads[n].progress;e+=i/t*(t/this._numItems)}this._lastProgress!=e&&(this._sendProgress(e),this._lastProgress=e)},t._disposeItem=function(e){delete this._loadedResults[e.id],delete this._loadedRawResults[e.id],delete this._loadItemsById[e.id],delete this._loadItemsBySrc[e.src]},t._sendFileProgress=function(e,t){if(!this._isCanceled()&&!this._paused&&this.hasEventListener("fileprogress")){var i=new createjs.Event("fileprogress");i.progress=t,i.loaded=t,i.total=1,i.item=e,this.dispatchEvent(i)}},t._sendFileComplete=function(e,t){if(!this._isCanceled()&&!this._paused){var i=new createjs.Event("fileload");i.loader=t,i.item=e,i.result=this._loadedResults[e.id],i.rawResult=this._loadedRawResults[e.id],e.completeHandler&&e.completeHandler(i),this.hasEventListener("fileload")&&this.dispatchEvent(i)}},t._sendFileStart=function(e){var t=new createjs.Event("filestart");t.item=e,this.hasEventListener("filestart")&&this.dispatchEvent(t)},t.toString=function(){return"[PreloadJS LoadQueue]"},createjs.LoadQueue=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!0,createjs.AbstractLoader.TEXT)}var t=(createjs.extend(e,createjs.AbstractLoader),e);t.canLoadItem=function(e){return e.type==createjs.AbstractLoader.TEXT},createjs.TextLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!0,createjs.AbstractLoader.BINARY),this.on("initialize",this._updateXHR,this)}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.BINARY},t._updateXHR=function(e){e.loader.setResponseType("arraybuffer")},createjs.BinaryLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.CSS),this.resultFormatter=this._formatResult,this._tagSrcAttribute="href",this._tag=document.createElement(t?"style":"link"),this._tag.rel="stylesheet",this._tag.type="text/css"}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.CSS},t._formatResult=function(e){if(this._preferXHR){var t=e.getTag(),i=document.getElementsByTagName("head")[0];if(i.appendChild(t),t.styleSheet)t.styleSheet.cssText=e.getResult(!0);else{var n=document.createTextNode(e.getResult(!0));t.appendChild(n)}}else t=this._tag;return t},createjs.CSSLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.IMAGE),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",createjs.RequestUtils.isImageTag(e)?this._tag=e:createjs.RequestUtils.isImageTag(e.src)?this._tag=e.src:createjs.RequestUtils.isImageTag(e.tag)&&(this._tag=e.tag),null!=this._tag?this._preferXHR=!1:this._tag=document.createElement("img"),this.on("initialize",this._updateXHR,this)}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.IMAGE},t.load=function(){if(""!=this._tag.src&&this._tag.complete)return void this._sendComplete();var e=this._item.crossOrigin;1==e&&(e="Anonymous"),null==e||createjs.RequestUtils.isLocal(this._item.src)||(this._tag.crossOrigin=e),this.AbstractLoader_load()},t._updateXHR=function(e){e.loader.mimeType="text/plain; charset=x-user-defined-binary",e.loader.setResponseType&&e.loader.setResponseType("blob")},t._formatResult=function(e){var t=this;return function(i){var n=t._tag,r=window.URL||window.webkitURL;if(t._preferXHR)if(r){var o=r.createObjectURL(e.getResult(!0));n.src=o,n.onload=function(){r.revokeObjectURL(t.src)}}else n.src=e.getItem().src;n.complete?i(n):n.onload=function(){i(this)}}},createjs.ImageLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.JAVASCRIPT),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",this.setTag(document.createElement("script"))}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.JAVASCRIPT},t._formatResult=function(e){var t=e.getTag();return this._preferXHR&&(t.text=e.getResult(!0)),t},createjs.JavaScriptLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!0,createjs.AbstractLoader.JSON),this.resultFormatter=this._formatResult}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.JSON&&!e._loadAsJSONP},t._formatResult=function(e){var t=null;try{t=createjs.DataUtils.parseJSON(e.getResult(!0))}catch(i){var n=new createjs.ErrorEvent("JSON_FORMAT",null,i);return this._sendError(n),i}return t},createjs.JSONLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!1,createjs.AbstractLoader.JSONP),this.setTag(document.createElement("script")),this.getTag().type="text/javascript"}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.JSONP||e._loadAsJSONP},t.cancel=function(){this.AbstractLoader_cancel(),this._dispose()},t.load=function(){if(null==this._item.callback)throw new Error("callback is required for loading JSONP requests.");if(null!=window[this._item.callback])throw new Error("JSONP callback '"+this._item.callback+"' already exists on window. You need to specify a different callback or re-name the current one.");window[this._item.callback]=createjs.proxy(this._handleLoad,this),window.document.body.appendChild(this._tag),this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this._tag.src=this._item.src},t._handleLoad=function(e){this._result=this._rawResult=e,this._sendComplete(),this._dispose()},t._handleTimeout=function(){this._dispose(),this.dispatchEvent(new createjs.ErrorEvent("timeout"))},t._dispose=function(){window.document.body.removeChild(this._tag),delete window[this._item.callback],clearTimeout(this._loadTimeout)},createjs.JSONPLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,null,createjs.AbstractLoader.MANIFEST),this.plugins=null,this._manifestQueue=null}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.MANIFEST_PROGRESS=.25,i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.MANIFEST},t.load=function(){this.AbstractLoader_load()},t._createRequest=function(){var e=this._item.callback;this._request=null!=e?new createjs.JSONPLoader(this._item):new createjs.JSONLoader(this._item)},t.handleEvent=function(e){switch(e.type){case"complete":return this._rawResult=e.target.getResult(!0),this._result=e.target.getResult(),this._sendProgress(i.MANIFEST_PROGRESS),void this._loadManifest(this._result);case"progress":return e.loaded*=i.MANIFEST_PROGRESS,this.progress=e.loaded/e.total,(isNaN(this.progress)||1/0==this.progress)&&(this.progress=0),void this._sendProgress(e)}this.AbstractLoader_handleEvent(e)},t.destroy=function(){this.AbstractLoader_destroy(),this._manifestQueue.close()},t._loadManifest=function(e){if(e&&e.manifest){var t=this._manifestQueue=new createjs.LoadQueue;t.on("fileload",this._handleManifestFileLoad,this),t.on("progress",this._handleManifestProgress,this),t.on("complete",this._handleManifestComplete,this,!0),t.on("error",this._handleManifestError,this,!0);for(var i=0,n=this.plugins.length;n>i;i++)t.installPlugin(this.plugins[i]);t.loadManifest(e)}else this._sendComplete()},t._handleManifestFileLoad=function(e){e.target=null,this.dispatchEvent(e)},t._handleManifestComplete=function(){this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},t._handleManifestProgress=function(e){this.progress=e.progress*(1-i.MANIFEST_PROGRESS)+i.MANIFEST_PROGRESS,this._sendProgress(this.progress)},t._handleManifestError=function(e){var t=new createjs.Event("fileerror");t.item=e.data,this.dispatchEvent(t)},createjs.ManifestLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e,t){this.AbstractMediaLoader_constructor(e,t,createjs.AbstractLoader.SOUND),createjs.RequestUtils.isAudioTag(e)?this._tag=e:createjs.RequestUtils.isAudioTag(e.src)?this._tag=e:createjs.RequestUtils.isAudioTag(e.tag)&&(this._tag=createjs.RequestUtils.isAudioTag(e)?e:e.src),null!=this._tag&&(this._preferXHR=!1)}var t=createjs.extend(e,createjs.AbstractMediaLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.SOUND},t._createTag=function(e){var t=document.createElement("audio");return t.autoplay=!1,t.preload="none",t.src=e,t},createjs.SoundLoader=createjs.promote(e,"AbstractMediaLoader")}(),this.createjs=this.createjs||{},function(){function e(e,t){this.AbstractMediaLoader_constructor(e,t,createjs.AbstractLoader.VIDEO),createjs.RequestUtils.isVideoTag(e)||createjs.RequestUtils.isVideoTag(e.src)?(this.setTag(createjs.RequestUtils.isVideoTag(e)?e:e.src),this._preferXHR=!1):this.setTag(this._createTag())}var t=createjs.extend(e,createjs.AbstractMediaLoader),i=e;t._createTag=function(){return document.createElement("video")},i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.VIDEO},createjs.VideoLoader=createjs.promote(e,"AbstractMediaLoader")}(),this.createjs=this.createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,null,createjs.AbstractLoader.SPRITESHEET),this._manifestQueue=null}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.SPRITESHEET_PROGRESS=.25,i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.SPRITESHEET},t.destroy=function(){this.AbstractLoader_destroy,this._manifestQueue.close()},t._createRequest=function(){var e=this._item.callback;this._request=null!=e&&e instanceof Function?new createjs.JSONPLoader(this._item):new createjs.JSONLoader(this._item)},t.handleEvent=function(e){switch(e.type){case"complete":return this._rawResult=e.target.getResult(!0),this._result=e.target.getResult(),this._sendProgress(i.SPRITESHEET_PROGRESS),void this._loadManifest(this._result);case"progress":return e.loaded*=i.SPRITESHEET_PROGRESS,this.progress=e.loaded/e.total,(isNaN(this.progress)||1/0==this.progress)&&(this.progress=0),void this._sendProgress(e)}this.AbstractLoader_handleEvent(e)},t._loadManifest=function(e){if(e&&e.images){var t=this._manifestQueue=new createjs.LoadQueue;t.on("complete",this._handleManifestComplete,this,!0),t.on("fileload",this._handleManifestFileLoad,this),t.on("progress",this._handleManifestProgress,this),t.on("error",this._handleManifestError,this,!0),t.loadManifest(e.images)}},t._handleManifestFileLoad=function(e){var t=e.result;if(null!=t){var i=this.getResult().images,n=i.indexOf(e.item.src);i[n]=t}},t._handleManifestComplete=function(){this._result=new createjs.SpriteSheet(this._result),this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},t._handleManifestProgress=function(e){this.progress=e.progress*(1-i.SPRITESHEET_PROGRESS)+i.SPRITESHEET_PROGRESS,this._sendProgress(this.progress)},t._handleManifestError=function(e){var t=new createjs.Event("fileerror");t.item=e.data,this.dispatchEvent(t)},createjs.SpriteSheetLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.SVG),this.resultFormatter=this._formatResult,this._tagSrcAttribute="data",t?this.setTag(document.createElement("svg")):(this.setTag(document.createElement("object")),this.getTag().type="image/svg+xml")}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.SVG},t._formatResult=function(e){var t=createjs.DataUtils.parseXML(e.getResult(!0),"text/xml"),i=e.getTag();return!this._preferXHR&&document.body.contains(i)&&document.body.removeChild(i),null!=t.documentElement?(i.appendChild(t.documentElement),i.style.visibility="visible",i):t},createjs.SVGLoader=createjs.promote(e,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!0,createjs.AbstractLoader.XML),this.resultFormatter=this._formatResult}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.XML},t._formatResult=function(e){return createjs.DataUtils.parseXML(e.getResult(!0),"text/xml")},createjs.XMLLoader=createjs.promote(e,"AbstractLoader")}(),define("lib/normalize",[],function(){function e(e,i,r){if(e.match(a)||e.match(s))return e;e=o(e);var l=r.match(s),u=i.match(s);return!u||l&&l[1]==u[1]&&l[2]==u[2]?n(t(e,i),r):t(e,i)}function t(e,t){if("./"==e.substr(0,2)&&(e=e.substr(2)),e.match(a)||e.match(s))return e;var i=t.split("/"),n=e.split("/");for(i.pop();curPart=n.shift();)".."==curPart?i.pop():i.push(curPart);return i.join("/")}function n(e,t){var n=t.split("/");for(n.pop(),t=n.join("/")+"/",i=0;t.substr(i,1)==e.substr(i,1);)i++;for(;"/"!=t.substr(i,1);)i--;t=t.substr(i+1),e=e.substr(i+1),n=t.split("/");var r=e.split("/");for(out="";n.shift();)out+="../";for(;curPart=r.shift();)out+=curPart+"/";return out.substr(0,out.length-1)}var r=/([^:])\/+/g,o=function(e){return e.replace(r,"$1/")},s=/[^\:\/]*:\/\/([^\/])*/,a=/^(\/|data:)/,l=function(t,i,n){i=o(i),n=o(n);for(var r=/@import\s*("([^"]*)"|'([^']*)')|url\s*\(\s*(\s*"([^"]*)"|'([^']*)'|[^\)]*\s*)\s*\)/gi,s,a,t;s=r.exec(t);){a=s[3]||s[2]||s[5]||s[6]||s[4];var l;l=e(a,i,n);var u=s[5]||s[6]?1:0;t=t.substr(0,r.lastIndex-a.length-u-1)+l+t.substr(r.lastIndex-u-1),r.lastIndex=r.lastIndex+(l.length-a.length)}return t};return l.convertURIBase=e,l.absoluteURI=t,l.relativeURI=n,l}),define("lib/css",[],function(){if("undefined"==typeof window)return{load:function(e,t,i){i()}};var e=document.getElementsByTagName("head")[0],t=window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)/)||0,i=!1,n=!0;t[1]||t[7]?i=parseInt(t[1])<6||parseInt(t[7])<=9:t[2]?n=!1:t[4]&&(i=parseInt(t[4])<18);var r={};r.pluginBuilder="./css-builder";var o,s,a=function(){o=document.createElement("style"),e.appendChild(o),s=o.styleSheet||o.sheet},l=0,u=[],c,d=function(e){l++,32==l&&(a(),l=0),s.addImport(e),o.onload=h},h=function(){c();var e=u.shift();return e?(c=e[1],void d(e[0])):void(c=null)},p=function(e,t){if(s&&s.addImport||a(),s&&s.addImport)c?u.push([e,t]):(d(e),c=t);else{o.textContent='@import "'+e+'";';var i=setInterval(function(){try{o.sheet.cssRules,clearInterval(i),t()}catch(e){}},10)}},f=function(t,i){var r=document.createElement("link");if(r.type="text/css",r.rel="stylesheet",n)r.onload=function(){r.onload=function(){},setTimeout(i,7)};else var o=setInterval(function(){for(var e=0;e<document.styleSheets.length;e++){var t=document.styleSheets[e];if(t.href==r.href)return clearInterval(o),i()}},10);r.href=t,e.appendChild(r)};return r.normalize=function(e,t){return".css"==e.substr(e.length-4,4)&&(e=e.substr(0,e.length-4)),t(e)},r.load=function(e,t,n,r){(i?p:f)(t.toUrl(e+".css"),n)},r}),define("lib/css!style/axon",[],function(){}),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function i(e){var t=!!e&&"length"in e&&e.length,i=pt.type(e);return"function"===i||pt.isWindow(e)?!1:"array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e}function n(e,t,i){if(pt.isFunction(t))return pt.grep(e,function(e,n){return!!t.call(e,n,e)!==i});if(t.nodeType)return pt.grep(e,function(e){return e===t!==i});if("string"==typeof t){if(_t.test(t))return pt.filter(t,e,i);t=pt.filter(t,e)}return pt.grep(e,function(e){return pt.inArray(e,t)>-1!==i})}function r(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t={};return pt.each(e.match(jt)||[],function(e,i){t[i]=!0}),t}function s(){nt.addEventListener?(nt.removeEventListener("DOMContentLoaded",a),e.removeEventListener("load",a)):(nt.detachEvent("onreadystatechange",a),e.detachEvent("onload",a))}function a(){(nt.addEventListener||"load"===e.event.type||"complete"===nt.readyState)&&(s(),pt.ready())}function l(e,t,i){if(void 0===i&&1===e.nodeType){var n="data-"+t.replace(Mt,"-$1").toLowerCase();if(i=e.getAttribute(n),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:It.test(i)?pt.parseJSON(i):i}catch(r){}pt.data(e,t,i)}else i=void 0}return i}function u(e){var t;for(t in e)if(("data"!==t||!pt.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,i,n){if(Rt(e)){var r,o,s=pt.expando,a=e.nodeType,l=a?pt.cache:e,u=a?e[s]:e[s]&&s;if(u&&l[u]&&(n||l[u].data)||void 0!==i||"string"!=typeof t)return u||(u=a?e[s]=it.pop()||pt.guid++:s),l[u]||(l[u]=a?{}:{toJSON:pt.noop}),("object"==typeof t||"function"==typeof t)&&(n?l[u]=pt.extend(l[u],t):l[u].data=pt.extend(l[u].data,t)),o=l[u],n||(o.data||(o.data={}),o=o.data),void 0!==i&&(o[pt.camelCase(t)]=i),"string"==typeof t?(r=o[t],null==r&&(r=o[pt.camelCase(t)])):r=o,r}}function d(e,t,i){if(Rt(e)){var n,r,o=e.nodeType,s=o?pt.cache:e,a=o?e[pt.expando]:pt.expando;if(s[a]){if(t&&(n=i?s[a]:s[a].data)){pt.isArray(t)?t=t.concat(pt.map(t,pt.camelCase)):t in n?t=[t]:(t=pt.camelCase(t),t=t in n?[t]:t.split(" ")),r=t.length;for(;r--;)delete n[t[r]];if(i?!u(n):!pt.isEmptyObject(n))return}(i||(delete s[a].data,u(s[a])))&&(o?pt.cleanData([e],!0):dt.deleteExpando||s!=s.window?delete s[a]:s[a]=void 0)}}}function h(e,t,i,n){var r,o=1,s=20,a=n?function(){return n.cur()}:function(){return pt.css(e,t,"")},l=a(),u=i&&i[3]||(pt.cssNumber[t]?"":"px"),c=(pt.cssNumber[t]||"px"!==u&&+l)&&Nt.exec(pt.css(e,t));if(c&&c[3]!==u){u=u||c[3],i=i||[],c=+l||1;do o=o||".5",c/=o,pt.style(e,t,c+u);while(o!==(o=a()/l)&&1!==o&&--s)}return i&&(c=+c||+l||0,r=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=c,n.end=r)),r}function p(e){var t=Wt.split("|"),i=e.createDocumentFragment();if(i.createElement)for(;t.length;)i.createElement(t.pop());return i}function f(e,t){var i,n,r=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],i=e.childNodes||e;null!=(n=i[r]);r++)!t||pt.nodeName(n,t)?o.push(n):pt.merge(o,f(n,t));return void 0===t||t&&pt.nodeName(e,t)?pt.merge([e],o):o}function g(e,t){for(var i,n=0;null!=(i=e[n]);n++)pt._data(i,"globalEval",!t||pt._data(t[n],"globalEval"))}function m(e){Ft.test(e.type)&&(e.defaultChecked=e.checked)}function v(e,t,i,n,r){for(var o,s,a,l,u,c,d,h=e.length,v=p(t),b=[],A=0;h>A;A++)if(s=e[A],s||0===s)if("object"===pt.type(s))pt.merge(b,s.nodeType?[s]:s);else if(Vt.test(s)){for(l=l||v.appendChild(t.createElement("div")),u=(qt.exec(s)||["",""])[1].toLowerCase(),d=Xt[u]||Xt._default,l.innerHTML=d[1]+pt.htmlPrefilter(s)+d[2],o=d[0];o--;)l=l.lastChild;if(!dt.leadingWhitespace&&Ut.test(s)&&b.push(t.createTextNode(Ut.exec(s)[0])),!dt.tbody)for(s="table"!==u||Jt.test(s)?"<table>"!==d[1]||Jt.test(s)?0:l:l.firstChild,o=s&&s.childNodes.length;o--;)pt.nodeName(c=s.childNodes[o],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(pt.merge(b,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=v.lastChild}else b.push(t.createTextNode(s));for(l&&v.removeChild(l),dt.appendChecked||pt.grep(f(b,"input"),m),A=0;s=b[A++];)if(n&&pt.inArray(s,n)>-1)r&&r.push(s);else if(a=pt.contains(s.ownerDocument,s),l=f(v.appendChild(s),"script"),a&&g(l),i)for(o=0;s=l[o++];)zt.test(s.type||"")&&i.push(s);return l=null,v}function b(){return!0}function A(){return!1}function y(){try{return nt.activeElement}catch(e){}}function x(e,t,i,n,r,o){var s,a;if("object"==typeof t){"string"!=typeof i&&(n=n||i,i=void 0);for(a in t)x(e,a,i,n,t[a],o);return e}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),r===!1)r=A;else if(!r)return e;return 1===o&&(s=r,r=function(e){return pt().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=pt.guid++)),e.each(function(){pt.event.add(this,t,r,n,i)})}function w(e,t){return pt.nodeName(e,"table")&&pt.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function _(e){return e.type=(null!==pt.find.attr(e,"type"))+"/"+e.type,e}function E(e){var t=ri.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function k(e,t){if(1===t.nodeType&&pt.hasData(e)){var i,n,r,o=pt._data(e),s=pt._data(t,o),a=o.events;if(a){delete s.handle,s.events={};for(i in a)for(n=0,r=a[i].length;r>n;n++)pt.event.add(t,i,a[i][n])}s.data&&(s.data=pt.extend({},s.data))}}function T(e,t){var i,n,r;if(1===t.nodeType){if(i=t.nodeName.toLowerCase(),!dt.noCloneEvent&&t[pt.expando]){r=pt._data(t);for(n in r.events)pt.removeEvent(t,n,r.handle);t.removeAttribute(pt.expando)}"script"===i&&t.text!==e.text?(_(t).text=e.text,E(t)):"object"===i?(t.parentNode&&(t.outerHTML=e.outerHTML),dt.html5Clone&&e.innerHTML&&!pt.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===i&&Ft.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===i?t.defaultSelected=t.selected=e.defaultSelected:("input"===i||"textarea"===i)&&(t.defaultValue=e.defaultValue)}}function S(e,t,i,n){t=ot.apply([],t);var r,o,s,a,l,u,c=0,d=e.length,h=d-1,p=t[0],g=pt.isFunction(p);if(g||d>1&&"string"==typeof p&&!dt.checkClone&&ni.test(p))return e.each(function(r){var o=e.eq(r);g&&(t[0]=p.call(this,r,o.html())),S(o,t,i,n)});if(d&&(u=v(t,e[0].ownerDocument,!1,e,n),r=u.firstChild,1===u.childNodes.length&&(u=r),r||n)){for(a=pt.map(f(u,"script"),_),s=a.length;d>c;c++)o=u,c!==h&&(o=pt.clone(o,!0,!0),s&&pt.merge(a,f(o,"script"))),i.call(e[c],o,c);if(s)for(l=a[a.length-1].ownerDocument,pt.map(a,E),c=0;s>c;c++)o=a[c],zt.test(o.type||"")&&!pt._data(o,"globalEval")&&pt.contains(l,o)&&(o.src?pt._evalUrl&&pt._evalUrl(o.src):pt.globalEval((o.text||o.textContent||o.innerHTML||"").replace(oi,"")));u=r=null}return e}function C(e,t,i){for(var n,r=t?pt.filter(t,e):e,o=0;null!=(n=r[o]);o++)i||1!==n.nodeType||pt.cleanData(f(n)),n.parentNode&&(i&&pt.contains(n.ownerDocument,n)&&g(f(n,"script")),n.parentNode.removeChild(n));return e}function j(e,t){var i=pt(t.createElement(e)).appendTo(t.body),n=pt.css(i[0],"display");return i.detach(),n}function L(e){var t=nt,i=ui[e];return i||(i=j(e,t),"none"!==i&&i||(li=(li||pt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(li[0].contentWindow||li[0].contentDocument).document,t.write(),t.close(),i=j(e,t),li.detach()),ui[e]=i),i}function P(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function R(e){if(e in Ei)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),i=_i.length;i--;)if(e=_i[i]+t,e in Ei)return e}function I(e,t){for(var i,n,r,o=[],s=0,a=e.length;a>s;s++)n=e[s],n.style&&(o[s]=pt._data(n,"olddisplay"),i=n.style.display,t?(o[s]||"none"!==i||(n.style.display=""),""===n.style.display&&Bt(n)&&(o[s]=pt._data(n,"olddisplay",L(n.nodeName)))):(r=Bt(n),(i&&"none"!==i||!r)&&pt._data(n,"olddisplay",r?i:pt.css(n,"display"))));
for(s=0;a>s;s++)n=e[s],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?o[s]||"":"none"));return e}function M(e,t,i){var n=yi.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):t}function O(e,t,i,n,r){for(var o=i===(n?"border":"content")?4:"width"===t?1:0,s=0;4>o;o+=2)"margin"===i&&(s+=pt.css(e,i+Dt[o],!0,r)),n?("content"===i&&(s-=pt.css(e,"padding"+Dt[o],!0,r)),"margin"!==i&&(s-=pt.css(e,"border"+Dt[o]+"Width",!0,r))):(s+=pt.css(e,"padding"+Dt[o],!0,r),"padding"!==i&&(s+=pt.css(e,"border"+Dt[o]+"Width",!0,r)));return s}function N(e,t,i){var n=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=fi(e),s=dt.boxSizing&&"border-box"===pt.css(e,"boxSizing",!1,o);if(0>=r||null==r){if(r=gi(e,t,o),(0>r||null==r)&&(r=e.style[t]),di.test(r))return r;n=s&&(dt.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+O(e,t,i||(s?"border":"content"),n,o)+"px"}function D(e,t,i,n,r){return new D.prototype.init(e,t,i,n,r)}function B(){return e.setTimeout(function(){ki=void 0}),ki=pt.now()}function H(e,t){var i,n={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)i=Dt[r],n["margin"+i]=n["padding"+i]=e;return t&&(n.opacity=n.width=e),n}function F(e,t,i){for(var n,r=(U.tweeners[t]||[]).concat(U.tweeners["*"]),o=0,s=r.length;s>o;o++)if(n=r[o].call(i,t,e))return n}function q(e,t,i){var n,r,o,s,a,l,u,c,d=this,h={},p=e.style,f=e.nodeType&&Bt(e),g=pt._data(e,"fxshow");i.queue||(a=pt._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,pt.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],u=pt.css(e,"display"),c="none"===u?pt._data(e,"olddisplay")||L(e.nodeName):u,"inline"===c&&"none"===pt.css(e,"float")&&(dt.inlineBlockNeedsLayout&&"inline"!==L(e.nodeName)?p.zoom=1:p.display="inline-block")),i.overflow&&(p.overflow="hidden",dt.shrinkWrapBlocks()||d.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]}));for(n in t)if(r=t[n],Si.exec(r)){if(delete t[n],o=o||"toggle"===r,r===(f?"hide":"show")){if("show"!==r||!g||void 0===g[n])continue;f=!0}h[n]=g&&g[n]||pt.style(e,n)}else u=void 0;if(pt.isEmptyObject(h))"inline"===("none"===u?L(e.nodeName):u)&&(p.display=u);else{g?"hidden"in g&&(f=g.hidden):g=pt._data(e,"fxshow",{}),o&&(g.hidden=!f),f?pt(e).show():d.done(function(){pt(e).hide()}),d.done(function(){var t;pt._removeData(e,"fxshow");for(t in h)pt.style(e,t,h[t])});for(n in h)s=F(f?g[n]:0,n,d),n in g||(g[n]=s.start,f&&(s.end=s.start,s.start="width"===n||"height"===n?1:0))}}function z(e,t){var i,n,r,o,s;for(i in e)if(n=pt.camelCase(i),r=t[n],o=e[i],pt.isArray(o)&&(r=o[1],o=e[i]=o[0]),i!==n&&(e[n]=o,delete e[i]),s=pt.cssHooks[n],s&&"expand"in s){o=s.expand(o),delete e[n];for(i in o)i in e||(e[i]=o[i],t[i]=r)}else t[n]=r}function U(e,t,i){var n,r,o=0,s=U.prefilters.length,a=pt.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=ki||B(),i=Math.max(0,u.startTime+u.duration-t),n=i/u.duration||0,o=1-n,s=0,l=u.tweens.length;l>s;s++)u.tweens[s].run(o);return a.notifyWith(e,[u,o,i]),1>o&&l?i:(a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:pt.extend({},t),opts:pt.extend(!0,{specialEasing:{},easing:pt.easing._default},i),originalProperties:t,originalOptions:i,startTime:ki||B(),duration:i.duration,tweens:[],createTween:function(t,i){var n=pt.Tween(e,u.opts,t,i,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var i=0,n=t?u.tweens.length:0;if(r)return this;for(r=!0;n>i;i++)u.tweens[i].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(z(c,u.opts.specialEasing);s>o;o++)if(n=U.prefilters[o].call(u,e,c,u.opts))return pt.isFunction(n.stop)&&(pt._queueHooks(u.elem,u.opts.queue).stop=pt.proxy(n.stop,n)),n;return pt.map(c,F,u),pt.isFunction(u.opts.start)&&u.opts.start.call(e,u),pt.fx.timer(pt.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function W(e){return pt.attr(e,"class")||""}function X(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,r=0,o=t.toLowerCase().match(jt)||[];if(pt.isFunction(i))for(;n=o[r++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function V(e,t,i,n){function r(a){var l;return o[a]=!0,pt.each(e[a]||[],function(e,a){var u=a(t,i,n);return"string"!=typeof u||s||o[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var o={},s=e===Ki;return r(t.dataTypes[0])||!o["*"]&&r("*")}function J(e,t){var i,n,r=pt.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&pt.extend(!0,e,i),e}function G(e,t,i){for(var n,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(s in a)if(a[s]&&a[s].test(r)){l.unshift(s);break}if(l[0]in i)o=l[0];else{for(s in i){if(!l[0]||e.converters[s+" "+l[0]]){o=s;break}n||(n=s)}o=o||n}return o?(o!==l[0]&&l.unshift(o),i[o]):void 0}function Z(e,t,i,n){var r,o,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(i[e.responseFields[o]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(s=u[l+" "+o]||u["* "+o],!s)for(r in u)if(a=r.split(" "),a[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){s===!0?s=u[r]:u[r]!==!0&&(o=a[0],c.unshift(a[1]));break}if(s!==!0)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(d){return{state:"parsererror",error:s?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function Y(e){return e.style&&e.style.display||pt.css(e,"display")}function Q(e){if(!pt.contains(e.ownerDocument||nt,e))return!0;for(;e&&1===e.nodeType;){if("none"===Y(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function K(e,t,i,n){var r;if(pt.isArray(t))pt.each(t,function(t,r){i||rn.test(e)?n(e,r):K(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,i,n)});else if(i||"object"!==pt.type(t))n(e,t);else for(r in t)K(e+"["+r+"]",t[r],i,n)}function $(){try{return new e.XMLHttpRequest}catch(t){}}function et(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function tt(e){return pt.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var it=[],nt=e.document,rt=it.slice,ot=it.concat,st=it.push,at=it.indexOf,lt={},ut=lt.toString,ct=lt.hasOwnProperty,dt={},ht="1.12.4",pt=function(e,t){return new pt.fn.init(e,t)},ft=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,gt=/^-ms-/,mt=/-([\da-z])/gi,vt=function(e,t){return t.toUpperCase()};pt.fn=pt.prototype={jquery:ht,constructor:pt,selector:"",length:0,toArray:function(){return rt.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:rt.call(this)},pushStack:function(e){var t=pt.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return pt.each(this,e)},map:function(e){return this.pushStack(pt.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(rt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(0>e?t:0);return this.pushStack(i>=0&&t>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:st,sort:it.sort,splice:it.splice},pt.extend=pt.fn.extend=function(){var e,t,i,n,r,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||pt.isFunction(s)||(s={}),a===l&&(s=this,a--);l>a;a++)if(null!=(r=arguments[a]))for(n in r)e=s[n],i=r[n],s!==i&&(u&&i&&(pt.isPlainObject(i)||(t=pt.isArray(i)))?(t?(t=!1,o=e&&pt.isArray(e)?e:[]):o=e&&pt.isPlainObject(e)?e:{},s[n]=pt.extend(u,o,i)):void 0!==i&&(s[n]=i));return s},pt.extend({expando:"jQuery"+(ht+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===pt.type(e)},isArray:Array.isArray||function(e){return"array"===pt.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!pt.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==pt.type(e)||e.nodeType||pt.isWindow(e))return!1;try{if(e.constructor&&!ct.call(e,"constructor")&&!ct.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(!dt.ownFirst)for(t in e)return ct.call(e,t);for(t in e);return void 0===t||ct.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?lt[ut.call(e)]||"object":typeof e},globalEval:function(t){t&&pt.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(gt,"ms-").replace(mt,vt)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(i(e))for(n=e.length;n>r&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ft,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?pt.merge(n,"string"==typeof e?[e]:e):st.call(n,e)),n},inArray:function(e,t,i){var n;if(t){if(at)return at.call(t,e,i);for(n=t.length,i=i?0>i?Math.max(0,n+i):i:0;n>i;i++)if(i in t&&t[i]===e)return i}return-1},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;i>n;)e[r++]=t[n++];if(i!==i)for(;void 0!==t[n];)e[r++]=t[n++];return e.length=r,e},grep:function(e,t,i){for(var n,r=[],o=0,s=e.length,a=!i;s>o;o++)n=!t(e[o],o),n!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,s=0,a=[];if(i(e))for(r=e.length;r>s;s++)o=t(e[s],s,n),null!=o&&a.push(o);else for(s in e)o=t(e[s],s,n),null!=o&&a.push(o);return ot.apply([],a)},guid:1,proxy:function(e,t){var i,n,r;return"string"==typeof t&&(r=e[t],t=e,e=r),pt.isFunction(e)?(i=rt.call(arguments,2),n=function(){return e.apply(t||this,i.concat(rt.call(arguments)))},n.guid=e.guid=e.guid||pt.guid++,n):void 0},now:function(){return+new Date},support:dt}),"function"==typeof Symbol&&(pt.fn[Symbol.iterator]=it[Symbol.iterator]),pt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){lt["[object "+t+"]"]=t.toLowerCase()});var bt=function(e){function t(e,t,i,n){var r,o,s,a,l,u,d,p,f=t&&t.ownerDocument,g=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return i;if(!n&&((t?t.ownerDocument||t:F)!==R&&P(t),t=t||R,M)){if(11!==g&&(u=vt.exec(e)))if(r=u[1]){if(9===g){if(!(s=t.getElementById(r)))return i;if(s.id===r)return i.push(s),i}else if(f&&(s=f.getElementById(r))&&B(t,s)&&s.id===r)return i.push(s),i}else{if(u[2])return K.apply(i,t.getElementsByTagName(e)),i;if((r=u[3])&&x.getElementsByClassName&&t.getElementsByClassName)return K.apply(i,t.getElementsByClassName(r)),i}if(!(!x.qsa||X[e+" "]||O&&O.test(e))){if(1!==g)f=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(At,"\\$&"):t.setAttribute("id",a=H),d=k(e),o=d.length,l=ht.test(a)?"#"+a:"[id='"+a+"']";o--;)d[o]=l+" "+h(d[o]);p=d.join(","),f=bt.test(e)&&c(t.parentNode)||t}if(p)try{return K.apply(i,f.querySelectorAll(p)),i}catch(m){}finally{a===H&&t.removeAttribute("id")}}}return S(e.replace(at,"$1"),t,i,n)}function i(){function e(i,n){return t.push(i+" ")>w.cacheLength&&delete e[t.shift()],e[i+" "]=n}var t=[];return e}function n(e){return e[H]=!0,e}function r(e){var t=R.createElement("div");try{return!!e(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var i=e.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=t}function s(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||J)-(~e.sourceIndex||J);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function a(e){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===e}}function l(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function u(e){return n(function(t){return t=+t,n(function(i,n){for(var r,o=e([],i.length,t),s=o.length;s--;)i[r=o[s]]&&(i[r]=!(n[r]=i[r]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function h(e){for(var t=0,i=e.length,n="";i>t;t++)n+=e[t].value;return n}function p(e,t,i){var n=t.dir,r=i&&"parentNode"===n,o=z++;return t.first?function(t,i,o){for(;t=t[n];)if(1===t.nodeType||r)return e(t,i,o)}:function(t,i,s){var a,l,u,c=[q,o];if(s){for(;t=t[n];)if((1===t.nodeType||r)&&e(t,i,s))return!0}else for(;t=t[n];)if(1===t.nodeType||r){if(u=t[H]||(t[H]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(a=l[n])&&a[0]===q&&a[1]===o)return c[2]=a[2];if(l[n]=c,c[2]=e(t,i,s))return!0}}}function f(e){return e.length>1?function(t,i,n){for(var r=e.length;r--;)if(!e[r](t,i,n))return!1;return!0}:e[0]}function g(e,i,n){for(var r=0,o=i.length;o>r;r++)t(e,i[r],n);return n}function m(e,t,i,n,r){for(var o,s=[],a=0,l=e.length,u=null!=t;l>a;a++)(o=e[a])&&(!i||i(o,n,r))&&(s.push(o),u&&t.push(a));return s}function v(e,t,i,r,o,s){return r&&!r[H]&&(r=v(r)),o&&!o[H]&&(o=v(o,s)),n(function(n,s,a,l){var u,c,d,h=[],p=[],f=s.length,v=n||g(t||"*",a.nodeType?[a]:a,[]),b=!e||!n&&t?v:m(v,h,e,a,l),A=i?o||(n?e:f||r)?[]:s:b;if(i&&i(b,A,a,l),r)for(u=m(A,p),r(u,[],a,l),c=u.length;c--;)(d=u[c])&&(A[p[c]]=!(b[p[c]]=d));if(n){if(o||e){if(o){for(u=[],c=A.length;c--;)(d=A[c])&&u.push(b[c]=d);o(null,A=[],u,l)}for(c=A.length;c--;)(d=A[c])&&(u=o?et(n,d):h[c])>-1&&(n[u]=!(s[u]=d))}}else A=m(A===s?A.splice(f,A.length):A),o?o(null,s,A,l):K.apply(s,A)})}function b(e){for(var t,i,n,r=e.length,o=w.relative[e[0].type],s=o||w.relative[" "],a=o?1:0,l=p(function(e){return e===t},s,!0),u=p(function(e){return et(t,e)>-1},s,!0),c=[function(e,i,n){var r=!o&&(n||i!==C)||((t=i).nodeType?l(e,i,n):u(e,i,n));return t=null,r}];r>a;a++)if(i=w.relative[e[a].type])c=[p(f(c),i)];else{if(i=w.filter[e[a].type].apply(null,e[a].matches),i[H]){for(n=++a;r>n&&!w.relative[e[n].type];n++);return v(a>1&&f(c),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(at,"$1"),i,n>a&&b(e.slice(a,n)),r>n&&b(e=e.slice(n)),r>n&&h(e))}c.push(i)}return f(c)}function A(e,i){var r=i.length>0,o=e.length>0,s=function(n,s,a,l,u){var c,d,h,p=0,f="0",g=n&&[],v=[],b=C,A=n||o&&w.find.TAG("*",u),y=q+=null==b?1:Math.random()||.1,x=A.length;for(u&&(C=s===R||s||u);f!==x&&null!=(c=A[f]);f++){if(o&&c){for(d=0,s||c.ownerDocument===R||(P(c),a=!M);h=e[d++];)if(h(c,s||R,a)){l.push(c);break}u&&(q=y)}r&&((c=!h&&c)&&p--,n&&g.push(c))}if(p+=f,r&&f!==p){for(d=0;h=i[d++];)h(g,v,s,a);if(n){if(p>0)for(;f--;)g[f]||v[f]||(v[f]=Y.call(l));v=m(v)}K.apply(l,v),u&&!n&&v.length>0&&p+i.length>1&&t.uniqueSort(l)}return u&&(q=y,C=b),g};return r?n(s):s}var y,x,w,_,E,k,T,S,C,j,L,P,R,I,M,O,N,D,B,H="sizzle"+1*new Date,F=e.document,q=0,z=0,U=i(),W=i(),X=i(),V=function(e,t){return e===t&&(L=!0),0},J=1<<31,G={}.hasOwnProperty,Z=[],Y=Z.pop,Q=Z.push,K=Z.push,$=Z.slice,et=function(e,t){for(var i=0,n=e.length;n>i;i++)if(e[i]===t)return i;return-1},tt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",nt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",rt="\\["+it+"*("+nt+")(?:"+it+"*([*^$|!~]?=)"+it+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+nt+"))|)"+it+"*\\]",ot=":("+nt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",st=new RegExp(it+"+","g"),at=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),lt=new RegExp("^"+it+"*,"+it+"*"),ut=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),ct=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),dt=new RegExp(ot),ht=new RegExp("^"+nt+"$"),pt={ID:new RegExp("^#("+nt+")"),CLASS:new RegExp("^\\.("+nt+")"),TAG:new RegExp("^("+nt+"|[*])"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},ft=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,At=/'|\\/g,yt=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),xt=function(e,t,i){var n="0x"+t-65536;return n!==n||i?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},wt=function(){P()};try{K.apply(Z=$.call(F.childNodes),F.childNodes),Z[F.childNodes.length].nodeType}catch(_t){K={apply:Z.length?function(e,t){Q.apply(e,$.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}x=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},P=t.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:F;return n!==R&&9===n.nodeType&&n.documentElement?(R=n,I=R.documentElement,M=!E(R),(i=R.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",wt,!1):i.attachEvent&&i.attachEvent("onunload",wt)),x.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=r(function(e){return e.appendChild(R.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(R.getElementsByClassName),x.getById=r(function(e){return I.appendChild(e).id=H,!R.getElementsByName||!R.getElementsByName(H).length}),x.getById?(w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&M){var i=t.getElementById(e);return i?[i]:[]}},w.filter.ID=function(e){var t=e.replace(yt,xt);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(yt,xt);return function(e){var i="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}}),w.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},w.find.CLASS=x.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&M?t.getElementsByClassName(e):void 0},N=[],O=[],(x.qsa=mt.test(R.querySelectorAll))&&(r(function(e){I.appendChild(e).innerHTML="<a id='"+H+"'></a><select id='"+H+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+it+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+it+"*(?:value|"+tt+")"),e.querySelectorAll("[id~="+H+"-]").length||O.push("~="),e.querySelectorAll(":checked").length||O.push(":checked"),e.querySelectorAll("a#"+H+"+*").length||O.push(".#.+[+~]")}),r(function(e){var t=R.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+it+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(x.matchesSelector=mt.test(D=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&r(function(e){x.disconnectedMatch=D.call(e,"div"),D.call(e,"[s!='']:x"),N.push("!=",ot)}),O=O.length&&new RegExp(O.join("|")),N=N.length&&new RegExp(N.join("|")),t=mt.test(I.compareDocumentPosition),B=t||mt.test(I.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},V=t?function(e,t){if(e===t)return L=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i?i:(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&i||!x.sortDetached&&t.compareDocumentPosition(e)===i?e===R||e.ownerDocument===F&&B(F,e)?-1:t===R||t.ownerDocument===F&&B(F,t)?1:j?et(j,e)-et(j,t):0:4&i?-1:1)}:function(e,t){if(e===t)return L=!0,0;var i,n=0,r=e.parentNode,o=t.parentNode,a=[e],l=[t];if(!r||!o)return e===R?-1:t===R?1:r?-1:o?1:j?et(j,e)-et(j,t):0;if(r===o)return s(e,t);for(i=e;i=i.parentNode;)a.unshift(i);for(i=t;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?s(a[n],l[n]):a[n]===F?-1:l[n]===F?1:0},R):R},t.matches=function(e,i){return t(e,null,null,i)},t.matchesSelector=function(e,i){if((e.ownerDocument||e)!==R&&P(e),i=i.replace(ct,"='$1']"),!(!x.matchesSelector||!M||X[i+" "]||N&&N.test(i)||O&&O.test(i)))try{var n=D.call(e,i);if(n||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return t(i,R,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==R&&P(e),B(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==R&&P(e);var i=w.attrHandle[t.toLowerCase()],n=i&&G.call(w.attrHandle,t.toLowerCase())?i(e,t,!M):void 0;return void 0!==n?n:x.attributes||!M?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,i=[],n=0,r=0;if(L=!x.detectDuplicates,j=!x.sortStable&&e.slice(0),e.sort(V),L){for(;t=e[r++];)t===e[r]&&(n=i.push(r));for(;n--;)e.splice(i[n],1)}return j=null,e},_=t.getText=function(e){var t,i="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=_(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)i+=_(t);return i},w=t.selectors={cacheLength:50,createPseudo:n,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(yt,xt),e[3]=(e[3]||e[4]||e[5]||"").replace(yt,xt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return pt.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&dt.test(i)&&(t=k(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(yt,xt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+it+")"+e+"("+it+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(r){var o=t.attr(r,e);return null==o?"!="===i:i?(o+="","="===i?o===n:"!="===i?o!==n:"^="===i?n&&0===o.indexOf(n):"*="===i?n&&o.indexOf(n)>-1:"$="===i?n&&o.slice(-n.length)===n:"~="===i?(" "+o.replace(st," ")+" ").indexOf(n)>-1:"|="===i?o===n||o.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,i,n,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,i,l){var u,c,d,h,p,f,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),b=!l&&!a,A=!1;if(m){if(o){for(;g;){for(h=t;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?m.firstChild:m.lastChild],s&&b){for(h=m,d=h[H]||(h[H]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],p=u[0]===q&&u[1],A=p&&u[2],h=p&&m.childNodes[p];h=++p&&h&&h[g]||(A=p=0)||f.pop();)if(1===h.nodeType&&++A&&h===t){c[e]=[q,p,A];break}}else if(b&&(h=t,d=h[H]||(h[H]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],p=u[0]===q&&u[1],A=p),A===!1)for(;(h=++p&&h&&h[g]||(A=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++A||(b&&(d=h[H]||(h[H]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),c[e]=[q,A]),h!==t)););return A-=r,A===n||A%n===0&&A/n>=0}}},PSEUDO:function(e,i){var r,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[H]?o(i):o.length>1?(r=[e,e,"",i],w.setFilters.hasOwnProperty(e.toLowerCase())?n(function(e,t){for(var n,r=o(e,i),s=r.length;s--;)n=et(e,r[s]),e[n]=!(t[n]=r[s])}):function(e){return o(e,0,r)}):o}},pseudos:{not:n(function(e){var t=[],i=[],r=T(e.replace(at,"$1"));return r[H]?n(function(e,t,i,n){for(var o,s=r(e,null,n,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,n,o){return t[0]=e,r(t,null,o,i),t[0]=null,!i.pop()}}),has:n(function(e){return function(i){return t(e,i).length>0}}),contains:n(function(e){return e=e.replace(yt,xt),function(t){return(t.textContent||t.innerText||_(t)).indexOf(e)>-1}}),lang:n(function(e){return ht.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(yt,xt).toLowerCase(),function(t){var i;do if(i=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===e||0===i.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===I},focus:function(e){return e===R.activeElement&&(!R.hasFocus||R.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return gt.test(e.nodeName)},input:function(e){return ft.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,i){return[0>i?i+t:i]}),even:u(function(e,t){for(var i=0;t>i;i+=2)e.push(i);return e}),odd:u(function(e,t){for(var i=1;t>i;i+=2)e.push(i);return e}),lt:u(function(e,t,i){for(var n=0>i?i+t:i;--n>=0;)e.push(n);return e}),gt:u(function(e,t,i){for(var n=0>i?i+t:i;++n<t;)e.push(n);return e})}},w.pseudos.nth=w.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[y]=a(y);for(y in{submit:!0,reset:!0})w.pseudos[y]=l(y);return d.prototype=w.filters=w.pseudos,w.setFilters=new d,k=t.tokenize=function(e,i){var n,r,o,s,a,l,u,c=W[e+" "];if(c)return i?0:c.slice(0);for(a=e,l=[],u=w.preFilter;a;){(!n||(r=lt.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),n=!1,(r=ut.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(at," ")}),a=a.slice(n.length));for(s in w.filter)!(r=pt[s].exec(a))||u[s]&&!(r=u[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return i?a.length:a?t.error(e):W(e,l).slice(0)},T=t.compile=function(e,t){var i,n=[],r=[],o=X[e+" "];if(!o){for(t||(t=k(e)),i=t.length;i--;)o=b(t[i]),o[H]?n.push(o):r.push(o);o=X(e,A(r,n)),o.selector=e}return o},S=t.select=function(e,t,i,n){var r,o,s,a,l,u="function"==typeof e&&e,d=!n&&k(e=u.selector||e);if(i=i||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&x.getById&&9===t.nodeType&&M&&w.relative[o[1].type]){if(t=(w.find.ID(s.matches[0].replace(yt,xt),t)||[])[0],!t)return i;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=pt.needsContext.test(e)?0:o.length;r--&&(s=o[r],!w.relative[a=s.type]);)if((l=w.find[a])&&(n=l(s.matches[0].replace(yt,xt),bt.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(r,1),e=n.length&&h(o),!e)return K.apply(i,n),i;break}}return(u||T(e,d))(n,t,!M,i,!t||bt.test(e)&&c(t.parentNode)||t),i},x.sortStable=H.split("").sort(V).join("")===H,x.detectDuplicates=!!L,P(),x.sortDetached=r(function(e){return 1&e.compareDocumentPosition(R.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,i){return i?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,i){return i||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||o(tt,function(e,t,i){var n;return i?void 0:e[t]===!0?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),t}(e);pt.find=bt,pt.expr=bt.selectors,pt.expr[":"]=pt.expr.pseudos,pt.uniqueSort=pt.unique=bt.uniqueSort,pt.text=bt.getText,pt.isXMLDoc=bt.isXML,pt.contains=bt.contains;var At=function(e,t,i){for(var n=[],r=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&pt(e).is(i))break;n.push(e)}return n},yt=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},xt=pt.expr.match.needsContext,wt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,_t=/^.[^:#\[\.,]*$/;pt.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?pt.find.matchesSelector(n,e)?[n]:[]:pt.find.matches(e,pt.grep(t,function(e){return 1===e.nodeType}))},pt.fn.extend({find:function(e){var t,i=[],n=this,r=n.length;if("string"!=typeof e)return this.pushStack(pt(e).filter(function(){for(t=0;r>t;t++)if(pt.contains(n[t],this))return!0}));for(t=0;r>t;t++)pt.find(e,n[t],i);return i=this.pushStack(r>1?pt.unique(i):i),i.selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(n(this,e||[],!1))},not:function(e){return this.pushStack(n(this,e||[],!0))},is:function(e){return!!n(this,"string"==typeof e&&xt.test(e)?pt(e):e||[],!1).length}});var Et,kt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Tt=pt.fn.init=function(e,t,i){var n,r;if(!e)return this;if(i=i||Et,"string"==typeof e){if(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:kt.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof pt?t[0]:t,pt.merge(this,pt.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:nt,!0)),wt.test(n[1])&&pt.isPlainObject(t))for(n in t)pt.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if(r=nt.getElementById(n[2]),r&&r.parentNode){if(r.id!==n[2])return Et.find(e);this.length=1,this[0]=r}return this.context=nt,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):pt.isFunction(e)?"undefined"!=typeof i.ready?i.ready(e):e(pt):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),pt.makeArray(e,this))};Tt.prototype=pt.fn,Et=pt(nt);var St=/^(?:parents|prev(?:Until|All))/,Ct={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(e){var t,i=pt(e,this),n=i.length;return this.filter(function(){for(t=0;n>t;t++)if(pt.contains(this,i[t]))return!0})},closest:function(e,t){for(var i,n=0,r=this.length,o=[],s=xt.test(e)||"string"!=typeof e?pt(e,t||this.context):0;r>n;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(s?s.index(i)>-1:1===i.nodeType&&pt.find.matchesSelector(i,e))){o.push(i);break}return this.pushStack(o.length>1?pt.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?pt.inArray(this[0],pt(e)):pt.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pt.uniqueSort(pt.merge(this.get(),pt(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))
}}),pt.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return At(e,"parentNode")},parentsUntil:function(e,t,i){return At(e,"parentNode",i)},next:function(e){return r(e,"nextSibling")},prev:function(e){return r(e,"previousSibling")},nextAll:function(e){return At(e,"nextSibling")},prevAll:function(e){return At(e,"previousSibling")},nextUntil:function(e,t,i){return At(e,"nextSibling",i)},prevUntil:function(e,t,i){return At(e,"previousSibling",i)},siblings:function(e){return yt((e.parentNode||{}).firstChild,e)},children:function(e){return yt(e.firstChild)},contents:function(e){return pt.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:pt.merge([],e.childNodes)}},function(e,t){pt.fn[e]=function(i,n){var r=pt.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=pt.filter(n,r)),this.length>1&&(Ct[e]||(r=pt.uniqueSort(r)),St.test(e)&&(r=r.reverse())),this.pushStack(r)}});var jt=/\S+/g;pt.Callbacks=function(e){e="string"==typeof e?o(e):pt.extend({},e);var t,i,n,r,s=[],a=[],l=-1,u=function(){for(r=e.once,n=t=!0;a.length;l=-1)for(i=a.shift();++l<s.length;)s[l].apply(i[0],i[1])===!1&&e.stopOnFalse&&(l=s.length,i=!1);e.memory||(i=!1),t=!1,r&&(s=i?[]:"")},c={add:function(){return s&&(i&&!t&&(l=s.length-1,a.push(i)),function n(t){pt.each(t,function(t,i){pt.isFunction(i)?e.unique&&c.has(i)||s.push(i):i&&i.length&&"string"!==pt.type(i)&&n(i)})}(arguments),i&&!t&&u()),this},remove:function(){return pt.each(arguments,function(e,t){for(var i;(i=pt.inArray(t,s,i))>-1;)s.splice(i,1),l>=i&&l--}),this},has:function(e){return e?pt.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=a=[],s=i="",this},disabled:function(){return!s},lock:function(){return r=!0,i||c.disable(),this},locked:function(){return!!r},fireWith:function(e,i){return r||(i=i||[],i=[e,i.slice?i.slice():i],a.push(i),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},pt.extend({Deferred:function(e){var t=[["resolve","done",pt.Callbacks("once memory"),"resolved"],["reject","fail",pt.Callbacks("once memory"),"rejected"],["notify","progress",pt.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return pt.Deferred(function(i){pt.each(t,function(t,o){var s=pt.isFunction(e[t])&&e[t];r[o[1]](function(){var e=s&&s.apply(this,arguments);e&&pt.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[o[0]+"With"](this===n?i.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?pt.extend(e,n):n}},r={};return n.pipe=n.then,pt.each(t,function(e,o){var s=o[2],a=o[3];n[o[1]]=s.add,a&&s.add(function(){i=a},t[1^e][2].disable,t[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?n:this,arguments),this},r[o[0]+"With"]=s.fireWith}),n.promise(r),e&&e.call(r,r),r},when:function(e){var t=0,i=rt.call(arguments),n=i.length,r=1!==n||e&&pt.isFunction(e.promise)?n:0,o=1===r?e:pt.Deferred(),s=function(e,t,i){return function(n){t[e]=this,i[e]=arguments.length>1?rt.call(arguments):n,i===a?o.notifyWith(t,i):--r||o.resolveWith(t,i)}},a,l,u;if(n>1)for(a=new Array(n),l=new Array(n),u=new Array(n);n>t;t++)i[t]&&pt.isFunction(i[t].promise)?i[t].promise().progress(s(t,l,a)).done(s(t,u,i)).fail(o.reject):--r;return r||o.resolveWith(u,i),o.promise()}});var Lt;pt.fn.ready=function(e){return pt.ready.promise().done(e),this},pt.extend({isReady:!1,readyWait:1,holdReady:function(e){e?pt.readyWait++:pt.ready(!0)},ready:function(e){(e===!0?--pt.readyWait:pt.isReady)||(pt.isReady=!0,e!==!0&&--pt.readyWait>0||(Lt.resolveWith(nt,[pt]),pt.fn.triggerHandler&&(pt(nt).triggerHandler("ready"),pt(nt).off("ready"))))}}),pt.ready.promise=function(t){if(!Lt)if(Lt=pt.Deferred(),"complete"===nt.readyState||"loading"!==nt.readyState&&!nt.documentElement.doScroll)e.setTimeout(pt.ready);else if(nt.addEventListener)nt.addEventListener("DOMContentLoaded",a),e.addEventListener("load",a);else{nt.attachEvent("onreadystatechange",a),e.attachEvent("onload",a);var i=!1;try{i=null==e.frameElement&&nt.documentElement}catch(n){}i&&i.doScroll&&!function r(){if(!pt.isReady){try{i.doScroll("left")}catch(t){return e.setTimeout(r,50)}s(),pt.ready()}}()}return Lt.promise(t)},pt.ready.promise();var Pt;for(Pt in pt(dt))break;dt.ownFirst="0"===Pt,dt.inlineBlockNeedsLayout=!1,pt(function(){var e,t,i,n;i=nt.getElementsByTagName("body")[0],i&&i.style&&(t=nt.createElement("div"),n=nt.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",dt.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(i.style.zoom=1)),i.removeChild(n))}),function(){var e=nt.createElement("div");dt.deleteExpando=!0;try{delete e.test}catch(t){dt.deleteExpando=!1}e=null}();var Rt=function(e){var t=pt.noData[(e.nodeName+" ").toLowerCase()],i=+e.nodeType||1;return 1!==i&&9!==i?!1:!t||t!==!0&&e.getAttribute("classid")===t},It=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Mt=/([A-Z])/g;pt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?pt.cache[e[pt.expando]]:e[pt.expando],!!e&&!u(e)},data:function(e,t,i){return c(e,t,i)},removeData:function(e,t){return d(e,t)},_data:function(e,t,i){return c(e,t,i,!0)},_removeData:function(e,t){return d(e,t,!0)}}),pt.fn.extend({data:function(e,t){var i,n,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=pt.data(o),1===o.nodeType&&!pt._data(o,"parsedAttrs"))){for(i=s.length;i--;)s[i]&&(n=s[i].name,0===n.indexOf("data-")&&(n=pt.camelCase(n.slice(5)),l(o,n,r[n])));pt._data(o,"parsedAttrs",!0)}return r}return"object"==typeof e?this.each(function(){pt.data(this,e)}):arguments.length>1?this.each(function(){pt.data(this,e,t)}):o?l(o,e,pt.data(o,e)):void 0},removeData:function(e){return this.each(function(){pt.removeData(this,e)})}}),pt.extend({queue:function(e,t,i){var n;return e?(t=(t||"fx")+"queue",n=pt._data(e,t),i&&(!n||pt.isArray(i)?n=pt._data(e,t,pt.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(e,t){t=t||"fx";var i=pt.queue(e,t),n=i.length,r=i.shift(),o=pt._queueHooks(e,t),s=function(){pt.dequeue(e,t)};"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return pt._data(e,i)||pt._data(e,i,{empty:pt.Callbacks("once memory").add(function(){pt._removeData(e,t+"queue"),pt._removeData(e,i)})})}}),pt.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?pt.queue(this[0],e):void 0===t?this:this.each(function(){var i=pt.queue(this,e,t);pt._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&pt.dequeue(this,e)})},dequeue:function(e){return this.each(function(){pt.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,r=pt.Deferred(),o=this,s=this.length,a=function(){--n||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)i=pt._data(o[s],e+"queueHooks"),i&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(t)}}),function(){var e;dt.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,i,n;return i=nt.getElementsByTagName("body")[0],i&&i.style?(t=nt.createElement("div"),n=nt.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(nt.createElement("div")).style.width="5px",e=3!==t.offsetWidth),i.removeChild(n),e):void 0}}();var Ot=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Nt=new RegExp("^(?:([+-])=|)("+Ot+")([a-z%]*)$","i"),Dt=["Top","Right","Bottom","Left"],Bt=function(e,t){return e=t||e,"none"===pt.css(e,"display")||!pt.contains(e.ownerDocument,e)},Ht=function(e,t,i,n,r,o,s){var a=0,l=e.length,u=null==i;if("object"===pt.type(i)){r=!0;for(a in i)Ht(e,t,a,i[a],!0,o,s)}else if(void 0!==n&&(r=!0,pt.isFunction(n)||(s=!0),u&&(s?(t.call(e,n),t=null):(u=t,t=function(e,t,i){return u.call(pt(e),i)})),t))for(;l>a;a++)t(e[a],i,s?n:n.call(e[a],a,t(e[a],i)));return r?e:u?t.call(e):l?t(e[0],i):o},Ft=/^(?:checkbox|radio)$/i,qt=/<([\w:-]+)/,zt=/^$|\/(?:java|ecma)script/i,Ut=/^\s+/,Wt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=nt.createElement("div"),t=nt.createDocumentFragment(),i=nt.createElement("input");e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",dt.leadingWhitespace=3===e.firstChild.nodeType,dt.tbody=!e.getElementsByTagName("tbody").length,dt.htmlSerialize=!!e.getElementsByTagName("link").length,dt.html5Clone="<:nav></:nav>"!==nt.createElement("nav").cloneNode(!0).outerHTML,i.type="checkbox",i.checked=!0,t.appendChild(i),dt.appendChecked=i.checked,e.innerHTML="<textarea>x</textarea>",dt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),i=nt.createElement("input"),i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),dt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,dt.noCloneEvent=!!e.addEventListener,e[pt.expando]=1,dt.attributes=!e.getAttribute(pt.expando)}();var Xt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:dt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Xt.optgroup=Xt.option,Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td;var Vt=/<|&#?\w+;/,Jt=/<tbody/i;!function(){var t,i,n=nt.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})i="on"+t,(dt[t]=i in e)||(n.setAttribute(i,"t"),dt[t]=n.attributes[i].expando===!1);n=null}();var Gt=/^(?:input|select|textarea)$/i,Zt=/^key/,Yt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Qt=/^(?:focusinfocus|focusoutblur)$/,Kt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(e,t,i,n,r){var o,s,a,l,u,c,d,h,p,f,g,m=pt._data(e);if(m){for(i.handler&&(l=i,i=l.handler,r=l.selector),i.guid||(i.guid=pt.guid++),(s=m.events)||(s=m.events={}),(c=m.handle)||(c=m.handle=function(e){return"undefined"==typeof pt||e&&pt.event.triggered===e.type?void 0:pt.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(jt)||[""],a=t.length;a--;)o=Kt.exec(t[a])||[],p=g=o[1],f=(o[2]||"").split(".").sort(),p&&(u=pt.event.special[p]||{},p=(r?u.delegateType:u.bindType)||p,u=pt.event.special[p]||{},d=pt.extend({type:p,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&pt.expr.match.needsContext.test(r),namespace:f.join(".")},l),(h=s[p])||(h=s[p]=[],h.delegateCount=0,u.setup&&u.setup.call(e,n,f,c)!==!1||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=i.guid)),r?h.splice(h.delegateCount++,0,d):h.push(d),pt.event.global[p]=!0);e=null}},remove:function(e,t,i,n,r){var o,s,a,l,u,c,d,h,p,f,g,m=pt.hasData(e)&&pt._data(e);if(m&&(c=m.events)){for(t=(t||"").match(jt)||[""],u=t.length;u--;)if(a=Kt.exec(t[u])||[],p=g=a[1],f=(a[2]||"").split(".").sort(),p){for(d=pt.event.special[p]||{},p=(n?d.delegateType:d.bindType)||p,h=c[p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=h.length;o--;)s=h[o],!r&&g!==s.origType||i&&i.guid!==s.guid||a&&!a.test(s.namespace)||n&&n!==s.selector&&("**"!==n||!s.selector)||(h.splice(o,1),s.selector&&h.delegateCount--,d.remove&&d.remove.call(e,s));l&&!h.length&&(d.teardown&&d.teardown.call(e,f,m.handle)!==!1||pt.removeEvent(e,p,m.handle),delete c[p])}else for(p in c)pt.event.remove(e,p+t[u],i,n,!0);pt.isEmptyObject(c)&&(delete m.handle,pt._removeData(e,"events"))}},trigger:function(t,i,n,r){var o,s,a,l,u,c,d,h=[n||nt],p=ct.call(t,"type")?t.type:t,f=ct.call(t,"namespace")?t.namespace.split("."):[];if(a=c=n=n||nt,3!==n.nodeType&&8!==n.nodeType&&!Qt.test(p+pt.event.triggered)&&(p.indexOf(".")>-1&&(f=p.split("."),p=f.shift(),f.sort()),s=p.indexOf(":")<0&&"on"+p,t=t[pt.expando]?t:new pt.Event(p,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),i=null==i?[t]:pt.makeArray(i,[t]),u=pt.event.special[p]||{},r||!u.trigger||u.trigger.apply(n,i)!==!1)){if(!r&&!u.noBubble&&!pt.isWindow(n)){for(l=u.delegateType||p,Qt.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),c=a;c===(n.ownerDocument||nt)&&h.push(c.defaultView||c.parentWindow||e)}for(d=0;(a=h[d++])&&!t.isPropagationStopped();)t.type=d>1?l:u.bindType||p,o=(pt._data(a,"events")||{})[t.type]&&pt._data(a,"handle"),o&&o.apply(a,i),o=s&&a[s],o&&o.apply&&Rt(a)&&(t.result=o.apply(a,i),t.result===!1&&t.preventDefault());if(t.type=p,!r&&!t.isDefaultPrevented()&&(!u._default||u._default.apply(h.pop(),i)===!1)&&Rt(n)&&s&&n[p]&&!pt.isWindow(n)){c=n[s],c&&(n[s]=null),pt.event.triggered=p;try{n[p]()}catch(g){}pt.event.triggered=void 0,c&&(n[s]=c)}return t.result}},dispatch:function(e){e=pt.event.fix(e);var t,i,n,r,o,s=[],a=rt.call(arguments),l=(pt._data(this,"events")||{})[e.type]||[],u=pt.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,e)!==!1){for(s=pt.event.handlers.call(this,e,l),t=0;(r=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,i=0;(o=r.handlers[i++])&&!e.isImmediatePropagationStopped();)(!e.rnamespace||e.rnamespace.test(o.namespace))&&(e.handleObj=o,e.data=o.data,n=((pt.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a),void 0!==n&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var i,n,r,o,s=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(n=[],i=0;a>i;i++)o=t[i],r=o.selector+" ",void 0===n[r]&&(n[r]=o.needsContext?pt(r,this).index(l)>-1:pt.find(r,this,null,[l]).length),n[r]&&n.push(o);n.length&&s.push({elem:l,handlers:n})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},fix:function(e){if(e[pt.expando])return e;var t,i,n,r=e.type,o=e,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=Yt.test(r)?this.mouseHooks:Zt.test(r)?this.keyHooks:{}),n=s.props?this.props.concat(s.props):this.props,e=new pt.Event(o),t=n.length;t--;)i=n[t],e[i]=o[i];return e.target||(e.target=o.srcElement||nt),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var i,n,r,o=t.button,s=t.fromElement;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||nt,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?t.toElement:s),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==y()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===y()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return pt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return pt.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,i){var n=pt.extend(new pt.Event,i,{type:e,isSimulated:!0});pt.event.trigger(n,null,t),n.isDefaultPrevented()&&i.preventDefault()}},pt.removeEvent=nt.removeEventListener?function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)}:function(e,t,i){var n="on"+t;e.detachEvent&&("undefined"==typeof e[n]&&(e[n]=null),e.detachEvent(n,i))},pt.Event=function(e,t){return this instanceof pt.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?b:A):this.type=e,t&&pt.extend(this,t),this.timeStamp=e&&e.timeStamp||pt.now(),void(this[pt.expando]=!0)):new pt.Event(e,t)},pt.Event.prototype={constructor:pt.Event,isDefaultPrevented:A,isPropagationStopped:A,isImmediatePropagationStopped:A,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=b,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=b,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=b,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},pt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){pt.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=this,r=e.relatedTarget,o=e.handleObj;return(!r||r!==n&&!pt.contains(n,r))&&(e.type=o.origType,i=o.handler.apply(this,arguments),e.type=t),i}}}),dt.submit||(pt.event.special.submit={setup:function(){return pt.nodeName(this,"form")?!1:void pt.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,i=pt.nodeName(t,"input")||pt.nodeName(t,"button")?pt.prop(t,"form"):void 0;i&&!pt._data(i,"submit")&&(pt.event.add(i,"submit._submit",function(e){e._submitBubble=!0}),pt._data(i,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&pt.event.simulate("submit",this.parentNode,e))},teardown:function(){return pt.nodeName(this,"form")?!1:void pt.event.remove(this,"._submit")}}),dt.change||(pt.event.special.change={setup:function(){return Gt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(pt.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),pt.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),pt.event.simulate("change",this,e)})),!1):void pt.event.add(this,"beforeactivate._change",function(e){var t=e.target;Gt.test(t.nodeName)&&!pt._data(t,"change")&&(pt.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||pt.event.simulate("change",this.parentNode,e)}),pt._data(t,"change",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return pt.event.remove(this,"._change"),!Gt.test(this.nodeName)}}),dt.focusin||pt.each({focus:"focusin",blur:"focusout"},function(e,t){var i=function(e){pt.event.simulate(t,e.target,pt.event.fix(e))};pt.event.special[t]={setup:function(){var n=this.ownerDocument||this,r=pt._data(n,t);r||n.addEventListener(e,i,!0),pt._data(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=pt._data(n,t)-1;r?pt._data(n,t,r):(n.removeEventListener(e,i,!0),pt._removeData(n,t))}}}),pt.fn.extend({on:function(e,t,i,n){return x(this,e,t,i,n)},one:function(e,t,i,n){return x(this,e,t,i,n,1)},off:function(e,t,i){var n,r;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,pt(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return(t===!1||"function"==typeof t)&&(i=t,t=void 0),i===!1&&(i=A),this.each(function(){pt.event.remove(this,e,i,t)})},trigger:function(e,t){return this.each(function(){pt.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];return i?pt.event.trigger(e,t,i,!0):void 0}});var $t=/ jQuery\d+="(?:null|\d+)"/g,ei=new RegExp("<(?:"+Wt+")[\\s/>]","i"),ti=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ii=/<script|<style|<link/i,ni=/checked\s*(?:[^=]|=\s*.checked.)/i,ri=/^true\/(.*)/,oi=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,si=p(nt),ai=si.appendChild(nt.createElement("div"));pt.extend({htmlPrefilter:function(e){return e.replace(ti,"<$1></$2>")},clone:function(e,t,i){var n,r,o,s,a,l=pt.contains(e.ownerDocument,e);if(dt.html5Clone||pt.isXMLDoc(e)||!ei.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(ai.innerHTML=e.outerHTML,ai.removeChild(o=ai.firstChild)),!(dt.noCloneEvent&&dt.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pt.isXMLDoc(e)))for(n=f(o),a=f(e),s=0;null!=(r=a[s]);++s)n[s]&&T(r,n[s]);if(t)if(i)for(a=a||f(e),n=n||f(o),s=0;null!=(r=a[s]);s++)k(r,n[s]);else k(e,o);return n=f(o,"script"),n.length>0&&g(n,!l&&f(e,"script")),n=a=r=null,o},cleanData:function(e,t){for(var i,n,r,o,s=0,a=pt.expando,l=pt.cache,u=dt.attributes,c=pt.event.special;null!=(i=e[s]);s++)if((t||Rt(i))&&(r=i[a],o=r&&l[r])){if(o.events)for(n in o.events)c[n]?pt.event.remove(i,n):pt.removeEvent(i,n,o.handle);l[r]&&(delete l[r],u||"undefined"==typeof i.removeAttribute?i[a]=void 0:i.removeAttribute(a),it.push(r))}}}),pt.fn.extend({domManip:S,detach:function(e){return C(this,e,!0)},remove:function(e){return C(this,e)},text:function(e){return Ht(this,function(e){return void 0===e?pt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||nt).createTextNode(e))},null,e,arguments.length)},append:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.appendChild(e)}})},prepend:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&pt.cleanData(f(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&pt.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return pt.clone(this,e,t)})},html:function(e){return Ht(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace($t,""):void 0;if(!("string"!=typeof e||ii.test(e)||!dt.htmlSerialize&&ei.test(e)||!dt.leadingWhitespace&&Ut.test(e)||Xt[(qt.exec(e)||["",""])[1].toLowerCase()])){e=pt.htmlPrefilter(e);try{for(;n>i;i++)t=this[i]||{},1===t.nodeType&&(pt.cleanData(f(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return S(this,arguments,function(t){var i=this.parentNode;pt.inArray(this,e)<0&&(pt.cleanData(f(this)),i&&i.replaceChild(t,this))},e)}}),pt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){pt.fn[e]=function(e){for(var i,n=0,r=[],o=pt(e),s=o.length-1;s>=n;n++)i=n===s?this:this.clone(!0),pt(o[n])[t](i),st.apply(r,i.get());return this.pushStack(r)}});var li,ui={HTML:"block",BODY:"block"},ci=/^margin/,di=new RegExp("^("+Ot+")(?!px)[a-z%]+$","i"),hi=function(e,t,i,n){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];r=i.apply(e,n||[]);for(o in t)e.style[o]=s[o];return r},pi=nt.documentElement;!function(){function t(){var t,c,d=nt.documentElement;d.appendChild(l),u.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i=r=a=!1,n=s=!0,e.getComputedStyle&&(c=e.getComputedStyle(u),i="1%"!==(c||{}).top,a="2px"===(c||{}).marginLeft,r="4px"===(c||{width:"4px"}).width,u.style.marginRight="50%",n="4px"===(c||{marginRight:"4px"}).marginRight,t=u.appendChild(nt.createElement("div")),t.style.cssText=u.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",u.style.width="1px",s=!parseFloat((e.getComputedStyle(t)||{}).marginRight),u.removeChild(t)),u.style.display="none",o=0===u.getClientRects().length,o&&(u.style.display="",u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",u.childNodes[0].style.borderCollapse="separate",t=u.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",o=0===t[0].offsetHeight,o&&(t[0].style.display="",t[1].style.display="none",o=0===t[0].offsetHeight)),d.removeChild(l)}var i,n,r,o,s,a,l=nt.createElement("div"),u=nt.createElement("div");u.style&&(u.style.cssText="float:left;opacity:.5",dt.opacity="0.5"===u.style.opacity,dt.cssFloat=!!u.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",dt.clearCloneStyle="content-box"===u.style.backgroundClip,l=nt.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.innerHTML="",l.appendChild(u),dt.boxSizing=""===u.style.boxSizing||""===u.style.MozBoxSizing||""===u.style.WebkitBoxSizing,pt.extend(dt,{reliableHiddenOffsets:function(){return null==i&&t(),o},boxSizingReliable:function(){return null==i&&t(),r},pixelMarginRight:function(){return null==i&&t(),n},pixelPosition:function(){return null==i&&t(),i},reliableMarginRight:function(){return null==i&&t(),s},reliableMarginLeft:function(){return null==i&&t(),a}}))}();var fi,gi,mi=/^(top|right|bottom|left)$/;e.getComputedStyle?(fi=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=e),i.getComputedStyle(t)},gi=function(e,t,i){var n,r,o,s,a=e.style;return i=i||fi(e),s=i?i.getPropertyValue(t)||i[t]:void 0,""!==s&&void 0!==s||pt.contains(e.ownerDocument,e)||(s=pt.style(e,t)),i&&!dt.pixelMarginRight()&&di.test(s)&&ci.test(t)&&(n=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=i.width,a.width=n,a.minWidth=r,a.maxWidth=o),void 0===s?s:s+""}):pi.currentStyle&&(fi=function(e){return e.currentStyle},gi=function(e,t,i){var n,r,o,s,a=e.style;return i=i||fi(e),s=i?i[t]:void 0,null==s&&a&&a[t]&&(s=a[t]),di.test(s)&&!mi.test(t)&&(n=a.left,r=e.runtimeStyle,o=r&&r.left,o&&(r.left=e.currentStyle.left),a.left="fontSize"===t?"1em":s,s=a.pixelLeft+"px",a.left=n,o&&(r.left=o)),void 0===s?s:s+""||"auto"});var vi=/alpha\([^)]*\)/i,bi=/opacity\s*=\s*([^)]*)/i,Ai=/^(none|table(?!-c[ea]).+)/,yi=new RegExp("^("+Ot+")(.*)$","i"),xi={position:"absolute",visibility:"hidden",display:"block"},wi={letterSpacing:"0",fontWeight:"400"},_i=["Webkit","O","Moz","ms"],Ei=nt.createElement("div").style;pt.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=gi(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,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":dt.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=pt.camelCase(t),l=e.style;if(t=pt.cssProps[a]||(pt.cssProps[a]=R(a)||a),s=pt.cssHooks[t]||pt.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(r=s.get(e,!1,n))?r:l[t];if(o=typeof i,"string"===o&&(r=Nt.exec(i))&&r[1]&&(i=h(e,t,r),o="number"),null!=i&&i===i&&("number"===o&&(i+=r&&r[3]||(pt.cssNumber[a]?"":"px")),dt.clearCloneStyle||""!==i||0!==t.indexOf("background")||(l[t]="inherit"),!(s&&"set"in s&&void 0===(i=s.set(e,i,n)))))try{l[t]=i}catch(u){}}},css:function(e,t,i,n){var r,o,s,a=pt.camelCase(t);return t=pt.cssProps[a]||(pt.cssProps[a]=R(a)||a),s=pt.cssHooks[t]||pt.cssHooks[a],s&&"get"in s&&(o=s.get(e,!0,i)),void 0===o&&(o=gi(e,t,n)),"normal"===o&&t in wi&&(o=wi[t]),""===i||i?(r=parseFloat(o),i===!0||isFinite(r)?r||0:o):o}}),pt.each(["height","width"],function(e,t){pt.cssHooks[t]={get:function(e,i,n){return i?Ai.test(pt.css(e,"display"))&&0===e.offsetWidth?hi(e,xi,function(){return N(e,t,n)}):N(e,t,n):void 0},set:function(e,i,n){var r=n&&fi(e);return M(e,i,n?O(e,t,n,dt.boxSizing&&"border-box"===pt.css(e,"boxSizing",!1,r),r):0)}}}),dt.opacity||(pt.cssHooks.opacity={get:function(e,t){return bi.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var i=e.style,n=e.currentStyle,r=pt.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=n&&n.filter||i.filter||"";i.zoom=1,(t>=1||""===t)&&""===pt.trim(o.replace(vi,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===t||n&&!n.filter)||(i.filter=vi.test(o)?o.replace(vi,r):o+" "+r)}}),pt.cssHooks.marginRight=P(dt.reliableMarginRight,function(e,t){return t?hi(e,{display:"inline-block"},gi,[e,"marginRight"]):void 0}),pt.cssHooks.marginLeft=P(dt.reliableMarginLeft,function(e,t){return t?(parseFloat(gi(e,"marginLeft"))||(pt.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-hi(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px":void 0}),pt.each({margin:"",padding:"",border:"Width"},function(e,t){pt.cssHooks[e+t]={expand:function(i){for(var n=0,r={},o="string"==typeof i?i.split(" "):[i];4>n;n++)r[e+Dt[n]+t]=o[n]||o[n-2]||o[0];return r}},ci.test(e)||(pt.cssHooks[e+t].set=M)}),pt.fn.extend({css:function(e,t){return Ht(this,function(e,t,i){var n,r,o={},s=0;if(pt.isArray(t)){for(n=fi(e),r=t.length;r>s;s++)o[t[s]]=pt.css(e,t[s],!1,n);return o}return void 0!==i?pt.style(e,t,i):pt.css(e,t)},e,t,arguments.length>1)},show:function(){return I(this,!0)},hide:function(){return I(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Bt(this)?pt(this).show():pt(this).hide()})}}),pt.Tween=D,D.prototype={constructor:D,init:function(e,t,i,n,r,o){this.elem=e,this.prop=i,this.easing=r||pt.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(pt.cssNumber[i]?"":"px")},cur:function(){var e=D.propHooks[this.prop];return e&&e.get?e.get(this):D.propHooks._default.get(this)},run:function(e){var t,i=D.propHooks[this.prop];return this.pos=t=this.options.duration?pt.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):D.propHooks._default.set(this),this}},D.prototype.init.prototype=D.prototype,D.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=pt.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){pt.fx.step[e.prop]?pt.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[pt.cssProps[e.prop]]&&!pt.cssHooks[e.prop]?e.elem[e.prop]=e.now:pt.style(e.elem,e.prop,e.now+e.unit)}}},D.propHooks.scrollTop=D.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},pt.easing={linear:function(e){return e
},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},pt.fx=D.prototype.init,pt.fx.step={};var ki,Ti,Si=/^(?:toggle|show|hide)$/,Ci=/queueHooks$/;pt.Animation=pt.extend(U,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return h(i.elem,e,Nt.exec(t),i),i}]},tweener:function(e,t){pt.isFunction(e)?(t=e,e=["*"]):e=e.match(jt);for(var i,n=0,r=e.length;r>n;n++)i=e[n],U.tweeners[i]=U.tweeners[i]||[],U.tweeners[i].unshift(t)},prefilters:[q],prefilter:function(e,t){t?U.prefilters.unshift(e):U.prefilters.push(e)}}),pt.speed=function(e,t,i){var n=e&&"object"==typeof e?pt.extend({},e):{complete:i||!i&&t||pt.isFunction(e)&&e,duration:e,easing:i&&t||t&&!pt.isFunction(t)&&t};return n.duration=pt.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in pt.fx.speeds?pt.fx.speeds[n.duration]:pt.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){pt.isFunction(n.old)&&n.old.call(this),n.queue&&pt.dequeue(this,n.queue)},n},pt.fn.extend({fadeTo:function(e,t,i,n){return this.filter(Bt).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var r=pt.isEmptyObject(e),o=pt.speed(t,i,n),s=function(){var t=U(this,pt.extend({},e),o);(r||pt._data(this,"finish"))&&t.stop(!0)};return s.finish=s,r||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=pt.timers,s=pt._data(this);if(r)s[r]&&s[r].stop&&n(s[r]);else for(r in s)s[r]&&s[r].stop&&Ci.test(r)&&n(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(i),t=!1,o.splice(r,1));(t||!i)&&pt.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,i=pt._data(this),n=i[e+"queue"],r=i[e+"queueHooks"],o=pt.timers,s=n?n.length:0;for(i.finish=!0,pt.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;s>t;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish})}}),pt.each(["toggle","show","hide"],function(e,t){var i=pt.fn[t];pt.fn[t]=function(e,n,r){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(H(t,!0),e,n,r)}}),pt.each({slideDown:H("show"),slideUp:H("hide"),slideToggle:H("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){pt.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}}),pt.timers=[],pt.fx.tick=function(){var e,t=pt.timers,i=0;for(ki=pt.now();i<t.length;i++)e=t[i],e()||t[i]!==e||t.splice(i--,1);t.length||pt.fx.stop(),ki=void 0},pt.fx.timer=function(e){pt.timers.push(e),e()?pt.fx.start():pt.timers.pop()},pt.fx.interval=13,pt.fx.start=function(){Ti||(Ti=e.setInterval(pt.fx.tick,pt.fx.interval))},pt.fx.stop=function(){e.clearInterval(Ti),Ti=null},pt.fx.speeds={slow:600,fast:200,_default:400},pt.fn.delay=function(t,i){return t=pt.fx?pt.fx.speeds[t]||t:t,i=i||"fx",this.queue(i,function(i,n){var r=e.setTimeout(i,t);n.stop=function(){e.clearTimeout(r)}})},function(){var e,t=nt.createElement("input"),i=nt.createElement("div"),n=nt.createElement("select"),r=n.appendChild(nt.createElement("option"));i=nt.createElement("div"),i.setAttribute("className","t"),i.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=i.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),i.appendChild(t),e=i.getElementsByTagName("a")[0],e.style.cssText="top:1px",dt.getSetAttribute="t"!==i.className,dt.style=/top/.test(e.getAttribute("style")),dt.hrefNormalized="/a"===e.getAttribute("href"),dt.checkOn=!!t.value,dt.optSelected=r.selected,dt.enctype=!!nt.createElement("form").enctype,n.disabled=!0,dt.optDisabled=!r.disabled,t=nt.createElement("input"),t.setAttribute("value",""),dt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),dt.radioValue="t"===t.value}();var ji=/\r/g,Li=/[\x20\t\r\n\f]+/g;pt.fn.extend({val:function(e){var t,i,n,r=this[0];{if(arguments.length)return n=pt.isFunction(e),this.each(function(i){var r;1===this.nodeType&&(r=n?e.call(this,i,pt(this).val()):e,null==r?r="":"number"==typeof r?r+="":pt.isArray(r)&&(r=pt.map(r,function(e){return null==e?"":e+""})),t=pt.valHooks[this.type]||pt.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return t=pt.valHooks[r.type]||pt.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(i=t.get(r,"value"))?i:(i=r.value,"string"==typeof i?i.replace(ji,""):null==i?"":i)}}}),pt.extend({valHooks:{option:{get:function(e){var t=pt.find.attr(e,"value");return null!=t?t:pt.trim(pt.text(e)).replace(Li," ")}},select:{get:function(e){for(var t,i,n=e.options,r=e.selectedIndex,o="select-one"===e.type||0>r,s=o?null:[],a=o?r+1:n.length,l=0>r?a:o?r:0;a>l;l++)if(i=n[l],!(!i.selected&&l!==r||(dt.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&pt.nodeName(i.parentNode,"optgroup"))){if(t=pt(i).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var i,n,r=e.options,o=pt.makeArray(t),s=r.length;s--;)if(n=r[s],pt.inArray(pt.valHooks.option.get(n),o)>-1)try{n.selected=i=!0}catch(a){n.scrollHeight}else n.selected=!1;return i||(e.selectedIndex=-1),r}}}}),pt.each(["radio","checkbox"],function(){pt.valHooks[this]={set:function(e,t){return pt.isArray(t)?e.checked=pt.inArray(pt(e).val(),t)>-1:void 0}},dt.checkOn||(pt.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Pi,Ri,Ii=pt.expr.attrHandle,Mi=/^(?:checked|selected)$/i,Oi=dt.getSetAttribute,Ni=dt.input;pt.fn.extend({attr:function(e,t){return Ht(this,pt.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){pt.removeAttr(this,e)})}}),pt.extend({attr:function(e,t,i){var n,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?pt.prop(e,t,i):(1===o&&pt.isXMLDoc(e)||(t=t.toLowerCase(),r=pt.attrHooks[t]||(pt.expr.match.bool.test(t)?Ri:Pi)),void 0!==i?null===i?void pt.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:(e.setAttribute(t,i+""),i):r&&"get"in r&&null!==(n=r.get(e,t))?n:(n=pt.find.attr(e,t),null==n?void 0:n))},attrHooks:{type:{set:function(e,t){if(!dt.radioValue&&"radio"===t&&pt.nodeName(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n,r=0,o=t&&t.match(jt);if(o&&1===e.nodeType)for(;i=o[r++];)n=pt.propFix[i]||i,pt.expr.match.bool.test(i)?Ni&&Oi||!Mi.test(i)?e[n]=!1:e[pt.camelCase("default-"+i)]=e[n]=!1:pt.attr(e,i,""),e.removeAttribute(Oi?i:n)}}),Ri={set:function(e,t,i){return t===!1?pt.removeAttr(e,i):Ni&&Oi||!Mi.test(i)?e.setAttribute(!Oi&&pt.propFix[i]||i,i):e[pt.camelCase("default-"+i)]=e[i]=!0,i}},pt.each(pt.expr.match.bool.source.match(/\w+/g),function(e,t){var i=Ii[t]||pt.find.attr;Ii[t]=Ni&&Oi||!Mi.test(t)?function(e,t,n){var r,o;return n||(o=Ii[t],Ii[t]=r,r=null!=i(e,t,n)?t.toLowerCase():null,Ii[t]=o),r}:function(e,t,i){return i?void 0:e[pt.camelCase("default-"+t)]?t.toLowerCase():null}}),Ni&&Oi||(pt.attrHooks.value={set:function(e,t,i){return pt.nodeName(e,"input")?void(e.defaultValue=t):Pi&&Pi.set(e,t,i)}}),Oi||(Pi={set:function(e,t,i){var n=e.getAttributeNode(i);return n||e.setAttributeNode(n=e.ownerDocument.createAttribute(i)),n.value=t+="","value"===i||t===e.getAttribute(i)?t:void 0}},Ii.id=Ii.name=Ii.coords=function(e,t,i){var n;return i?void 0:(n=e.getAttributeNode(t))&&""!==n.value?n.value:null},pt.valHooks.button={get:function(e,t){var i=e.getAttributeNode(t);return i&&i.specified?i.value:void 0},set:Pi.set},pt.attrHooks.contenteditable={set:function(e,t,i){Pi.set(e,""===t?!1:t,i)}},pt.each(["width","height"],function(e,t){pt.attrHooks[t]={set:function(e,i){return""===i?(e.setAttribute(t,"auto"),i):void 0}}})),dt.style||(pt.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Di=/^(?:input|select|textarea|button|object)$/i,Bi=/^(?:a|area)$/i;pt.fn.extend({prop:function(e,t){return Ht(this,pt.prop,e,t,arguments.length>1)},removeProp:function(e){return e=pt.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),pt.extend({prop:function(e,t,i){var n,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&pt.isXMLDoc(e)||(t=pt.propFix[t]||t,r=pt.propHooks[t]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:e[t]=i:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=pt.find.attr(e,"tabindex");return t?parseInt(t,10):Di.test(e.nodeName)||Bi.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),dt.hrefNormalized||pt.each(["href","src"],function(e,t){pt.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),dt.optSelected||(pt.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pt.propFix[this.toLowerCase()]=this}),dt.enctype||(pt.propFix.enctype="encoding");var Hi=/[\t\r\n\f]/g;pt.fn.extend({addClass:function(e){var t,i,n,r,o,s,a,l=0;if(pt.isFunction(e))return this.each(function(t){pt(this).addClass(e.call(this,t,W(this)))});if("string"==typeof e&&e)for(t=e.match(jt)||[];i=this[l++];)if(r=W(i),n=1===i.nodeType&&(" "+r+" ").replace(Hi," ")){for(s=0;o=t[s++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=pt.trim(n),r!==a&&pt.attr(i,"class",a)}return this},removeClass:function(e){var t,i,n,r,o,s,a,l=0;if(pt.isFunction(e))return this.each(function(t){pt(this).removeClass(e.call(this,t,W(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(jt)||[];i=this[l++];)if(r=W(i),n=1===i.nodeType&&(" "+r+" ").replace(Hi," ")){for(s=0;o=t[s++];)for(;n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=pt.trim(n),r!==a&&pt.attr(i,"class",a)}return this},toggleClass:function(e,t){var i=typeof e;return"boolean"==typeof t&&"string"===i?t?this.addClass(e):this.removeClass(e):this.each(pt.isFunction(e)?function(i){pt(this).toggleClass(e.call(this,i,W(this),t),t)}:function(){var t,n,r,o;if("string"===i)for(n=0,r=pt(this),o=e.match(jt)||[];t=o[n++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else(void 0===e||"boolean"===i)&&(t=W(this),t&&pt._data(this,"__className__",t),pt.attr(this,"class",t||e===!1?"":pt._data(this,"__className__")||""))})},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&(" "+W(i)+" ").replace(Hi," ").indexOf(t)>-1)return!0;return!1}}),pt.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(e,t){pt.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}),pt.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Fi=e.location,qi=pt.now(),zi=/\?/,Ui=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;pt.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var i,n=null,r=pt.trim(t+"");return r&&!pt.trim(r.replace(Ui,function(e,t,r,o){return i&&t&&(n=0),0===n?e:(i=r||t,n+=!o-!r,"")}))?Function("return "+r)():pt.error("Invalid JSON: "+t)},pt.parseXML=function(t){var i,n;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(n=new e.DOMParser,i=n.parseFromString(t,"text/xml")):(i=new e.ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(t))}catch(r){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||pt.error("Invalid XML: "+t),i};var Wi=/#.*$/,Xi=/([?&])_=[^&]*/,Vi=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ji=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gi=/^(?:GET|HEAD)$/,Zi=/^\/\//,Yi=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Qi={},Ki={},$i="*/".concat("*"),en=Fi.href,tn=Yi.exec(en.toLowerCase())||[];pt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:en,type:"GET",isLocal:Ji.test(tn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$i,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":pt.parseJSON,"text xml":pt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?J(J(e,pt.ajaxSettings),t):J(pt.ajaxSettings,e)},ajaxPrefilter:X(Qi),ajaxTransport:X(Ki),ajax:function(t,i){function n(t,i,n,r){var o,d,b,A,x,_=i;2!==y&&(y=2,l&&e.clearTimeout(l),c=void 0,a=r||"",w.readyState=t>0?4:0,o=t>=200&&300>t||304===t,n&&(A=G(h,w,n)),A=Z(h,A,w,o),o?(h.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(pt.lastModified[s]=x),x=w.getResponseHeader("etag"),x&&(pt.etag[s]=x)),204===t||"HEAD"===h.type?_="nocontent":304===t?_="notmodified":(_=A.state,d=A.data,b=A.error,o=!b)):(b=_,(t||!_)&&(_="error",0>t&&(t=0))),w.status=t,w.statusText=(i||_)+"",o?g.resolveWith(p,[d,_,w]):g.rejectWith(p,[w,_,b]),w.statusCode(v),v=void 0,u&&f.trigger(o?"ajaxSuccess":"ajaxError",[w,h,o?d:b]),m.fireWith(p,[w,_]),u&&(f.trigger("ajaxComplete",[w,h]),--pt.active||pt.event.trigger("ajaxStop")))}"object"==typeof t&&(i=t,t=void 0),i=i||{};var r,o,s,a,l,u,c,d,h=pt.ajaxSetup({},i),p=h.context||h,f=h.context&&(p.nodeType||p.jquery)?pt(p):pt.event,g=pt.Deferred(),m=pt.Callbacks("once memory"),v=h.statusCode||{},b={},A={},y=0,x="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!d)for(d={};t=Vi.exec(a);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?a:null},setRequestHeader:function(e,t){var i=e.toLowerCase();return y||(e=A[i]=A[i]||e,b[e]=t),this},overrideMimeType:function(e){return y||(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>y)for(t in e)v[t]=[v[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||x;return c&&c.abort(t),n(0,t),this}};if(g.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||en)+"").replace(Wi,"").replace(Zi,tn[1]+"//"),h.type=i.method||i.type||h.method||h.type,h.dataTypes=pt.trim(h.dataType||"*").toLowerCase().match(jt)||[""],null==h.crossDomain&&(r=Yi.exec(h.url.toLowerCase()),h.crossDomain=!(!r||r[1]===tn[1]&&r[2]===tn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(tn[3]||("http:"===tn[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=pt.param(h.data,h.traditional)),V(Qi,h,i,w),2===y)return w;u=pt.event&&h.global,u&&0===pt.active++&&pt.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Gi.test(h.type),s=h.url,h.hasContent||(h.data&&(s=h.url+=(zi.test(s)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=Xi.test(s)?s.replace(Xi,"$1_="+qi++):s+(zi.test(s)?"&":"?")+"_="+qi++)),h.ifModified&&(pt.lastModified[s]&&w.setRequestHeader("If-Modified-Since",pt.lastModified[s]),pt.etag[s]&&w.setRequestHeader("If-None-Match",pt.etag[s])),(h.data&&h.hasContent&&h.contentType!==!1||i.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$i+"; q=0.01":""):h.accepts["*"]);for(o in h.headers)w.setRequestHeader(o,h.headers[o]);if(h.beforeSend&&(h.beforeSend.call(p,w,h)===!1||2===y))return w.abort();x="abort";for(o in{success:1,error:1,complete:1})w[o](h[o]);if(c=V(Ki,h,i,w)){if(w.readyState=1,u&&f.trigger("ajaxSend",[w,h]),2===y)return w;h.async&&h.timeout>0&&(l=e.setTimeout(function(){w.abort("timeout")},h.timeout));try{y=1,c.send(b,n)}catch(_){if(!(2>y))throw _;n(-1,_)}}else n(-1,"No Transport");return w},getJSON:function(e,t,i){return pt.get(e,t,i,"json")},getScript:function(e,t){return pt.get(e,void 0,t,"script")}}),pt.each(["get","post"],function(e,t){pt[t]=function(e,i,n,r){return pt.isFunction(i)&&(r=r||n,n=i,i=void 0),pt.ajax(pt.extend({url:e,type:t,dataType:r,data:i,success:n},pt.isPlainObject(e)&&e))}}),pt._evalUrl=function(e){return pt.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},pt.fn.extend({wrapAll:function(e){if(pt.isFunction(e))return this.each(function(t){pt(this).wrapAll(e.call(this,t))});if(this[0]){var t=pt(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return this.each(pt.isFunction(e)?function(t){pt(this).wrapInner(e.call(this,t))}:function(){var t=pt(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=pt.isFunction(e);return this.each(function(i){pt(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(){return this.parent().each(function(){pt.nodeName(this,"body")||pt(this).replaceWith(this.childNodes)}).end()}}),pt.expr.filters.hidden=function(e){return dt.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:Q(e)},pt.expr.filters.visible=function(e){return!pt.expr.filters.hidden(e)};var nn=/%20/g,rn=/\[\]$/,on=/\r?\n/g,sn=/^(?:submit|button|image|reset|file)$/i,an=/^(?:input|select|textarea|keygen)/i;pt.param=function(e,t){var i,n=[],r=function(e,t){t=pt.isFunction(t)?t():null==t?"":t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=pt.ajaxSettings&&pt.ajaxSettings.traditional),pt.isArray(e)||e.jquery&&!pt.isPlainObject(e))pt.each(e,function(){r(this.name,this.value)});else for(i in e)K(i,e[i],t,r);return n.join("&").replace(nn,"+")},pt.fn.extend({serialize:function(){return pt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pt.prop(this,"elements");return e?pt.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pt(this).is(":disabled")&&an.test(this.nodeName)&&!sn.test(e)&&(this.checked||!Ft.test(e))}).map(function(e,t){var i=pt(this).val();return null==i?null:pt.isArray(i)?pt.map(i,function(e){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:i.replace(on,"\r\n")}}).get()}}),pt.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?et():nt.documentMode>8?$():/^(get|post|head|put|delete|options)$/i.test(this.type)&&$()||et()}:$;var ln=0,un={},cn=pt.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in un)un[e](void 0,!0)}),dt.cors=!!cn&&"withCredentials"in cn,cn=dt.ajax=!!cn,cn&&pt.ajaxTransport(function(t){if(!t.crossDomain||dt.cors){var i;return{send:function(n,r){var o,s=t.xhr(),a=++ln;if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(o in n)void 0!==n[o]&&s.setRequestHeader(o,n[o]+"");s.send(t.hasContent&&t.data||null),i=function(e,n){var o,l,u;if(i&&(n||4===s.readyState))if(delete un[a],i=void 0,s.onreadystatechange=pt.noop,n)4!==s.readyState&&s.abort();else{u={},o=s.status,"string"==typeof s.responseText&&(u.text=s.responseText);try{l=s.statusText}catch(c){l=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=u.text?200:404}u&&r(o,l,u,s.getAllResponseHeaders())},t.async?4===s.readyState?e.setTimeout(i):s.onreadystatechange=un[a]=i:i()},abort:function(){i&&i(void 0,!0)}}}}),pt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return pt.globalEval(e),e}}}),pt.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),pt.ajaxTransport("script",function(e){if(e.crossDomain){var t,i=nt.head||pt("head")[0]||nt.documentElement;return{send:function(n,r){t=nt.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,i){(i||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,i||r(200,"success"))},i.insertBefore(t,i.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var dn=[],hn=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=dn.pop()||pt.expando+"_"+qi++;return this[e]=!0,e}}),pt.ajaxPrefilter("json jsonp",function(t,i,n){var r,o,s,a=t.jsonp!==!1&&(hn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&hn.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(r=t.jsonpCallback=pt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(hn,"$1"+r):t.jsonp!==!1&&(t.url+=(zi.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||pt.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){s=arguments},n.always(function(){void 0===o?pt(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=i.jsonpCallback,dn.push(r)),s&&pt.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),pt.parseHTML=function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||nt;var n=wt.exec(e),r=!i&&[];return n?[t.createElement(n[1])]:(n=v([e],t,r),r&&r.length&&pt(r).remove(),pt.merge([],n.childNodes))};var pn=pt.fn.load;pt.fn.load=function(e,t,i){if("string"!=typeof e&&pn)return pn.apply(this,arguments);var n,r,o,s=this,a=e.indexOf(" ");return a>-1&&(n=pt.trim(e.slice(a,e.length)),e=e.slice(0,a)),pt.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&pt.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(n?pt("<div>").append(pt.parseHTML(e)).find(n):e)}).always(i&&function(e,t){s.each(function(){i.apply(this,o||[e.responseText,t,e])})}),this},pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pt.fn[t]=function(e){return this.on(t,e)}}),pt.expr.filters.animated=function(e){return pt.grep(pt.timers,function(t){return e===t.elem}).length},pt.offset={setOffset:function(e,t,i){var n,r,o,s,a,l,u,c=pt.css(e,"position"),d=pt(e),h={};"static"===c&&(e.style.position="relative"),a=d.offset(),o=pt.css(e,"top"),l=pt.css(e,"left"),u=("absolute"===c||"fixed"===c)&&pt.inArray("auto",[o,l])>-1,u?(n=d.position(),s=n.top,r=n.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),pt.isFunction(t)&&(t=t.call(e,i,pt.extend({},a))),null!=t.top&&(h.top=t.top-a.top+s),null!=t.left&&(h.left=t.left-a.left+r),"using"in t?t.using.call(e,h):d.css(h)}},pt.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){pt.offset.setOffset(this,e,t)});var t,i,n={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(o)return t=o.documentElement,pt.contains(t,r)?("undefined"!=typeof r.getBoundingClientRect&&(n=r.getBoundingClientRect()),i=tt(o),{top:n.top+(i.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(i.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n},position:function(){if(this[0]){var e,t,i={top:0,left:0},n=this[0];return"fixed"===pt.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),pt.nodeName(e[0],"html")||(i=e.offset()),i.top+=pt.css(e[0],"borderTopWidth",!0),i.left+=pt.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-pt.css(n,"marginTop",!0),left:t.left-i.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!pt.nodeName(e,"html")&&"static"===pt.css(e,"position");)e=e.offsetParent;return e||pi})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i=/Y/.test(t);pt.fn[e]=function(n){return Ht(this,function(e,n,r){var o=tt(e);return void 0===r?o?t in o?o[t]:o.document.documentElement[n]:e[n]:void(o?o.scrollTo(i?pt(o).scrollLeft():r,i?r:pt(o).scrollTop()):e[n]=r)},e,n,arguments.length,null)}}),pt.each(["top","left"],function(e,t){pt.cssHooks[t]=P(dt.pixelPosition,function(e,i){return i?(i=gi(e,t),di.test(i)?pt(e).position()[t]+"px":i):void 0})}),pt.each({Height:"height",Width:"width"},function(e,t){pt.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,n){pt.fn[n]=function(n,r){var o=arguments.length&&(i||"boolean"!=typeof n),s=i||(n===!0||r===!0?"margin":"border");return Ht(this,function(t,i,n){var r;return pt.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===n?pt.css(t,i,s):pt.style(t,i,n,s)},t,o?n:void 0,o,null)}})}),pt.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}}),pt.fn.size=function(){return this.length},pt.fn.andSelf=pt.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return pt});var fn=e.jQuery,gn=e.$;return pt.noConflict=function(t){return e.$===pt&&(e.$=gn),t&&e.jQuery===pt&&(e.jQuery=fn),pt},t||(e.jQuery=e.$=pt),pt}),define("jquery",function(){}),function(e,t,i){"function"==typeof define&&define.amd?define("lib/jquery.mobile.custom.min",["jquery"],function(n){return i(n,e,t),n.mobile}):i(e.jQuery,e,t)}(this,document,function(e,t,i,n){!function(e,t,i,n){function r(e){for(;e&&"undefined"!=typeof e.originalEvent;)e=e.originalEvent;return e}function o(t,i){var o=t.type,s,a,l,u,c,d,h,p,f;if(t=e.Event(t),t.type=i,s=t.originalEvent,a=e.event.props,o.search(/^(mouse|click)/)>-1&&(a=C),s)for(h=a.length,u;h;)u=a[--h],t[u]=s[u];if(o.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1),-1!==o.search(/^touch/)&&(l=r(s),o=l.touches,c=l.changedTouches,d=o&&o.length?o[0]:c&&c.length?c[0]:n,d))for(p=0,f=T.length;f>p;p++)u=T[p],t[u]=d[u];return t}function s(t){for(var i={},n,r;t;){n=e.data(t,_);for(r in n)n[r]&&(i[r]=i.hasVirtualBinding=!0);t=t.parentNode}return i}function a(t,i){for(var n;t;){if(n=e.data(t,_),n&&(!i||n[i]))return t;t=t.parentNode}return null}function l(){N=!1}function u(){N=!0}function c(){F=0,M.length=0,O=!1,u()}function d(){l()}function h(){p(),L=setTimeout(function(){L=0,c()},e.vmouse.resetTimerDuration)}function p(){L&&(clearTimeout(L),L=0)}function f(t,i,n){var r;return(n&&n[t]||!n&&a(i.target,t))&&(r=o(i,t),e(i.target).trigger(r)),r}function g(t){var i=e.data(t.target,E),n;!O&&(!F||F!==i)&&(n=f("v"+t.type,t),n&&(n.isDefaultPrevented()&&t.preventDefault(),n.isPropagationStopped()&&t.stopPropagation(),n.isImmediatePropagationStopped()&&t.stopImmediatePropagation()))}function m(t){var i=r(t).touches,n,o,a;i&&1===i.length&&(n=t.target,o=s(n),o.hasVirtualBinding&&(F=H++,e.data(n,E,F),p(),d(),I=!1,a=r(t).touches[0],P=a.pageX,R=a.pageY,f("vmouseover",t,o),f("vmousedown",t,o)))}function v(e){N||(I||f("vmousecancel",e,s(e.target)),I=!0,h())}function b(t){if(!N){var i=r(t).touches[0],n=I,o=e.vmouse.moveDistanceThreshold,a=s(t.target);I=I||Math.abs(i.pageX-P)>o||Math.abs(i.pageY-R)>o,I&&!n&&f("vmousecancel",t,a),f("vmousemove",t,a),h()}}function A(e){if(!N){u();var t=s(e.target),i,n;f("vmouseup",e,t),I||(i=f("vclick",e,t),i&&i.isDefaultPrevented()&&(n=r(e).changedTouches[0],M.push({touchID:F,x:n.clientX,y:n.clientY}),O=!0)),f("vmouseout",e,t),I=!1,h()}}function y(t){var i=e.data(t,_),n;if(i)for(n in i)if(i[n])return!0;return!1}function x(){}function w(t){var i=t.substr(1);return{setup:function(){y(this)||e.data(this,_,{});var n=e.data(this,_);n[t]=!0,j[t]=(j[t]||0)+1,1===j[t]&&B.bind(i,g),e(this).bind(i,x),D&&(j.touchstart=(j.touchstart||0)+1,1===j.touchstart&&B.bind("touchstart",m).bind("touchend",A).bind("touchmove",b).bind("scroll",v))},teardown:function(){--j[t],j[t]||B.unbind(i,g),D&&(--j.touchstart,j.touchstart||B.unbind("touchstart",m).unbind("touchmove",b).unbind("touchend",A).unbind("scroll",v));var n=e(this),r=e.data(this,_);r&&(r[t]=!1),n.unbind(i,x),y(this)||n.removeData(_)}}}var _="virtualMouseBindings",E="virtualTouchID",k="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),T="clientX clientY pageX pageY screenX screenY".split(" "),S=e.event.mouseHooks?e.event.mouseHooks.props:[],C=e.event.props.concat(S),j={},L=0,P=0,R=0,I=!1,M=[],O=!1,N=!1,D="addEventListener"in i,B=e(i),H=1,F=0,q,z;for(e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},z=0;z<k.length;z++)e.event.special[k[z]]=w(k[z]);D&&i.addEventListener("click",function(t){var i=M.length,n=t.target,r,o,s,a,l,u;if(i)for(r=t.clientX,o=t.clientY,q=e.vmouse.clickDistanceThreshold,s=n;s;){for(a=0;i>a;a++)if(l=M[a],u=0,s===n&&Math.abs(l.x-r)<q&&Math.abs(l.y-o)<q||e.data(s,E)===l.touchID)return t.preventDefault(),void t.stopPropagation();s=s.parentNode}},!0)}(e,t,i)}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("lib/mustache.min",t):(e=e||self,e.Mustache=t())}(this,function(){function e(e){return"function"==typeof e}function t(e){return g(e)?"array":typeof e}function i(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function n(e,t){return null!=e&&"object"==typeof e&&t in e}function r(e,t){return null!=e&&"object"!=typeof e&&e.hasOwnProperty&&e.hasOwnProperty(t)}function o(e,t){return m.call(e,t)}function s(e){return!o(v,e)}function a(e){return String(e).replace(/[&<>"'`=\/]/g,function t(e){return b[e]})}function l(e,t){function n(){if(p&&!f)for(;h.length;)delete l[h.pop()];else h=[];p=!1,f=!1}function r(e){if("string"==typeof e&&(e=e.split(y,2)),!g(e)||2!==e.length)throw new Error("Invalid tags: "+e);b=new RegExp(i(e[0])+"\\s*"),k=new RegExp("\\s*"+i(e[1])),T=new RegExp("\\s*"+i("}"+e[1]))}if(!e)return[];var o=!1,a=[],l=[],h=[],p=!1,f=!1,m="",v=0,b,k,T;r(t||E.tags);for(var S=new d(e),C,j,L,P,R,I;!S.eos();){if(C=S.pos,L=S.scanUntil(b))for(var M=0,O=L.length;O>M;++M)P=L.charAt(M),s(P)?(h.push(l.length),m+=P):(f=!0,o=!0,m+=" "),l.push(["text",P,C,C+1]),C+=1,"\n"===P&&(n(),m="",v=0,o=!1);if(!S.scan(b))break;if(p=!0,j=S.scan(_)||"name",S.scan(A),"="===j?(L=S.scanUntil(x),S.scan(x),S.scanUntil(k)):"{"===j?(L=S.scanUntil(T),S.scan(w),S.scanUntil(k),j="&"):L=S.scanUntil(k),!S.scan(k))throw new Error("Unclosed tag at "+S.pos);if(R=">"==j?[j,L,C,S.pos,m,v,o]:[j,L,C,S.pos],v++,l.push(R),"#"===j||"^"===j)a.push(R);else if("/"===j){if(I=a.pop(),!I)throw new Error('Unopened section "'+L+'" at '+C);if(I[1]!==L)throw new Error('Unclosed section "'+I[1]+'" at '+C)}else"name"===j||"{"===j||"&"===j?f=!0:"="===j&&r(L)}if(n(),I=a.pop())throw new Error('Unclosed section "'+I[1]+'" at '+S.pos);return c(u(l))}function u(e){for(var t=[],i,n,r=0,o=e.length;o>r;++r)i=e[r],i&&("text"===i[0]&&n&&"text"===n[0]?(n[1]+=i[1],n[3]=i[3]):(t.push(i),n=i));return t}function c(e){for(var t=[],i=t,n=[],r,o,s=0,a=e.length;a>s;++s)switch(r=e[s],r[0]){case"#":case"^":i.push(r),n.push(r),i=r[4]=[];break;case"/":o=n.pop(),o[5]=r[2],i=n.length>0?n[n.length-1][4]:t;break;default:i.push(r)}return t}function d(e){this.string=e,this.tail=e,this.pos=0}function h(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function p(){this.templateCache={_cache:{},set:function e(t,i){this._cache[t]=i},get:function t(e){return this._cache[e]},clear:function i(){this._cache={}}}}var f=Object.prototype.toString,g=Array.isArray||function T(e){return"[object Array]"===f.call(e)},m=RegExp.prototype.test,v=/\S/,b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},A=/\s*/,y=/\s+/,x=/\s*=/,w=/\s*\}/,_=/#|\^|\/|>|\{|&|=|!/;
d.prototype.eos=function S(){return""===this.tail},d.prototype.scan=function C(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var i=t[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i},d.prototype.scanUntil=function j(e){var t=this.tail.search(e),i;switch(t){case-1:i=this.tail,this.tail="";break;case 0:i="";break;default:i=this.tail.substring(0,t),this.tail=this.tail.substring(t)}return this.pos+=i.length,i},h.prototype.push=function L(e){return new h(e,this)},h.prototype.lookup=function P(t){var i=this.cache,o;if(i.hasOwnProperty(t))o=i[t];else{for(var s=this,a,l,u,c=!1;s;){if(t.indexOf(".")>0)for(a=s.view,l=t.split("."),u=0;null!=a&&u<l.length;)u===l.length-1&&(c=n(a,l[u])||r(a,l[u])),a=a[l[u++]];else a=s.view[t],c=n(s.view,t);if(c){o=a;break}s=s.parent}i[t]=o}return e(o)&&(o=o.call(this.view)),o},p.prototype.clearCache=function R(){"undefined"!=typeof this.templateCache&&this.templateCache.clear()},p.prototype.parse=function I(e,t){var i=this.templateCache,n=e+":"+(t||E.tags).join(":"),r="undefined"!=typeof i,o=r?i.get(n):void 0;return void 0==o&&(o=l(e,t),r&&i.set(n,o)),o},p.prototype.render=function M(e,t,i,n){var r=this.parse(e,n),o=t instanceof h?t:new h(t,void 0);return this.renderTokens(r,o,i,e,n)},p.prototype.renderTokens=function O(e,t,i,n,r){for(var o="",s,a,l,u=0,c=e.length;c>u;++u)l=void 0,s=e[u],a=s[0],"#"===a?l=this.renderSection(s,t,i,n):"^"===a?l=this.renderInverted(s,t,i,n):">"===a?l=this.renderPartial(s,t,i,r):"&"===a?l=this.unescapedValue(s,t):"name"===a?l=this.escapedValue(s,t):"text"===a&&(l=this.rawValue(s)),void 0!==l&&(o+=l);return o},p.prototype.renderSection=function N(t,i,n,r){function o(e){return s.render(e,i,n)}var s=this,a="",l=i.lookup(t[1]);if(l){if(g(l))for(var u=0,c=l.length;c>u;++u)a+=this.renderTokens(t[4],i.push(l[u]),n,r);else if("object"==typeof l||"string"==typeof l||"number"==typeof l)a+=this.renderTokens(t[4],i.push(l),n,r);else if(e(l)){if("string"!=typeof r)throw new Error("Cannot use higher-order sections without the original template");l=l.call(i.view,r.slice(t[3],t[5]),o),null!=l&&(a+=l)}else a+=this.renderTokens(t[4],i,n,r);return a}},p.prototype.renderInverted=function D(e,t,i,n){var r=t.lookup(e[1]);return!r||g(r)&&0===r.length?this.renderTokens(e[4],t,i,n):void 0},p.prototype.indentPartial=function B(e,t,i){for(var n=t.replace(/[^ \t]/g,""),r=e.split("\n"),o=0;o<r.length;o++)r[o].length&&(o>0||!i)&&(r[o]=n+r[o]);return r.join("\n")},p.prototype.renderPartial=function H(t,i,n,r){if(n){var o=e(n)?n(t[1]):n[t[1]];if(null!=o){var s=t[6],a=t[5],l=t[4],u=o;return 0==a&&l&&(u=this.indentPartial(o,l,s)),this.renderTokens(this.parse(u,r),i,n,u,r)}}},p.prototype.unescapedValue=function F(e,t){var i=t.lookup(e[1]);return null!=i?i:void 0},p.prototype.escapedValue=function q(e,t){var i=t.lookup(e[1]);return null!=i?"number"==typeof i?String(i):E.escape(i):void 0},p.prototype.rawValue=function z(e){return e[1]};var E={name:"mustache.js",version:"4.0.1",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){k.templateCache=e},get templateCache(){return k.templateCache}},k=new p;return E.clearCache=function U(){return k.clearCache()},E.parse=function W(e,t){return k.parse(e,t)},E.render=function X(e,i,n,r){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+t(e)+'" was given as the first argument for mustache#render(template, view, partials)');return k.render(e,i,n,r)},E.escape=a,E.Scanner=d,E.Context=h,E.Writer=p,E}),function(e){"function"==typeof define&&define.amd?define("jqueryui/core",["jquery"],e):e(jQuery)}(function(e){function t(t,n){var r,o,s,a=t.nodeName.toLowerCase();return"area"===a?(r=t.parentNode,o=r.name,t.href&&o&&"map"===r.nodeName.toLowerCase()?(s=e("img[usemap='#"+o+"']")[0],!!s&&i(s)):!1):(/input|select|textarea|button|object/.test(a)?!t.disabled:"a"===a?t.href||n:n)&&i(t)}function i(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}e.ui=e.ui||{},e.extend(e.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({scrollParent:function(t){var i=this.css("position"),n="absolute"===i,r=t?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var t=e(this);return n&&"static"===t.css("position")?!1:r.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:e(this[0].ownerDocument||document)},uniqueId:function(){var e=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,n){return!!e.data(t,n[3])},focusable:function(i){return t(i,!isNaN(e.attr(i,"tabindex")))},tabbable:function(i){var n=e.attr(i,"tabindex"),r=isNaN(n);return(r||n>=0)&&t(i,!r)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(t,i){function n(t,i,n,o){return e.each(r,function(){i-=parseFloat(e.css(t,"padding"+this))||0,n&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),o&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var r="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),s={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+i]=function(t){return void 0===t?s["inner"+i].call(this):this.each(function(){e(this).css(o,n(this,t)+"px")})},e.fn["outer"+i]=function(t,r){return"number"!=typeof t?s["outer"+i].call(this,t):this.each(function(){e(this).css(o,n(this,t,!0,r)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:function(t){return function(i,n){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),n&&n.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableSelection",function(e){e.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(void 0!==t)return this.css("zIndex",t);if(this.length)for(var i=e(this[0]),n,r;i.length&&i[0]!==document;){if(n=i.css("position"),("absolute"===n||"relative"===n||"fixed"===n)&&(r=parseInt(i.css("zIndex"),10),!isNaN(r)&&0!==r))return r;i=i.parent()}return 0}}),e.ui.plugin={add:function(t,i,n){var r,o=e.ui[t].prototype;for(r in n)o.plugins[r]=o.plugins[r]||[],o.plugins[r].push([i,n[r]])},call:function(e,t,i,n){var r,o=e.plugins[t];if(o&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(r=0;r<o.length;r++)e.options[o[r][0]]&&o[r][1].apply(e.element,i)}}}),function(e){"function"==typeof define&&define.amd?define("jqueryui/widget",["jquery"],e):e(jQuery)}(function(e){var t=0,i=Array.prototype.slice;return e.cleanData=function(t){return function(i){var n,r,o;for(o=0;null!=(r=i[o]);o++)try{n=e._data(r,"events"),n&&n.remove&&e(r).triggerHandler("remove")}catch(s){}t(i)}}(e.cleanData),e.widget=function(t,i,n){var r,o,s,a,l={},u=t.split(".")[0];return t=t.split(".")[1],r=u+"-"+t,n||(n=i,i=e.Widget),e.expr[":"][r.toLowerCase()]=function(t){return!!e.data(t,r)},e[u]=e[u]||{},o=e[u][t],s=e[u][t]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new s(e,t)},e.extend(s,o,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),a=new i,a.options=e.widget.extend({},a.options),e.each(n,function(t,n){return e.isFunction(n)?void(l[t]=function(){var e=function(){return i.prototype[t].apply(this,arguments)},r=function(e){return i.prototype[t].apply(this,e)};return function(){var t=this._super,i=this._superApply,o;return this._super=e,this._superApply=r,o=n.apply(this,arguments),this._super=t,this._superApply=i,o}}()):void(l[t]=n)}),s.prototype=e.widget.extend(a,{widgetEventPrefix:o?a.widgetEventPrefix||t:t},l,{constructor:s,namespace:u,widgetName:t,widgetFullName:r}),o?(e.each(o._childConstructors,function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,s,i._proto)}),delete o._childConstructors):i._childConstructors.push(s),e.widget.bridge(t,s),s},e.widget.extend=function(t){for(var n=i.call(arguments,1),r=0,o=n.length,s,a;o>r;r++)for(s in n[r])a=n[r][s],n[r].hasOwnProperty(s)&&void 0!==a&&(t[s]=e.isPlainObject(a)?e.isPlainObject(t[s])?e.widget.extend({},t[s],a):e.widget.extend({},a):a);return t},e.widget.bridge=function(t,n){var r=n.prototype.widgetFullName||t;e.fn[t]=function(o){var s="string"==typeof o,a=i.call(arguments,1),l=this;return o=!s&&a.length?e.widget.extend.apply(null,[o].concat(a)):o,this.each(s?function(){var i,n=e.data(this,r);return"instance"===o?(l=n,!1):n?e.isFunction(n[o])&&"_"!==o.charAt(0)?(i=n[o].apply(n,a),i!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0):e.error("no such method '"+o+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+o+"'")}:function(){var t=e.data(this,r);t?(t.option(o||{}),t._init&&t._init()):e.data(this,r,new n(o,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(i,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n=t,r,o,s;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(n={},r=t.split("."),t=r.shift(),r.length){for(o=n[t]=e.widget.extend({},this.options[t]),s=0;s<r.length-1;s++)o[r[s]]=o[r[s]]||{},o=o[r[s]];if(t=r.pop(),1===arguments.length)return void 0===o[t]?null:o[t];o[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];n[t]=i}return this._setOptions(n),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!t),t&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(t,i,n){var r,o=this;"boolean"!=typeof t&&(n=i,i=t,t=!1),n?(i=r=e(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,r=this.widget()),e.each(n,function(n,s){function a(){return t||o.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof s?o[s]:s).apply(o,arguments):void 0}"string"!=typeof s&&(a.guid=s.guid=s.guid||a.guid||e.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+o.eventNamespace,c=l[2];c?r.delegate(c,u,a):i.bind(u,a)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(i).undelegate(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function i(){return("string"==typeof e?n[e]:e).apply(n,arguments)}var n=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,n){var r,o,s=this.options[t];if(n=n||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(r in o)r in i||(i[r]=o[r]);return this.element.trigger(i,n),!(e.isFunction(s)&&s.apply(this.element[0],[i].concat(n))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(n,r,o){"string"==typeof r&&(r={effect:r});var s,a=r?r===!0||"number"==typeof r?i:r.effect||i:t;r=r||{},"number"==typeof r&&(r={duration:r}),s=!e.isEmptyObject(r),r.complete=o,r.delay&&n.delay(r.delay),s&&e.effects&&e.effects.effect[a]?n[t](r):a!==t&&n[a]?n[a](r.duration,r.easing,o):n.queue(function(i){e(this)[t](),o&&o.call(n[0]),i()})}}),e.widget}),function(e){"function"==typeof define&&define.amd?define("jqueryui/mouse",["jquery","./widget"],e):e(jQuery)}(function(e){var t=!1;return e(document).mouseup(function(){t=!1}),e.widget("ui.mouse",{version:"1.11.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var n=this,r=1===i.which,o="string"==typeof this.options.cancel&&i.target.nodeName?e(i.target).closest(this.options.cancel).length:!1;return r&&!o&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return n._mouseMove(e)},this._mouseUpDelegate=function(e){return n._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(i){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&e.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),t=!1,!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}),function(e){"function"==typeof define&&define.amd?define("jqueryui/draggable",["jquery","./core","./mouse","./widget"],e):e(jQuery)}(function(e){return e.widget("ui.draggable",e.ui.mouse,{version:"1.11.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(t){var i=this.options;return this._blurActiveElement(t),this.helper||i.disabled||e(t.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(t),this.handle?(this._blockFrames(i.iframeFix===!0?"iframe":i.iframeFix),!0):!1)},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=e(this);return e("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var i=this.document[0];if(this.handleElement.is(t.target))try{i.activeElement&&"body"!==i.activeElement.nodeName.toLowerCase()&&e(i.activeElement).blur()}catch(n){}},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===e(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._normalizeRightBottom(),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var n=this._uiHash();if(this._trigger("drag",t,n)===!1)return this._mouseUp({}),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var i=this,n=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",t)!==!1&&i._clear()}):this._trigger("stop",t)!==!1&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.focus(),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){return this.options.handle?!!e(t.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this.handleElement.addClass("ui-draggable-handle")},_removeHandleClassName:function(){this.handleElement.removeClass("ui-draggable-handle")},_createHelper:function(t){var i=this.options,n=e.isFunction(i.helper),r=n?e(i.helper.apply(this.element[0],[t])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&r[0]===this.element[0]&&this._setPositionRelative(),r[0]===this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,i,n,r=this.options,o=this.document[0];return this.relativeContainer=null,r.containment?"window"===r.containment?void(this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===r.containment?void(this.containment=[0,0,e(o).width()-this.helperProportions.width-this.margins.left,(e(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):r.containment.constructor===Array?void(this.containment=r.containment):("parent"===r.containment&&(r.containment=this.helper[0].parentNode),i=e(r.containment),n=i[0],void(n&&(t=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(t?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i))):void(this.containment=null)},_convertPositionTo:function(e,t){t||(t=this.position);var i="absolute"===e?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(e,t){var i,n,r,o,s=this.options,a=this._isRootNode(this.scrollParent[0]),l=e.pageX,u=e.pageY;return a&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(n=this.relativeContainer.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(u=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(u=i[3]+this.offset.click.top)),s.grid&&(r=s.grid[1]?this.originalPageY+Math.round((u-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,u=i?r-this.offset.click.top>=i[1]||r-this.offset.click.top>i[3]?r:r-this.offset.click.top>=i[1]?r-s.grid[1]:r+s.grid[1]:r,o=s.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,l=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-s.grid[0]:o+s.grid[0]:o),"y"===s.axis&&(l=this.originalPageX),"x"===s.axis&&(u=this.originalPageY)),{top:u-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:a?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_normalizeRightBottom:function(){"y"!==this.options.axis&&"auto"!==this.helper.css("right")&&(this.helper.width(this.helper.width()),this.helper.css("right","auto")),"x"!==this.options.axis&&"auto"!==this.helper.css("bottom")&&(this.helper.height(this.helper.height()),this.helper.css("bottom","auto"))},_trigger:function(t,i,n){return n=n||this._uiHash(),e.ui.plugin.call(this,t,[i,n,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,i,n){var r=e.extend({},i,{item:n.element});n.sortables=[],e(n.options.connectToSortable).each(function(){var i=e(this).sortable("instance");i&&!i.options.disabled&&(n.sortables.push(i),i.refreshPositions(),i._trigger("activate",t,r))})},stop:function(t,i,n){var r=e.extend({},i,{item:n.element});n.cancelHelperRemoval=!1,e.each(n.sortables,function(){var e=this;e.isOver?(e.isOver=0,n.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,r))})},drag:function(t,i,n){e.each(n.sortables,function(){var r=!1,o=this;o.positionAbs=n.positionAbs,o.helperProportions=n.helperProportions,o.offset.click=n.offset.click,o._intersectsWith(o.containerCache)&&(r=!0,e.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&e.contains(o.element[0],this.element[0])&&(r=!1),r})),r?(o.isOver||(o.isOver=1,o.currentItem=i.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return i.helper[0]},t.target=o.currentItem[0],o._mouseCapture(t,!0),o._mouseStart(t,!0,!0),o.offset.click.top=n.offset.click.top,o.offset.click.left=n.offset.click.left,o.offset.parent.left-=n.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=n.offset.parent.top-o.offset.parent.top,n._trigger("toSortable",t),n.dropped=o.element,e.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,o.fromOutside=n),o.currentItem&&(o._mouseDrag(t),i.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",t,o._uiHash(o)),o._mouseStop(t,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),n._refreshOffsets(t),i.position=n._generatePosition(t,!0),n._trigger("fromSortable",t),n.dropped=!1,e.each(n.sortables,function(){this.refreshPositions()}))})}}),e.ui.plugin.add("draggable","cursor",{start:function(t,i,n){var r=e("body"),o=n.options;r.css("cursor")&&(o._cursor=r.css("cursor")),r.css("cursor",o.cursor)},stop:function(t,i,n){var r=n.options;r._cursor&&e("body").css("cursor",r._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,i,n){var r=e(i.helper),o=n.options;r.css("opacity")&&(o._opacity=r.css("opacity")),r.css("opacity",o.opacity)},stop:function(t,i,n){var r=n.options;r._opacity&&e(i.helper).css("opacity",r._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,i,n){var r=n.options,o=!1,s=n.scrollParentNotHidden[0],a=n.document[0];s!==a&&"HTML"!==s.tagName?(r.axis&&"x"===r.axis||(n.overflowOffset.top+s.offsetHeight-t.pageY<r.scrollSensitivity?s.scrollTop=o=s.scrollTop+r.scrollSpeed:t.pageY-n.overflowOffset.top<r.scrollSensitivity&&(s.scrollTop=o=s.scrollTop-r.scrollSpeed)),r.axis&&"y"===r.axis||(n.overflowOffset.left+s.offsetWidth-t.pageX<r.scrollSensitivity?s.scrollLeft=o=s.scrollLeft+r.scrollSpeed:t.pageX-n.overflowOffset.left<r.scrollSensitivity&&(s.scrollLeft=o=s.scrollLeft-r.scrollSpeed))):(r.axis&&"x"===r.axis||(t.pageY-e(a).scrollTop()<r.scrollSensitivity?o=e(a).scrollTop(e(a).scrollTop()-r.scrollSpeed):e(window).height()-(t.pageY-e(a).scrollTop())<r.scrollSensitivity&&(o=e(a).scrollTop(e(a).scrollTop()+r.scrollSpeed))),r.axis&&"y"===r.axis||(t.pageX-e(a).scrollLeft()<r.scrollSensitivity?o=e(a).scrollLeft(e(a).scrollLeft()-r.scrollSpeed):e(window).width()-(t.pageX-e(a).scrollLeft())<r.scrollSensitivity&&(o=e(a).scrollLeft(e(a).scrollLeft()+r.scrollSpeed)))),o!==!1&&e.ui.ddmanager&&!r.dropBehaviour&&e.ui.ddmanager.prepareOffsets(n,t)
}}),e.ui.plugin.add("draggable","snap",{start:function(t,i,n){var r=n.options;n.snapElements=[],e(r.snap.constructor!==String?r.snap.items||":data(ui-draggable)":r.snap).each(function(){var t=e(this),i=t.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:i.top,left:i.left})})},drag:function(t,i,n){var r,o,s,a,l,u,c,d,h,p,f=n.options,g=f.snapTolerance,m=i.offset.left,v=m+n.helperProportions.width,b=i.offset.top,A=b+n.helperProportions.height;for(h=n.snapElements.length-1;h>=0;h--)l=n.snapElements[h].left-n.margins.left,u=l+n.snapElements[h].width,c=n.snapElements[h].top-n.margins.top,d=c+n.snapElements[h].height,l-g>v||m>u+g||c-g>A||b>d+g||!e.contains(n.snapElements[h].item.ownerDocument,n.snapElements[h].item)?(n.snapElements[h].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[h].item})),n.snapElements[h].snapping=!1):("inner"!==f.snapMode&&(r=Math.abs(c-A)<=g,o=Math.abs(d-b)<=g,s=Math.abs(l-v)<=g,a=Math.abs(u-m)<=g,r&&(i.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),o&&(i.position.top=n._convertPositionTo("relative",{top:d,left:0}).top),s&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:u}).left)),p=r||o||s||a,"outer"!==f.snapMode&&(r=Math.abs(c-b)<=g,o=Math.abs(d-A)<=g,s=Math.abs(l-m)<=g,a=Math.abs(u-v)<=g,r&&(i.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),o&&(i.position.top=n._convertPositionTo("relative",{top:d-n.helperProportions.height,left:0}).top),s&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:u-n.helperProportions.width}).left)),!n.snapElements[h].snapping&&(r||o||s||a||p)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[h].item})),n.snapElements[h].snapping=r||o||s||a||p)}}),e.ui.plugin.add("draggable","stack",{start:function(t,i,n){var r,o=n.options,s=e.makeArray(e(o.stack)).sort(function(t,i){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(i).css("zIndex"),10)||0)});s.length&&(r=parseInt(e(s[0]).css("zIndex"),10)||0,e(s).each(function(t){e(this).css("zIndex",r+t)}),this.css("zIndex",r+s.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i,n){var r=e(i.helper),o=n.options;r.css("zIndex")&&(o._zIndex=r.css("zIndex")),r.css("zIndex",o.zIndex)},stop:function(t,i,n){var r=n.options;r._zIndex&&e(i.helper).css("zIndex",r._zIndex)}}),e.ui.draggable}),function(e){"function"==typeof define&&define.amd?define("jqueryui/droppable",["jquery","./core","./widget","./mouse","./draggable"],e):e(jQuery)}(function(e){return e.widget("ui.droppable",{version:"1.11.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,i=this.options,n=i.accept;this.isover=!1,this.isout=!0,this.accept=e.isFunction(n)?n:function(e){return e.is(n)},this.proportions=function(){return arguments.length?void(t=arguments[0]):t?t:t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(i.scope),i.addClasses&&this.element.addClass("ui-droppable")},_addToManager:function(t){e.ui.ddmanager.droppables[t]=e.ui.ddmanager.droppables[t]||[],e.ui.ddmanager.droppables[t].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];this._splice(t),this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,i){if("accept"===t)this.accept=e.isFunction(i)?i:function(e){return e.is(i)};else if("scope"===t){var n=e.ui.ddmanager.droppables[this.options.scope];this._splice(n),this._addToManager(i)}this._super(t,i)},_activate:function(t){var i=e.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",t,this.ui(i))},_deactivate:function(t){var i=e.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",t,this.ui(i))},_over:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(i)))},_out:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(i)))},_drop:function(t,i){var n=i||e.ui.ddmanager.current,r=!1;return n&&(n.currentItem||n.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=e(this).droppable("instance");return i.options.greedy&&!i.options.disabled&&i.options.scope===n.options.scope&&i.accept.call(i.element[0],n.currentItem||n.element)&&e.ui.intersect(n,e.extend(i,{offset:i.element.offset()}),i.options.tolerance,t)?(r=!0,!1):void 0}),r?!1:this.accept.call(this.element[0],n.currentItem||n.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(n)),this.element):!1):!1},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}}}),e.ui.intersect=function(){function e(e,t,i){return e>=t&&t+i>e}return function(t,i,n,r){if(!i.offset)return!1;var o=(t.positionAbs||t.position.absolute).left+t.margins.left,s=(t.positionAbs||t.position.absolute).top+t.margins.top,a=o+t.helperProportions.width,l=s+t.helperProportions.height,u=i.offset.left,c=i.offset.top,d=u+i.proportions().width,h=c+i.proportions().height;switch(n){case"fit":return o>=u&&d>=a&&s>=c&&h>=l;case"intersect":return u<o+t.helperProportions.width/2&&a-t.helperProportions.width/2<d&&c<s+t.helperProportions.height/2&&l-t.helperProportions.height/2<h;case"pointer":return e(r.pageY,c,i.proportions().height)&&e(r.pageX,u,i.proportions().width);case"touch":return(s>=c&&h>=s||l>=c&&h>=l||c>s&&l>h)&&(o>=u&&d>=o||a>=u&&d>=a||u>o&&a>d);default:return!1}}}(),e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,i){var n,r,o=e.ui.ddmanager.droppables[t.options.scope]||[],s=i?i.type:null,a=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(n=0;n<o.length;n++)if(!(o[n].options.disabled||t&&!o[n].accept.call(o[n].element[0],t.currentItem||t.element))){for(r=0;r<a.length;r++)if(a[r]===o[n].element[0]){o[n].proportions().height=0;continue e}o[n].visible="none"!==o[n].element.css("display"),o[n].visible&&("mousedown"===s&&o[n]._activate.call(o[n],i),o[n].offset=o[n].element.offset(),o[n].proportions({width:o[n].element[0].offsetWidth,height:o[n].element[0].offsetHeight}))}},drop:function(t,i){var n=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.options.tolerance,i)&&(n=this._drop.call(this,i)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),n},dragStart:function(t,i){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)})},drag:function(t,i){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,i),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var n,r,o,s=e.ui.intersect(t,this,this.options.tolerance,i),a=!s&&this.isover?"isout":s&&!this.isover?"isover":null;a&&(this.options.greedy&&(r=this.options.scope,o=this.element.parents(":data(ui-droppable)").filter(function(){return e(this).droppable("instance").options.scope===r}),o.length&&(n=e(o[0]).droppable("instance"),n.greedyChild="isover"===a)),n&&"isover"===a&&(n.isover=!1,n.isout=!0,n._out.call(n,i)),this[a]=!0,this["isout"===a?"isover":"isout"]=!1,this["isover"===a?"_over":"_out"].call(this,i),n&&"isout"===a&&(n.isout=!1,n.isover=!0,n._over.call(n,i)))}})},dragStop:function(t,i){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)}},e.ui.droppable}),function(e){"function"==typeof define&&define.amd?define("jqueryui/position",["jquery"],e):e(jQuery)}(function(e){return function(){function t(e,t,i){return[parseFloat(e[0])*(p.test(e[0])?t/100:1),parseFloat(e[1])*(p.test(e[1])?i/100:1)]}function i(t,i){return parseInt(e.css(t,i),10)||0}function n(t){var i=t[0];if(9===i.nodeType)return{width:t.width(),height:t.height(),offset:{top:0,left:0}};if(e.isWindow(i))return{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}};if(i.preventDefault)return{width:0,height:0,offset:{top:i.pageY,left:i.pageX}};var n=i.getBoundingClientRect();return{width:n.width,height:n.height,offset:t.offset()}}e.ui=e.ui||{};var r,o,s=Math.max,a=Math.abs,l=Math.round,u=/left|center|right/,c=/top|center|bottom/,d=/[\+\-]\d+(\.[\d]+)?%?/,h=/^\w+/,p=/%$/,f=e.fn.position;e.position={scrollbarWidth:function(){if(void 0!==r)return r;var t,i,n=e("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=n.children()[0];return e("body").append(n),t=o.offsetWidth,n.css("overflow","scroll"),i=o.offsetWidth,t===i&&(i=n[0].clientWidth),n.remove(),r=t-i},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),n=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),r="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth,o="scroll"===n||"auto"===n&&t.height<t.element[0].scrollHeight;return{width:o?e.position.scrollbarWidth():0,height:r?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=e(t||window),n=e.isWindow(i[0]),r=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:n,isDocument:r,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:n||r?i.width():i.outerWidth(),height:n||r?i.height():i.outerHeight()}}},e.fn.position=function(r){if(!r||!r.of)return f.apply(this,arguments);r=e.extend({},r);var p,g,m,v,b,A,y=e(r.of),x=e.position.getWithinInfo(r.within),w=e.position.getScrollInfo(x),_=(r.collision||"flip").split(" "),E={};return A=n(y),y[0].preventDefault&&(r.at="left top"),g=A.width,m=A.height,v=A.offset,b=e.extend({},v),e.each(["my","at"],function(){var e=(r[this]||"").split(" "),t,i;1===e.length&&(e=u.test(e[0])?e.concat(["center"]):c.test(e[0])?["center"].concat(e):["center","center"]),e[0]=u.test(e[0])?e[0]:"center",e[1]=c.test(e[1])?e[1]:"center",t=d.exec(e[0]),i=d.exec(e[1]),E[this]=[t?t[0]:0,i?i[0]:0],r[this]=[h.exec(e[0])[0],h.exec(e[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===r.at[0]?b.left+=g:"center"===r.at[0]&&(b.left+=g/2),"bottom"===r.at[1]?b.top+=m:"center"===r.at[1]&&(b.top+=m/2),p=t(E.at,g,m),b.left+=p[0],b.top+=p[1],this.each(function(){var n=e(this),u=n.get(0).getBoundingClientRect(),c,d,h=u.width,f=u.height,A=i(this,"marginLeft"),k=i(this,"marginTop"),T=h+A+i(this,"marginRight")+w.width,S=f+k+i(this,"marginBottom")+w.height,C=e.extend({},b),j=t(E.my,n.outerWidth(),n.outerHeight());"right"===r.my[0]?C.left-=h:"center"===r.my[0]&&(C.left-=h/2),"bottom"===r.my[1]?C.top-=f:"center"===r.my[1]&&(C.top-=f/2),C.left+=j[0],C.top+=j[1],o||(C.left=l(C.left),C.top=l(C.top)),c={marginLeft:A,marginTop:k},e.each(["left","top"],function(t,i){e.ui.position[_[t]]&&e.ui.position[_[t]][i](C,{targetWidth:g,targetHeight:m,elemWidth:h,elemHeight:f,collisionPosition:c,collisionWidth:T,collisionHeight:S,offset:[p[0]+j[0],p[1]+j[1]],my:r.my,at:r.at,within:x,elem:n})}),r.using&&(d=function(e){var t=v.left-C.left,i=t+g-h,o=v.top-C.top,l=o+m-f,u={target:{element:y,left:v.left,top:v.top,width:g,height:m},element:{element:n,left:C.left,top:C.top,width:h,height:f},horizontal:0>i?"left":t>0?"right":"center",vertical:0>l?"top":o>0?"bottom":"middle"};h>g&&a(t+i)<g&&(u.horizontal="center"),f>m&&a(o+l)<m&&(u.vertical="middle"),u.important=s(a(t),a(i))>s(a(o),a(l))?"horizontal":"vertical",r.using.call(this,e,u)}),n.offset(e.extend(C,{using:d}))})},e.ui.position={fit:{left:function(e,t){var i=t.within,n=i.isWindow?i.scrollLeft:i.offset.left,r=i.width,o=e.left-t.collisionPosition.marginLeft,a=n-o,l=o+t.collisionWidth-r-n,u;t.collisionWidth>r?a>0&&0>=l?(u=e.left+a+t.collisionWidth-r-n,e.left+=a-u):e.left=l>0&&0>=a?n:a>l?n+r-t.collisionWidth:n:a>0?e.left+=a:l>0?e.left-=l:e.left=s(e.left-o,e.left)},top:function(e,t){var i=t.within,n=i.isWindow?i.scrollTop:i.offset.top,r=t.within.height,o=e.top-t.collisionPosition.marginTop,a=n-o,l=o+t.collisionHeight-r-n,u;t.collisionHeight>r?a>0&&0>=l?(u=e.top+a+t.collisionHeight-r-n,e.top+=a-u):e.top=l>0&&0>=a?n:a>l?n+r-t.collisionHeight:n:a>0?e.top+=a:l>0?e.top-=l:e.top=s(e.top-o,e.top)}},flip:{left:function(e,t){var i=t.within,n=i.offset.left+i.scrollLeft,r=i.width,o=i.isWindow?i.scrollLeft:i.offset.left,s=e.left-t.collisionPosition.marginLeft,l=s-o,u=s+t.collisionWidth-r-o,c="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,d="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0],p,f;0>l?(p=e.left+c+d+h+t.collisionWidth-r-n,(0>p||p<a(l))&&(e.left+=c+d+h)):u>0&&(f=e.left-t.collisionPosition.marginLeft+c+d+h-o,(f>0||a(f)<u)&&(e.left+=c+d+h))},top:function(e,t){var i=t.within,n=i.offset.top+i.scrollTop,r=i.height,o=i.isWindow?i.scrollTop:i.offset.top,s=e.top-t.collisionPosition.marginTop,l=s-o,u=s+t.collisionHeight-r-o,c="top"===t.my[1],d=c?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,h="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,p=-2*t.offset[1],f,g;0>l?(g=e.top+d+h+p+t.collisionHeight-r-n,e.top+d+h+p>l&&(0>g||g<a(l))&&(e.top+=d+h+p)):u>0&&(f=e.top-t.collisionPosition.marginTop+d+h+p-o,e.top+d+h+p>u&&(f>0||a(f)<u)&&(e.top+=d+h+p))}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,n,r,s,a=document.getElementsByTagName("body")[0],l=document.createElement("div");t=document.createElement(a?"div":"body"),n={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},a&&e.extend(n,{position:"absolute",left:"-1000px",top:"-1000px"});for(s in n)t.style[s]=n[s];t.appendChild(l),i=a||document.documentElement,i.insertBefore(t,i.firstChild),l.style.cssText="position: absolute; left: 10.7432222px;",r=e(l).offset().left,o=r>10&&11>r,t.innerHTML="",i.removeChild(t)}()}(),e.ui.position}),define("jqueryui/touch-punch.min",["jquery","./core","./mouse"],function(){!function(e){function t(e,t){if(!(e.originalEvent.touches.length>1)){e.preventDefault();var i=e.originalEvent.changedTouches[0],n=document.createEvent("MouseEvents");n.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}}if(e.support.touch="ontouchend"in document,e.support.touch){var i,n=e.ui.mouse.prototype,r=n._mouseInit,o=n._mouseDestroy;n._touchStart=function(e){var n=this;!i&&n._mouseCapture(e.originalEvent.changedTouches[0])&&(i=!0,n._touchMoved=!1,t(e,"mouseover"),t(e,"mousemove"),t(e,"mousedown"))},n._touchMove=function(e){i&&(this._touchMoved=!0,t(e,"mousemove"))},n._touchEnd=function(e){i&&(t(e,"mouseup"),t(e,"mouseout"),this._touchMoved||t(e,"click"),i=!1)},n._mouseInit=function(){var t=this;t.element.bind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),r.call(t)},n._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),o.call(t)}}}(jQuery)}),!function(e,t){function i(e,t){var i,n,r=e.toLowerCase();for(t=[].concat(t),i=0;i<t.length;i+=1)if(n=t[i]){if(n.test&&n.test(e))return!0;if(n.toLowerCase()===r)return!0}}var n=t.prototype.trim,r=t.prototype.trimRight,o=t.prototype.trimLeft,s=function(e){return 1*e||0},a=function(e,t){if(1>t)return"";for(var i="";t>0;)1&t&&(i+=e),t>>=1,e+=e;return i},l=[].slice,u=function(e){return null==e?"\\s":e.source?e.source:"["+f.escapeRegExp(e)+"]"},c={lt:"<",gt:">",quot:'"',amp:"&",apos:"'"},d={};for(var h in c)d[c[h]]=h;d["'"]="#39";var p=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}var i=a,n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var o,s,a,l,u,c,d,h=1,f=n.length,g="",m=[];for(s=0;f>s;s++)if(g=e(n[s]),"string"===g)m.push(n[s]);else if("array"===g){if(l=n[s],l[2])for(o=r[h],a=0;a<l[2].length;a++){if(!o.hasOwnProperty(l[2][a]))throw new Error(p('[_.sprintf] property "%s" does not exist',l[2][a]));o=o[l[2][a]]}else o=l[1]?r[l[1]]:r[h++];if(/[^s]/.test(l[8])&&"number"!=e(o))throw new Error(p("[_.sprintf] expecting number but found %s",e(o)));switch(l[8]){case"b":o=o.toString(2);break;case"c":o=t.fromCharCode(o);break;case"d":o=parseInt(o,10);break;case"e":o=l[7]?o.toExponential(l[7]):o.toExponential();break;case"f":o=l[7]?parseFloat(o).toFixed(l[7]):parseFloat(o);break;case"o":o=o.toString(8);break;case"s":o=(o=t(o))&&l[7]?o.substring(0,l[7]):o;break;case"u":o=Math.abs(o);break;case"x":o=o.toString(16);break;case"X":o=o.toString(16).toUpperCase()}o=/[def]/.test(l[8])&&l[3]&&o>=0?"+"+o:o,c=l[4]?"0"==l[4]?"0":l[4].charAt(1):" ",d=l[6]-t(o).length,u=l[6]?i(c,d):"",m.push(l[5]?o+u:u+o)}return m.join("")},n.cache={},n.parse=function(e){for(var t=e,i=[],n=[],r=0;t;){if(null!==(i=/^[^\x25]+/.exec(t)))n.push(i[0]);else if(null!==(i=/^\x25{2}/.exec(t)))n.push("%");else{if(null===(i=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw new Error("[_.sprintf] huh?");if(i[2]){r|=1;var o=[],s=i[2],a=[];if(null===(a=/^([a-z_][a-z_\d]*)/i.exec(s)))throw new Error("[_.sprintf] huh?");for(o.push(a[1]);""!==(s=s.substring(a[0].length));)if(null!==(a=/^\.([a-z_][a-z_\d]*)/i.exec(s)))o.push(a[1]);else{if(null===(a=/^\[(\d+)\]/.exec(s)))throw new Error("[_.sprintf] huh?");o.push(a[1])}i[2]=o}else r|=2;if(3===r)throw new Error("[_.sprintf] mixing positional and named placeholders is not (yet) supported");n.push(i)}t=t.substring(i[0].length)}return n},n}(),f={VERSION:"2.4.0",isBlank:function(e){return null==e&&(e=""),/^\s*$/.test(e)},stripTags:function(e){return null==e?"":t(e).replace(/<\/?[^>]+>/g,"")},capitalize:function(e){return e=null==e?"":t(e),e.charAt(0).toUpperCase()+e.slice(1)},chop:function(e,i){return null==e?[]:(e=t(e),i=~~i,i>0?e.match(new RegExp(".{1,"+i+"}","g")):[e])},clean:function(e){return f.strip(e).replace(/\s+/g," ")},count:function(e,i){if(null==e||null==i)return 0;e=t(e),i=t(i);for(var n=0,r=0,o=i.length;r=e.indexOf(i,r),-1!==r;)n++,r+=o;return n},chars:function(e){return null==e?[]:t(e).split("")},swapCase:function(e){return null==e?"":t(e).replace(/\S/g,function(e){return e===e.toUpperCase()?e.toLowerCase():e.toUpperCase()})},escapeHTML:function(e){return null==e?"":t(e).replace(/[&<>"']/g,function(e){return"&"+d[e]+";"})},unescapeHTML:function(e){return null==e?"":t(e).replace(/\&([^;]+);/g,function(e,i){var n;return i in c?c[i]:(n=i.match(/^#x([\da-fA-F]+)$/))?t.fromCharCode(parseInt(n[1],16)):(n=i.match(/^#(\d+)$/))?t.fromCharCode(~~n[1]):e})},escapeRegExp:function(e){return null==e?"":t(e).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},splice:function(e,t,i,n){var r=f.chars(e);return r.splice(~~t,~~i,n),r.join("")},insert:function(e,t,i){return f.splice(e,t,0,i)},include:function(e,i){return""===i?!0:null==e?!1:-1!==t(e).indexOf(i)},join:function(){var e=l.call(arguments),t=e.shift();return null==t&&(t=""),e.join(t)},lines:function(e){return null==e?[]:t(e).split("\n")},reverse:function(e){return f.chars(e).reverse().join("")},startsWith:function(e,i){return""===i?!0:null==e||null==i?!1:(e=t(e),i=t(i),e.length>=i.length&&e.slice(0,i.length)===i)},endsWith:function(e,i){return""===i?!0:null==e||null==i?!1:(e=t(e),i=t(i),e.length>=i.length&&e.slice(e.length-i.length)===i)},succ:function(e){return null==e?"":(e=t(e),e.slice(0,-1)+t.fromCharCode(e.charCodeAt(e.length-1)+1))},titleize:function(e){return null==e?"":(e=t(e).toLowerCase(),e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}))},camelize:function(e){return f.trim(e).replace(/[-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})},underscored:function(e){return f.trim(e).replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/[-\s]+/g,"_").toLowerCase()},dasherize:function(e){return f.trim(e).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()},classify:function(e){return f.capitalize(f.camelize(t(e).replace(/[\W_]/g," ")).replace(/\s/g,""))},humanize:function(e){return f.capitalize(f.underscored(e).replace(/_id$/,"").replace(/_/g," "))},trim:function(e,i){return null==e?"":!i&&n?n.call(e):(i=u(i),t(e).replace(new RegExp("^"+i+"+|"+i+"+$","g"),""))},ltrim:function(e,i){return null==e?"":!i&&o?o.call(e):(i=u(i),t(e).replace(new RegExp("^"+i+"+"),""))},rtrim:function(e,i){return null==e?"":!i&&r?r.call(e):(i=u(i),t(e).replace(new RegExp(i+"+$"),""))},truncate:function(e,i,n){return null==e?"":(e=t(e),n=n||"...",i=~~i,e.length>i?e.slice(0,i)+n:e)},prune:function(e,i,n){if(null==e)return"";if(e=t(e),i=~~i,n=null!=n?t(n):"...",e.length<=i)return e;var r=function(e){return e.toUpperCase()!==e.toLowerCase()?"A":" "},o=e.slice(0,i+1).replace(/.(?=\W*\w*$)/g,r);return o=o.slice(o.length-2).match(/\w\w/)?o.replace(/\s*\S+$/,""):f.rtrim(o.slice(0,o.length-1)),(o+n).length>e.length?e:e.slice(0,o.length)+n},words:function(e,t){return f.isBlank(e)?[]:f.trim(e,t).split(t||/\s+/)},pad:function(e,i,n,r){e=null==e?"":t(e),i=~~i;var o=0;switch(n?n.length>1&&(n=n.charAt(0)):n=" ",r){case"right":return o=i-e.length,e+a(n,o);case"both":return o=i-e.length,a(n,Math.ceil(o/2))+e+a(n,Math.floor(o/2));default:return o=i-e.length,a(n,o)+e}},lpad:function(e,t,i){return f.pad(e,t,i)},rpad:function(e,t,i){return f.pad(e,t,i,"right")},lrpad:function(e,t,i){return f.pad(e,t,i,"both")},sprintf:p,vsprintf:function(e,t){return t.unshift(e),p.apply(null,t)},toNumber:function(e,t){return e?(e=f.trim(e),e.match(/^-?\d+(?:\.\d+)?$/)?s(s(e).toFixed(~~t)):0/0):0},numberFormat:function(e,t,i,n){if(isNaN(e)||null==e)return"";e=e.toFixed(~~t),n="string"==typeof n?n:",";var r=e.split("."),o=r[0],s=r[1]?(i||".")+r[1]:"";return o.replace(/(\d)(?=(?:\d{3})+$)/g,"$1"+n)+s},strRight:function(e,i){if(null==e)return"";e=t(e),i=null!=i?t(i):i;var n=i?e.indexOf(i):-1;return~n?e.slice(n+i.length,e.length):e},strRightBack:function(e,i){if(null==e)return"";e=t(e),i=null!=i?t(i):i;var n=i?e.lastIndexOf(i):-1;return~n?e.slice(n+i.length,e.length):e},strLeft:function(e,i){if(null==e)return"";e=t(e),i=null!=i?t(i):i;var n=i?e.indexOf(i):-1;return~n?e.slice(0,n):e},strLeftBack:function(e,t){if(null==e)return"";e+="",t=null!=t?""+t:t;var i=e.lastIndexOf(t);return~i?e.slice(0,i):e},toSentence:function(e,t,i,n){t=t||", ",i=i||" and ";var r=e.slice(),o=r.pop();return e.length>2&&n&&(i=f.rtrim(t)+i),r.length?r.join(t)+i+o:o},toSentenceSerial:function(){var e=l.call(arguments);return e[3]=!0,f.toSentence.apply(f,e)},slugify:function(e){if(null==e)return"";var i="ąàáäâãåæăćęèéëêìíïîłńòóöôõøśșțùúüûñçżź",n="aaaaaaaaaceeeeeiiiilnoooooosstuuuunczz",r=new RegExp(u(i),"g");return e=t(e).toLowerCase().replace(r,function(e){var t=i.indexOf(e);return n.charAt(t)||"-"}),f.dasherize(e.replace(/[^\w\s-]/g,""))},surround:function(e,t){return[t,e,t].join("")},quote:function(e,t){return f.surround(e,t||'"')},unquote:function(e,t){return t=t||'"',e[0]===t&&e[e.length-1]===t?e.slice(1,e.length-1):e},exports:function(){var e={};for(var t in this)this.hasOwnProperty(t)&&!t.match(/^(?:include|contains|reverse)$/)&&(e[t]=this[t]);return e},repeat:function(e,i,n){if(null==e)return"";if(i=~~i,null==n)return a(t(e),i);for(var r=[];i>0;r[--i]=e);return r.join(n)},naturalCmp:function(e,i){if(e==i)return 0;if(!e)return-1;if(!i)return 1;for(var n=/(\.\d+)|(\d+)|(\D+)/g,r=t(e).toLowerCase().match(n),o=t(i).toLowerCase().match(n),s=Math.min(r.length,o.length),a=0;s>a;a++){var l=r[a],u=o[a];if(l!==u){var c=parseInt(l,10);if(!isNaN(c)){var d=parseInt(u,10);if(!isNaN(d)&&c-d)return c-d}return u>l?-1:1}}return r.length===o.length?r.length-o.length:i>e?-1:1},levenshtein:function(e,i){if(null==e&&null==i)return 0;if(null==e)return t(i).length;if(null==i)return t(e).length;e=t(e),i=t(i);for(var n,r,o=[],s=0;s<=i.length;s++)for(var a=0;a<=e.length;a++)r=s&&a?e.charAt(a-1)===i.charAt(s-1)?n:Math.min(o[a],o[a-1],n)+1:s+a,n=o[a],o[a]=r;return o.pop()},toBoolean:function(e,t,n){return"number"==typeof e&&(e=""+e),"string"!=typeof e?!!e:(e=f.trim(e),i(e,t||["true","1"])?!0:i(e,n||["false","0"])?!1:void 0)}};f.strip=f.trim,f.lstrip=f.ltrim,f.rstrip=f.rtrim,f.center=f.lrpad,f.rjust=f.lpad,f.ljust=f.rpad,f.contains=f.include,f.q=f.quote,f.toBool=f.toBoolean,"undefined"!=typeof exports&&("undefined"!=typeof module&&module.exports&&(module.exports=f),exports._s=f),"function"==typeof define&&define.amd&&define("underscore.string",[],function(){return f}),e._=e._||{},e._.string=e._.str=f}(this,String),define("underscore_str",function(){}),function(e){"function"==typeof define&&define.amd?define("lib/notify",["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(i),i}:e(jQuery)}(function(e){function t(t,i,n){"string"==typeof n&&(n={className:n}),this.options=x(y,e.isPlainObject(n)?n:{}),this.loadHTML(),this.wrapper=e(p.html),this.options.clickToHide&&this.wrapper.addClass(r+"-hidable"),this.wrapper.data(r,this),this.arrow=this.wrapper.find("."+r+"-arrow"),this.container=this.wrapper.find("."+r+"-container"),this.container.append(this.userContainer),t&&t.length&&(this.elementType=t.attr("type"),this.originalElement=t,this.elem=k(t),this.elem.data(r,this),this.elem.before(this.wrapper)),this.container.hide(),this.run(i)}var i=[].indexOf||function(e){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===e)return t;return-1},n="notify",r=n+"js",o=n+"!blank",s={t:"top",m:"middle",b:"bottom",l:"left",c:"center",r:"right"},a=["l","c","r"],l=["t","m","b"],u=["t","b","l","r"],c={t:"b",m:null,b:"t",l:"r",c:null,r:"l"},d=function(t){var i;return i=[],e.each(t.split(/\W+/),function(e,t){var n;return n=t.toLowerCase().charAt(0),s[n]?i.push(n):void 0}),i},h={},p={name:"core",html:'<div class="'+r+'-wrapper">\n	<div class="'+r+'-arrow"></div>\n	<div class="'+r+'-container"></div>\n</div>',css:"."+r+"-corner {\n	position: fixed;\n	margin: 5px;\n	z-index: 1050;\n}\n\n."+r+"-corner ."+r+"-wrapper,\n."+r+"-corner ."+r+"-container {\n	position: relative;\n	display: block;\n	height: inherit;\n	width: inherit;\n	margin: 3px;\n}\n\n."+r+"-wrapper {\n	z-index: 1;\n	position: absolute;\n	display: inline-block;\n	height: 0;\n	width: 0;\n}\n\n."+r+"-container {\n	display: none;\n	z-index: 1;\n	position: absolute;\n}\n\n."+r+"-hidable {\n	cursor: pointer;\n}\n\n[data-notify-text],[data-notify-html] {\n	position: relative;\n}\n\n."+r+"-arrow {\n	position: absolute;\n	z-index: 2;\n	width: 0;\n	height: 0;\n}"},f={"border-radius":["-webkit-","-moz-"]},g=function(e){return h[e]},m=function(t,i){if(!t)throw"Missing Style name";if(!i)throw"Missing Style definition";if(!i.html)throw"Missing Style HTML";var n=h[t];n&&n.cssElem&&(window.console,h[t].cssElem.remove()),i.name=t,h[t]=i;var o="";i.classes&&e.each(i.classes,function(t,n){return o+="."+r+"-"+i.name+"-"+t+" {\n",e.each(n,function(t,i){return f[t]&&e.each(f[t],function(e,n){return o+="	"+n+t+": "+i+";\n"}),o+="	"+t+": "+i+";\n"}),o+="}\n"}),i.css&&(o+="/* styles for "+i.name+" */\n"+i.css),o&&(i.cssElem=v(o),i.cssElem.attr("id","notify-"+i.name));var s={},a=e(i.html);b("html",a,s),b("text",a,s),i.fields=s},v=function(t){var i,n,r;n=_("style"),n.attr("type","text/css"),e("head").append(n);try{n.html(t)}catch(o){n[0].styleSheet.cssText=t}return n},b=function(t,i,n){var r;return"html"!==t&&(t="text"),r="data-notify-"+t,A(i,"["+r+"]").each(function(){var i;i=e(this).attr(r),i||(i=o),n[i]=t})},A=function(e,t){return e.is(t)?e:e.find(t)},y={clickToHide:!0,autoHide:!0,autoHideDelay:5e3,arrowShow:!0,arrowSize:5,breakNewLines:!0,elementPosition:"bottom",globalPosition:"top right",style:"bootstrap",className:"error",showAnimation:"slideDown",showDuration:400,hideAnimation:"slideUp",hideDuration:200,gap:5},x=function(t,i){var n;return n=function(){},n.prototype=t,e.extend(!0,new n,i)},w=function(t){return e.extend(y,t)},_=function(t){return e("<"+t+"></"+t+">")},E={},k=function(t){var i;return t.is("[type=radio]")&&(i=t.parents("form:first").find("[type=radio]").filter(function(i,n){return e(n).attr("name")===t.attr("name")}),t=i.first()),t},T=function(e,t,i){var n,r;if("string"==typeof i)i=parseInt(i,10);else if("number"!=typeof i)return;if(!isNaN(i))return n=s[c[t.charAt(0)]],r=t,void 0!==e[n]&&(t=s[n.charAt(0)],i=-i),void 0===e[t]?e[t]=i:e[t]+=i,null},S=function(e,t,i){if("l"===e||"t"===e)return 0;if("c"===e||"m"===e)return i/2-t/2;if("r"===e||"b"===e)return i-t;throw"Invalid alignment"},C=function(e){return C.e=C.e||_("div"),C.e.text(e).html()};t.prototype.loadHTML=function(){var t;t=this.getStyle(),this.userContainer=e(t.html),this.userFields=t.fields},t.prototype.show=function(e,t){var i,n,r,o,s;if(n=function(i){return function(){return e||i.elem||i.destroy(),t?t():void 0}}(this),s=this.container.parent().parents(":hidden").length>0,r=this.container.add(this.arrow),i=[],s&&e)o="show";else if(s&&!e)o="hide";else if(!s&&e)o=this.options.showAnimation,i.push(this.options.showDuration);else{if(s||e)return n();o=this.options.hideAnimation,i.push(this.options.hideDuration)}return i.push(n),r[o].apply(r,i)},t.prototype.setGlobalPosition=function(){var t=this.getPosition(),i=t[0],n=t[1],o=s[i],a=s[n],l=i+"|"+n,u=E[l];if(!u){u=E[l]=_("div");var c={};c[o]=0,"middle"===a?c.top="45%":"center"===a?c.left="45%":c[a]=0,u.css(c).addClass(r+"-corner"),e("body").append(u)}return u.prepend(this.wrapper)},t.prototype.setElementPosition=function(){var t,n,r,o,d,h,p,f,g,m,v,b,A,y,x,w,_,E,k,C,j,L,P,R,I,M,O,N,D;for(O=this.getPosition(),R=O[0],L=O[1],P=O[2],v=this.elem.position(),f=this.elem.outerHeight(),b=this.elem.outerWidth(),g=this.elem.innerHeight(),m=this.elem.innerWidth(),D=this.wrapper.position(),d=this.container.height(),h=this.container.width(),E=s[R],C=c[R],j=s[C],p={},p[j]="b"===R?f:"r"===R?b:0,T(p,"top",v.top-D.top),T(p,"left",v.left-D.left),N=["top","left"],y=0,w=N.length;w>y;y++)I=N[y],k=parseInt(this.elem.css("margin-"+I),10),k&&T(p,I,k);if(A=Math.max(0,this.options.gap-(this.options.arrowShow?r:0)),T(p,j,A),this.options.arrowShow){for(r=this.options.arrowSize,n=e.extend({},p),t=this.userContainer.css("border-color")||this.userContainer.css("border-top-color")||this.userContainer.css("background-color")||"white",x=0,_=u.length;_>x;x++)I=u[x],M=s[I],I!==C&&(o=M===E?t:"transparent",n["border-"+M]=r+"px solid "+o);T(p,s[C],r),i.call(u,L)>=0&&T(n,s[L],2*r)}else this.arrow.hide();return i.call(l,R)>=0?(T(p,"left",S(L,h,b)),n&&T(n,"left",S(L,r,m))):i.call(a,R)>=0&&(T(p,"top",S(L,d,f)),n&&T(n,"top",S(L,r,g))),this.container.is(":visible")&&(p.display="block"),this.container.removeAttr("style").css(p),n?this.arrow.removeAttr("style").css(n):void 0},t.prototype.getPosition=function(){var e,t,n,r,o,s,c,h;
if(h=this.options.position||(this.elem?this.options.elementPosition:this.options.globalPosition),e=d(h),0===e.length&&(e[0]="b"),t=e[0],i.call(u,t)<0)throw"Must be one of ["+u+"]";return(1===e.length||(n=e[0],i.call(l,n)>=0&&(r=e[1],i.call(a,r)<0))||(o=e[0],i.call(a,o)>=0&&(s=e[1],i.call(l,s)<0)))&&(e[1]=(c=e[0],i.call(a,c)>=0?"m":"l")),2===e.length&&(e[2]=e[1]),e},t.prototype.getStyle=function(e){var t;if(e||(e=this.options.style),e||(e="default"),t=h[e],!t)throw"Missing style: "+e;return t},t.prototype.updateClasses=function(){var t,i;return t=["base"],e.isArray(this.options.className)?t=t.concat(this.options.className):this.options.className&&t.push(this.options.className),i=this.getStyle(),t=e.map(t,function(e){return r+"-"+i.name+"-"+e}).join(" "),this.userContainer.attr("class",t)},t.prototype.run=function(t,i){var n,r,s,a,l;if(e.isPlainObject(i)?e.extend(this.options,i):"string"===e.type(i)&&(this.options.className=i),this.container&&!t)return void this.show(!1);if(this.container||t){r={},e.isPlainObject(t)?r=t:r[o]=t;for(s in r)n=r[s],a=this.userFields[s],a&&("text"===a&&(n=C(n),this.options.breakNewLines&&(n=n.replace(/\n/g,"<br/>"))),l=s===o?"":"="+s,A(this.userContainer,"[data-notify-"+a+l+"]").html(n));this.updateClasses(),this.elem?this.setElementPosition():this.setGlobalPosition(),this.show(!0),this.options.autoHide&&(clearTimeout(this.autohideTimer),this.autohideTimer=setTimeout(this.show.bind(this,!1),this.options.autoHideDelay))}},t.prototype.destroy=function(){this.wrapper.data(r,null),this.wrapper.remove()},e[n]=function(i,r,o){return i&&i.nodeName||i.jquery?e(i)[n](r,o):(o=r,r=i,new t(null,r,o)),i},e.fn[n]=function(i,n){return e(this).each(function(){var o=k(e(this)).data(r);o&&o.destroy();var s=new t(e(this),i,n)}),this},e.extend(e[n],{defaults:w,addStyle:m,pluginOptions:y,getStyle:g,insertCSS:v}),m("bootstrap",{html:"<div>\n<span data-notify-text></span>\n</div>",classes:{base:{"font-weight":"bold",padding:"8px 15px 8px 14px","text-shadow":"0 1px 0 rgba(255, 255, 255, 0.5)","background-color":"#fcf8e3",border:"1px solid #fbeed5","border-radius":"4px","white-space":"nowrap","padding-left":"25px","background-repeat":"no-repeat","background-position":"3px 7px"},error:{color:"#B94A48","background-color":"#F2DEDE","border-color":"#EED3D7","background-image":"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAtRJREFUeNqkVc1u00AQHq+dOD+0poIQfkIjalW0SEGqRMuRnHos3DjwAH0ArlyQeANOOSMeAA5VjyBxKBQhgSpVUKKQNGloFdw4cWw2jtfMOna6JOUArDTazXi/b3dm55socPqQhFka++aHBsI8GsopRJERNFlY88FCEk9Yiwf8RhgRyaHFQpPHCDmZG5oX2ui2yilkcTT1AcDsbYC1NMAyOi7zTX2Agx7A9luAl88BauiiQ/cJaZQfIpAlngDcvZZMrl8vFPK5+XktrWlx3/ehZ5r9+t6e+WVnp1pxnNIjgBe4/6dAysQc8dsmHwPcW9C0h3fW1hans1ltwJhy0GxK7XZbUlMp5Ww2eyan6+ft/f2FAqXGK4CvQk5HueFz7D6GOZtIrK+srupdx1GRBBqNBtzc2AiMr7nPplRdKhb1q6q6zjFhrklEFOUutoQ50xcX86ZlqaZpQrfbBdu2R6/G19zX6XSgh6RX5ubyHCM8nqSID6ICrGiZjGYYxojEsiw4PDwMSL5VKsC8Yf4VRYFzMzMaxwjlJSlCyAQ9l0CW44PBADzXhe7xMdi9HtTrdYjFYkDQL0cn4Xdq2/EAE+InCnvADTf2eah4Sx9vExQjkqXT6aAERICMewd/UAp/IeYANM2joxt+q5VI+ieq2i0Wg3l6DNzHwTERPgo1ko7XBXj3vdlsT2F+UuhIhYkp7u7CarkcrFOCtR3H5JiwbAIeImjT/YQKKBtGjRFCU5IUgFRe7fF4cCNVIPMYo3VKqxwjyNAXNepuopyqnld602qVsfRpEkkz+GFL1wPj6ySXBpJtWVa5xlhpcyhBNwpZHmtX8AGgfIExo0ZpzkWVTBGiXCSEaHh62/PoR0p/vHaczxXGnj4bSo+G78lELU80h1uogBwWLf5YlsPmgDEd4M236xjm+8nm4IuE/9u+/PH2JXZfbwz4zw1WbO+SQPpXfwG/BBgAhCNZiSb/pOQAAAAASUVORK5CYII=)"},success:{color:"#468847","background-color":"#DFF0D8","border-color":"#D6E9C6","background-image":"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAutJREFUeNq0lctPE0Ecx38zu/RFS1EryqtgJFA08YCiMZIAQQ4eRG8eDGdPJiYeTIwHTfwPiAcvXIwXLwoXPaDxkWgQ6islKlJLSQWLUraPLTv7Gme32zoF9KSTfLO7v53vZ3d/M7/fIth+IO6INt2jjoA7bjHCJoAlzCRw59YwHYjBnfMPqAKWQYKjGkfCJqAF0xwZjipQtA3MxeSG87VhOOYegVrUCy7UZM9S6TLIdAamySTclZdYhFhRHloGYg7mgZv1Zzztvgud7V1tbQ2twYA34LJmF4p5dXF1KTufnE+SxeJtuCZNsLDCQU0+RyKTF27Unw101l8e6hns3u0PBalORVVVkcaEKBJDgV3+cGM4tKKmI+ohlIGnygKX00rSBfszz/n2uXv81wd6+rt1orsZCHRdr1Imk2F2Kob3hutSxW8thsd8AXNaln9D7CTfA6O+0UgkMuwVvEFFUbbAcrkcTA8+AtOk8E6KiQiDmMFSDqZItAzEVQviRkdDdaFgPp8HSZKAEAL5Qh7Sq2lIJBJwv2scUqkUnKoZgNhcDKhKg5aH+1IkcouCAdFGAQsuWZYhOjwFHQ96oagWgRoUov1T9kRBEODAwxM2QtEUl+Wp+Ln9VRo6BcMw4ErHRYjH4/B26AlQoQQTRdHWwcd9AH57+UAXddvDD37DmrBBV34WfqiXPl61g+vr6xA9zsGeM9gOdsNXkgpEtTwVvwOklXLKm6+/p5ezwk4B+j6droBs2CsGa/gNs6RIxazl4Tc25mpTgw/apPR1LYlNRFAzgsOxkyXYLIM1V8NMwyAkJSctD1eGVKiq5wWjSPdjmeTkiKvVW4f2YPHWl3GAVq6ymcyCTgovM3FzyRiDe2TaKcEKsLpJvNHjZgPNqEtyi6mZIm4SRFyLMUsONSSdkPeFtY1n0mczoY3BHTLhwPRy9/lzcziCw9ACI+yql0VLzcGAZbYSM5CCSZg1/9oc/nn7+i8N9p/8An4JMADxhH+xHfuiKwAAAABJRU5ErkJggg==)"},info:{color:"#3A87AD","background-color":"#D9EDF7","border-color":"#BCE8F1","background-image":"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QYFAhkSsdes/QAAA8dJREFUOMvVlGtMW2UYx//POaWHXg6lLaW0ypAtw1UCgbniNOLcVOLmAjHZolOYlxmTGXVZdAnRfXQm+7SoU4mXaOaiZsEpC9FkiQs6Z6bdCnNYruM6KNBw6YWewzl9z+sHImEWv+vz7XmT95f/+3/+7wP814v+efDOV3/SoX3lHAA+6ODeUFfMfjOWMADgdk+eEKz0pF7aQdMAcOKLLjrcVMVX3xdWN29/GhYP7SvnP0cWfS8caSkfHZsPE9Fgnt02JNutQ0QYHB2dDz9/pKX8QjjuO9xUxd/66HdxTeCHZ3rojQObGQBcuNjfplkD3b19Y/6MrimSaKgSMmpGU5WevmE/swa6Oy73tQHA0Rdr2Mmv/6A1n9w9suQ7097Z9lM4FlTgTDrzZTu4StXVfpiI48rVcUDM5cmEksrFnHxfpTtU/3BFQzCQF/2bYVoNbH7zmItbSoMj40JSzmMyX5qDvriA7QdrIIpA+3cdsMpu0nXI8cV0MtKXCPZev+gCEM1S2NHPvWfP/hL+7FSr3+0p5RBEyhEN5JCKYr8XnASMT0xBNyzQGQeI8fjsGD39RMPk7se2bd5ZtTyoFYXftF6y37gx7NeUtJJOTFlAHDZLDuILU3j3+H5oOrD3yWbIztugaAzgnBKJuBLpGfQrS8wO4FZgV+c1IxaLgWVU0tMLEETCos4xMzEIv9cJXQcyagIwigDGwJgOAtHAwAhisQUjy0ORGERiELgG4iakkzo4MYAxcM5hAMi1WWG1yYCJIcMUaBkVRLdGeSU2995TLWzcUAzONJ7J6FBVBYIggMzmFbvdBV44Corg8vjhzC+EJEl8U1kJtgYrhCzgc/vvTwXKSib1paRFVRVORDAJAsw5FuTaJEhWM2SHB3mOAlhkNxwuLzeJsGwqWzf5TFNdKgtY5qHp6ZFf67Y/sAVadCaVY5YACDDb3Oi4NIjLnWMw2QthCBIsVhsUTU9tvXsjeq9+X1d75/KEs4LNOfcdf/+HthMnvwxOD0wmHaXr7ZItn2wuH2SnBzbZAbPJwpPx+VQuzcm7dgRCB57a1uBzUDRL4bfnI0RE0eaXd9W89mpjqHZnUI5Hh2l2dkZZUhOqpi2qSmpOmZ64Tuu9qlz/SEXo6MEHa3wOip46F1n7633eekV8ds8Wxjn37Wl63VVa+ej5oeEZ/82ZBETJjpJ1Rbij2D3Z/1trXUvLsblCK0XfOx0SX2kMsn9dX+d+7Kf6h8o4AIykuffjT8L20LU+w4AZd5VvEPY+XpWqLV327HR7DzXuDnD8r+ovkBehJ8i+y8YAAAAASUVORK5CYII=)"},warn:{color:"#C09853","background-color":"#FCF8E3","border-color":"#FBEED5","background-image":"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAABJlBMVEXr6eb/2oD/wi7/xjr/0mP/ykf/tQD/vBj/3o7/uQ//vyL/twebhgD/4pzX1K3z8e349vK6tHCilCWbiQymn0jGworr6dXQza3HxcKkn1vWvV/5uRfk4dXZ1bD18+/52YebiAmyr5S9mhCzrWq5t6ufjRH54aLs0oS+qD751XqPhAybhwXsujG3sm+Zk0PTwG6Shg+PhhObhwOPgQL4zV2nlyrf27uLfgCPhRHu7OmLgAafkyiWkD3l49ibiAfTs0C+lgCniwD4sgDJxqOilzDWowWFfAH08uebig6qpFHBvH/aw26FfQTQzsvy8OyEfz20r3jAvaKbhgG9q0nc2LbZxXanoUu/u5WSggCtp1anpJKdmFz/zlX/1nGJiYmuq5Dx7+sAAADoPUZSAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfdBgUBGhh4aah5AAAAlklEQVQY02NgoBIIE8EUcwn1FkIXM1Tj5dDUQhPU502Mi7XXQxGz5uVIjGOJUUUW81HnYEyMi2HVcUOICQZzMMYmxrEyMylJwgUt5BljWRLjmJm4pI1hYp5SQLGYxDgmLnZOVxuooClIDKgXKMbN5ggV1ACLJcaBxNgcoiGCBiZwdWxOETBDrTyEFey0jYJ4eHjMGWgEAIpRFRCUt08qAAAAAElFTkSuQmCC)"}}}),e(function(){v(p.css).attr("id","core-notify"),e(document).on("click","."+r+"-hidable",function(t){e(this).trigger("notify-hide")}),e(document).on("notify-hide","."+r+"-wrapper",function(t){var i=e(this).data(r);i&&i.show(!1)})})}),function(e){define("modernizr",[],function(){return function(){window.Modernizr=function(e,t,i){function n(e){g.cssText=e}function r(e,t){return n(A.join(e+";")+(t||""))}function o(e,t){return typeof e===t}function s(e,t){return!!~(""+e).indexOf(t)}function a(e,t){for(var n in e){var r=e[n];if(!s(r,"-")&&g[r]!==i)return"pfx"==t?r:!0}return!1}function l(e,t,n){for(var r in e){var s=t[e[r]];if(s!==i)return n===!1?e[r]:o(s,"function")?s.bind(n||t):s}return!1}function u(){d.input=function(i){for(var n=0,r=i.length;r>n;n++)T[i[n]]=i[n]in m;return T.list&&(T.list=!!t.createElement("datalist")&&!!e.HTMLDataListElement),T}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),d.inputtypes=function(e){for(var n=0,r,o,s,a=e.length;a>n;n++)m.setAttribute("type",o=e[n]),r="text"!==m.type,r&&(m.value=v,m.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&m.style.WebkitAppearance!==i?(h.appendChild(m),s=t.defaultView,r=s.getComputedStyle&&"textfield"!==s.getComputedStyle(m,null).WebkitAppearance&&0!==m.offsetHeight,h.removeChild(m)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?m.checkValidity&&m.checkValidity()===!1:m.value!=v)),k[e[n]]=!!r;return k}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var c="2.8.2",d={},h=t.documentElement,p="modernizr",f=t.createElement(p),g=f.style,m=t.createElement("input"),v=":)",b={}.toString,A=" -webkit- -moz- -o- -ms- ".split(" "),y="Webkit Moz O ms",x=y.split(" "),w=y.toLowerCase().split(" "),_={svg:"http://www.w3.org/2000/svg"},E={},k={},T={},S=[],C=S.slice,j,L=function(e,i,n,r){var o,s,a,l,u=t.createElement("div"),c=t.body,d=c||t.createElement("body");if(parseInt(n,10))for(;n--;)a=t.createElement("div"),a.id=r?r[n]:p+(n+1),u.appendChild(a);return o=["&#173;",'<style id="s',p,'">',e,"</style>"].join(""),u.id=p,(c?u:d).innerHTML+=o,d.appendChild(u),c||(d.style.background="",d.style.overflow="hidden",l=h.style.overflow,h.style.overflow="hidden",h.appendChild(d)),s=i(u,e),c?u.parentNode.removeChild(u):(d.parentNode.removeChild(d),h.style.overflow=l),!!s},P=function(){function e(e,r){r=r||t.createElement(n[e]||"div"),e="on"+e;var s=e in r;return s||(r.setAttribute||(r=t.createElement("div")),r.setAttribute&&r.removeAttribute&&(r.setAttribute(e,""),s=o(r[e],"function"),o(r[e],"undefined")||(r[e]=i),r.removeAttribute(e))),r=null,s}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),R={}.hasOwnProperty,I;I=o(R,"undefined")||o(R.call,"undefined")?function(e,t){return t in e&&o(e.constructor.prototype[t],"undefined")}:function(e,t){return R.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var i=C.call(arguments,1),n=function(){if(this instanceof n){var r=function(){};r.prototype=t.prototype;var o=new r,s=t.apply(o,i.concat(C.call(arguments)));return Object(s)===s?s:o}return t.apply(e,i.concat(C.call(arguments)))};return n}),E.canvas=function(){var e=t.createElement("canvas");return!!e.getContext&&!!e.getContext("2d")},E.canvastext=function(){return!!d.canvas&&!!o(t.createElement("canvas").getContext("2d").fillText,"function")},E.geolocation=function(){return"geolocation"in navigator},E.postmessage=function(){return!!e.postMessage},E.hashchange=function(){return P("hashchange",e)&&(t.documentMode===i||t.documentMode>7)},E.history=function(){return!!e.history&&!!history.pushState},E.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},E.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},E.rgba=function(){return n("background-color:rgba(150,255,150,.5)"),s(g.backgroundColor,"rgba")},E.hsla=function(){return n("background-color:hsla(120,40%,100%,.5)"),s(g.backgroundColor,"rgba")||s(g.backgroundColor,"hsla")},E.multiplebgs=function(){return n("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(g.background)},E.textshadow=function(){return""===t.createElement("div").style.textShadow},E.opacity=function(){return r("opacity:.55"),/^0.55$/.test(g.opacity)},E.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",i="linear-gradient(left top,#9f9, white);";return n((e+"-webkit- ".split(" ").join(t+e)+A.join(i+e)).slice(0,-e.length)),s(g.backgroundImage,"gradient")},E.video=function(){var e=t.createElement("video"),i=!1;try{(i=!!e.canPlayType)&&(i=new Boolean(i),i.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),i.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),i.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(n){}return i},E.audio=function(){var e=t.createElement("audio"),i=!1;try{(i=!!e.canPlayType)&&(i=new Boolean(i),i.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),i.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),i.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),i.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(n){}return i},E.localstorage=function(){try{return localStorage.setItem(p,p),localStorage.removeItem(p),!0}catch(e){return!1}},E.sessionstorage=function(){try{return sessionStorage.setItem(p,p),sessionStorage.removeItem(p),!0}catch(e){return!1}},E.webworkers=function(){return!!e.Worker},E.applicationcache=function(){return!!e.applicationCache},E.svg=function(){return!!t.createElementNS&&!!t.createElementNS(_.svg,"svg").createSVGRect},E.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==_.svg},E.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(b.call(t.createElementNS(_.svg,"clipPath")))};for(var M in E)I(E,M)&&(j=M.toLowerCase(),d[j]=E[M](),S.push((d[j]?"":"no-")+j));return d.input||u(),d.addTest=function(e,t){if("object"==typeof e)for(var n in e)I(e,n)&&d.addTest(n,e[n]);else{if(e=e.toLowerCase(),d[e]!==i)return d;t="function"==typeof t?t():t,"undefined"!=typeof enableClasses&&enableClasses&&(h.className+=" "+(t?"":"no-")+e),d[e]=t}return d},n(""),f=m=null,d._version=c,d._prefixes=A,d._domPrefixes=w,d._cssomPrefixes=x,d.hasEvent=P,d.testProp=function(e){return a([e])},d.testStyles=L,d}(this,this.document),Modernizr.addTest("json",!!window.JSON&&!!JSON.parse),function(){if(!Modernizr.canvas)return!1;var e=new Image,t=document.createElement("canvas"),i=t.getContext("2d");e.onload=function(){i.drawImage(e,0,0),Modernizr.addTest("todataurljpeg",function(){return 0===t.toDataURL("image/jpeg").indexOf("data:image/jpeg")}),Modernizr.addTest("todataurlwebp",function(){return 0===t.toDataURL("image/webp").indexOf("data:image/webp")})},e.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg=="}(),Modernizr.addTest("svgfilters",function(){var e=!1;try{e=void 0!==typeof SVGFEColorMatrixElement&&2==SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE}catch(t){}return e})}.apply(e,arguments)})}(this),!function(e){"function"==typeof define&&define.amd?define("mousewheel",["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var s=t||window.event,a=l.call(arguments,1),u=0,d=0,h=0,p=0,f=0,g=0;if(t=e.event.fix(s),t.type="mousewheel","detail"in s&&(h=-1*s.detail),"wheelDelta"in s&&(h=s.wheelDelta),"wheelDeltaY"in s&&(h=s.wheelDeltaY),"wheelDeltaX"in s&&(d=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(d=-1*h,h=0),u=0===h?d:h,"deltaY"in s&&(h=-1*s.deltaY,u=h),"deltaX"in s&&(d=s.deltaX,0===h&&(u=-1*d)),0!==h||0!==d){if(1===s.deltaMode){var m=e.data(this,"mousewheel-line-height");u*=m,h*=m,d*=m}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");u*=v,h*=v,d*=v}if(p=Math.max(Math.abs(h),Math.abs(d)),(!o||o>p)&&(o=p,n(s,p)&&(o/=40)),n(s,p)&&(u/=40,d/=40,h/=40),u=Math[u>=1?"floor":"ceil"](u/o),d=Math[d>=1?"floor":"ceil"](d/o),h=Math[h>=1?"floor":"ceil"](h/o),c.settings.normalizeOffset&&this.getBoundingClientRect){var b=this.getBoundingClientRect();f=t.clientX-b.left,g=t.clientY-b.top}return t.deltaX=d,t.deltaY=h,t.deltaFactor=o,t.offsetX=f,t.offsetY=g,t.deltaMode=0,a.unshift(t,u,d,h),r&&clearTimeout(r),r=setTimeout(i,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function i(){o=null}function n(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var r,o,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var u=s.length;u;)e.event.fixHooks[s[--u]]=e.event.mouseHooks;var c=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=a.length;i;)this.addEventListener(a[--i],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",c.getLineHeight(this)),e.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=a.length;i;)this.removeEventListener(a[--i],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),define("scrollbar",["jquery"],function(e){e.fn.scrollbar=function(e){if(null!=e){var t=void 0,i=void 0,n=this.get(0),r=n.offsetWidth,o=n.offsetHeight,s=6;e.style.top="0px",e.style.left="0px";var a=document.createElement("canvas");a.style.position="absolute",a.style.border="2px outset #F0F0F0";var l=Math.min(o/2,r);a.width=n.offsetWidth-4,a.height=l-4,a.style.backgroundColor="#F0F0F0",a.style.top="0px",a.style.left="0px",n.appendChild(a);var u=Math.min((n.offsetWidth-4-4-1)/2,l-4-4-1),c=2+(l-4-4-1-u)/2,d=a.width/2;u=Math.max(u,1);var h=a.getContext("2d");h.beginPath(),h.fillStyle="black",h.moveTo(d,c),h.lineTo(d-u,c+u),h.lineTo(d+u,c+u),h.closePath(),h.fill();var p=document.createElement("canvas");p.style.position="absolute",p.style.border="2px outset #F0F0F0";var f=Math.min(o/2,r);p.width=n.offsetWidth-4,p.height=f-4,p.style.backgroundColor="#F0F0F0",p.style.top=n.offsetHeight-f+"px",p.style.left="0px",n.appendChild(p);var g=Math.min((n.offsetWidth-4-4-1)/2,f-4-4-1),m=2+(f-4-4-1-g)/2,v=p.width/2;g=Math.max(g,1);var b=p.getContext("2d");b.beginPath(),b.fillStyle="black",b.moveTo(v,m+g),b.lineTo(v-g,m),b.lineTo(v+g,m),b.closePath(),b.fill();var A=document.createElement("div");A.style.position="absolute",A.style.width=n.offsetWidth+"px";var y=n.offsetHeight-l-f;A.style.height=y+"px",A.style.backgroundColor="#F0F0F0",A.style.top=l+"px",A.style.left="0px",n.appendChild(A);var x=$(e).data("height"),w=parseInt(n.offsetHeight/x*y);w=Math.max(s,w);var _=x-n.offsetHeight;if(y>w){var E=document.createElement("div");E.style.position="absolute",E.style.width=n.offsetWidth-4+"px",E.style.height=w-4+"px",E.style.backgroundColor="#F0F0F0",E.style.top="0px",E.style.left="0px",E.style.border="2px outset #F0F0F0",$(E).addClass("sb4-richtext-scrollbar"),A.appendChild(E);var k=A.offsetHeight-E.offsetHeight;$(E).draggable({containment:"parent"}),$(E).on("drag",function(t,i){var n=-_*(i.position.top/k);e.scrollTop=Math.abs(n)}),$(e).on("scroll",function(e){var t=-e.target.scrollTop,i=-k*(t/_);E.style.top=i+"px"})}a.addEventListener("click",function(){void 0!=t&&(clearTimeout(t),void 0!=i&&clearInterval(i)),$(a).css("border-style","outset");var n=-e.scrollTop;-10>n?n+=10:n=0,e.scrollTop=Math.abs(n)},!1),p.addEventListener("click",function(){void 0!=t&&(clearTimeout(t),void 0!=i&&clearInterval(i)),$(p).css("border-style","outset");var n=-e.scrollTop;n>-_+10?n-=10:n=-_,e.scrollTop=Math.abs(n)},!1),a.addEventListener("mousedown",function(){$(a).css("border-style","inset"),t=setTimeout(function(){i=setInterval(function(){var t=-e.scrollTop;-10>t?t+=10:t=0,e.scrollTop=Math.abs(t)},100)},500)},!1),p.addEventListener("mousedown",function(){$(p).css("border-style","inset"),t=setTimeout(function(){i=setInterval(function(){var t=-e.scrollTop;t>-_+10?t-=10:t=-_,e.scrollTop=Math.abs(t)},100)},500)},!1),this.data("hiddenParth",_),this.data("canDragH",k)}}}),!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define("pako_inflate",[],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.pako=e()}}(function(){return function e(t,i,n){function r(s,a){if(!i[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var u=i[s]={exports:{}};t[s][0].call(u.exports,function(e){var i=t[s][1][e];return r(i?i:e)},u,u.exports,e,t,i,n)}return i[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(e,t,i){function n(e,t){var i=new h(t);if(i.push(e,!0),i.err)throw i.msg;return i.result}function r(e,t){return t=t||{},t.raw=!0,n(e,t)}var o=e("./zlib/inflate.js"),s=e("./utils/common"),a=e("./utils/strings"),l=e("./zlib/constants"),u=e("./zlib/messages"),c=e("./zlib/zstream"),d=e("./zlib/gzheader"),h=function(e){this.options=s.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0===(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var i=o.inflateInit2(this.strm,t.windowBits);if(i!==l.Z_OK)throw new Error(u[i]);this.header=new d,o.inflateGetHeader(this.strm,this.header)};h.prototype.push=function(e,t){var i,n,r,u,c,d=this.strm,h=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:t===!0?l.Z_FINISH:l.Z_NO_FLUSH,d.input="string"==typeof e?a.binstring2buf(e):e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new s.Buf8(h),d.next_out=0,d.avail_out=h),i=o.inflate(d,l.Z_NO_FLUSH),i!==l.Z_STREAM_END&&i!==l.Z_OK)return this.onEnd(i),this.ended=!0,!1;d.next_out&&(0===d.avail_out||i===l.Z_STREAM_END||0===d.avail_in&&n===l.Z_FINISH)&&("string"===this.options.to?(r=a.utf8border(d.output,d.next_out),u=d.next_out-r,c=a.buf2string(d.output,r),d.next_out=u,d.avail_out=h-u,u&&s.arraySet(d.output,d.output,r,u,0),this.onData(c)):this.onData(s.shrinkBuf(d.output,d.next_out)))}while(d.avail_in>0&&i!==l.Z_STREAM_END);return i===l.Z_STREAM_END&&(n=l.Z_FINISH),n===l.Z_FINISH?(i=o.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===l.Z_OK):!0},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===l.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},i.Inflate=h,i.inflate=n,i.inflateRaw=r,i.ungzip=n},{"./utils/common":2,"./utils/strings":3,"./zlib/constants":5,"./zlib/gzheader":7,"./zlib/inflate.js":9,"./zlib/messages":11,"./zlib/zstream":12}],2:[function(e,t,i){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var i=t.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])}}return e},i.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,i,n,r){if(t.subarray&&e.subarray)return void e.set(t.subarray(i,i+n),r);for(var o=0;n>o;o++)e[r+o]=t[i+o]},flattenChunks:function(e){var t,i,n,r,o,s;for(n=0,t=0,i=e.length;i>t;t++)n+=e[t].length;for(s=new Uint8Array(n),r=0,t=0,i=e.length;i>t;t++)o=e[t],s.set(o,r),r+=o.length;return s}},o={arraySet:function(e,t,i,n,r){for(var o=0;n>o;o++)e[r+o]=t[i+o]},flattenChunks:function(e){return[].concat.apply([],e)}};i.setTyped=function(e){e?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,r)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,o))},i.setTyped(n)},{}],3:[function(e,t,i){function n(e,t){if(65537>t&&(e.subarray&&s||!e.subarray&&o))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var i="",n=0;t>n;n++)i+=String.fromCharCode(e[n]);return i}var r=e("./common"),o=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(a){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(a){s=!1}for(var l=new r.Buf8(256),u=0;256>u;u++)l[u]=u>=252?6:u>=248?5:u>=240?4:u>=224?3:u>=192?2:1;l[254]=l[254]=1,i.string2buf=function(e){var t,i,n,o,s,a=e.length,l=0;for(o=0;a>o;o++)i=e.charCodeAt(o),55296===(64512&i)&&a>o+1&&(n=e.charCodeAt(o+1),56320===(64512&n)&&(i=65536+(i-55296<<10)+(n-56320),o++)),l+=128>i?1:2048>i?2:65536>i?3:4;for(t=new r.Buf8(l),s=0,o=0;l>s;o++)i=e.charCodeAt(o),55296===(64512&i)&&a>o+1&&(n=e.charCodeAt(o+1),56320===(64512&n)&&(i=65536+(i-55296<<10)+(n-56320),o++)),128>i?t[s++]=i:2048>i?(t[s++]=192|i>>>6,t[s++]=128|63&i):65536>i?(t[s++]=224|i>>>12,t[s++]=128|i>>>6&63,t[s++]=128|63&i):(t[s++]=240|i>>>18,t[s++]=128|i>>>12&63,t[s++]=128|i>>>6&63,t[s++]=128|63&i);return t},i.buf2binstring=function(e){return n(e,e.length)},i.binstring2buf=function(e){for(var t=new r.Buf8(e.length),i=0,n=t.length;n>i;i++)t[i]=e.charCodeAt(i);return t},i.buf2string=function(e,t){var i,r,o,s,a=t||e.length,u=new Array(2*a);for(r=0,i=0;a>i;)if(o=e[i++],128>o)u[r++]=o;else if(s=l[o],s>4)u[r++]=65533,i+=s-1;else{for(o&=2===s?31:3===s?15:7;s>1&&a>i;)o=o<<6|63&e[i++],s--;s>1?u[r++]=65533:65536>o?u[r++]=o:(o-=65536,u[r++]=55296|o>>10&1023,u[r++]=56320|1023&o)}return n(u,r)},i.utf8border=function(e,t){var i;for(t=t||e.length,t>e.length&&(t=e.length),i=t-1;i>=0&&128===(192&e[i]);)i--;return 0>i?t:0===i?t:i+l[e[i]]>t?i:t}},{"./common":2}],4:[function(e,t){function i(e,t,i,n){for(var r=65535&e|0,o=e>>>16&65535|0,s=0;0!==i;){s=i>2e3?2e3:i,i-=s;do r=r+t[n++]|0,o=o+r|0;while(--s);r%=65521,o%=65521}return r|o<<16|0}t.exports=i},{}],5:[function(e,t){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],6:[function(e,t){function i(){for(var e,t=[],i=0;256>i;i++){e=i;for(var n=0;8>n;n++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t}function n(e,t,i,n){var o=r,s=n+i;e=-1^e;for(var a=n;s>a;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}var r=i();t.exports=n},{}],7:[function(e,t){function i(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}t.exports=i},{}],8:[function(e,t){var i=30,n=12;t.exports=function(e,t){var r,o,s,a,l,u,c,d,h,p,f,g,m,v,b,A,y,x,w,_,E,k,T,S,C;r=e.state,o=e.next_in,S=e.input,s=o+(e.avail_in-5),a=e.next_out,C=e.output,l=a-(t-e.avail_out),u=a+(e.avail_out-257),c=r.dmax,d=r.wsize,h=r.whave,p=r.wnext,f=r.window,g=r.hold,m=r.bits,v=r.lencode,b=r.distcode,A=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{15>m&&(g+=S[o++]<<m,m+=8,g+=S[o++]<<m,m+=8),x=v[g&A];t:for(;;){if(w=x>>>24,g>>>=w,m-=w,w=x>>>16&255,0===w)C[a++]=65535&x;else{if(!(16&w)){if(0===(64&w)){x=v[(65535&x)+(g&(1<<w)-1)];continue t}if(32&w){r.mode=n;break e}e.msg="invalid literal/length code",r.mode=i;break e}_=65535&x,w&=15,w&&(w>m&&(g+=S[o++]<<m,m+=8),_+=g&(1<<w)-1,g>>>=w,m-=w),15>m&&(g+=S[o++]<<m,m+=8,g+=S[o++]<<m,m+=8),x=b[g&y];i:for(;;){if(w=x>>>24,g>>>=w,m-=w,w=x>>>16&255,!(16&w)){if(0===(64&w)){x=b[(65535&x)+(g&(1<<w)-1)];continue i}e.msg="invalid distance code",r.mode=i;break e}if(E=65535&x,w&=15,w>m&&(g+=S[o++]<<m,m+=8,w>m&&(g+=S[o++]<<m,m+=8)),E+=g&(1<<w)-1,E>c){e.msg="invalid distance too far back",r.mode=i;break e}if(g>>>=w,m-=w,w=a-l,E>w){if(w=E-w,w>h&&r.sane){e.msg="invalid distance too far back",r.mode=i;break e}if(k=0,T=f,0===p){if(k+=d-w,_>w){_-=w;do C[a++]=f[k++];while(--w);k=a-E,T=C}}else if(w>p){if(k+=d+p-w,w-=p,_>w){_-=w;do C[a++]=f[k++];while(--w);if(k=0,_>p){w=p,_-=w;do C[a++]=f[k++];while(--w);k=a-E,T=C}}}else if(k+=p-w,_>w){_-=w;do C[a++]=f[k++];while(--w);k=a-E,T=C}for(;_>2;)C[a++]=T[k++],C[a++]=T[k++],C[a++]=T[k++],_-=3;_&&(C[a++]=T[k++],_>1&&(C[a++]=T[k++]))}else{k=a-E;do C[a++]=C[k++],C[a++]=C[k++],C[a++]=C[k++],_-=3;while(_>2);_&&(C[a++]=C[k++],_>1&&(C[a++]=C[k++]))}break}}break}}while(s>o&&u>a);_=m>>3,o-=_,m-=_<<3,g&=(1<<m)-1,e.next_in=o,e.next_out=a,e.avail_in=s>o?5+(s-o):5-(o-s),e.avail_out=u>a?257+(u-a):257-(a-u),r.hold=g,r.bits=m}},{}],9:[function(e,t,i){function n(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function r(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new v.Buf16(320),this.work=new v.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function o(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=N,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new v.Buf32(ft),t.distcode=t.distdyn=new v.Buf32(gt),t.sane=1,t.back=-1,C):P}function s(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,o(e)):P}function a(e,t){var i,n;return e&&e.state?(n=e.state,0>t?(i=0,t=-t):(i=(t>>4)+1,48>t&&(t&=15)),t&&(8>t||t>15)?P:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=i,n.wbits=t,s(e))):P}function l(e,t){var i,n;return e?(n=new r,e.state=n,n.window=null,i=a(e,t),i!==C&&(e.state=null),i):P}function u(e){return l(e,vt)}function c(e){if(bt){var t;for(g=new v.Buf32(512),m=new v.Buf32(32),t=0;144>t;)e.lens[t++]=8;for(;256>t;)e.lens[t++]=9;for(;280>t;)e.lens[t++]=7;for(;288>t;)e.lens[t++]=8;for(x(_,e.lens,0,288,g,0,e.work,{bits:9}),t=0;32>t;)e.lens[t++]=5;x(E,e.lens,0,32,m,0,e.work,{bits:5}),bt=!1}e.lencode=g,e.lenbits=9,e.distcode=m,e.distbits=5}function d(e,t,i,n){var r,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new v.Buf8(o.wsize)),n>=o.wsize?(v.arraySet(o.window,t,i-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(r=o.wsize-o.wnext,r>n&&(r=n),v.arraySet(o.window,t,i-n,r,o.wnext),n-=r,n?(v.arraySet(o.window,t,i-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=r))),0}function h(e,t){var i,r,o,s,a,l,u,h,p,f,g,m,ft,gt,mt,vt,bt,At,yt,xt,wt,_t,Et,kt,Tt=0,St=new v.Buf8(4),Ct=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return P;i=e.state,i.mode===J&&(i.mode=G),a=e.next_out,o=e.output,u=e.avail_out,s=e.next_in,r=e.input,l=e.avail_in,h=i.hold,p=i.bits,f=l,g=u,_t=C;e:for(;;)switch(i.mode){case N:if(0===i.wrap){i.mode=G;break}for(;16>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(2&i.wrap&&35615===h){i.check=0,St[0]=255&h,St[1]=h>>>8&255,i.check=A(i.check,St,2,0),h=0,p=0,i.mode=D;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&h)<<8)+(h>>8))%31){e.msg="incorrect header check",i.mode=dt;break}if((15&h)!==O){e.msg="unknown compression method",i.mode=dt;break}if(h>>>=4,p-=4,wt=(15&h)+8,0===i.wbits)i.wbits=wt;else if(wt>i.wbits){e.msg="invalid window size",i.mode=dt;break}i.dmax=1<<wt,e.adler=i.check=1,i.mode=512&h?X:J,h=0,p=0;break;case D:for(;16>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(i.flags=h,(255&i.flags)!==O){e.msg="unknown compression method",i.mode=dt;break}if(57344&i.flags){e.msg="unknown header flags set",i.mode=dt;break}i.head&&(i.head.text=h>>8&1),512&i.flags&&(St[0]=255&h,St[1]=h>>>8&255,i.check=A(i.check,St,2,0)),h=0,p=0,i.mode=B;case B:for(;32>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}i.head&&(i.head.time=h),512&i.flags&&(St[0]=255&h,St[1]=h>>>8&255,St[2]=h>>>16&255,St[3]=h>>>24&255,i.check=A(i.check,St,4,0)),h=0,p=0,i.mode=H;
case H:for(;16>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}i.head&&(i.head.xflags=255&h,i.head.os=h>>8),512&i.flags&&(St[0]=255&h,St[1]=h>>>8&255,i.check=A(i.check,St,2,0)),h=0,p=0,i.mode=F;case F:if(1024&i.flags){for(;16>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}i.length=h,i.head&&(i.head.extra_len=h),512&i.flags&&(St[0]=255&h,St[1]=h>>>8&255,i.check=A(i.check,St,2,0)),h=0,p=0}else i.head&&(i.head.extra=null);i.mode=q;case q:if(1024&i.flags&&(m=i.length,m>l&&(m=l),m&&(i.head&&(wt=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),v.arraySet(i.head.extra,r,s,m,wt)),512&i.flags&&(i.check=A(i.check,r,m,s)),l-=m,s+=m,i.length-=m),i.length))break e;i.length=0,i.mode=z;case z:if(2048&i.flags){if(0===l)break e;m=0;do wt=r[s+m++],i.head&&wt&&i.length<65536&&(i.head.name+=String.fromCharCode(wt));while(wt&&l>m);if(512&i.flags&&(i.check=A(i.check,r,m,s)),l-=m,s+=m,wt)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=U;case U:if(4096&i.flags){if(0===l)break e;m=0;do wt=r[s+m++],i.head&&wt&&i.length<65536&&(i.head.comment+=String.fromCharCode(wt));while(wt&&l>m);if(512&i.flags&&(i.check=A(i.check,r,m,s)),l-=m,s+=m,wt)break e}else i.head&&(i.head.comment=null);i.mode=W;case W:if(512&i.flags){for(;16>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(h!==(65535&i.check)){e.msg="header crc mismatch",i.mode=dt;break}h=0,p=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=J;break;case X:for(;32>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}e.adler=i.check=n(h),h=0,p=0,i.mode=V;case V:if(0===i.havedict)return e.next_out=a,e.avail_out=u,e.next_in=s,e.avail_in=l,i.hold=h,i.bits=p,L;e.adler=i.check=1,i.mode=J;case J:if(t===T||t===S)break e;case G:if(i.last){h>>>=7&p,p-=7&p,i.mode=lt;break}for(;3>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}switch(i.last=1&h,h>>>=1,p-=1,3&h){case 0:i.mode=Z;break;case 1:if(c(i),i.mode=tt,t===S){h>>>=2,p-=2;break e}break;case 2:i.mode=K;break;case 3:e.msg="invalid block type",i.mode=dt}h>>>=2,p-=2;break;case Z:for(h>>>=7&p,p-=7&p;32>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if((65535&h)!==(h>>>16^65535)){e.msg="invalid stored block lengths",i.mode=dt;break}if(i.length=65535&h,h=0,p=0,i.mode=Y,t===S)break e;case Y:i.mode=Q;case Q:if(m=i.length){if(m>l&&(m=l),m>u&&(m=u),0===m)break e;v.arraySet(o,r,s,m,a),l-=m,s+=m,u-=m,a+=m,i.length-=m;break}i.mode=J;break;case K:for(;14>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(i.nlen=(31&h)+257,h>>>=5,p-=5,i.ndist=(31&h)+1,h>>>=5,p-=5,i.ncode=(15&h)+4,h>>>=4,p-=4,i.nlen>286||i.ndist>30){e.msg="too many length or distance symbols",i.mode=dt;break}i.have=0,i.mode=$;case $:for(;i.have<i.ncode;){for(;3>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}i.lens[Ct[i.have++]]=7&h,h>>>=3,p-=3}for(;i.have<19;)i.lens[Ct[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,Et={bits:i.lenbits},_t=x(w,i.lens,0,19,i.lencode,0,i.work,Et),i.lenbits=Et.bits,_t){e.msg="invalid code lengths set",i.mode=dt;break}i.have=0,i.mode=et;case et:for(;i.have<i.nlen+i.ndist;){for(;Tt=i.lencode[h&(1<<i.lenbits)-1],mt=Tt>>>24,vt=Tt>>>16&255,bt=65535&Tt,!(p>=mt);){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(16>bt)h>>>=mt,p-=mt,i.lens[i.have++]=bt;else{if(16===bt){for(kt=mt+2;kt>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(h>>>=mt,p-=mt,0===i.have){e.msg="invalid bit length repeat",i.mode=dt;break}wt=i.lens[i.have-1],m=3+(3&h),h>>>=2,p-=2}else if(17===bt){for(kt=mt+3;kt>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}h>>>=mt,p-=mt,wt=0,m=3+(7&h),h>>>=3,p-=3}else{for(kt=mt+7;kt>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}h>>>=mt,p-=mt,wt=0,m=11+(127&h),h>>>=7,p-=7}if(i.have+m>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=dt;break}for(;m--;)i.lens[i.have++]=wt}}if(i.mode===dt)break;if(0===i.lens[256]){e.msg="invalid code -- missing end-of-block",i.mode=dt;break}if(i.lenbits=9,Et={bits:i.lenbits},_t=x(_,i.lens,0,i.nlen,i.lencode,0,i.work,Et),i.lenbits=Et.bits,_t){e.msg="invalid literal/lengths set",i.mode=dt;break}if(i.distbits=6,i.distcode=i.distdyn,Et={bits:i.distbits},_t=x(E,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,Et),i.distbits=Et.bits,_t){e.msg="invalid distances set",i.mode=dt;break}if(i.mode=tt,t===S)break e;case tt:i.mode=it;case it:if(l>=6&&u>=258){e.next_out=a,e.avail_out=u,e.next_in=s,e.avail_in=l,i.hold=h,i.bits=p,y(e,g),a=e.next_out,o=e.output,u=e.avail_out,s=e.next_in,r=e.input,l=e.avail_in,h=i.hold,p=i.bits,i.mode===J&&(i.back=-1);break}for(i.back=0;Tt=i.lencode[h&(1<<i.lenbits)-1],mt=Tt>>>24,vt=Tt>>>16&255,bt=65535&Tt,!(p>=mt);){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(vt&&0===(240&vt)){for(At=mt,yt=vt,xt=bt;Tt=i.lencode[xt+((h&(1<<At+yt)-1)>>At)],mt=Tt>>>24,vt=Tt>>>16&255,bt=65535&Tt,!(p>=At+mt);){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}h>>>=At,p-=At,i.back+=At}if(h>>>=mt,p-=mt,i.back+=mt,i.length=bt,0===vt){i.mode=at;break}if(32&vt){i.back=-1,i.mode=J;break}if(64&vt){e.msg="invalid literal/length code",i.mode=dt;break}i.extra=15&vt,i.mode=nt;case nt:if(i.extra){for(kt=i.extra;kt>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}i.length+=h&(1<<i.extra)-1,h>>>=i.extra,p-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=rt;case rt:for(;Tt=i.distcode[h&(1<<i.distbits)-1],mt=Tt>>>24,vt=Tt>>>16&255,bt=65535&Tt,!(p>=mt);){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(0===(240&vt)){for(At=mt,yt=vt,xt=bt;Tt=i.distcode[xt+((h&(1<<At+yt)-1)>>At)],mt=Tt>>>24,vt=Tt>>>16&255,bt=65535&Tt,!(p>=At+mt);){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}h>>>=At,p-=At,i.back+=At}if(h>>>=mt,p-=mt,i.back+=mt,64&vt){e.msg="invalid distance code",i.mode=dt;break}i.offset=bt,i.extra=15&vt,i.mode=ot;case ot:if(i.extra){for(kt=i.extra;kt>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}i.offset+=h&(1<<i.extra)-1,h>>>=i.extra,p-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=dt;break}i.mode=st;case st:if(0===u)break e;if(m=g-u,i.offset>m){if(m=i.offset-m,m>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=dt;break}m>i.wnext?(m-=i.wnext,ft=i.wsize-m):ft=i.wnext-m,m>i.length&&(m=i.length),gt=i.window}else gt=o,ft=a-i.offset,m=i.length;m>u&&(m=u),u-=m,i.length-=m;do o[a++]=gt[ft++];while(--m);0===i.length&&(i.mode=it);break;case at:if(0===u)break e;o[a++]=i.length,u--,i.mode=it;break;case lt:if(i.wrap){for(;32>p;){if(0===l)break e;l--,h|=r[s++]<<p,p+=8}if(g-=u,e.total_out+=g,i.total+=g,g&&(e.adler=i.check=i.flags?A(i.check,o,g,a-g):b(i.check,o,g,a-g)),g=u,(i.flags?h:n(h))!==i.check){e.msg="incorrect data check",i.mode=dt;break}h=0,p=0}i.mode=ut;case ut:if(i.wrap&&i.flags){for(;32>p;){if(0===l)break e;l--,h+=r[s++]<<p,p+=8}if(h!==(4294967295&i.total)){e.msg="incorrect length check",i.mode=dt;break}h=0,p=0}i.mode=ct;case ct:_t=j;break e;case dt:_t=R;break e;case ht:return I;case pt:default:return P}return e.next_out=a,e.avail_out=u,e.next_in=s,e.avail_in=l,i.hold=h,i.bits=p,(i.wsize||g!==e.avail_out&&i.mode<dt&&(i.mode<lt||t!==k))&&d(e,e.output,e.next_out,g-e.avail_out)?(i.mode=ht,I):(f-=e.avail_in,g-=e.avail_out,e.total_in+=f,e.total_out+=g,i.total+=g,i.wrap&&g&&(e.adler=i.check=i.flags?A(i.check,o,g,e.next_out-g):b(i.check,o,g,e.next_out-g)),e.data_type=i.bits+(i.last?64:0)+(i.mode===J?128:0)+(i.mode===tt||i.mode===Y?256:0),(0===f&&0===g||t===k)&&_t===C&&(_t=M),_t)}function p(e){if(!e||!e.state)return P;var t=e.state;return t.window&&(t.window=null),e.state=null,C}function f(e,t){var i;return e&&e.state?(i=e.state,0===(2&i.wrap)?P:(i.head=t,t.done=!1,C)):P}var g,m,v=e("../utils/common"),b=e("./adler32"),A=e("./crc32"),y=e("./inffast"),x=e("./inftrees"),w=0,_=1,E=2,k=4,T=5,S=6,C=0,j=1,L=2,P=-2,R=-3,I=-4,M=-5,O=8,N=1,D=2,B=3,H=4,F=5,q=6,z=7,U=8,W=9,X=10,V=11,J=12,G=13,Z=14,Y=15,Q=16,K=17,$=18,et=19,tt=20,it=21,nt=22,rt=23,ot=24,st=25,at=26,lt=27,ut=28,ct=29,dt=30,ht=31,pt=32,ft=852,gt=592,mt=15,vt=mt,bt=!0;i.inflateReset=s,i.inflateReset2=a,i.inflateResetKeep=o,i.inflateInit=u,i.inflateInit2=l,i.inflate=h,i.inflateEnd=p,i.inflateGetHeader=f,i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":2,"./adler32":4,"./crc32":6,"./inffast":8,"./inftrees":10}],10:[function(e,t){var i=e("../utils/common"),n=15,r=852,o=592,s=0,a=1,l=2,u=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],c=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],d=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],h=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,p,f,g,m,v,b){var A,y,x,w,_,E,k,T,S,C=b.bits,j=0,L=0,P=0,R=0,I=0,M=0,O=0,N=0,D=0,B=0,H=null,F=0,q=new i.Buf16(n+1),z=new i.Buf16(n+1),U=null,W=0;for(j=0;n>=j;j++)q[j]=0;for(L=0;f>L;L++)q[t[p+L]]++;for(I=C,R=n;R>=1&&0===q[R];R--);if(I>R&&(I=R),0===R)return g[m++]=20971520,g[m++]=20971520,b.bits=1,0;for(P=1;R>P&&0===q[P];P++);for(P>I&&(I=P),N=1,j=1;n>=j;j++)if(N<<=1,N-=q[j],0>N)return-1;if(N>0&&(e===s||1!==R))return-1;for(z[1]=0,j=1;n>j;j++)z[j+1]=z[j]+q[j];for(L=0;f>L;L++)0!==t[p+L]&&(v[z[t[p+L]]++]=L);if(e===s?(H=U=v,E=19):e===a?(H=u,F-=257,U=c,W-=257,E=256):(H=d,U=h,E=-1),B=0,L=0,j=P,_=m,M=I,O=0,x=-1,D=1<<I,w=D-1,e===a&&D>r||e===l&&D>o)return 1;for(var X=0;;){X++,k=j-O,v[L]<E?(T=0,S=v[L]):v[L]>E?(T=U[W+v[L]],S=H[F+v[L]]):(T=96,S=0),A=1<<j-O,y=1<<M,P=y;do y-=A,g[_+(B>>O)+y]=k<<24|T<<16|S|0;while(0!==y);for(A=1<<j-1;B&A;)A>>=1;if(0!==A?(B&=A-1,B+=A):B=0,L++,0===--q[j]){if(j===R)break;j=t[p+v[L]]}if(j>I&&(B&w)!==x){for(0===O&&(O=I),_+=P,M=j-O,N=1<<M;R>M+O&&(N-=q[M+O],!(0>=N));)M++,N<<=1;if(D+=1<<M,e===a&&D>r||e===l&&D>o)return 1;x=B&w,g[x]=I<<24|M<<16|_-m|0}}return 0!==B&&(g[_+B]=j-O<<24|64<<16|0),b.bits=I,0}},{"../utils/common":2}],11:[function(e,t){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],12:[function(e,t){function i(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}t.exports=i},{}]},{},[1])(1)}),define("sb4core/base64",[],function(){if(!window.btoa||!window.atob){var e={};e.PADCHAR="=",e.ALPHA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e.makeDOMException=function(){var e,t;try{return new DOMException(DOMException.INVALID_CHARACTER_ERR)}catch(t){var i=new Error("DOM Exception 5");return i.code=i.number=5,i.name=i.description="INVALID_CHARACTER_ERR",i.toString=function(){return"Error: "+i.name+": "+i.message},i}},e.getbyte64=function(t,i){var n=e.ALPHA.indexOf(t.charAt(i));if(-1===n)throw e.makeDOMException();return n},e.decode=function(t){t=""+t;var i=e.getbyte64,n,r,o,s=t.length;if(0===s)return t;if(s%4!==0)throw e.makeDOMException();n=0,t.charAt(s-1)===e.PADCHAR&&(n=1,t.charAt(s-2)===e.PADCHAR&&(n=2),s-=4);var a=[];for(r=0;s>r;r+=4)o=i(t,r)<<18|i(t,r+1)<<12|i(t,r+2)<<6|i(t,r+3),a.push(String.fromCharCode(o>>16,o>>8&255,255&o));switch(n){case 1:o=i(t,r)<<18|i(t,r+1)<<12|i(t,r+2)<<6,a.push(String.fromCharCode(o>>16,o>>8&255));break;case 2:o=i(t,r)<<18|i(t,r+1)<<12,a.push(String.fromCharCode(o>>16))}return a.join("")},e.getbyte=function(t,i){var n=t.charCodeAt(i);if(n>255)throw e.makeDOMException();return n},e.encode=function(t){if(1!==arguments.length)throw new SyntaxError("Not enough arguments");var i=e.PADCHAR,n=e.ALPHA,r=e.getbyte,o,s,a=[];t=""+t;var l=t.length-t.length%3;if(0===t.length)return t;for(o=0;l>o;o+=3)s=r(t,o)<<16|r(t,o+1)<<8|r(t,o+2),a.push(n.charAt(s>>18)),a.push(n.charAt(s>>12&63)),a.push(n.charAt(s>>6&63)),a.push(n.charAt(63&s));switch(t.length-l){case 1:s=r(t,o)<<16,a.push(n.charAt(s>>18)+n.charAt(s>>12&63)+i+i);break;case 2:s=r(t,o)<<16|r(t,o+1)<<8,a.push(n.charAt(s>>18)+n.charAt(s>>12&63)+n.charAt(s>>6&63)+i)}return a.join("")},window.btoa=e.encode,window.atob=e.decode}}),define("lib/css!style/ui-lightness/jquery-ui-1.10.4.custom",[],function(){}),define("sb4core/init",["perload","css!style/axon.css","jquery","lib/jquery.mobile.custom.min","lib/mustache.min","jqueryui/core","jqueryui/widget","jqueryui/draggable","jqueryui/droppable","jqueryui/position","jqueryui/touch-punch.min","underscore_str","lib/notify","modernizr","mousewheel","scrollbar","pako_inflate","sb4core/base64","css!style/ui-lightness/jquery-ui-1.10.4.custom.css"],function(){window.JSON=JSON3,SB4API.stageLog("Axon runtime bootstrap: init started, core utilities loaded"),SB4API._OBJECT_KEY={CURRENT_CONTEXT:"[current_context]",MOVE_TIME:"_CONF_MOVE_TIME",LAYOUT_TIME:"_CONF_LAYOUT_TIME",EFFECT_TIME:"_CONF_EFFECT_TIME",EXIT_MSG:"_CONF_EXIT_MSG",EXIT_URL:"_CONF_EXIT_URL",XAPI_CONTEXT:"_CONF_XAPI_CONTEXT"},SB4API.handleError=function(e){SB4API.showErrorMessage&&alert(e)},SB4API.handleNetworkError=function(e){SB4API.networkError||(SB4API.networkError=!0,SB4API.handleError(e))},String.prototype.format=function(){if(0==arguments.length)return this;for(var e=this,t=0;t<arguments.length;t++)e=e.replace(new RegExp("\\{"+t+"\\}","g"),arguments[t]);return e},function(e){function t(e){var t=o.indexOf(e);t>=0&&o.splice(t,1)}var i=e.setTimeout,n=e.setInterval,r=e.clearInterval,o=[];e.sb4timers=o,e.setTimeout=function(e,n){var r=i(function(){e&&e(),t(r)},n);return o.push(r),r},e.setInterval=function(e,t){var i=n(e,t);return o.push(i),i},e.clearInterval=function(e){r(e),t(e)},e.clearTimeout=e.clearInterval}(window)}),define("sb4core/Logger",["jquery","underscore"],function(){function e(t,i){this.settings=sb4runtime.loggerSetting,this.category=t,this.last=(new Date).getTime(),this.level=void 0==this.settings[t]?1:this.settings[t],this.prefix=i?_.isFunction(i)?i:function(){return i}:e.getDefaultPrefix}return e.prototype._debug=function(e){this.level>=3&&this._log(arguments.length>1?arguments:e)},e.prototype._info=function(e){this.level>=2&&this._log(arguments.length>1?arguments:e)},e.prototype._warn=function(e){this.level>=1&&this._log(arguments.length>1?arguments:e)},e.prototype._log=function(e){if(console&&console.log){var t=(new Date).getTime();t-this.last>1e4&&(this.level=void 0==this.settings[this.category]?1:this.settings[this.category]),this.last=t;var i=[];if(_.isArguments(e)){for(n=0;n<e.length;n++)i.push(e[n]);i.unshift(this.prefix()),i.unshift(this.category)}else $.isArray(e)?(i=e,i.unshift(this.prefix()),i.unshift(this.category)):i.push(this.category+" "+this.prefix()+e);console.log.apply(console,Array.prototype.slice.call(i,0))}},e.getDefaultPrefix=function(){var e=new Date,t=e.getMinutes()+":"+e.getSeconds()+"."+e.getMilliseconds()+" ";return t},e}),define("util/jquery-color",["jquery"],function(e){!function(e,t){function i(e,t,i){var n=c[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:n.max<e?n.max:e)}function n(t){var i=l(),n=i._rgba=[];return t=t.toLowerCase(),f(a,function(e,r){var o,s=r.re.exec(t),a=s&&r.parse(s),l=r.space||"rgba";return a?(o=i[l](a),i[u[l].cache]=o[u[l].cache],n=i._rgba=o._rgba,!1):void 0}),n.length?("0,0,0,0"===n.join()&&e.extend(n,p.transparent),i):p[t]}function r(e,t,i){return i=(i+1)%1,1>6*i?e+(t-e)*i*6:1>2*i?t:2>3*i?e+(t-e)*(2/3-i)*6:e}var o="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",s=/^([\-+])=\s*(\d+\.?\d*)/,a=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,n,r){return new e.Color.fn.parse(t,i,n,r)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},c={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},h=e("<p>")[0],p,f=e.each;h.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=h.style.backgroundColor.indexOf("rgba")>-1,f(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(r,o,s,a){if(r===t)return this._rgba=[null,null,null,null],this;(r.jquery||r.nodeType)&&(r=e(r).css(o),o=t);var c=this,d=e.type(r),h=this._rgba=[];return o!==t&&(r=[r,o,s,a],d="array"),"string"===d?this.parse(n(r)||p._default):"array"===d?(f(u.rgba.props,function(e,t){h[t.idx]=i(r[t.idx],t)}),this):"object"===d?(r instanceof l?f(u,function(e,t){r[t.cache]&&(c[t.cache]=r[t.cache].slice())}):f(u,function(t,n){var o=n.cache;f(n.props,function(e,t){if(!c[o]&&n.to){if("alpha"===e||null==r[e])return;c[o]=n.to(c._rgba)}c[o][t.idx]=i(r[e],t,!0)}),c[o]&&e.inArray(null,c[o].slice(0,3))<0&&(c[o][3]=1,n.from&&(c._rgba=n.from(c[o])))}),this):void 0},is:function(e){var t=l(e),i=!0,n=this;return f(u,function(e,r){var o,s=t[r.cache];return s&&(o=n[r.cache]||r.to&&r.to(n._rgba)||[],f(r.props,function(e,t){return null!=s[t.idx]?i=s[t.idx]===o[t.idx]:void 0})),i}),i},_space:function(){var e=[],t=this;return f(u,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=l(e),r=n._space(),o=u[r],s=0===this.alpha()?l("transparent"):this,a=s[o.cache]||o.to(s._rgba),d=a.slice();return n=n[o.cache],f(o.props,function(e,r){var o=r.idx,s=a[o],l=n[o],u=c[r.type]||{};null!==l&&(null===s?d[o]=l:(u.mod&&(l-s>u.mod/2?s+=u.mod:s-l>u.mod/2&&(s-=u.mod)),d[o]=i((l-s)*t+s,r)))}),this[r](d)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),r=l(t)._rgba;return l(e.map(i,function(e,t){return(1-n)*r[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/255,i=e[1]/255,n=e[2]/255,r=e[3],o=Math.max(t,i,n),s=Math.min(t,i,n),a=o-s,l=o+s,u=.5*l,c,d;return c=s===o?0:t===o?60*(i-n)/a+360:i===o?60*(n-t)/a+120:60*(t-i)/a+240,d=0===a?0:.5>=u?a/l:a/(2-l),[Math.round(c)%360,d,u,null==r?1:r]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],o=e[3],s=.5>=n?n*(1+i):n+i-n*i,a=2*n-s;return[Math.round(255*r(a,s,t+1/3)),Math.round(255*r(a,s,t)),Math.round(255*r(a,s,t-1/3)),o]},f(u,function(n,r){var o=r.props,a=r.cache,u=r.to,c=r.from;l.fn[n]=function(n){if(u&&!this[a]&&(this[a]=u(this._rgba)),n===t)return this[a].slice();var r,s=e.type(n),d="array"===s||"object"===s?n:arguments,h=this[a].slice();return f(o,function(e,t){var n=d["object"===s?e:t.idx];null==n&&(n=h[t.idx]),h[t.idx]=i(n,t)}),c?(r=l(c(h)),r[a]=h,r):l(h)},f(o,function(t,i){l.fn[t]||(l.fn[t]=function(r){var o=e.type(r),a="alpha"===t?this._hsla?"hsla":"rgba":n,l=this[a](),u=l[i.idx],c;return"undefined"===o?u:("function"===o&&(r=r.call(this,u),o=e.type(r)),null==r&&i.empty?this:("string"===o&&(c=s.exec(r),c&&(r=u+parseFloat(c[2])*("+"===c[1]?1:-1))),l[i.idx]=r,this[a](l)))})})}),l.hook=function(t){var i=t.split(" ");f(i,function(t,i){e.cssHooks[i]={set:function(t,r){var o,s,a="";if("transparent"!==r&&("string"!==e.type(r)||(o=n(r)))){if(r=l(o||r),!d.rgba&&1!==r._rgba[3]){for(s="backgroundColor"===i?t.parentNode:t;(""===a||"transparent"===a)&&s&&s.style;)try{a=e.css(s,"backgroundColor"),s=s.parentNode}catch(u){}r=r.blend(a&&"transparent"!==a?a:"_default")}r=r.toRgbaString()}try{t.style[i]=r}catch(u){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook(o),e.cssHooks.borderColor={expand:function(e){var t={};return f(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},p=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(e)}),define("sb4core/DataUtil",["sb4core/Logger","jquery","util/jquery-color"],function(e){function t(){}function i(e,t,i,n){this.left=e,this.top=t,this.right=e+i,this.bottom=t+n}return t.logger=new e("util",function(){return e.getDefaultPrefix()+" DataUtil "}),t.LINE_DASH={0:[10,0],1:[10,10],2:[10,2],3:[5,2],4:[10,5,10],5:[10,5,10,2],6:[1,1],7:[3,4],8:[4,3,1,3],9:[8,3],10:[8,3,1,3],11:[8,3,1,3,1,3],12:[2,2],13:[2,2,1,1],14:[2,2,1,1,1,1]},t.FX_MAP={0:"",1:"clip",2:"drop",3:"explode",4:"fade",5:"fold",6:"highlight",7:"puff",8:"pulsate",9:"scale",10:"shake",11:"slide",12:"slider",13:"slidet",14:"slideb"},t.SVG_template=_.template('<svg id="svg_<%= id%>" focusable="false" xmlns="http://www.w3.org/2000/svg"  width="0" height="0"><defs><%= svgTag%></defs></svg>'),t.FILL_USE_TEMPLATE=_.template('<use  xlink:href="#<%= fillGroupId%>"  xlink:type="simple"  xlink:actuate="onLoad" id="<%= fillUseId%>" xlink:show="embed"></use>'),t.SHADOW_SVG_TEMPLATE=_.template('<svg aria-hidden="true"  focusable="false" width="100%" height="100%" style="top: 0px; left: 0px;">\n    <defs>\n        <filter id="<%= filterId%>" x="0" y="0" width="<%= filterWidth%>" height="<%= filterHeight%>">\n            <feOffset result="offOut" in="SourceGraphic" dx="<%= dx%>" dy="<%= dy%>"></feOffset>\n            <feGaussianBlur result="blurOut" in="offOut" stdDeviation="<%= blur%>"></feGaussianBlur>\n        </filter>\n    </defs>\n<use transform="scale(<%= scale%>)" fill="<%= fillColor%>" fill-opacity="<%= fillOpacity%>" xlink:href="#<%= shadowGroupId%>" xlink:type="simple" filter="url(#<%= filterId%>)" xlink:actuate="onLoad" id="<%= shadowId%>" xlink:show="embed"></use></svg>'),t.reservedEvents={onMove:!0,onShow:!0,onHide:!0},t.createFillUse=function(e,i){var n={};return n.fillGroupId=e,n.fillUseId=i,t.FILL_USE_TEMPLATE(n)},t.createShadowSvg=function(e,i,n,r,o){var s={},a=n.size/100,l=r*a+8*n.radius,u=o*a+8*n.radius,c=l/r*100+"%",d=u/o*100+"%",h=4*n.radius/a,p=4*n.radius/a,f=r*a,g=o*a,m=n.color.split(","),v=$.Color(m[0],m[1],m[2],1).toHexString();return s.shadowId=e,s.shadowGroupId=i,s.filterId=e+"_filter",s.filterWidth=c,s.filterHeight=d,s.dx=h,s.dy=p,s.blur=n.radius/a,s.rectWidth=f,s.rectHeight=g,s.fillColor=v,s.fillOpacity=t.getOpacityByTransparency(n.alpha),s.scale=a,t.SHADOW_SVG_TEMPLATE(s)},t.cacheFillSvg=function(e,i,n){null==i&&(i="");var r=+t.getJavaHashcode(e),o=i+r,s="#"+o;if(0==$(s).length){var a=$(e).attr("id",o),l=t.SVG_template({id:o,svgTag:a.prop("outerHTML")});$("#sb4Svg").append(l),SB4API.cacheSvgIdList.push(o)}return n.addClass(o),s},t.cacheShadowSvg=function(e,i,n){var r="#"+i;if(0==$(r).length){var o=t.SVG_template({id:i,svgTag:e});$("#sb4Svg").append(o),SB4API.cacheSvgIdList.push(i)}n.addClass(i)},t.cacheIconSvg=function(e,t){var i="#"+t;0==$(i).length&&$("#sb4Svg").append(e)},t.getColorHexString=function(e){return e=t.parseColor(e),e.toHexString()},t.isValidTransparencyValue=function(e){return e>=0&&100>=e||e>=0&&1>=e?!0:!1},t.getOpacityByTransparency=function(e){return e>1&&(e/=100),1-e},t.isWgt=function(e){return void 0==e?!1:_.isObject(e)&&"sb4"==e.namespace&&void 0!=e.widgetFullName&&null!=e.options?!0:!1},t.isDeleteWgt=function(e){return void 0==e?!1:_.isObject(e)&&"sb4"==e.namespace&&void 0!=e.widgetFullName&&null==e.options?!0:!1},t.stringToHtml=function(e){for(var t=[],i=e.split(/\n/),n=jQuery(document.createElement("div")),r=0;r<i.length;r++)t.push(n.text(i[r]).html());return t.join("<br>")},t.getStageElement=function(){var e=$(".com_smartbuilder_axon_widget_frame").eq(0);return e},t.computeFloatPositionOffset=function(e,i,n,r){var o=t.getPageOffset(),s=$(".com_smartbuilder_axon_widget_frame").eq(0),a={};return r?("L"==e.h?a.left=i.left:a.right=s.width()-i.left-n[0],"T"==e.v?a.top=i.top:a.bottom=s.height()-i.top-n[1]):("L"==e.h?a.left=s.offset().left<o.leftOffset?i.left-(o.leftOffset-s.offset().left):i.left:a.right=s.offset().left+s.width()<o.leftOffset+document.documentElement.clientWidth?s.width()-n[0]-i.left:o.leftOffset+document.documentElement.clientWidth-s.offset().left-n[0]-i.left,"T"==e.v?a.top=s.offset().top<o.topOffset?i.top-o.topOffset+s.offset().top:i.top:a.bottom=s.offset().top+s.height()<o.topOffset+document.documentElement.clientHeight?s.height()-n[1]-i.top:o.topOffset+document.documentElement.clientHeight-s.offset().top-n[1]-i.top),a},t.floatWidgetPosition=function(e){var i=e._getFloatPositionOffset();if(i){var n=t.getPageOffset(),r=SB4API.rootContext.get("[frame]",!0).element,o=e.getPos();for(var s in i)"left"==s?o.left=r.offset().left<n.leftOffset?n.leftOffset-r.offset().left+i[s]:i[s]:"right"==s?o.left=r.offset().left+r.width()<n.leftOffset+document.documentElement.clientWidth?r.width()-i[s]:n.leftOffset+document.documentElement.clientWidth-r.offset().left-i[s]:o.top="top"==s?r.offset().top<n.topOffset?n.topOffset-r.offset().top+i[s]:i[s]:r.offset().top+r.height()<n.topOffset+document.documentElement.clientHeight?r.height()-i[s]:n.topOffset+document.documentElement.clientHeight-r.offset().top-i[s];e.changePos(o)}},t.getPageOffset=function(){var e={};return e.leftOffset=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,e.topOffset=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,e},t.floatWidgetsPosition=function(){for(var e=$(".float_axon_sbobj:visible"),i=[],n=0;n<e.length;n++){var r=e.eq(n),o=t.getStageObjectInstanceByElement(r);!o||!o.widgetFullName||_.string.endsWith(o.widgetFullName,"frame")||_.string.endsWith(o.widgetFullName,"slideset")||_.string.endsWith(o.widgetFullName,"slide")||i.push(o)}for(var s=t.getPageOffset(),a=SB4API.rootContext.get("[frame]",!0).element,n=0;n<i.length;n++){var o=i[n],l=o._getFloatPositionOffset(),u=o.getPos();for(var c in l)"left"==c?u.left=a.offset().left<s.leftOffset?s.leftOffset-a.offset().left+l[c]:l[c]:"right"==c?u.left=a.offset().left+a.width()<s.leftOffset+document.documentElement.clientWidth?a.width()-l[c]:s.leftOffset+document.documentElement.clientWidth-a.offset().left-l[c]:u.top="top"==c?a.offset().top<s.topOffset?s.topOffset-a.offset().top+l[c]:l[c]:a.offset().top+a.height()<s.topOffset+document.documentElement.clientHeight?a.height()-l[c]:s.topOffset+document.documentElement.clientHeight-a.offset().top-l[c];o.changePos(u)}},t.calculateTabindex=function(){for(var e=$(".axon_sbobj:visible"),i=[],n=0;n<e.length;n++){var r={},o=e.eq(n),s=t.getStageObjectInstanceByElement(o);!s||!s.widgetFullName||_.string.endsWith(s.widgetFullName,"frame")||_.string.endsWith(s.widgetFullName,"slideset")||_.string.endsWith(s.widgetFullName,"slide")||i.push(s)}if(1==SB4API.tabOrder){var a=function(e,t){var i=e.getPos(),n=t.getPos(),r=i.top,o=i.left,s=n.top,a=n.left;return s>r?-1:r>s?1:a>o?-1:o>a?1:0};i.sort(a);for(var n=0;n<i.length;n++){var l=n+2;i[n].setTabIndex(l)}}else for(var n=0;n<i.length;n++)i[n].setTabIndex(0)},t.calculateTabOrder=function(){for(var e=$(".axon_sbobj:visible"),i=[],n=0;n<e.length;n++){var r={},o=e.eq(n),s=t.getStageObjectInstanceByElement(o);!s||!s.widgetFullName||_.string.endsWith(s.widgetFullName,"frame")||_.string.endsWith(s.widgetFullName,"slideset")||_.string.endsWith(s.widgetFullName,"slide")||i.push(s)}var a=function(e,t){var i=e.getPos(),n=t.getPos(),r=i.top,o=i.left,s=n.top,a=n.left;return s>r?-1:r>s?1:a>o?-1:o>a?1:0};i.sort(a);for(var l=[],u=-1,c="",n=0;n<i.length;n++){var s=i[n],d=s.options._i;s.setTabIndex(-1),s.setAccessibilityHidden(!0);var h=s.getScreenReaderTabElement();if(h)for(var p=0;p<h.length;p++)if(h[p].get(0)==document.activeElement){u=n,c=d,s.setTabIndex(0),s.setAccessibilityHidden(!1);break}l.push(d)}if(-1!=u||c){SB4TabOrder.focusElement=c;var f=l.slice(0,u),g=l.slice(u+1);f=f.reverse(),SB4TabOrder.nextOrder=g,SB4TabOrder.previousOrder=f}else SB4TabOrder.nextOrder=l,SB4TabOrder.focusElement="",SB4TabOrder.previousOrder=[];SB4TabOrder.normalOrder=l},t.parseNumber=function(e){var t=0;return e===!1||(e===!0?t=1:($.isNumeric(e)===!0&&(t=parseFloat(e)),isNaN(t)&&(t=0))),t},t.parseArray=function(e){return $.isArray(e)?e:[]},t.parseArrayWithSingle=function(e){return $.isArray(e)?e:void 0==e?[]:[e]},t.parseString=function(e){var i="";return void 0!=e&&null!=e&&(i=t.isWgt(e)?"object:"+e.options._n:e.toString()),i},t.parseLabelArray=function(e){return $.isArray(e)?_.map(e,function(e){return t.parseString(e)}):t.parseString(e).split(",")},t.parseBoolean=function(e){return _.isBoolean(e)?e:t.isTrue(_.isString(e)?e.toLowerCase().trim():e)},t.parseJSON=function(e){var i={};if($.isPlainObject(e))i=e;else if(void 0!=e&&null!=e){var n=t.parseString(e);try{i=JSON.parse(n)}catch(r){}}return i},t.valueEquals=function(e,t){var i=!1;return i="object"==typeof e||"object"==typeof t?e===t:e==t},t.equalsInUppercase=function(e,i){return t.parseString(e).toUpperCase()===t.parseString(i).toUpperCase()},t.deleteItem=function(e,i){for(var n=0;n<e.length;)t.valueEquals(e[n],i)?e.splice(n,1):n++},t.containsItem=function(e,i){for(var n=!1,r=0;r<e.length;r++)if(t.valueEquals(e[r],i)){n=!0;break}return n},t.toRadians=function(e){return e/180*Math.PI},t.toDegrees=function(e){return 180*e/Math.PI},t.isTrue=function(e){return 1==e||"true"==e||"TRUE"==e||1==e?!0:!1},t.isFalse=function(e){return 0==e||"false"==e||"FALSE"==e||0==e?!0:!1},t.parseInt=function(e,i){return t.getInt(e,i)},t.getInt=function(e,t){return $.isNumeric(e)===!0?parseInt(e):(void 0==t&&(t=0),t)},t.getDefaultString=function(e,t){return(null==e||void 0==e||"undefined"==e||"null"==e)&&(e=t),e},t.getPositiveInt=function(e){var t=/^\d+$/;return t.test(e)},t.parseColor=function(e){var t=$.Color("white");try{t=$.Color(e)}catch(i){}if(null==t&&6==e.length){e="#"+e;try{t=$.Color(e)}catch(i){}}return t},t.serializeXML=function(e){var t=void 0;if(window.ActiveXObject&&(t=e[0].xml),void 0===t){var i=new XMLSerializer;t=i.serializeToString(e[0])}return t},t.getJavaHashcode=function(e){var t=0,i=e.length,n,r;if(0===i)return t;for(n=0;i>n;n++)r=e.charCodeAt(n),t=(t<<5)-t+r,t&=t;return t},t.trimRefString=function(e){return null==e||""==e?e:(0===e.lastIndexOf("#",0)&&(e=e.substring(1)),e)},t.collectTextNodes=function(e,t){for(var i=e.firstChild;null!==i;i=i.nextSibling)3===i.nodeType?t.push(i):1===i.nodeType&&collectTextNodes(i,t)},t.getText=function(e){var i=[];t.collectTextNodes(e,i);for(var n=i.length;n-->0;)i[n]=i[n].data;return i.join("\n")},t.createSVGElement=function(e){return $(document.createElementNS("http://www.w3.org/2000/svg",e))},t.createRegExp=function(e,i){e=t.parseString(e);var n;try{n=i?new RegExp(e,i):new RegExp(e)}catch(r){t.logger._warn(n+" can not parse as RegExp")}return n},t.parsePosition=function(e){var i=[];if(_.isArray(e))for(i=e.slice(0,2);i.length<2;)i.push(0);else _.isObject(e)?(i.push(e.left?e.left:0),i.push(e.top?e.top:0)):_.isString(e)?-1!=e.indexOf(",")&&(i=e.split(",",2)):(i.push(0),i.push(0));return i=_.map(i,function(e){return t.parseNumber(e)})},t.parseSize=function(e){var i=[];if(_.isArray(e))for(i=e.slice(0,2);i.length<2;)i.push(0);
else _.isObject(e)?(i.push(e.width?e.width:0),i.push(e.height?e.height:0)):_.isString(e)?-1!=e.indexOf(",")&&(i=e.split(",",2)):(i.push(0),i.push(0));return i=_.map(i,function(e){return t.parseNumber(e)})},t.setGradientBackground=function(e,t,i){if(""!=t){var n="";if(n=JSON.parse(void 0!=t.subs?t.gradient:t),null!=n){var r="none;",o="none;",t=n[0];switch(t.typeValue){case"gradient":r=t.angle+"deg",o=t.angle-90+"deg";for(var s=0;s<t.stopList.length;s++){var a=t.stopList[s].color;r+=", rgba("+a.red+" , "+a.green+" , "+a.blue+" , "+(1-t.stopList[s].opacity)+") "+t.stopList[s].position+"%",o+=", rgba("+a.red+" , "+a.green+" , "+a.blue+" , "+(1-t.stopList[s].opacity)+") "+t.stopList[s].position+"%"}break;case"solid":case"white":var a=t.solidColor;r="rgb("+a.red+" , "+a.green+" , "+a.blue+")";break;case"image":r=i.getWidgetAssetURI(t.imageId);break;case"none":r="none;"}if("gradient"==t.typeValue)e.css("background","-moz-linear-gradient("+r+")"),e.css("background","-webkit-linear-gradient("+r+")"),e.css("background","-ms-linear-gradient("+r+")"),e.css("background","-o-linear-gradient("+r+")"),e.css("background","linear-gradient("+o+")");else if("image"==t.typeValue){var l=$("<img>");l.attr("width",e.css("width")),l.attr("height",e.css("height")),l.attr("src",r),e.prepend(l)}else e.css("background",r)}}},t.parseWidgetArray=function(e){var i=[];return _.isArray(e)?$.each(e,function(e,n){t.isWgt(n)&&i.push(n)}):t.isWgt(e)&&i.push(e),i},t.parseJQueryArray=function(e){var i=[];return _.isArray(e)?$.each(e,function(e,n){t.isWgt(n)&&i.push(n.element)}):t.isWgt(e)&&i.push(e.element),i},t.getStageObjectInstanceByElement=function(e){var t=$(e);return t.data("sb4type")?t[t.data("sb4type")]("instance"):null},t.computeWidgetBoundingRect=function(e){var e=t.parseWidgetArray(e),i=t.createRect(0,0,0,0);return _.each(e,function(e,t,n){var r=e.getPos(),o=e.getSize(),s=Datautil.createRect(r[0],r[1],o[0],o[1]);i=i.isEmpty()?s:i.union(s)}),i},t.computeFitting=function(e,i,n,r){r=t.parseNumber(r);var e=t.parseWidgetArray(e),o=t.createRect(0,0,0,0),s=r,a=r,l=0,u=0;return _.each(e,function(e,t,s){var a=e.getSize(),c=parseInt(a[0]),d=parseInt(a[1]);"row"==n?(i>0&&u+c+r>i&&(o.height+=r,u=r,l=0),d>l&&(o.height+=d-l,l=d),u+=c+r,o.width<u&&(o.width=u)):(o.height+=d,o.width<2*r+c&&(o.width=2*r+c),o.height+=r)}),o},t.layoutWidgets=function(e,i,n,r,o,s){r=t.parseNumber(r);var a=t.parseWidgetArray(i),l=o;void 0==o&&(l=SB4API._CONF._LAYOUT_TIME);var u=_.clone(a);u.push(e);var c=t.waitForWgtsAnimated(u),d=c.then(function(){if(a=t.parseJQueryArray(a),a=_.uniq(a),a=_.without(a,e.element),a.length>0&&t.isWgt(e)){e=e.element;var i=e.position(),o=e.get(0).getBoundingClientRect(),s=o.width,u=o.height;if("row"==n){var c=r,d=r,h=0;$.each(a,function(n,o){var a=o.get(0).getBoundingClientRect(),u=a.width,p=a.height;o.position({my:"left top",at:"left+"+c+" top+"+d,collision:"none",of:e,using:function(e,a){if(0==n)o.animate(e,{queue:!0,duration:l,complete:function(){t.getStageObjectInstanceByElement(o)._updateDropZones()}});else{var f=i.left+s;e.left+u>f?(c=r,d+=h+r,h=0,e.left=i.left+c,e.top=e.top+p+r,o.animate(e,{queue:!0,duration:l,complete:function(){t.getStageObjectInstanceByElement(o)._updateDropZones()}})):o.animate(e,{queue:!0,duration:l,complete:function(){t.getStageObjectInstanceByElement(o)._updateDropZones()}})}}}),c=c+u+r,p>h&&(h=p)})}else{var p=0;$.each(a,function(e,t){p+=t.get(0).getBoundingClientRect().height}),p+=r*(a.length-1),p/=2,$.each(a,function(t,i){var n=i.get(0).getBoundingClientRect().height,o=p-n/2,s="center center";s+=0>o?"+"+Math.abs(o):"-"+o,i.position({my:"center center",at:s,collision:"none",of:e}),p-=n+r})}}});return 1==s&&(d=d.then(function(){return t.waitForWgtsAnimated(u)})),d},t.waitForWgtsAnimated=function(e){var i=50,n=this,r=$.Deferred(),o=t.parseJQueryArray(e),s=!1;if($.each(o,function(e,t){(t.is(":animated")||null!=t.data("showfx_status")||null!=t.data("status"))&&(s=!0)}),s){var a=r.then(function(){return n.waitForWgtsAnimated(e)});return setTimeout(function(){r.resolve()},i),a}return r.resolve(),r},t.stringify=function(e){var i=[],n=JSON.stringify(e,function(e,n){if("object"==typeof n&&null!==n){if(-1!==i.indexOf(n))return"[Circular]";if(t.isWgt(n))return n.options._n;if(t.isDeleteWgt(n))return"";i.push(n)}return n});return i=null,n},t.deepGet=function(e,t){for(var i=t.length,n=0;i>n;n++){if(null==e)return void 0;e=e[t[n]]}return i?e:void 0},t.isEmail=function(e){var t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)},t.stringifyStageJsonModel=function(e){var i=[],n=JSON.stringify(e,function(e,n){if(t.isWgt(n))try{n=n.option("_n")+"#"+n.option("_i")}catch(r){n="[object reference]"}else if(t.isDeleteWgt(n))n="(?#"+n._widgetId+")";else if("object"==typeof n&&null!==n){if(-1!==i.indexOf(n))return"[reference]";i.push(n)}return n});return i=null,n},t.getRotateSize=function(e,i){if(0!=i){var n=t.toRadians(i),r=Math.cos(n),o=Math.sin(n),s=e[0],a=e[1];e[0]=Math.abs(s*r)+Math.abs(a*o),e[1]=Math.abs(s*o)+Math.abs(a*r)}return e},t.getRotateRect=function(e,i){if(0!=i){var n=e[0],r=e[1],o=e[2],s=e[3],a=t.getRotateSize([o,s],i);e=[n+(o-a[0])/2,r+(s-a[1])/2,a[0],a[1]]}return e},t.getRotatePoint=function(e,i,n){var r=[],o=t.toRadians(n),s=Math.cos(o),a=Math.sin(o);return r[0]=(i[0]-e[0])*s-(i[1]-e[1])*a+e[0],r[1]=(i[0]-e[0])*a+(i[1]-e[1])*s+e[1],r},t.createRect=function(e,t,n,r){return void 0==e&&(e=0),void 0==t&&(t=0),void 0==n&&(n=0),void 0==r&&(r=0),new i(e,t,n,r)},t.supportsOrientation=function(){return"number"==typeof window.orientation&&"object"==typeof window.onorientationchange},t.supportsStyle=function(e){if(!$.isArray(e))return e+""in document.body.style;for(var t in e)if(e[t]+""in document.body.style==0)return!1;return!0},t.stringFilter=function(e){return null!=e&&(e=e.replace(/[^a-zA-Z0-9]/g,"_").replace(/_{2,}/g,"_").toLowerCase()),e},t.parseStringArray=function(e){if($.isArray(e)){var i=[];return _.each(e,function(e,n){i.push(t.parseString(e))}),e}return void 0==e?[]:[t.parseString(e)]},t.getCurrentMovePos=function(e,i,n){var r=$(e),o={};o.left=parseInt(r.css("left")),o.top=parseInt(r.css("top"));var s=t.getStageObjectInstanceByElement(r).getPos(),a={};if(_.has(i,"left")&&(a.left=parseInt(i.left)+(o.left-s.left)),_.has(i,"top")&&(a.top=parseInt(i.top)+(o.top-s.top)),n){var l=$(n),u={};u.left=parseInt(l.css("left")),u.top=parseInt(l.css("top"));var c=t.getStageObjectInstanceByElement(l).getPos();_.has(i,"left")&&(a.left=a.left+(c.left-u.left)),_.has(i,"top")&&(a.top=a.top+(c.top-u.top))}return a},i.fromRect=function n(e){return new i(e.left,e.top,e.right-e.left,e.bottom-e.top)},i.prototype={get x(){return this.left},get y(){return this.top},get width(){return this.right-this.left},get height(){return this.bottom-this.top},set x(e){var t=this.left-e;this.left=e,this.right-=t},set y(e){var t=this.top-e;this.top=e,this.bottom-=t},set width(e){this.right=this.left+e},set height(e){this.bottom=this.top+e},isEmpty:function r(){return this.left>=this.right||this.top>=this.bottom},setRect:function(e,t,i,n){return this.left=e,this.top=t,this.right=e+i,this.bottom=t+n,this},setBounds:function(e,t,i,n){return this.top=t,this.left=e,this.bottom=n,this.right=i,this},equals:function o(e){return null!=e&&(this.isEmpty()&&e.isEmpty()||this.top==e.top&&this.left==e.left&&this.bottom==e.bottom&&this.right==e.right)},clone:function s(){return new i(this.left,this.top,this.right-this.left,this.bottom-this.top)},center:function a(){if(this.isEmpty())throw"Empty rectangles do not have centers";var e={};return e.x=this.left+(this.right-this.left)/2,e.y=this.top+(this.bottom-this.top)/2,e},copyFrom:function(e){return this.top=e.top,this.left=e.left,this.bottom=e.bottom,this.right=e.right,this},translate:function(e,t){return this.left+=e,this.right+=e,this.top+=t,this.bottom+=t,this},toString:function(){return"["+this.x+","+this.y+","+this.width+","+this.height+"]"},union:function(e){return this.clone().expandToContain(e)},contains:function(e){return e.isEmpty()?!0:this.isEmpty()?!1:e.left>=this.left&&e.right<=this.right&&e.top>=this.top&&e.bottom<=this.bottom},intersect:function(e){return this.clone().restrictTo(e)},intersects:function(e){if(this.isEmpty()||e.isEmpty())return!1;var t=Math.max(this.left,e.left),i=Math.min(this.right,e.right),n=Math.max(this.top,e.top),r=Math.min(this.bottom,e.bottom);return i>t&&r>n},restrictTo:function l(e){if(this.isEmpty()||e.isEmpty())return this.setRect(0,0,0,0);var t=Math.max(this.left,e.left),i=Math.min(this.right,e.right),n=Math.max(this.top,e.top),r=Math.min(this.bottom,e.bottom);return this.setRect(t,n,Math.max(0,i-t),Math.max(0,r-n))},expandToContain:function u(e){if(this.isEmpty())return this.copyFrom(e);if(e.isEmpty())return this;var t=Math.min(this.left,e.left),i=Math.max(this.right,e.right),n=Math.min(this.top,e.top),r=Math.max(this.bottom,e.bottom);return this.setRect(t,n,i-t,r-n)},expandToIntegers:function c(){return this.left=Math.floor(this.left),this.top=Math.floor(this.top),this.right=Math.ceil(this.right),this.bottom=Math.ceil(this.bottom),this},scale:function d(e,t){return this.left*=e,this.right*=e,this.top*=t,this.bottom*=t,this},map:function h(e){return this.left=e.call(this,this.left),this.top=e.call(this,this.top),this.right=e.call(this,this.right),this.bottom=e.call(this,this.bottom),this},translateInside:function p(e){var t=0;this.left<=e.left?t=e.left-this.left:this.right>e.right&&(t=e.right-this.right);var i=0;return this.top<=e.top?i=e.top-this.top:this.bottom>e.bottom&&(i=e.bottom-this.bottom),this.translate(t,i)},subtract:function f(e){var t=new i(0,0,0,0),n=[];return e=e.intersect(this),e.isEmpty()?[this.clone()]:(t.setBounds(this.left,this.top,e.left,this.bottom),t.isEmpty()||n.push(t.clone()),t.setBounds(e.left,this.top,e.right,e.top),t.isEmpty()||n.push(t.clone()),t.setBounds(e.left,e.bottom,e.right,this.bottom),t.isEmpty()||n.push(t.clone()),t.setBounds(e.right,this.top,this.right,this.bottom),t.isEmpty()||n.push(t.clone()),n)},blend:function g(e,t){return new i(this.left+(e.left-this.left)*t,this.top+(e.top-this.top)*t,this.width+(e.width-this.width)*t,this.height+(e.height-this.height)*t)},inflate:function m(e,t){var i=(this.width*e-this.width)/2,n=arguments.length>1?t:e,r=(this.height*n-this.height)/2;return this.left-=i,this.right+=i,this.top-=r,this.bottom+=r,this}},t}),define("sb4core/sbobj",["module","jquery","jqueryui/widget","sb4core/DataUtil","lib/mustache.min"],function(e,t,i,n,r){r.escape=function(e){return e};var o=e.config(),s=o.widgetsvc,a=s.getShortUIKey();return t.widget(s.getFullUIKey(),{options:{_engine:null,_x:0,_y:0,_w:0,_h:0,_z:0,_i:"",_n:"",_dir:"",_p:null,_d:null},_create:function(){null!=this._getCurrentProfile()&&this._loadProfileData(),this.element.addClass(a),this.ignoreEventMap={};var e=this.options;this.tabindex=0,this.element.attr("id",e._i),this.element.css("visibility","hidden"),this.isSetFloatPos=!1,0==e._v?null==this._vv&&(this._vv=!1):null==this._vv&&(this._vv=!0),""!=e._dir&&this.element.attr("dir",e.dir),this.initialPos=null,this.element.css({width:e._w,height:e._h,top:e._y+"px",left:e._x+"px"}),e._w<0&&this.element.css({width:"auto"}),e._h<0&&this.element.css({height:"auto"}),this._isFloatWidthViewPort()?this.element.addClass("float_axon_sbobj"):this.element.removeClass("float_axon_sbobj"),this._util=n,this._pendingPaintMap={},this.clearVarRelation=!0},_getCurrentProfile:function(e){return null==e&&(e=SB4API.profile.current.id),this.options._prf?this.options._prf[e]:null},_isFloatWidthViewPort:function(){var e=this._getCurrentProfile();return null!=e?1==e.f.f:!1},_getFloatPositionOffset:function(){var e=this._getCurrentProfile(),t={};return"B"==e.f.v?t.bottom=e.r.y:t.top=e.r.y,"R"==e.f.h?t.right=e.r.x:t.left=e.r.x,t},_computeFloatPositionOffset:function(e){var t=void 0;return this._isFloatWidthViewPort()&&(t=this._util.computeFloatPositionOffset(this.floatPosition.f,this.getPos(),this.getSize(),e)),t},getFloatPositionOffset:function(){var e=this.options;return this.floatOffset||(this.floatOffset=this._computeFloatPositionOffset(!0)),this.floatOffset},changePos:function(e){this.setPos(e),this.initialPos=this.getPos()},_init:function(){this._getInitialPosition()},_destroy:function(e){this.dropZones=[],this.fxlst=null,void 0!=this.effectTimer&&(clearInterval(this.effectTimer),this.effectTimer=void 0),this._pendingPaintMap={};var t=this.options._i;this.options=null,this.element.removeClass(a),this.emptyElement(),this.element.attr("style"," ");var i=["bindings","hoverable","focusable","window","document","element"],n=_.difference(_.keys(this),i),r=this;_.each(n,function(e){var t=r[e];t instanceof jQuery&&(r[e]=void 0)}),this.tabElementArray=void 0,1!=e&&(this.element.removeData("sb4type"),this._widgetId=t)},emptyElement:function(){this.element.empty()},_debug:function(e){if(!1)var t=new Date},_getInitialPosition:function(){return null==this.initialPos&&(this.initialPos=this.getPos()),this.initialPos},fireEvent:function(e,i,n,r){if(!(0==this.getVisible()&&1!=r||SB4API.debug&&1==SB4API.debug.breakPoint)){if("onClick"==e&&void 0==i){var o=this.options._engine.objctx.get("[stageXY]");void 0!=o&&(i=o.slice(0))}if(this.options._engine){void 0==n&&(n=this.options._i);var s=e;if(null==this.ignoreEventMap[s]){var a={};t.isPlainObject(i)&&(a=_.clone(i)),a["[evtval]"]=_.clone(i),this.options._engine.addEvent(n,e,a)}if(null!=e&&0!=e.indexOf("sb4_evtx_")){var a={};t.isPlainObject(i)&&(a=_.clone(i)),a["[evtval]"]=_.clone(i),void 0==a.src&&(a.src=this),a.WGT_list=[this],a.WGT=this,a.v=e,s=a.v+".sb4_evtx_a",null==this.ignoreEventMap[s]&&this.options._engine.addEvent(void 0,"sb4_evtx_a",a)}}}},fireGlobalEvent:function(e,t){0!=this.getVisible()&&(SB4API.debug&&1==SB4API.debug.breakPoint||(null==t&&(t={}),t.broadcast=!0,this.options._engine&&this.options._engine.addEvent("flow",e,t)))},_setOption:function(e,t){this._super(e,t)},_showOrHide:function(e,t,i){var r=this,o=this.element,s=[];"none"==t?t="":(null==t||""==t)&&(t=this.options._fxi,"hide"==e&&(t=this.options._fxo),t=n.getInt(t,""),t=n.FX_MAP[t]),_.isObject(t)?s.push(t):_.str.isBlank(t)?s.push(null):(s=[{effect:t,duration:i,complete:function(){o.removeData("status")},prepare:function(){o.stop(!0,!0),o.data("status",e)}}],"slide"==t?(s[0].effect="slide",s[0].direction="left"):"slider"==t?(s[0].effect="slide",s[0].direction="right"):"slidet"==t?(s[0].effect="slide",s[0].direction="up"):"slideb"==t&&(s[0].effect="slide",s[0].direction="down")),s.push("_showOrHide"),s.push(i),null==this.fxlst&&(this.fxlst=[]),(0==this.fxlst.length||_.last(this.fxlst)[0]!=e)&&(this.fxlst.push([e,s]),1==this.fxlst.length&&void 0==r.effectTimer&&(r.effectTimer=setInterval(function(){if(void 0==o.data("status")){var e=r.fxlst;if(null!=e&&e.length>0){var t=e.shift();r[t[0]].apply(r,Array.prototype.slice.call(t[1],0))}else clearInterval(r.effectTimer),r.effectTimer=void 0}},0)))},_getVisibleIntentedChildren:function(){var e=[];return this.element.children(".axon_sbobj").each(function(i,n){var r=t(n).data("sb4-"+t(n).data("sb4type"));1==r._vv&&(e.push(r),e=_.union(e,r._getVisibleIntentedChildren()))}),e},_activate:function(e){this._super(e),this.highlight(!0)},highlight:function(e){e?0==this.element.find(".axon_highlight").length&&(this.hldiv=t('<div class="axon-ui-highlight notouch">').appendTo(this.element)):0!=this.element.find(".axon-ui-highlight").length&&this.element.find(".axon-ui-highlight").remove()},show:function(e,i,n){if("_showOrHide"!=i)return void this._showOrHide("show",e,n);if(this._vv=!0,!this.getVisible()&&this._isParentVisible()){this.element.css("visibility","hidden"),this.element.css("display","block"),this._paintWidgetShow(this._pendingPaintMap,!1);var r=this.options._engine,o=this,r=o.options._engine;o.element.children(".axon_sbobj").each(function(e,i){r.invokeWidgetMethod(t(i),"_onParentShowHide",[!0,!1])}),this.element.css("display","none"),this.element.css("visibility","inherit");var s=this.element.css("width"),a=this.element.css("height"),l=this.element.css("top"),u=this.element.css("left"),c=this.createShowElement(e);if(null==e);else{var d=this.options._d.type;if("com.smartbuilder.axon.widget.slide"==d||"com.smartbuilder.axon.widget.slideset"==d){var h=this.getSize();this.element.css("width",h[0]+"px"),this.element.css("height",h[1]+"px")}e.complete=_.wrap(e.complete,function(e){var i=o.getFxElement();null!=i&&(i.css("visibility",c.css("visibility")),i.css("display",c.css("display")),i.unwrap()),o._refreshFxElement(),o.element.css("width",s),o.element.css("height",a),o.element.css("top",l),o.element.css("left",u),o.element.children(".axon_sbobj").each(function(e,i){r.invokeWidgetMethod(t(i),"_onParentShowHide",[!0,!0])}),1==o._supportShowHidePostRender()&&o._paintWidgetShow(o._pendingPaintMap,!0),e()}),null!=e.prepare&&e.prepare()}c.show(e),null==e&&(o.element.children(".axon_sbobj").each(function(e,i){r.invokeWidgetMethod(t(i),"_onParentShowHide",[!0,!0])}),1==o._supportShowHidePostRender()&&o._paintWidgetShow(o._pendingPaintMap,!0))}},_supportShowHidePostRender:function(){return!1},getFxElement:function(){return null},createShowElement:function(e){var i=this.getFxElement();if(null==i||null==e)return this.element;var n=t("<div> </div>");n.css("position","absolute");var r=this._getRealBounds();n.css("height",r[3]+"px"),n.css("width",r[2]+"px"),n.css("top",r[1]+"px"),n.css("left",r[0]+"px"),n.css("display",i.css("display")),n.css("visibility",i.css("visibility")),i.css("display","block");var o=this._getLimitPos();return i.css("left",-1*o[0]+"px"),i.css("top",-1*o[1]+"px"),i.wrapAll(n),this._refreshFxElement(),i.parent(0)},createHideElement:function(e){var i=this.getFxElement();if(null==i||null==e)return this.element;var n=t("<div> </div>");n.css("position","absolute");var r=this._getRealBounds();n.css("height",r[3]+"px"),n.css("width",r[2]+"px"),n.css("top",r[1]+"px"),n.css("left",r[0]+"px");var o=this._getLimitPos();return i.css("left",-1*o[0]+"px"),i.css("top",-1*o[1]+"px"),i.wrapAll(n),n.css("display",i.css("display")),n.css("visibility",i.css("visibility")),i.css("visibility","inherit"),this._refreshFxElement(),i.parent(0)},_getLimitPos:function(){var e=this.getFxElement(),t=e.children("div");if(null!=e&&0!=t.length){var i=Number(t.css("left").replace("px","")),n=Number(t.css("top").replace("px","")),r=Number(t.css("left").replace("px",""))+Number(t.css("width").replace("px","")),o=Number(t.css("top").replace("px",""))+Number(t.css("height").replace("px","")),s=[];s.push(i),s.push(n),s.push(r),s.push(o),s=this._getMaxBounds(s,t);var a=[];return a.push(s[0]),a.push(s[1]),a}var a=[];return a.push(this.getPos().left),a.push(this.getPos().top),a},_getMaxBounds:function(e,t){var i=e[0],n=e[1],r=e[2],o=e[3],s=e;if(null!=t){if(0!=t.children("div").length)for(var a=t.children("div");null!=a&&a.is("div");)s=this._getMaxBounds(s,a),i=s[0],n=s[1],r=s[2],o=s[3],a=a.next();if(void 0!=t.css("left")&&void 0!=t.css("top")&&void 0!=t.css("width")&&void 0!=t.css("height")){var l=Number(t.css("left").replace("px","")),u=Number(t.css("top").replace("px","")),c=Number(t.css("left").replace("px",""))+Number(t.css("width").replace("px","")),d=Number(t.css("top").replace("px",""))+Number(t.css("height").replace("px",""));i=i>l?l:i,n=n>u?u:n,r=r>c?r:c,o=o>d?o:d}}var h=[];return h.push(i),h.push(n),h.push(r),h.push(o),h},_getRealBounds:function(){var e=this.getFxElement(),t=e.children("div");if(null!=e&&0!=t.length){var i=Number(t.css("left").replace("px","")),n=Number(t.css("top").replace("px","")),r=Number(t.css("left").replace("px",""))+Number(t.css("width").replace("px","")),o=Number(t.css("top").replace("px",""))+Number(t.css("height").replace("px","")),s=[];s.push(i),s.push(n),s.push(r),s.push(o),s=this._getMaxBounds(s,t);var a=Number(e.css("left").replace("px",""))+s[0],l=Number(e.css("top").replace("px",""))+s[1],u=s[2]-s[0],c=s[3]-s[1],d=[];return d.push(a),d.push(l),d.push(u),d.push(c),d}var d=[];return d.push(this.getPos().left),d.push(this.getPos().top),d.push(this.getSize()[0]),d.push(this.getSize()[1]),d},_refreshFxElement:function(){},hide:function(e,i,n){if("_showOrHide"!=i)return void this._showOrHide("hide",e,n);if(this._vv=!1,this.getVisible()&&this._isParentVisible()){var r=this._getVisibleIntentedChildren();_.each(r,function(e,t){e.fireEvent("onHide")}),this.fireEvent("onHide"),this.element.css("display","block");var o=this,s=o.options._engine;o._paintWidgetHide(!1),o.element.children(".axon_sbobj").each(function(e,i){s.invokeWidgetMethod(t(i),"_onParentShowHide",[!1])});var a=this.element.css("width"),l=this.element.css("height"),u=this.element.css("top"),c=this.element.css("left"),d=this.createHideElement(e);if(null==e);else{var h=this.options._d.type;if("com.smartbuilder.axon.widget.slide"==h||"com.smartbuilder.axon.widget.slideset"==h){var p=this.getSize();this.element.css("width",p[0]+"px"),this.element.css("height",p[1]+"px")}var f=function(){var e=o.getFxElement();if(null!=e){var i=d.css("visibility"),n=d.css("display");e.css("visibility",i),e.css("display",n),e.unwrap()}o.element.css("width",a),o.element.css("height",l),o.element.css("top",u),o.element.css("left",c),o.element.children(".axon_sbobj").each(function(e,i){s.invokeWidgetMethod(t(i),"_onParentShowHide",[!1,!0])}),1==o._supportShowHidePostRender()&&o._paintWidgetHide(!0)};e.complete=_.wrap(e.complete,function(e){f(),e()}),null!=e.prepare&&e.prepare()}d.hide(e),null==e&&(o.element.children(".axon_sbobj").each(function(e,i){s.invokeWidgetMethod(t(i),"_onParentShowHide",[!1,!0])}),1==o._supportShowHidePostRender()&&o._paintWidgetHide(!0))}},setVisible:function(e){e=this._util.parseBoolean(e),e?this.show():this.hide()},getVisible:function(){return"none"!=this.element.css("display")&&this._isParentVisible()},_isVisibleIntentionTrue:function(){var e=this.options;return 1==this._vv?null==e._p?!0:e._p._isVisibleIntentionTrue():!1},_isParentVisible:function(){var e=this.options;return null==e?!1:null==e._p?!0:e._p.getVisible()},_onParentShowHide:function(e,i){var n=this.options,r=this.getVisible();1==e&&0==r?(this.element.css("visibility","hidden"),this.element.css("display","block")):0==e&&1==r&&(this.element.css("visibility","hidden"),this.element.css("display","block"));var o=!1;1==e&&1==this._vv?1==i&&1==this._supportShowHidePostRender()?(this._paintWidgetShow(this._pendingPaintMap,i),o=!0):1!=i&&(this._paintWidgetShow(this._pendingPaintMap,i),o=!0):0==e&&(1==i&&1==this._supportShowHidePostRender()?this._paintWidgetHide(i):1!=i&&this._paintWidgetHide(i)),1==this._vv?(this.element.css("display","block"),1==e&&0==o&&"hidden"==this.element.css("visibility")&&this._firePaintRequest()):this.element.css("display","none"),this.element.css("visibility","inherit");var s=this.getVisible(),a=this.options._engine;this.element.children(".axon_sbobj").each(function(e,n){a.invokeWidgetMethod(t(n),"_onParentShowHide",[s,i])})},_firePaintRequest:function(e){null!=e&&_.isObject(e)&&_.extend(this._pendingPaintMap,e),this.getVisible()&&this._paintWidgetShow(this._pendingPaintMap,!0)},_paintWidgetShow:function(e,t){var i=this._pendingPaintMap;if(null!=i&&_.has(i,"_indicator")){var n=this.getAngle();if(0==n)this.indicator.position(i._indicator);else{var r=this.indicator.width(),o=this.indicator.height(),s=this.element.width(),a=this.element.height(),l=0,u=0,c=i._indicator,d=c.at.split(" "),h=c.my.split(" ");"right"===d[0]?l+=s:"center"===d[0]&&(l+=s/2),"bottom"===d[1]?u+=a:"center"===d[1]&&(u+=a/2),"right"===h[0]?l-=r:"center"===h[0]&&(l-=r/2),"bottom"===h[1]?u-=o:"center"===h[1]&&(u-=o/2),this.indicator.css("left",l+"px"),this.indicator.css("top",u+"px"),this.indicator.css("position","relative")}}this._pendingPaintMap={},1!=this.showEvtOK&&(this.showEvtOK=!0,this.fireEvent("onShow")),1!=t&&this._isFloatWidthViewPort()&&this._util.floatWidgetPosition(this)},_paintWidgetHide:function(e){this.showEvtOK=!1},getAngle:function(){return 0},_applyFontformat:function(e,t){null!=t&&(void 0!=t["class"]&&e.addClass(t["class"]),void 0!=t.fontSize&&e.css("font-size",t.fontSize+"px"),void 0!=t.fontFamily&&(_.str.contains(t.fontFamily,'"')||_.str.contains(t.fontFamily,",")?e.css("font-family",t.fontFamily+", Arial , serif"):e.css("font-family",'"'+t.fontFamily+'", Arial , serif')),void 0!=t.fontWeight&&e.css("font-weight",t.fontWeight),void 0!=t.fontStyle&&e.css("font-style",t.fontStyle))},_getElementWidgetInstance:function(e){return this._util.getStageObjectInstanceByElement(e)},_getUtil:function(){return n},getTags:function(){var e=t(this.element).attr("class").split(" "),i=[];for(var n in e)0==e[n].indexOf("tag-")&&i.push(e[n]);return i},_purgeDisabledDropZones:function(){this.dropZones=_.filter(this.dropZones,function(e){return e.getDroppable()})},_resetDropZones:function(){var e=[];if(this._getDropZones().length>0){for(var t in this.dropZones){var i=this.dropZones[t];i.droppedItems=_.without(i.droppedItems,this),e.push(i)}for(var t in e)this.dropZones=_.without(this.dropZones,e[t])}return e},_updateDropZones:function(){return;var e=[];if(this._getDropZones().length>0){for(var t in this.dropZones){var i=this.dropZones[t],r=n.createRect(this.getPos().left,this.getPos().top,this.getSize()[0],this.getSize()[1]),o=n.createRect(i.getPos().left,i.getPos().top,i.getSize()[0],i.getSize()[1]);o.contains(r)||(i.droppedItems=_.without(i.droppedItems,this),e.push(i))}for(var t in e)this.dropZones=_.without(this.dropZones,e[t])}return e},getPos:function(){var e={};return e.left=parseInt(t(this.element).css("left")),e.top=parseInt(t(this.element).css("top")),e},setPos:function(e){var i=n.parsePosition(e);t(this.element).css({left:Math.round(i[0]),top:Math.round(i[1])})},getSize:function(){var e=[];return e.push(parseInt(t(this.element).css("width"))),e.push(parseInt(t(this.element).css("height"))),n.getRotateSize(e,this.getAngle())},setSize:function(e){var i=n.parseSize(e);t(this.element).css({width:i[0],height:i[1]})},getFXSize:function(){return this.getSize()},addTask:function(e,t,i,r){if(this.options._engine){var o=_.uniqueId(this.options._i+"_"+e+"_"),s=this.options._engine.id+"_"+this.options._i+"_"+e+"_",a=this.options._engine.getSubEngineByID(s);null!=a&&a.destroy(),a=this.options._engine.addSubEngine(s,o),n.parseNumber(i)>=3&&(a.tick=i),a.burst=5,n.parseInt(r)<=0&&(r=1);for(var l=0;r>l;l++)a.addFunctionTask(this,e,t);this.options._engine.addDestroySubEngineTask(a),a.start()}},addIgnoreEvent:function(e){this._util.reservedEvents[e]||null==this.ignoreEventMap[e]&&(this.ignoreEventMap[e]=!0)},getXAPIActivity:function(){var e=this.options,t=[""];null!=this.options._d.type&&(t=this.options._d.type.split("."));var i={id:SB4API.xapi.getActivityId(_.string.truncate(e._n,50)+"-"+e._i),objectType:"Activity",definition:{type:"http://adlnet.gov/expapi/activities/cmi.interaction",interactionType:"other",name:{"en-US":_.string.prune(e._n,20)},description:{"en-US":"["+t[t.length-1]+"]"+e._n}}};return i},getXAPIResult:function(){return{}},getState:function(){},setState:function(e){},updateRelationByVar:function(e){var t=this.options._i,i=this.options._engine.objctx,n=i.get("[var_widget_id_map]");this.clearVarRelation&&_.each(_.keys(n),function(e){_.contains(n[e],t)&&(n[e]=_.without(n[e],t))});var r=e.match(/\{\{(.+?)\}\}/g),o=_.map(r,function(e){return e.replace("{{","").replace("}}","")});o=_.uniq(o,!0),o.length>0&&_.each(o,function(e){_.has(n,e)?_.contains(n[e],t)||n[e].push(t):n[e]=[t]})},getTextByVar:function(e){var t=this.options._engine.objctx,i=e.match(/\{\{(.+?)\}\}/g),n=_.map(i,function(e){return e.replace("{{","").replace("}}","")});n=_.uniq(n,!0);var o={};return n.length>0?(_.each(n,function(e){var i=t.get("^SB4_local_var_prefix_"+e);null==i&&(i=t.get("global "+e)),o[e]=i}),r.render(e,o)):e},drawText:function(e,i,n,r,o,s,a,l,u,c){this.updateRelationByVar(i),i=this.getTextByVar(i);var d=this.options;if(void 0==l&&(l=1),0==a&&n.css("width",""),"com.smartbuilder.axon.widget.text.richtext"==d._d.type||"com.smartbuilder.axon.widget.text.text"==d._d.type||t(n).attr("aria-hidden","true"),SB4API.txtLib){var h=a;if(-1>a&&(h=-a),a&&0>a)SB4API.txtLib.drawText(this,d._i,e,n,i,l,!1,!1,r,o,s,h,c),void 0!=u&&_.each(u,function(e,t){n.css(t,e)});else{var p=SB4API.txtLib.drawText(this,d._i,e,n,i,l,!1,!0,r,o,s,h,c);p&&2==p.length&&a>=0?(n.css("width",p[0]),n.css("height",p[1])):null!=p&0==p[2]&&void 0!=u&&_.each(u,function(e,t){n.css(t,e)})}}},drawRichText:function(e,i,n,r,o,s){this.updateRelationByVar(i),i=this.getTextByVar(i),0==o&&n.css("width",""),void 0==r&&(r=1);var a=void 0;void 0!=s&&(a=s.color);var l=this.options;if("com.smartbuilder.axon.widget.text.richtext"==l._d.type||"com.smartbuilder.axon.widget.text.text"==l._d.type||t(n).attr("aria-hidden","true"),SB4API.txtLib){var u=o;if(-1>o&&(u=-o),o&&0>o)SB4API.txtLib.drawText(this,l._i,e,n,i,r,!0,!1,void 0,void 0,void 0,u),void 0!=s&&_.each(s,function(e,t){n.css(t,e)});else{var c=SB4API.txtLib.drawText(this,l._i,e,n,i,r,!0,!0,void 0,void 0,a,u);c&&0==o&&(n.css("width",c[0]),n.css("height",c[1]))}}},handleLinkData:function(e){SB4API.linkLib.handleLinkData(this,e)},_onStageReady:function(){this.initialPos=this.getPos();var e=this.options._engine;this.element.children(".axon_sbobj").each(function(i,n){e.invokeWidgetMethod(t(n),"_onStageReady")}),0==this._vv&&this.element.css("display","none")},_timelineGoto:function(e){return!0},_timelinePlay:function(){this.show()},_timelineStop:function(e){0==e&&this.hide()},_play:function(){return this.getVisible()},_stop:function(){},_isPlaying:function(){return!1},setDraggable:function(e,t){e=this._util.parseBoolean(e);var i=this.element.draggable("instance"),n=this;if(null!=t&&1==e&&void 0!=i&&(n.mDragMap=void 0,this.element.draggable("destroy"),i=void 0),void 0==i){_.isUndefined(t)&&(t={});var r=t.dragstartCallback,o=t.dragstopCallback,s=t.mDragIDs;_.isUndefined(t.zIndex)&&(t.zIndex=1e6),_.isUndefined(t.start)&&(t.start=function(e,t){n.dragstart_stamp=e.timeStamp,n.fireEvent("dragstart");var i=n._resetDropZones();r&&r(e,t,n,i)}),_.isUndefined(t.drag)&&(t.drag=function(e,t){}),_.isUndefined(t.stop)&&(t.stop=function(e,t){n.dragstop_stamp=e.timeStamp,n.setPos(n.getPos()),n.fireEvent("dragstop"),o&&o(e,t,n)}),_.isArray(s)&&s.length>0&&(t.start=_.compose(t.start,function(e){return n.mDragMap={},_.each(s,function(e,t){var i=n.options._engine.getWgtByID(e);void 0!=i&&(i.element.css("zIndex",99999+t),n.mDragMap[e]={o:i,p:i.getPos()})}),e}),t.drag=_.compose(t.drag,function(e){if(void 0!=n.mDragMap){var t=n.mDragMap[n.options._i].p,i=n.getPos(),r={left:i.left-t.left,top:i.top-t.top};_.each(n.mDragMap,function(e){if(e!==n){var t=e.p,t=[e.p.left+r.left,e.p.top+r.top];e.o.setPos(t)}})}return e}),t.stop=_.compose(t.stop,function(e){return _.each(s,function(e,t){var i=n.options._engine.getWgtByID(e);void 0!=i&&i.element.css("zIndex","auto")}),n.mDragMap=void 0,e})),this.element.draggable(t)}0==e?this.element.draggable("disable"):(this.element.hasClass("notouch")&&this.element.removeClass("notouch"),this.element.draggable("enable"))},getDraggable:function(){var e=this.element.draggable("instance");return void 0!=e&&0==this.element.draggable("option","disabled")?!0:!1},setDroppable:function(e,t){e=this._util.parseBoolean(e);var i=this.element.droppable("instance");if(null!=t&&1==e&&void 0!=i&&(this.element.droppable("destroy"),i=void 0),void 0==i){var n=this;_.isUndefined(t)&&(t={});var r=t.dropCallback;_.isUndefined(t.accept)&&(t.accept=".ui-draggable"),_.isUndefined(t.drop)&&(t.drop=function(e,t){n.drop_stamp=e.timeStamp;var i=n._util.getStageObjectInstanceByElement(t.draggable);void 0==n.droppedItems&&(n.droppedItems=[]),void 0==i.dropZones&&(i.dropZones=[]),_.contains(i.dropZones,n)||i.dropZones.push(n),_.contains(n.droppedItems,i)||n.droppedItems.push(i),n.fireEvent("sb4_evtx_dragzone",{drop:n,drag:i,src:i,op:"drop"},""),r&&r(e,t,n,i)});var o=function(e,t){var i=n._util.getStageObjectInstanceByElement(t.draggable);return void 0==n.droppedItems&&(n.droppedItems=[]),void 0==i.dropZones&&(i.dropZones=[]),_.contains(i.dropZones,n)&&(i.dropZones=_.without(i.dropZones,n)),_.contains(n.droppedItems,i)&&(n.droppedItems=_.without(n.droppedItems,i)),n.fireEvent("sb4_evtx_dragzone",{drop:n,drag:i,src:i,op:"out"},""),n
};t.out=_.isUndefined(t.out)?o:_.wrap(t.out,function(e,t,i){o(t,i),e(t,i)});var s=function(e,t){var i=n._util.getStageObjectInstanceByElement(t.draggable);n.fireEvent("sb4_evtx_dragzone",{drop:n,drag:i,src:i,op:"over"},"")};t.over=_.isUndefined(t.over)?s:_.wrap(t.over,function(e,t,i){e(t,i),s(t,i)}),this.element.droppable(t)}this.element.droppable(0==e?"disable":"enable")},_getDroppedObjects:function(){var e=this.droppedItems;return e=null!=e?e.slice(0):[]},_getDropZones:function(){var e=this.dropZones;return e=null!=e?e.slice(0):[]},getDroppable:function(){var e=this.element.droppable("instance");return void 0!=e&&0==this.element.droppable("option","disabled")?!0:!1},setIndicator:function(e,i){return _.string.isBlank(e)?(this.indicator.remove(),void(this.indicator=void 0)):(void 0==this.indicator?(this.indicator=t("<image>"),t(this.indicator).appendTo(this.element)):this.indicator.removeClass(),this.indicator.addClass("indicator"),this.indicator.attr("id","ind-"+e),this.indicator.addClass("ind-"+e),void 0==i?i={my:"center center",at:"center center",of:this.element}:i.of=this.element,i.collision="none",void this._firePaintRequest({_indicator:i}))},getIndicator:function(){if(void 0==this.indicator)return"";var e=this.indicator.attr("id");return 0==e.indexOf("ind-")?e.substring(4):""},releaseMediaElement:function(e){if(t("#media").length>0)if("audio"==e){var i=t("#"+this.options._i+"_audio");i.hasClass("audio-used")&&(i.removeClass("audio-used"),i.addClass("audio-unused"),i.attr("src",""),i.attr("id",""),i.appendTo("#media"),i.off(),i.find("*").off())}else if("video"==e){var n=t("#"+this.options._i+"_video");n.hasClass("video-used")&&(n.removeClass("video-used"),n.addClass("video-unused"),n.attr("src",""),n.attr("id",""),n.appendTo("#media"),n.empty(),n.off(),n.find("*").off())}},getMediaElement:function(e,i){if("audio"==i){var r;if(n.supportsOrientation()){var o=t(".audio-unused");return o.length>0?(r=t(o[0]),r.removeClass("audio-unused"),r.addClass("audio-used"),r.appendTo(this.element),r.attr("src",e),r.attr("id",this.options._i+"_audio"),r[0].load(),r):(n.logger._warn("auto audio is all used, create new audio."),r=t("<audio></audio>"),r.appendTo(this.element),r.attr("src",e),r.attr("id",this.options._i+"_audio"),r[0].load(),r)}return r=t("<audio></audio>"),r.appendTo(this.element),null!=e&&""!=e&&r.attr("src",e),r.attr("id",this.options._i+"_audio"),r[0].load(),r}if("video"==i){var s;if(n.supportsOrientation()){var a=t(".video-unused");return a.length>0?(s=t(a[0]),s.removeClass("video-unused"),s.addClass("video-used"),s.appendTo(this.element),s.attr("src",e),s.attr("id",this.options._i+"_video"),s[0].load(),s):(n.logger._warn("auto video is all used, create new video."),s=t("<video></video>"),s.appendTo(this.element),s.attr("src",e),s.attr("id",this.options._i+"_video"),s[0].load(),s)}return s=t("<video></video>"),s.appendTo(this.element),s.attr("src",e),null!=e&&""!=e&&s.attr("id",this.options._i+"_video"),s[0].load(),s}},reset:function(){},refreshTabElement:function(){this.tabElementArray=void 0,this.setTabIndex(this.tabindex)},createTabElement:function(){return null},refreshTabElementLabel:function(){var e=this.getTabElementLabel();this.createTabLabelElement(e)},createTabLabelElement:function(e){if(e){this.labelDiv?(this.labelDiv.empty(),this.labelDiv.appendTo(this.element)):this.labelDiv=t("<div>").appendTo(this.element),this.labelDiv.css("display","none");for(var i=this.options,n=0;n<e.length;n++){var r=e[n].replace(new RegExp("\r\n","g"),"");r=r.replace(new RegExp("\r","g"),""),r=r.replace(new RegExp("\n","g"),"");var o=t("<div>").appendTo(this.labelDiv);o.attr("id",i._i+"_label_"+n),o.text(r),o.attr("role","tooltip")}}},getTabElementLabel:function(){return null},setScreenReaderElement:function(e){var t=e.texts;this.tabElementArray=e.tabElements;var i=this.options;if(this.tabElementArray){for(var n=0;n<this.tabElementArray.length;n++)this.tabElementArray[n].attr("aria-labelledby",i._i+"_label_"+n),this.tabindex&&this.tabElementArray[n].attr("tabindex",this.tabindex);this.createTabLabelElement(t)}},getScreenReaderTabElement:function(){return this.tabElementArray},getTabElementArray:function(){if(!this.tabElementArray){var e=this.options;if(this.tabElementArray=this.createTabElement(),this.tabElementArray){for(var t=0;t<this.tabElementArray.length;t++)this.tabElementArray[t].attr("aria-labelledby",e._i+"_label_"+t);var i=this.getTabElementLabel();this.createTabLabelElement(i)}else this.tabElementArray=[]}return this.tabElementArray},setTabIndex:function(e){if(this.tabindex=e,this.tabElementArray)for(var t=0;t<this.tabElementArray.length;t++)this.tabElementArray[t].attr("tabindex",e)},getTabIndex:function(){return this.tabindex},focus:function(){var e=this.options,i=t("<a>");i.attr("href","#"+e._i),i.get(0).click()},doSetFocus:function(e){var i=this;e=t(e),e.on("blur",function(){e.off("blur")}),e.focus()},setFocus:function(){this.tabElementArray&&this.tabElementArray.length>0&&(this.setTabIndex(this.getTabIndex()),this.tabElementArray[0].focus())},_enableKBEvent:function(e,t){var i=this,n="keydown",r="key_d";t&&(n="keyup",r="key_u");var n=n+"."+this.options._i+"_kbevt";e?(this.element.off(n),this.element.on(n,function(e){i.fireEvent("sb4_evtx_k",{op:r,V:i,src:i,V_list:[i],v:"[any]",evt:e},"")})):this.element.off(n)},setAccessibilityHidden:function(e){this.element.attr("aria-hidden",e)},_loadProfileData:function(e){var t=this.options;null==e&&(e=SB4API.profile.current.id);var i=this._getCurrentProfile(e);_.each(i.subs,function(e){_.extend(t,e)}),t._w=i.r.width,t._h=i.r.height;var n=SB4API.rootContext.get("[frame]",!0);t._x="R"==i.f.h?n.options._w-i.r.x:i.r.x,t._y="B"==i.f.v?n.options._h-i.r.y:i.r.y},_applyProfile:function(e){this.applyProfileFlag=!0;var t=e,i=this.options,n=this.getVisible();this._destroy(!0),this.options=i,this._create(),this._init(),this._onStageReady(),1==n&&this.element.css("visibility","inherit"),this._firePaintRequest(),this.applyProfileFlag=!1},changeProfile:function(e){var i=this.options._engine;this.element.children(".axon_sbobj").each(function(n,r){i.invokeWidgetMethod(t(r),"changeProfile",[e])}),null!=this._getCurrentProfile()&&this._applyProfile(e)},measureText:function(e,t,i,n){var r=document.createElement("DIV");r.innerText=e,r.style.position="absolute",r.style.top="-100px",r.style.left="-100px",r.style.fontFamily=i,r.style.fontWeight=t,r.style.fontSize=n+"px",document.body.appendChild(r);var o=[r.offsetWidth,r.offsetHeight];return document.body.removeChild(r),o}}),s.getShortUIKey()}),define("text",["module"],function(e){var t,i,n,r,o,s=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],a=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,l=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,u="undefined"!=typeof location&&location.href,c=u&&location.protocol&&location.protocol.replace(/\:/,""),d=u&&location.hostname,h=u&&(location.port||void 0),p={},f=e.config&&e.config()||{};return t={version:"2.0.12",strip:function(e){if(e){e=e.replace(a,"");var t=e.match(l);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:f.createXhr||function(){var e,t,i;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(t=0;3>t;t+=1){i=s[t];try{e=new ActiveXObject(i)}catch(n){}if(e){s=[i];break}}return e},parseName:function(e){var t,i,n,r=!1,o=e.indexOf("."),s=0===e.indexOf("./")||0===e.indexOf("../");return-1!==o&&(!s||o>1)?(t=e.substring(0,o),i=e.substring(o+1,e.length)):t=e,n=i||t,o=n.indexOf("!"),-1!==o&&(r="strip"===n.substring(o+1),n=n.substring(0,o),i?i=n:t=n),{moduleName:t,ext:i,strip:r}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,i,n,r){var o,s,a,l=t.xdRegExp.exec(e);return l?(o=l[2],s=l[3],s=s.split(":"),a=s[1],s=s[0],!(o&&o!==i||s&&s.toLowerCase()!==n.toLowerCase()||(a||s)&&a!==r)):!0},finishLoad:function(e,i,n,r){n=i?t.strip(n):n,f.isBuild&&(p[e]=n),r(n)},load:function(e,i,n,r){if(r&&r.isBuild&&!r.inlineText)return void n();f.isBuild=r&&r.isBuild;var o=t.parseName(e),s=o.moduleName+(o.ext?"."+o.ext:""),a=i.toUrl(s),l=f.useXhr||t.useXhr;return 0===a.indexOf("empty:")?void n():void(!u||l(a,c,d,h)?t.get(a,function(i){t.finishLoad(e,o.strip,i,n)},function(e){n.error&&n.error(e)}):i([s],function(e){t.finishLoad(o.moduleName+"."+o.ext,o.strip,e,n)}))},write:function(e,i,n,r){if(p.hasOwnProperty(i)){var o=t.jsEscape(p[i]);n.asModule(e+"!"+i,"define(function () { return '"+o+"';});\n")}},writeFile:function(e,i,n,r,o){var s=t.parseName(i),a=s.ext?"."+s.ext:"",l=s.moduleName+a,u=n.toUrl(s.moduleName+a)+".js";t.load(l,n,function(i){var n=function(e){return r(u,e)};n.asModule=function(e,t){return r.asModule(e,u,t)},t.write(e,l,n,o)},o)}},"node"===f.env||!f.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]?(i=require.nodeRequire("fs"),t.get=function(e,t,n){try{var r=i.readFileSync(e,"utf8");0===r.indexOf("﻿")&&(r=r.substring(1)),t(r)}catch(o){n&&n(o)}}):"xhr"===f.env||!f.env&&t.createXhr()?t.get=function(e,i,n,r){var o=t.createXhr(),s;if(o.open("GET",e,!0),r)for(s in r)r.hasOwnProperty(s)&&o.setRequestHeader(s.toLowerCase(),r[s]);f.onXhr&&f.onXhr(o,e),o.onreadystatechange=function(t){var r,s;4===o.readyState&&(r=o.status||0,r>399&&600>r?(s=new Error(e+" HTTP status: "+r),s.xhr=o,n&&n(s)):i(o.responseText),f.onXhrComplete&&f.onXhrComplete(o,e))},o.send(null)}:"rhino"===f.env||!f.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?t.get=function(e,t){var i,n,r="utf-8",o=new java.io.File(e),s=java.lang.System.getProperty("line.separator"),a=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(o),r)),l="";try{for(i=new java.lang.StringBuffer,n=a.readLine(),n&&n.length()&&65279===n.charAt(0)&&(n=n.substring(1)),null!==n&&i.append(n);null!==(n=a.readLine());)i.append(s),i.append(n);l=String(i.toString())}finally{a.close()}t(l)}:("xpconnect"===f.env||!f.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(n=Components.classes,r=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),o="@mozilla.org/windows-registry-key;1"in n,t.get=function(e,t){var i,s,a,l={};o&&(e=e.replace(/\//g,"\\")),a=new FileUtils.File(e);try{i=n["@mozilla.org/network/file-input-stream;1"].createInstance(r.nsIFileInputStream),i.init(a,1,0,!1),s=n["@mozilla.org/intl/converter-input-stream;1"].createInstance(r.nsIConverterInputStream),s.init(i,"utf-8",i.available(),r.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),s.readString(i.available(),l),s.close(),i.close(),t(l.value)}catch(u){throw new Error((a&&a.path||"")+": "+u)}}),t}),define("lib/json",["text"],function(text){function cacheBust(e){return e=e.replace(CACHE_BUST_FLAG,""),e+=e.indexOf("?")<0?"?":"&",e+CACHE_BUST_QUERY_PARAM+"="+Math.round(2147483647*Math.random())}var CACHE_BUST_QUERY_PARAM="bust",CACHE_BUST_FLAG="!bust",jsonParse="undefined"!=typeof JSON&&"function"==typeof JSON.parse?JSON.parse:function(val){return eval("("+val+")")},buildMap={};return{load:function(e,t,i,n){n.isBuild&&(n.inlineJSON===!1||-1!==e.indexOf(CACHE_BUST_QUERY_PARAM+"="))||0===t.toUrl(e).indexOf("empty:")?i(null):text.get(t.toUrl(e),function(t){n.isBuild?(buildMap[e]=t,i(t)):i(jsonParse(t))},i.error,{accept:"application/json"})},normalize:function(e,t){return-1!==e.indexOf(CACHE_BUST_FLAG)&&(e=cacheBust(e)),t(e)},write:function(e,t,i){if(t in buildMap){var n=buildMap[t];i('define("'+e+"!"+t+'", function(){ return '+n+";});\n")}}}}),define("lib/image",[],function(){function e(){}function t(e){return e=e.replace(n,""),e+=e.indexOf("?")<0?"?":"&",e+i+"="+Math.round(2147483647*Math.random())}var i="bust",n="!bust",r="!rel";return{load:function(t,i,n,o){var s;o.isBuild?n(null):(s=new Image,s.onerror=function(e){n.error(e)},s.onload=function(t){n(s);try{delete s.onload}catch(i){s.onload=e}},s.src=-1!==t.indexOf(r)?i.toUrl(t.replace(r,"")):t)},normalize:function(e,i){return-1===e.indexOf(n)?e:t(e)}}}),function(e){var t=document,i="appendChild",n="styleSheet",r=t.createElement("style");r.type="text/css",t.getElementsByTagName("head")[0][i](r),r[n]?r[n].cssText=e:r[i](t.createTextNode(e))}('/** * @license SmartBuilder4 HTML5 widget framework,Copyright (c) 2014 SuddenlySmart;* @author Kent Xu * @ver 20140529 */ html,body{margin:0;padding:0;font-family:Helvetica,Arial,Verdana,sans-serif;height:100%;width:100%;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;left:0px;top:0px;}.sb4stage{//width:800px;//height:600px;display:table;border:0px;position:relative;//overflow:hidden;}div.axon_sbobj{position:absolute;}.notouch{pointer-events:none;}.cursor_pointer{cursor:pointer;}.notVisible{display:none;}canvas.text{display:block;margin:0 auto;}.temp{}#fullscreen{position:fixed;top:0;left:0;bottom:0;right:0;z-index:100;background-color:rgba(218,218,218,1);}.fullscreen{position:fixed;top:0;left:0;bottom:0;right:0;z-index:10000;background-color:rgba(218,218,218,1);}.play{width:100px;height:100px;top:50%;left:50%;margin-top:-50px;margin-left:-50px;position:absolute;text-align:center;line-height:100px;z-index:100000;}.indicator{display:block;}.ind-1{width:32px;height:32px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABBUlEQVRYhe2WXQ2EMBCER0KlVAISkIKEcYAEJCABCUhAQiX0HuByFPqTbsrew90mfSLpN9nODgv86xtFGBAzCPsNuAWxgfAgVm14D8IdcAei04TzAL/hvRbYgJhOcA9i0IJbEOsFPmrC3QU+gTAa8C4CX7XgQwTudGZ+h/vIUXB8OGaKpouP2cd0FRcNINgQXmG68O2WCvicgFeYLm6cvIg8vDLp0uaJt7AMF5iOGBOXbUEry/BNHjZpEe6I1RK8we817ejdF+lvvnqChCJSZ24Dl4lw8nfPiyi1XDBy7UU0bv1dgMF9oxGk3TMi+Dw8FHFeMpZnjJcXYdsFjlxEB7Wt9lfqBfllSlTeJXkdAAAAAElFTkSuQmCC);}.ind-2{width:24px;height:24px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAz0lEQVRIidWUURHDIAyGfwlIqIRKqIRJmIRKiINKQEIlIKESkIAE9gA7elloGU1vN+7yVr6PS/4G+NtDMCAMd8EnEDwI2x3wGYSQ66EJNiAsIMRcszZ83cEXTfiQ+/2GWxCMFnxk8E0bHnbwAMKoBZ8YPB4nJg2pzV5iGNuGmuA2f/jsgNuzF1l2Qc5vgkdW/nyoqZ/8IjXAv/hTZYk7gH8+olPiK3DXl3dZIrXmQt7rLVFcYnXJeh1eJDy+iqtAlpAuvEhcf2raBO176hfnBfXDvyNag27yAAAAAElFTkSuQmCC);}.ind-3{width:32px;height:32px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAkUlEQVRYhe2VwQ0AIQgEt2RLoANL9j73OBP1QFn8sIlPmUkEBDKZqAgKBOUmvL0nWKKHB0uM4UESazhZQgdvENSEz4rY38YRbm8QAlwvQYT/SwTA5xJu3S6oykLlc8d51CwStDnXSxCXjI/E4YY7k3Bar3sSzrvdJkH4WPQSJLhOggxfSwTBxxLB8F7iEjxDygPiA6QC9lm2UQAAAABJRU5ErkJggg==);}.ind-4{width:24px;height:24px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAiElEQVRIie2TwQ2AIAxF/wiOxAiO9DdiBEdiBDwoByMFQlsSE5twAt5Lflvgr6VFBBDRE55AZBCHJzzbSurwcpRxteEJxL4QTmwgIojgCS+PZIkBXJZMZV6HvyXTDb0+SoJ83yunpS8xGMW+xGDOxyWKJRqLS7GhbYkBXJYYwt8SB/hT4gT/Qp19avQhfPiQAwAAAABJRU5ErkJggg==);}.ind-5{width:32px;height:32px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB98LGwc6NjAouLAAAALRSURBVFjDxZZPSFRRFMZ/3xtJCETmj0obIShoEQQuAsFFUBRELgaKqKBGgv4gLaJASSgcKBCKWropWgjRphZBUFAYCEG7oCAQDAQJdcbJXE04c1r0jMlm3r1vRugs733vft8595zvfjIz/me0RW1+kzLtMGywE/gOTKbNvmwlAUVVoCDlBcc3Lb9Iww3MKr4gS1JPAFnBgGB2HSa7zRadFRD01lkeXIHkinRll1nZBV6QziTgKrAdwKAvAX2rUq7TrBQ4CBTqrRsMpGDUdX1F6aFgbAO8Jnavw2mAwJHA50YbBidXpP56e0VpTzs8A/oj/q84CRi8dxCcKEgdm8CzwJRBplFVBeczZpNOAmHHL0YQzARwqwZ8GMjXKfkG+Nw6nEiZvfcawzBeAWcjSBxdlt4GcAw4EHHOQhlyO8wK3mMYZrUfeNziuK8B5+ppiKsJSZt9AFoSH4ORRgIWeJ7xpgXw+xmz6Ub7XgQCeNGUzMJMBh45znZH0mxeUI6Jv5iAEZdkBzFK+TVm6cc7zUoe1fWOHzG+nY6699gElqWjgn2e914Gbm+JHwBYkQ4HMGGQ8Cz9y7TZgi+BwCFCWYN7eILXPjItEyhIg6GuJ2KO3pFv0vaWCBSlrOBOXPAwOrbBUNOWLHxO802C/9F+g0MZs7VYFShIZ7YAHKADuBTrCsKyj3qAVwRPcTSbYKgoHfQisCwNeGZeAW6mzMYF1zzkOb8k9UQSKEl7A3jgAheUq3A5bfYcIGX22uAiECW3ySDCzAAEFbjZyELVZl6BsS6zmc1eoQo5YD6C+LtIAnI8MoKywZUus5f19rvMZtvgVAPT8jw0NI0J/ITxCMdTqcJV18PSaVYyOEeNixbMtcFdLx0oSb1VeAIka2e5Ahe6zT76y6ASxd/NnAVyruz/EqIlaV8CpsJmnA/getLsUzMisColfbzAP0oYzu1gm6eZ2Ir4BWiuC0EESWEDAAAAAElFTkSuQmCC);}.ind-6{width:24px;height:24px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB98LGwc5D0QAY3sAAAIQSURBVEjHtZYxaBNRGMd//1w0UBBJmqRIwEFwEwSHglunDoJDIWOqg+Di6OCgBCzEpW4uUii4lC5FKEiHuohLNqEgIkQEh1oacpUSKER6+RxyJ+GSd3cBffCGe9/3fv/3fe97753MjP/Zci5DT1rypbcn0rYvrWQmSl5XWkDyAOSKwJd2gevRt8FOGZ5jFrjYJ9KywaNw3qff8DDvcjYYaHxhUPfBm4encd9TqXgOLWBpbPjWBbjnTJGgM2V4pSfdjUVaO4ftGBzBAOjnEiJ47xB+dioVQ/iiRvCrMbe+YLVstuXcAyTPh49AcYr1wxDeedAyKMThQ2hUzDqJmxxW0pqgPkNVBgE0qmYHqWUapml/xrJfH4enClSgDZxlKn/Ym4etzAdtFIIFwEEG/uEAmtPOSC7D5O8ZVt+8YnY201URVZLgRlpqSmZtlz2fUEGXcrBhcDNF4E2SPe+CA5uWsnqAAMoz3aYRXBngYQSrmQVmhYftti8tpgpkgPcTRFpH0pxT4JtUyMFGEnwIDUFzlPaJVrsIL5wCRVhLqJZ+Dh5UzDolsx3BY8fpXu5K1yYEutICcCcJXjT7HA2UzPaBBnAY821X4ceEQNXsGHg9BX4M3B+HR23e7GswEumMPS7rU59TM8PM8OFlD76EfbcHtcjm6j+h3INXPtRdPn/fgyNprgCbQN+DJ5fNfv2L35Y/wovlONlNW/YAAAAASUVORK5CYII=);}.ind-7{width:32px;height:32px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA+0lEQVRYhbXXSxGDMBRG4SOtEiohEpBQB0iqBCQgAQl/F4UpzQTIfcBMVuRyvg0TgOoSPAWTYKjveS/BIHgLytXGIlgEWlcYsca1W21EIx5GNOJtxEncjTiJ/yM64mZER/yHEMydm7sQhrgEC4KXYeAUYYxLMG6DYxThju8e4EaE4xFEWjyAyIvfjOiL34SwxZMRvngSIhYPInLiK8D6qklZ3xPOeA4iGI8hkuI+RHLchrgp3odwxEclHOXu+G42hojEw4iMeABR0PcvKBx3IiYEj6y4A1G2gSuE+WDpQJR64AjhPtVOEOVooEaEj9QGoh2vEHNGvELMrfgHavmkymmylvgAAAAASUVORK5CYII=);}.ind-8{width:24px;height:24px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAzklEQVRIia2VURHDIBBEV0IlIDUOkBAplYAEJFTC9oc0QErYTXIzfHG8x3DAAVUQiATeBF4wg0AgkAgso4SVAMvIjqTAc7U+nsEtyR94KynH0k9KkhP4NhaUcxslDCUCnATSlvhxJCI8Ewj1Akliw7tdKRIfbkquwR+QzOE3JDr8gsSHV4JZQYfv5Cm4L7kA1yU34HOJCM9C4Y8SAx7E27VLHHi3IU1C7bsO6EKUJKXhHOCG5NfVVhcuSGJTbB6b/hR+ImnhVWJ04Z0k9fAvw4DAJhHn6DYAAAAASUVORK5CYII=);}.axon-ui-highlight{position:absolute;top:0px;left:0px;background-color:#FFA500;opacity:0.25;}main:focus{outline:none;}.sb4-not-focus:focus{outline:none;}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}div.scroll-content::-webkit-scrollbar{display:none;}div.scroll-content{-ms-overflow-style:none;scrollbar-width:none;}/*! jQuery UI - v1.10.4 - 2014-05-18 * http://jqueryui.com * Includes:jquery.ui.core.css,jquery.ui.resizable.css,jquery.ui.selectable.css,jquery.ui.accordion.css,jquery.ui.autocomplete.css,jquery.ui.button.css,jquery.ui.datepicker.css,jquery.ui.dialog.css,jquery.ui.menu.css,jquery.ui.progressbar.css,jquery.ui.slider.css,jquery.ui.spinner.css,jquery.ui.tabs.css,jquery.ui.tooltip.css,jquery.ui.theme.css * To view and modify this theme,visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2014 jQuery Foundation and other contributors;Licensed MIT */ .ui-helper-hidden{display:none;}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none;}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse;}.ui-helper-clearfix:after{clear:both;}.ui-helper-clearfix{min-height:0;}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0);}.ui-front{z-index:100;}.ui-state-disabled{cursor:default !important;}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%;}.ui-resizable{position:relative;}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none;}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0;}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0;}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%;}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%;}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px;}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px;}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px;}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px;}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black;}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0;}.ui-accordion .ui-accordion-icons{padding-left:2.2em;}.ui-accordion .ui-accordion-noicons{padding-left:.7em;}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em;}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px;}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto;}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default;}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible;}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none;}.ui-button-icon-only{width:2.2em;}button.ui-button-icon-only{width:2.4em;}.ui-button-icons-only{width:3.4em;}button.ui-button-icons-only{width:3.7em;}.ui-button .ui-button-text{display:block;line-height:normal;}.ui-button-text-only .ui-button-text{padding:.4em 1em;}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px;}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em;}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em;}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em;}input.ui-button{padding:.4em 1em;}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px;}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px;}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em;}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em;}.ui-buttonset{margin-right:7px;}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em;}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0;}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none;}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0;}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em;}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px;}.ui-datepicker .ui-datepicker-prev{left:2px;}.ui-datepicker .ui-datepicker-next{right:2px;}.ui-datepicker .ui-datepicker-prev-hover{left:1px;}.ui-datepicker .ui-datepicker-next-hover{right:1px;}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px;}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center;}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0;}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%;}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em;}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0;}.ui-datepicker td{border:0;padding:1px;}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none;}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0;}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible;}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left;}.ui-datepicker.ui-datepicker-multi{width:auto;}.ui-datepicker-multi .ui-datepicker-group{float:left;}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em;}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%;}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%;}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%;}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left;}.ui-datepicker-row-break{clear:both;width:100%;font-size:0;}.ui-datepicker-rtl{direction:rtl;}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto;}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto;}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right;}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left;}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right;}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0;}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative;}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis;}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px;}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em;}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right;}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer;}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px;}.ui-draggable .ui-dialog-titlebar{cursor:move;}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none;}.ui-menu .ui-menu{margin-top:-3px;position:absolute;}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0;}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal;}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px;}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5;}.ui-menu .ui-state-disabled a{cursor:default;}.ui-menu-icons{position:relative;}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em;}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em;}.ui-menu .ui-menu-icon{position:static;float:right;}.ui-progressbar{height:2em;text-align:left;overflow:hidden;}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%;}.ui-progressbar .ui-progressbar-overlay{background:url("../style/ui-lightness/images/animated-overlay.gif");height:100%;filter:alpha(opacity=25);opacity:0.25;}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none;}.ui-slider{position:relative;text-align:left;}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0;}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit;}.ui-slider-horizontal{height:.8em;}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em;}.ui-slider-horizontal .ui-slider-range{top:0;height:100%;}.ui-slider-horizontal .ui-slider-range-min{left:0;}.ui-slider-horizontal .ui-slider-range-max{right:0;}.ui-slider-vertical{width:.8em;height:100px;}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em;}.ui-slider-vertical .ui-slider-range{left:0;width:100%;}.ui-slider-vertical .ui-slider-range-min{bottom:0;}.ui-slider-vertical .ui-slider-range-max{top:0;}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle;}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px;}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0;}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none;}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0;}.ui-spinner-up{top:0;}.ui-spinner-down{bottom:0;}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px;}.ui-tabs{position:relative;padding:.2em;}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0;}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap;}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none;}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px;}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text;}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer;}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none;}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa;}body .ui-tooltip{border-width:2px;}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em;}.ui-widget .ui-widget{font-size:1em;}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em;}.ui-widget-content{border:1px solid #dddddd;background:#eeeeee url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkEAAAAAAy19n/AAAAAmJLR0T//xSrMc0AAAAJcEhZcwAAAEgAAABIAEbJaz4AAABYSURBVBjTxcK9DUBAAIDRjxk0dBQaE4gR7KFVM4rEDBIjEKVV7s79OZ0teHk8FR/NCAehJ6TcK3eD3/EtbsPV2AVbYmZMgh7RMdfAFaEmVIE8kR0yR4gfv1IulNTJHsTLAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTA1LTEyVDEzOjMxOjUyLTA3OjAw2kDrOwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0wNS0xMlQxMzozMTo1Mi0wNzowMKsdU4cAAAAASUVORK5CYII=") 50% top repeat-x;color:#333333;}.ui-widget-content a{color:#333333;}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url("data:image/png;base64, ") 50% 50% repeat-x;color:#ffffff;font-weight:bold;}.ui-widget-header a{color:#ffffff;}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #cccccc;background:#f6f6f6 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQEAAAAAAao4lEAAAAAmJLR0T//xSrMc0AAAAJcEhZcwAAAEgAAABIAEbJaz4AAABISURBVDjLY/g1mWEUjSKqo2/fGL5LMXzPYfh+nOGHFsOPBQw/xRh+TmX4JcLwq4vhNwPD71yG3xcZ/igx/Ilk+JM0ikYRMQgA8pJH3iOhTlAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTQtMDUtMTJUMTM6MzE6NTItMDc6MDDaQOs7AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTA1LTEyVDEzOjMxOjUyLTA3OjAwqx1ThwAAAABJRU5ErkJggg==") 50% 50% repeat-x;font-weight:bold;color:#1c94c4;}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none;}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #fbcb09;background:#fdf5ce url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQEAIAAACwqkHPAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAmklEQVRIx+3PPwsBARgH4N/7s0gmXZSuKMvNdl/AV2A1X1ltzBaf5UazEp3RpKujFMV0uT/dy6cQwzs98wPdZVk8IwAAhmEYxrdBWSZJGFKq4smGaGDENeFgwgfREp8d6Ph1OEZEWxaVOXSVRieHcGXJALrNnvEQes6nlz20yO9Xl9IUn128e0VwS4k6BvQIoob+X6QNwzB+yAca/jJVRVy4gQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0wNS0xMlQxMzozMTo1My0wNzowMHw34I8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMDUtMTJUMTM6MzE6NTMtMDc6MDANalgzAAAAAElFTkSuQmCC") 50% 50% repeat-x;font-weight:bold;color:#c77405;}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none;}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#ffffff url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQAQAAAABHIzd2AAAAAmJLR0QAAd2KE6QAAAAJcEhZcwAAAEgAAABIAEbJaz4AAAARSURBVCjPY2hgGIWjcBTigACVaMgB0zSxaQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0wNS0xMlQxMzozMTo1Mi0wNzowMNpA6zsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMDUtMTJUMTM6MzE6NTItMDc6MDCrHVOHAAAAAElFTkSuQmCC") 50% 50% repeat-x;font-weight:bold;color:#eb8f00;}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none;}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fed22f;background:#ffe45c url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkEAIAAACY3hF0AAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAhklEQVQoz+WQMQrCUBBEH1NaCzaxTc7iHcwhcoiktP6kS8BK8BIWHkYQrM1mLD5Bb6Bg9Xg7syws9mNztADgj3CjFbifk4A+0od1UWDfr2kloJkGgZsYBdRTKfB+qgTOtgzrqHJWCtg9T++9pdnEIHAb22yjwPk6XRQCzvNa4IsP3//ST+MF5uU/iXGyfBoAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTQtMDUtMTJUMTM6MzE6NTMtMDc6MDB8N+CPAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTA1LTEyVDEzOjMxOjUzLTA3OjAwDWpYMwAAAABJRU5ErkJggg==") 50% top repeat-x;color:#363636;}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636;}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#b81900 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoEAIAAABTDPN5AAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAA4ElEQVRo3u3YMQoCMRBG4c02XkCQLcXKwsN5Eq+znScRa8FasLP4q0DGZASLecmr0mSHr9tMuh5Pr91+MnpfnofHfXK2OW9v9jdb+t/cuR+qCaZSC2A2NQP3QFVpXZfFfy0iVc3eC3GpmusAR6fq3ARmUJvAJGoFzKOaYCq1AGZTM3APVJW+v5ZIVOX+8YhL1dwfwRGpOrvBcalucHSqA8ygNoFJ1AqYRzXBVGoBzKZm4B6oauy0uNSx06JTm8AkagXMo5pgKrUAZlMzcA9UNXZaXOrYadGpbnB0qgPMoKoPsn/eaLRwj54AAAAldEVYdGRhdGU6Y3JlYXRlADIwMTQtMDUtMTJUMTM6MzE6NTItMDc6MDDaQOs7AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTA1LTEyVDEzOjMxOjUyLTA3OjAwqx1ThwAAAABJRU5ErkJggg==") 50% 50% repeat;color:#ffffff;}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#ffffff;}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#ffffff;}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold;}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal;}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none;}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35);}.ui-icon{width:16px;height:16px;}.ui-icon,.ui-widget-content .ui-icon{background-image:url("../style/ui-lightness/images/ui-icons_222222_256x240.png");}.ui-widget-header .ui-icon{background-image:url("../style/ui-lightness/images/ui-icons_ffffff_256x240.png");}.ui-state-default .ui-icon{background-image:url("../style/ui-lightness/images/ui-icons_ef8c08_256x240.png");}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("../style/ui-lightness/images/ui-icons_ef8c08_256x240.png");}.ui-state-active .ui-icon{background-image:url("../style/ui-lightness/images/ui-icons_ef8c08_256x240.png");}.ui-state-highlight .ui-icon{background-image:url("../style/ui-lightness/images/ui-icons_228ef1_256x240.png");}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("../style/ui-lightness/images/ui-icons_ffd27a_256x240.png");}.ui-icon-blank{background-position:16px 16px;}.ui-icon-carat-1-n{background-position:0 0;}.ui-icon-carat-1-ne{background-position:-16px 0;}.ui-icon-carat-1-e{background-position:-32px 0;}.ui-icon-carat-1-se{background-position:-48px 0;}.ui-icon-carat-1-s{background-position:-64px 0;}.ui-icon-carat-1-sw{background-position:-80px 0;}.ui-icon-carat-1-w{background-position:-96px 0;}.ui-icon-carat-1-nw{background-position:-112px 0;}.ui-icon-carat-2-n-s{background-position:-128px 0;}.ui-icon-carat-2-e-w{background-position:-144px 0;}.ui-icon-triangle-1-n{background-position:0 -16px;}.ui-icon-triangle-1-ne{background-position:-16px -16px;}.ui-icon-triangle-1-e{background-position:-32px -16px;}.ui-icon-triangle-1-se{background-position:-48px -16px;}.ui-icon-triangle-1-s{background-position:-64px -16px;}.ui-icon-triangle-1-sw{background-position:-80px -16px;}.ui-icon-triangle-1-w{background-position:-96px -16px;}.ui-icon-triangle-1-nw{background-position:-112px -16px;}.ui-icon-triangle-2-n-s{background-position:-128px -16px;}.ui-icon-triangle-2-e-w{background-position:-144px -16px;}.ui-icon-arrow-1-n{background-position:0 -32px;}.ui-icon-arrow-1-ne{background-position:-16px -32px;}.ui-icon-arrow-1-e{background-position:-32px -32px;}.ui-icon-arrow-1-se{background-position:-48px -32px;}.ui-icon-arrow-1-s{background-position:-64px -32px;}.ui-icon-arrow-1-sw{background-position:-80px -32px;}.ui-icon-arrow-1-w{background-position:-96px -32px;}.ui-icon-arrow-1-nw{background-position:-112px -32px;}.ui-icon-arrow-2-n-s{background-position:-128px -32px;}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px;}.ui-icon-arrow-2-e-w{background-position:-160px -32px;}.ui-icon-arrow-2-se-nw{background-position:-176px -32px;}.ui-icon-arrowstop-1-n{background-position:-192px -32px;}.ui-icon-arrowstop-1-e{background-position:-208px -32px;}.ui-icon-arrowstop-1-s{background-position:-224px -32px;}.ui-icon-arrowstop-1-w{background-position:-240px -32px;}.ui-icon-arrowthick-1-n{background-position:0 -48px;}.ui-icon-arrowthick-1-ne{background-position:-16px -48px;}.ui-icon-arrowthick-1-e{background-position:-32px -48px;}.ui-icon-arrowthick-1-se{background-position:-48px -48px;}.ui-icon-arrowthick-1-s{background-position:-64px -48px;}.ui-icon-arrowthick-1-sw{background-position:-80px -48px;}.ui-icon-arrowthick-1-w{background-position:-96px -48px;}.ui-icon-arrowthick-1-nw{background-position:-112px -48px;}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px;}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px;}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px;}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px;}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px;}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px;}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px;}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px;}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px;}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px;}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px;}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px;}.ui-icon-arrowreturn-1-w{background-position:-64px -64px;}.ui-icon-arrowreturn-1-n{background-position:-80px -64px;}.ui-icon-arrowreturn-1-e{background-position:-96px -64px;}.ui-icon-arrowreturn-1-s{background-position:-112px -64px;}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px;}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px;}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px;}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px;}.ui-icon-arrow-4{background-position:0 -80px;}.ui-icon-arrow-4-diag{background-position:-16px -80px;}.ui-icon-extlink{background-position:-32px -80px;}.ui-icon-newwin{background-position:-48px -80px;}.ui-icon-refresh{background-position:-64px -80px;}.ui-icon-shuffle{background-position:-80px -80px;}.ui-icon-transfer-e-w{background-position:-96px -80px;}.ui-icon-transferthick-e-w{background-position:-112px -80px;}.ui-icon-folder-collapsed{background-position:0 -96px;}.ui-icon-folder-open{background-position:-16px -96px;}.ui-icon-document{background-position:-32px -96px;}.ui-icon-document-b{background-position:-48px -96px;}.ui-icon-note{background-position:-64px -96px;}.ui-icon-mail-closed{background-position:-80px -96px;}.ui-icon-mail-open{background-position:-96px -96px;}.ui-icon-suitcase{background-position:-112px -96px;}.ui-icon-comment{background-position:-128px -96px;}.ui-icon-person{background-position:-144px -96px;}.ui-icon-print{background-position:-160px -96px;}.ui-icon-trash{background-position:-176px -96px;}.ui-icon-locked{background-position:-192px -96px;}.ui-icon-unlocked{background-position:-208px -96px;}.ui-icon-bookmark{background-position:-224px -96px;}.ui-icon-tag{background-position:-240px -96px;}.ui-icon-home{background-position:0 -112px;}.ui-icon-flag{background-position:-16px -112px;}.ui-icon-calendar{background-position:-32px -112px;}.ui-icon-cart{background-position:-48px -112px;}.ui-icon-pencil{background-position:-64px -112px;}.ui-icon-clock{background-position:-80px -112px;}.ui-icon-disk{background-position:-96px -112px;}.ui-icon-calculator{background-position:-112px -112px;}.ui-icon-zoomin{background-position:-128px -112px;}.ui-icon-zoomout{background-position:-144px -112px;}.ui-icon-search{background-position:-160px -112px;}.ui-icon-wrench{background-position:-176px -112px;}.ui-icon-gear{background-position:-192px -112px;}.ui-icon-heart{background-position:-208px -112px;}.ui-icon-star{background-position:-224px -112px;}.ui-icon-link{background-position:-240px -112px;}.ui-icon-cancel{background-position:0 -128px;}.ui-icon-plus{background-position:-16px -128px;}.ui-icon-plusthick{background-position:-32px -128px;}.ui-icon-minus{background-position:-48px -128px;}.ui-icon-minusthick{background-position:-64px -128px;}.ui-icon-close{background-position:-80px -128px;}.ui-icon-closethick{background-position:-96px -128px;}.ui-icon-key{background-position:-112px -128px;}.ui-icon-lightbulb{background-position:-128px -128px;}.ui-icon-scissors{background-position:-144px -128px;}.ui-icon-clipboard{background-position:-160px -128px;}.ui-icon-copy{background-position:-176px -128px;}.ui-icon-contact{background-position:-192px -128px;}.ui-icon-image{background-position:-208px -128px;}.ui-icon-video{background-position:-224px -128px;}.ui-icon-script{background-position:-240px -128px;}.ui-icon-alert{background-position:0 -144px;}.ui-icon-info{background-position:-16px -144px;}.ui-icon-notice{background-position:-32px -144px;}.ui-icon-help{background-position:-48px -144px;}.ui-icon-check{background-position:-64px -144px;}.ui-icon-bullet{background-position:-80px -144px;}.ui-icon-radio-on{background-position:-96px -144px;}.ui-icon-radio-off{background-position:-112px -144px;}.ui-icon-pin-w{background-position:-128px -144px;}.ui-icon-pin-s{background-position:-144px -144px;}.ui-icon-play{background-position:0 -160px;}.ui-icon-pause{background-position:-16px -160px;}.ui-icon-seek-next{background-position:-32px -160px;}.ui-icon-seek-prev{background-position:-48px -160px;}.ui-icon-seek-end{background-position:-64px -160px;}.ui-icon-seek-start{background-position:-80px -160px;}.ui-icon-seek-first{background-position:-80px -160px;}.ui-icon-stop{background-position:-96px -160px;}.ui-icon-eject{background-position:-112px -160px;}.ui-icon-volume-off{background-position:-128px -160px;}.ui-icon-volume-on{background-position:-144px -160px;}.ui-icon-power{background-position:0 -176px;}.ui-icon-signal-diag{background-position:-16px -176px;}.ui-icon-signal{background-position:-32px -176px;}.ui-icon-battery-0{background-position:-48px -176px;}.ui-icon-battery-1{background-position:-64px -176px;}.ui-icon-battery-2{background-position:-80px -176px;}.ui-icon-battery-3{background-position:-96px -176px;}.ui-icon-circle-plus{background-position:0 -192px;}.ui-icon-circle-minus{background-position:-16px -192px;}.ui-icon-circle-close{background-position:-32px -192px;}.ui-icon-circle-triangle-e{background-position:-48px -192px;}.ui-icon-circle-triangle-s{background-position:-64px -192px;}.ui-icon-circle-triangle-w{background-position:-80px -192px;}.ui-icon-circle-triangle-n{background-position:-96px -192px;}.ui-icon-circle-arrow-e{background-position:-112px -192px;}.ui-icon-circle-arrow-s{background-position:-128px -192px;}.ui-icon-circle-arrow-w{background-position:-144px -192px;}.ui-icon-circle-arrow-n{background-position:-160px -192px;}.ui-icon-circle-zoomin{background-position:-176px -192px;}.ui-icon-circle-zoomout{background-position:-192px -192px;}.ui-icon-circle-check{background-position:-208px -192px;}.ui-icon-circlesmall-plus{background-position:0 -208px;}.ui-icon-circlesmall-minus{background-position:-16px -208px;}.ui-icon-circlesmall-close{background-position:-32px -208px;}.ui-icon-squaresmall-plus{background-position:-48px -208px;}.ui-icon-squaresmall-minus{background-position:-64px -208px;}.ui-icon-squaresmall-close{background-position:-80px -208px;}.ui-icon-grip-dotted-vertical{background-position:0 -224px;}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px;}.ui-icon-grip-solid-vertical{background-position:-32px -224px;}.ui-icon-grip-solid-horizontal{background-position:-48px -224px;}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px;}.ui-icon-grip-diagonal-se{background-position:-80px -224px;}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px;}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px;}.ui-widget-overlay{background:#666666 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoEAAAAAD5BTvyAAAAAmJLR0T//xSrMc0AAAAJcEhZcwAAAEgAAABIAEbJaz4AAAB6SURBVEjH7dXLEYAgDEVRqk0HNmpFMgxi+Lnw3Z0hSzJnmZuO8x6b3vPn530vsVwDKa6CHFdAkssgyy1AjTNLLDeAOteBBOdAhmsgxVWQ4wpIchlkuQ34nXPni+EWoMZNoMoNoM51IMFFU3QumqJz0RSdi6bo3C+bcgHap6IryOSd+AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0wNS0xMlQxMzozMTo1My0wNzowMHw34I8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMDUtMTJUMTM6MzE6NTMtMDc6MDANalgzAAAAAElFTkSuQmCC") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50);}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000000 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAABkAQAAAADcH0/XAAAAAmJLR0QAAd2KE6QAAAAJcEhZcwAAAEgAAABIAEbJaz4AAAAPSURBVCjPY2AYBaOA+gAAAlgAAXU2hncAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTQtMDUtMTJUMTM6MzE6NTMtMDc6MDB8N+CPAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTA1LTEyVDEzOjMxOjUzLTA3OjAwDWpYMwAAAABJRU5ErkJggg==") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px;}');
