/*! jQuery Migrate v3.3.2 | (c) OpenJS Foundation and other contributors | jquery.org/license */ "undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],i=1;i<=3;i++){if(+o[i]<+n[i])return 1;if(+n[i]<+o[i])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.3.2",n.console&&n.console.log&&(s&&e("3.0.0")||n.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var r={};function u(e){var t=n.console;s.migrateDeduplicateWarnings&&r[e]||(r[e]=!0,s.migrateWarnings.push(e),t&&t.warn&&!s.migrateMute&&(t.warn("JQMIGRATE: "+e),s.migrateTrace&&t.trace&&t.trace()))}function t(e,t,r,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n),r},set:function(e){u(n),r=e}})}function o(e,t,r,n){e[t]=function(){return u(n),r.apply(this,arguments)}}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){r={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("jQuery is not compatible with Quirks Mode");var i,a,c,d={},l=s.fn.init,p=s.find,f=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,y=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,m=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;for(i in s.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(u("jQuery( '#' ) is not a valid selector"),t[0]=[]),l.apply(this,t)},s.fn.init.prototype=s.fn,s.find=function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&f.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(y,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("Attribute selector with '#' was not fixed: "+r[0])}}return p.apply(this,r)},p)Object.prototype.hasOwnProperty.call(p,i)&&(s.find[i]=p[i]);o(s.fn,"size",function(){return this.length},"jQuery.fn.size() is deprecated and removed; use the .length property"),o(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"jQuery.parseJSON is deprecated; use JSON.parse"),o(s,"holdReady",s.holdReady,"jQuery.holdReady is deprecated"),o(s,"unique",s.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort"),t(s.expr,"filters",s.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),t(s.expr,":",s.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&o(s,"trim",function(e){return null==e?"":(e+"").replace(m,"")},"jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(o(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"jQuery.nodeName is deprecated"),o(s,"isArray",Array.isArray,"jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(o(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()}),o(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[Object.prototype.toString.call(e)]||"object":typeof e},"jQuery.type is deprecated"),o(s,"isFunction",function(e){return"function"==typeof e},"jQuery.isFunction() is deprecated"),o(s,"isWindow",function(e){return null!=e&&e===e.window},"jQuery.isWindow() is deprecated")),s.ajax&&(a=s.ajax,c=/(=)\?(?=&|$)|\?\?/,s.ajax=function(){var e=a.apply(this,arguments);return e.promise&&(o(e,"success",e.done,"jQXHR.success is deprecated and removed"),o(e,"error",e.fail,"jQXHR.error is deprecated and removed"),o(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e},e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(c.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&c.test(e.data))&&u("JSON-to-JSONP auto-promotion is deprecated")}));var g=s.fn.removeAttr,h=s.fn.toggleClass,v=/\S+/g;function j(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}s.fn.removeAttr=function(e){var r=this;return s.each(e.match(v),function(e,t){s.expr.match.bool.test(t)&&(u("jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),g.apply(this,arguments)};var Q,b=!(s.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?h.apply(this,arguments):(u("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))}),w=/^[a-z]/,x=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return b=!0,e=r.apply(this,arguments),b=!1,e})}),s.swap=function(e,t,r,n){var o,i,a={};for(i in b||u("jQuery.swap() is undocumented and deprecated"),t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=r.apply(e,n||[]),t)e.style[i]=a[i];return o},e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("JQMIGRATE: jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),s.cssNumber||(s.cssNumber={}),Q=s.fn.css,s.fn.css=function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=j(e),n=r,w.test(n)&&x.test(n[0].toUpperCase()+n.slice(1))||s.cssNumber[r]||u('Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))};var A,k,S,M,N=s.data;s.data=function(e,t,r){var n,o,i;if(t&&"object"==typeof t&&2===arguments.length){for(i in n=s.hasData(e)&&N.call(this,e),o={},t)i!==j(i)?(u("jQuery.data() always sets/gets camelCased names: "+i),n[i]=t[i]):o[i]=t[i];return N.call(this,e,o),t}return t&&"string"==typeof t&&t!==j(t)&&(n=s.hasData(e)&&N.call(this,e))&&t in n?(u("jQuery.data() always sets/gets camelCased names: "+t),2");t!==e&&T(e)!==T(t)&&u("HTML tags must be properly nested and closed: "+e)}var O=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,q=s.htmlPrefilter;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.htmlPrefilter=function(e){return P(e),e.replace(O,"<$1>")}},s.htmlPrefilter=function(e){return P(e),q(e)};var D,_=s.fn.offset;s.fn.offset=function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?_.apply(this,arguments):(u("jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},s.ajax&&(D=s.param,s.param=function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)});var E,F,J=s.fn.andSelf||s.fn.addBack;return s.fn.andSelf=function(){return u("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),J.apply(this,arguments)},s.Deferred&&(E=s.Deferred,F=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],s.Deferred=function(e){var i=E(),a=i.promise();return i.pipe=a.pipe=function(){var o=arguments;return u("deferred.pipe() is deprecated"),s.Deferred(function(n){s.each(F,function(e,t){var r="function"==typeof o[e]&&o[e];i[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===a?n.promise():this,r?[e]:arguments)})}),o=null}).promise()},e&&e.call(i,i),i},s.Deferred.exceptionHook=E.exceptionHook),s});var runtime=function(a){"use strict";var u,t=Object.prototype,h=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",e=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function i(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{i({},"")}catch(t){i=function(t,r,e){return t[r]=e}}function c(t,r,e,n){var o,i,a,c,r=r&&r.prototype instanceof d?r:d,r=Object.create(r.prototype),n=new j(n||[]);return r._invoke=(o=t,i=e,a=n,c=l,function(t,r){if(c===p)throw new Error("Generator is already running");if(c===y){if("throw"===t)throw r;return k()}for(a.method=t,a.arg=r;;){var e=a.delegate;if(e){var n=function t(r,e){var n=r.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(r.iterator.return&&(e.method="return",e.arg=u,t(r,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var n=f(n,r.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,v;n=n.arg;if(!n)return e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v;{if(!n.done)return n;e[r.resultName]=n.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u)}e.delegate=null;return v}(e,a);if(n){if(n===v)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===l)throw c=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=p;n=f(o,i,a);if("normal"===n.type){if(c=a.done?y:s,n.arg!==v)return{value:n.arg,done:a.done}}else"throw"===n.type&&(c=y,a.method="throw",a.arg=n.arg)}}),r}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var l="suspendedStart",s="suspendedYield",p="executing",y="completed",v={};function d(){}function g(){}function m(){}var w={};w[n]=function(){return this};r=Object.getPrototypeOf,r=r&&r(r(O([])));r&&r!==t&&h.call(r,n)&&(w=r);var L=m.prototype=d.prototype=Object.create(w);function x(t){["next","throw","return"].forEach(function(r){i(t,r,function(t){return this._invoke(r,t)})})}function b(a,c){var r;this._invoke=function(e,n){function t(){return new c(function(t,r){!function r(t,e,n,o){t=f(a[t],a,e);if("throw"!==t.type){var i=t.arg;return(e=i.value)&&"object"==typeof e&&h.call(e,"__await")?c.resolve(e.__await).then(function(t){r("next",t,n,o)},function(t){r("throw",t,n,o)}):c.resolve(e).then(function(t){i.value=t,n(i)},function(t){return r("throw",t,n,o)})}o(t.arg)}(e,n,t,r)})}return r=r?r.then(t,t):t()}}function E(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function _(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(r){if(r){var t=r[n];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var e=-1,t=function t(){for(;++eo;)c(e,r=n[o++])&&(~f(i,r)||i.push(r));return i}},function(t,n,r){var f=r(9),a=r(40),s=r(42),r=function(u){return function(t,n,r){var e,o=f(t),i=a(o.length),c=s(r,i);if(u&&n!=n){for(;c"+t+""}var i,c=r(21),u=r(51),f=r(43),a=r(32),s=r(53),p=r(18),r=r(28),l="prototype",g="script",v=r("IE_PROTO"),y=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t;y=i?function(t){t.write(o("")),t.close();var n=t.parentWindow.Object;return t=null,n}(i):((t=p("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(o("document.F=Object")),t.close(),t.F);for(var n=f.length;n--;)delete y[l][f[n]];return y()};a[v]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(e[l]=c(t),r=new e,e[l]=null,r[v]=t):r=y(),n===S?r:u(r,n)}},function(t,n,r){var e=r(5),c=r(20),u=r(21),f=r(52);t.exports=e?Object.defineProperties:function(t,n){u(t);for(var r,e=f(n),o=e.length,i=0;it.length?-1:""===n?r:t.indexOf(n,r)}var e=r(2),y=r(12),h=r(72),d=r(73),b=r(74),o=r(56),x=r(30),m=o("replace"),O=RegExp.prototype,w=Math.max;e({target:"String",proto:!0},{replaceAll:function(t,n){var r,e,o,i,c,u,f,a,s=y(this),p=0,l=0,g="";if(null!=t){if((r=h(t))&&!~String(y("flags"in O?t.flags:d.call(t))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if((e=t[m])!==S)return e.call(t,s,n);if(x&&r)return String(s).replace(t,n)}for(o=String(s),i=String(t),(c="function"==typeof n)||(n=String(n)),u=i.length,f=w(1,u),p=v(o,i,0);-1!==p;)a=c?String(n(i,p,o)):b(i,o,p,[],S,n),g+=o.slice(l,p)+a,l=p+u,p=v(o,i,p+f);return l]*>)/g,v=/\$([$&'`]|\d{1,2})/g;t.exports=function(i,c,u,f,a,t){var s=u+i.length,p=f.length,n=v;return a!==S&&(a=e(a),n=g),o.call(t,n,function(t,n){var r;switch(n.charAt(0)){case"$":return"$";case"&":return i;case"`":return c.slice(0,u);case"'":return c.slice(s);case"<":r=a[n.slice(1,-1)];break;default:var e=+n;if(0==e)return t;if(p-1){continue};l[i]=e[i]};return l};function b(e,t,n){if(!monsterinsights_frontend.v4_id||e!=='event'){return};var i=n.event_category||'',r=['event_name','event_category','event_label','value',],l=d(n,null,r);l.action=t;var a={'outbound-link':'click','download':'file_download',};__gtagTracker(e,a[i]||i.replace('-','_'),l)};function y(e,t,n){if(!monsterinsights_frontend.ua){return};var l=['event_category','event_label','value',],i=d(n,l);i.send_to=monsterinsights_frontend.ua;__gtagTracker(e,t,i)};function l(t,i,l,a){t=typeof t!=='undefined'?t:'event';i=typeof i!=='undefined'?i:'';a=typeof a!=='undefined'?a:[];l=typeof l!=='undefined'?l:{};y(t,i,l);b(t,i,l);e.valuesArray=a;e.fieldsArray=l;e.fieldsArray.event_action=i;e.tracked=!0;n('Tracked: '+a.type);n(e)};function x(t,i,l,a){t=typeof t!=='undefined'?t:'event';i=typeof i!=='undefined'?i:'';a=typeof a!=='undefined'?a:[];l=typeof l!=='undefined'?l:{};__gtagTracker(t,i,l);e.valuesArray=a;e.fieldsArray=l;e.fieldsArray.event_action=i;e.tracked=!0;n('Tracked: '+a.type);n(e)};function t(t){t=typeof t!=='undefined'?t:[];e.valuesArray=t;e.fieldsArray=[];e.tracked=!1;n('Not Tracked: '+t.exit);n(e)};function n(e){if(u()){console.dir(e)}};function o(e){return e.replace(/^\s+|\s+$/gm,'')};function c(){var n=0,e=document.domain,i=e.split('.'),t='_gd'+(new Date()).getTime();while(n<(i.length-1)&&document.cookie.indexOf(t+'='+t)==-1){e=i.slice(-1-(++n)).join('.');document.cookie=t+'='+t+';domain='+e+';'};document.cookie=t+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain='+e+';';return e};function h(e){e=e.toString();e=e.substring(0,(e.indexOf('#')==-1)?e.length:e.indexOf('#'));e=e.substring(0,(e.indexOf('?')==-1)?e.length:e.indexOf('?'));e=e.substring(e.lastIndexOf('/')+1,e.length);if(e.length>0&&e.indexOf('.')!==-1){e=e.substring(e.indexOf('.')+1);return e}else{return''}};function w(e){return e.which==1||e.which==2||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey};function g(){var e=[];if(typeof monsterinsights_frontend.download_extensions=='string'){e=monsterinsights_frontend.download_extensions.split(',')};return e};function v(){var e=[];if(typeof monsterinsights_frontend.inbound_paths=='string'){e=JSON.parse(monsterinsights_frontend.inbound_paths)};return e};function A(e){if(e.which==1){return'event.which=1'}else if(e.which==2){return'event.which=2'}else if(e.metaKey){return'metaKey'}else if(e.ctrlKey){return'ctrlKey'}else if(e.shiftKey){return'shiftKey'}else if(e.altKey){return'altKey'}else{return''}};function T(e){var f=g(),l=v(),t='unknown',u=e.href,m=h(e.href),d=c(),r=e.hostname,a=e.protocol,k=e.pathname;u=u.toString();var s,p,b=e.getAttribute('data-vars-ga-category');if(b){return b};if(u.match(/^javascript\:/i)){t='internal'}else if(a&&a.length>0&&(o(a)=='tel'||o(a)=='tel:')){t='tel'}else if(a&&a.length>0&&(o(a)=='mailto'||o(a)=='mailto:')){t='mailto'}else if(r&&d&&r.length>0&&d.length>0&&!r.endsWith('.'+d)&&r!==d){t='external'}else if(k&&JSON.stringify(l)!='{}'&&k.length>0){var y=l.length;for(var n=0;n0&&l[n].label.length>0&&k.startsWith(l[n].path)){t='internal-as-outbound';i='outbound-link-'+l[n].label;break}}}else if(r&&window.monsterinsights_experimental_mode&&r.length>0&&document.domain.length>0&&r!==document.domain){t='cross-hostname'};if(m&&(t==='unknown'||'external'===t)&&f.length>0&&m.length>0){for(s=0,p=f.length;s0&&(u.endsWith(f[s])||f[s]==m)){t='download';break}}};if(t==='unknown'){t='internal'};return t};function O(e,t){var n=(e.target&&!e.target.match(/^_(self|parent|top)$/i))?e.target:!1;if(t.ctrlKey||t.shiftKey||t.metaKey||t.which==2){n='_blank'};return n};function m(e){if(e.getAttribute('data-vars-ga-label')&&e.getAttribute('data-vars-ga-label').replace(/\n/ig,'')){return e.getAttribute('data-vars-ga-label').replace(/\n/ig,'')}else if(e.title&&e.title.replace(/\n/ig,'')){return e.title.replace(/\n/ig,'')}else if(e.innerText&&e.innerText.replace(/\n/ig,'')){return e.innerText.replace(/\n/ig,'')}else if(e.getAttribute('aria-label')&&e.getAttribute('aria-label').replace(/\n/ig,'')){return e.getAttribute('aria-label').replace(/\n/ig,'')}else if(e.alt&&e.alt.replace(/\n/ig,'')){return e.alt.replace(/\n/ig,'')}else if(e.textContent&&e.textContent.replace(/\n/ig,'')){return e.textContent.replace(/\n/ig,'')}else{return undefined}};function K(e){var i=e.children,l=0,a,n;for(var t=0;t>>0;if(i===0){return-1};t=i-1;if(arguments.length>1){t=Number(arguments[1]);if(t!=t){t=0}else if(t!=0&&t!=(1/0)&&t!=-(1/0)){t=(t>0||-1)*Math.floor(Math.abs(t))}};for(n=t>=0?Math.min(t,i-1):i-Math.abs(t);n>=0;n--){if(n in l&&l[n]===e){return n}};return-1}}},MonsterInsightsObject=new MonsterInsights();window.addEventListener("sfsi_functions_loaded",function(){if(typeof sfsi_widget_set=="function"){sfsi_widget_set()}});(function(a,k){var h,n=function(){},c=function(b){for(var d in b)return 0;return 1},e={}.toString,f=function(b){return"[object Function]"==e.call(b)},g=function(b){return"[object String]"==e.call(b)},m=function(b){return"[object Array]"==e.call(b)},b=function(b,d){if(b)for(var a=0;ah;)try{if(J=I[h++],new ActiveXObject(J))break}catch(jb){}O=function(){return new ActiveXObject(J)}}q.getXhr=O;v.add("dojo-gettext-api",1);q.getText=function(b,d,a){var l=O();l.open("GET",sa(b),!1);l.send(null);if(200==l.status||!location.host&&!l.status)a&&a(l.responseText,d);else throw p("xhrFailed",l.status);return l.responseText};var P=new Function("return eval(arguments[0]);");q.eval=function(b,d){return P(b+"\r\n//# sourceURL\x3d"+d)};var F={},A=q.signal=function(d,a){var l=F[d];b(l&&l.slice(0),function(b){b.apply(null,m(a)?a:[a])})},D=q.on=function(b,d){var a=F[b]||(F[b]=[]);a.push(d);return{remove:function(){for(var b=0;bn.attributes.length);h.clearElement=function(a){a.innerHTML="";return a};h.normalize=function(a,e){var f=a.match(/[\?:]|[^:\?]*/g),g=0,m=function(b){var a=f[g++];if(":"==a)return 0;if("?"==f[g++]){if(!b&&h(a))return m();m(!0);return m(b)}return a||0};return(a=m())&&e(a)};h.load=function(a,e,f){a?e([a],f):f()};return h})},"dojo/_base/config":function(){dojoDefine(["../has","require"],function(a,k){var h={},n=k.rawConfig,c;for(c in n)h[c]=n[c];!h.locale&&"undefined"!=typeof navigator&&(n=navigator.language||navigator.userLanguage)&&(h.locale=n.toLowerCase());return h})},"dojo/sniff":function(){dojoDefine(["./has"],function(a){var k=navigator,h=k.userAgent,k=k.appVersion,n=parseFloat(k);a.add("air",0<=h.indexOf("AdobeAIR"));a.add("msapp",parseFloat(h.split("MSAppHost/")[1])||void 0);a.add("khtml",0<=k.indexOf("Konqueror")?n:void 0);a.add("webkit",parseFloat(h.split("WebKit/")[1])||void 0);a.add("chrome",parseFloat(h.split("Chrome/")[1])||void 0);a.add("safari",0<=k.indexOf("Safari")&&!a("chrome")?parseFloat(k.split("Version/")[1]):void 0);a.add("mac",0<=k.indexOf("Macintosh"));a.add("quirks","BackCompat"==document.compatMode);if(h.match(/(iPhone|iPod|iPad)/)){var c=RegExp.$1.replace(/P/,"p"),e=h.match(/OS ([\d_]+)/)?RegExp.$1:"1",e=parseFloat(e.replace(/_/,".").replace(/_/g,""));a.add(c,e);a.add("ios",e)}a.add("android",parseFloat(h.split("Android ")[1])||void 0);a.add("bb",(0<=h.indexOf("BlackBerry")||0<=h.indexOf("BB10"))&&parseFloat(h.split("Version/")[1])||void 0);a.add("trident",parseFloat(k.split("Trident/")[1])||void 0);a.add("svg","undefined"!==typeof SVGAngle);a("webkit")||(0<=h.indexOf("Opera")&&a.add("opera",9.8<=n?parseFloat(h.split("Version/")[1])||n:n),0<=h.indexOf("Gecko")&&!a("khtml")&&!a("webkit")&&!a("trident")&&a.add("mozilla",n),a("mozilla")&&a.add("ff",parseFloat(h.split("Firefox/")[1]||h.split("Minefield/")[1])||void 0),document.all&&!a("opera")&&(h=parseFloat(k.split("MSIE ")[1])||void 0,(k=document.documentMode)&&5!=k&&Math.floor(h)!=k&&(h=k),a.add("ie",h)),a.add("wii","undefined"!=typeof opera&&opera.wiiremote));return a})},"dojo/_base/lang":function(){dojoDefine(["./kernel","../has","../sniff"],function(a,k){k.add("bug-for-in-skips-shadowed",function(){for(var b in{toString:1})return 0;return 1});var h=k("bug-for-in-skips-shadowed")?"hasOwnProperty valueOf isPrototypeOf propertyIsEnumerable toLocaleString toString constructor".split(" "):[],n=h.length,c=function(b,l,p){p||(p=b[0]&&a.scopeMap[b[0]]?a.scopeMap[b.shift()][1]:a.global);try{for(var d=0;df?(f=k+f,0>f&&(f=c)):f=f>=k?k+d:f;for(k&&"string"==typeof e&&(e=e.split(""));f!=n;f+=a)if(e[f]==h)return f;return-1}}var f={},g,m={every:c(!1),some:c(!0),indexOf:e(!0),lastIndexOf:e(!1),forEach:function(b,a,c){var d=0,e=b&&b.length||0;e&&"string"==typeof b&&(b=b.split(""));"string"==typeof a&&(a=f[a]||n(a));if(c)for(;d=f[l].priority;l++);f.splice(l,0,e);m()},l=a.config.addOnLoad;if(l)b[c.isArray(l)?"apply":"call"](a,l);a.config.parseOnLoad&&!a.isAsync&&b(99,function(){a.parser||(a.deprecated("Add explicit require(['dojo/parser']);","","2.0"),h(["dojo/parser"]))});n?n(k):k();return b})},"dojo/domReady":function(){dojoDefine(["./has"],function(a){function k(b){m.push(b);g&&h()}function h(){if(!b){for(b=!0;m.length;)try{m.shift()(c)}catch(d){}b=!1;k._onQEmpty()}}var n=function(){return this}(),c=document,e={loaded:1,complete:1},f="string"!=typeof c.readyState,g=!!e[c.readyState],m=[],b;k.load=function(b,d,a){k(a)};k._Q=m;k._onQEmpty=function(){};f&&(c.readyState="loading");if(!g){var l=[],p=function(b){b=b||n.event;g||"readystatechange"==b.type&&!e[c.readyState]||(f&&(c.readyState="complete"),g=1,h())},d=function(b,d){b.addEventListener(d,p,!1);m.push(function(){b.removeEventListener(d,p,!1)})};if(!a("dom-addeventlistener")){var d=function(b,d){d="on"+d;b.attachEvent(d,p);m.push(function(){b.detachEvent(d,p)})},y=c.createElement("div");try{y.doScroll&&null===n.frameElement&&l.push(function(){try{return y.doScroll("left"),1}catch(b){}})}catch(r){}}d(c,"DOMContentLoaded");d(n,"load");"onreadystatechange"in c?d(c,"readystatechange"):f||l.push(function(){return e[c.readyState]});if(l.length){var q=function(){if(!g){for(var b=l.length;b--;)if(l[b]()){p("poller");return}setTimeout(q,30)}};q()}}return k})},"dojo/_base/declare":function(){dojoDefine(["./kernel","../has","./lang"],function(a,k,h){function n(b,d){throw Error("declare"+(d?" "+d:"")+": "+b)}function c(b,d,a){var c,e,l,g,p,f,m,h=this._inherited=this._inherited||{};"string"==typeof b&&(c=b,b=d,d=a);a=0;g=b.callee;(c=c||g.nom)||n("can't deduce a name to call inherited()",this.declaredClass);p=this.constructor._meta;l=p.bases;m=h.p;if("constructor"!=c){if(h.c!==g&&(m=0,f=l[0],p=f._meta,p.hidden[c]!==g)){(e=p.chains)&&"string"==typeof e[c]&&n("calling chained method with inherited: "+c,this.declaredClass);do if(p=f._meta,e=f.prototype,p&&(e[c]===g&&e.hasOwnProperty(c)||p.hidden[c]===g))break;while(f=l[++m]);m=f?m:-1}if(f=l[++m])if(e=f.prototype,f._meta&&e.hasOwnProperty(c))a=e[c];else{g=u[c];do if(e=f.prototype,(a=e[c])&&(f._meta?e.hasOwnProperty(c):a!==g))break;while(f=l[++m]);}a=f&&a||u[c]}else{if(h.c!==g&&(m=0,(p=l[0]._meta)&&p.ctor!==g)){for((e=p.chains)&&"manual"===e.constructor||n("calling chained constructor with inherited",this.declaredClass);(f=l[++m])&&(!(p=f._meta)||p.ctor!==g););m=f?m:-1}for(;(f=l[++m])&&!(a=(p=f._meta)?p.ctor:f););a=f&&a}h.c=a;h.p=m;if(a)return!0===d?a:a.apply(this,d||b)}function e(b,d){return"string"==typeof b?this.__inherited(b,d,!0):this.__inherited(b,!0)}function f(b,d,a){var c=this.getInherited(b,d);if(c)return c.apply(this,a||d||b)}function g(b){for(var d=this.constructor._meta.bases,a=0,c=d.length;ac||90c||111c||192c||222e?e-48:!b.shiftKey&&65<=e&&90>=e?e+32:l[e]||e}c=d(b,{type:"keypress",faux:!0,charCode:e});a.call(b.currentTarget,c);if(f("ie"))try{b.keyCode=c.keyCode}catch(g){}}}),e=k(b,"keypress",function(b){var c=b.charCode;b=d(b,{charCode:32<=c?c:0,faux:!0});return a.call(this,b)});return{remove:function(){c.remove();e.remove()}}}:f("opera")?function(b,a){return k(b,"keypress",function(b){var c=b.which;3==c&&(c=99);c=32>c&&!b.shiftKey?0:c;b.ctrlKey&&!b.shiftKey&&65<=c&&90>=c&&(c+=32);return a.call(this,d(b,{charCode:c}))})}:function(d,a){return k(d,"keypress",function(d){b(d);return a.call(this,d)})};var q={_keypress:y,connect:function(b,d,a,c,e){var l=arguments,g=[],f=0;g.push("string"==typeof l[0]?null:l[f++],l[f++]);var p=l[f+1];g.push("string"==typeof p||"function"==typeof p?l[f++]:null,l[f++]);for(p=l.length;fh("jscript"))&&!h("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var e=b[d];if(!e||!e.listeners){var l=e,e=Function("event","var callee \x3d arguments.callee; for(var i \x3d 0; i\x3ccallee.listeners.length; i++){var listener \x3d _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}");e.listeners=[];b[d]=e;e.global=this;l&&e.listeners.push(_dojoIEListeners_.push(l)-1)}e.listeners.push(b=e.global._dojoIEListeners_.push(c)-1);return new r(b)}return a.after(b,d,c,!0)},v=function(){this.cancelBubble=!0},u=g._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(b){}this.defaultPrevented=!0;this.returnValue=!1;this.modified=!0}}if(h("touch"))var z=function(){},w=window.orientation,E=function(b){return function(d){var a=d.corrected;if(!a){var c=d.type;try{delete d.type}catch(e){}if(d.type){if(h("touch-can-modify-event-delegate"))z.prototype=d,a=new z();else{var a={},l;for(l in d)a[l]=d[l]}a.preventDefault=function(){d.preventDefault()};a.stopPropagation=function(){d.stopPropagation()}}else a=d,a.type=c;d.corrected=a;if("resize"==c){if(w==window.orientation)return null;w=window.orientation;a.type="orientationchange";return b.call(this,a)}"rotation"in a||(a.rotation=0,a.scale=1);var c=a.changedTouches[0],f;for(f in c)delete a[f],a[f]=c[f]}return b.call(this,a)}};return g})},"dojo/topic":function(){dojoDefine(["./Evented"],function(a){var k=new a();return{publish:function(a,n){return k.emit.apply(k,arguments)},subscribe:function(a,n){return k.on.apply(k,arguments)}}})},"dojo/Evented":function(){dojoDefine(["./aspect","./on"],function(a,k){function h(){}var n=a.after;h.prototype={on:function(a,e){return k.parse(this,a,e,function(a,c){return n(a,"on"+c,e,!0)})},emit:function(a,e){var f=[this];f.push.apply(f,arguments);return k.emit.apply(k,f)}};return h})},"dojo/aspect":function(){dojoDefine([],function(){function a(a,c,b,e){var f=a[c],d="around"==c,h;if(d){var k=b(function(){return f.advice(this,arguments)});h={remove:function(){k&&(k=a=b=null)},advice:function(b,d){return k?k.apply(b,d):f.advice(b,d)}}}else h={remove:function(){if(h.advice){var d=h.previous,e=h.next;e||d?(d?d.next=e:a[c]=e,e&&(e.previous=d)):delete a[c];a=b=h.advice=null}},id:n++,advice:b,receiveArguments:e};if(f&&!d){if("after"==c){for(;f.next&&(f=f.next););f.next=h;h.previous=f}else"before"==c&&(a[c]=h,h.next=f,f.previous=h)}else a[c]=h;return h}function k(c){return function(e,b,l,f){var d=e[b],k;d&&d.target==e||(e[b]=k=function(){for(var b=n,d=arguments,a=k.before;a;)d=a.advice.apply(this,d)||d,a=a.next;if(k.around)var c=k.around.advice(this,d);for(a=k.after;a&&a.ida("ie")){var c=b.getBoundingClientRect(),e=c.left,c=c.top;7>a("ie")&&(e+=b.clientLeft,c+=b.clientTop);return{x:0>e?0:e,y:0>c?0:c}}return{x:0,y:0}});g.fixIeBiDiScrollLeft=function(b,c){c=c||k.doc;var e=a("ie");if(e&&!g.isBodyLtr(c)){var d=a("quirks"),f=d?k.body(c):c.documentElement,m=k.global;6==e&&!d&&m.frameElement&&f.scrollHeight>f.clientHeight&&(b+=f.clientLeft);return 8>e||d?b+f.clientWidth-f.scrollWidth:-b}return b};g.position=function(b,c){b=h.byId(b);var e=k.body(b.ownerDocument),d=b.getBoundingClientRect(),d={x:d.left,y:d.top,w:d.right-d.left,h:d.bottom-d.top};if(9>a("ie")){var f=g.getIeDocumentElementOffset(b.ownerDocument);d.x-=f.x+(a("quirks")?e.clientLeft+e.offsetLeft:0);d.y-=f.y+(a("quirks")?e.clientTop+e.offsetTop:0)}c&&(e=g.docScroll(b.ownerDocument),d.x+=e.x,d.y+=e.y);return d};g.getMarginSize=function(b,a){b=h.byId(b);var c=g.getMarginExtents(b,a||n.getComputedStyle(b)),d=b.getBoundingClientRect();return{w:d.right-d.left+c.w,h:d.bottom-d.top+c.h}};g.normalizeEvent=function(b){"layerX"in b||(b.layerX=b.offsetX,b.layerY=b.offsetY);if(!a("dom-addeventlistener")){var c=b.target,c=c&&c.ownerDocument||document,e=a("quirks")?c.body:c.documentElement,d=g.getIeDocumentElementOffset(c);b.pageX=b.clientX+g.fixIeBiDiScrollLeft(e.scrollLeft||0,c)-d.x;b.pageY=b.clientY+(e.scrollTop||0)-d.y}};return g})},"dojo/_base/window":function(){dojoDefine(["./kernel","./lang","../sniff"],function(a,k,h){var n={global:a.global,doc:a.global.document||null,body:function(c){c=c||a.doc;return c.body||c.getElementsByTagName("body")[0]},setContext:function(c,e){a.global=n.global=c;a.doc=n.doc=e},withGlobal:function(c,e,f,g){var m=a.global;try{return a.global=n.global=c,n.withDoc.call(null,c.document,e,f,g)}finally{a.global=n.global=m}},withDoc:function(c,e,f,g){var m=n.doc,b=h("quirks"),l=h("ie"),p,d,k;try{return a.doc=n.doc=c,a.isQuirks=h.add("quirks","BackCompat"==a.doc.compatMode,!0,!0),h("ie")&&(k=c.parentWindow)&&k.navigator&&(p=parseFloat(k.navigator.appVersion.split("MSIE ")[1])||void 0,(d=c.documentMode)&&5!=d&&Math.floor(p)!=d&&(p=d),a.isIE=h.add("ie",p,!0,!0)),f&&"string"==typeof e&&(e=f[e]),e.apply(f,g||[])}finally{a.doc=n.doc=m,a.isQuirks=h.add("quirks",b,!0,!0),a.isIE=h.add("ie",l,!0,!0)}}};k.mixin(a,n);return n})},"dojo/dom":function(){dojoDefine(["./sniff","./_base/window"],function(a,k){if(7>=a("ie"))try{document.execCommand("BackgroundImageCache",!1,!0)}catch(c){}var h={};a("ie")?h.byId=function(a,e){if("string"!=typeof a)return a;var f=e||k.doc,g=a&&f.getElementById(a);if(!g||g.attributes.id.value!=a&&g.id!=a){f=f.all[a];if(!f||f.nodeName)f=[f];for(var m=0;g=f[m++];)if(g.attributes&&g.attributes.id&&g.attributes.id.value==a||g.id==a)return g}else return g}:h.byId=function(a,e){return("string"==typeof a?(e||k.doc).getElementById(a):a)||null};h.isDescendant=function(a,e){try{for(a=h.byId(a),e=h.byId(e);a;){if(a==e)return!0;a=a.parentNode}}catch(f){}return!1};a.add("css-user-select",function(a,e,f){if(!f)return!1;a=f.style;e=["Khtml","O","Moz","Webkit"];f=e.length;var g="userSelect";do if("undefined"!==typeof a[g])return g;while(f--&&(g=e[f]+"UserSelect"));return!1});var n=a("css-user-select");h.setSelectable=n?function(a,e){h.byId(a).style[n]=e?"":"none"}:function(a,e){a=h.byId(a);var f=a.getElementsByTagName("*"),g=f.length;if(e)for(a.removeAttribute("unselectable");g--;)f[g].removeAttribute("unselectable");else for(a.setAttribute("unselectable","on");g--;)f[g].setAttribute("unselectable","on");};return h})},"dojo/dom-style":function(){dojoDefine(["./sniff","./dom"],function(a,k){function h(d,c,f){c=c.toLowerCase();if(a("ie")||a("trident")){if("auto"==f){if("height"==c)return d.offsetHeight;if("width"==c)return d.offsetWidth}if("fontweight"==c)switch(f){case 700:return"bold";default:return"normal"}}c in b||(b[c]=l.test(c));return b[c]?e(d,f):f}var n,c={};n=a("webkit")?function(b){var a;if(1==b.nodeType){var c=b.ownerDocument.defaultView;a=c.getComputedStyle(b,null);!a&&b.style&&(b.style.display="",a=c.getComputedStyle(b,null))}return a||{}}:a("ie")&&(9>a("ie")||a("quirks"))?function(b){return 1==b.nodeType&&b.currentStyle?b.currentStyle:{}}:function(b){return 1==b.nodeType?b.ownerDocument.defaultView.getComputedStyle(b,null):{}};c.getComputedStyle=n;var e;e=a("ie")?function(b,a){if(!a)return 0;if("medium"==a)return 4;if(a.slice&&"px"==a.slice(-2))return parseFloat(a);var c=b.style,e=b.runtimeStyle,f=c.left,l=e.left;e.left=b.currentStyle.left;try{c.left=a,a=c.pixelLeft}catch(g){a=0}c.left=f;e.left=l;return a}:function(b,a){return parseFloat(a)||0};c.toPixelValue=e;var f=function(b,a){try{return b.filters.item("DXImageTransform.Microsoft.Alpha")}catch(c){return a?{}:null}},g=9>a("ie")||10>a("ie")&&a("quirks")?function(b){try{return f(b).Opacity/100}catch(a){return 1}}:function(b){return n(b).opacity},m=9>a("ie")||10>a("ie")&&a("quirks")?function(b,a){""===a&&(a=1);var c=100*a;1===a?(b.style.zoom="",f(b)&&(b.style.filter=b.style.filter.replace(/\s*progid:DXImageTransform.Microsoft.Alpha\([^\)]+?\)/i,""))):(b.style.zoom=1,f(b)?f(b,1).Opacity=c:b.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity\x3d"+c+")",f(b,1).Enabled=!0);if("tr"==b.tagName.toLowerCase())for(c=b.firstChild;c;c=c.nextSibling)"td"==c.tagName.toLowerCase()&&m(c,a);return a}:function(b,a){return b.style.opacity=a},b={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,p={cssFloat:1,styleFloat:1,"float":1};c.get=function(b,a){var e=k.byId(b),f=arguments.length;if(2==f&&"opacity"==a)return g(e);a=p[a]?"cssFloat"in e.style?"cssFloat":"styleFloat":a;var l=c.getComputedStyle(e);return 1==f?l:h(e,a,l[a]||e.style[a])};c.set=function(b,a,e){var f=k.byId(b),l=arguments.length,g="opacity"==a;a=p[a]?"cssFloat"in f.style?"cssFloat":"styleFloat":a;if(3==l)return g?m(f,e):f.style[a]=e;for(var h in a)c.set(b,h,a[h]);return c.getComputedStyle(f)};return c})},"dojo/mouse":function(){dojoDefine(["./_base/kernel","./on","./has","./dom","./_base/window"],function(a,k,h,n,c){function e(a,c){var m=function(b,e){return k(b,a,function(a){if(c)return c(a,e);if(!n.isDescendant(a.relatedTarget,b))return e.call(this,a)})};m.bubble=function(b){return e(a,function(a,c){var d=b(a.target),e=a.relatedTarget;if(d&&d!=(e&&1==e.nodeType&&b(e)))return c.call(d,a)})};return m}h.add("dom-quirks",c.doc&&"BackCompat"==c.doc.compatMode);h.add("events-mouseenter",c.doc&&"onmouseenter"in c.doc.createElement("div"));h.add("events-mousewheel",c.doc&&"onmousewheel"in c.doc);c=h("dom-quirks")&&h("ie")||!h("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(a,c){return a.button&c},isLeft:function(a){return a.button&1},isMiddle:function(a){return a.button&4},isRight:function(a){return a.button&2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(a,c){return a.button==c},isLeft:function(a){return 0==a.button},isMiddle:function(a){return 1==a.button},isRight:function(a){return 2==a.button}};a.mouseButtons=c;a=h("events-mousewheel")?"mousewheel":function(a,c){return k(a,"DOMMouseScroll",function(a){a.wheelDelta=-a.detail;c.call(this,a)})};return{_eventHandler:e,enter:e("mouseover"),leave:e("mouseout"),wheel:a,isLeft:c.isLeft,isMiddle:c.isMiddle,isRight:c.isRight}})},"dojo/_base/sniff":function(){dojoDefine(["./kernel","./lang","../sniff"],function(a,k,h){a._name="browser";k.mixin(a,{isBrowser:!0,isFF:h("ff"),isIE:h("ie"),isKhtml:h("khtml"),isWebKit:h("webkit"),isMozilla:h("mozilla"),isMoz:h("mozilla"),isOpera:h("opera"),isSafari:h("safari"),isChrome:h("chrome"),isMac:h("mac"),isIos:h("ios"),isAndroid:h("android"),isWii:h("wii"),isQuirks:h("quirks"),isAir:h("air")});return h})},"dojo/keys":function(){dojoDefine(["./_base/kernel","./sniff"],function(a,k){return a.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:k("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:k("mac")&&!k("air")?k("safari")?91:224:17}})},"dojo/_base/Deferred":function(){dojoDefine("./kernel ../Deferred ../promise/Promise ../errors/CancelError ../has ./lang ../when".split(" "),function(a,k,h,n,c,e,f){var g=function(){},m=Object.freeze||function(){},b=a.Deferred=function(a){function f(b){if(q)throw Error("This deferred has already been resolved");y=b;q=!0;d()}function d(){for(var b;!b&&u;){var a=u;u=u.next;if(b=a.progress==g)q=!1;var d=x?a.error:a.resolved;c("config-useDeferredInstrumentation")&&x&&k.instrumentRejected&&k.instrumentRejected(y,!!d);if(d)try{var f=d(y);f&&"function"===typeof f.then?f.then(e.hitch(a.deferred,"resolve"),e.hitch(a.deferred,"reject"),e.hitch(a.deferred,"progress")):(d=b&&void 0===f,b&&!d&&(x=f instanceof Error),a.deferred[d&&x?"reject":"resolve"](d?y:f))}catch(l){a.deferred.reject(l)}else x?a.deferred.reject(y):a.deferred.resolve(y)}}var y,q,r,t,x,v,u,z=this.promise=new h();this.isResolved=z.isResolved=function(){return 0==t};this.isRejected=z.isRejected=function(){return 1==t};this.isFulfilled=z.isFulfilled=function(){return 0<=t};this.isCanceled=z.isCanceled=function(){return r};this.resolve=this.callback=function(b){this.fired=t=0;this.results=[b,null];f(b)};this.reject=this.errback=function(b){x=!0;this.fired=t=1;c("config-useDeferredInstrumentation")&&k.instrumentRejected&&k.instrumentRejected(b,!!u);f(b);this.results=[null,b]};this.progress=function(b){for(var a=u;a;){var d=a.progress;d&&d(b);a=a.next}};this.addCallbacks=function(b,a){this.then(b,a,g);return this};z.then=this.then=function(a,c,e){var f=e==g?this:new b(z.cancel);a={resolved:a,error:c,progress:e,deferred:f};u?v=v.next=a:u=v=a;q&&d();return f.promise};var w=this;z.cancel=this.cancel=function(){if(!q){var b=a&&a(w);q||(b instanceof Error||(b=new n(b)),b.log=!1,w.reject(b))}r=!0};m(z)};e.extend(b,{addCallback:function(b){return this.addCallbacks(e.hitch.apply(a,arguments))},addErrback:function(b){return this.addCallbacks(null,e.hitch.apply(a,arguments))},addBoth:function(b){var c=e.hitch.apply(a,arguments);return this.addCallbacks(c,c)},fired:-1});b.when=a.when=f;return b})},"dojo/Deferred":function(){dojoDefine(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(a,k,h,n,c){var e=Object.freeze||function(){},f=function(b,a,c,e,f){2===a&&l.instrumentRejected&&0===b.length&&l.instrumentRejected(c,!1,e,f);for(f=0;fb?"0"+b:b});if(a.valueOf()!==a)return f(a.valueOf(),b,l);var d=e?b+e:"",n=e?" ":"",q=e?"\n":"";if(a instanceof Array){var n=a.length,r=[];for(l=0;la.length?"0"+a:a},this).join("")},toCss:function(a){var c=this.r+", "+this.g+", "+this.b;return(a?"rgba("+c+", "+this.a:"rgb("+c)+")"},toString:function(){return this.toCss(!0)}});c.blendColors=a.blendColors=function(a,f,g,m){var b=m||new c();h.forEach(["r","g","b","a"],function(c){b[c]=a[c]+(f[c]-a[c])*g;"a"!=c&&(b[c]=Math.round(b[c]))});return b.sanitize()};c.fromRgb=a.colorFromRgb=function(a,f){var g=a.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return g&&c.fromArray(g[1].split(/\s*,\s*/),f)};c.fromHex=a.colorFromHex=function(a,f){var g=f||new c(),m=4==a.length?4:8,b=(1<>=m;g[c]=4==m?17*f:f});g.a=1;return g};c.fromArray=a.colorFromArray=function(a,f){var g=f||new c();g._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));isNaN(g.a)&&(g.a=1);return g.sanitize()};c.fromString=a.colorFromString=function(a,f){var g=c.named[a];return g&&c.fromArray(g,f)||c.fromRgb(a,f)||c.fromHex(a,f)};return c})},"dojo/_base/browser":function(){dojoRequire.has&&dojoRequire.has.add("config-selectorEngine","acme");dojoDefine("../ready ./kernel ./connect ./unload ./window ./event ./html ./NodeList ../query ./xhr ./fx".split(" "),function(a){return a})},"dojo/_base/unload":function(){dojoDefine(["./kernel","./lang","../on"],function(a,k,h){var n=window,c={addOnWindowUnload:function(c,f){a.windowUnloaded||h(n,"unload",a.windowUnloaded=function(){});h(n,"unload",k.hitch(c,f))},addOnUnload:function(a,c){h(n,"beforeunload",k.hitch(a,c))}};a.addOnWindowUnload=c.addOnWindowUnload;a.addOnUnload=c.addOnUnload;return c})},"dojo/_base/html":function(){dojoDefine("./kernel ../dom ../dom-style ../dom-attr ../dom-prop ../dom-class ../dom-construct ../dom-geometry".split(" "),function(a,k,h,n,c,e,f,g){a.byId=k.byId;a.isDescendant=k.isDescendant;a.setSelectable=k.setSelectable;a.getAttr=n.get;a.setAttr=n.set;a.hasAttr=n.has;a.removeAttr=n.remove;a.getNodeProp=n.getNodeProp;a.attr=function(a,b,c){return 2==arguments.length?n["string"==typeof b?"get":"set"](a,b):n.set(a,b,c)};a.hasClass=e.contains;a.addClass=e.add;a.removeClass=e.remove;a.toggleClass=e.toggle;a.replaceClass=e.replace;a._toDom=a.toDom=f.toDom;a.place=f.place;a.create=f.create;a.empty=function(a){f.empty(a)};a._destroyElement=a.destroy=function(a){f.destroy(a)};a._getPadExtents=a.getPadExtents=g.getPadExtents;a._getBorderExtents=a.getBorderExtents=g.getBorderExtents;a._getPadBorderExtents=a.getPadBorderExtents=g.getPadBorderExtents;a._getMarginExtents=a.getMarginExtents=g.getMarginExtents;a._getMarginSize=a.getMarginSize=g.getMarginSize;a._getMarginBox=a.getMarginBox=g.getMarginBox;a.setMarginBox=g.setMarginBox;a._getContentBox=a.getContentBox=g.getContentBox;a.setContentSize=g.setContentSize;a._isBodyLtr=a.isBodyLtr=g.isBodyLtr;a._docScroll=a.docScroll=g.docScroll;a._getIeDocumentElementOffset=a.getIeDocumentElementOffset=g.getIeDocumentElementOffset;a._fixIeBiDiScrollLeft=a.fixIeBiDiScrollLeft=g.fixIeBiDiScrollLeft;a.position=g.position;a.marginBox=function(a,b){return b?g.setMarginBox(a,b):g.getMarginBox(a)};a.contentBox=function(a,b){return b?g.setContentSize(a,b):g.getContentBox(a)};a.coords=function(c,b){a.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");c=k.byId(c);var e=h.getComputedStyle(c),e=g.getMarginBox(c,e),f=g.position(c,b);e.x=f.x;e.y=f.y;return e};a.getProp=c.get;a.setProp=c.set;a.prop=function(a,b,e){return 2==arguments.length?c["string"==typeof b?"get":"set"](a,b):c.set(a,b,e)};a.getStyle=h.get;a.setStyle=h.set;a.getComputedStyle=h.getComputedStyle;a.__toPixelValue=a.toPixelValue=h.toPixelValue;a.style=function(a,b,c){switch(arguments.length){case 1:return h.get(a);case 2:return h["string"==typeof b?"get":"set"](a,b)}return h.set(a,b,c)};return a})},"dojo/dom-attr":function(){dojoDefine("exports ./sniff ./_base/lang ./dom ./dom-style ./dom-prop".split(" "),function(a,k,h,n,c,e){function f(a,c){var e=a.getAttributeNode&&a.getAttributeNode(c);return!!e&&e.specified}var g={innerHTML:1,textContent:1,className:1,htmlFor:k("ie"),value:1},m={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};a.has=function(a,c){var h=c.toLowerCase();return g[e.names[h]||c]||f(n.byId(a),m[h]||c)};a.get=function(a,c){a=n.byId(a);var k=c.toLowerCase(),d=e.names[k]||c,y=a[d];if(g[d]&&"undefined"!=typeof y)return y;if("textContent"==d)return e.get(a,d);if("href"!=d&&("boolean"==typeof y||h.isFunction(y)))return y;k=m[k]||c;return f(a,k)?a.getAttribute(k):null};a.set=function(b,f,k){b=n.byId(b);if(2==arguments.length){for(var d in f)a.set(b,d,f[d]);return b}d=f.toLowerCase();var y=e.names[d]||f,q=g[y];if("style"==y&&"string"!=typeof k)return c.set(b,k),b;if(q||"boolean"==typeof k||h.isFunction(k))return e.set(b,f,k);b.setAttribute(m[d]||f,k);return b};a.remove=function(a,c){n.byId(a).removeAttribute(m[c.toLowerCase()]||c)};a.getNodeProp=function(a,c){a=n.byId(a);var g=c.toLowerCase(),d=e.names[g]||c;if(d in a&&"href"!=d)return a[d];g=m[g]||c;return f(a,g)?a.getAttribute(g):null}})},"dojo/dom-prop":function(){dojoDefine("exports ./_base/kernel ./sniff ./_base/lang ./dom ./dom-style ./dom-construct ./_base/connect".split(" "),function(a,k,h,n,c,e,f,g){function m(a){var b="";a=a.childNodes;for(var c=0,e;e=a[c];c++)8!=e.nodeType&&(b=1==e.nodeType?b+m(e):b+e.nodeValue);return b}var b={},l=0,p=k._scopeName+"attrid";h.add("dom-textContent",function(a,b,c){return"textContent"in c});a.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};a.get=function(b,e){b=c.byId(b);var f=e.toLowerCase(),f=a.names[f]||e;return"textContent"!=f||h("dom-textContent")?b[f]:m(b)};a.set=function(d,k,m){d=c.byId(d);if(2==arguments.length&&"string"!=typeof k){for(var r in k)a.set(d,r,k[r]);return d}r=k.toLowerCase();r=a.names[r]||k;if("style"==r&&"string"!=typeof m)return e.set(d,m),d;if("innerHTML"==r)return h("ie")&&d.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(f.empty(d),d.appendChild(f.toDom(m,d.ownerDocument))):d[r]=m,d;if("textContent"==r&&!h("dom-textContent"))return f.empty(d),d.appendChild(d.ownerDocument.createTextNode(m)),d;if(n.isFunction(m)){var t=d[p];t||(t=l++,d[p]=t);b[t]||(b[t]={});var x=b[t][r];if(x)g.disconnect(x);else try{delete d[r]}catch(v){}m?b[t][r]=g.connect(d,r,m):d[r]=null;return d}d[r]=m;return d}})},"dojo/dom-construct":function(){dojoDefine("exports ./_base/kernel ./sniff ./_base/window ./dom ./dom-attr".split(" "),function(a,k,h,n,c,e){function f(a,b){var c=b.parentNode;c&&c.insertBefore(a,b)}function g(a){if("innerHTML"in a)try{a.innerHTML="";return}catch(b){}for(var c;c=a.lastChild;)a.removeChild(c);}var m={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},b=/<\s*([\w\:]+)/,l={},p=0,d="__"+k._scopeName+"ToDomId",y;for(y in m)m.hasOwnProperty(y)&&(k=m[y],k.pre="option"==y?'\x3cselect multiple\x3d"multiple"\x3e':"\x3c"+k.join("\x3e\x3c")+"\x3e",k.post="\x3c/"+k.reverse().join("\x3e\x3c/")+"\x3e");var q;8>=h("ie")&&(q=function(a){a.__dojo_html5_tested="yes";var b=r("div",{innerHTML:"\x3cnav\x3ea\x3c/nav\x3e",style:{visibility:"hidden"}},a.body);1!==b.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,function(b){a.createElement(b)});t(b)});a.toDom=function(a,c){c=c||n.doc;var e=c[d];e||(c[d]=e=++p+"",l[e]=c.createElement("div"));8>=h("ie")&&!c.__dojo_html5_tested&&c.body&&q(c);a+="";var f=a.match(b),g=f?f[1].toLowerCase():"",e=l[e];if(f&&m[g])for(f=m[g],e.innerHTML=f.pre+a+f.post,f=f.length;f;--f)e=e.firstChild;else e.innerHTML=a;if(1==e.childNodes.length)return e.removeChild(e.firstChild);for(g=c.createDocumentFragment();f=e.firstChild;)g.appendChild(f);return g};a.place=function(b,d,e){d=c.byId(d);"string"==typeof b&&(b=/^\s*e?0:e])}else switch(e){case"before":f(b,d);break;case"after":e=b;(g=d.parentNode)&&(g.lastChild==d?g.appendChild(e):g.insertBefore(e,d.nextSibling));break;case"replace":d.parentNode.replaceChild(b,d);break;case"only":a.empty(d);d.appendChild(b);break;case"first":if(d.firstChild){f(b,d.firstChild);break}default:d.appendChild(b)}return b};var r=a.create=function(b,d,f,g){var l=n.doc;f&&(f=c.byId(f),l=f.ownerDocument);"string"==typeof b&&(b=l.createElement(b));d&&e.set(b,d);f&&a.place(b,f,g);return b};a.empty=function(a){g(c.byId(a))};var t=a.destroy=function(a){if(a=c.byId(a)){var b=a;a=a.parentNode;b.firstChild&&g(b);a&&(h("ie")&&a.canHaveChildren&&"removeNode"in b?b.removeNode(!1):a.removeChild(b))}}})},"dojo/dom-class":function(){dojoDefine(["./_base/lang","./_base/array","./dom"],function(a,k,h){function n(a){if("string"==typeof a||a instanceof String){if(a&&!e.test(a))return f[0]=a,f;a=a.split(e);a.length&&!a[0]&&a.shift();a.length&&!a[a.length-1]&&a.pop();return a}return a?k.filter(a,function(a){return a}):[]}var c,e=/\s+/,f=[""],g={};return c={contains:function(a,b){return 0<=(" "+h.byId(a).className+" ").indexOf(" "+b+" ")},add:function(a,b){a=h.byId(a);b=n(b);var c=a.className,e,c=c?" "+c+" ":" ";e=c.length;for(var d=0,f=b.length,g;dc.indexOf(" "+g+" ")&&(c+=g+" ");eb&&(b=this.length+b);this[b]&&a.push(this[b])},this);return a._stash(this)}});var x=m(g,q);a.query=m(g,function(a){return q(a)});x.load=function(a,b,c){f.load(a,b,function(a){c(m(a,q))})};a._filterQueryResult=x._filterResult=function(a,b,c){return new q(x.filter(a,b,c))};a.NodeList=x.NodeList=q;return x})},"dojo/selector/_loader":function(){dojoDefine(["../has","require"],function(a,k){var h=document.createElement("div");a.add("dom-qsa2.1",!!h.querySelectorAll);a.add("dom-qsa3",function(){try{return h.innerHTML="\x3cp class\x3d'TEST'\x3e\x3c/p\x3e",1==h.querySelectorAll(".TEST:empty").length}catch(a){}});var n;return{load:function(c,e,f,g){g=k;c="default"==c?a("config-selectorEngine")||"css3":c;c="css2"==c||"lite"==c?"./lite":"css2.1"==c?a("dom-qsa2.1")?"./lite":"./acme":"css3"==c?a("dom-qsa3")?"./lite":"./acme":"acme"==c?"./acme":(g=e)&&c;if("?"==c.charAt(c.length-1)){c=c.substring(0,c.length-1);var h=!0}if(h&&(a("dom-compliant-qsa")||n))return f(n);g([c],function(a){"./lite"!=c&&(n=a);f(a)})}}})},"dojo/selector/acme":function(){dojoDefine(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(a,k,h,n,c){var e=n.trim,f=h.forEach,g="BackCompat"==c.doc.compatMode,m=!1,b=function(){return!0},l=function(a){a=0<="\x3e~+".indexOf(a.slice(-1))?a+" * ":a+" ";for(var b=function(b,c){return e(a.slice(b,c))},c=[],d=-1,f=-1,g=-1,h=-1,k=-1,l=-1,n=-1,p,E="",t="",v,C=0,q=a.length,r=null,u=null,x=function(){0<=l&&(r.id=b(l,C).replace(/\\/g,""),l=-1);if(0<=n){var a=n==C?null:b(n,C);r[0>"\x3e~+".indexOf(a)?"tag":"oper"]=a;n=-1}0<=k&&(r.classes.push(b(k+1,C).replace(/\\/g,"")),k=-1)};E=t,t=a.charAt(C),Cf?f=f%e&&e+f%e:0=e&&(g=f-f%e),f%=e):0>e&&(e*=-1,0=g&&(0>h||a<=h)&&a%e==f};b=f}var k=c(b);return function(a){return E(a)==k}}},O=9>k("ie")||9==k("ie")&&k("quirks")?function(a){var b=a.toLowerCase();"class"==b&&(a="className");return function(c){return m?c.getAttribute(a):c[a]||c[b]}}:function(a){return function(b){return b&&b.getAttribute&&b.hasAttribute(a)}},N=function(a,c){if(!a)return b;c=c||{};var d=null;"el"in c||(d=p(d,y));"tag"in c||"*"!=a.tag&&(d=p(d,function(b){return b&&(m?b.tagName:b.tagName.toUpperCase())==a.getTag()}));"classes"in c||f(a.classes,function(a,b,c){var e=new RegExp("(?:^|\\s)"+a+"(?:\\s|$)");d=p(d,function(a){return e.test(a.className)});d.count=b});"pseudos"in c||f(a.pseudos,function(a){var b=a.name;Q[b]&&(d=p(d,Q[b](b,a.value)))});"attrs"in c||f(a.attrs,function(a){var b,c=a.attr;a.type&&r[a.type]?b=r[a.type](c,a.matchFor):c.length&&(b=O(c));b&&(d=p(d,b))});"id"in c||a.id&&(d=p(d,function(b){return!!b&&b.id==a.id}));d||"default"in c||(d=b);return d},R=function(a){return function(b,c,d){for(;b=b[x];)if(!t||y(b)){d&&!W(b,d)||!a(b)||c.push(b);break}return c}},I=function(a){return function(b,c,d){for(b=b[x];b;){if(u(b)){if(d&&!W(b,d))break;a(b)&&c.push(b)}b=b[x]}return c}},J=function(a){a=a||b;return function(b,c,d){for(var e=0,f=b.children||b.childNodes;b=f[e++];)u(b)&&(!d||W(b,d))&&a(b,e)&&c.push(b);return c}},P={},F=function(e){var f=P[e.query];if(f)return f;var h=e.infixOper,h=h?h.oper:"",k=N(e,{el:1}),l="*"==e.tag,m=c.doc.getElementsByClassName;if(h)m={el:1},l&&(m.tag=1),k=N(e,m),"+"==h?f=R(k):"~"==h?f=I(k):"\x3e"==h&&(f=J(k));else if(e.id)k=!e.loops&&l?b:N(e,{el:1,id:1}),f=function(b,c){var f=a.byId(e.id,b.ownerDocument||b);if(f&&k(f)){if(9==b.nodeType)return d(f,c);for(var g=f.parentNode;g&&g!=b;)g=g.parentNode;if(g)return d(f,c)}};else if(m&&/\{\s*\[native code\]\s*\}/.test(String(m))&&e.classes.length&&!g)var k=N(e,{el:1,classes:1,id:1}),n=e.classes.join(" "),f=function(a,b,c){b=d(0,b);for(var e,f=0,g=a.getElementsByClassName(n);e=g[f++];)k(e,a)&&W(e,c)&&b.push(e);return b};else l||e.loops?(k=N(e,{el:1,tag:1,id:1}),f=function(a,b,c){b=d(0,b);for(var f,g=0,h=(f=e.getTag())?a.getElementsByTagName(f):[];f=h[g++];)k(f,a)&&W(f,c)&&b.push(f);return b}):f=function(a,b,c){b=d(0,b);for(var f=0,g=e.getTag(),g=g?a.getElementsByTagName(g):[];a=g[f++];)W(a,c)&&b.push(a);return b};return P[e.query]=f},A={},D={},Z=function(a){var b=l(e(a));if(1==b.length){var c=F(b[0]);return function(a){if(a=c(a,[]))a.nozip=!0;return a}}return function(a){a=d(a);for(var c,e,f=b.length,g,h,k=0;k~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,L=function(a,b,c,d){return c?(b?b+" ":"")+c+(d?" "+d:""):a},G=/([^[]*)([^\]]*])?/g,H=function(a,b,c){return b.replace(B,L)+(c||"")},V=function(a,b){a=a.replace(G,H);if(K){var c=D[a];if(c&&!b)return c}if(c=A[a])return c;var c=a.charAt(0),d=-1==a.indexOf(" ");0<=a.indexOf("#")&&d&&(b=!0);if(!K||b||-1!="\x3e~+".indexOf(c)||k("ie")&&-1!=a.indexOf(":")||g&&0<=a.indexOf(".")||-1!=a.indexOf(":contains")||-1!=a.indexOf(":checked")||-1!=a.indexOf("|\x3d")){var e=a.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return A[a]=2>e.length?Z(a):function(a){for(var b=0,c=[],d;d=e[b++];)c=c.concat(Z(d)(a));return c}}var f=0<="\x3e~+".indexOf(a.charAt(a.length-1))?a+" *":a;return D[a]=function(b){try{if(9!=b.nodeType&&!d)throw"";var c=b.querySelectorAll(f);c[U]=!0;return c}catch(e){return V(a,!0)(b)}}},M=0,ba=k("ie")?function(a){return m?a.getAttribute("_uid")||a.setAttribute("_uid",++M)||M:a.uniqueID}:function(a){return a._uid||(a._uid=++M)},W=function(a,b){if(!b)return 1;var c=ba(a);return b[c]?0:b[c]=1},ca=function(a){if(a&&a.nozip)return a;if(!a||!a.length)return[];if(2>a.length)return[a[0]];var b=[];M++;var c,d;if(k("ie")&&m){var e=M+"";for(c=0;c=w&&(w=0,t.ioPublish&&a.publish&&(!b||b&&!1!==b.ioArgs.args.ioPublish)&&a.publish("/dojo/io/stop"))},w=0;d.after(y,"_onAction",function(){--w});d.after(y,"_onInFlight",z);a._ioCancelAll=y.cancelAll;a._ioNotifyStart=function(b){t.ioPublish&&a.publish&&!1!==b.ioArgs.args.ioPublish&&(w||a.publish("/dojo/io/start"),w+=1,a.publish("/dojo/io/send",[b]))};a._ioWatch=function(a,c,d,e){a.ioArgs.options=a.ioArgs.args;b.mixin(a,{response:a.ioArgs,isValid:function(b){return c(a)},isReady:function(b){return d(a)},handleResponse:function(b){return e(a)}});y(a);z(a)};a._ioAddQueryToUrl=function(a){a.query.length&&(a.url+=(-1==a.url.indexOf("?")?"?":"\x26")+a.query,a.query=null)};a.xhr=function(b,c,d){var e,f=a._ioSetArgs(c,function(a){e&&e.cancel()},v,u),g=f.ioArgs;"postData"in c?g.query=c.postData:"putData"in c?g.query=c.putData:"rawBody"in c?g.query=c.rawBody:(2b?(e=k(f),f=""):(e=k(f.slice(0,b)),f=k(f.slice(b+1)));"string"==typeof c[e]&&(c[e]=[c[e]]);a.isArray(c[e])?c[e].push(f):c[e]=f}return c}}})},"dojo/dom-form":function(){dojoDefine(["./_base/lang","./dom","./io-query","./json"],function(a,k,h,n){var c={fieldToObject:function(a){var c=null;if(a=k.byId(a)){var g=a.name,h=(a.type||"").toLowerCase();if(g&&h&&!a.disabled)if("radio"==h||"checkbox"==h)a.checked&&(c=a.value);else if(a.multiple){for(c=[],a=[a.firstChild];a.length;)for(g=a.pop();g;g=g.nextSibling)if(1==g.nodeType&&"option"==g.tagName.toLowerCase())g.selected&&c.push(g.value);else{g.nextSibling&&a.push(g.nextSibling);g.firstChild&&a.push(g.firstChild);break}}else c=a.value}return c},toObject:function(e){var f={};e=k.byId(e).elements;for(var g=0,h=e.length;g"file|submit|image|reset|button".indexOf(n)&&!b.disabled){var d=f,y=l,b=c.fieldToObject(b);if(null!==b){var q=d[y];"string"==typeof q?d[y]=[q,b]:a.isArray(q)?q.push(b):d[y]=b}"image"==n&&(f[l+".x"]=f[l+".y"]=f[l].x=f[l].y=0)}}return f},toQuery:function(a){return h.objectToQuery(c.toObject(a))},toJson:function(a,f){return n.stringify(c.toObject(a),null,f?4:0)}};return c})},"dojo/request/watch":function(){dojoDefine("./util ../errors/RequestTimeoutError ../errors/CancelError ../_base/array ../_base/window ../has!host-browser?dom-addeventlistener?:../on:".split(" "),function(a,k,h,n,c,e){function f(){for(var a=+new Date(),c=0,d;ca||304===a||1223===a||!a}})},"dojo/errors/RequestError":function(){dojoDefine(["./create"],function(a){return a("RequestError",function(a,h){this.response=h})})},"dojo/errors/RequestTimeoutError":function(){dojoDefine(["./create","./RequestError"],function(a,k){return a("RequestTimeoutError",null,k,{dojoType:"timeout"})})},"dojo/request/xhr":function(){dojoDefine(["../errors/RequestError","./watch","./handlers","./util","../has"],function(a,k,h,n,c){function e(b,c){var d=b.xhr;b.status=b.xhr.status;try{b.text=d.responseText}catch(e){}"xml"===b.options.handleAs&&(b.data=d.responseXML);if(!c)try{h(b)}catch(e){c=e}c?this.reject(c):n.checkStatus(d.status)?this.resolve(b):(c=new a("Unable to load "+b.url+" status: "+d.status,b),this.reject(c))}function f(a){return this.xhr.getResponseHeader(a)}function g(h,t,x){var v=c("native-formdata")&&t&&t.data&&t.data instanceof FormData,u=n.parseArgs(h,n.deepCreate(q,t),v);h=u.url;t=u.options;var z,w=n.deferred(u,d,b,l,e,function(){z&&z()}),E=u.xhr=g._create();if(!E)return w.cancel(new a("XHR was not created")),x?w:w.promise;u.getHeader=f;p&&(z=p(E,w,u));var C=t.data,X=!t.sync,Q=t.method;try{E.open(Q,h,X,t.user||y,t.password||y);t.withCredentials&&(E.withCredentials=t.withCredentials);c("native-response-type")&&t.handleAs in m&&(E.responseType=m[t.handleAs]);var O=t.headers;h=v?!1:"application/x-www-form-urlencoded";if(O)for(var N in O)"content-type"===N.toLowerCase()?h=O[N]:O[N]&&E.setRequestHeader(N,O[N]);h&&!1!==h&&E.setRequestHeader("Content-Type",h);O&&"X-Requested-With"in O||E.setRequestHeader("X-Requested-With","XMLHttpRequest");n.notify&&n.notify.emit("send",u,w.promise.cancel);E.send(C)}catch(R){w.reject(R)}k(w);E=null;return x?w:w.promise}c.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});c.add("dojo-force-activex-xhr",function(){return c("activex")&&!document.addEventListener&&"file:"===window.location.protocol});c.add("native-xhr2",function(){if(c("native-xhr")){var a=new XMLHttpRequest();return"undefined"!==typeof a.addEventListener&&("undefined"===typeof opera||"undefined"!==typeof a.upload)}});c.add("native-formdata",function(){return"undefined"!==typeof FormData});c.add("native-response-type",function(){return c("native-xhr")&&"undefined"!==typeof new XMLHttpRequest().responseType});c.add("native-xhr2-blob",function(){if(c("native-response-type")){var a=new XMLHttpRequest();a.open("GET","/",!0);a.responseType="blob";var b=a.responseType;a.abort();return"blob"===b}});var m={blob:c("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"},b,l,p,d;c("native-xhr2")?(b=function(a){return!this.isFulfilled()},d=function(a,b){b.xhr.abort()},p=function(b,c,d){function e(a){c.handleResponse(d)}function f(b){b=new a("Unable to load "+d.url+" status: "+b.target.status,d);c.handleResponse(d,b)}function g(a){a.lengthComputable?(d.loaded=a.loaded,d.total=a.total,c.progress(d)):3===d.xhr.readyState&&(d.loaded=a.position,c.progress(d))}b.addEventListener("load",e,!1);b.addEventListener("error",f,!1);b.addEventListener("progress",g,!1);return function(){b.removeEventListener("load",e,!1);b.removeEventListener("error",f,!1);b.removeEventListener("progress",g,!1);b=null}}):(b=function(a){return a.xhr.readyState},l=function(a){return 4===a.xhr.readyState},d=function(a,b){var c=b.xhr,d=typeof c.abort;"function"!==d&&"object"!==d&&"unknown"!==d||c.abort()});var y,q={data:null,query:null,sync:!1,method:"GET"};g._create=function(){throw Error("XMLHTTP not available")};if(c("native-xhr")&&!c("dojo-force-activex-xhr"))g._create=function(){return new XMLHttpRequest()};else if(c("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),g._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(r){try{new ActiveXObject("Microsoft.XMLHTTP"),g._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(t){}}n.addCommonMethods(g);return g})},"dojo/request/handlers":function(){dojoDefine(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(a,k,h,n){function c(a){var c=b[a.options.handleAs];a.data=c?c(a):a.data||a.text;return a}n.add("activex","undefined"!==typeof ActiveXObject);n.add("dom-parser",function(a){return"DOMParser"in a});var e;if(n("activex")){var f=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"],g;e=function(a){function b(a){try{var f=new ActiveXObject(a);f.async=!1;f.loadXML(e);c=f;g=a}catch(h){return!1}return!0}var c=a.data,e=a.text;c&&n("dom-qsa2.1")&&!c.querySelectorAll&&n("dom-parser")&&(c=new DOMParser().parseFromString(e,"application/xml"));c&&c.documentElement||g&&b(g)||h.some(f,b);return c}}var m=function(a){return n("native-xhr2-blob")||"blob"!==a.options.handleAs||"undefined"===typeof Blob?a.xhr.response:new Blob([a.xhr.response],{type:a.xhr.getResponseHeader("Content-Type")})},b={javascript:function(a){return k.eval(a.text||"")},json:function(b){return a.parse(b.text||null)},xml:e,blob:m,arraybuffer:m,document:m};c.register=function(a,c){b[a]=c};return c})},"dojo/_base/fx":function(){dojoDefine("./kernel ./config ./lang ../Evented ./Color ../aspect ../sniff ../dom ../dom-style".split(" "),function(a,k,h,n,c,e,f,g,m){var b=h.mixin,l={},p=l._Line=function(a,b){this.start=a;this.end=b};p.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var d=l.Animation=function(a){b(this,a);h.isArray(this.curve)&&(this.curve=new p(this.curve[0],this.curve[1]))};d.prototype=new n();h.extend(d,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(a,b){var c=b||[];if(this[a])if(k.debugAtAllCosts)this[a].apply(this,c);else try{this[a].apply(this,c)}catch(d){}return this},play:function(a,b){this._delayTimer&&this._clearTimer();if(b)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&!this._paused)return this;this._fire("beforeBegin",[this.node]);var c=a||this.delay,d=h.hitch(this,"_play",b);if(0this._percent?this._startTimer():(this._active=!1,0=y&&(clearInterval(q),q=null,y=0)}});var t=f("ie")?function(a){var b=a.style;b.width.length||"auto"!=m.get(a,"width")||(b.width="auto")}:function(){};l._fade=function(a){a.node=g.byId(a.node);var c=b({properties:{}},a);a=c.properties.opacity={};a.start="start"in c?c.start:function(){return+m.get(c.node,"opacity")||0};a.end=c.end;a=l.animateProperty(c);e.after(a,"beforeBegin",h.partial(t,c.node),!0);return a};l.fadeIn=function(a){return l._fade(b({end:1},a))};l.fadeOut=function(a){return l._fade(b({end:0},a))};l._defaultEasing=function(a){return.5+Math.sin((a+1.5)*Math.PI)/2};var x=function(a){this._properties=a;for(var b in a){var d=a[b];d.start instanceof c&&(d.tempColor=new c())}};x.prototype.getValue=function(a){var b={},d;for(d in this._properties){var e=this._properties[d],f=e.start;f instanceof c?b[d]=c.blendColors(f,e.end,a,e.tempColor).toCss():h.isArray(f)||(b[d]=(e.end-f)*a+f+("opacity"!=d?e.units||"px":0))}return b};l.animateProperty=function(f){var k=f.node=g.byId(f.node);f.easing||(f.easing=a._defaultEasing);f=new d(f);e.after(f,"beforeBegin",h.hitch(f,function(){var a={},d;for(d in this.properties){var e=function(a,b){var c={height:a.offsetHeight,width:a.offsetWidth}[b];if(void 0!==c)return c;c=m.get(a,b);return"opacity"==b?+c:g?c:parseFloat(c)};if("width"==d||"height"==d)this.node.display="block";var f=this.properties[d];h.isFunction(f)&&(f=f(k));f=a[d]=b({},h.isObject(f)?f:{end:f});h.isFunction(f.start)&&(f.start=f.start(k));h.isFunction(f.end)&&(f.end=f.end(k));var g=0<=d.toLowerCase().indexOf("color");"end"in f?"start"in f||(f.start=e(k,d)):f.end=e(k,d);g?(f.start=new c(f.start),f.end=new c(f.end)):f.start="opacity"==d?+f.start:parseFloat(f.start)}this.curve=new x(a)}),!0);e.after(f,"onAnimate",h.hitch(m,"set",f.node),!0);return f};l.anim=function(a,b,c,e,f,g){return l.animateProperty({node:a,duration:c||d.prototype.duration,properties:b,easing:e,onEnd:f}).play(g||0)};b(a,l);a._Animation=d;return l})},"dojo/_base/loader":function(){dojoDefine("./kernel ../has require module ../json ./lang ./array".split(" "),function(a,k,h,n,c,e,f){var g=function(a){return a.replace(/\./g,"/")},m=/\/\/>>built/,b=[],l=[],p=function(a,c,e){b.push(e);f.forEach(a.split(","),function(a){a=R(a,c.module);l.push(a);I(a)});d()},d=function(){var a,c;for(c in O)if(a=O[c],void 0===a.noReqPluginCheck&&(a.noReqPluginCheck=/loadInit\!/.test(c)||/require\!/.test(c)?1:0),!a.executed&&!a.noReqPluginCheck&&a.injected==z)return;Z(function(){var a=b;b=[];f.forEach(a,function(a){a(1)})})},y=function(b,c,d){var e=/\(|\)/g,f=1;for(e.lastIndex=c;(c=e.exec(b))&&(")"==c[0]?--f:f+=1,0!=f););if(0!=f)throw"unmatched paren around character "+e.lastIndex+" in: "+b;return[a.trim(b.substring(d,e.lastIndex))+";\n",e.lastIndex]},q=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,r=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,t=/(^|\s)(require|define)\s*\(/m,x=function(a,b){var c,d,e,f=[],g=[];c=[];for(b=b||a.replace(q,function(a){r.lastIndex=t.lastIndex=0;return r.test(a)||t.test(a)?"":a});c=r.exec(b);)d=r.lastIndex,e=d-c[0].length,d=y(b,d,e),"loadInit"==c[2]?f.push(d[0]):g.push(d[0]),r.lastIndex=d[1];c=f.concat(g);return c.length||!t.test(b)?[a.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 \x26\x26 dojo.loadInit("),c.join(""),c]:0},v=h.initSyncLoader(p,d,function(a,b){var d,e,f=[],g=[];if(m.test(b)||!(d=x(b)))return 0;e=a.mid+"-*loadInit";for(var h in R("dojo",a).result.scopeMap)f.push(h),g.push('"'+h+'"');return"// xdomain rewrite of "+a.mid+"\ndefine('"+e+"',{\n\tnames:"+c.stringify(f)+",\n\tdef:function("+f.join(",")+"){"+d[1]+"}});\n\ndefine("+c.stringify(f.concat(["dojo/loadInit!"+e]))+", function("+f.join(",")+"){\n"+d[0]+"});"}),u=v.sync,z=v.requested,w=v.arrived,E=v.nonmodule,C=v.executing,X=v.executed,Q=v.syncExecStack,O=v.modules,N=v.execQ,R=v.getModule,I=v.injectModule,J=v.setArrived,P=v.signal,F=v.finishExec,A=v.execModule,D=v.getLegacyMode,Z=v.guardCheckComplete,p=v.dojoRequirePlugin;a.provide=function(a){var b=Q[0],c=e.mixin(R(g(a),h.module),{executed:C,result:e.getObject(a,!0)});J(c);b&&(b.provides||(b.provides=[])).push(function(){c.result=e.getObject(a);delete c.provides;c.executed!==X&&F(c)});return c.result};k.add("config-publishRequireResult",1,0,0);a.dojoRequire=function(a,b){var c=function(a,b){var c=R(g(a),h.module);if(Q.length&&Q[0].finish)Q[0].finish.push(a);else{if(c.executed)return c.result;b&&(c.result=E);var d=D();I(c);d=D();c.executed!==X&&c.injected===w&&v.guardCheckComplete(function(){A(c)});if(c.executed)return c.result;d==u?c.cjs?N.unshift(c):Q.length&&(Q[0].finish=[a]):N.push(c)}}(a,b);k("config-publishRequireResult")&&!e.exists(a)&&void 0!==c&&e.setObject(a,c);return c};a.loadInit=function(a){a()};a.registerModulePath=function(a,b){var c={};c[a.replace(/\./g,"/")]=b;h({paths:c})};a.platformRequire=function(b){b=(b.common||[]).concat(b[a._name]||b["default"]||[]);for(var c;b.length;)e.isArray(c=b.shift())?a.dojoRequire.apply(a,c):a.dojoRequire(c);};a.requireIf=a.requireAfterIf=function(b,c,d){b&&a.dojoRequire(c,d)};a.requireLocalization=function(a,b,c){h(["../i18n"],function(d){d.getLocalization(a,b,c)})};return{extractLegacyApiApplications:x,dojoRequire:p,loadInit:function(b,c,d){c([b],function(b){c(b.names,function(){for(var e="",f=[],h=0;h.*$/,""),w=n.map(p.split(/\s+/),function(a){var c=a.toLowerCase();return{name:a,value:"LI"==b.nodeName&&"value"==a||"enctype"==c?b.getAttribute(c):b.getAttributeNode(c).value}}));var F=e.scope||k._scopeName;p="data-"+F+"-";var A={};"dojo"!==F&&(A[p+"props"]="data-dojo-props",A[p+"type"]="data-dojo-type",A[p+"mixins"]="data-dojo-mixins",A[F+"type"]="dojoType",A[p+"id"]="data-dojo-id");for(var D=0,z,F=[],U,K;z=w[D++];){var B=z.name,L=B.toLowerCase();z=z.value;switch(A[L]||L){case"data-dojo-type":case"dojotype":case"data-dojo-mixins":break;case"data-dojo-props":K=z;break;case"data-dojo-id":case"jsid":U=z;break;case"data-dojo-attach-point":case"dojoattachpoint":u.dojoAttachPoint=z;break;case"data-dojo-attach-event":case"dojoattachevent":u.dojoAttachEvent=z;break;case"class":u["class"]=b.className;break;case"style":u.style=b.style&&b.style.cssText;break;default:if(B in v||(B=x(a)[L]||B),B in v)switch(typeof v[B]){case"string":u[B]=z;break;case"number":u[B]=z.length?Number(z):NaN;break;case"boolean":u[B]="false"!=z.toLowerCase();break;case"function":""===z||-1!=z.search(/[^\w\.]+/i)?u[B]=new Function(z):u[B]=h.getObject(z,!1)||new Function(z);F.push(B);break;default:L=v[B],u[B]=L&&"length"in L?z?z.split(/\s*,\s*/):[]:L instanceof Date?""==z?new Date(""):"now"==z?new Date():l.fromISOString(z):L instanceof g?k.baseUrl+z:t(z)}else u[B]=z}}for(w=0;we[0]&&f.setFullYear(e[0]||1970);var g=0,m=e[7]&&e[7].charAt(0);"Z"!=m&&(g=60*(e[8]||0)+(Number(e[9])||0),"-"!=m&&(g*=-1));m&&(g-=f.getTimezoneOffset());g&&f.setTime(f.getTime()+6E4*g)}return f};h.toISOString=function(a,c){var e=function(a){return 10>a?"0"+a:a};c=c||{};var f=[],g=c.zulu?"getUTC":"get",h="";"time"!=c.selector&&(h=a[g+"FullYear"](),h=["0000".substr((h+"").length)+h,e(a[g+"Month"]()+1),e(a[g+"Date"]())].join("-"));f.push(h);if("date"!=c.selector){h=[e(a[g+"Hours"]()),e(a[g+"Minutes"]()),e(a[g+"Seconds"]())].join(":");g=a[g+"Milliseconds"]();c.milliseconds&&(h+="."+(100>g?"0":"")+e(g));if(c.zulu)h+="Z";else if("time"!=c.selector)var g=a.getTimezoneOffset(),b=Math.abs(g),h=h+((0?@[\]^`{|}~])/g,function(t){return t.replace(e,"\\$1")}), /*! * jQuery UI Focusable 1.12.1 * https://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ x.ui.focusable=function(t,e){var i,n,o,s,r=t.nodeName.toLowerCase();return"area"===r?(n=(i=t.parentNode).name,!(!t.href||!n||"map"!==i.nodeName.toLowerCase())&&(0<(n=x("img[usemap='#"+n+"']")).length&&n.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(r)?(o=!t.disabled)&&(s=x(t).closest("fieldset")[0])&&(o=!s.disabled):o="a"===r&&t.href||e,o&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}(x(t)))},x.extend(x.expr[":"],{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)}, /*! * jQuery UI Form Reset Mixin 1.12.1 * https://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element.form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()), /*! * jQuery UI Support for jQuery core 1.7.x 1.12.1 * https://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * https://jquery.org/license * */ "1.7"===x.fn.jquery.substring(0,3)&&(x.each(["Width","Height"],function(t,i){var o="Width"===i?["Left","Right"]:["Top","Bottom"],n=i.toLowerCase(),s={innerWidth:x.fn.innerWidth,innerHeight:x.fn.innerHeight,outerWidth:x.fn.outerWidth,outerHeight:x.fn.outerHeight};function r(t,e,i,n){return x.each(o,function(){e-=parseFloat(x.css(t,"padding"+this))||0,i&&(e-=parseFloat(x.css(t,"border"+this+"Width"))||0),n&&(e-=parseFloat(x.css(t,"margin"+this))||0)}),e}x.fn["inner"+i]=function(t){return void 0===t?s["inner"+i].call(this):this.each(function(){x(this).css(n,r(this,t)+"px")})},x.fn["outer"+i]=function(t,e){return"number"!=typeof t?s["outer"+i].call(this,t):this.each(function(){x(this).css(n,r(this,t,!0,e)+"px")})}}),x.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}), /*! * jQuery UI Keycode 1.12.1 * https://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ x.ui.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}, /*! * jQuery UI Labels 1.12.1 * https://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ x.fn.labels=function(){var t,e,i;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.ui.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e))},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o
"),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthW(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,n=i.isWindow?i.scrollLeft:i.offset.left,o=i.width,s=t.left-e.collisionPosition.marginLeft,r=n-s,l=s+e.collisionWidth-o-n;e.collisionWidth>o?0o?0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=f++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o',a,""].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e}),q.csstransforms=function(){return!!F("transform")},q.csstransforms3d=function(){var a=!!F("perspective");return a&&"webkitPerspective"in g.style&&w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},q.csstransitions=function(){return F("transition")};for(var G in q)y(q,G)&&(v=G.toLowerCase(),e[v]=q[G](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},z(""),i=k=null,e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,e.prefixed=function(a,b,c){return b?F(a,b,c):F(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document);!function(t){"function"==typeof define&&define.amd?define(["jquery","modernizr"],t):t(window.jQuery,window.Modernizr)}(function(t,i,e){"use strict";if("object"!=typeof i)throw new Error("Shuffle.js requires Modernizr.\nhttps://vestride.github.io/Shuffle/#dependencies");var s,n=i.prefixed("transition"),r=i.prefixed("transitionDelay"),o=i.prefixed("transitionDuration"),a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],l=i.prefixed("transform"),h=(s=l)?s.replace(/([A-Z])/g,function(t,i){return"-"+i.toLowerCase()}).replace(/^ms-/,"-ms-"):"",u=i.csstransforms&&i.csstransitions,f=i.csstransforms3d;var d=0,c=function(i,e){e=e||{},t.extend(this,c.options,e,c.settings),this.$el=t(i),this.$window=t(window),this.unique="shuffle_"+d++,this._fire(c.EventType.LOADING),this._init(),setTimeout(t.proxy(function(){this.initialized=!0,this._fire(c.EventType.DONE)},this),16)};return c.EventType={LOADING:"loading",DONE:"done",SHRINK:"shrink",SHRUNK:"shrunk",FILTER:"filter",FILTERED:"filtered",SORTED:"sorted",LAYOUT:"layout",REMOVED:"removed"},c.prototype={_init:function(){var i,e,s=this,r=t.proxy(s._onResize,s),o=s.throttle?s.throttle(r,s.throttleTime):r,a=s.initialSort?s.initialSort:null;s._layoutList=[],s._shrinkList=[],s._setVars(),s._resetCols(),s._addClasses(),s._initItems(),s.$window.on("resize.shuffle."+s.unique,o),i=s.$el.css(["paddingLeft","paddingRight","position"]),e=s._getOuterWidth(s.$el[0]),"static"===i.position&&(s.$el[0].style.position="relative"),s.offset={left:parseInt(i.paddingLeft,10)||0,top:parseInt(i.paddingTop,10)||0},s._setColumns(parseInt(e,10)),s.shuffle(s.group,a),s.supported&&setTimeout(function(){s._setTransitions(),s.$el[0].style[n]="height "+s.speed+"ms "+s.easing},0)},_addClasses:function(){this.$el.addClass("shuffle"),this.$items.addClass("shuffle-item filtered")},_setVars:function(){var i=this.columnWidth;this.$items=this._getItems(),0===i&&null!==this.sizer&&(i=this.sizer),"string"==typeof i?this.$sizer=this.$el.find(i):i&&i.nodeType&&1===i.nodeType?this.$sizer=t(i):i&&i.jquery&&(this.$sizer=i),this.$sizer&&this.$sizer.length&&(this.useSizer=!0,this.sizer=this.$sizer[0])},_filter:function(i,s){var n=this,r=s!==e?s:n.$items,o=t();return i=i||n.lastFilter,n._fire(c.EventType.FILTER),t.isFunction(i)?r.each(function(){var e=t(this);i.call(e[0],e,n)&&(o=o.add(e))}):(n.group=i,"all"===i?o=r:r.each(function(){var e=t(this),s=e.data("groups"),r=n.delimeter&&!t.isArray(s)?s.split(n.delimeter):s;t.inArray(i,r)>-1&&(o=o.add(e))})),n._toggleFilterClasses(r,o),r=null,s=null,o},_toggleFilterClasses:function(i,e){i.filter(e).each(function(){var i=t(this);i.hasClass("concealed")&&i.removeClass("concealed"),i.hasClass("filtered")||i.addClass("filtered")}),i.not(e).each(function(){var i=t(this);i.hasClass("concealed")||i.addClass("concealed"),i.hasClass("filtered")&&i.removeClass("filtered")})},_initItems:function(t){(t=t||this.$items).css(this.itemCss).data("position",{x:0,y:0})},_updateItemCount:function(){this.visibleItems=this.$items.filter(".filtered").length},_setTransition:function(t){t.style[n]=h+" "+this.speed+"ms "+this.easing},_setTransitions:function(t){var i=this;(t=t||i.$items).each(function(){i._setTransition(this)})},_setSequentialDelay:function(i){var e=this;e.supported&&t.each(i,function(i,s){s.style[r]="0ms,"+(i+1)*e.sequentialFadeDelay+"ms",t(s).on(a+"."+e.unique,function(i){var s=i.currentTarget;s===i.target&&(s.style[r]="0ms",t(s).off(a+"."+e.unique))})})},_getItems:function(){return this.$el.children(this.itemSelector)},_getPreciseDimension:function(i,e){var s;return s=window.getComputedStyle?window.getComputedStyle(i,null)[e]:t(i).css(e),parseFloat(s)},_getOuterWidth:function(i,e){var s=i.offsetWidth;if(e){var n=t(i).css(["marginLeft","marginRight"]);s+=(parseFloat(n.marginLeft)||0)+(parseFloat(n.marginRight)||0)}return s},_getOuterHeight:function(i,e){var s=i.offsetHeight;if(e){var n=t(i).css(["marginTop","marginBottom"]);s+=(parseFloat(n.marginTop)||0)+(parseFloat(n.marginBottom)||0)}return s},_getColumnSize:function(i,e){var s;return 0===(s=t.isFunction(this.columnWidth)?this.columnWidth(e):this.useSizer?this._getPreciseDimension(this.sizer,"width"):this.columnWidth?this.columnWidth:this.$items.length>0?this._getOuterWidth(this.$items[0],!0):e)&&(s=e),s+i},_getGutterSize:function(i){return t.isFunction(this.gutterWidth)?this.gutterWidth(i):this.useSizer?this._getPreciseDimension(this.sizer,"marginLeft"):this.gutterWidth},_setColumns:function(t){var i=t||this._getOuterWidth(this.$el[0]),e=this._getGutterSize(i),s=this._getColumnSize(e,i),n=(i+e)/s;Math.abs(Math.round(n)-n)<.03&&(n=Math.round(n)),this.cols=Math.max(Math.floor(n),1),this.containerWidth=i,this.colWidth=s},_setContainerSize:function(){this.$el.css("height",Math.max.apply(Math,this.colYs))},_fire:function(t,i){this.$el.trigger(t+".shuffle",i&&i.length?i:[this])},_layout:function(i,e,s){var n=this;e=e||n._filterEnd,t.each(i,function(i,r){var o=t(r),a=o.data(),l=a.position,h=n._getItemPosition(o);if(o.data("position",h),h.x!==l.x||h.y!==l.y||1!==a.scale){var u={$item:o,x:h.x,y:h.y,scale:1};s?(u.skipTransition=!0,u.opacity=0):(u.opacity=1,u.callback=e),n.styleQueue.push(u),n._layoutList.push(o[0])}}),n._processStyleQueue(),n._setContainerSize()},_resetCols:function(){var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0)},_reLayout:function(){this._resetCols(),this.lastSort?this.sort(this.lastSort,!0):this._layout(this.$items.filter(".filtered").get(),this._filterEnd)},_getItemPosition:function(t){var i=this._getOuterWidth(t[0],!0)/this.colWidth;Math.abs(Math.round(i)-i)<.03&&(i=Math.round(i));var e=Math.min(Math.ceil(i),this.cols);if(1===e)return this._placeItem(t,this.colYs);var s,n,r=this.cols+1-e,o=[];for(n=0;n=e-this.buffer&&i[n]<=e+this.buffer){s=n;break}var o={x:Math.round(this.colWidth*s+this.offset.left),y:Math.round(e+this.offset.top)},a=e+this._getOuterHeight(t[0],!0),l=this.cols+1-r;for(n=0;n0&&t.inArray(e,this._layoutList)>-1?(this._fire(c.EventType.LAYOUT),i.call(this),this._layoutList.length=0):this._shrinkList.length>0&&t.inArray(e,this._shrinkList)>-1&&(i.call(this),this._shrinkList.length=0),s||(e.style.visibility="hidden")},_processStyleQueue:function(){var i=this;t.each(this.styleQueue,function(t,e){e.skipTransition?i._skipTransition(e.$item[0],function(){e.$item.css(i._getStylesForTransition(e))}):i._transition(e)}),i.styleQueue.length=0},_shrinkEnd:function(){this._fire(c.EventType.SHRUNK)},_filterEnd:function(){this._fire(c.EventType.FILTERED)},_sortEnd:function(){this._fire(c.EventType.SORTED)},_skipTransition:function(i,e,s){var n=i.style[o];i.style[o]="0ms",t.isFunction(e)?e():i.style[e]=s;i.offsetWidth;i.style[o]=n},_addItems:function(t,i,s){this.supported||(i=!1),t.addClass("shuffle-item"),this._initItems(t),this._setTransitions(t),this.$items=this._getItems(),t.css("opacity",0);var n=this._filter(e,t),r=n.get();this._updateItemCount(),i?(this._layout(r,null,!0),s&&this._setSequentialDelay(n),this._revealAppended(n)):this._layout(r)},_revealAppended:function(i){var e=this;setTimeout(function(){i.each(function(i,s){e._transition({$item:t(s),opacity:1,scale:1})})},e.revealAppendedDelay)},shuffle:function(t,i){this.enabled&&(t||(t="all"),this._filter(t),this.lastFilter=t,this._updateItemCount(),this._shrink(),i&&(this.lastSort=i),this._reLayout())},sort:function(t,i){var e=this,s=e.$items.filter(".filtered").sorted(t);i||e._resetCols(),e._layout(s,function(){i&&e._filterEnd(),e._sortEnd()}),e.lastSort=t},resized:function(t){this.enabled&&(t||this._setColumns(),this._reLayout())},layout:function(){this.update(!0)},update:function(t){this.resized(t)},appended:function(t,i,e){i=!1!==i,e=!1!==e,this._addItems(t,i,e)},disable:function(){this.enabled=!1},enable:function(t){this.enabled=!0,!1!==t&&this.update()},remove:function(t){if(t.length&&t.jquery){return this._shrink(t,function(){var i=this;t.remove(),setTimeout(function(){i.$items=i._getItems(),i.layout(),i._updateItemCount(),i._fire(c.EventType.REMOVED,[t,i]),t=null},0)}),this._processStyleQueue(),this}},destroy:function(){this.$window.off("."+this.unique),this.$el.removeClass("shuffle").removeAttr("style").removeData("shuffle"),this.$items.removeAttr("style").removeClass("concealed filtered shuffle-item"),this.$window=null,this.$items=null,this.$el=null,this.$sizer=null,this.sizer=null,this.destroyed=!0}},c.options={group:"all",speed:250,easing:"ease-out",itemSelector:"",sizer:null,gutterWidth:0,columnWidth:0,delimeter:null,buffer:0,initialSort:null,throttle:function(i,e,s){var n,r,o,a=null,l=0;s=s||{};var h=function(){l=!1===s.leading?0:t.now(),a=null,o=i.apply(n,r),n=r=null};return function(){var u=t.now();l||!1!==s.leading||(l=u);var f=e-(u-l);return n=this,r=arguments,f<=0||f>e?(clearTimeout(a),a=null,l=u,o=i.apply(n,r),n=r=null):a||!1===s.trailing||(a=setTimeout(h,f)),o}},throttleTime:300,sequentialFadeDelay:150,supported:u},c.settings={$sizer:null,useSizer:!1,itemCss:{position:"absolute",top:0,left:0},offset:{top:0,left:0},revealAppendedDelay:300,enabled:!0,destroyed:!1,initialized:!1,styleQueue:[]},t.fn.shuffle=function(i){var e=Array.prototype.slice.call(arguments,1);return this.each(function(){var s=t(this),n=s.data("shuffle");n||(n=new c(s,i),s.data("shuffle",n)),"string"==typeof i&&n[i]&&n[i].apply(n,e)})},t.fn.sorted=function(i){var s=t.extend({},t.fn.sorted.defaults,i),n=this.get(),r=!1;return n.length?s.randomize?t.fn.sorted.randomize(n):(s.by!==t.noop&&null!==s.by&&s.by!==e&&n.sort(function(i,n){if(r)return 0;var o=s.by(t(i)),a=s.by(t(n));return o===e&&a===e?(r=!0,0):"sortFirst"===o||"sortLast"===a?-1:"sortLast"===o||"sortFirst"===a?1:oa?1:0}),r?this.get():(s.reverse&&n.reverse(),n)):[]},t.fn.sorted.defaults={reverse:!1,by:null,randomize:!1},t.fn.sorted.randomize=function(t){var i,e,s=t.length;if(!s)return t;for(;--s;)i=t[e=Math.floor(Math.random()*(s+1))],t[e]=t[s],t[s]=i;return t},c});window.Manipulator=function(e){"use strict";var t=window.console&&typeof window.console.log==="function";var n=function(t){var n=this;n.$el=e(t);n.init()};n.prototype.init=function(){var e=this;e.initShuffle();e.setupEvents()};n.prototype.initShuffle=function(){this.$el.shuffle({itemSelector:".shuffeldiv",speed:250,easing:"ease",columnWidth:function(t){return parseInt(e(".shuffeldiv").css("width"))},gutterWidth:function(t){return parseInt(e(".shuffeldiv").css("margin-left"))}});this.shuffle=this.$el.data("shuffle")};n.prototype.setupEvents=function(){var n=this;e("#sfsi_wDiv").on("click",e.proxy(n.onRandomize,n));n.$el.on("removed.shuffle",function(e,n,r){if(!t){return}})};n.prototype.onAddClick=function(){var t=this,n=5,r=document.createDocumentFragment(),i=t.$el[0],s=[],o,u=["w2","h2","w3"],a,f,l,c;for(f=0;f.8){c=Math.floor(Math.random()*3);a.className=a.className+" "+u[c]}s.push(a);r.appendChild(a)}i.appendChild(r);o=e(s);t.shuffle.appended(o)};n.prototype.getRandomInt=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};n.prototype.onRemoveClick=function(){var t=this,n=t.shuffle.visibleItems,r=Math.min(3,n),i=[],s=0,o=e();if(!n){return}for(;s."+t).html(i),SFSI(".tab"+e+">."+t).show(),SFSI(".tab"+e+">."+t).effect("highlight",{},5e3),setTimeout(function(){SFSI("."+t).slideUp("slow")},5e3),!1} function beForeLoad(){SFSI(".loader-img").show(),SFSI(".save_button >a").html("Saving..."),SFSI(".save_button >a").css("pointer-events","none")} function sfsi_make_popBox(){var s=0;SFSI(".sfsi_sample_icons >li").each(function(){"none"!=SFSI(this).css("display")&&(s=1)}),0==s?SFSI(".sfsi_Popinner").hide():SFSI(".sfsi_Popinner").show(),""!=SFSI('input[name="sfsi_popup_text"]').val()?(SFSI(".sfsi_Popinner >h2").html(SFSI('input[name="sfsi_popup_text"]').val()),SFSI(".sfsi_Popinner >h2").show()):SFSI(".sfsi_Popinner >h2").hide(),SFSI(".sfsi_Popinner").css({"border-color":SFSI('input[name="sfsi_popup_border_color"]').val(),"border-width":SFSI('input[name="sfsi_popup_border_thickness"]').val(),"border-style":"solid"}),SFSI(".sfsi_Popinner").css("background-color",SFSI('input[name="sfsi_popup_background_color"]').val()),SFSI(".sfsi_Popinner h2").css("font-family",SFSI("#sfsi_popup_font").val()),SFSI(".sfsi_Popinner h2").css("font-style",SFSI("#sfsi_popup_fontStyle").val()),SFSI(".sfsi_Popinner >h2").css("font-size",parseInt(SFSI('input[name="sfsi_popup_fontSize"]').val())),SFSI(".sfsi_Popinner >h2").css("color",SFSI('input[name="sfsi_popup_fontColor"]').val()+" !important"),"yes"==SFSI('input[name="sfsi_popup_border_shadow"]:checked').val()?SFSI(".sfsi_Popinner").css("box-shadow","12px 30px 18px #CCCCCC"):SFSI(".sfsi_Popinner").css("box-shadow","none")} function sfsi_stick_widget(s){0==initTop.length&&(SFSI(".sfsi_widget").each(function(s){initTop[s]=SFSI(this).position().top}));var i=SFSI(window).scrollTop(),e=[],t=[];SFSI(".sfsi_widget").each(function(s){e[s]=SFSI(this).position().top,t[s]=SFSI(this)});var n=!1;for(var o in e){var a=parseInt(o)+1;e[o]i&&a1&&(c=e.length-2),initTop[r]=0&&SFSI(t[c]).css({position:"",top:initTop[c]})):(SFSI(t[r]).css({position:"",top:initTop[r]}),c>=0&&e[c]0?(window.removeEventListener("scroll",i),a-=r*o,SFSI("#sfsi_floater").css({top:Math.round((a+t).toString())+"px",transition:"all 0.6s ease 0s"}),setTimeout(i,n)):window.addEventListener("scroll",i,!1)} function e(){var documentheight=SFSI("#sfsi_floater").attr("data-top");var fltrhght=parseInt(SFSI("#sfsi_floater").height());var fltrtp=parseInt(SFSI("#sfsi_floater").css("top"));if(parseInt(fltrhght)+parseInt(fltrtp)<=documentheight){window.addEventListener("scroll",i,!1)}else{window.removeEventListener("scroll",i);SFSI("#sfsi_floater").css("top",documentheight+"px")}} if("center"==s){var t=(SFSI(window).height()-SFSI("#sfsi_floater").height())/2}else if("bottom"==s){var t=window.innerHeight-(SFSI("#sfsi_floater").height()+parseInt(SFSI('#sfsi_floater').css('margin-bottom')))}else{var t=parseInt(s)} var n=50,o=.1,a=0,r=0;SFSI("#sfsi_floater");var prev_onscroll=window.onscroll;window.onscroll=function(){if('function'===typeof prev_onload){prev_onload(),e()}else{e()}}} function sfsi_shuffle(){var $=window.jQuery;return SFSI('.sfsi_wDiv').each(function(index,container){var s=[];s=SFSI(container).find(".sfsi_wicons ");s=Shuffle(s);SFSI(container).html("");for(var i=0;i'),SFSI("head").append(''),SFSI("head").append(''),SFSI(document).click(function(s){var i=SFSI(".sfsi_FrntInner"),e=SFSI(".sfsi_wDiv"),t=SFSI("#at15s");i.is(s.target)||0!==i.has(s.target).length||e.is(s.target)||0!==e.has(s.target).length||t.is(s.target)||0!==t.has(s.target).length||i.fadeOut()}),SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseover(function(){SFSI(this).css("opacity","0.9")}),SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function(){SFSI(this).css("opacity","1")}),SFSI(".pop-up").on("click",function(){("fbex-s2"==SFSI(this).attr("data-id")||"linkex-s2"==SFSI(this).attr("data-id"))&&(SFSI("."+SFSI(this).attr("data-id")).hide(),SFSI("."+SFSI(this).attr("data-id")).css("opacity","1"),SFSI("."+SFSI(this).attr("data-id")).css("z-index","1000")),SFSI("."+SFSI(this).attr("data-id")).show("slow")}),SFSI(document).on("click",'#close_popup',function(){SFSI(".read-overlay").hide("slow")});var e=0;sfsi_make_popBox(),SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("keyup",sfsi_make_popBox),SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("focus",sfsi_make_popBox),SFSI("#sfsi_popup_font ,#sfsi_popup_fontStyle").on("change",sfsi_make_popBox),SFSI(document).on("click",'.radio',function(){var s=SFSI(this).parent().find("input:radio:first");"sfsi_popup_border_shadow"==s.attr("name")&&sfsi_make_popBox()}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?SFSI(document).on("click",'img.sfsi_wicon',function(s){if(SFSI(s.target).parent().attr('href')==""){s.preventDefault()} if(!SFSI(this).hasClass('sfsi_click_wicon')){s.stopPropagation&&s.stopPropagation()} var i=SFSI("#sfsi_floater_sec").val();SFSI("div.sfsi_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).attr("data-effect")&&"fade_in"==SFSI(this).attr("data-effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("data-effect")&&"scale"==SFSI(this).attr("data-effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("data-effect")&&"combo"==SFSI(this).attr("data-effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==i||"top-right"==i)&&SFSI(this).parent().parent().parent().parent("#sfsi_floater").length>0&&"sfsi_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":1e3}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show())}):SFSI(document).on("mouseenter","img.sfsi_wicon",function(){var s=SFSI("#sfsi_floater_sec").val();SFSI("div.sfsi_wicons").css("z-index","0"),SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),SFSI(this).parent().parent().parent().parent().siblings("li").length>0&&(SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index","0"),SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),SFSI(this).parent().parent().parent().css("z-index","1000000"),SFSI(this).parent().parent().css({"z-index":"999"}),SFSI(this).parent().css({"opacity":"1"}),SFSI(this).attr("data-effect")&&"fade_in"==SFSI(this).attr("data-effect")&&(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("data-effect")&&"scale"==SFSI(this).attr("data-effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parent().css("opacity","1")),SFSI(this).attr("data-effect")&&"combo"==SFSI(this).attr("data-effect")&&(SFSI(this).parent().addClass("scale"),SFSI(this).parent().css("opacity","1"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10})),("top-left"==s||"top-right"==s)&&SFSI(this).parent().parent().parent().parent("#sfsi_floater").length>0&&"sfsi_floater"==SFSI(this).parent().parent().parent().parent().attr("id")?(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()):(SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({opacity:1,"z-index":10}),SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show())}),SFSI(document).on("mouseleave","div.sfsi_wicons",function(){SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect")&&"fade_in"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect")&&SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity","0.6"),SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect")&&"scale"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect")&&SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"),SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-ffect")&&"combo"==SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") SFSI(this).parent("div").find("div.sfsi_tool_tip_2").css("display","none"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2").css("opacity","0")}),SFSI("body").on("click",function(){SFSI(".inerCnt").find("div.sfsi_tool_tip_2").hide()}),SFSI(".adminTooltip >a").on("hover",function(){SFSI(this).offset().top,SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","1"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").show()}),SFSI(".adminTooltip").on("mouseleave",function(){"none"!=SFSI(".gpls_tool_bdr").css("display")&&0!=SFSI(".gpls_tool_bdr").css("opacity")?SFSI(".pop_up_box ").on("click",function(){SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide()}):(SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity","0"),SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide())}),SFSI(".expand-area").on("click",function(){"Read more"==SFSI(this).text()?(SFSI(this).siblings("p").children("label").fadeIn("slow"),SFSI(this).text("Collapse")):(SFSI(this).siblings("p").children("label").fadeOut("slow"),SFSI(this).text("Read more"))}),SFSI(".sfsi_wDiv").length>0&&setTimeout(function(){var s=parseInt(SFSI(".sfsi_wDiv").height())+15+"px";SFSI(".sfsi_holders").each(function(){SFSI(this).css("height",s);SFSI(".sfsi_widget")})},200)});function sfsihidemepopup(){SFSI(".sfsi_FrntInner_chg").fadeOut()} var initTop=new Array();function close_overlay(selector){if(typeof selector==="undefined"){selector='.sfsi_overlay'} jQuery(selector).removeClass('show').addClass('hide').hide()} function sfsi_wechat_share(url){if(jQuery('.sfsi_wechat_follow_overlay').length==0){jQuery('body').append("
×
\"Scan QR Code\" in WeChat and press ··· to share!
");new QRCode(jQuery('.sfsi_wechat_follow_overlay .sfsi_wechat_qr_display')[0],encodeURI(decodeURI(window.location.href))) jQuery('.sfsi_wechat_follow_overlay .sfsi_wechat_qr_display img').attr('nopin','nopin')}else{jQuery('.sfsi_wechat_follow_overlay').removeClass('hide').addClass('show').show()}} function sfsi_mobile_wechat_share(url){if(jQuery('.sfsi_wechat_follow_overlay').length==0){jQuery('body').append("
")}else{jQuery('.sfsi_wechat_scan').removeClass('hide').addClass('show')}} function sfsi_copy_text_parent_input(event){var target=jQuery(event.target);input_target=target.parent().parent().parent().find('input');input_target.select();document.execCommand('copy')} function sfsi_responsive_toggle(){jQuery(document).scroll(function($){var y=jQuery(this).scrollTop();if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){if(jQuery(window).scrollTop()+jQuery(window).height()>=jQuery(document).height()-100){jQuery('.sfsi_outr_div').css({'z-index':'9996',opacity:1,top:jQuery(window).scrollTop()+"px",position:"absolute"});jQuery('.sfsi_outr_div').fadeIn(200);jQuery('.sfsi_FrntInner_chg').fadeIn(200)}else{jQuery('.sfsi_outr_div').fadeOut();jQuery('.sfsi_FrntInner_chg').fadeOut()}}else{if(jQuery(window).scrollTop()+jQuery(window).height()>=jQuery(document).height()-3){jQuery('.sfsi_outr_div').css({'z-index':'9996',opacity:1,top:jQuery(window).scrollTop()+200+"px",position:"absolute"});jQuery('.sfsi_outr_div').fadeIn(200);jQuery('.sfsi_FrntInner_chg').fadeIn(200)}else{jQuery('.sfsi_outr_div').fadeOut();jQuery('.sfsi_FrntInner_chg').fadeOut()}}})} function sfsi_time_pop_up(time_popUp){jQuery(document).ready(function($){setTimeout(function(){jQuery('.sfsi_outr_div').css({'z-index':'1000000',opacity:1});jQuery('.sfsi_outr_div').fadeIn(200);jQuery('.sfsi_FrntInner_chg').fadeIn(200)},time_popUp)})} function sfsi_social_pop_up(time_popUp){jQuery(document).ready(function($){sfsi_setCookie('sfsi_socialPopUp',time(),32);setTimeout(function(){jQuery('.sfsi_outr_div').css({'z-index':'1000000',opacity:1});jQuery('.sfsi_outr_div').fadeIn()},time_popUp)})} function sfsi_plugin_version(pluginVersion){jQuery(document).ready(function(e){jQuery("body").addClass("sfsi_"+pluginVersion)})} function sfsi_widget_set(){jQuery(".sfsi_widget").each(function(index){if(jQuery(this).attr("data-position")=="widget"){var wdgt_hght=jQuery(this).children(".norm_row.sfsi_wDiv").height();var title_hght=jQuery(this).parent(".widget.sfsi").children(".widget-title").height();var totl_hght=parseInt(title_hght)+parseInt(wdgt_hght);jQuery(this).parent(".widget.sfsi").css("min-height",totl_hght+"px")}})} SFSI(window).on('load',function(){SFSI('.sfsi_pinterest_sm_click').on('click touchstart',function(){sfsi_pinterest_modal_images(e)})});function sfsi_pinterest_modal_images(event,url,title){event&&event.preventDefault();var imgSrc=[];var page_title;page_title=SFSI('meta[property="og:title"]').attr('content');if(undefined==page_title){page_title=SFSI('head title').text()} if(undefined==title){title=page_title} if(undefined==url){url=window.location.href} SFSI('body img').each(function(index){var src=SFSI(this).attr('src')||"";var height=SFSI(this).height();var width=SFSI(this).width();var image_title=SFSI(this).attr('title')||"";var alt=SFSI(this).attr('alt')||"";var no_pin=SFSI(this).attr('data-pin-nopin')||"";var no_pin_old=SFSI(this).attr('nopin')||"";if(src!==""&&!src.startsWith("javascript")&&height>100&&width>100&&no_pin_old!=="nopin"&&no_pin!=="true"){imgSrc.push({src:src,title:title&&""!==title?title:(image_title&&""!==image_title?image_title:alt)})}});sfsi_pinterest_modal();if(imgSrc.length==0){var meta_img=SFSI('meta[property="og:image"]').attr('content');if(undefined==meta_img){meta_img=""} SFSI('.sfsi_flex_container').append('
')}else{SFSI.each(imgSrc,function(index,val){SFSI('.sfsi_flex_container').append('
')})} event.preventDefault()} function sfsi_pinterest_modal(imgs){jQuery('body').append("
"+"
"+'×'+"
"+"

Pin It on Pinterest

"+"
"+"
"+"
"+"
"+"
")} var sfsi_functions_loaded=new CustomEvent('sfsi_functions_loaded',{detail:{"abc":"def"}});window.dispatchEvent(sfsi_functions_loaded);!function(){"use strict";if("querySelector"in document&&"addEventListener"in window){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(this))return null;do{if(t.matches(e))return t}while(null!==(t=t.parentElement));return null});var o=function(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})},e=document.querySelectorAll(".menu-toggle"),t=document.querySelectorAll("nav .dropdown-menu-toggle"),n=document.querySelectorAll("nav .main-nav ul a"),l=document.querySelector(".mobile-menu-control-wrapper"),r=document.body,c=document.documentElement,u=function(e){if(r.classList.contains("dropdown-hover")){var t=e.querySelectorAll("li.menu-item-has-children");for(p=0;p a"),m=function(){if(!this.closest("nav").classList.contains("toggled")&&!this.closest("nav").classList.contains("slideout-navigation"))for(var e=this;-1===e.className.indexOf("main-nav");)"li"===e.tagName.toLowerCase()&&e.classList.toggle("sfHover"),e=e.parentElement},v=function(){if(!this.closest("nav").classList.contains("toggled")&&!this.closest("nav").classList.contains("slideout-navigation"))for(var e=this;-1===e.className.indexOf("menu-bar-items");)e.classList.contains("menu-bar-item")&&e.classList.toggle("sfHover"),e=e.parentElement},p=0;p