PageSourceSearch

https://www.grandsudbury.ca/sites/sudburyfr/includes/themes/MuraBo…/script/bundle.js?version=2026-8-13-3-22-5

js grandsudbury.ca collected 2026-10-02 14:55:16 UTC 864,725 bytes, 1 lines download raw bytes

1if(!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Mura",[],t):"object"==typeof exports?exports.Mura=t():e.Mura=t()}(self,function(){var __webpack_modules__={483:function(e){e.exports=function(t){t.Cache=t.Core.extend({init:function(){return this.cache={},this},getKey:function(e){return t.hashCode(e)},get:function(e,t){var n=this.getKey(e);return void 0!==this.cache[n]?this.cache[n].keyValue:void 0!==t?(this.set(e,t,n),this.cache[n].keyValue):void 0},set:function(e,t,n){return n=n||this.getKey(e),this.cache[n]={name:e,value:t},t},has:function(e){return void 0!==this.cache[getKey(e)]},getAll:function(){return this.cache},purgeAll:function(){return this.cache={},this},purge:function(e){e=this.getKey(e);return void 0!==this.cache[e]&&delete this.cache[e],this}}),t.datacache=new t.Cache}},124:function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(a){a.entities.Content=a.Entity.extend({hasParent:function(){var t=this.get("parentid");return!(!t||["00000000000000000000000000000000END","00000000000000000000000000000000003","00000000000000000000000000000000004","00000000000000000000000000000000099"].find(function(e){return e===t}))},updateFromDom:function(){var n=this.get("displayregions"),i=(n&&"object"===t(n)&&Object.keys(n).forEach(function(e){var t,e=n[e];e&&(t=[],a('.mura-region-local[data-regionid="'+e.regionid+'"]').forEach(function(){a(this).children(".mura-object[data-object]").forEach(function(){var e=a(this);void 0!==a.displayObjectInstances[e.data("instanceid")]&&a.displayObjectInstances[e.data("instanceid")].reset(e,!1),t.push(a.cleanModuleProps(e.data()))})}),e.local.items=t)}),this);return a("div.mura-object[data-targetattr]").each(function(){var e=a(this);void 0!==a.displayObjectInstances[e.data("instanceid")]&&a.displayObjectInstances[e.data("instanceid")].reset(e,!1),i.set(e.data("targetattr"),a.cleanModuleProps(a(this).data()))}),a(".mura-editable-attribute.inline").forEach(function(){var e=a(this),t=e.data("attribute");i.set(t,e.html())}),this},renderDisplayRegion:function(e){return a.buildDisplayRegion(this.get("displayregions")[e])},dspRegion:function(e,t,n){return a.isNumeric(t)&&t<=this.get("displayregionnames").length&&(t=this.get("displayregionnames")[t-1]),a(e).processDisplayRegion(this.get("displayregions")[t],n),this},getRelatedContent:function(o,s){var r=this;return o=o||"",new Promise(function(i,e){var t,n=[];for(t in(s=s||{}).siteid=r.get("siteid")||a.siteid,r.has("contenthistid")&&r.get("contenthistid")&&(s.contenthistid=r.get("contenthistid")),s)"entityname"!=t&&"filename"!=t&&"siteid"!=t&&"method"!=t&&n.push(encodeURIComponent(t)+"="+encodeURIComponent(s[t]));r._requestcontext.request({type:"get",url:r._requestcontext.getAPIEndpoint()+"/content/"+r.get("contentid")+"/relatedcontent/"+o+"?"+n.join("&"),params:s,success:function(e){if(void 0!==e.data.items)var t=new a.EntityCollection(e.data,r._requestcontext);else for(var n in t=new a.Entity({siteid:a.siteid},r._requestcontext),e.data)e.data.hasOwnProperty(n)&&t.set(n,new a.EntityCollection(e.data[n],r._requestcontext));"function"==typeof i&&i(t)},error:e})})}})}},898:function(module){function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var n;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,s,r,a=[],l=!0,c=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=s.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}
1finally{try{if(!l&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(c)throw o}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function attach(Mura){"use strict";function login(e,t,n){return Mura.getRequestContext().login(e,t,n)}function logout(e){return Mura.getRequestContext().logout(e)}function trackEvent(n){var e,i,t,o,s,r,a;return void 0!==Mura.editing&&Mura.editing?new Promise(function(e,t){(e=e||function(){})()}):(e=void 0!==Mura.trackingVars,o=t=!(i={ga:{trackingvars:{}}}),s=0,(r={}).category=n.event_category||n.eventCategory||n.category||"",r.name=n.event_action||n.eventAction||n.action||n.eventName||n.name||"",r.label=n.event_label||n.eventLabel||n.label||"",r.type=n.hit_type||n.hitType||n.type||"event",r.value=n.event_value||n.eventValue||n.value||void 0,void 0===n.nonInteraction?r.nonInteraction=!1:r.nonInteraction=n.nonInteraction,r.contentid=n.contentid||Mura.contentid,r.objectid=n.objectid||"",e?(a=n.contentid+n.objectid,void 0!==Mura.trackingMetadata[a]?(Mura.deepExtend(i,Mura.trackingMetadata[a]),i.eventData=r,l()):Mura.get(Mura.getAPIEndpoint(),{method:"findTrackingProps",siteid:Mura.siteid,contentid:r.contentid,objectid:r.objectid}).then(function(e){for(var t in Mura.deepExtend(i,e.data),i.eventData=n,i.ga.trackingvars)i.ga.trackingvars.hasOwnProperty(t)&&"d"==t.substring(0,1)&&"string"!=typeof i.ga.trackingvars[t]&&(i.ga.trackingvars[t]=new String(i.ga.trackingvars[t]));Mura.trackingMetadata[a]={},Mura.deepExtend(Mura.trackingMetadata[a],e.data),l()})):l(),new Promise(function(t,e){t=t||function(){},function e(){o?t():setTimeout(e,1)}()}));function l(){s||(i.ga.trackingvars.eventCategory=r.category,i.ga.trackingvars.eventAction=r.name,i.ga.trackingvars.nonInteraction=r.nonInteraction,i.ga.trackingvars.hitType=r.type,void 0!==r.value&&Mura.isNumeric(r.value)&&(i.ga.trackingvars.eventValue=r.value),r.label?i.ga.trackingvars.eventLabel=r.label:e&&(void 0!==i.object?i.ga.trackingvars.eventLabel=i.object.title:i.ga.trackingvars.eventLabel=i.content.title,r.label=i.ga.trackingvars.eventLabel),Mura(document).trigger("muraTrackEvent",i),Mura(document).trigger("muraRecordEvent",i)),"undefined"!=typeof gtag?(i.ga.trackingvars.event_category=i.ga.trackingvars.eventCategory,i.ga.trackingvars.event_action=i.ga.trackingvars.eventAction,i.ga.trackingvars.non_interaction=i.ga.trackingvars.nonInteraction,i.ga.trackingvars.hit_type=i.ga.trackingvars.hitType,i.ga.trackingvars.event_value=i.ga.trackingvars.eventValue,i.ga.trackingvars.event_label=i.ga.trackingvars.eventLabel,delete i.ga.trackingvars.eventCategory,delete i.ga.trackingvars.eventAction,delete i.ga.trackingvars.eventName,delete i.ga.trackingvars.nonInteraction,delete i.ga.trackingvars.hitType,delete i.ga.trackingvars.eventValue,delete i.ga.trackingvars.eventLabel,void 0!==Mura.trackingVars?Mura.trackingVars.ga.trackingid?(i.ga.trackingvars.send_to=Mura.trackingVars.ga.trackingid,gtag("event",i.ga.trackingvars.event_action,i.ga.trackingvars)):Mura.trackingVars.ga.measurementid&&(i.ga.trackingvars.send_to=Mura.trackingVars.ga.measurementid,i.ga.trackingvars.event_name=i.ga.trackingvars.event_action,delete i.ga.trackingvars.event_action,gtag("event",i.ga.trackingvars.event_name,i.ga.trackingvars)):(i.ga.trackingvars.event_name=i.ga.trackingvars.event_action,gtag("event",i.ga.trackingvars.event_name,i.ga.trackingvars)),o=t=!0):"undefined"!=typeof ga&&(e?ga("mxpGATracker.send",r.type,i.ga.trackingvars):ga("send",r.type,i.ga.trackingvars),o=t=!0),s++,!t&&s<250?setTimeout(l,1):o=!0}}function renderFilename(e,t){return Mura.getRequestContext().renderFilename(e,t)}function declareEntity(e){return Mura.getRequestContext().declareEntity(e)}function undeclareEntity(e,t){return t=t||!1,Mura.getRequestContext().undeclareEntity(e,t)}function openGate(e){return Mura.getRequestContext().openGate(e)}function getEntity(e,t){return t=t||Mura.siteid,Mura.getRequestContext().getEntity(e,t)}function getFeed(e,t){return t=t||Mura.siteid,Mura.getRequestContext().getFeed(e,t)}function getCurrentUser(n){return new Promise(function(t,e){if(Mura.currentUser)return t(Mura.currentUser);Mura.getRequestContext().getCurrentUser(n).then(function(e){Mura.currentUser=e,t(Mura.currentUser)},function(e){Mura.currentUser=e,t(Mura.currentUser)})})}function findText(e,t){return Mura.getRequestContext().findText(e,t)}function findQuery(e){return Mura.getRequestContext().findQuery(e)}function evalScripts(e){for(var t,n=[],i=(e="string"==typeof e?parseHTML(e):e).childNodes,o=0;i[o];
1o++)!n||!nodeName(i[o],"script")||i[o].type&&"text/javascript"!==i[o].type.toLowerCase()?1!=i[o].nodeType&&9!=i[o].nodeType&&11!=i[o].nodeType||evalScripts(i[o]):i[o].src?n.push(i[o]):n.push(i[o].parentNode?i[o].parentNode.removeChild(i[o]):i[o]);for(t in n)evalScript(n[t])}function evalScript(e){var t,n,i;e.src?(Mura.loader().load(e.src),Mura(e).remove()):(t=e.text||e.textContent||e.innerHTML||"",n=document.getElementsByTagName("head")[0]||document.documentElement,(i=document.createElement("script")).type="text/javascript",i.text=t,n.insertBefore(i,n.firstChild),n.removeChild(i),e.parentNode&&e.parentNode.removeChild(e))}function nodeName(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()}function changeElementType(e,t){for(var n=document.createElement(t),i=0,o=e.attributes,s=o.length;i<s;++i)e.setAttribute(o[i].name,o[i].value);for(;e.hasChildNodes();)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}var holdingReady=!0,holdingReadyAltered=!1,holdingQueueReleased=!1,holdingQueue=[],holdingPreInitQueue=[];function initReadyQueue(){holdingReadyAltered||releaseReadyQueue()}function releaseReadyQueue(){holdingReady=!(holdingQueueReleased=!0),holdingQueue.forEach(function(e){readyInternal(e)}),holdingQueue=[]}function holdReady(e){holdingQueueReleased||(holdingReadyAltered=!0,holdingReady=e)||releaseReadyQueue()}function ready(e){holdingQueueReleased?readyInternal(e):holdingQueue.push(e)}function readyInternal(e){"undefined"!=typeof document?"loading"!=document.readyState?setTimeout(function(){e(Mura)},1):document.addEventListener("DOMContentLoaded",function(){e(Mura)}):e(Mura)}function get(e,t,n){return Mura.getRequestContext().get(e,t,n)}function post(e,t,n){return Mura.getRequestContext().post(e,t,n)}function put(e,t,n){return Mura.getRequestContext().put(e,t,n)}function patch(e,t,n){return Mura.getRequestContext().patch(e,t,n
1)}function deleteReq(e,t,n){return Mura.getRequestContext().delete(e,t,n)}function ajax(e){return Mura.getRequestContext().request(e)}function customfetch(e,t){return Mura.getRequestContext().fetch(e,t)}function normalizeRequestConfig(e){e.progress=e.progress||e.onProgress||e.onUploadProgress||!1,e.download=e.download||e.onDownload||e.onDownloadProgress||!1,e.abort=e.abort||e.onAbort||function(){},e.success=e.success||e.onSuccess||function(){},e.error=e.error||e.onError||function(){},e.headers=e.headers||{},e.type=e.type||"get",e.next=e.next||{},e.cache=e.cache||"default";var n={};return Object.entries(e.headers).forEach(function(e){var e=_slicedToArray(e,2),t=e[0],e=e[1];n[t.toLowerCase()]=e}),e.headers=n,void 0!==Mura.maxQueryStringLength&&(e.maxQueryStringLength=e.maxQueryStringLength||Mura.maxQueryStringLength),e}function getRequestContext(e,t,n,i,o,s,r){var a;if("object"===_typeof(e)&&void 0===t?(e=(a=e).req,t=a.res,n=a.headers,i=a.siteid,o=a.endpoint,s=a.mode,r=a.renderMode):"string"==typeof n&&(a=i,i=n,n="object"===_typeof(a)?a:{}),"object"===_typeof(n))for(var l in n)n.hasOwnProperty(l)&&(n[l.toLowerCase()]=n[l]);return e=e||Mura.request,t=t||Mura.response,o=o||Mura.getAPIEndpoint(),s=s||Mura.getMode(),r=void 0!==r?r:Mura.getRenderMode(),new Mura.RequestContext(e,t,n,i,o,s,r)}function getDefaultRequestContext(){return Mura.getRequestContext()}function generateOAuthToken(e,i,o){return new Promise(function(t,n){get(Mura.getAPIEndpoint().replace("/json/","/rest/")+"oauth?grant_type="+encodeURIComponent(e)+"&client_id="+encodeURIComponent(i)+"&client_secret="+encodeURIComponent(o),{cache:"no-cache"}).then(function(e){"undefined"!=e.data?t(e.data):(void 0!==e.error&&"function"==typeof n?n:t)(e)})})}function each(e,t){select(e).each(t)}function on(t,e,n){"ready"==e?Mura.ready(n):"function"==typeof t.addEventListener&&t.addEventListener(e,function(e){void 0===n.call?n(e):n.call(t,e)},!0)}function trigger(e,t,n){if("undefined"!=typeof document){var i="change"!=t;if(document.createEvent){if(n&&!isEmptyObject(n))(o=document.createEvent("CustomEvent")).initCustomEvent(t,i,!0,n);else{var o,s="";switch(t){case"click":case"mousedown":case"mouseup":s="MouseEvents";break;case"focus":case"change":case"blur":case"select":s="HTMLEvents";break;default:s="Event"}(o=document.createEvent(s)).initEvent(t,i,!0)}o.synthetic=!0,e.dispatchEvent(o)}else try{document.fireEvent("on"+t)}catch(e){console.warn("Event failed to fire due to legacy browser: on"+t)}}}function off(e,t,n){e.removeEventListener(t,n)}function parseSelection(e){e="object"==_typeof(e)&&Array.isArray(e)?e:"string"==typeof e?nodeListToArray(document.querySelectorAll(e)):"undefined"!=typeof StaticNodeList&&e instanceof StaticNodeList||"undefined"!=typeof NodeList&&e instanceof NodeList||"undefined"!=typeof HTMLCollection&&e instanceof HTMLCollection?nodeListToArray(e):[e];return e=void 0===e.length?[]:e}function isEmptyObject(e){return"object"!=_typeof(e)||0==Object.keys(e).length}function filter(e,t){select(parseSelection(e)).filter(t)}function nodeListToArray(e){for(var t=[],n=e.length;n--;t.unshift(e[n]));return t}function select(e){return new Mura.DOMSelection(parseSelection(e),e)}function escapeHTML(e){var t;return"undefined"!=typeof document?((t=document.createElement("div")).appendChild(document.createTextNode(e)),t.innerHTML):Mura._escapeHTML(e)}function unescapeHTML(e){var t=document.createElement("div"),e=(t.innerHTML=e,t.childNodes[0]);return e?e.nodeValue:""}function parseHTML(e){var t=document.implementation.createHTMLDocument();return t.body.innerHTML=e,t.body.children}function parseStringAsTemplate(stringValue){var errors={},parsedString=stringValue,doLoop=!0;do{var finder=/(\${)(.+?)(})/.exec(parsedString);if(finder){var template=void 0;try{template=eval("`${"+finder[2]+"}`")}catch(e){console.log("error parsing string template: ${"+finder[2]+"}",e),template="[error]"+finder[2]+"[/error]"}parsedString=parsedString.replace(finder[0],template)}else doLoop=!1}while(doLoop);return parsedString=parsedString.replace("[error]","${"),parsedString=parsedString.replace("[/error]","}"),parsedString}function getData(e){var t={};return Array.prototype.forEach.call(e.attributes,function(e){/^data-/.test(e.name)&&(t[e.name.substr(5)]=parseString(e.value))}),t}function getProps(e){return getData(e)}function isNumeric(e){return Number(parseFloat(e))==e}function buildDisplayRegion(e){if(void 0===e)return"";var t='<div class="mura-region" data-regionid="'+escapeHTML(e.regionid)+'">';function n(e){var t,n='<div class="mura-object '+escapeHTML(e.class||"")+'"';for(t in e)e.hasOwnProperty(t)&&("object"==_typeof(e[t])?n+=" data-"+t+"='"+escapeHTML(JSON.stringify(e[t]).replace(/'/g,"&#39;"))+"'":n+=" data-"+t+'="'+escapeHTML(e[t]).replace(/"/g,"&quot;")+'"');return n+">"}function i(e,t,n,i){return t?"inherited"==e?'<div class="mura-region-inherited"><div class="frontEndToolsModal mura"><span class="mura-edit-label mi-lock">'+escapeHTML(t.toUpperCase())+": Inherited</span></div>":'<div class="mura-editable mura-inactive"><div class="mura-region-local mura-inactive mura-editable-attribute" data-loose="false" data-regionid="'+escapeHTML(i)+'" data-inited="false" data-perm="'+escapeHTML(n)+'"><label class="mura-editable-label" style="display:none">'+escapeHTML(t.toUpperCase())+"</label>":'<div class="mura-region-'+escapeHTML(e)+'">'}if(e.inherited.items.length){for(var o in e.inherited.header?t+=e.inherited.header:t+=i("inherited",e.name,e.inherited.perm,e.regionid),e.inherited.items)e.inherited.items[o].header?t+=e.inherited.items[o].header:t+=n(e.inherited.items[o]),void 0!==e.inherited.items[o].html&&e.inherited.items[o].html&&(t+=e.inherited.items[o].html),e.inherited.items[o].footer?t+=e.inherited.items[o].footer:t+="</div>";t+="</div>"}if(e.local.header?t+=e.local.header:t+=i("local",e.name,e.local.perm,e.regionid),e.local.items.length)for(var o in e.local.items)e.local.items[o].header?t+=e.local.items[o].header:t+=n(e.local.items[o]),void 0!==e.local.items[o].html&&e.local.items[o].html&&(t+=e.local.items[o].html),e.local.items[o].footer?t+=e.local.items[o].footer:t+="</div>";return e.name?t+="</div></div>":t+="</div>",t+"</div>"}function parseString(e){if("string"!=typeof e)return e;var t=e.toLowerCase();if("false"==t)return!1;if("true"==t)return!0;
1if(("string"!=typeof e||35!=e.length)&&isNumeric(e)){var n=parseFloat(e);if(0==n||!isNaN(1/n))return n}try{var i=JSON.parse.call(null,e);return"string"!=typeof i?i:e}catch(t){return e}}function getAttributes(e){Array.prototype.forEach.call(e.attributes,function(e){e.name,e.value})}function formToObject(e){var t,n={};if("object"==_typeof(e)&&"FORM"==e.nodeName)for(var i=e.elements.length,o=0;o<i;o++)if((t=e.elements[o]).name&&!t.disabled&&"file"!=t.type&&"reset"!=t.type&&"submit"!=t.type&&"button"!=t.type)if("select-multiple"==t.type){for(var s=[],r=e.elements[o].options.length-1;0<=r;r--)t.options[r].selected&&s.push(t.options[r].value);n[t.name]=s.join(",")}else("checkbox"!=t.type&&"radio"!=t.type||t.checked)&&(void 0===n[t.name]?n[t.name]=t.value:n[t.name]=n[t.name]+","+t.value);return n}function extend(e){e=e||{};for(var t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])"__proto__"!=n&&void 0!==arguments[t].hasOwnProperty&&arguments[t].hasOwnProperty(n)&&(e[n]=arguments[t][n]);return e}function deepExtend(e){e=e||{};for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var i in n)"__proto__"!=i&&void 0!==arguments[t].hasOwnProperty&&arguments[t].hasOwnProperty(i)&&(Array.isArray(n[i])?e[i]=n[i].slice(0):"object"===_typeof(n[i])?e[i]=deepExtend({},n[i]):e[i]=n[i])}return e}function createCookie(e,t,n,i){var n=n?((o=new Date).setTime(o.getTime()+24*n*60*60*1e3),"; expires="+o.toGMTString()):"",o="undefined"!=typeof location&&"https:"==location.protocol?"; secure; samesite=None;":"";i=void 0!==i?"; domain="+i:"",document.cookie=e+"="+t+n+"; path=/"+o+i}function readCookie(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(t))return unescape(o.substring(t.length,o.length))}return""}function eraseCookie(e){createCookie(e,"",-1)}function $escape(e){return"undefined"!=typeof encodeURIComponent?encodeURIComponent(e):escape(e).replace(new RegExp("\\+","g"),"%2B").replace(/[\x00-\x1F\x7F-\x9F]/g,"")}function $unescape(e){return unescape(e)}function addLoadEvent(e){var t=onload;onload="function"!=typeof onload?e:function(){t(),e()}}function noSpam(e,t){locationstring="mailto:"+e+"@"+t,location=locationstring}function isUUID(e){return"string"==typeof e&&(35==e.length&&"-"==e[8]&&"-"==e[13]&&"-"==e[18]||"00000000000000000000000000000000001"==e||"00000000000000000000000000000000000"==e||"00000000000000000000000000000000003"==e||"00000000000000000000000000000000005"==e||"00000000000000000000000000000000099"==e)}function createUUID(){for(var e=[],t=0;t<35;t++)e[t]=Math.floor(16*Math.random());for(e[14]=4,e[19]=3&e[19]|8,t=0;t<36;t++)e[t]="0123456789ABCDEF"[e[t]];return e[8]=e[13]=e[18]="-",e.join("")}function setHTMLEditor(n){function i(e){e.resetDirty(),CKEDITOR.instances}loader().loadjs(Mura.corepath+"/vendor/ckeditor/ckeditor.js",function(){var e,t=CKEDITOR.instances[n.getAttribute("id")];extend(e={height:200,width:"70%"},Mura(n).data()),t&&(t.destroy(),CKEDITOR.remove(t)),CKEDITOR.replace(n.getAttribute("id"),(t={toolbar:"htmlEditor",customConfig:"config.js.cfm"},"object"==_typeof(e=e)&&extend(t,e),t),i)})}var commandKeyActive=!1,keyCmdCheck=function(e){if(void 0===Mura.keycmdcheck||Mura.keycmdcheck)switch(e.which){case 17:case 27:case 91:commandKeyActive=e.which;break;case 69:commandKeyActive&&(e.preventDefault(),Mura.editroute=Mura.editroute||"/",(n=void 0!==location.pathname.startsWith&&location.pathname.startsWith(Mura.editroute))&&"undefined"!=typeof MuraInlineEditor?MuraInlineEditor.init():void 0===(t=getQueryStringParams(location.search)).editlayout&&(Mura.editroute=Mura.editroute||"",Mura.editroute)&&(n?void 0!==t.previewid&&(location.href=Mura.editroute+location.pathname+"?previewid="+t.previewid):void 0!==t.previewid?location.href=Mura.editroute+location.pathname+"?previewid="+t.previewid:location.href=Mura.editroute+location.pathname));break;case 76:var t,n,i;commandKeyActive&&(e.preventDefault(),t=getQueryStringParams(location.search),n=Mura.loginurl||Mura.loginURL||"?display=login",i=Mura.returnURL||Mura.returnurl||location.href,"login"!=t.display)&&(-1!=(n=new String(n)).indexOf("?")?location.href=n+"&returnUrl="+encodeURIComponent(i):location.href=n+"?returnUrl="+encodeURIComponent(i));break;default:commandKeyActive=!1}};function isInteger(e){for(var t=0;t<e.length;t++){var n=e.charAt(t);if(n<"0"||"9"<n)return!1}return!0}function createDate(e){var e=e.split("/"),t=e[0],n=e[1],e=e[2],e=new Date(e,t-1,n);isNaN(e.getMonth())&&new Date}function dateToString(e){var t=e.getMonth()+1,n=e.getDate(),e=e.getFullYear();t<10&&(t="0"+t),n<10&&(n="0"+n),new String(e).substring(2,4)}function stripCharsInBag(e,t){for(var n="",i=0;i<e.length;i++){var o=e.charAt(i);-1==t.indexOf(o)&&(n+=o)}return n}function daysInFebruary(e){return e%4!=0||e%100==0&&e%400!=0?28:29}function DaysArray(e){for(var t=1;t<=e;t++)this[t]=31,4!=t&&6!=t&&9!=t&&11!=t||(this[t]=30),2==t&&(this[t]=29);return this}function generateDateFormat(e,t){var n=["mm","dd","yyyy"];return[n[Mura.dtformat[0]],n[Mura.dtformat[1]],n[Mura.dtformat[2]]].join(Mura.dtch)}function isDate(e,t){var n=DaysArray(12),i=e.split(Mura.dtch);if(3==i.length){var o=i[Mura.dtformat[0]],s=i[Mura.dtformat[1]],i=i[Mura.dtformat[2]];strYr=i,"0"==s.charAt(0)&&1<s.length&&(s=s.substring(1)),"0"==o.charAt(0)&&1<o.length&&(o=o.substring(1));for(var r=1;r<=3;r++)"0"==strYr.charAt(0)&&1<strYr.length&&(strYr=strYr.substring(1));month=parseInt(o),day=parseInt(s),year=parseInt(strYr),month<1||12<month||day<1||31<day||2==month&&day>daysInFebruary(year)||day>n[month]||4!=i.length||0==year||year<Mura.minYear||year>Mura.maxYear||isInteger(stripCharsInBag(e,Mura.dtch))}}
1function isEmail(e){/^[a-zA-Z_0-9-'\+~]+(\.[a-zA-Z_0-9-'\+~]+)*@([a-zA-Z_0-9-]+\.)+[a-zA-Z]{2,8}$/.test(e)}function initShadowBox(e){"undefined"!=typeof window&&void 0!==window.document&&Mura(e).find('[data-rel^="shadowbox"],[rel^="shadowbox"]').length&&loader().load([Mura.context+"/core/modules/v1/core_assets/css/shadowbox.min.css",Mura.context+"/core/modules/v1/core_assets/js/shadowbox.js"],function(){Mura("#shadowbox_overlay,#shadowbox_container").remove(),window.Shadowbox.init()})}function validateForm(e,t){function n(e){return null!=e.getAttribute("data-required")?"true"==e.getAttribute("data-required").toLowerCase():null!=e.getAttribute("required")&&"true"==e.getAttribute("required").toLowerCase()}function i(e,t){return null!=e.getAttribute("data-message")?e.getAttribute("data-message"):null!=e.getAttribute("message")?e.getAttribute("message"):(null!=(e=e).getAttribute("data-label")?e.getAttribute("data-label"):null!=e.getAttribute("label")?e.getAttribute("label"):e.getAttribute("name")).toUpperCase()+t}function o(e){return null!=e.getAttribute("data-validate")?e.getAttribute("data-validate").toUpperCase():null!=e.getAttribute("validate")?e.getAttribute("validate").toUpperCase():""}function s(e){return null!=e.getAttribute("data-matchfield")?e.getAttribute("data-matchfield"):null!=e.getAttribute("matchfield")?e.getAttribute("matchfield"):""}function r(e){return null!=e.value&&(null!=e.getAttribute("data-regex")&&""!=e.getAttribute("data-regex")||null!=e.getAttribute("regex")&&""!=e.getAttribute("regex"))}function a(e){return null!=e.getAttribute("data-regex")?e.getAttribute("data-regex"):null!=e.getAttribute("regex")?e.getAttribute("regex"):""}for(var l,c,u=e,d="",h={properties:{}},p=u.getElementsByTagName("input"),f=new Array,m={},g=t,v=0;v<p.length;v++){var y=p[v],d=o(y).toUpperCase(),f=new Array;if(""==y.style.display&&(n(y)&&f.push({required:!0,message:i(y," is required.")}),""!=d&&("EMAIL"==d&&""!=y.value?f.push({dataType:"EMAIL",message:i(y," must be a valid email address.")}):"NUMERIC"==d&&""!=y.value?f.push({dataType:"NUMERIC",message:i(y," must be numeric.")}):"REGEX"==d&&""!=y.value&&r(y)?f.push({regex:a(y),message:i(y," is not valid.")}):"MATCH"==d&&(null!=(l=y).getAttribute("data-matchfield")&&""!=l.getAttribute("data-matchfield")||null!=l.getAttribute("matchfield")&&""!=l.getAttribute("matchfield"))&&y.value!=u[s(y)].value?f.push({eq:u[s(y)].value,message:i(y," must match"+s(y)+".")}
1):"DATE"==d&&""!=y.value&&f.push({dataType:"DATE",message:i(y," must be a valid date [MM/DD/YYYY].")})),f.length)){h.properties[y.getAttribute("name")]=f,m[y.getAttribute("name")]=[];for(var b=0;b<p.length;b++)p[b].getAttribute("name")==y.getAttribute("name")&&("checkbox"==p[b].getAttribute("type").toLowerCase()||"radio"==p[b].getAttribute("type").toLowerCase()?p[b].checked&&m[y.getAttribute("name")].push(p[b].value):void 0!==p[b].value&&""!=p[b].value&&m[y.getAttribute("name")].push(p[b].value))}}for(c in m)m.hasOwnProperty(c)&&(m[c]=m[c].join());for(var _=u.getElementsByTagName("textarea"),v=0;v<_.length;v++)d=o(y=_[v]),f=new Array,""==y.style.display&&n(y)?f.push({required:!0,message:i(y," is required.")}):""!=d&&"REGEX"==d&&""!=y.value&&r(y)&&f.push({regex:a(y),message:i(y," is not valid.")}),f.length&&(h.properties[y.getAttribute("name")]=f,m[y.getAttribute("name")]=y.value);var w=u.getElementsByTagName("select");for(v=0;v<w.length;v++)d=o(y=w[v]),f=new Array,""==y.style.display&&n(y)&&f.push({required:!0,message:i(y," is required.")}),f.length&&(h.properties[y.getAttribute("name")]=f,m[y.getAttribute("name")]=y.value);try{ajax({type:"post",url:Mura.getAPIEndpoint()+"?method=validate",data:{data:encodeURIComponent(JSON.stringify(m)),validations:encodeURIComponent(JSON.stringify(h)),version:4},success:function(e){if(m=e.data,0===Object.keys(m).length){if("function"==typeof g)return g(u),!1;document.createElement("form").submit.call(u)}else{var t,n="";for(t in m)n=n+m[t]+"\n";alert(n)}},error:function(e){alert(JSON.stringify(e))}})}catch(e){console.log(e)}return!1}function setLowerCaseKeys(e){for(var t in e)t!==t.toLowerCase()&&(e[t.toLowerCase()]=e[t],delete e[t]),"object"==_typeof(e[t.toLowerCase()])&&setLowerCaseKeys(e[t.toLowerCase()]);return e}function isScrolledIntoView(e){try{var t=e.getBoundingClientRect().top,n=e.getBoundingClientRect().bottom}catch(e){return!0}return t<window.innerHeight&&0<=n}function loader(){return Mura.ljs}var layoutmanagertoolbar='<span class="mura-fetborder mura-fetborder-left"></span><span class="mura-fetborder mura-fetborder-right"></span><span class="mura-fetborder mura-fetborder-top"></span><span class="mura-fetborder mura-fetborder-bottom"></span><div class="frontEndToolsModal mura"><span class="mura-edit-icon"></span><span class="mura-edit-label"></span></div>';function processMarkup(s){return new Promise(function(t,e){function n(e){return s.find(e)}s instanceof Mura.DOMSelection||(s=select(s));for(var i=[function(){Mura(".mura__layout-manager__display-regions").length&&(n(".mura-region").each(function(e){e=Mura(e);e.closest(".mura__layout-manager__display-regions").length||Mura('.mura-region__item[data-regionid="'+e.data("regionid")+'"]').remove()}),Mura(".mura__layout-manager__display-regions .mura-region__item").length||Mura("#mura-objects-openregions-btn, .mura__layout-manager__display-regions").remove())},function(){n(".mura-object, .mura-async-object").each(function(e){s==document?Mura(e).parent().closest(".mura-object").length||processDisplayObject(this,Mura.queueobjects).then(t):processDisplayObject(e,Mura.queueobjects).then(t)})},function(){n(".htmlEditor").each(function(e){setHTMLEditor(e)})},function(){var e;n(".cffp_applied,\t.cffp_mm, .cffp_kp").length&&((e=document.createElement("script")).setAttribute("type","text/javascript"),e.setAttribute("src",Mura.corepath+"/vendor/cfformprotect/js/cffp.js"),document.getElementsByTagName("head")[0].appendChild(e))},function(){Mura.reCAPTCHALanguage=Mura.reCAPTCHALanguage||"en",n(".g-recaptcha-container").length&&loader().loadjs("https://www.recaptcha.net/recaptcha/api.js?onload=MuraCheckForReCaptcha&render=explicit&hl="+Mura.reCAPTCHALanguage,function(){n(".g-recaptcha-container").each(function(e){var t=0;window.MuraCheckForReCaptcha=function(){Mura(".g-recaptcha-container").each(function(){var e=this;"object"!=("undefined"==typeof grecaptcha?"undefined":_typeof(grecaptcha))||void 0===grecaptcha.render||e.innerHTML?t++:e.setAttribute("data-widgetid",grecaptcha.render(e.getAttribute("id"),{sitekey:e.getAttribute("data-sitekey"),theme:e.getAttribute("data-theme"),type:e.getAttribute("data-type")}))}),t&&setTimeout(function(){window.MuraCheckForReCaptcha()},10)},window.MuraCheckForReCaptcha()})})},function(){"function"==typeof resizeEditableObject&&(s.closest(".editableObject").each(function(e){resizeEditableObject(e)}),n(".editableObject").each(function(e){resizeEditableObject(e)}))},function(){"function"==Mura.handleObjectClick&&n(".mura-object, .frontEndToolsModal").on("click",Mura.handleObjectClick),"undefined"!=typeof window&&void 0!==window.document&&window.MuraInlineEditor&&window.MuraInlineEditor.checkforImageCroppers&&n("img").each(function(e){window.muraInlineEditor.checkforImageCroppers(e)})},function(){initShadowBox(s.node)}],o=0;o<i.length;o++)i[o]()})}function addEventHandler(e,t){if("object"==_typeof(e))for(var n in e)e.hasOwnProperty(n)&&on(document,n,e[n]);else on(document,e,t)}function submitForm(e,t){if(e=e.node||e,(t=t?t.node?t:Mura(t):Mura(e).closest(".mura-async-object")).length||(Mura(e).trigger("formSubmit",formToObject(e)),e.submit()),"multipart/form-data"==e.getAttribute("enctype")){var n,i=new FormData(e),o=setLowerCaseKeys(formToObject(e)),s=filterUnwantedParams(deepExtend(setLowerCaseKeys(t.data()),urlparams,{siteid:Mura.siteid,contentid:Mura.contentid,contenthistid:Mura.contenthistid,nocache:1}));for(n in t.data("siteid")&&(s.siteid=t.data("siteid")),s)n in o||i.append(n,s[n]);"objectparams"in o&&i.append("objectparams2",encodeURIComponent(JSON.stringify(t.data("objectparams")))),"nocache"in o&&i.append("nocache",1);var r={url:Mura.getAPIEndpoint()+"?method=processAsyncObject",type:"POST",data:i,success:function(e){setTimeout(function(){handleResponse(t,e)},0)}}}else{i=filterUnwantedParams(deepExtend(setLowerCaseKeys(t.data()),urlparams,setLowerCaseKeys(formToObject(e)),{siteid:Mura.siteid,contentid:Mura.contentid,contenthistid:Mura.contenthistid,nocache:1}));t.data("siteid")&&(i.siteid=t.data("siteid")),"container"==i.object&&i.content&&delete i.content,"g-recaptcha-response"in i||(a=Mura(e).find("#g-recaptcha-response")).length&&void 0!==a.val()&&(i["g-recaptcha-response"]=eCaptchaCheck.val()),"objectparams"in i&&(i.objectparams=encodeURIComponent(JSON.stringify(i.objectparams))),r={url:Mura.getAPIEndpoint()+"?method=processAsyncObject",type:"POST",data:i,success:function(e){setTimeout(function(){handleResponse(t,e)},0)}}}var a=t.node;a.prevInnerHTML=a.innerHTML,a.prevData=filterUnwantedParams(t.data()),void 0!==a.prevData&&void 0!==a.prevData.preloadermarkup?a.innerHTML=a.prevData.preloadermarkup:a.innerHTML=Mura.preloadermarkup,Mura(e).trigger("formSubmit",i),ajax(r)}function firstToUpperCase(e){return e.substr(0,1).toUpperCase()+e.substr(1)}function firstToLowerCase(e){return e.substr(0,1).toLowerCase()+e.substr(1)}function cleanModuleProps(t){var e;return t&&(e=["runtime","perm","startrow","pagenum","pageidx","nextnid","purgecache","origininstanceid"],"function"==typeof t.removeAttr?(e.forEach(function(e){t.removeAttr("data-"+e)}),t.hasAttr("data-cachedwithin")&&!t.attr("data-cachedwithin")&&t.removeAttr("data-cachedwithin")):(e.forEach(function(e){void 0!==t[e]&&delete t[e]}),delete t.inited)),t}function resetAsyncObject(e,t){var n=Mura(e);if(n.data("transient"))n.remove();else{void 0===t&&(t=!0),cleanModuleProps(n),t&&n.removeAttr("data-inited");var i,o=n.data();for(i in o)!o.hasOwnProperty(i)||void 0!==i&&""!==o[i]||n.removeAttr("data-"+i);void 0!==Mura.displayObjectInstances[n.data("instanceid")]&&Mura.displayObjectInstances[n.data("instanceid")].reset(n,t),t&&n.html("")}}function processAsyncObject(e,t){e=Mura(e);return null===e.data("async")&&e.data("async",!0),processDisplayObject(e,!1,!0,!1,t=void 0===t?!0:t)}function filterUnwantedParams(e){for(var t=["iconclass","objectname","
1inited","params","stylesupport","cssstyles","metacssstyles","contentcssstyles","cssclass","cssid","metacssclass","metacssid","contentcssclass","contentcssid","transient","draggable","objectspacing","metaspacing","contentspacing"],n=0;n<t.length;n++)delete e[t[n]];return e}function destroyDisplayObjects(){for(var e in Mura.displayObjectInstances){var t;Mura.displayObjectInstances.hasOwnProperty(e)&&("function"==typeof(t=Mura.displayObjectInstances[e]).destroy&&t.destroy(),delete Mura.displayObjectInstances[e])}}function destroyModules(){destroyDisplayObjects()}function wireUpObject(n,e,t){var i,o,s;t=t||0,t++,(n=n.node?n:Mura(n)).data("inited",!0),e?"string"==typeof e?n.html(trim(e)):"string"==typeof e.html&&"client"!=e.render?(n.html(trim(e.html)),"server"==e.render&&n.data("render","server")):(o=filterUnwantedParams(deepExtend(n.data(),e)),s=firstToUpperCase(i=n.data("clienttemplate")||n.data("object")),void 0!==Mura.DisplayObject[s]&&(i=s),void 0!==o.async&&n.data("async",o.async),void 0!==o.render&&n.data("render",o.render),void 0!==o.rendertemplate&&n.data("rendertemplate",o.rendertemplate),void 0!==Mura.DisplayObject[i]?(o.html="",void 0!==Mura.displayObjectInstances[n.data("instanceid")]&&Mura.displayObjectInstances[n.data("instanceid")].destroy(),n.html(Mura.templates.content({html:""})),n.prepend(Mura.templates.meta(o)),o.targetEl=n.children(".mura-object-content").node,Mura.displayObjectInstances[n.data("instanceid")]=new Mura.DisplayObject[i](o),Mura.displayObjectInstances[n.data("instanceid")].trigger("beforeRender"),Mura.displayObjectInstances[n.data("instanceid")].renderClient()):void 0!==Mura.templates[i]?(o.html="",n.html(Mura.templates.content(o)),n.prepend(Mura.templates.meta(o)),o.targetEl=n.children(".mura-object-content").node,Mura.templates[i](o)):t<1e3?setTimeout(function(){wireUpObject(n,e,t)},1):(console.log("Missing Client Template for:"),console.log(n.data()))):(o=filterUnwantedParams(n.data()),s=firstToUpperCase(i=n.data("clienttemplate")||n.data("object")),void 0!==Mura.DisplayObject[s]&&(i=s),"function"==typeof Mura.DisplayObject[i]?(o.html="",void 0!==Mura.displayObjectInstances[n.data("instanceid")]&&Mura.displayObjectInstances[n.data("instanceid")].destroy(),n.html(Mura.templates.content({html:""})),n.prepend(Mura.templates.meta(o)),o.targetEl=n.children(".mura-object-content").node,Mura.displayObjectInstances[n.data("instanceid")]=new Mura.DisplayObject[i](o),Mura.displayObjectInstances[n.data("instanceid")].trigger("beforeRender"),Mura.displayObjectInstances[n.data("instanceid")].renderClient()):void 0!==Mura.templates[i]?(o.html="",n.html(Mura.templates.content(o)),n.prepend(Mura.templates.meta(o)),o.targetEl=n.children(".mura-object-content").node,Mura.templates[i](o)):t<1e3?setTimeout(function(){wireUpObject(n,e,t)},1):(console.log("Missing Client Template for:"),console.log(n.data()))),n.calculateDisplayObjectStyles(),n.hide().show(),Mura.layoutmanager&&Mura.editing&&(n.hasClass("mura-body-object")||n.is("div.mura-object[data-targetattr]")?(n.children(".frontEndToolsModal").remove(),n.prepend(Mura.layoutmanagertoolbar),n.data("objectname")?n.children(".frontEndToolsModal").children(".mura-edit-label").html(n.data("objectname")):n.children(".frontEndToolsModal").children(".mura-edit-label").html(Mura.firstToUpperCase(n.data("object"))),n.data("objecticonclass")&&n.children(".frontEndToolsModal").children(".mura-edit-label").addClass(n.data("objecticonclass")),n.data("templateid")&&n.data("templatename")&&n.children(".frontEndToolsModal").children(".mura-edit-label").append(" ("+n.data("templatename")+")"),MuraInlineEditor.setAnchorSaveChecks(n.node),n.addClass("mura-active").hover(Mura.initDraggableObject_hoverin,Mura.initDraggableObject_hoverout)):function t(n){var e,i,o,s;if(n.data("transient"))n.remove();else if("Variation"==Mura.type&&!n.is("[data-mxpeditable]")&&!n.closest(".mxp-editable").length)return;n.addClass("mura-active"),"Variation"==Mura.type?(e=n.data(),n.children(".frontEndToolsModal").remove(),n.children(".mura-fetborder").remove(),n.prepend(window.Mura.layoutmanagertoolbar),n.data("objectname")?n.children(".frontEndToolsModal").children(".mura-edit-label").html(n.data("objectname")):n.children(".frontEndToolsModal").children(".mura-edit-label").html(Mura.firstToUpperCase(n.data("object"))),n.data("objecticonclass")&&n.children(".frontEndToolsModal").children(".mura-edit-label").addClass(n.data("objecticonclass")),n.off("click",Mura.handleObjectClick).on("click",Mura.handleObjectClick),n.find("img").each(function(e){MuraInlineEditor.checkforImageCroppers(e)}),n.find(".mura-object").each(function(e){t(Mura(e))}),Mura.initDraggableObject(n.node)):("string"==typeof(i=n.data("object"))&&(i=i.toLowerCase()),(o=n.closest(".mura-region-local, div.mura-object[data-object][data-targetattr]")).length?(o.is(".mura-region-local")&&o.data("perm")||o.is("div.mura-object[data-object][data-targetattr]"))&&(e=n.data(),window.MuraInlineEditor.objectHasConfigurator(n)||!window.Mura.layoutmanager&&window.MuraInlineEditor.objectHasEditor(e))&&(n.children(".frontEndToolsModal").remove(),n.children(".mura-fetborder").remove(),n.prepend(window.Mura.layoutmanagertoolbar),n.data("objectname")?n.children(".frontEndToolsModal").children(".mura-edit-label").html(n.data("objectname")):n.children(".frontEndToolsModal").children(".mura-edit-label").html(Mura.firstToUpperCase(n.data("object"))),n.data("objecticonclass")&&n.children(".frontEndToolsModal").children(".mura-edit-label").addClass(n.data("objecticonclass")),n.data("templateid")&&n.data("templatename")&&n.children(".frontEndToolsModal").children(".mura-edit-label").append(" ("+n.data("templatename")+")"),n.off("click",Mura.handleObjectClick).on("click",Mura.handleObjectClick),n.find("img").each(function(e){MuraInlineEditor.checkforImageCroppers(e)}),n.find(".mura-object").each(function(e){t(Mura(e))}),Mura.initDraggableObject(n.node),"function"==typeof Mura.initPinnedObject)&&n.find('div.mura-object[data-pinned="true"]').each(function(e){Mura.initPinnedObject(e)}):"form"!=i&&"component"!=i||(o=Mura.getEntity("content"),s=function(){e=n.data(),(window.MuraInlineEditor.objectHasConfigurator(n)||!window.Mura.layoutmanager&&window.MuraInlineEditor.objectHasEditor(e))&&(n.addClass("mura-active"),n.hover(Mura.initDraggableObject_hoverin,Mura.initDraggableObject_hoverout),n.data("notconfigurable",!0),n.children(".frontEndToolsModal").remove(),n.children(".mura-fetborder").remove(),n.prepend(window.Mura.layoutmanagertoolbar),n.data("objectname")?n.children(".frontEndToolsModal").children(".mura-edit-label").html(n.data("objectname")):n.children(".frontEndToolsModal").children(".mura-edit-label").html(Mura.firstToUpperCase(n.data("object"))),n.data("objecticonclass")&&n.children(".frontEndToolsModal").children(".mura-edit-label").addClass(n.data("objecticonclass")),n.off("click",Mura.handleObjectClick).on("click",Mura.handleObjectClick),n.find("img").each(function(e){MuraInlineEditor.checkforImageCroppers(e)}),n.find(".mura-object").each(function(e){t(Mura(e))}))}
1,n.data("perm")?s():Mura.isUUID(n.data("objectid"))?o.loadBy("contentid",n.data("objectid"),{type:i}).then(function(e){e.get("permissions").then(function(e){e.get("save")&&(n.data("perm",!0),s())})}):o.loadBy("title",n.data("objectid"),{type:i}).then(function(e){e.get("permissions").then(function(e){e.get("save")&&(n.data("perm",!0),s())})})))}(n)),n.hide().show(),processMarkup(n.node),"container"!=n.data("object")&&(n.find('a[href="javascript:history.back();"]').each(function(e){Mura(e).off("click").on("click",function(e){if(n.node.prevInnerHTML){if(e.preventDefault(),wireUpObject(n,n.node.prevInnerHTML),n.node.prevData)for(var t in n.node.prevData)select('[name="'+t+'"]').val(n.node.prevData[t]);n.node.prevInnerHTML=!1,n.node.prevData=!1}})}),n.data("render"))&&"server"==n.data("render").toLowerCase()&&n.find("form").each(function(e){e=Mura(e);e.closest(".mura-object").data("instanceid")!=n.data("instanceid")||!e.data("async")&&(e.hasData("async")&&!e.data("async")||e.hasData("autowire")&&!e.data("autowire")||e.attr("action")||e.attr("onsubmit")||e.attr("onSubmit"))||e.on("submit",function(e){return e.preventDefault(),validateForm(this,function(e){submitForm(e,n)}),!1})}),n.trigger("asyncObjectRendered")}function handleResponse(t,e){t=t.node?t:Mura(t),void 0!==(e=e.data?e:{data:e}).data.redirect?e.data.redirect&&e.data.redirect!=location.href?location.href=e.data.redirect:location.reload(!0):e.data.apiEndpoint?ajax({type:"POST",xhrFields:{withCredentials:!0},crossDomain:!0,url:e.data.apiEndpoint,data:e.data,success:function(e){"string"==typeof e?wireUpObject(t,e):"object"==_typeof(e)&&"html"in e?wireUpObject(t,e.html):"object"==_typeof(e)&&"data"in e&&"html"in e.data?wireUpObject(t,e.data.html):wireUpObject(t,e.data)}}):wireUpObject(t,e.data)}function processDisplayObject(e,t,o,n,l){try{var c=e.node?e:Mura(e);if(!c.data("object"))return c.data("inited",!0),new Promise(function(e,t){"function"==typeof e&&e(c)});null!=c.data("queue")&&"string"==typeof(t=c.data("queue"))&&("no"==(t=t.toLowerCase())||"false"==t?(t=!1,c.data("queue",!1)):(t=!0,c.data("queue",!0)));var i=!(o&&!c.data("async"))&&c.children(".mura-object-content").length;return t=null!=t&&!i&&t,document.createEvent&&t&&!isScrolledIntoView(c.node)?n?void setTimeout(function(){var e=processDisplayObject(c.node,!0,!1,n,l);"object"==_typeof(e)&&"function"==typeof n&&e.then(n)},10):new Promise(function(e,t){e=e||function(){},setTimeout(function(){processDisplayObject(c.node,!0,!1,e,l)},10)}):(c.node.getAttribute("data-instanceid")||c.node.setAttribute("data-instanceid",createUUID()),c.addClass("mura-async-object"),i&&!c.data("async")?new Promise(function(e,t){c.calculateDisplayObjectStyles();var n=c.data("clienttemplate")||c.data("object"),i=firstToUpperCase(n);void 0!==Mura.Module[i]&&(n=i),Mura.Module[n],!o&&"client"==c.data("render")&&c.children(".mura-object-content").length&&(void 0!==(i=filterUnwantedParams(c.data())).instanceid&&void 0!==Mura.hydrationData[i.instanceid]&&Mura.extend(i,Mura.hydrationData[i.instanceid]),void 0!==Mura.DisplayObject[n]?(i.targetEl=c.children(".mura-object-content").node,Mura.displayObjectInstances[c.data("instanceid")]=new Mura.DisplayObject[n](i),Mura.displayObjectInstances[c.data("instanceid")].trigger("beforeRender"),Mura.displayObjectInstances[c.data("instanceid")].hydrate()):(console.log("Missing Client Template for:"),console.log(c.data())),c.data("inited",!0)),c.data("render")&&"server"==c.data("render").toLowerCase()&&c.find("form").each(function(e){e=Mura(e);e.closest(".mura-object").data("instanceid")!=c.data("instanceid")||!e.data("async")&&(e.hasData("async")&&!e.data("async")||e.hasData("autowire")&&!e.data("autowire")||e.attr("action")||e.attr("onsubmit")||e.attr("onSubmit"))||e.on("submit",function(e){return e.preventDefault(),validateForm(this,function(e){submitForm(e,c)}),!1})}),"function"==typeof e&&e(c)}):new Promise(function(t,e){var n=deepExtend(setLowerCaseKeys(c.data()),urlparams,{siteid:Mura.siteid,contentid:Mura.contentid,contenthistid:Mura.contenthistid});if(c.data("siteid")&&(n.siteid=c.node.getAttribute("data-siteid")),c.data("c
1ontentid")&&(n.contentid=c.node.getAttribute("data-contentid")),c.data("contenthistid")&&(n.contenthistid=c.node.getAttribute("data-contenthistid")),"objectparams"in n&&(n.objectparams=encodeURIComponent(JSON.stringify(n.objectparams))),c.data("async")||"client"!=c.data("render")){l&&(void 0!==n.preloadermarkup?(c.node.innerHTML=n.preloadermarkup,delete n.preloadermarkup):c.node.innerHTML=Mura.preloadermarkup);var i,o="get",s=filterUnwantedParams(n),r=new RegExp(/<\/?[a-z][\s\S]*>/i);for(i in s)if(s.hasOwnProperty(i)){var a=s[i];if((a="object"==_typeof(a)?JSON.stringify(a):a)&&r.test(a)){o="post";break}}ajax({url:Mura.getAPIEndpoint()+"?method=processAsyncObject",type:o,data:s,maxQueryStringLength:827,success:function(e){setTimeout(function(){handleResponse(c,e),"function"==typeof t&&(void 0===t.call?t(c):t.call(c.node,c))},0)}})}else wireUpObject(c),"function"==typeof t&&(void 0===t.call?t(c):t.call(c.node,c))}))}catch(e){console.error(e),"function"==typeof resolve&&resolve(c)}}function processModule(e,t,n,i,o){return processDisplayObject(e,t,n,i,o)}var hashparams={},urlparams={};function handleHashChange(){var e="undefined"!=typeof location?location.hash:"";(e=e&&e.substring(1))&&((hashparams=getQueryStringParams(e)).nextnid?Mura('.mura-async-object[data-nextnid="'+hashparams.nextnid+'"]').each(function(e){Mura(e).data(hashparams),processAsyncObject(e)}):hashparams.objectid&&Mura('.mura-async-object[data-objectid="'+hashparams.objectid+'"]').each(function(e){Mura(e).data(hashparams),processAsyncObject(e)}))}function trim(e){return e.replace(/^\s+|\s+$/gm,"")}function extendClass(e,t){function i(){this.init.apply(this,arguments)}return((i.prototype=Object.create(e.prototype)).constructor=i).prototype.handlers={},i.reopen=function(e){Mura.extend(i.prototype,e)},i.reopenClass=function(e){Mura.extend(i,e)},i.on=function(e,t){if(e=e.toLowerCase(),void 0===i.prototype.handlers[e]&&(i.prototype.handlers[e]=[]),t){for(var n=0;n<i.prototype.handlers[e].length;n++)if(i.prototype.handlers[e][n]==handler)return i;i.prototype.handlers[e].push(t)}return i},i.off=function(e,t){if(e=e.toLowerCase(),void 0===i.prototype.handlers[e]&&(i.prototype.handlers[e]=[]),t)for(var n=0;n<i.prototype.handlers[e].length;n++)i.prototype.handlers[e][n]==handler&&i.prototype.handlers[e].splice(n,1);else i.prototype.handlers[e]=[];return i},Mura.extend(i.prototype,t),i}function getQueryStringParams(e){if(void 0===e){if("undefined"==typeof location)return{};e=location.search}for(var t,n={},i=/\+/g,o=/([^&;=]+)=?([^&;]*)/g,s=function(e){return decodeURIComponent(e.replace(i," "))},r="?"==e.substring(0,1)?e.substring(1):e;t=o.exec(r);)n[s(t[1]).toLowerCase()]=s(t[2]);return n}function getHREFParams(e){e=e.split("?");2==e.length&&getQueryStringParams(e[1])}function inArray(e,t,n){var i;if(t){if(t.indexOf)return t.indexOf.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1}function getStyleSheet(e){var t;return Mura.isInNode()?getStyleSheetPlaceHolder(e):((t=Mura("#"+e)).length?t:(Mura("HEAD").append('<style id="'+e+'" type="text/css"></style>'),Mura("#"+e))).get(0).sheet}function applyModuleCustomCSS(e,i,o){void 0!==(e=e||{}).css&&e.css&&(e=e.css.split("}"),Array.isArray(e))&&e.length&&e.forEach(function(e){var n=e.split("{");1<n.length&&n[0].split(",").forEach(function(e){try{var t='div.mura-object[data-instanceid="'+o+'"] '+e.replace(/\$self/g,"")+"{"+n[1]+"}";i.insertRule(t,i.cssRules.length),Mura.editing&&console.log("Applying dynamic styles:"+t)}catch(e){Mura.editing&&(console.log("Error applying dynamic styles:"+t),console.log(e))}})})}function getStyleSheetPlaceHolder(e){return{deleteRule:function(e){this.cssRules.splice(e,1)},insertRule:function(e){this.cssRules.push(e)},cssRules:[],id:e,targets:{object:{class:"mura-object"},meta:{class:"mura-object-meta"},metawrapper:{class:"mura-object-meta-wrapper"},content:{class:"mura-object-content"}}}}function normalizeModuleClassesAndIds(e,t){void 0===t&&(t=getStyleSheetPlaceHolder("mura-styles-"+e.instanceid)),void 0!==e.class&&""!=e.class&&(t.targets.object.class+=" "+e.class),void 0!==e.cssclass&&""!=e.cssclass&&(t.targets.object.class+=" "+e.cssclass),void 0!==e.cssid&&""!=e.cssid&&(t.targets.object.id=e.cssid),void 0!==e.metacssclass&&""!=e.metacssclass&&(t.targets.meta.class+=" "+e.metacssclass),void 0!==e.metacssid&&""!=e.metacssid&&(t.targets.meta.id=e.metacssid),void 0!==e.contentcssclass&&""!=e.contentcssclass&&(t.targets.content.class+=" "+e.contentcssclass),void 0!==e.contentcssid&&""!=e.contentcssid&&(t.targets.content.id=e.contentcssid),void 0!==e.objectspacing&&""!=e.objectspacing&&"custom"!=e.objectspacing&&(t.targets.object.class+=" "+e.objectspacing),void 0!==e.metaspacing&&""!=e.metaspacing&&"custom"!=e.metaspacing&&(t.targets.meta.class+=" "+e.metaspacing),void 0!==e.contentspacing&&""!=e.contentspacing&&"custom"!=e.contentspacing&&(t.targets.content.class+=" "+e.contentspacing),t.targets.content.class.split(" ").find(function(e){return"container"===e})&&(t.targets.metawrapper.class+=" container")}function recordModuleClassesAndIds(e){e.instanceid=e.instanceid||createUUID(),e.stylesupport=e.stylesupport||{};var t=getStyleSheet("mura-styles-"+e.instanceid);return t.recorded||normalizeModuleClassesAndIds(e,t),t}function recordModuleStyles(e){e.instanceid=e.instanceid||createUUID(),e.stylesupport=e.stylesupport||{};var t,n=getStyleSheet("mura-styles-"+e.instanceid);return n.recorded||(t=getModuleStyleTargets(e.instanceid,!1),applyModuleStyles(e.stylesupport,t.object,n),applyModuleCustomCSS(e.stylesupport,n,e.instanceid),applyModuleStyles(e.stylesupport,t.meta,n),applyModuleStyles(e.stylesupport,t.content,n),normalizeModuleClassesAndIds(e,n)),n}function applyModuleStyles(r,e,a,l){var c={};
1e.targets.forEach(function(e){var t,n,i,o={},s="";for(t in r&&r[e.name]&&(o=r[e.name]),void 0!==(o=c=Mura.extend(c,o)).backgroundImage&&o.backgroundImage&&(i=o.backgroundImage.split(",")).length&&(o.backgroundImage=Mura.trim(i[i.length-1])),o&&void 0!==o.backgroundColor&&o.backgroundColor&&void 0!==o.backgroundImage&&o.backgroundImage?o.backgroundImage="linear-gradient("+o.backgroundColor+", "+o.backgroundColor+" ), "+o.backgroundImage:(void 0!==o.backgroundimage&&o.backgroundimage&&(i=o.backgroundimage.split(",")).length&&(o.backgroundimage=Mura.trim(i[i.length-1])),o&&void 0!==o.backgroundcolor&&o.backgroundcolor&&void 0!==o.backgroundimage&&o.backgroundimage&&(o.backgroundImage="linear-gradient("+o.backgroundcolor+", "+o.backgroundcolor+" ), "+o.backgroundimage)),c)c.hasOwnProperty(t)&&(n=t.toLowerCase(),Mura.styleMap&&void 0!==Mura.styleMap.tojs[n]&&"undefined"!=Mura.styleMap.tocss[Mura.styleMap.tojs[n]]?s+=Mura.styleMap.tocss[Mura.styleMap.tojs[n]]+": "+c[t]+" !important;":void 0!==l&&l.css(t,c[t]));if(s)try{e.selectors.forEach(function(e){a.insertRule(e+" {"+s+"}}",a.cssRules.length);var t,n,i=a,o=c;try{o.color&&(n=(t=e.split("{"))[0]+"{"+t[1]+", "+t[1]+" label, "+t[1]+" p, "+t[1]+" h1, "+t[1]+" h2, "+t[1]+" h3, "+t[1]+" h4, "+t[1]+" h5, "+t[1]+" h6, "+t[1]+" a, "+t[1]+" a:link, "+t[1]+" a:visited, "+t[1]+" a:hover, "+t[1]+" .breadcrumb-item + .breadcrumb-item::before, "+t[1]+" a:active { color:"+o.color+" !important;}} ",i.insertRule(n,i.cssRules.length),i.insertRule(e+" * {color:inherit !important}}",i.cssRules.length),i.insertRule(e+" hr { border-color:"+o.color+" !important;}}",i.cssRules.length))}catch(i){console.log("error adding color: "+o.color),console.log(i)}})}catch(e){console.log(selector+" {"+s+"}}"),console.log(e)}})}function getBreakpoint(){var e,t;return"undefined"!=typeof document?(e=getBreakpoints(),t=document.documentElement.clientWidth,Mura.editing&&(t-=300),t>=e.xl?"xl":t>=e.lg?"lg":t>=e.md?"md":t>=e.sm?"sm":"xs"):""}function getBreakpoints(){return void 0!==Mura.breakpoints?Mura.breakpoints:{xl:1200,lg:992,md:768,sm:576}}function getModuleStyleTargets(e,t){var n=getBreakpoints(),i=300,o={object:{targets:[{name:"objectstyles",selectors:["@media (min-width: "+n.xl+'px) { div[data-instanceid="'+e+'"]',"@media (min-width: "+(n.xl+i)+'px) { .mura-editing div[data-instanceid="'+e+'"]']},{name:"object_lg_styles",selectors:["@media (min-width: "+n.lg+"px) and (max-width: "+(n.xl-1)+'px) { div[data-instanceid="'+e+'"]',"@media (min-width: "+(n.lg+i)+"px) and (max-width: "+(n.xl+i-1)+'px) { .mura-editing div[data-instanceid="'+e+'"]']},{name:"object_md_styles",selectors:["@media (min-width: "+n.md+"px) and (max-width:"+(n.lg-1)+'px) { div[data-instanceid="'+e+'"]',"@media (min-width: "+(n.md+i)+"px) and (max-width: "+(n.lg+i-1)+'px) { .mura-editing div[data-instanceid="'+e+'"]']},{name:"object_sm_styles",selectors:["@media (min-width: "+n.sm+"px) and (max-width: "+(n.md-1)+'px) { div[data-instanceid="'+e+'"]',"@media (min-width: "+(n.sm+i)+"px) and (max-width: "+(n.md+i-1)+'px) { .mura-editing div[data-instanceid="'+e+'"]']},{name:"object_xs_styles",selectors:["@media (max-width: "+(n.sm-1)+'px) { div[data-instanceid="'+e+'"]',"@media (max-width: "+(n.sm+i-1)+'px) { .mura-editing div[data-instanceid="'+e+'"]']}]},meta:{targets:[{name:"metastyles",selectors:["@media (min-width: "+n.xl+'px) { div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta',"@media (min-width: "+(n.xl+i)+'px) { .mura-editing div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta']},{name:"meta_lg_styles",selectors:["@media (min-width: "+n.lg+"px) and (max-width: "+(n.xl-1)+'px) { div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta',"@media (min-width: "+(n.lg+i)+"px) and (max-width: "+(n.xl+i-1)+'px) { .mura-editing div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta']},{name:"meta_md_styles",selectors:["@media (min-width: "+n.md+"px) and (max-width: "+(n.lg-1)+'px) { div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta',"@media (min-width: "+(n.md+i)+"px) and (max-width: "+(n.lg+i-1)+'px) { .mura-editing div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta']},{name:"meta_sm_styles",selectors:["@media (min-width: "+n.sm+"px) and (max-width: "+(n.md-1)+'px) { div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta',"@media (min-width: "+(n.sm+i)+"px) and (max-width: "+(n.md+i-1)+'px) { .mura-editing div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta']},{name:"meta_xs_styles",selectors:["@media (max-width: "+(n.sm-1)+'px) { div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta',"@media (max-width: "+(n.sm+i-1)+'px) { .mura-editing div[data-instanceid="'+e+'"] > div.mura-object-meta-wrapper > div.mura-object-meta']}]},content:{targets:[{name:"contentstyles",selectors:["@media (min-width: "+n.xl+'px) { div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content',"@media (min-width: "+(n.xl+i)+'px) { .mura-editing div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content']},{name:"content_lg_styles",selectors:["@media (min-width: "+n.lg+"px) and (max-width: "+(n.xl-1)+'px) { div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content',"@media (min-width: "+(n.lg+i)+"px) and (max-width: "+(n.xl+i-1)+'px) { .mura-editing div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content']},{name:"content_md_styles",selectors:["@media (min-width: "+n.md+"px) and (max-width: "+(n.lg-1)+'px) { div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content',"@media (min-width: "+(n.md+i)+"px) and (max-width: "+(n.lg+i-1)+'px) { .mura-editing div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content']},{name:"content_sm_styles",selectors:["@media (min-width: "+n.sm+"px) and (max-width: "+(n.md-1)+'px) { div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content',"@media (min-width: "+(n.sm+i)+"px) and (max-width: "+(n.md+i-1)+'px) { .mura-editing div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content']},{name:"content_xs_styles",selectors:["@media (max-width: "+(n.sm-1)+'px) { div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content',"@media (max-width: "+(n.sm+i-1)+'px) { .mura-editing div.mura-object[data-instanceid="'+e+'"] > div.mura-object-content']}]}};
1if(!t)for(var s in o)o.hasOwnProperty(s)&&o[s].targets.forEach(function(e){e.selectors.pop()});return o}function setRequestHeader(e,t){return Mura.requestHeaders[e]=t,this}function getRequestHeader(e){void 0!==Mura.requestHeaders[e]&&Mura.requestHeaders[e]}function getRequestHeaders(){return Mura.requestHeaders}function hashCode(e){var t,n=0,i=e.length;if(0===i)return n;for(t=0;t<i;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return n>>>0}function isInNode(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"==typeof document}var requestHeaders={};function throttle(e,t){var n;return function(){n||(e.apply(this,arguments),n=!0,setTimeout(function(){n=!1},t))}}function debounce(n,i){var o;return function(){var e=this,t=arguments;clearTimeout(o),o=setTimeout(function(){o=null,n.apply(e,t)},i||200)}}function getAPIEndpoint(){return Mura.apiendpoint&&(Mura.apiEndpoint=Mura.apiendpoint,delete Mura.apiendpoint,"rest"==Mura.mode.toLowerCase())&&(Mura.apiEndpoint=Mura.apiEndpoint.replace("/json/","/rest/")),Mura.apiEndpoint}function setAPIEndpoint(e){Mura.apiEndpoint=e}function setMode(e){Mura.mode=e}function getMode(){return Mura.mode}function getRenderMode(){return Mura.renderMode}function setRenderMode(e){Mura.renderMode=e}function startUserStateListener(e){Mura.userStateListenerInterval=e}function stopUserStateListener(){Mura.userStateListenerInterval=!1}function pollUserState(){"undefined"!=typeof window&&"undefined"!=typeof document&&(Mura.userStateListenerInterval||Mura.editing)&&Mura.getEntity("user").invoke("pollState").then(function(t){var n=t;if("string"==typeof t)try{n=JSON.parse(t)}catch(e){n=t}Mura(document).trigger("muraUserStateMessage",n)});var e="number"==typeof Mura.userStateListenerInterval&&Mura.userStateListenerInterval?Mura.userStateListenerInterval:6e4;setTimeout(pollUserState,e)}function deInit(){return delete Mura._requestcontext,delete Mura.response,delete Mura.request,Mura.requestHeaders={},Mura.displayObjectInstances={},delete Mura.renderMode,delete Mura.userStateListenerInterval,delete Mura.currentUser,Mura.mode="json",setAPIEndpoint(getAPIEndpoint().replace("/rest/","/json/")),Mura.trackingMetadata={},delete Mura.trackingVars,delete Mura.perm,delete Mura.formdata,delete Mura.windowResponsiveModules,delete Mura.windowResizeID,delete Mura.Content,delete Mura.content,Mura}function init(e){var n,t="",t=(Mura.siteid&&e.siteid&&Mura.siteid!=e.siteid&&(delete Mura.apiEndpoint,delete Mura.apien
1dpoint),void 0!==Mura.apiEndpoint&&Mura.apiEndpoint&&(t=Mura.apiEndpoint),void 0!==e.content&&(void 0===e.content.get&&(e.content=getEntity("content").set(e.content)),Mura.extend(e,e.content.get("config"))),t&&(e.apiEndpoint=t,delete e.apiendpoint),e.rootpath&&(e.context=e.rootpath),e.endpoint&&(e.context=e.endpoint),e.context||(e.context=""),e.rootpath||(e.rootpath=e.context),e.assetpath||(e.assetpath=e.context+"/sites/"+e.siteid),e.siteassetpath||(e.siteassetpath=e.assetpath),e.fileassetpath||(e.fileassetpath=e.assetpath),e.apiendpoint&&(e.apiEndpoint=e.apiendpoint,delete e.apiendpoint),void 0===e.indexfileinapi&&(void 0!==Mura.indexfileinapi?e.indexfileinapi=Mura.indexfileinapi:e.indexfileinapi=!0),e.apiEndpoint||(e.indexfileinapi?e.apiEndpoint=e.context+"/index.cfm/_api/json/v1/"+e.siteid+"/":e.apiEndpoint=e.context+"/_api/json/v1/"+e.siteid+"/"),-1==e.apiEndpoint.indexOf("/_api/")&&(e.indexfileinapi?e.apiEndpoint=e.apiEndpoint+"/index.cfm/_api/json/v1/"+e.siteid+"/":e.apiEndpoint=e.apiEndpoint+"/_api/json/v1/"+e.siteid+"/"),e.pluginspath||(e.pluginspath=e.context+"/plugins"),e.corepath||(e.corepath=e.context+"/core"),e.jslib||(e.jslib="jquery"),e.perm||(e.perm="none"),void 0===e.layoutmanager&&(e.layoutmanager=!1),void 0===e.mobileformat&&(e.mobileformat=!1),void 0!==e.queueObjects&&(e.queueobjects=e.queueObjects,delete e.queueobjects),void 0===e.queueobjects&&(e.queueobjects=!0),void 0!==e.rootdocumentdomain&&""!=e.rootdocumentdomain&&(document.domain=e.rootdocumentdomain),void 0!==e.preloaderMarkup&&(e.preloadermarkup=e.preloaderMarkup,delete e.preloaderMarkup),void 0===e.preloadermarkup&&(e.preloadermarkup=""),void 0===e.rb&&(e.rb={}),void 0!==e.dtExample&&(e.dtexample=e.dtExample,delete e.dtExample),void 0===e.dtexample&&(e.dtexample="11/10/2024"),void 0!==e.dtCh&&(e.dtch=e.dtCh,delete e.dtCh),void 0===e.dtch&&(e.dtch="/"),void 0!==e.dtFormat&&(e.dtformat=e.dtFormat,delete e.dtFormat),void 0===e.dtformat&&(e.dtformat=[0,1,2]),void 0!==e.dtLocale&&(e.dtlocale=e.dtLocale,delete e.dtLocale),void 0===e.dtlocale&&(e.dtlocale="en-US"),void 0!==e.useHTML5DateInput&&(e.usehtml5dateinput=e.useHTML5DateInput,delete e.usehtml5dateinput),void 0===e.usehtml5dateinput&&(e.usehtml5dateinput=!1),void 0!==e.cookieConsentEnabled&&(e.cookieconsentenabled=e.cookieConsentEnabled,delete e.cookieConsentEnabled),void 0===e.cookieconsentenabled&&(e.cookieconsentenabled=!1),n=void 0===e.initialProcessMarkupSelector?"undefined"!=typeof window&&"undefined"!=typeof document?"document":"":e.initialProcessMarkupSelector,e.formdata="undefined"!=typeof FormData,!1);if(void 0!==e.processMarkup?(t="function"!=typeof e.processMarkup&&!e.processMarkup,delete e.processMarkup):void 0!==e.processmarkup&&(t="function"!=typeof e.processmarkup&&!e.processmarkup,delete e.processmarkup),extend(Mura,e),Mura.trackingMetadata={},Mura.hydrationData={},void 0!==e.content&&void 0!==e.content.get&&e.content.get("displayregions"))for(var i in e.content.properties.displayregions)if(e.content.properties.displayregions.hasOwnProperty(i)){var o=e.content.properties.displayregions[i];if(void 0!==o.inherited&&void 0!==o.inherited.items)for(var s in o.inherited.items)Mura.hydrationData[o.inherited.items[s].instanceid]=o.inherited.items[s];if(void 0!==o.local&&void 0!==o.local.items)for(var s in o.local.items)Mura.hydrationData[o.local.items[s].instanceid]=o.local.items[s]}return Mura.dateformat=generateDateFormat(),"rest"==Mura.mode.toLowerCase()&&(Mura.apiEndpoint=Mura.apiEndpoint.replace("/json/","/rest/")),"undefined"!=typeof window&&void 0!==window.document&&(Array.isArray(window.queuedMuraCmds)&&window.queuedMuraCmds.length&&(holdingQueue=window.queuedMuraCmds.concat(holdingQueue),window.queuedMuraCmds=[]),Array.isArray(window.queuedMuraPreInitCmds))&&window.queuedMuraPreInitCmds.length&&(holdingPreInitQueue=window.queuedMuraPreInitCmds.concat(holdingPreInitQueue),window.queuedMuraPreInitCmds=[]),t||(destroyDisplayObjects(),stopUserStateListener(),Mura(function(){for(var e in holdingPreInitQueue)"function"==typeof holdingPreInitQueue[e]&&holdingPreInitQueue[e](Mura);var t;"undefined"!=typeof window&&void 0!==window.document&&(t=(t=location.hash)&&t.substring(1),urlparams=setLowerCaseKeys(getQueryStringParams(location.search)),hashparams.nextnid?Mura('.mura-async-object[data-nextnid="'+hashparams.nextnid+'"]').each(function(e){Mura(e).data(hashparams)}):hashparams.objectid&&Mura('.mura-async-object[data-nextnid="'+hashparams.objectid+'"]').each(function(e){Mura(e).data(hashparams)}),Mura(window).on("hashchange",handleHashChange),Mura(document).on("click","div.mura-object .mura-next-n a,div.mura-object .mura-search-results div.moreResults a,div.mura-object div.mura-pagination a",function(e){e.preventDefault();var t,n=Mura(e.target).attr("href");"#"!=n&&(n=n.split("?"),e=Mura(e.target),n=setLowerCaseKeys(getQueryStringParams(n[n.length-1])),(t=e.closest("div.mura-object")).data(n),processAsyncObject(t.no
1de).then(function(){try{var e;"undefined"!=typeof window&&"undefined"!=typeof document&&(e=t.node.getBoundingClientRect().top)<0&&window.scrollTo(0,Mura(document).scrollTop()+e)}catch(e){console.log(e)}}))}),!Mura.inAdmin&&n&&processMarkup("document"==n?document:n),Mura.markupInitted=!0,Mura.cookieconsentenabled&&Mura(function(){Mura("body").appendDisplayObject({object:"cookie_consent",queue:!1,statsid:"cookie_consent"})}),Mura(document).on("keydown",function(e){keyCmdCheck(e)}),Mura.breakpoint=getBreakpoint(),Mura.windowResponsiveModules={},window.addEventListener("resize",function(){clearTimeout(Mura.windowResizeID),Mura.windowResizeID=setTimeout(function(){var e=getBreakpoint();e!=Mura.breakpoint&&(Mura.breakpoint=e,Mura(".mura-object").each(function(e){var e=Mura(e),t=e.data("instanceid");void 0!==Mura.windowResponsiveModules[t]&&!Mura.windowResponsiveModules[t]||e.calculateDisplayObjectStyles(!0)})),delete Mura.windowResizeID},250)}),Mura(document).trigger("muraReady"),pollUserState())}),readyInternal(initReadyQueue)),Mura}return Mura=extend(function(e,t){return"function"==typeof e?(Mura.ready(e),this):void 0===t?select(e):select(t).find(e)},{preInit:function(e){holdingReady?holdingPreInitQueue.push(e):Mura(e)},generateOAuthToken:generateOAuthToken,entities:{},feeds:{},submitForm:submitForm,escapeHTML:escapeHTML,unescapeHTML:unescapeHTML,processDisplayObject:processDisplayObject,processModule:processModule,processAsyncObject:processAsyncObject,resetAsyncObject:resetAsyncObject,setLowerCaseKeys:setLowerCaseKeys,throttle:throttle,debounce:debounce,noSpam:noSpam,addLoadEvent:addLoadEvent,loader:loader,addEventHandler:addEventHandler,trigger:trigger,ready:ready,on:on,off:off,extend:extend,inArray:inArray,isNumeric:isNumeric,post:post,get:get,delete:deleteReq,put:put,patch:patch,deepExtend:deepExtend,ajax:ajax,changeElementType:changeElementType,setHTMLEditor:setHTMLEditor,each:each,parseHTML:parseHTML,getData:getData,cleanModuleProps:cleanModuleProps,getProps:getProps,isEmptyObject:isEmptyObject,isScrolledIntoView:isScrolledIntoView,evalScripts:evalScripts,validateForm:validateForm,escape:$escape,unescape:$unescape,getBean:getEntity,getEntity:getEntity,getCurrentUser:getCurrentUser,renderFilename:renderFilename,startUserStateListener:startUserStateListener,stopUserStateListener:stopUserStateListener,findQuery:findQuery,getFeed:getFeed,login:login,logout:logout,extendClass:extendClass,init:init,formToObject:formToObject,createUUID:createUUID,isUUID:isUUID,processMarkup:processMarkup,getQueryStringParams:getQueryStringParams,layoutmanagertoolbar:layoutmanagertoolbar,parseString:parseString,createCookie:createCookie,readCookie:readCookie,eraseCookie:eraseCookie,trim:trim,hashCode:hashCode,DisplayObject:{},displayObjectInstances:{},destroyDisplayObjects:destroyDisplayObjects,destroyModules:destroyModules,holdReady:holdReady,trackEvent:trackEvent,recordEvent:trackEvent,isInNode:isInNode,getRequestContext:getRequestContext,getDefaultRequestContext:getDefaultRequestContext,requestHeaders:requestHeaders,setRequestHeader:setRequestHeader,getRequestHeader:getRequestHeaders,getRequestHeaders:getRequestHeaders,mode:"json",declareEntity:declareEntity,undeclareEntity:undeclareEntity,buildDisplayRegion:buildDisplayRegion,openGate:openGate,firstToUpperCase:firstToUpperCase,firstToLowerCase:firstToLowerCase,normalizeRequestConfig:normalizeRequestConfig,getStyleSheet:getStyleSheet,getStyleSheetPlaceHolder:getStyleSheetPlaceHolder,applyModuleStyles:applyModuleStyles,applyModuleCustomCSS:applyModuleCustomCSS,recordModuleStyles:recordModuleStyles,recordModuleClassesAndIds:recordModuleClassesAndIds,getModuleStyleTargets:getModuleStyleTargets,getBreakpoint:getBreakpoint,getAPIEndpoint:getAPIEndpoint,setAPIEndpoint:setAPIEndpoint,getMode:getMode,setMode:setMode,getRenderMode:getRenderMode,setRenderMode:setRenderMode,parseStringAsTemplate:parseStringAsTemplate,findText:findText,deInit:deInit,fetch:customfetch,inAdmin:!1,lmv:2,homeid:"00000000000000000000000000000000001",cloning:!1}),Mura.Module=Mura.DisplayObject,Mura}module.exports=attach},19:function(e){function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(x){"use strict";function e(e){return t.apply(this,arguments)}var t,n;function i(e){return n.apply(this,arguments)}x.DOMSelection=x.Core.extend({init:function(e,t){if(this.selection=e,this.origSelector=t,this.selection.length&&this.selection[0]?(this.parentNode=this.selection[0].parentNode,this.childNodes=this.selection[0].childNodes,this.node=e[0],this.length=this.selection.length):(this.parentNode=null,this.childNodes=null,this.node=null,this.length=0),void 0===x.supportPassive){x.supportsPassive=!1;try{var n=Object.defineProperty({},"passive",{get:function(){x.supportsPassive=!0}});window.addEventListener("testPassive",null,n),window.removeEventListener("testPassive",null,n)}catch(e){}}},get:function(e){return void 0!==e?this.selection[e]:this.selection},select:function(e){return x(e)},each:function(i){return this.selection.forEach(function(e,t,n){void 0===i.call?i(e,t,n
1):i.call(e,e,t,n)}),this},forEach:function(i){return this.selection.forEach(function(e,t,n){void 0===i.call?i(e,t,n):i.call(e,e,t,n)}),this},filter:function(i){return x(this.selection.filter(function(e,t,n){return void 0===i.call?i(e,t,n):i.call(e,e,t,n)}))},map:function(i){return x(this.selection.map(function(e,t,n){return void 0===i.call?i(e,t,n):i.call(e,e,t,n)}))},reduce:function(o,e){return this.selection.reduce(function(e,t,n,i){return void 0===o.call?o(e,t,n,i):o.call(t,e,t,n,i)},e=e||0)},isNumeric:(n=function(e){return void 0!==e?isNumeric(e):isNumeric(this.selection[0])},i.toString=function(){return n.toString()},i),processMarkup:function(){var n=this;return new Promise(function(e,t){n.each(function(e){x.processMarkup(e)})})},addEventHandler:function(e,t){for(var n in void 0===t&&(t=e,e=""),t)eventName.hasOwnProperty(n)&&("string"==typeof e&&e?on(n,e,t[n]):on(n,t[n]));return this},on:function(n,i,o,s){if(void 0===s&&(s=void 0===o||"function"==typeof o||o),"touchstart"!=n&&"end"!=n||(s=!!x.supportsPassive&&{passive:!0}),"function"==typeof i&&(o=i,i=""),"ready"==n){var e;if("loading"!=document.readyState)return e=this,setTimeout(function(){e.each(function(e){i?x(e).find(i).each(function(e){void 0===o.call?o(e):o.call(e,e)}):void 0===o.call?o(e):o.call(e,e)})},1),this;n="DOMContentLoaded"}return this.each(function(e){var t;"function"==typeof this.addEventListener&&(t=e,this.addEventListener(n,function(e){return i?x(e.target).is(i)?void 0===o.call?o(e):o.call(e.target,e):void 0:void 0===o.call?o(e):o.call(t,e)},s))}),this},hover:function(e,t,n){return void 0!==n&&null!=n||(n=!!x.supportsPassive&&{passive:!0}),this.on("mouseover",e,n),this.on("mouseout",t,n),this.on("touchstart",e,n),this.on("touchend",t,n),this},click:function(e){return this.on("click",e),this},change:function(e){return this.on("change",e),this},submit:function(e){return e?this.on("submit",e):this.each(function(e){"function"==typeof e.submit&&x.submitForm(e)}),this},ready:function(e){return this.on("ready",e),this},off:function(o,s){return this.each(function(e,t,n){var i;void 0!==o?void 0!==s?e.removeEventListener(o,s):e[o]=null:void 0!==e.parentElement&&e.parentElement&&void 0!==e.parentElement.replaceChild?(i=e.cloneNode(!0),e.parentElement.replaceChild(i,e),n[t]=i):console.log("Mura: Can not remove all handlers from element without a parent node")}),this},unbind:function(e,t){return this.off(e,t),this},bind:function(e,t){return this.on(e,t),this},trigger:function(t,n){return n=n||{},this.each(function(e){x.trigger(e,t,n)}),this},parent:function(){return this.selection.length?x(this.selection[0].parentNode):this},children:function(t){return this.selection.length?this.selection[0].hasChildNodes()?x(this.selection[0].childNodes).filter("string"==typeof t?function(e){return(1===e.nodeType||11===e.nodeType||9===e.nodeType)&&e.matchesSelector(t)}:function(e){return 1===e.nodeType||11===e.nodeType||9===e.nodeType}):x([]):this},find:function(e){return this.selection.length&&this.selection[0]?(e="1"==this.selection[0].nodeType||"11"==this.selection[0].nodeType?this.selection[0].querySelectorAll(e):"9"==this.selection[0].nodeType?document.querySelectorAll(e):[],x(e)):x([])},first:function(){return this.selection.length?x(this.selection[0]):x([])},last:function(){return this.selection.length?x(this.selection[this.selection.length-1]):x([])},selector:function(){for(var e,t=[],n=x(this.selection[0]);n.length;){var i=n.get(0);if(!(o=i.localName))break;if(!n.data("hastempid")&&n.attr("id")&&"mura-variation-el"!=n.attr("id")){e=(o="#"+n.attr("id"))+(e?" > "+e:"");break}if(n.data("instanceid")){e=(o='[data-instanceid="'+n.data("instanceid")+'"]')+(e?" > "+e:"");break}var o=o.toLowerCase(),s=n.parent();1<s.children(o).length&&0<(i=s.children().index(i)+1)&&(o+=":nth-child("+i+")"),e=o+(e?" > "+e:""),n=s}return t.push(e),t.join(",")},siblings:function(t){return this.selection.length?this.selection[0].hasChildNodes()?x(this.selection[0].childNodes).filter("string"==typeof t?function(e){return(1===e.nodeType||11===e.nodeType||9===e.nodeType)&&e.matchesSelector(t)}:function(e){return 1===e.nodeType||11===e.nodeType||9===e.nodeType}):x([]):this},item:function(e){return this.selection[e]},index:function(e){return this.selection.indexOf(e)},indexOf:function(e){return this.selection.indexOf(e)},closest:function(e){if(!this.selection.length)return null;for(var t,n=this.selection[0];null!==n&&n.matchesSelector&&!n.matchesSelector(e);n=t.parentElement)t=n;return x(n||[])},append:function(t){return this.each(function(e){try{"string"==typeof t?e.insertAdjacentHTML("beforeend",t):e.appendChild(t)}catch(e){console.log(e)}}),this},appendDisplayObject:function(a){var e=this;return delete a.method,void 0===a.transient&&(a.transient=!0),new Promise(function(s,r){e.each(function(e){var t,n=document.createElement("div"),i=(n.setAttribute("class","mura-object"),!1);for(t in a)"object"==C(a[t])?n.setAttribute("data-"+t,JSON.stringify(a[t])):"preserveid"!=t?n.setAttribute("data-"+t,a[t]):i=a[t];void 0===a.async&&n.setAttribute("data-async",!0),void 0===a.render&&n.setAttribute("data-render","server"),i&&x.isUUID(a.instanceid)?n.setAttribute("data-instanceid",a.instanceid):n.setAttribute("data-instanceid",x.createUUID());var o=e;!function e(){x.markupInitted?(x(o).append(n),x.processDisplayObject(n,!0,!0).then(s,r)):setTimeout(e)}()})})},appendModule:function(e){return this.appendDisplayObject(e)},insertDisplayObjectAfter:function(a){var e=this;return delete a.method,void 0===a.transient&&(a.transient=!0),new Promise(function(s,r){e.each(function(e){var t,n=document.createElement("div"),i=(n.setAttribute("class","mura-object"),!1);for(t in a)"object"==C(a[t])?n.setAttribute("data-"+t,JSON.stringify(a[t])):"preserveid"!=t?n.setAttribute("data-"+t,a[t]):i=a[t];void 0===a.async&&n.setAttribute("data-async",!0),void 0===a.render&&n.setAttribute("data-render","server"),i&&x.isUUID(a.instanceid)?n.setAttribute("data-instanceid",a.instanceid):n.setAttribute("data-instanceid",x.createUUID());var o=e;!function e(){x.markupInitted?(x(o).after(n),x.processDisplayObject(n,!0,!0).then(s,r)):setTimeout(e)}()})})},insertModuleAfter:function(e){return this.insertDisplayObjectAfter(e)},insertDisplayObjectBefore:function(a){var e=this;return delete a.method,void 0===a.transient&&(a.transient=!0),new Promise(function(s,r){e.each(function(e){var t,n=document.createElement("div"),i=(n.setAttribute("class","mura-object"),!1);for(t in a)"object"==C(a[t])?n.setAttribute("data-"+t,JSON.stringify(a[t])):"preserveid"!=t?n.setAttribute("data-"+t,a[t]):i=a[t];void 0===a.async&&n.setAttribute("data-async",!0),void 0===a.render&&n.setAttribute("data-render","server"),i&&x.isUUID(a.instanceid)?n.setAttribute("data-instanceid",a.instanceid):n.setAttribute("data-instanceid",x.createUUID());var o=e;!function e(){x.markupInitted?(x(o).before(n),x.processDisplayObject(n,!0,!0).then(s,r)):setTimeout(e)}()})})},insertModuleBefore:function(e){return this.insertDisplayObjectBefore(e)},prependDisplayObject:function(a){var e=this;return delete a.method,void 0===a.transient&&(a.transient=!0),new Promise(function(s,r){e.each(function(e){var t,n=document.createElement("div"),i=(n.setAttribute("class","mura-object"),!1);for(t in a)"object"==C(a[t])?n.setAttribute("data-"+t,JSON.stringify(a[t])):"preserveid"!=t?n.setAttribute("data-"+t,a[t]):i=a[t];void 0===a.async&&n.setAttribute("data-async",!0),void 0===a.render&&n.setAttribute("data-render","server"),i&&x.isUUID(a.instanceid)?n.setAttribute("data-instanceid",a.instanceid):n.setAttribute("data-instanceid",x.createUUID());var o=e;!function e(){x.markupInitted?(x(o).prepend(n),x.processDisplayObject(n,!0,!0).then(s,r)):setTimeout(e)}()})})},prependModule:function(e){return this.prependDisplayObject(e)},processDisplayObject:function(){var e=this;return new Promise(function(t,n){e.each(function(e){x.processDisplayObject(e,!0,!0).then(t,n)})})},processModule:function(){return this.processDisplayObject()},prepend:function(t){return this.each(function(e){try{"string"==typeof t?e.insertAdjacentHTML("afterbegin",t):e.insertBefore(t,e.firstChild)}catch(e){console.log(e)}}),this},before:function(t){return this.each(function(e){try{"string"==typeof t?e.insertAdjacentHTML("beforebegin",t):e.parentNode.insertBefore(t,e)}catch(e){console.log(e)}}),this},after:function(t){return this.each(function(e){try{"string"==typeof t?e.insertAdjacentHTML("afterend",t):e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t)}catch(e){console.log(e)}}),this},hide:function(){return this.each(function(e){e.style.display="none"}),this},show:function(){return this.each(function(e){e.style.display=""}),this},redraw:function(){return this.each(function(e){var t=x(e);
1setTimeout(function(){t.show()},1)}),this},remove:function(){return this.each(function(e){e.parentNode&&e.parentNode.removeChild(e)}),this},detach:function(){var t=[];return this.each(function(e){e.parentNode&&t.push(e.parentNode.removeChild(e))}),x(t)},addClass:function(t){return t.length&&this.each(function(e){e.classList?e.classList.add(t):e.className+=" "+t}),this},hasClass:function(e){return this.is("."+e)},removeClass:function(t){return this.each(function(e){e.classList?e.classList.remove(t):e.className&&(e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))}),this},toggleClass:function(i){return this.each(function(e){var t,n;e.classList?e.classList.toggle(i):(0<=(n=(t=e.className.split(" ")).indexOf(i))?t.splice(n,1):t.push(i),e.className=t.join(" "))}),this},empty:function(){return this.each(function(e){e.innerHTML=""}),this},evalScripts:function(){return this.selection.length&&this.each(function(e){x.evalScripts(e)}),this},html:function(t){return void 0!==t?(this.each(function(e){e.innerHTML=t,x.evalScripts(e)}),this):this.selection.length?this.selection[0].innerHTML:""},css:function(n,t){if(this.selection.length)if(void 0===n&&void 0===t)try{return getComputedStyle(this.selection[0])}catch(e){return{}}else if("object"==C(n))this.each(function(e){try{for(var t in n)e.style[x.styleMap.tojs[t.toLowerCase()]]=n[t]}catch(e){}});else{if(void 0!==t)return this.each(function(e){try{e.style[x.styleMap.tojs[n.toLowerCase()]]=t}catch(e){}}),this;try{return getComputedStyle(this.selection[0])[x.styleMap.tojs[n.toLowerCase()]]}catch(e){}}return this},calculateDisplayObjectStyles:function(w){return this.each(function(e){for(var t=["mura-xs","mura-sm","mura-md","mura-lg","mura-xl"],n="mura-sm",i=x(e),o=0;o<t.length;o++)if(i.is("."+t[o])){n=t[o];break}var s,e=x.getModuleStyleTargets(i.data("instanceid"),!0),r=t.indexOf("mura-"+x.getBreakpoint())>=t.indexOf(n);if(x.windowResponsiveModules=x.windowResponsiveModules||{},x.windowResponsiveModules[i.data("instanceid")]=!1,i=i.node?i:x(i),!w){var a=i;if(a.data("class")){"Array"!=typeof(s=a.data("class"))&&(s=s.split(" "));for(var l=0;l<s.length;l++)a.hasClass(s[l])||a.addClass(s[l])}if(a.data("cssclass"))for("array"!=typeof(s=a.data("cssclass"))&&(s=s.split(" ")),l=0;l<s.length;l++)a.hasClass(s[l])||a.addClass(s[l]);if(a.data("objectspacing"))for("array"!=typeof(s=a.data("objectspacing"))&&(s=s.split(" ")),l=0;l<s.length;l++)"custom"==l||a.hasClass(s[l])||a.addClass(s[l]);a.data("cssid")?a.attr("id",a.data("cssid")):a.removeAttr("id")}var c=i.data("stylesupport")||{};if("string"==typeof c){try{c=JSON.parse.call(null,c)}catch(e){c={}}"string"==typeof c&&(c={})}if(i.removeAttr("style"),!r&&c&&"object"==C(c.objectstyles)&&(delete(d=c.objectstyles).margin,delete d.marginLeft,delete d.marginRight,delete d.marginTop,delete d.marginBottom),r&&(!r||"0px"==i.css("marginTop")&&"0px"==i.css("marginBottom")&&"0px"==i.css("marginLeft")&&"0px"==i.css("marginRight"))||(x.windowResponsiveModules[i.data("instanceid")]=!0),!w){for(var u=x.getStyleSheet("mura-styles-"+i.data("instanceid"));u.cssRules.length;)u.deleteRule(0);x.applyModuleStyles(c,e.object,u,i),x.applyModuleCustomCSS(c,u,i.data("instanceid"))}var d=i.children(".mura-object-meta-wrapper");if(d.length){c.metastyles=c.metastyles||{};var h,p=d.children(".mura-object-meta");if(p.length){p.removeAttr("style");if(!w){{var f=i;var m=p;if(f.data("metacssid")?m.attr("id",f.data("metacssid")):m.removeAttr("id"),f.data("metacssclass")&&f.data("metacssclass").split(" ").forEach(function(e){m.hasClass(e)||m.addClass(e)}),f.data("metaspacing")){"array"!=typeof(h=f.data("metaspacing"))&&(h=h.split(" "));for(var g=0;g<h.length;g++)"custom"==g||m.hasClass(h[g])||m.addClass(h[g])}f.is(".mura-object-label-left, .mura-object-label-right")&&(f=m.css("marginLeft"),p=m.css("marginRight"),"0px"==f&&"0px"==p||"-"==f.charAt(0)||"-"==p.charAt(0)||m.css("width","calc(50% - ("+f+" + "+p+"))"))}x.applyModuleStyles(c,e.meta,u,i)}}}var v,y,f=i.children(".mura-object-content").first();if(f.removeAttr("style"),!w){var b=f;
1if((p=i).data("contentcssid")?b.attr("id",p.data("contentcssid")):b.removeAttr("id"),p.data("contentcssclass")&&p.data("contentcssclass").split(" ").forEach(function(e){b.hasClass(e)||b.addClass(e)}),p.data("contentspacing")){"array"!=typeof(v=p.data("contentspacing"))&&(v=v.split(" "));for(var _=0;_<v.length;_++)"custom"==_||b.hasClass(v[_])||b.addClass(v[_])}b.hasClass("container")?d.addClass("container"):d.removeClass("container"),p.is(".mura-object-label-left, .mura-object-label-right")&&(d=b.css("marginLeft"),y=b.css("marginRight"),"0px"==d&&"0px"==y||"-"==d.charAt(0)||"-"==y.charAt(0)||(r&&b.css("width","calc(50% - ("+d+" + "+y+"))"),x.windowResponsiveModules[p.data("instanceid")]=!0)),x.applyModuleStyles(c,e.content,u,i)}c=(y=i).css("marginLeft"),e=y.css("marginRight"),y.is(".mura-center")||"0px"==c&&"0px"==e||"auto"==c||"auto"==e||!c.charAt||"-"==c.charAt(0)||!e.charAt||"-"==e.charAt(0)||(r&&(r=y.is(".mura-one")?"8.33%":y.is(".mura-two")?"16.66%":y.is(".mura-three")?"25%":y.is(".mura-four")?"33.33%":y.is(".mura-five")?"41.66%":y.is(".mura-six")?"50%":y.is(".mura-seven")?"58.33":y.is(".mura-eight")?"66.66%":y.is(".mura-nine")?"75%":y.is(".mura-ten")?"83.33%":y.is(".mura-eleven")?"91.66%":y.is(".mura-twelve")?"100%":y.is(".mura-one-third")?"33.33%":y.is(".mura-two-thirds")?"66.66%":y.is(".mura-one-half")?"50%":"100%",y.css("width","calc("+r+" - ("+c+" + "+e+"))")),x.windowResponsiveModules[y.data("instanceid")]=!0),c=(r=i).css("paddingTop"),e=r.css("paddingTop"),c.replace&&("0"!=c.replace(/[^0-9]/g,"")||e.replace&&"0"!=e.replace(/[^0-9]/g,""))?r.addClass("mura-object-pin-tools"):r.removeClass("mura-object-pin-tools")}),this},text:function(t){return void 0!==t?(this.each(function(e){e.textContent=t}),this):this.selection[0].textContent},is:function(e){if(!this.selection.length)return!1;try{return void 0!==this.selection[0]&&this.selection[0].matchesSelector&&this.selection[0].matchesSelector(e)}catch(e){return!1}},hasAttr:function(e){return!!this.selection.length&&"function"==typeof this.selection[0].hasAttribute&&this.selection[0].hasAttribute(e)},hasData:function(e){return!!this.selection.length&&this.hasAttr("data-"+e)},offsetParent:function(){var e;return this.selection.length?(e=this.selection[0]).offsetParent||e:this},outerHeight:function(e){return this.selection.length?void 0===e?(t=(e=this.selection[0]).offsetHeight,e=getComputedStyle(e),t+(parseInt(e.marginTop)+parseInt(e.marginBottom))):this.selection[0].offsetHeight:this;var t},height:function(e){var t,n;return this.selection.length?"undefined"!=typeof width?(isNaN(e)||(e+="px"),this.css("height",e),this):(e=this.selection[0],"undefined"!=typeof window&&void 0!==window.document&&e===window?innerHe
1ight:e===document?(t=document.body,n=document.documentElement,Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)):(t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),Math.ceil(e.offsetHeight+n))):this},width:(t=function(e){var t,n;return this.selection.length?void 0!==e?(isNaN(e)||(e+="px"),this.css("width",e),this):(e=this.selection[0],"undefined"!=typeof window&&void 0!==window.document&&e===window?innerWidth:e===document?(t=document.body,n=document.documentElement,Math.max(t.scrollWidth,t.offsetWidth,n.clientWidth,n.scrolWidth,n.offsetWidth)):getComputedStyle(e).width):this},e.toString=function(){return t.toString()},e),outerWidth:function(){var e,t;return this.selection.length?(e=(t=this.selection[0]).offsetWidth,t=getComputedStyle(t),e+(parseInt(t.marginLeft)+parseInt(t.marginRight))):0},scrollTop:function(){var e;return this.selection.length?void 0!==(e=this.selection[0]).scrollTop?e.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop:0},offset:function(){var e;return this.selection.length?{top:(e=this.selection[0].getBoundingClientRect()).top+(pageYOffset||document.scrollTop)-(document.clientTop||0),left:e.left+(pageXOffset||document.scrollLeft)-(document.clientLeft||0)}:this},removeAttr:function(t){return this.selection.length&&this.each(function(e){e&&"function"==typeof e.removeAttribute&&e.removeAttribute(t)}),this},changeElementType:function(t){return this.selection.length&&this.each(function(e){x.changeElementType(e,t)}),this},val:function(t){if(!this.selection.length)return this;if(void 0!==t)return this.each(function(e){"radio"==e.tagName?e.value==t?e.checked=!0:e.checked=!1:e.value=t}),this;if("SELECT"!=this.selection[0].tagName)return Object.prototype.hasOwnProperty.call(this.selection[0],"value")||void 0!==this.selection[0].value?this.selection[0].value:"";for(var e=[],n=this.selection[0].options.length-1;0<=n;n--)this.selection[0].options[n].selected&&e.push(this.selection[0].options[n].value);return e.join(",")},attr:function(n,t){return this.selection.length?void 0===t&&void 0===n?x.getAttributes(this.selection[0]):"object"==C(n)?(this.each(function(e){if(e.setAttribute)for(var t in n)e.setAttribute(t,n[t])}),this):void 0!==t?(this.each(function(e){e.setAttribute&&e.setAttribute(n,t)}),this):this.selection[0]&&this.selection[0].getAttribute?this.selection[0].getAttribute(n):void 0:this},data:function(n,t){return this.selection.length?void 0===t&&void 0===n?x.getData(this.selection[0]):"object"==C(n)?(this.each(function(e){for(var t in n)e.setAttribute("data-"+t,n[t])}),this):void 0!==t?(this.each(function(e){e.setAttribute("data-"+n,t)}),this):this.selection[0]&&this.selection[0].getAttribute?x.parseString(this.selection[0].getAttribute("data-"+n)):void 0:this},prop:function(n,t){return this.selection.length?void 0===t&&void 0===n?x.getProps(this.selection[0]):"object"==C(n)?(this.each(function(e){for(var t in n)e.setAttribute(t,n[t])}),this):void 0!==t?(this.each(function(e){e.setAttribute(n,t)}),this):x.parseString(this.selection[0].getAttribute(n)):this},fadeOut:function(){return this.each(function(t){t.style.opacity=1,function e(){(t.style.opacity-=.1)<0?(t.style.opacity=0,t.style.display="none"):requestAnimationFrame(e)}()}),this},fadeIn:function(e){return this.each(function(n){n.style.opacity=0,n.style.display=e||"block",function e(){var t=parseFloat(n.style.opacity);1<(t+=.1)||(n.style.opacity=t,requestAnimationFrame(e))}()}),this},toggle:function(){return this.each(function(e){void 0===e.style.display||""==e.style.display?e.style.display="none":e.style.display=""}),this},slideToggle:function(){return this.each(function(e){void 0===e.style.display||""==e.style.display?e.style.display="none":e.style.display=""}),this},focus:function(){return this.selection.length&&this.selection[0].focus(),this},makeEditableAttr:function(e){var t,n;return this.selection.length&&(t=this.selection[0].innerHTML,(e=e||{}).name)&&(e.type=e.type||"text",void 0===e.required&&(e.required=!1),void 0===e.validation&&(e.validation=""),void 0===e.message&&(e.message=""),void 0===e.label&&(e.label=e.name),n="mura-editable mura-inactive","htmlEditor"==e.type?(n+=" mura-region mura-region-loose",0):(n+=" inline",0),n='<div class="'+n+'">',n=(n=(n=(n=(n=(n+='<div contenteditable="false" id="mura-editable-attribute-'+e.name+' class="'+"mura-inactive mura-editable-attribute"+'" ')+' data-attribute="'+e.name+'" ')+' data-type="'+e.type+'" ')+' data-required="'+e.required+'" ')+' data-message="'+e.message+'" ')+' data-label="'+e.label+'"',"htmlEditor"==e.type&&(n+=' data-loose="true" data-perm="true" data-inited="false"'),n=(n+=">"+t+"</div>")+'<label class="mura-editable-label" style="display:none">'+e.label.toUpperCase()+"</label>",this.selection[0].innerHTML=n+="</div>",x.evalScripts(this.selection[0])),this},processDisplayRegion:function(e,t){return void 0!==e&&this.selection.length&&(this.html(x.buildDisplayRegion(e)),"undefined"!=t)&&this.find("label.mura-editable-label").html("DISPLAY REGION : "+e.label),this.processMarkup()},dspObject:function(e){return this.appendDisplayObject(e)}})}},574:function(e){function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(l){l.Entity=l.Core.extend({init:function(e,t){return(e=e||{}).entityname=e.entityname||"content",e.siteid=e.siteid||l.siteid,this.set(e),void 0===this.properties.isnew&&
1(this.properties.isnew=1),this.properties.isnew?this.set("isdirty",!0):this.set("isdirty",!1),void 0===this.properties.isdeleted&&(this.properties.isdeleted=!1),this._requestcontext=t||l.getRequestContext(),this.cachePut(),this},updateFromDom:function(){return this},setRequestContext:function(e){return this._requestcontext=e,this},getAPIEndpoint:function(){return this._requestcontext.getAPIEndpoint()+this.get("entityname")+"/"},invoke:function(n,i,o,s){"object"==c(n)?(i=n.params||n.data||{},o=n.method||n.type||"get",n=(s=n).name):s=s||{},l.normalizeRequestConfig(s);var r=this;return void 0===o&&"string"==typeof i&&(o=i,i={}),i=i||{},o=o||"post","function"==this[n]?this[n].apply(this,i):new Promise(function(e,t){"function"==typeof e&&(s.success=e),"function"==typeof t&&(s.error=t),o=o.toLowerCase(),r._requestcontext.request({type:o,url:r.getAPIEndpoint()+n,cache:"get"==o?s.cache:"default",next:s.next,data:i,success:function(e){void 0===e.error?"function"==typeof s.success&&(void 0!==e.data?s.success(e.data):s.success(e)):"function"==typeof s.error&&s.error(e)},error:function(e){"function"==typeof s.error&&s.error(e)},progress:s.progress,abort:s.abort})})},invokeWithCSRF:function(i,o,s,r){"object"==c(i)?(o=i.params||{},s=i.method||"get",i=(r=i).name):r=r||{};var a=this;return l.normalizeRequestConfig(r),"rest"==a._requestcontext.getMode().toLowerCase()?new Promise(function(e,t){return a.invoke(i,o,s,r).then(e,t)}):new Promise(function(t,n){"function"==typeof t&&(r.success=t),"function"==typeof n&&(r.error=n),a._requestcontext.request({type:"post",url:a._requestcontext.getAPIEndpoint()+"?method=generateCSRFTokens",data:{siteid:a.get("siteid"),context:i},success:function(e){o instanceof FormData?(o.append("csrf_token",e.data.csrf_token),o.append("csrf_token_expires",e.data.csrf_token_expires)):o=l.extend(o,e.data),"undefined"!=e.data?a.invoke(i,o,s,r).then(t,n):"function"==typeof r.error&&r.error(e)},error:function(e){"function"==typeof r.error&&r.error(e)}})})},exists:function(){return this.has("isnew")&&!this.get("isnew")},get:function(i,e){var o,s;return void 0===i?this.getAll():void 0!==this.properties.links&&void 0!==this.properties.links[i]?"object"==c((o=this).properties[i])?new Promise(function(e,t){var n=new("items"in o.properties[i]?l.EntityCollection:l.entities[o.properties[i].entityname]||l.Entity)(o.properties[i],o._requestcontext);"function"==typeof e&&e(n)}):(s="object"==c(e)?e:{},new Promise(function(n,t){o._requestcontext.request({type:"get",url:o.properties.links[i],params:s,success:function(e){var t=new("items"in e.data?l.EntityCollection:l.entities[o.entityname]||l.Entity)(e.data,o._requestcontext);l.isEmptyObject(s)&&o.set(i,e.data),"function"==typeof n&&n(t)},error:function(e){"function"==typeof t&&t(e)}})})):void 0!==this.properties[i]?this.properties[i]:void 0!==e?(this.properties[i]=e,this.properties[i]):""},set:function(e,t){return"object"==c(e)?(this.properties=l.deepExtend(this.properties,e),this.set("isdirty",!0)):void 0!==this.properties[e]&&this.properties[e]==t||(this.properties[e]=t,this.set("isdirty",!0)),this},has:function(e){return void 0!==this.properties[e]||void 0!==this.properties.links&&void 0!==this.properties.links[e]},getAll:function(){return this.properties},load:function(){return this.loadBy("id",this.get("id"))},new:function(n){var i=this;return new Promise(function(t,e){n=l.extend({entityname:i.get("entityname"),method:"findNew",siteid:i.get("siteid")},n),i._requestcontext.get(i._requestcontext.getAPIEndpoint(),n,{cache:"no-cache"}).then(function(e){i.set(e.data),"function"==typeof t&&t(i)})})},checkSchema:function(){var i=this;return new Promise(function(t,n){"rest"==i._requestcontext.getMode().toLowerCase()?i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint(),data:{entityname:i.get("entityname"),method:"checkSchema",siteid:i.get("siteid")},success:function(e){"undefined"!=e.data?"function"==typeof t&&t(i):(console.log(e),"function"==typeof n&&n(i))},error:function(e){i.set("errors",e.error),"function"==typeof n&&n(i)}}):i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint()+"?method=generateCSRFTokens",data:{siteid:i.get("siteid"),context:""},success:function(e){i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint(),data:l.extend({entityname:i.get("entityname"),method:"checkSchema",siteid:i.get("siteid")},{csrf_token:e.data.csrf_token,csrf_token_expires:e.data.csrf_token_expires}),success:function(e){"undefined"!=e.data?"function"==typeof t&&t(i):(console.log(e),i.set("errors",e.error),"function"==typeof n&&n(i))},error:function(e){this.success(e)}})},error:function(e){this.success(e)}})})},undeclareEntity:function(e){e=e||!1;var i=this;return new Promise(function(t,n){if("rest"!=i._requestcontext.getMode().toLowerCase())return i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint()+"?method=generateCSRFTokens",data:{siteid:i.get("siteid"),context:""},success:function(e){i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint(),data:l.extend({entityname:i.get("entityname"),method:"undeclareEntity",siteid:i.get("siteid")},{csrf_token:e.data.csrf_token,csrf_token_expires:e.data.csrf_token_expires}),success:function(e){"undefined"!=e.data?"function"==typeof t&&t(i):(i.set("errors",e.error),"function"==typeof n&&n(i))}})},error:function(e){this.success(e)}});i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint(),data:{entityname:i.get("entityname"),deleteSchema:e,method:"undeclareEntity",siteid:i.get("siteid")},success:function(e){"undefined"!=e.data?"function"==typeof t&&t(i):(console.log(e),i.set("errors",e.error),"function"==typeof n&&n(i))},error:function(e){this.success(e)}})})},loadBy:function(o,s,r){o=o||"id",s=s||this.get(o)||"null";var a=this;if("id"==o){var e=l.datacache.get(s);if(void 0!==e)return this.set(e),new Promise(function(e,t){e(a)})}return new Promise(function(t,n){"content"!=(r=l.extend({entityname:a.get("entityname").toLowerCase(),method:"findQuery",siteid:a.get("siteid")},r)).entityname&&"contentnav"!=r.entityname||(r.includeHomePage=1,r.showNavOnly=0,r.showExcludeSearch=1);var e=r.cache||"default",i=(delete r.cache,r.next||{});delete r.next,r[o]=s,a._requestcontext.findQuery(r,{cache:e,next:i}).then(function(e){e.get("items").length&&a.set(e.get("items")[0].getAll()),"function"==typeof t&&t(a)},function(e){"function"==typeof n&&n(e)})})},validate:function(e){e=e||"";var n=this,i=l.deepExtend({},n.getAll());return i.fields=e,new Promise(function(t,e){n._requestcontext.request({type:"post",url:n._requestcontext.getAPIEndpoint()+"?method=validate",data:{data:JSON.stringify(i),validations:"{}",version:4},success:function(e){"undefined"!=e.data?n.set("errors",e.data):n.set("errors",e.error),"function"==typeof t&&t(n)},error:function(e){n.set("errors",e.error),t(n)}})})},hasErrors:function(){var e=this.get("errors",{});return"string"==typeof e&&""!=e||"object"==c(e)&&!l.isEmptyObject(e)},getErrors:function(){return this.get("errors",{})},save:function(o){o=o||{},l.normalizeRequestConfig(o);var s=this;return this.get("isdirty")?this.get("id")?new Promise(function(e,t){"function"==typeof e&&(o.success=e),"function"==typeof t&&(o.error=t);e=s.get("id");"rest"==s._requestcontext.getMode().toLowerCase()?s._requestcontext.request({type:"post",url:s._requestcontext.getAPIEndpoint()+"?method=save",data:s.getAll(),success:function(e){"undefined"!=e.data?(s.set(e.data),s.set("isdirty",!1),s.get("saveerrors")||l.isEmptyObject(s.getErrors())?"function"==typeof o.success&&o.success(s):"function"==typeof o.error&&o.error(s)):(s.set("errors",e.error),"function"==typeof o.error&&o.error(s))},error:function(e){s.set("errors",e.error),"function"==typeof o.error&&o.error(s)}
1,progress:o.progress,abort:o.abort}):s._requestcontext.request({type:"post",url:s._requestcontext.getAPIEndpoint()+"?method=generateCSRFTokens",data:{siteid:s.get("siteid"),context:e},success:function(e){s._requestcontext.request({type:"post",url:s._requestcontext.getAPIEndpoint()+"?method=save",data:l.extend(s.getAll(),{csrf_token:e.data.csrf_token,csrf_token_expires:e.data.csrf_token_expires}),success:function(e){"undefined"!=e.data?(s.set(e.data),s.set("isdirty",!1),s.get("saveerrors")||l.isEmptyObject(s.getErrors())?"function"==typeof o.success&&o.success(s):"function"==typeof o.error&&o.error(s)):(s.set("errors",e.error),"function"==typeof o.error&&o.error(s))},error:function(e){s.set("errors",e.error),"function"==typeof o.error&&o.error(s)},progress:o.progress,abort:o.abort})},error:function(e){this.error(e)},abort:o.abort})}):new Promise(function(t,n){var i=l.deepExtend({},s.getAll());s._requestcontext.request({type:"get",url:s._requestcontext.getAPIEndpoint()+s.get("entityname")+"/new",success:function(e){s.set(e.data),s.set(i),s.set("id",e.data.id),s.set("isdirty",!0),s.cachePut(),s.save(o).then(t,n)},error:o.error,abort:o.abort})}):new Promise(function(e,t){"function"==typeof e&&(o.success=e),"function"==typeof o.success&&o.success(s)})},delete:function(n){n=n||{},l.normalizeRequestConfig(n);var i=this;return"rest"==i._requestcontext.getMode().toLowerCase()?new Promise(function(e,t){"function"==typeof e&&(n.success=e),"function"==typeof t&&(n.error=t),i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint()+"?method=delete",data:{siteid:i.get("siteid"),id:i.get("id"),entityname:i.get("entityname")},success:function(){i.set("isdeleted",!0),i.cachePurge(),"function"==typeof n.success&&n.success(i)},error:n.error,progress:n.progress,abort:n.abort})}):new Promise(function(e,t){"function"==typeof e&&(n.success=e),"function"==typeof t&&(n.error=t),i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint()+"?method=generateCSRFTokens",data:{siteid:i.get("siteid"),context:i.get("id")},success:function(e){i._requestcontext.request({type:"post",url:i._requestcontext.getAPIEndpoint()+"?method=delete",data:{siteid:i.get("siteid"),id:i.get("id"),entityname:i.get("entityname"),csrf_token:e.data.csrf_token,csrf_token_expires:e.data.csrf_token_expires},success:function(){i.set("isdeleted",!0),i.cachePurge(),"function"==typeof n.success&&n.success(i)},error:n.error,progress:n.progress,abort:n.abort})},error:n.error,abort:n.abort})})},getFeed:function(){return this._requestcontext.getFeed(this.get("entityName"))},cachePurge:function(){return l.datacache.purge(this.get("id")),this},cachePut:function(){return this.get("isnew")||l.datacache.set(this.get("id"),this),this}})}},338:function(e){e.exports=function(o){o.EntityCollection=o.Entity.extend({init:function(e,t){this.set(e=e||{}),this._requestcontext=t||o._requestcontext;var n=this;return Array.isArray(n.get("items"))&&n.set("items",n.get("items").map(function(e){var t=e.entityname.substr(0,1).toUpperCase()+e.entityname.substr(1);return new(o.entities[t]||o.Entity)(e,n._requestcontext)})),this},length:function(){return this.properties.items.length},item:function(e){return this.properties.items[e]},index:function(e){return this.properties.items.indexOf(e)},indexOf:function(e){return this.properties.items.indexOf(e)},getAll:function(){var e=this;return void 0!==e.properties.items?o.extend({},e.properties,{items:e.properties.items.map(function(e){return e.getAll()})}):void 0!==e.properties.properties?o.extend({},e.properties,{properties:e.properties.properties.map(function(e){return e.getAll()})}):void 0},each:function(n){return this.properties.items.forEach(function(e,t){void 0===n.call?n(e,t):n.call(e,e,t)}),this},forEach:function(e){return this.each(e)},sort:function(e){return this.properties.items.sort(e),this},filter:function(n){var e,t={};for(e in this.properties)this.properties.hasOwnProperty(e)&&"items"!=e&&"links"!=e&&(t[e]=this.properties[e]);return new o.EntityCollection(t,this._requestcontext).set("items",this.properties.items.filter(function(e,t){return void 0===n.call?n(e,t):n.call(e,e,t)}))},map:function(n){return this.properties.items.map(function(e,t){return void 0===n.call?n(e,t):n.call(e,e,t)})},reverse:function(e){var t,n={};for(t in this.properties)this.properties.hasOwnProperty(t)&&"items"!=t&&"links"!=t&&(n[t]=this.properties[t]);var i=new o.EntityCollection(n,this._requestcontext);return i.set("items",this.properties.items.reverse()),i},reduce:function(o,e){return this.properties.items.reduce(function(e,t,n,i){return void 0===o.call?o(e,t,n,i):o.call(t,e,t,n,i)}
1,e=e||0)}})}},495:function(e,t,n){e.exports=function(){var e=n(898)({});return n(214)(e),n(57)(e),n(687)(e),n(483)(e),n(574)(e),n(124)(e),n(458)(e),n(338)(e),n(345)(e),n(378)(e),n(19)(e),n(135)(e),n(307)(e),n(578)(e),n(227)(e),n(972)(e),n(492)(e),n(301)(e),n(77)(e),n(818)(e),n(512)(e),e.isInNode()?e._escapeHTML=n(Object(function(){var e=new Error("Cannot find module 'escape-html'");throw e.code="MODULE_NOT_FOUND",e}())):"undefined"!=typeof window&&(window.m=e,window.mura=e,window.Mura=e,window.validateForm=e.validateForm,window.setHTMLEditor=e.setHTMLEditor,window.createCookie=e.createCookie,window.readCookie=e.readCookie,window.addLoadEvent=e.addLoadEvent,window.noSpam=e.noSpam,window.initMura=e.init),e}},345:function(e){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function t(e,t,n){return i=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!=o(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==o(i)?i:i+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var i}e.exports=function(s){var e;s.Feed=s.Core.extend((t(t(t(t(t(t(t(t(t(t(e={init:function(e,t,n){return this.queryString=t+"/?",this.propIndex=0,this.cache="default",this.next={},this._requestcontext=n||s.getRequestContext(),this},cache:function(e){return this.cache=e,this},next:function(e){return this.next=e},fields:function(e){return void 0!==e&&e&&(this.queryString+="&fields="+encodeURIComponent(e)),this},setRequestContext:function(e){return this._requestcontext=e,this},contentPoolID:function(e){return this.queryString+="&contentpoolid="+encodeURIComponent(e),this},name:function(e){return this.queryString+="&feedname="+encodeURIComponent(e),this},cacheKey:function(e){return this.queryString+="&cacheKey="+encodeURIComponent(e),this},cachedWithin:function(e){return this.queryString+="&cachedWithin="+encodeURIComponent(e),this},purgeCache:function(e){return this.queryString+="&purgeCache="+encodeURIComponent(e),this},feedID:function(e){return this.queryString+="&feedid="+encodeURIComponent(e),this},where:function(e){return e?this.andProp(e):this},prop:function(e){return this.andProp(e)},andProp:function(e){return this.queryString+="&"+encodeURIComponent(e+"["+this.propIndex+"]")+"=",this.propIndex++,this},orProp:function(e){return this.queryString+="&or"+encodeURIComponent("["+this.propIndex+"]")+"&",this.propIndex++,this.queryString+=encodeURIComponent(e+"["+this.propIndex+"]")+"=",this.propIndex++,this},isEQ:function(e){return void 0!==e&&""!==e&&null!=e||(e="null"),this.queryString+=encodeURIComponent(e),this},isNEQ:function(e){return void 0!==e&&""!==e&&null!=e||(e="null"),this.queryString+=encodeURIComponent("neq^"+e),this},isLT:function(e){return void 0!==e&&""!==e&&null!=e||(e="null"),this.queryString+=encodeURIComponent("lt^"+e),this},isLTE:function(e){return void 0!==e&&""!==e&&null!=e||(e="null"),this.queryString+=encodeURIComponent("lte^"+e),this},isGT:function(e){return void 0!==e&&""!==e&&null!=e||(e="null"),this.queryString+=encodeURIComponent("gt^"+e),this},isGTE:function(e){return void 0!==e&&""!==e&&null!=e||(e="null"),this.queryString+=encodeURIComponent("gte^"+e),this},isIn:function(e){return Array.isArray(e)&&(e=e.join()),this.queryString+=encodeURIComponent("in^"+e),this},isNotIn:function(e){return Array.isArray(e)&&(e=e.join()),this.queryString+=encodeURIComponent("notIn^"+e),this},hasAll:function(e){return Array.isArray(e)&&(e=e.join()),this.queryString+=encodeURIComponent("hasAll^"+e),this},hasAny:function(e){return Array.isArray(e)&&(e=e.join()),this.queryString+=encodeURIComponent("hasAny^"+e),this},containsValue:function(e){return this.queryString+=encodeURIComponent("containsValue^"+e),this},contains:function(e){return this.queryString+=encodeURIComponent("containsValue^"+e),this},notContainsValue:function(e){return this.queryString+=encodeURIComponent("notContainsValue^"+e),this},notContains:function(e){return this.queryString+=encodeURIComponent("notContainsValue^"+e),this},beginsWith:function(e){return this.queryString+=encodeURIComponent("begins^"+e),this},notBeginsWith:function(e){return this.queryString+=encodeURIComponent("notBeginsWith^"+e),this},endsWith:function(e){return this.queryString+=encodeURIComponent("ends^"+e),this},notEndsWith:function(e){return this.queryString+=encodeURIComponent("notEndsWith^"+e),this},openGrouping:function(){return this.queryString+="&openGrouping"+encodeURIComponent("["+this.propIndex+"]"),this.propIndex++,this},andOpenGrouping:function(){return this.queryString+="&andOpenGrouping"+encodeURIComponent("["+this.propIndex+"]"),this.propIndex++,this},orOpenGrouping:function(){return this.queryString+="&orOpenGrouping"+encodeURIComponent("["+this.propIndex+"]"),this.propIndex++,this},closeGrouping:function(){return this.queryString+="&closeGrouping"+encodeURIComponent("["+this.propIndex+"]"),this.propIndex++,this},sort:function(e,t){return this.queryString+="desc"==(t=t||"asc")?"&sort"+encodeURIComponent("["+this.propIndex+"]")+"="+encodeURIComponent("-"+e):"&sort"+encodeURIComponent("["+this.propIndex+"]")+"="+encodeURIComponent(e),this.propIndex++,this},itemsPerPage:function(e){return this.queryString+="&itemsPerPage="+encodeURIComponent(e),this},pageIndex:function(e){return this.queryString+="&pageIndex="+encodeURIComponent(e),this},maxItems:function(e){return this.queryString+="&maxItems="+encodeURIComponent(e),this},distinct:function(e){return void 0===e&&(e=!0),this.queryString+="&distinct="+encodeURIComponent(e),this},aggregate:function(e,t){return"count"==e&&void 0===t&&(t="*"),void 0!==e&&void 0!==t&&(this.queryString+="&"+encodeURIComponent(e+"["+this.propIndex+"]")+"="+t,this.propIndex++),this},liveOnly:function(e){return this.queryString+="&liveOnly="+encodeURIComponent(e),this},groupBy:function(e){return void 0!==e&&(this.queryString+="&"+encodeURIComponent("groupBy["+this.propIndex+"]")+"="+e,this.propIndex++),this}},"maxItems",function(e){return this.queryString+="&maxItems="+encodeURIComponent(e),this}),"showNavOnly",function(e){return this.queryString+="&showNavOnly="+encodeURIComponent(e),this}),"expand",function(e){return(e=void 0===e?"all":e)&&(this.queryString+="&expand="+encodeURIComponent(e)),this}),"expandDepth",function(e){return s.isNumeric(e=e||1)&&1<Number(parseFloat(e))&&(this.queryString+="&expandDepth="+encodeURIComponent(e)),this}),"findMany",function(e){return 1===(e=(e=Array.isArray(e)?e:e.split(",")).length?e:[s.createUUID()]).length?this.andPro
1p("id").isEQ(e[0]):this.queryString+="&id="+encodeURIComponent(e.join(",")),this}),"pointInTime",function(e){return this.queryString+="&pointInTime="+encodeURIComponent(e),this}),"showExcludeSearch",function(e){return this.queryString+="&showExcludeSearch="+encodeURIComponent(e),this}),"applyPermFilter",function(e){return this.queryString+="&applyPermFilter="+encodeURIComponent(e),this}),"imageSizes",function(e){return this.queryString+="&imageSizes="+encodeURIComponent(e),this}),"useCategoryIntersect",function(e){return this.queryString+="&useCategoryIntersect="+encodeURIComponent(e),this}),t(t(t(t(t(t(e,"includeHomepage",function(e){return this.queryString+="&includehomepage="+encodeURIComponent(e),this}),"innerJoin",function(e){return this.queryString+="&innerJoin"+encodeURIComponent("["+this.propIndex+"]")+"="+encodeURIComponent(e),this.propIndex++,this}),"leftJoin",function(e){return this.queryString+="&leftJoin"+encodeURIComponent("["+this.propIndex+"]")+"="+encodeURIComponent(e),this.propIndex++,this}),"facet",function(e){return this.queryString+="&facet="+encodeURIComponent(e),this}),"getIterator",function(e){return this.getQuery(e)}),"getQuery",function(e){var o=this;if(void 0!==e)for(var t in e)e.hasOwnProperty(t)&&("function"==typeof o[t]?o[t](e[t]):o.andProp(t).isEQ(e[t]));return new Promise(function(n,i){var e=o._requestcontext.getAPIEndpoint(),e="/"==e.charAt(e.length-1)?e:e+"/";o._requestcontext.request({type:"get",cache:o.cache,next:o.next,url:e+o.queryString,success:function(e){var t;"undefined"!=e.data?(t=new s.EntityCollection(e.data,o._requestcontext),"function"==typeof n&&n(t)):"function"==typeof i&&i(e)},error:function(e){"function"==typeof i&&i(e)}})})})))}},378:function(e){function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){if("undefined"!=typeof window&&void 0!==window.document){function o(e,t){return e instanceof(t||Array)}var l=document,t="getElementsByTagName",s="length",c="readyState",u="onreadystatechange",n=l[t]("script"),i=n[n[s]-1],r=i.innerHTML.replace(/^\s+|\s+$/g,"");try{var d=w.document.createElement("link").relList.supports("preload")}catch(e){d=!1}if(!e.ljs){function h(e){var i={};return i.u=e.replace(/#(=)?([^#]*)?/g,function(e,t,n){return i[t?"f":"i"]=n,""}),i}var a=i.src.match(/checkLoaded/)?1:0,p=l[t]("head")[0]||l.documentElement,f=function(e,o,t){var n,i,s=l.createElement(e);function r(){s.addEventListener&&s.removeEventListener("load",r),s.media=i||"all",s.rel="stylesheet"}function a(e){for(var t=document.styleSheets,n=o.href,i=t.length;i--;)if(t[i].href===n)return e();setTimeout(function(){a(e)})}for(n in"script"==e&&t?s[c]?s[u]=function(){"loaded"!==s[c]&&"complete"!==s[c]||(s[u]=null,t())}:s.onload=t:"link"==e&&"object"==x(o)&&void 0!==o.rel&&"preload"==o.rel&&(i=o.media||"all",o.as=o.as||"style",d||(o.media="x only",o.rel="stylesheet"),s.addEventListener&&s.addEventListener("load",r),(s.onloadcssdefined=a)(r)),o)o[n]&&(s[n]=o[n]);p.appendChild(s)},m={},g={aliases:{},loadjs:function(e,t,n){if("object"==x(e)){if(Array.isArray(e))return g.load.apply(this,arguments);if("function"==typeof t)n=t,e=(t={}).href;else{if("string"==typeof t||"object"==x(t)&&Array.isArray(t))return g.load.apply(this,arguments);e=(t=e).href,n=void 0}}else if("function"==typeof t)n=t,t={};else if("string"==typeof t||"object"==x(t)&&Array.isArray(t))return g.load.apply(this,arguments);void 0===t&&(t={});for(var i=h(e),o=[["i","id"],["f","fallback"],["u","src"]],s=0;s<o.length;s++){var r=o[s];!(r[1]in t)&&r[0]in i&&(t[r[1]]=i[r[0]])}void 0===t.type&&(t.type="text/javascript");var a,l,c,u,d={};for(a in t)"fallback"!=a&&(d[a]=t[a]);return d.onerror=function(e){t.fallback&&((e=e.currentTarget).parentNode.removeChild(e),d.src=t.fallback,f("script",t,n))},!0===m[d.src]?n&&n():void 0!==m[d.src]?n&&(m[d.src]=(c=m[d.src],u=n,function(){c&&c(),u&&u()})):(m[d.src]=(l=n,function(){m[d.src]=!0,l&&l()}),f("script",d,n=function(){m[e]()})),this},loadcss:function(e,t,n){if("object"==x(e)){if(Array.isArray(e))return g.load.apply(this,arguments);if("function"==typeof t)n=t,e=(t=e).href;else{if("string"==typeof t||"object"==x(t)&&Array.isArray(t))return g.load.apply(this,arguments);e=(t=e).href,n=void 0}}else if("function"==typeof t)n=t,t={};else if("string"==typeof t||"object"==x(t)&&Array.isArray(t))return g.load.apply(this,arguments);var i={type:"text/css",rel:"stylesheet",href:e,id:(i=h(e)).i};
1if(void 0!==t)for(var o in t)i[o]=t[o];return m[i.href]||f("link",i),m[i.href]=!0,n&&n(),this},loadimport:function(e,t,n){if("object"==x(e)){if(Array.isArray(e))return g.load.apply(this,arguments);if("function"==typeof t)n=t,e=(t=e).href;else{if("string"==typeof t||"object"==x(t)&&Array.isArray(t))return g.load.apply(this,arguments);e=(t=e).href,n=void 0}}else if("function"==typeof t)n=t,t={};else if("string"==typeof t||"object"==x(t)&&Array.isArray(t))return g.load.apply(this,arguments);var i={rel:"import",href:e,id:(i=h(e)).i};if(void 0!==t)for(var o in t)i[o]=t[o];return m[i.href]||f("link",i),m[i.href]=!0,n&&n(),this},load:function(){var e=arguments,t=e[s];return 1===t&&o(e[0],Function)?e[0]():function(e,t){var n;if(this.aliases&&this.aliases[e])return n=this.aliases[e].slice(0),o(n)||(n=[n]),t&&n.push(t),this.load.apply(this,n);if(o(e)){for(var i=e[s];i--;)this.load(e[i]);return t&&e.push(t),this.load.apply(this,e)}return e.match(/\.css\b/)?this.loadcss(e,t):e.match(/\.html\b/)?this.loadimport(e,t):this.loadjs(e,t)}.call(this,e[0],t<=1?void 0:function(){g.load.apply(g,[].slice.call(e,1))}),this},addAliases:function(e){for(var t in e)this.aliases[t]=o(e[t])?e[t].slice(0):e[t];return this}};if(a){for(var v,y,b=0,_=n[s];b<_;b++)(y=n[b].getAttribute("src"))&&(m[y.replace(/#.*$/,"")]=!0);for(b=0,_=(v=l[t]("link"))[s];b<_;b++)"import"!==v[b].rel&&"stylesheet"!==v[b].rel&&"text/css"!==v[b].type||(m[v[b].getAttribute("href").replace(/#.*$/,"")]=!0)}e.ljs=g}i.src&&r&&f("script",{innerHTML:r})}}},214:function(e){e.exports=function(t){function e(){return this.init.apply(this,arguments),this}e.prototype={init:function(){},invoke:function(e,t){if(t=t||{},"function"==this[e])return this[e].apply(this,t)},trigger:function(e){if(e=e.toLowerCase(),void 0!==this.prototype.handlers[e])for(var t in this.prototype.handlers[e])void 0===t.call?t(this):t.call(this,this);return this}},e.extend=function(e){return t.extend(t.extendClass(this,e),{extend:this.extend,handlers:[]})},t.Core=e}},35:function(e,t){var n;"undefined"!=typeof window&&void 0!==window.document&&(window.Element&&((n=Element.prototype).matchesSelector=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.parentNode||this.document).querySelectorAll(e),n=-1;t[++n]&&t[n]!=this;);return!!t[n]}),function(i){"use strict";i.loadCSS||(i.loadCSS=function(){});var e,o=loadCSS.relpreload={};o.support=function(){var t;try{t=i.document.createElement("link").relList.supports("preload")}catch(e){t=!1}return function(){return t}}(),o.bindMediaToggle=function(e){var t=e.media||"all";function n(){e.media=t}e.addEventListener?e.addEventListener("load",n):e.attachEvent&&e.attachEvent("onload",n),setTimeout(function(){e.rel="stylesheet",e.media="only x"}),setTimeout(n,3e3)},o.poly=function(){if(!o.support())for(var e=i.document.getElementsByTagName("link"),t=0;t<e.length;t++){var n=e[t];"preload"!==n.rel||"style"!==n.getAttribute("as")||n.getAttribute("data-loadcss")||(n.setAttribute("data-loadcss",!0),o.bindMediaToggle(n))}},o.support()||(o.poly(),e=i.setInterval(o.poly,500),i.addEventListener?i.addEventListener("load",function(){o.poly(),i.clearInterval(e)}):i.attachEvent&&i.attachEvent("onload",function(){o.poly(),i.clearInterval(e)})),t.loadCSS=loadCSS}(window),"objectFit"in document.documentElement.style==0)&&document.addEventListener("DOMContentLoaded",function(){Array.prototype.forEach.call(document.querySelectorAll("img[data-object-fit]"),function(e){(e.runtimeStyle||e.style).background='url("'+e.src+'") no-repeat 50%/'+(e.currentStyle?e.currentStyle["object-fit"]:e.getAttribute("data-object-fit")),e.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+e.width+"' height='"+e.height+"'%3E%3C/svg%3E"})})},687:function(e){function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(l){l.RequestContext=l.Core.extend({init:function(e,t,n,i,o,s){var r;return"object"===a(e)&&void 0===t?(e=(r=e).req||r.request,t=r.res||r.response,n=r.headers,i=r.siteid,o=r.endpoint,s=r.mode,renderMode=r.renderMode):"str
1ing"==typeof n&&(r=i,i=n,n="object"===a(r)?r:{}),this.siteid=i||l.siteid,this.apiEndpoint=o||l.getAPIEndpoint(),this.mode=s||l.getMode(),this.renderMode="undefined"!=typeof renderMode?renderMode:l.getRenderMode(),this.requestObject=e,this.responseObject=t,this._request=new l.Request(e,t,n,this.renderMode),"rest"==this.mode&&(this.apiEndpoint=this.apiEndpoint.replace("/json/","/rest/")),this},setRequestHeader:function(e,t){return this._request.setRequestHeader(e,t),this},getRequestHeader:function(e){return this._request.getRequestHeader(e)},getAPIEndpoint:function(){return this.apiEndpoint},setAPIEndpoint:function(e){return this.apiEndpoint=e,this},getMode:function(){return this.mode},setMode:function(e){return this.mode=e,"rest"==this.mode?this.apiEndpoint=this.apiEndpoint.replace("/json/","/rest/"):this.apiEndpoint=this.apiEndpoint.replace("/rest/","/json/"),this},getRequestHeaders:function(){return this._request.getRequestHeaders()},request:function(e){return this._request.execute(e)},renderFilename:function(e,t){var n,o=[],s=this,r=((t=t||{}).filename=t.filename||"",t.siteid=t.siteid||this.siteid,t.cache||"default"),a=(delete t.cache,t.next||{});for(n in delete t.next,t)"entityname"!=n&&"filename"!=n&&"siteid"!=n&&"method"!=n&&o.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return new Promise(function(n,i){s.request({async:!0,type:"get",cache:r,next:a,url:s.apiEndpoint+"/content/_path/"+e+"?"+o.join("&"),success:function(e){var t;null!=e&&"undefined"!=typeof location&&void 0!==e.data&&void 0!==e.data.redirect&&void 0===e.data.contentid?e.data.redirect&&e.data.redirect!=location.href?location.href=e.data.redirect:location.reload(!0):((t=new l.entities.Content({},s)).set(e.data),n(t))},error:function(e){var t;null!=e&&void 0!==e.data&&void 0!==e.data&&"function"==typeof n?((t=new l.entities.Content({},s)).set(e.data),n(t)):"function"==typeof i&&i(e)}})})},findText:function(e,n){var i=this,o=((n=n||{}).text=e||n.text||"",n.siteid=n.siteid||this.siteid,n.method="findtext",n.cache||"default"),s=(delete n.cache,n.next||{});return delete n.next,new Promise(function(t,e){i.request({type:"get",url:i.apiEndpoint,cache:o,next:s,data:n,success:function(e){e=new l.EntityCollection(e.data,i);"function"==typeof t&&t(e)},error:function(e){console.log(e)}})})},getEntity:function(e,t){var n;return"string"==typeof e?(n={entityname:e.substr(0,1).toUpperCase()+e.substr(1)}).siteid=t||this.siteid:((n=e).entityname=n.entityname||"Content",n.siteid=n.siteid||this.siteid),n.links={permissions:this.apiEndpoint+n.entityname+"/permissions"},new(l.entities[n.entityname]||l.Entity)(n,this)},getBean:function(e,t){return this.getEntity(e,t)},declareEntity:function(i){var o=this;return"rest"==this.getMode().toLowerCase()?new Promise(function(t,n){o.request({async:!0,type:"POST",url:o.apiEndpoint,data:{method:"declareEntity",entityConfig:encodeURIComponent(JSON.stringify(i))},success:function(e){"function"==typeof t&&null!=e&&void 0!==e.data?t(e.data):("function"==typeof n&&null!=e&&void 0!==e.error||"function"==typeof t)&&t(e)}})}):new Promise(function(t,n){o.request({type:"POST",url:o.apiEndpoint+"?method=generateCSRFTokens",data:{context:""},success:function(e){o.request({async:!0,type:"POST",url:o.apiEndpoint,data:{method:"declareEntity",entityConfig:encodeURIComponent(JSON.stringify(i)),csrf_token:e.data.csrf_token,csrf_token_expires:e.data.csrf_token_expires},success:function(e){"function"==typeof t&&null!=e&&void 0!==e.data?t(e.data):("function"==typeof n&&null!=e&&void 0!==e.error||"function"==typeof t)&&t(e)}})}})})},undeclareEntity:function(i,o){var s=this;return o=o||!1,"rest"==this.getMode().toLowerCase()?new Promise(function(t,n){s.request({async:!0,type:"POST",url:s.apiEndpoint,data:{method:"undeclareEntity",entityName:i,deleteSchema:o},success:function(e){"function"==typeof t&&null!=e&&void 0!==e.data?t(e.data):("function"==typeof n&&null!=e&&void 0!==e.error||"function"==typeof t)&&t(e)}})}):new Promise(function(t,n){s.request({type:"POST",url:s.apiEndpoint+"?method=generateCSRFTokens",data:{context:""},success:function(e){s.request({async:!0,type:"POST",url:s.apiEndpoint,data:{method:"undeclareEntity",entityName:i,deleteSchema:o,csrf_token:e.data.csrf_token,csrf_token_expires:e.data.csrf_token_expires},success:function(e){"function"==typeof t&&null!=e&&void 0!==e.data?t(e.data):("function"==typeof n&&null!=e&&void 0!==e.error||"function"==typeof t)&&t(e)}})}})})},getFeed:function(e,t){return l.feeds=l.feeds||{}
1,t=t||this.siteid,new("string"==typeof e&&(e=e.substr(0,1).toUpperCase()+e.substr(1),l.feeds[e])?l.feeds[e]:l.Feed)(t,e,this)},getCurrentUser:function(n){var i=this;return(n=n||{}).fields=n.fields||"",new Promise(function(t,e){i.currentUser?t(i.currentUser):i.request({async:!0,type:"get",url:i.apiEndpoint+"findCurrentUser?fields="+n.fields,cache:"no-cache",success:function(e){"function"==typeof t&&(i.currentUser=i.getEntity("user"),i.currentUser.set(e.data),t(i.currentUser))},error:function(e){"function"==typeof t&&(i.self=i.getEntity("user"),i.currentUser.set(e.data),t(i.currentUser))}})})},findQuery:function(n){var i=this,o=((n=n||{}).entityname=n.entityname||"content",n.siteid=n.siteid||this.siteid,n.method=n.method||"findQuery",n.cache||"default"),s=(delete n.cache,n.next||{});return delete n.next,new Promise(function(t,e){i.request({type:"get",url:i.apiEndpoint,cache:o,next:s,data:n,success:function(e){e=new l.EntityCollection(e.data,i);"function"==typeof t&&t(e)},error:function(e){console.log(e)}})})},login:function(n,i,o){o=o||this.siteid;var s=this;return new Promise(function(t,e){s.request({type:"post",url:s.apiEndpoint+"?method=generateCSRFTokens",data:{siteid:o,context:"login"},success:function(e){s.request({async:!0,type:"post",url:s.apiEndpoint,data:{siteid:o,username:n,password:i,method:"login",csrf_token:e.data.csrf_token,csrf_token_expires:e.data.csrf_token_expires},success:function(e){t(e.data)}})}})})},openGate:function(i){var o=this;if(i=i||l.contentid)return"rest"==this.getMode().toLowerCase()?new Promise(function(t,n){o.request({async:!0,type:"POST",url:o.apiEndpoint+"/gatedasset/open",data:{contentid:i},success:function(e){"function"==typeof t&&void 0!==e.data?t(e.data):("function"==typeof n&&void 0!==e.error||"function"==typeof t)&&t(e)}})}):new Promise(function(t,n){o.request({type:"POST",url:o.apiEndpoint+"?method=generateCSRFTokens",data:{context:i},success:function(e){o.request({async:!0,type:"POST",url:o.apiEndpoint+"/gatedasset/open",data:{contentid:i},success:function(e){"function"==typeof t&&void 0!==e.data?t(e.data):("function"==typeof n&&void 0!==e.error||"function"==typeof t)&&t(e)}})}})})},logout:function(n){n=n||this.siteid;var i=this;return new Promise(function(t,e){i.request({async:!0,type:"post",url:i.apiEndpoint,data:{siteid:n,method:"logout"},success:function(e){t(e.data)}})})},normalizeRequest:function(e,t,n,i){"object"==a(t)?(n=t.body||t.data||{},t=(i=t).url):(n=n||{},i=i||{}),i.type=e,i.url=t||this.getAPIEndpoint(),i.data=n||{},"/"!==i.url.substr(0,1)&&"."!==i.url.substr(0,1)&&"http"!==i.url.toLowerCase().substr(0,4)&&(i.url=this.getAPIEndpoint()+i.url),i.body&&(i.data=i.body,delete i.body),i.isfetch=i.isfetch||!1,l.normalizeRequestConfig(i);var o=this;return n=n||{},i.isfetch?o.request(i):new Promise(function(e,t){"function"==typeof e&&(i.success=e),"function"==typeof t&&(i.error=t);e=l.extend({},i);return o.request(e)})},fetch:function(e,t){return"object"==a(e)?(e.method=e.method||"GET",e.isfetch=!0,this.normalizeRequest(e.method,e)):((t=t||{}).method=t.method||"GET",t.url=e,t.isfetch=!0,this.normalizeRequest(t.method,t))},get:function(e,t,n){return this.normalizeRequest("get",e,t,n)},post:function(e,t,n){return this.normalizeRequest("post",e,t,n)},put:function(e,t,n){return this.normalizeRequest("put",e,t,n)},patch:function(e,t,n){return this.normalizeRequest("patch",e,t,n)},delete:function(e,t,n){return this.normalizeRequest("delete",e,t,n)},requestHeaders:{}})}},57:function(e){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(w){w.Request=w.Core.extend({init:function(e,t,n,i){return this.requestObject=e,this.responseObject=t,this.requestHeaders=n||{},this.inNode=w.isInNode(),this.renderMode=void 0!==i?i:w.getRenderMode(),this},execute:function(e){"type"in e||(e.type="GET"),"data"in e||(e.data={}),"headers"in e||(e.headers={}),"method"in e&&(e.type=e.method),"dataType"in e||(e.dataType="default"),w.normalizeRequestConfig(e),e.type=e.type.toLowerCase();try{var t,n,i;!this.inNode&&e.data instanceof FormData||"get"!==e.type||"string"==typeof e.url&&-1<e.url.toLowerCase().indexOf("purgecache")||void 0!==e.data.purgeCache||void 0!==e.data.purgecache||(i={},!this.inNode&&"undefined"!=typeof location&&location.search?i=w.getQueryStringParams(location.search):void 0!==this.requestObject&&"string"==typeof this.requestObject.url&&this.requestObject.url&&(t=this.requestObject.url.split("?")).length&&(n=(n=t[t.length-1]||"").toString(),i=w.getQueryStringParams(n)),void 0!==i.purgeCache?e.data.purgeCache=i.purgeCache:void 0!==i.purgecache&&(e.data.purgecache=i.purgecache))}catch(e){console.log(e)}return void 0!==e.data.httpmethod&&(e.type=e.data.httpmethod,delete e.data.httpmethod),this.inNode?this.nodeRequest
1(e):this.browserRequest(e)},setRequestHeader:function(e,t){return e=e.toLowerCase(),this.requestHeaders[e]=t,this},getRequestHeader:function(e){return e=e.toLowerCase(),void 0!==this.requestHeaders[e]?this.requestHeaders[e]:null},getRequestHeaders:function(){return this.requestHeaders},nodeRequest:function(y){var t=this;void 0!==this.renderMode&&(y.renderMode=this.renderMode);var e,b=this;for(e in void 0!==this.requestObject&&void 0!==this.requestObject.headers&&["Cookie","X-Client_id","X-Client_secret","X-Access_token","Access_Token","Authorization","User-Agent","Referer","X-Forwarded-For","X-Forwarded-Host","X-Forwarded-Proto"].forEach(function(e){void 0!==t.requestObject.headers[e]?y.headers[e.toLowerCase()]=t.requestObject.headers[e]:(e=e.toLowerCase(),void 0!==t.requestObject.headers[e]&&(y.headers[e]=t.requestObject.headers[e]))}),w.requestHeaders)w.requestHeaders.hasOwnProperty(e)&&(y.headers[e.toLowerCase()]=w.requestHeaders[e]);for(e in this.requestHeaders)this.requestHeaders.hasOwnProperty(e)&&(y.headers[e.toLowerCase()]=this.requestHeaders[e]);var _=this.parseRequestConfig(y);fetch(_.url,_).then(function(i){var e=i,t=void 0!==w.debug&&w.debug;if(void 0!==b.responseObject&&void 0!==b.requestObject&&void 0!==b.requestObject.headers){var n=void 0!==b.requestObject.headers.cookie?b.requestObject.headers.cookie:"",o={},s=(e.headers.forEach(function(e,t){o[t.toLowerCase()]=e}),o["set-cookie"]),n=(n=Array.isArray(n)?n.length?n[0]:"":n).split("; ");if(Array.isArray(s)||(s="string"==typeof s?[s]:[]),t&&(console.log("response cookies:"),console.log(s)),s.length)try{var r=[],a=b.responseObject.getHeader("set-cookie");Array.isArray(a)||(a=a&&"string"==typeof a?[a]:[]);for(var l=0;l<a.length;l++)r[l]=a[l];for(var c=0;c<s.length;c++)r[c]=s[c];b.responseObject.setHeader("set-cookie",r)}catch(e){console.log(e)}var u,d,h={},p={};if(n.length)for(u in n)void 0!==(d=n[u])&&1<(d=n[u].split(" ")[0].split("=")).length&&(h[d[0]]=d[1].split(";")[0]);if(t&&(console.log("existing 1:"),console.log(h)),s.length)for(u in s)void 0!==(d=s[u])&&1<(d=d.split(" ")[0].split("=")).length&&(h[d[0]]=d[1].split(";")[0]);t&&(console.log("existing 2:"),console.log(h));var f="";if(n.length)for(u in n)void 0!==(d=n[u])&&1<(d=d.split(" ")[0].split("=")).length&&(""!=f&&(f+="; "),p[d[0]]=!0,f=f+d[0]+"="+h[d[0]]);if(s.length)for(u in s)void 0!==(d=s[u])&&void 0===p[(d=d.split(" ")[0].split("="))[0]]&&1<d.length&&(""!=f&&(f+="; "),p[d[0]]=!0,f=f+d[0]+"="+h[d[0]]);b.requestObject.headers.cookie=f,t&&(console.log("merged cookies:"),console.log(b.requestObject.headers.cookie))}var m=i;if(void 0!==b.responseObject&&(b.responseObject.proxiedResponse=m,!b.responseObject.headersSent)){var g={};if(m.headers.forEach(function(e,t){t=t.toLowerCase();g[t]?g[t].push(e):Array.isArray(e)?g[t]=e:g[t]=[e]}),300<m.statusCode&&m.status<400){var v=g.location;if(v)try{b.responseObject.setHeader("location",v),b.responseObject.statusCode=m.statusCode}catch(m){console.log("Error setting location header")}}if(v=g["cache-control"])try{b.responseObject.setHeader("cache-control",v)}catch(m){console.log(m),console.log("Error setting Cache-Control header")}if(v=g.pragma)try{b.responseObject.setHeader("pragma",v)}catch(m){console.log("Error setting Pragma header")}}if(_.isfetch)return(new Promise).resolve(i);i.text().then(function(t){var n="";try{n=JSON.parse.call(null,t)}catch(e){n=t}y.success(n,i)}).catch(function(e){500<=i.status?(console.log(_.url,e),y.error(e)):y.success("",i)})},function(e){if(_.isfetch)return(new Promise).resolve(e);throw console.log(_.url,e),new Error(e.statusText)})},browserRequest:function(o){for(var e in w.requestHeaders)w.requestHeaders.hasOwnProperty(e)&&(o.headers[e.toLowerCase()]=w.requestHeaders[e]);for(e in this.requestHeaders)this.requestHeaders.hasOwnProperty(e)&&(o.headers[e.toLowerCase()]=this.requestHeaders[e]);var t=this.parseRequestConfig(o);if("function"==typeof t.onUploadProgress||"function"==typeof t.onDownloadProgress)this.xhrRequest(o);else{if(t.isfetch)return fetch(t.url,t);fetch(t.url,t).then(function(i){i.text().then(function(t){var n="";try{n=JSON.parse.call(null,t)}catch(e){n=t}o.success(n,i)}).catch(function(e){500<=i.status?(console.log(t.url,e),o.error(e)):o.success("",i)})},function(e){throw console.log(t.url,e),new Error(e.statusText)})}},xhrRequest:function(n){var e=this,i=void 0!==w.debug&&w.debug;for(s in w.requestHeaders)w.requestHeaders.hasOwnProperty(s)&&(n.headers[s]=w.requestHeaders[s]);for(s in this.requestHeaders)this.requestHeaders.hasOwnProperty(s)&&(n.headers[s]=this.requestHeaders[s]);"xhrFields"in n||(n.xhrFields={withCredentials:!0}),"crossDomain"in n||(n.crossDomain=!0),"async"in n||(n.async=!0);var o=new XMLHttpRequest;if(void 0!==n.data&&void 0!==n.data.httpmethod&&(n.method=params.data.httpmethod,delete n.data.httpmethod),void 0!==o.addEventListener&&("function"==typeof params.progress&&o.addEventListener("progress",n.progress),"function"==typeof params.abort)&&o.addEventListener("abort",n.abort),o.onreadystatechange=function(){if(4==o.readyState){if(i&&void 0!==o.responseText&&console.log(o.responseText),"function"!=typeof n.error)throw o;try{var t=JSON.parse.call(null,o.responseText)}catch(e){t=o.responseText}n.error(t)}},"get"!=n.method.toLowerCase()){for(var t in o.open(n.method.toUpperCase(),n.url,n.async),n.xhrFields)t in o&&(o[t]=n.xhrFields[t]);for(var s in n.headers)n.headers.hasOwnProperty(s)&&o.setRequestHeader(s,n.headers[s]);if(n.data instanceof FormData)try{o.send(n.data)}catch(e){if("function"!=typeof n.error)throw e;try{var r=JSON.parse.call(null,o.responseText)}catch(e){r=o.responseText}n.error(r,e)}else o.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),setTimeout(function(){try{o.send(e.serializeParams(n.data))}catch(e){if("function"!=typeof n.error)throw e;try{var t=JSON.parse.call(null,o.responseText)}catch(e){t=o.responseText}n.error(t,e)}},0)}else{for(var t in o.open(n.method.toUpperCase(),n.url,n.async),n.xhrFields)t in o&&(o[t]=n.xhrFields[t]);for(var s in n.headers)n.headers.hasOwnProperty(s)&&o.setRequestHeader(s,n.headers[s]);setTimeout(function(){try{o.send()}catch(e){if("function"!=typeof n.error)throw e;if(void 0!==o.responseText){try{var t=JSON.parse.call(null,o.responseText)}catch(e){t=o.responseText}n.error(t,e)}else n.error(o,e)}},0)}},serializeParams:function(e){var t,n,i=[];for(t in e)e.hasOwnProperty(t)&&("object"==o(n=e[t])&&(n=JSON.stringify(n)),i.push(encodeURIComponent(t)+"="+encodeURIComponent(n)));return i.join("&")},parseRequestConfig:function(e){var t={method:e.type,headers:e.headers,url:e.url,onUploadProgress:e.progress,onDownloadProgress:e.download,next:e.next,cache:e.cache,credentials:"include",mode:"cors",redirect:e.redirect||"follow",isfetch:e.isfetch},n=("get"!=t.method.toLowerCase()&&delete t["cache-control"],!1),i={};try{i=JSON.parse.call(null,e.data),n=!0}catch(e){n=!1}n&&(t.headers["content-type"]="application/json; charset=UTF-8");var o=t.headers["content-type"]&&-1<t.headers["content-type"].indexOf("json"),s=!this.inNode&&e.data instanceof FormData;if("get"==t.method.toLowerCase()){var r=n?w.deepExtend({},i):w.deepExtend({},e.data),r=(void 0===r.muraPointInTime&&void 0!==w.pointInTime&&(r.muraPointInTime=w.pointInTime),this.serializeParams(r));if(e.maxQueryStringLength&&e.maxQueryStringLength&&r.length>e.maxQueryStringLength?(t.headers["content-type"]="application/x-www-form-urlencoded; charset=UTF-8",t.body=r,t.method="post"):-1<t.url.indexOf("?")?t.url+="&"+r:t.url+="?"+r,this.requestObject&&t.url)try{var a=t.url.includes("http")||t.url.includes("www")?void 0:"".concat(this.requestObject.headers.host).concat(this.requestObject.url),l=new URL(t.url,a);["https:","http:"].includes(l.protocol)||(l.protocol="https:",t.url=l.toString())}catch(e){t.url=""}}else o?t.body=n?i:JSON.stringify.call(null,Object.assign({},e.data)):(s||n?t.body=e.data:(t.data=Object.assign({},e.data),void 0===t.data.muraPointInTime&&void 0!==w.pointInTime&&(t.data.muraPointInTime=w.pointInTime)),s?t.progress||t.download?t.headers["content-type"]="multipart/form-data; charset=UTF-8":delete t.headers["content-type"]:n||(t.headers["content-type"]="application/x-www-form-urlencoded; charset=UTF-8",t.data=w.extend({},e.data),void 0===t.data.muraPointInTime&&void 0!==w.pointInTime&&(t.data.muraPointInTime=w.pointInTime),t.body=this.serializeParams(t.data)));return t}})}},512:function(e){e.exports=function(e){if("undefined"!=typeof document&&void 0===e.styleMap){var t,n,i={};for(s in document.createElement("div").style){for(var o in n=[],t=s.split(/(?=[A-Z])/))try{"string"==typeof t[o]&&n.push(t[o].toLowerCase())}catch(e){console.log("error setting style from array",JSON.stringify(t[o]))}i[s]=n.join("-")}var s,r={tocss:i,tojs:{}};for(s in i)try{"string"==typeof s&&(r.tojs[s.toLowerCase()]=s,r.tocss[s.toLowerCase()]=r.tocss[s])}catch(e){console.log("error setting style to array",JSON.stringify(s))}e.styleMap=r}}},703:function(e){function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){e.templates=e.templates||{},e.templates.checkbox_static=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"summary")||(null!=t?s(t,"summary"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:o,loc:{start:{line:4,column:18},end:{line:4,column:29}}}):n)},3:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:4,column:37},end:{line:4,column:46}}}):n)},5:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:4,column:77},end:{line:4,column:98}}}):n)+"</ins>"},7:function(e,t,n,i,o){return"</br>"},9:function(e,t,n,i,o,s,r){var a,l,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",h=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t<div class="'+(null!=(a=m(l=null!=(l=p(n,"checkboxWrapperClass")||(null!=t?p(t,"checkboxWrapperClass"):t))?l:u)===d?l.call(c,{name:"checkboxWrapperClass",hash:{},data:o,loc:{start:{line:8,column:15},end:{line:8,column:41}}}):l)?a:"")+'">\r\n\t\t\t\t<input type="checkbox" name="'+h(e.lambda(null!=r[1]?p(r[1],"name"):r[1],t))+'" class="'+(null!=(a=m(l=null!=(l=p(n,"checkboxClass")||(null!=t?p(t,"checkboxClass"):t))?l:u)===d?l.call(c,{name:"checkboxClass",hash:{},data:o,loc:{start:{line:9,column:53},end:{line:9,column:72}}}):l)?a:"")+'" id="field-'+h(m(l=null!=(l=p(n,"datarecordid")||(null!=t?p(t,"datarecordid"):t))?l:u)===d?l.call(c,{name:"datarecordid",hash:{},data:o,loc:{start:{line:9,column:84},end:{line:9,column:100}}}):l)+'" value="'+h(m(l=null!=(l=p(n,"value")||(null!=t?p(t,"value"):t))?l:u)===d?l.call(c,{name:"value",hash:{},data:o,loc:{start:{line:9,column:109},end:{line:9,column:118}}}):l)+'" '+(null!=(a=p(n,"if").call(c,null!=t?p(t,"isselected"):t,{name:"if",hash:{},fn:e.program(10,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:9,column:120},end:{line:9,column:163}}}))?a:"")+'/>\r\n\t\t\t\t<label class="'+(null!=(a=m(l=null!=(l=p(n,"checkboxLabelClass")||(null!=t?p(t,"checkboxLabelClass"):t))?l:u)===d?l.call(c,{name:"checkboxLabelClass",hash:{},data:o,loc:{start:{line:10,column:18},end:{line:10,column:42}}}):l)?a:"")+'" for="field-'+h(m(l=null!=(l=p(n,"datarecordid")||(null!=t?p(t,"datarecordid"):t))?l:u)===d?l.call(c,{name:"datarecordid",hash:{}
1,data:o,loc:{start:{line:10,column:55},end:{line:10,column:71}}}):l)+'">'+h(m(l=null!=(l=p(n,"label")||(null!=t?p(t,"label"):t))?l:u)===d?l.call(c,{name:"label",hash:{},data:o,loc:{start:{line:10,column:73},end:{line:10,column:82}}}):l)+"</label>\r\n\t\t\t</div>\r\n"},10:function(e,t,n,i,o){return" checked='checked'"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,s,r){var a,l,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",h=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(a=m(l=null!=(l=p(n,"inputWrapperClass")||(null!=t?p(t,"inputWrapperClass"):t))?l:u)===d?l.call(c,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:35}}}):l)?a:"")+'" id="field-'+h(m(l=null!=(l=p(n,"name")||(null!=t?p(t,"name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:55}}}):l)+'-container">\r\n\t<div class="mura-checkbox-group">\r\n\t\t<label class="mura-group-label" for="'+h(m(l=null!=(l=p(n,"name")||(null!=t?p(t,"name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:o,loc:{start:{line:3,column:39},end:{line:3,column:47}}}):l)+'">\r\n\t\t\t'+(null!=(a=p(n,"if").call(c,null!=t?p(t,"summary"):t,{name:"if",hash:{},fn:e.program(1,o,0,s,r),inverse:e.program(3,o,0,s,r),data:o,loc:{start:{line:4,column:3},end:{line:4,column:53}}}))?a:"")+(null!=(a=p(n,"if").call(c,null!=t?p(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(5,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:4,column:53},end:{line:4,column:111}}}))?a:"")+"\r\n\t\t</label>\r\n\t\t"+(null!=(a=p(n,"if").call(c,null!=t?p(t,"summary"):t,{name:"if",hash:{},fn:e.program(7,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:6,column:2},end:{line:6,column:29}}}))?a:"")+"\r\n"+(null!=(a=(p(n,"eachStatic")||t&&p(t,"eachStatic")||u).call(c,null!=t?p(t,"dataset"):t,{name:"eachStatic",hash:{},fn:e.program(9,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:7,column:2},end:{line:12,column:17}}}))?a:"")+"\t</div>\r\n</div>\r\n"},useData:!0,useDepths:!0}),e.templates.checkbox=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"summary")||(null!=t?s(t,"summary"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:o,loc:{start:{line:4,column:18},end:{line:4,column:29}}}):n)},3:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:4,column:37},end:{line:4,column:46}}}):n)},5:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:4,column:77},end:{line:4,column:98}}}):n)+"</ins>"},7:function(e,t,n,i,o){return"</br>"},9:function(e,t,n,i,o,s,r){var a,l,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",h=e.lambda,p=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t<div class="'+(null!=(a=m(l=null!=(l=f(n,"checkboxWrapperClass")||(null!=t?f(t,"checkboxWrapperClass"):t))?l:u)===d?l.call(c,{name:"checkboxWrapperClass",hash:{},data:o,loc:{start:{line:8,column:15},end:{line:8,column:41}}}):l)?a:"")+'">\r\n\t\t\t\t<input source="'+p(h(null!=(a=null!=r[1]?f(r[1],"dataset"):r[1])?f(a,"source"):a,t))+'" class="'+(null!=(a=m(l=null!=(l=f(n,"checkboxClass")||(null!=t?f(t,"checkboxClass"):t))?l:u)===d?l.call(c,{name:"checkboxClass",hash:{},data:o,loc:{start:{line:9,column:49},end:{line:9,column:68}}}
vendor: 6,215 bytes, line 1
1):l)?a:"")+'" type="checkbox" name="'+p(h(null!=r[1]?f(r[1],"name"):r[1],t))+'" id="field-'+p(m(l=null!=(l=f(n,"id")||(null!=t?f(t,"id"):t))?l:u)===d?l.call(c,{name:"id",hash:{},data:o,loc:{start:{line:9,column:115},end:{line:9,column:121}}}):l)+'" value="'+p(m(l=null!=(l=f(n,"id")||(null!=t?f(t,"id"):t))?l:u)===d?l.call(c,{name:"id",hash:{},data:o,loc:{start:{line:9,column:130},end:{line:9,column:136}}}):l)+'" '+(null!=(a=f(n,"if").call(c,null!=t?f(t,"isselected"):t,{name:"if",hash:{},fn:e.program(10,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:9,column:138},end:{line:9,column:180}}}))?a:"")+'/>\r\n\t\t\t\t<label class="'+(null!=(a=m(l=null!=(l=f(n,"checkboxLabelClass")||(null!=t?f(t,"checkboxLabelClass"):t))?l:u)===d?l.call(c,{name:"checkboxLabelClass",hash:{},data:o,loc:{start:{line:10,column:18},end:{line:10,column:42}}}):l)?a:"")+'" for="field-'+p(m(l=null!=(l=f(n,"id")||(null!=t?f(t,"id"):t))?l:u)===d?l.call(c,{name:"id",hash:{},data:o,loc:{start:{line:10,column:55},end:{line:10,column:61}}}):l)+'">'+p(m(l=null!=(l=f(n,"label")||(null!=t?f(t,"label"):t))?l:u)===d?l.call(c,{name:"label",hash:{},data:o,loc:{start:{line:10,column:63},end:{line:10,column:72}}}):l)+"</label>\r\n\t\t\t</div>\r\n"},10:function(e,t,n,i,o){return"checked='checked'"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,s,r){var a,l,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",h=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(a=m(l=null!=(l=p(n,"inputWrapperClass")||(null!=t?p(t,"inputWrapperClass"):t))?l:u)===d?l.call(c,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:35}}}):l)?a:"")+'" id="field-'+h(m(l=null!=(l=p(n,"name")||(null!=t?p(t,"name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:55}}}):l)+'-container">\r\n\t<div class="mura-checkbox-group">\r\n\t\t<label class="mura-group-label" for="'+h(m(l=null!=(l=p(n,"name")||(null!=t?p(t,"name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:o,loc:{start:{line:3,column:39},end:{line:3,column:47}}}):l)+'">\r\n\t\t\t'+(null!=(a=p(n,"if").call(c,null!=t?p(t,"summary"):t,{name:"if",hash:{},fn:e.program(1,o,0,s,r),inverse:e.program(3,o,0,s,r),data:o,loc:{start:{line:4,column:3},end:{line:4,column:53}}}))?a:"")+(null!=(a=p(n,"if").call(c,null!=t?p(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(5,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:4,column:53},end:{line:4,column:111}}}))?a:"")+"\r\n\t\t</label>\r\n\t\t"+(null!=(a=p(n,"if").call(c,null!=t?p(t,"summary"):t,{name:"if",hash:{},fn:e.program(7,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:6,column:2},end:{line:6,column:29}}}))?a:"")+"\r\n"+(null!=(a=(p(n,"eachCheck")||t&&p(t,"eachCheck")||u).call(c,null!=(a=null!=t?p(t,"dataset"):t)?p(a,"options"):a,null!=t?p(t,"selected"):t,{name:"eachCheck",hash:{},fn:e.program(9,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:7,column:2},end:{line:12,column:16}}}))?a:"")+"\t</div>\r\n</div>\r\n"},useData:!0,useDepths:!0}),e.templates.dropdown_static=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"summary")||(null!=t?s(t,"summary"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:o,loc:{start:{line:2,column:68},end:{line:2,column:79}}}):n)},3:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:2,column:87},end:{line:2,column:96}}}):n)},5:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:2,column:127},end:{line:2,column:148}}}):n)+"</ins>"},7:function(e,t,n,i,o){return"</br>"},9:function(e,t,n,i,o){return' aria-required="true"'},11:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<option data-isother="'+c(m(s=null!=(s=u(n,"isother")||(null!=t?u(t,"isother"):t))?s:a)===l?s.call(r,{name:"isother",hash:{},data:o,loc:{start:{line:6,column:26},end:{line:6,column:37}}}):s)+'" id="field-'+c(m(s=null!=(s=u(n,"datarecordid")||(null!=t?u(t,"datarecordid"):t))?s:a)===l?s.call(r,{name:"datarecordid",hash:{},data:o,loc:{start:{line:6,column:49},end:{line:6,column:65}}}):s)+'" value="'+c(m(s=null!=(s=u(n,"value")||(null!=t?u(t,"value"):t))?s:a)===l?s.call(r,{name:"value",hash:{},data:o,loc:{start:{line:6,column:74},end:{line:6,column:83}}}):s)+'" '+(null!=(e=u(n,"if").call(r,null!=t?u(t,"isselected"):t,{name:"if",hash:{},fn:e.program(12,o,0),inverse:e.noop,data:o,loc:{start:{line:6,column:85},end:{line:6,column:129}}}))?e:"")+">"+c(m(s=null!=(s=u(n,"label")||(null!=t?u(t,"label"):t))?s:a)===l?s.call(r,{name:"label",hash:{},data:o,loc:{start:{line:6,column:130},end:{line:6,column:139}}}):s)+"</option>\r\n"},12:function(e,t,n,i,o){return"selected='selected'"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t<div class="'+(null!=(s=m(r=null!=(r=d(n,"inputWrapperClass")||(null!=t?d(t,"inputWrapperClass"):t))?r:l)===c?r.call(a,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:13},end:{line:1,column:36}}}):r)?s:"")+'" id="field-'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:48}
vendor: 16,067 bytes, line 1
1,end:{line:1,column:56}}}):r)+'-container">\r\n\t\t<label for="'+u(m(r=null!=(r=d(n,"labelForValue")||(null!=t?d(t,"labelForValue"):t))?r:l)===c?r.call(a,{name:"labelForValue",hash:{},data:o,loc:{start:{line:2,column:14},end:{line:2,column:31}}}):r)+'" data-for="'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:2,column:43},end:{line:2,column:51}}}):r)+'">'+(null!=(s=d(n,"if").call(a,null!=t?d(t,"summary"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:2,column:53},end:{line:2,column:103}}}))?s:"")+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:103},end:{line:2,column:161}}}))?s:"")+"</label>\r\n\t\t"+(null!=(s=d(n,"if").call(a,null!=t?d(t,"summary"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:2},end:{line:3,column:29}}}))?s:"")+"\r\n\t\t<select "+(null!=(s=m(r=null!=(r=d(n,"commonInputAttributes")||(null!=t?d(t,"commonInputAttributes"):t))?r:l)===c?r.call(a,{name:"commonInputAttributes",hash:{},data:o,loc:{start:{line:4,column:10},end:{line:4,column:37}}}):r)?s:"")+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:4,column:37},end:{line:4,column:83}}}))?s:"")+">\r\n"+(null!=(s=(d(n,"eachStatic")||t&&d(t,"eachStatic")||l).call(a,null!=t?d(t,"dataset"):t,{name:"eachStatic",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o,loc:{start:{line:5,column:3},end:{line:7,column:18}}}))?s:"")+"\t\t</select>\r\n\t</div>\r\n"},useData:!0}),e.templates.dropdown=e.Handlebars.template({1:function(e,t,n,i,o){return' aria-required="true"'},3:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"summary")||(null!=t?s(t,"summary"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:o,loc:{start:{line:2,column:114},end:{line:2,column:125}}}):n)},5:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:2,column:133},end:{line:2,column:142}}}):n)},7:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:2,column:173},end:{line:2,column:194}}}):n)+"</ins>"},9:function(e,t,n,i,o){return"</br>"},11:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t\t<option data-isother="'+c(m(s=null!=(s=u(n,"isother")||(null!=t?u(t,"isother"):t))?s:a)===l?s.call(r,{name:"isother",hash:{},data:o,loc:{start:{line:6,column:27},end:{line:6,column:38}}}):s)+'" id="field-'+c(m(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:a)===l?s.call(r,{name:"id",hash:{},data:o,loc:{start:{line:6,column:50},end:{line:6,column:56}}}):s)+'" value="'+c(m(s=null!=(s=u(n,"id")||(null!=t?u(t,"id"):t))?s:a)===l?s.call(r,{name:"id",hash:{},data:o,loc:{start:{line:6,column:65},end:{line:6,column:71}}}):s)+'" '+(null!=(e=u(n,"if").call(r,null!=t?u(t,"isselected"):t,{name:"if",hash:{},fn:e.program(12,o,0),inverse:e.noop,data:o,loc:{start:{line:6,column:73},end:{line:6,column:117}}}))?e:"")+">"+c(m(s=null!=(s=u(n,"label")||(null!=t?u(t,"label"):t))?s:a)===l?s.call(r,{name:"label",hash:{},data:o,loc:{start:{line:6,column:118},end:{line:6,column:127}}}):s)+"</option>\r\n"},12:function(e,t,n,i,o){return"selected='selected'"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t<div class="'+(null!=(s=m(r=null!=(r=d(n,"inputWrapperClass")||(null!=t?d(t,"inputWrapperClass"):t))?r:l)===c?r.call(a,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:13},end:{line:1,column:36}}}):r)?s:"")+'" id="field-'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:48},end:{line:1,column:56}}}):r)+'-container">\r\n\t\t<label for="'+u(m(r=null!=(r=d(n,"labelForValue")||(null!=t?d(t,"labelForValue"):t))?r:l)===c?r.call(a,{name:"labelForValue",hash:{},data:o,loc:{start:{line:2,column:14},end:{line:2,column:31}}}):r)+'" data-for="'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:2,column:43},end:{line:2,column:51}}}):r)+'"'+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:52},end:{line:2,column:98}}}))?s:"")+">"+(null!=(s=d(n,"if").call(a,null!=t?d(t,"summary"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:2,column:99},end:{line:2,column:149}}}))?s:"")+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:149},end:{line:2,column:207}}}))?s:"")+"</label>\r\n\t\t"+(null!=(s=d(n,"if").call(a,null!=t?d(t,"summary"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:2},end:{line:3,column:29}}}))?s:"")+"\r\n\t\t\t<select "+(null!=(s=m(r=null!=(r=d(n,"commonInputAttributes")||(null!=t?d(t,"commonInputAttributes"):t))?r:l)===c?r.call(a,{name:"commonInputAttributes",hash:{},data:o,loc:{start:{line:4,column:11},end:{line:4,column:38}}}):r)?s:"")+">\r\n"+(null!=(s=d(n,"each").call(a,null!=(s=null!=t?d(t,"dataset"):t)?d(s,"options"):s,{name:"each",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o,loc:{start:{line:5,column:4},end:{line:7,column:13}}}))?s:"")+"\t\t\t</select>\r\n\t</div>\r\n"},useData:!0}),e.templates.error=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:102},end:{line:1,column:111}}}):n)+": "},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="'+u(m(r=null!=(r=d(n,"id")||(null!=t?d(t,"id"):t))?r:l)===c?r.call(a,{name:"id",hash:{},data:o,loc:{start:{line:1,column:9},end:{line:1,column:15}}}):r)+'" class="'+(null!=(s=m(r=null!=(r=d(n,"formErrorWrapperClass")||(null!=t?d(t,"formErrorWrapperClass"):t))?r:l)===c?r.call(a,{name:"formErrorWrapperClass",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:51}}}):r)?s:"")+'" data-field="'+u(m(r=null!=(r=d(n,"field")||(null!=t?d(t,"field"):t))?r:l)===c?r.call(a,{name:"field",hash:{},data:o,loc:{start:{line:1,column:65},end:{line:1,column:74}}}):r)+'" role="alert">'+(null!=(s=d(n,"if").call(a,null!=t?d(t,"label"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:89},end:{line:1,column:120}}}))?s:"")+u(m(r=null!=(r=d(n,"message")||(null!=t?d(t,"message"):t))?r:l)===c?r.call(a,{name:"message",hash:{},data:o,loc:{start:{line:1,column:120},end:{line:1,column:131}}}):r)+"</div>\r\n"},useData:!0}),e.templates.file=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:2,column:117},end:{line:2,column:138}}}):n)+"</ins>"},3:function(e,t,n,i,o){return' aria-required="true"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(s=m(r=null!=(r=d(n,"inputWrapperClass")||(null!=t?d(t,"inputWrapperClass"):t))?r:l)===c?r.call(a,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:35}}}):r)?s:"")+' mura-form-file-container" id="field-'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:72},end:{line:1,column:80}}}):r)+'-container">\r\n\t<label for="'+u(m(r=null!=(r=d(n,"labelForValue")||(null!=t?d(t,"labelForValue"):t))?r:l)===c?r.call(a,{name:"labelForValue",hash:{},data:o,loc:{start:{line:2,column:13},end:{line:2,column:30}}}):r)+' mura-form-file-label" data-for="'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:2,column:63},end:{line:2,column:71}}}):r)+'_attachment">'+u(m(r=null!=(r=d(n,"label")||(null!=t?d(t,"label"):t))?r:l)===c?r.call(a,{name:"label",hash:{},data:o,loc:{start:{line:2,column:84},end:{line:2,column:93}}}):r)+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:93},end:{line:2,column:151}}}))?s:"")+'</label>\r\n\t<input readonly type="text" data-filename="'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:3,column:44},end:{line:3,column:52}}}):r)+'_attachment"'+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:64},end:{line:3,column:110}}}))?s:"")+' placeholder="'+u(m(r=null!=(r=d(n,"filePlaceholder")||(null!=t?d(t,"filePlaceholder"):t))?r:l)===c?r.call(a,{name:"filePlaceholder",hash:{},data:o,loc:{start:{line:3,column:124},end:{line:3,column:143}}}):r)+'" '+(null!=(s=m(r=null!=(r=d(n,"fileAttributes")||(null!=t?d(t,"fileAttributes"):t))?r:l)===c?r.call(a,{name:"fileAttributes",hash:{},data:o,loc:{start:{line:3,column:145},end:{line:3,column:165}}}):r)?s:"")+'>\r\n\t<input hidden data-filename="'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:4,column:30},end:{line:4,column:38}}}):r)+'_attachment" type="file" '+(null!=(s=m(r=null!=(r=d(n,"commonInputAttributes")||(null!=t?d(t,"commonInputAttributes"):t))?r:l)===c?r.call(a,{name:"commonInputAttributes",hash:{},data:o,loc:{start:{line:4,column:63},end:{line:4,column:90}}}):r)?s:"")+'/>\r\n\t<div class="mura-form-preview" style="display:none;">\r\n\t\t<img style="display:none;" id="mura-form-preview-'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:6,column:51},end:{line:6,column:59}}}):r)+'_attachment" src="" onerror="this.onerror=null;this.src=\'\';this.style.display=\'none\';">\r\n\t</div>\r\n</div>\r\n'},useData:!0}),e.templates.form=e.Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="frm'+u(m(r=null!=(r=e(n,"objectid")||(null!=t?e(t,"objectid"):t))?r:l)===c?r.call(a,{name:"objectid",hash:{},data:o,loc:{start:{line:1,column:13},end:{line:1,column:25}}}):r)+'" class="'+(null!=(s=m(r=null!=(r=e(n,"formClass")||(null!=t?e(t,"formClass"):t))?r:l)===c?r.call(a,{name:"formClass",hash:{},data:o,loc:{start:{line:1,column:34},end:{line:1,column:49}}}):r)?s:"")+'" novalidate="novalidate" enctype="multipart/form-data">\r\n<div class="error-container-'+u(m(r=null!=(r=e(n,"objectid")||(null!=t?e(t,"objectid"):t))?r:l)===c?r.call(a,{name:"objectid",hash:{},data:o,loc:{start:{line:2,column:28},end:{line:2,column:40}}}):r)+'">\r\n</div>\r\n<div class="field-container-'+u(m(r=null!=(r=e(n,"objectid")||(null!=t?e(t,"objectid"):t))?r:l)===c?r.call(a,{name:"objectid",hash:{},data:o,loc:{start:{line:4,column:28},end:{line:4,column:40}}}):r)+'">\r\n</div>\r\n<div class="paging-container-'+u(m(r=null!=(r=e(n,"objectid")||(null!=t?e(t,"objectid"):t))?r:l)===c?r.call(a,{name:"objectid",hash:{},data:o,loc:{start:{line:6,column:29},end:{line:6,column:41}}}):r)+'">\r\n</div>\r\n\t<input type="hidden" name="formid" value="'+u(m(r=null!=(r=e(n,"objectid")||(null!=t?e(t,"objectid"):t))?r:l)===c?r.call(a,{name:"objectid",hash:{},data:o,loc:{start:{line:8,column:43},end:{line:8,column:55}}}):r)+'">\r\n</form>\r\n'},useData:!0}),e.templates.hidden=e.Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="hidden" name="'+u(m(r=null!=(r=e(n,"name")||(null!=t?e(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:35}}}):r)+'" '+(null!=(s=m(r=null!=(r=e(n,"commonInputAttributes")||(null!=t?e(t,"commonInputAttributes"):t))?r:l)===c?r.call(a,{name:"commonInputAttributes",hash:{},data:o,loc:{start:{line:1,column:37},end:{line:1,column:64}}}):r)?s:"")+' value="'+u(m(r=null!=(r=e(n,"value")||(null!=t?e(t,"value"):t))?r:l)===c?r.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:72},end:{line:1,column:81}}}):r)+'" />\t\t\t\r\n'},useData:!0}),e.templates.list=e.Handlebars.template({1:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t\t<option value="'+c(m(s=null!=(s=e(n,"name")||(null!=t?e(t,"name"):t))?s:a)===l?s.call(r,{name:"name",hash:{},data:o,loc:{start:{line:7,column:20},end:{line:7,column:28}}}):s)+'">'+c(m(s=null!=(s=e(n,"name")||(null!=t?e(t,"name"):t))?s:a)===l?s.call(r,{name:"name",hash:{},data:o,loc:{start:{line:7,column:30},end:{line:7,column:38}}}):s)+"</option>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){return'<form>\r\n\t<div class="mura-control-group">\r\n\t\t<label for="beanList">Choose Entity:</label>\t\r\n\t\t<div class="form-group-select">\r\n\t\t\t<select type="text" name="bean" id="select-bean-value">\r\n'+(null!=(n=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:6,column:4},end:{line:8,column:13}}}))?n:"")+'\t\t\t</select>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class="mura-control-group">\r\n\t\t<button type="button" id="select-bean">Go</button>\r\n\t</div>\r\n</form>'},useData:!0}),e.templates.nested=e.Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="field-container-'+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"objectid")||(null!=t?s(t,"objectid"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"objectid",hash:{},data:o,loc:{start:{line:1,column:28},end:{line:1,column:40}}}):n)+'">\r\n\r\n</div>\r\n'},useData:!0}
vendor: 4,613 bytes, line 1
1),e.templates.paging=e.Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<button class="'+c(m(s=null!=(s=e(n,"class")||(null!=t?e(t,"class"):t))?s:a)===l?s.call(r,{name:"class",hash:{},data:o,loc:{start:{line:1,column:15},end:{line:1,column:24}}}):s)+'" type="button" data-page="'+c(m(s=null!=(s=e(n,"page")||(null!=t?e(t,"page"):t))?s:a)===l?s.call(r,{name:"page",hash:{},data:o,loc:{start:{line:1,column:51},end:{line:1,column:59}}}):s)+'">'+c(m(s=null!=(s=e(n,"label")||(null!=t?e(t,"label"):t))?s:a)===l?s.call(r,{name:"label",hash:{},data:o,loc:{start:{line:1,column:61},end:{line:1,column:70}}}):s)+"</button> "},useData:!0}),e.templates.radio_static=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"summary")||(null!=t?s(t,"summary"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:o,loc:{start:{line:4,column:19},end:{line:4,column:30}}}):n)},3:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:4,column:38},end:{line:4,column:47}}}):n)},5:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:4,column:78},end:{line:4,column:99}}}):n)+"</ins>"},7:function(e,t,n,i,o){return"</br>"},9:function(e,t,n,i,o,s,r){var a,l,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",h=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<div class="'+(null!=(a=m(l=null!=(l=p(n,"radioWrapperClass")||(null!=t?p(t,"radioWrapperClass"):t))?l:u)===d?l.call(c,{name:"radioWrapperClass",hash:{},data:o,loc:{start:{line:8,column:16},end:{line:8,column:39}}}):l)?a:"")+'">\r\n\t\t\t\t\t<input type="radio" name="'+h(e.lambda(null!=r[1]?p(r[1],"name"):r[1],t))+'" class="'+(null!=(a=m(l=null!=(l=p(n,"radioClass")||(null!=t?p(t,"radioClass"):t))?l:u)===d?l.call(c,{name:"radioClass",hash:{},data:o,loc:{start:{line:9,column:51},end:{line:9,column:67}}}):l)?a:"")+'" id="field-'+h(m(l=null!=(l=p(n,"datarecordid")||(null!=t?p(t,"datarecordid"):t))?l:u)===d?l.call(c,{name:"datarecordid",hash:{},data:o,loc:{start:{line:9,column:79},end:{line:9,column:95}}}):l)+'" value="'+h(m(l=null!=(l=p(n,"value")||(null!=t?p(t,"value"):t))?l:u)===d?l.call(c,{name:"value",hash:{},data:o,loc:{start:{line:9,column:104},end:{line:9,column:113}}}):l)+'"  '+(null!=(a=p(n,"if").call(c,null!=t?p(t,"isselected"):t,{name:"if",hash:{},fn:e.program(10,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:9,column:116},end:{line:9,column:158}}}))?a:"")+'/>\r\n\t\t\t\t\t<label for="field-'+h(m(l=null!=(l=p(n,"datarecordid")||(null!=t?p(t,"datarecordid"):t))?l:u)===d?l.call(c,{name:"datarecordid",hash:{},data:o,loc:{start:{line:10,column:23},end:{line:10,column:39}}}):l)+'" class="'+(null!=(a=m(l=null!=(l=p(n,"radioLabelClass")||(null!=t?p(t,"radioLabelClass"):t))?l:u)===d?l.call(c,{name:"radioLabelClass",hash:{},data:o,loc:{start:{line:10,column:48},end:{line:10,column:69}}}):l)?a:"")+'">'+h(m(l=null!=(l=p(n,"label")||(null!=t?p(t,"label"):t))?l:u)===d?l.call(c,{name:"label",hash:{},data:o,loc:{start:{line:10,column:71},end:{line:10,column:80}}}):l)+"</label>\r\n\t\t\t\t</div>\r\n"},10:function(e,t,n,i,o){return"checked='checked'"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,s,r){var a,l,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",h=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t<div class="'+(null!=(a=m(l=null!=(l=p(n,"inputWrapperClass")||(null!=t?p(t,"inputWrapperClass"):t))?l:u)===d?l.call(c,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:13},end:{line:1,column:36}}}):l)?a:"")+'" id="field-'+h(m(l=null!=(l=p(n,"name")||(null!=t?p(t,"
1name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:o,loc:{start:{line:1,column:48},end:{line:1,column:56}}}):l)+'-container">\r\n\t\t<div class="mura-radio-group">\r\n\t\t\t<label class="mura-group-label" for="'+h(m(l=null!=(l=p(n,"name")||(null!=t?p(t,"name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:o,loc:{start:{line:3,column:40},end:{line:3,column:48}}}):l)+'">\r\n\t\t\t\t'+(null!=(a=p(n,"if").call(c,null!=t?p(t,"summary"):t,{name:"if",hash:{},fn:e.program(1,o,0,s,r),inverse:e.program(3,o,0,s,r),data:o,loc:{start:{line:4,column:4},end:{line:4,column:54}}}))?a:"")+(null!=(a=p(n,"if").call(c,null!=t?p(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(5,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:4,column:54},end:{line:4,column:112}}}))?a:"")+"\r\n\t\t\t</label>\r\n\t\t\t"+(null!=(a=p(n,"if").call(c,null!=t?p(t,"summary"):t,{name:"if",hash:{},fn:e.program(7,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:6,column:3},end:{line:6,column:30}}}))?a:"")+"\r\n"+(null!=(a=(p(n,"eachStatic")||t&&p(t,"eachStatic")||u).call(c,null!=t?p(t,"dataset"):t,{name:"eachStatic",hash:{},fn:e.program(9,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:7,column:3},end:{line:12,column:18}}}))?a:"")+"\t\t</div>\r\n\t</div>\r\n"},useData:!0,useDepths:!0}),e.templates.radio=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"summary")||(null!=t?s(t,"summary"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:o,loc:{start:{line:4,column:19},end:{line:4,column:30}}}):n)},3:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:4,column:38},end:{line:4,column:47}}}):n)},5:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:4,column:78},end:{line:4,column:99}}}):n)+"</ins>"},7:function(e,t,n,i,o){return"</br>"},9:function(e,t,n,i,o,s,r){var a,l,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",h=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<div class="'+(null!=(a=m(l=null!=(l=p(n,"radioWrapperClass")||(null!=t?p(t,"radioWrapperClass"):t))?l:u)===d?l.call(c,{name:"radioWrapperClass",hash:{},data:o,loc:{start:{line:8,column:16},end:{line:8,column:39}}}):l)?a:"")+'">\r\n\t\t\t\t\t<input type="radio" name="'+h(e.lambda(null!=r[1]?p(r[1],"name"):r[1],t))+'id" class="'+(null!=(a=m(l=null!=(l=p(n,"radioClass")||(null!=t?p(t,"radioClass"):t))?l:u)===d?l.call(c,{name:"radioClass",hash:{},data:o,loc:{start:{line:9,column:53},end:{line:9,column:69}}}):l)?a:"")+'" id="field-'+h(m(l=null!=(l=p(n,"id")||(null!=t?p(t,"id"):t))?l:u)===d?l.call(c,{name:"id",hash:{},data:o,loc:{start:{line:9,column:81},end:{line:9,column:87}}}):l)+'" value="'+h(m(l=null!=(l=p(n,"id")||(null!=t?p(t,"id"):t))?l:u)===d?l.call(c,{name:"id",hash:{},data:o,loc:{start:{line:9,column:96},end:{line:9,column:102}}}):l)+'" '+(null!=(a=p(n,"if").call(c,null!=t?p(t,"isselected"):t,{name:"if",hash:{},fn:e.program(10,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:9,column:104},end:{line:9,column:146}}}))?a:"")+'/>\r\n\t\t\t\t\t<label for="field-'+h(m(l=null!=(l=p(n,"id")||(null!=t?p(t,"id"):t))?l:u)===d?l.call(c,{name:"id",hash:{},data:o,loc:{start:{line:10,column:23},end:{line:10,column:29}}}):l)+'" test1=1 class="'+(null!=(a=m(l=null!=(l=p(n,"radioLabelClass")||(null!=t?p(t,"radioLabelClass"):t))?l:u)===d?l.call(c,{name:"radioLabelClass",hash:{},data:o,loc:{start:{line:10,column:46},end:{line:10,column:67}}}):l)?a:"")+'">'+h(m(l=null!=(l=p(n,"label")||(null!=t?p(t,"label"):t))?l:u)===d?l.call(c,{name:"label",hash:{},data:o,loc:{start:{line:10,column:69},end:{line:10,column:78}}}):l)+"</label>\r\n\t\t\t\t</div>\r\n"},10:function(e,t,n,i,o){return"checked='checked'"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,s,r){var a,l,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",h=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t<div class="'+(null!=(a=m(l=null!=(l=p(n,"inputWrapperClass")||(null!=t?p(t,"inputWrapperClass"):t))?l:u)===d?l.call(c,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:13},end:{line:1,column:36}}}):l)?a:"")+'" id="field-'+h(m(l=null!=(l=p(n,"name")||(null!=t?p(t,"
1name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:o,loc:{start:{line:1,column:48},end:{line:1,column:56}}}):l)+'-container">\r\n\t\t<div class="mura-radio-group">\r\n\t\t\t<label class="mura-group-label" for="'+h(m(l=null!=(l=p(n,"name")||(null!=t?p(t,"name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:o,loc:{start:{line:3,column:40},end:{line:3,column:48}}}):l)+'">\r\n\t\t\t\t'+(null!=(a=p(n,"if").call(c,null!=t?p(t,"summary"):t,{name:"if",hash:{},fn:e.program(1,o,0,s,r),inverse:e.program(3,o,0,s,r),data:o,loc:{start:{line:4,column:4},end:{line:4,column:54}}}))?a:"")+(null!=(a=p(n,"if").call(c,null!=t?p(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(5,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:4,column:54},end:{line:4,column:112}}}))?a:"")+"\r\n\t\t\t</label>\r\n\t\t\t"+(null!=(a=p(n,"if").call(c,null!=t?p(t,"summary"):t,{name:"if",hash:{},fn:e.program(7,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:6,column:3},end:{line:6,column:30}}}))?a:"")+"\r\n"+(null!=(a=p(n,"each").call(c,null!=(a=null!=t?p(t,"dataset"):t)?p(a,"options"):a,{name:"each",hash:{},fn:e.program(9,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:7,column:3},end:{line:12,column:12}}}))?a:"")+"\t\t</div>\r\n\t</div>\r\n"},useData:!0,useDepths:!0}),e.templates.section=e.Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(s=m(r=null!=(r=e(n,"inputWrapperClass")||(null!=t?e(t,"inputWrapperClass"):t))?r:l)===c?r.call(a,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:35}}}):r)?s:"")+'" id="field-'+u(m(r=null!=(r=e(n,"name")||(null!=t?e(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:55}}}):r)+'-container">\r\n<div class="mura-section">'+u(m(r=null!=(r=e(n,"label")||(null!=t?e(t,"label"):t))?r:l)===c?r.call(a,{name:"label",hash:{},data:o,loc:{start:{line:2,column:26},end:{line:2,column:35}}}):r)+'</div>\r\n<div class="mura-divide"></div>\r\n</div>'},useData:!0}),e.templates.success=e.Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(s=m(r=null!=(r=e(n,"formResponseWrapperClass")||(null!=t?e(t,"formResponseWrapperClass"):t))?r:l)===c?r.call(a,{name:"formResponseWrapperClass",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:42}}}):r)?s:"")+'">'+(null!=(s=m(r=null!=(r=e(n,"responsemessage")||(null!=t?e(t,"responsemessage"):t))?r:l)===c?r.call(a,{name:"responsemessage",hash:{},data:o,loc:{start:{line:1,column:44},end:{line:1,column:65}}}):r)?s:"")+"</div>\r\n"},useData:!0}),e.templates.table=e.Handlebars.template({1:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+c(m(s=null!=(s=e(n,"num")||(null!=t?e(t,"num"):t))?s:a)===l?s.call(r,{name:"num",hash:{},data:o,loc:{start:{line:8,column:102},end:{line:8,column:109}}}):s)+'" '+c(m(s=null!=(s=e(n,"selected")||(null!=t?e(t,"selected"):t))?s:a)===l?s.call(r,{name:"selected",hash:{},data:o,loc:{start:{line:8,column:111},end:{line:8,column:123}}}):s)+">"+c(m(s=null!=(s=e(n,"label")||(null!=t?e(t,"label"):t))?s:a)===l?s.call(r,{name:"label",hash:{},data:o,loc:{start:{line:8,column:124},end:{line:8,column:133}}}):s)+"</option>"},3:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t\t<option value="'+c(m(s=null!=(s=e(n,"name")||(null!=t?e(t,"name"):t))?s:a)===l?s.call(r,{name:"name",hash:{},data:o,loc:{start:{line:27,column:20},end:{line:27,column:28}}}):s)+'" '+c(m(s=null!=(s=e(n,"selected")||(null!=t?e(t,"selected"):t))?s:a)===l?s.call(r,{name:"selected",hash:{},data:o,loc:{start:{line:27,column:30},end:{line:27,column:42}}}):s)+">"+c(m(s=null!=(s=e(n,"displayName")||(null!=t?e(t,"displayName"):t))?s:a)===l?s.call(r,{name:"displayName",hash:{},data:o,loc:{start:{line:27,column:43}
1,end:{line:27,column:58}}}):s)+"</option>\r\n"},5:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t\t\t<th class='data-sort' data-value='"+c(m(s=null!=(s=e(n,"column")||(null!=t?e(t,"column"):t))?s:a)===l?s.call(r,{name:"column",hash:{},data:o,loc:{start:{line:53,column:37},end:{line:53,column:47}}}):s)+"'>"+c(m(s=null!=(s=e(n,"displayName")||(null!=t?e(t,"displayName"):t))?s:a)===l?s.call(r,{name:"displayName",hash:{},data:o,loc:{start:{line:53,column:49},end:{line:53,column:64}}}):s)+"</th>\r\n"},7:function(e,t,n,i,o,s,r){var a,l=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t<tr class="even">\r\n'+(null!=(a=(u(n,"eachColRow")||t&&u(t,"eachColRow")||c).call(l,t,null!=r[1]?u(r[1],"columns"):r[1],{name:"eachColRow",hash:{},fn:e.program(8,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:61,column:4},end:{line:63,column:19}}}))?a:"")+"\t\t\t\t<td>\r\n"+(null!=(a=(u(n,"eachColButton")||t&&u(t,"eachColButton")||c).call(l,t,{name:"eachColButton",hash:{},fn:e.program(10,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:65,column:4},end:{line:67,column:22}}}))?a:"")+"\t\t\t\t</td>\r\n\t\t\t</tr>\r\n"},8:function(e,t,n,i,o){return"\t\t\t\t\t<td>"+e.escapeExpression(e.lambda(t,t))+"</td>\r\n"},10:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t\t\t\t<button type="button" class="'+c(m(s=null!=(s=e(n,"type")||(null!=t?e(t,"type"):t))?s:a)===l?s.call(r,{name:"type",hash:{},data:o,loc:{start:{line:66,column:33},end:{line:66,column:41}}}):s)+'" data-value="'+c(m(s=null!=(s=e(n,"id")||(null!=t?e(t,"id"):t))?s:a)===l?s.call(r,{name:"id",hash:{},data:o,loc:{start:{line:66,column:55},end:{line:66,column:61}}}):s)+'" data-pos="'+c(m(s=null!=(s=e(n,"index")||o&&e(o,"index"))?s:a)===l?s.call(r,{name:"index",hash:{},data:o,loc:{start:{line:66,column:73},end:{line:66,column:83}}}):s)+'">'+c(m(s=null!=(s=e(n,"label")||(null!=t?e(t,"label"):t))?s:a)===l?s.call(r,{name:"label",hash:{},data:o,loc:{start:{line:66,column:85},end:{line:66,column:94}}}):s)+"</button>\r\n"},12:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t\t\t\t<button class='data-nav' data-value=\""+e.escapeExpression(e.lambda(null!=(e=null!=(e=null!=t?s(t,"rows"):t)?s(e,"links"):e)?s(e,"first"):e,t))+'">First</button>\r\n'},14:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t\t\t\t<button class='data-nav' data-value=\""+e.escapeExpression(e.lambda(null!=(e=null!=(e=null!=t?s(t,"rows"):t)?s(e,"links"):e)?s(e,"previous"):e,t))+'">Prev</button>\r\n'},16:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t\t\t\t<button class='data-nav' data-value=\""+e.escapeExpression(e.lambda(null!=(e=null!=(e=null!=t?s(t,"rows"):t)?s(e,"links"):e)?s(e,"next"):e,t))+'">Next</button>\r\n'},18:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t\t\t\t<button class='data-nav' data-value=\""+e.escapeExpression(e.lambda(null!=(e=null!=(e=null!=t?s(t,"rows"):t)?s(e,"links"):e)?s(e,"last"):e,t))+'">Last</button>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,s,r){var a,l=e.lambda,c=e.escapeExpression,u=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\t<div class="mura-control-group">\r\n\t\t<div id="filter-results-container">\r\n\t\t\t<div id="date-filters">\r\n\t\t\t\t<div class="control-group">\r\n\t\t\t\t  <label>From</label>\r\n\t\t\t\t  <div class="controls">\r\n\t\t\t\t  \t<input type="text" class="datepicker mura-date" id="date1" name="date1" validate="date" value="'+c(l(null!=(a=null!=t?h(t,"filters"):t)?h(a,"fromdate"):a,t))+'">\r\n\t\t\t\t  \t<select id="hour1" name="hour1" class="mura-date">'+(null!=(a=(h(n,"eachHour")||t&&h(t,"eachHour")||d).call(u,null!=(a=null!=t?h(t,"filters"):t)?h(a,"fromhour"):a,{name:"eachHour",hash:{},fn:e.program(1,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:8,column:57},end:{line:8,column:155}}}))?a:"")+'</select></select>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\r\n\t\t\t\t<div class="control-group">\r\n\t\t\t\t  <label>To</label>\r\n\t\t\t\t  <div class="controls">\r\n\t\t\t\t  \t<input type="text" class="datepicker mura-date" id="date2" name="date2" validate="date" value="'+c(l(null!=(a=null!=t?h(t,"filters"):t)?h(a,"todate"):a,t))+'">\r\n\t\t\t\t  \t<select id="hour2" name="hour2"  class="mura-date">'+(null!=(a=(h(n,"eachHour")||t&&h(t,"eachHour")||d).call(u,null!=(a=null!=t?h(t,"filters"):t)?h(a,"tohour"):a,{name:"eachHour",hash:{},fn:e.program(1,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:16,column:
vendor: 5,399 bytes, line 1
158},end:{line:16,column:154}}}))?a:"")+'</select></select>\r\n\t\t\t\t   </select>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t\t\t\r\n\t\t\t<div class="control-group">\r\n\t\t\t\t<label>Keywords</label>\r\n\t\t\t\t<div class="controls">\r\n\t\t\t\t\t<select name="filterBy" class="mura-date" id="results-filterby">\r\n'+(null!=(a=(h(n,"eachKey")||t&&h(t,"eachKey")||d).call(u,null!=t?h(t,"properties"):t,null!=(a=null!=t?h(t,"filters"):t)?h(a,"filterby"):a,{name:"eachKey",hash:{},fn:e.program(3,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:26,column:5},end:{line:28,column:17}}}))?a:"")+'\t\t\t\t\t</select>\r\n\t\t\t\t\t<input type="text" class="mura-half" name="keywords" id="results-keywords" value="'+c(l(null!=(a=null!=t?h(t,"filters"):t)?h(a,"filterkey"):a,t))+'">\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class="form-actions">\r\n\t\t\t\t<button type="button" class="btn" id="btn-results-search" ><i class="mi-bar-chart"></i> View Data</button>\r\n\t\t\t\t<button type="button" class="btn"  id="btn-results-download" ><i class="mi-download"></i> Download</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t<div>\r\n\r\n\t<ul class="metadata">\r\n\t\t<li>Page:\r\n\t\t\t<strong>'+c(l(null!=(a=null!=t?h(t,"rows"):t)?h(a,"pageindex"):a,t))+" of "+c(l(null!=(a=null!=t?h(t,"rows"):t)?h(a,"totalpages"):a,t))+"</strong>\r\n\t\t</li>\r\n\t\t<li>Total Records:\r\n\t\t\t<strong>"+c(l(null!=(a=null!=t?h(t,"rows"):t)?h(a,"totalitems"):a,t))+'</strong>\r\n\t\t</li>\r\n\t</ul>\r\n\r\n\t<table style="width: 100%" class="table">\r\n\t\t<thead>\r\n\t\t<tr>\r\n'+(null!=(a=h(n,"each").call(u,null!=t?h(t,"columns"):t,{name:"each",hash:{},fn:e.program(5,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:52,column:2},end:{line:54,column:11}}}))?a:"")+"\t\t\t<th></th>\r\n\t\t</tr>\r\n\t\t</thead>\r\n\t\t<tbody>\r\n"+(null!=(a=h(n,"each").call(u,null!=(a=null!=t?h(t,"rows"):t)?h(a,"items"):a,{name:"each",hash:{},fn:e.program(7,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:59,column:2},end:{line:70,column:11}}}))?a:"")+"\t\t</tbody>\r\n\t\t<tfoot>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n"+(null!=(a=h(n,"if").call(u,null!=(a=null!=(a=null!=t?h(t,"rows"):t)?h(a,"links"):a)?h(a,"first"):a,{name:"if",hash:{},fn:e.program(12,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:75,column:4},end:{line:77,column:11}}}))?a:"")+(null!=(a=h(n,"if").call(u,null!=(a=null!=(a=null!=t?h(t,"rows"):t)?h(a,"links"):a)?h(a,"previous"):a,{name:"if",hash:{},fn:e.program(14,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:78,column:4},end:{line:80,column:11}}}))?a:"")+(null!=(a=h(n,"if").call(u,null!=(a=null!=(a=null!=t?h(t,"rows"):t)?h(a,"links"):a)?h(a,"next"):a,{name:"if",hash:{},fn:e.program(16,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:81,column:4},end:{line:83,column:11}}}))?a:"")+(null!=(a=h(n,"if").call(u,null!=(a=null!=(a=null!=t?h(t,"rows"):t)?h(a,"links"):a)?h(a,"last"):a,{name:"if",hash:{},fn:e.program(18,o,0,s,r),inverse:e.noop,data:o,loc:{start:{line:84,column:4},end:{line:86,column:11}}}))?a:"")+"\t\t\t</td>\r\n\t\t</tfoot>\r\n\t</table>\r\n</div>"},useData:!0,useDepths:!0}),e.templates.textarea=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"summary")||(null!=t?s(t,"summary"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:o,loc:{start:{line:2,column:67},end:{line:2,column:78}}}):n)},3:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:2,column:86},end:{line:2,column:95}}}):n)},5:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:2,column:126},end:{line:2,column:147}}}):n)+"</ins>"},7:function(e,t,n,i,o){return"</br>"},9:function(e,t,n,i,o){return' aria-required="true"'},11:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' placeholder="'+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"placeholder")||(null!=t?s(t,"placeholder"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"placeholder",hash:{},data:o,loc:{start:{line:4,column:117},end:{line:4,column:132}}}):n)+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(s=m(r=null!=(r=d(n,"inputWrapperClass")||(null!=t?d(t,"inputWrapperClass"):t))?r:l)===c?r.call(a,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:35}}}):r)?s:"")+'" id="field-'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:47}
vendor: 5,041 bytes, line 1
1,end:{line:1,column:55}}}):r)+'-container">\r\n\t<label for="'+u(m(r=null!=(r=d(n,"labelForValue")||(null!=t?d(t,"labelForValue"):t))?r:l)===c?r.call(a,{name:"labelForValue",hash:{},data:o,loc:{start:{line:2,column:13},end:{line:2,column:30}}}):r)+'" data-for="'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:2,column:42},end:{line:2,column:50}}}):r)+'">'+(null!=(s=d(n,"if").call(a,null!=t?d(t,"summary"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:2,column:52},end:{line:2,column:102}}}))?s:"")+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:102},end:{line:2,column:160}}}))?s:"")+"</label>\r\n\t"+(null!=(s=d(n,"if").call(a,null!=t?d(t,"summary"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:1},end:{line:3,column:28}}}))?s:"")+"\r\n\t<textarea "+(null!=(s=m(r=null!=(r=d(n,"commonInputAttributes")||(null!=t?d(t,"commonInputAttributes"):t))?r:l)===c?r.call(a,{name:"commonInputAttributes",hash:{},data:o,loc:{start:{line:4,column:11},end:{line:4,column:38}}}):r)?s:"")+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:4,column:38},end:{line:4,column:84}}}))?s:"")+(null!=(s=d(n,"if").call(a,null!=t?d(t,"placeholder"):t,{name:"if",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o,loc:{start:{line:4,column:84},end:{line:4,column:140}}}))?s:"")+">"+u(m(r=null!=(r=d(n,"value")||(null!=t?d(t,"value"):t))?r:l)===c?r.call(a,{name:"value",hash:{},data:o,loc:{start:{line:4,column:141},end:{line:4,column:150}}}):r)+"</textarea>\r\n</div>\r\n"},useData:!0}),e.templates.textblock=e.Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(s=m(r=null!=(r=u(n,"inputWrapperClass")||(null!=t?u(t,"inputWrapperClass"):t))?r:l)===c?r.call(a,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:35}}}):r)?s:"")+'" id="field-'+e.escapeExpression(m(r=null!=(r=u(n,"name")||(null!=t?u(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:55}}}):r)+'-container">\r\n<div class="mura-form-text">'+(null!=(s=m(r=null!=(r=u(n,"value")||(null!=t?u(t,"value"):t))?r:l)===c?r.call(a,{name:"value",hash:{},data:o,loc:{start:{line:2,column:28},end:{line:2,column:39}}}):r)?s:"")+"</div>\r\n</div>\r\n"},useData:!0}),e.templates.textfield=e.Handlebars.template({1:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"summary")||(null!=t?s(t,"summary"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:o,loc:{start:{line:2,column:67},end:{line:2,column:78}}}):n)},3:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(n=null!=(n=s(n,"label")||(null!=t?s(t,"label"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:2,column:86},end:{line:2,column:95}}}):n)},5:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <ins>"+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"formRequiredLabel")||(null!=t?s(t,"formRequiredLabel"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"formRequiredLabel",hash:{},data:o,loc:{start:{line:2,column:126},end:{line:2,column:147}}}):n)+"</ins>"},7:function(e,t,n,i,o){return"</br>"},9:function(e,t,n,i,o){return' aria-required="true"'},11:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' placeholder="'+e.escapeExpression("function"==typeof(n=null!=(n=s(n,"placeholder")||(null!=t?s(t,"placeholder"):t))?n:e.hooks.helperMissing)?n.call(null!=t?t:e.nullContext||{},{name:"placeholder",hash:{},data:o,loc:{start:{line:4,column:164},end:{line:4,column:179}}}):n)+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s,r,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+(null!=(s=m(r=null!=(r=d(n,"inputWrapperClass")||(null!=t?d(t,"inputWrapperClass"):t))?r:l)===c?r.call(a,{name:"inputWrapperClass",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:35}}}):r)?s:"")+'" id="field-'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:47}
1,end:{line:1,column:55}}}):r)+'-container">\r\n\t<label for="'+u(m(r=null!=(r=d(n,"labelForValue")||(null!=t?d(t,"labelForValue"):t))?r:l)===c?r.call(a,{name:"labelForValue",hash:{},data:o,loc:{start:{line:2,column:13},end:{line:2,column:30}}}):r)+'" data-for="'+u(m(r=null!=(r=d(n,"name")||(null!=t?d(t,"name"):t))?r:l)===c?r.call(a,{name:"name",hash:{},data:o,loc:{start:{line:2,column:42},end:{line:2,column:50}}}):r)+'">'+(null!=(s=d(n,"if").call(a,null!=t?d(t,"summary"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:2,column:52},end:{line:2,column:102}}}))?s:"")+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:102},end:{line:2,column:160}}}))?s:"")+"</label>\r\n\t"+(null!=(s=d(n,"if").call(a,null!=t?d(t,"summary"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:1},end:{line:3,column:28}}}))?s:"")+'\r\n\t<input type="'+(null!=(s=m(r=null!=(r=d(n,"textInputTypeValue")||(null!=t?d(t,"textInputTypeValue"):t))?r:l)===c?r.call(a,{name:"textInputTypeValue",hash:{},data:o,loc:{start:{line:4,column:14},end:{line:4,column:38}}}):r)?s:"")+'" '+(null!=(s=m(r=null!=(r=d(n,"commonInputAttributes")||(null!=t?d(t,"commonInputAttributes"):t))?r:l)===c?r.call(a,{name:"commonInputAttributes",hash:{},data:o,loc:{start:{line:4,column:40},end:{line:4,column:67}}}):r)?s:"")+' value="'+u(m(r=null!=(r=d(n,"value")||(null!=t?d(t,"value"):t))?r:l)===c?r.call(a,{name:"value",hash:{},data:o,loc:{start:{line:4,column:75},end:{line:4,column:84}}}):r)+'"'+(null!=(s=d(n,"if").call(a,null!=t?d(t,"isrequired"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:4,column:85},end:{line:4,column:131}}}))?s:"")+(null!=(s=d(n,"if").call(a,null!=t?d(t,"placeholder"):t,{name:"if",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o,loc:{start:{line:4,column:131},end:{line:4,column:187}}}))?s:"")+"/>\r\n</div>\r\n"},useData:!0}),e.templates.view=e.Handlebars.template({1:function(e,t,n,i,o){var s,r=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,e=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\t<li>\r\n\t\t<strong>"+c(m(s=null!=(s=e(n,"displayName")||(null!=t?e(t,"displayName"):t))?s:a)===l?s.call(r,{name:"displayName",hash:{},data:o,loc:{start:{line:5,column:10},end:{line:5,column:25}}}):s)+": </strong> "+c(m(s=null!=(s=e(n,"displayValue")||(null!=t?e(t,"displayValue"):t))?s:a)===l?s.call(r,{name:"displayValue",hash:{},data:o,loc:{start:{line:5,column:37},end:{line:5,column:53}}}):s)+" \r\n\t</li>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="mura-control-group">\r\n<ul>\r\n'+(null!=(n=(s(n,"eachProp")||t&&s(t,"eachProp")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},t,{name:"eachProp",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:0},end:{line:7,column:13}}}))?n:"")+'</ul>\r\n<button type="button" class="nav-back">Back</button>\r\n</div>'},useData:!0})}},818:function(e,t,n){var o=n(633),s=n(703);e.exports=function(i){i.Handlebars=o.create(),i.templatesLoaded=!1,o.noConflict(),i.templates=i.templates||{},i.templates.meta=function(e){return void 0!==e.labeltag&&e.labeltag||(e.labeltag="h2"),e.label?'<div class="mura-object-meta-wrapper"><div class="mura-object-meta"><'+i.escapeHTML(e.labeltag)+">"+i.escapeHTML(e.label)+"</"+i.escapeHTML(e.labeltag)+'></div></div><div class="mura-flex-break"></div>':""},i.templates.content=function(e){e=e.html||e.content||e.source||"";return'<div class="mura-object-content">'+(e=Array.isArray(e)?"":e)+"</div>"},i.templates.text=function(e){return(e=e||{}).label?e.source=e.source||"":e.source=e.source||"<p></p>",e.source},i.templates.embed=function(e){return(e=e||{}).source?e.source=e.source||"":e.source=e.source||"<p></p>",e.source},i.templates.image=function(e){(e=e||{}).src=e.src||"",e.alt=e.alt||"",e.caption=e.caption||"",e.imagelink=e.imagelink||"",e.fit=e.fit||"";var t="",n="";return e.src?(e.fit&&(n=' style="height:100%;width:100%;object-fit:'+i.escapeHTML(e.fit)+';" data-object-fit="'+i.escapeHTML(e.fit)+'" '),t='<img src="'+i.escapeHTML(e.src)+'" alt="'+i.escapeHTML(e.alt)+'"'+n+' loading="lazy"/>',e.imagelink&&(e.imagelinktarget=e.imagelinktarget||"",n="",e.imagelinktarget&&(n=' target="'+i.escapeHTML(e.imagelinktarget)+'"'),t='<a href="'+i.escapeHTML(e.imagelink)+'"'+n+"/>"+t+"</a>"),e.caption&&"<p></p>"!=e.caption&&(t+="<figcaption>"+e.caption+"</figcaption>"),'<figure style="margin:0px">'+t+"</figure>"):""},s(i)}},301:function(e){e.exports=function(i){i.UI.Collection=i.UI.extend({defaultLayout:"List",layoutInstance:"",getLayoutInstance:function(){return this.layoutInstance&&this.layoutInstance.destroy(),this.layoutInstance=new i.Module[this.context.layout](this.context),this.layoutInstance},getCollection:function(){var n=this;return void 0!==this.context.feed&&void 0!==this.context.feed.getQuery?this.context.feed.getQuery():(this.context.source=this.context.source||"",void 0!==this.context.nextn&&(this.context.
1itemsperpage=this.context.nextn),void 0===this.context.maxitems&&(this.context.maxitems=20),void 0!==this.context.itemsperpage&&(this.context.itemsperpage=this.context.nextn),void 0===this.context.expand&&(this.context.expand=""),void 0===this.context.expanddepth&&(this.context.expanddepth=1),void 0===this.context.fields&&(this.context.fields=""),void 0!==this.context.rawcollection?new Promise(function(e,t){e(new i.EntityCollection(n.context.rawcollection,i._requestcontext))}):"relatedcontent"==this.context.sourcetype?"custom"==this.context.source?(void 0!==this.context.items&&(this.context.items=this.context.items.join()),this.context.items||(this.context.items=i.createUUID()),i.get(i.getAPIEndpoint()+"content",{id:this.context.items,itemsperpage:this.context.itemsperpage,maxitems:this.context.maxitems,expand:this.context.expand,expanddepth:this.context.expanddepth,fields:this.context.fields}).then(function(e){return new i.EntityCollection(e.data,i._requestcontext)})):"reverse"==this.context.source?i.getEntity("content").set({contentid:i.contentid,id:i.contentid}).getRelatedContent("reverse",{itemsperpage:this.context.itemsperpage,maxitems:this.context.maxitems,sortby:this.context.sortby,expand:this.context.expand,expanddepth:this.context.expanddepth,fields:this.context.fields}):i.getEntity("content").set({contentid:i.contentid,id:i.contentid}).getRelatedContent(this.context.source,{itemsperpage:this.context.itemsperpage,maxitems:this.context.maxitems,expand:this.context.expand,expanddepth:this.context.expanddepth,fields:this.context.fields}):("children"==this.context.sourcetype?i.getFeed("content").where().prop("parentid").isEQ(i.contentid).maxItems(100).itemsPerPage(this.context.itemsperpage).expand(this.context.expand).expandDepth(this.context.expanddepth):i.getFeed("content").where().prop("feedid").isEQ(this.context.source).maxItems(this.context.maxitems).itemsPerPage(this.context.itemsperpage).expand(this.context.expand).expandDepth(this.context.expand)).fields(this.context.fields).getQuery())},renderClient:function(){void 0===i.Module[this.context.layout]&&(this.context.layout=i.firstToUpperCase(this.context.layout)),void 0===i.Module[this.context.layout]&&"undefined"!=i.Module[this.defaultLayout]&&(this.context.layout=this.defaultLayout);var t=this;void 0!==i.Module[this.context.layout]?this.getCollection().then(function(e){t.context.collection=e,t.getLayoutInstance().renderClient()}):this.context.targetEl.innerHTML="This collection has an undefined layout",this.trigger("afterRender")},renderServer:function(){return""},destroy:function(){this.layoutInstance&&this.layoutInstance.destroy()}}),i.Module.Collection=i.UI.Collection}},77:function(e){e.exports=function(o){o.UI.Container=o.UI.extend({renderClient:function(){var t=o(this.context.targetEl);if(void 0!==this.context.items&&!Array.isArray(this.context.items))try{this.context.items=JSON.parse(this.context.items)}catch(e){console.log(this.context.items),delete this.context.items}Array.isArray(this.context.items)?(this.context.items=this.context.items||[],this.context.items.forEach(function(e){e.transient=!1,o.cloning||(e.preserveid=!0),t.appendDisplayObject(e),delete e.preserveid})):(this.context.content=this.context.content||"",t.html(this.context.content)),this.trigger("afterRender")},reset:function(e,t){t&&(e.find('.mura-object:not([data-object="container"])').html(""),e.find(".frontEndToolsModal").remove(),e.find(".mura-object-meta").html(""));var n,i=e.children("div.mura-object-content");i.length&&(n=[],i.children(".mura-object").each(function(){o.resetAsyncObject(this,t),n.push(o(this).data())}),e.data("items",JSON.stringify(n)),e.removeAttr("data-content"))}}),o.DisplayObject.Container=o.UI.Container}},972:function(e){e.exports=function(e){e.UI.Embed=e.UI.extend({renderClient:function(){e(this.context.targetEl).html(e.templates.embed(this.context)),this.trigger("afterRender")},renderServer:function(){return e.templates.embed(this.context)}}),e.DisplayObject.Embed=e.UI.Embed}},307:function(e){function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(u){u.UI.Form=u.UI.extend({context:{},ormform:!1,formJSON:{},data:{},columns:[],currentpage:0,entity:{},fields:{},filters:{},datasets:[],sortfield:"",sortdir:"",inlineerrors:!0,properties:{},rendered:{},renderqueue:0,formInit:!1,responsemessage:"",rb:{generalwrapperclass:"well",generalwrapperbodyclass:"",formwrapperclass:"well",formwrapperbodyclass:"",formfieldwrapperclass:"control-group",formfieldlabelclass:"control-label",formerrorwrapperclass:"",formresponsewrapperclass:"",formgeneralcontrolclass:"form-control",forminputclass:"form-control",formselectclass:"form-control",formtextareaclass:"form-control",formfileclass:"form-control",formtextblockclass:"form-control",formcheckboxclass:"",formcheckboxlabelclass:"checkbox",formcheckboxwrapperclass:"",formradioclass:"",formradiowrapperclass:"",formradiolabelclass:"radio",formbuttonwrapperclass:"btn-group",formbuttoninnerclass:"",formbuttonclass:"btn btn-default",formrequiredwrapperclass:"",formbuttonsubmitclass:"form-submit",formbuttonsubmitlabel:"Submit",formbuttonsubmitwaitlabel:"Please Wait...",formbuttonnextclass:"form-nav",formbuttonnextlabel:"Next",formbuttonbackclass:"form-nav",formbuttonbacklabel:"Back",formbuttoncancelclass:"btn-primary pull-right",formbuttoncancellabel:"Cancel",formrequiredlabel:"Required",formfileplaceholder:"Select File"},renderClient:function(){null==this.context.mode&&(this.context.mode="form");
1var e="mura-form-"+this.context.instanceid;return this.context.formEl="#"+e,this.context.html="<div id='"+e+"'></div>",u(this.context.targetEl).html(this.context.html),"form"==this.context.view?this.getForm():this.getList(),this},getTemplates:function(){"form"==this.context.view?this.loadForm():this.loadList()},getPageFieldList:function(){for(var e=this.currentpage,t=this.formJSON.form.pages[e],n=[],i=0;i<t.length;i++)n.push(this.formJSON.form.fields[t[i]].name);return n.join(",")},renderField:function(e,n){var i=this,t=(u.templates,e);if(""!=n.datasetid&&i.isormform?n.options=i.formJSON.datasets[n.datasetid].options:""!=n.datasetid&&(n.dataset=i.formJSON.datasets[n.datasetid]),i.setDefault(e,n),"nested"==e){var o={},s=(o.objectid=n.formid,o.paging="single",o.mode="nested",o.prefix=n.name+"_",o.master=this,{});s.objectid=o.objectid,s.formid=o.objectid,s.object="form",s.siteid=i.context.siteid||u.siteid,s.contentid=u.contentid,s.contenthistid=u.contenthistid,u.get(u.getAPIEndpoint()+"?method=processAsyncObject",s).then(function(e){var t=u.extend({},o),t=(delete t.targetEl,u.deepExtend({},t,e.data)),e=(t.targetEl=i.context.targetEl,u(".field-container-"+i.context.objectid,i.context.formEl).append('<div id="nested-'+n.formid+'"></div>'),new u.UI.Form(t));t.formEl=document.getElementById("nested-"+n.formid),e.getForm()})}else{if("checkbox"==e)if(i.ormform){n.selected=[];var r,a=i.formJSON.datasets[n.datasetid];for(r in a.datarecords)a.datarecords[r].selected&&1==a.datarecords[r].selected&&n.selected.push(r);n.selected=n.selected.join(",")}else t+="_static";else"dropdown"!=e&&"radio"!=e||i.ormform||(t+="_static");s=u.templates[t](n);u(".field-container-"+i.context.objectid,i.context.formEl).append(s)}},setDefault:function(e,t){var n=this;switch(e){case"textfield":case"textarea":n.data[n.context.prefix+t.name]&&(t.value=n.data[n.context.prefix+t.name]);break;case"checkbox":for(var i=n.formJSON.datasets[t.datasetid],o=0;o<i.datarecords.length;o++)if(n.ormform){var s=i.source+"id";if(i.datarecords[o].selected=0,i.datarecords[o].isselected=0,n.data[n.context.prefix+t.name].items&&n.data[n.context.prefix+t.name].items.length)for(var r=0;r<n.data[n.context.prefix+t.name].items.length;r++)i.datarecords[o].id==n.data[n.context.prefix+t.name].items[r][s]&&(i.datarecords[o].isselected=1,i.datarecords[o].selected=1)}else n.data[n.context.prefix+t.name]&&i.datarecords[o].value&&-1<n.data[n.context.prefix+t.name].indexOf(i.datarecords[o].value)?(i.datarecords[o].isselected=1,i.datarecords[o].selected=1):(i.datarecords[o].selected=0,i.datarecords[o].isselected=0);break;case"radio":case"dropdown":for(i=n.formJSON.datasets[t.datasetid],o=0;o<i.datarecords.length;o++)n.ormform?i.datarecords[o].id==n.data[t.name+"id"]?(i.datarecords[o].isselected=1,t.selected=n.data[t.name+"id"]):(i.datarecords[o].selected=0,i.datarecords[o].isselected=0):i.datarecords[o].value==n.data[n.context.prefix+t.name]?(i.datarecords[o].isselected=1,t.selected=n.data[n.context.prefix+t.name]):i.datarecords[o].isselected=0}},renderData:function(){var n,e=this;0!=e.datasets.length?(n=e.formJSON.datasets[e.datasets.pop()]).sourcetype&&"muraorm"!=n.sourcetype?e.renderData():"muraorm"==n.sourcetype?(n.options=[],e.renderqueue++,u.getFeed(n.source).getQuery().then(function(e){e.each(function(e){var t=e.get("id");n.datarecordorder.push(t),n.datarecords[t]=e.getAll(),n.datarecords[t].value=t,n.datarecords[t].datarecordid=t,n.datarecords[t].datasetid=n.datasetid,n.datarecords[t].isselected=0,n.options.push(n.datarecords[t])})}).then(function(){e.renderqueue--,e.renderData(),0==e.renderqueue&&e.renderForm()})):0==e.renderqueue&&e.renderForm():0==e.renderqueue&&e.renderForm()},renderForm:function(){var e=this;void 0===e.context.prefix&&(e.context.prefix=""),u(".field-container-"+e.context.objectid,e.context.formEl).empty(),e.formInit||e.initForm();for(var t=e.formJSON.form.pages[e.currentpage],n=0;n<t.length;n++){var i=e.formJSON.form.fields[t[n]];null!=i.fieldtype.fieldtype&&""!=i.fieldtype.fieldtype&&e.renderField(i.fieldtype.fieldtype,i)}e.ishuman&&e.currentpage==e.formJSON.form.pages.length-1&&u(".field-container-"+e.context.objectid,e.context.formEl).append(e.ishuman),"form"==e.context.mode&&e.renderPaging(),u.processMarkup(".field-container-"+e.context.objectid,e.context.formEl),e.trigger("afterRender")}
1,renderPaging:function(){function e(){o.submitForm()}function t(e){var t,n;!u(e.target).is(".mura-form-submit")&&(o.setDataValues(),void 0===(e=o.onPageSubmit.call(o.context.targetEl))||e)&&(t=this,o.ormform?u.getEntity(o.entity).set(o.data).validate(o.getPageFieldList()).then(function(e){e.hasErrors()?o.showErrors(e.properties.errors):(o.currentpage=u(t).data("page"),o.renderForm())}):((n=u.extend({},o.data,o.context)).validateform=!0,n.formid=n.objectid,n.siteid=n.siteid||u.siteid,n.fields=o.getPageFieldList(),delete n.filename,delete n.def,delete n.ishuman,delete n.targetEl,delete n.html,u.ajax({type:"post",url:u.getAPIEndpoint()+"?method=generateCSRFTokens",data:{siteid:n.siteid,context:n.formid},success:function(e){n.csrf_token_expires=e.data.csrf_token_expires,n.csrf_token=e.data.csrf_token,u.post(u.getAPIEndpoint()+"?method=processAsyncObject",n).then(function(e){"object"!=a(e.data.errors)||u.isEmptyObject(e.data.errors)?void 0!==e.data.redirect?e.data.redirect&&e.data.redirect!=location.href?location.href=e.data.redirect:location.reload(!0):(o.currentpage=u(t).data("page"),o.currentpage>=o.formJSON.form.pages.length&&(o.currentpage=o.formJSON.form.pages.length-1),o.renderForm()):o.showErrors(e.data.errors)})}})))}function n(e){u(this).closest(".mura-form-file-container").find('input[type="file"]').trigger("click")}function i(e){var t=(o=u(this)).val().replace(/\\/g,"/").replace(/.*\//,""),n=u('.mura-newfile-filename[data-filename="'+o.attr("name")+'"]').val(t),i=u('input[type="file"][data-filename="'+o.attr("name")+'"]').node.files[0],o=u("img#mura-form-preview-"+o.attr("name")),s="";void 0!==i?(s=window.URL.createObjectURL(i),n.val(t),o.hide(),0==i.type.indexOf("image")&&s.length&&o.attr("src",s).show()):o.attr("src",s).hide()}var o=this,s=void 0!==o.formJSON.form.formattributes&&void 0!==o.formJSON.form.formattributes.submitlabel&&o.formJSON.form.formattributes.submitlabel?o.formJSON.form.formattributes.submitlabel:o.rb.formbuttonsubmitlabel;u(".error-container-"+o.context.objectid,o.context.formEl).empty(),u(".paging-container-"+o.context.objectid,o.context.formEl).empty(),1==o.formJSON.form.pages.length?u(".paging-container-"+o.context.objectid,o.context.formEl).append(u.templates.paging({page:o.currentpage+1,label:s,class:u.trim("mura-form-submit "+o.rb.formbuttonsubmitclass)})):(0==o.currentpage?u(".paging-container-"+o.context.objectid,o.context.formEl).append(u.templates.paging({page:1,label:o.rb.formbuttonnextlabel,class:u.trim("mura-form-nav mura-form-next "+o.rb.formbuttonnextclass)})):(u(".paging-container-"+o.context.objectid,o.context.formEl).append(u.templates.paging({page:o.currentpage-1,label:o.rb.formbuttonbacklabel,class:u.trim("mura-form-nav mura-form-back "+o.rb.formbuttonbackclass)})),o.currentpage+1<o.formJSON.form.pages.length?u(".paging-container-"+o.context.objectid,o.context.formEl).append(u.templates.paging({page:o.currentpage+1,label:o.rb.formbuttonnextlabel,class:u.trim("mura-form-nav mura-form-next "+o.rb.formbuttonnextclass)})):u(".paging-container-"+o.context.objectid,o.context.formEl).append(u.templates.paging({page:o.currentpage+1,label:s,class:u.trim("mura-form-submit "+o.rb.formbuttonsubmitclass)}))),null!=o.backlink&&o.backlink.length&&u(".paging-container-"+o.context.objectid,o.context.formEl).append(u.templates.paging({page:o.currentpage+1,label:o.rb.formbuttoncancellabel,class:u.trim("mura-form-nav mura-form-cancel "+o.rb.formbuttoncancelclass)}))),u(".mura-form-submit",o.context.formEl).off("click",e).on("click",e),u(".mura-form-cancel",o.context.formEl).click(function(){o.getTableData(o.backlink)}),u(".mura-form-nav",o.context.formEl).off("click",t).on("click",t);
1u(o.context.formEl).find('input[type="file"]').off("change",i).on("change",i),u(o.context.formEl).find(".mura-form-preview img, .mura-newfile-filename").off("click",n).on("click",n)},setDataValues:function(){var e,t=this,n={},i={},o=[],s={};for(e in u(".field-container-"+t.context.objectid+" input, .field-container-"+t.context.objectid+" select, .field-container-"+t.context.objectid+" textarea").each(function(){s[u(this).attr("name")]=!0,u(this).is('[type="checkbox"]')?(null==n[u(this).attr("name")]&&(n[u(this).attr("name")]=[]),this.checked&&(t.ormform?((i={}).id=u.createUUID(),i[t.entity+"id"]=t.data.id,i[u(this).attr("source")+"id"]=u(this).val(),i.key=u(this).val(),n[u(this).attr("name")].push(i)):n[u(this).attr("name")].push(u(this).val()))):u(this).is('[type="radio"]')?this.checked&&(t.data[u(this).attr("name")]=u(this).val(),o[u(this).attr("name")]=t.data[name]):(t.data[u(this).attr("name")]=u(this).val(),o[u(this).attr("name")]=t.data[u(this).attr("name")])}),n)t.ormform?(t.data[e].cascade="replace",t.data[e].items=n[e],o[e]=t.data[e]):(t.data[e]=n[e].join(","),o[e]=n[e].join(","));var r,a=document.getElementById("frm"+t.context.objectid);for(r in s)s.hasOwnProperty(r)&&void 0!==t.data[r]&&-1<r.indexOf("_attachment")&&void 0!==a[r]&&(t.attachments[r]=a[r].files[0]);return o},validate:function(e,t){return!0},getForm:function(e,t){var n=this;null!=e?n.entityid=e:delete n.entityid,null!=t?n.backlink=t:delete n.backlink,n.loadForm()},loadForm:function(e){var t=this,n=JSON.parse(t.context.def);if(n.form.pages||(n.form.pages=[],n.form.pages[0]=n.form.fieldorder,n.form.fieldorder=[]),void 0!==n.datasets)for(var i in n.datasets)void 0!==n.datasets[i].DATARECORDS&&(n.datasets[i].datarecords=n.datasets[i].DATARECORDS,delete n.datasets[i].DATARECORDS),void 0!==n.datasets[i].DATARECORDORDER&&(n.datasets[i].datarecordorder=n.datasets[i].DATARECORDORDER,delete n.datasets[i].DATARECORDORDER);var o=t.context.filename.replace(/\W+/g,"");t.entity=o,t.formJSON=n,t.fields=n.form.fields,t.responsemessage=t.context.responsemessage,t.ishuman=t.context.ishuman,n.form.formattributes&&1==n.form.formattributes.Muraormentities&&(t.ormform=!0);for(var s=0;s<t.formJSON.datasets;s++)t.datasets.push(s);t.ormform?(t.entity=o,null==t.entityid?u.get(u.getAPIEndpoint()+"/"+o+"/new?expand=all&ishuman=true").then(function(e){t.data=e.data,t.renderData()}):u.get(u.getAPIEndpoint()+"/"+o+"/"+t.entityid+"?expand=all&ishuman=true").then(function(e){t.data=e.data,t.renderData()})):t.renderData()},initForm:function(){var e,t=this;u(t.context.formEl).empty(),e=null!=t.context.mode&&"nested"==t.context.mode?u.templates.nested(t.context):u.templates.form(t.context),u(t.context.formEl).append(e),t.currentpage=0,t.attachments={},t.formInit=!0,u.trackEvent({category:"Form",action:"Impression",label:t.context.name,objectid:t.context.objectid,nonInteraction:!0})},onSubmit:function(){return!0},onPageSubmit:function(){return!0},submitForm:function(){var t=this,e=(t.setDataValues(),u(".error-container-"+t.context.objectid,t.context.formEl).empty(),this.onSubmit.call(this.context.targetEl));if(void 0===e||e){delete t.data.isNew,(e=u(t.context.formEl).find("form")).find(".mura-form-submit").html(t.rb.formbuttonsubmitwaitlabel),e.trigger("formSubmit");var n,i,o=u.extend({},t.context,t.data),s=(o.saveform=!0,o.formid=o.objectid,o.siteid=t.context.siteid||o.siteid||u.siteid,o.contentid=u.contentid||"",o.contenthistid=u.contenthistid||"",delete o.filename,delete o.def,delete o.ishuman,delete o.targetEl,delete o.html,{siteid:o.siteid,context:o.formid}),r=(o.responsechart&&(e=u(t.context.targetEl),n=new Array,e.find("input[type='radio']").each(function(){n.push(u(this).val())}),0<n.length)&&(o.polllist=n.toString()),new FormData);for(i in o)o.hasOwnProperty(i)&&(void 0!==t.attachments[i]?r.append(i,t.attachments[i]):r.append(i,o[i]));u.ajax({type:"post",url:u.getAPIEndpoint()+"?method=generateCSRFTokens",data:s,success:function(e){r.append("csrf_token_expires",e.data.csrf_token_expires),r.append("csrf_token",e.data.csrf_token),u.post(u.getAPIEndpoint()+"?method=processAsyncObject",r).then(function(e){"object"!=a(e.data.errors)||u.isEmptyObject(e.data.errors)?(u(t.context.formEl).find("form").trigger("formSubmitSuccess"),u.trackEvent({category:"Form",action:"Conversion",label:t.context.name,objectid:t.context.objectid}).then(function(){void 0!==e.data.redirect?e.data.redirect&&e.data.redirect!=location.href?location.href=e.data.redirect:location.reload(!0):(u(t.context.formEl).html(u.templates.success(e.data)),t.trigger("afterResponseRender"))}
1)):(t.showErrors(e.data.errors),t.trigger("afterErrorRender"))},function(e){t.showErrors({systemerror:"We're sorry, a system error has occurred. Please try again later."}),t.trigger("afterErrorRender")})}})}},showErrors:function(e){var t,n=this,i=u(this.context.formEl),o=i.find(".error-container-"+n.context.objectid),s=(i.find(".mura-form-submit").html(n.rb.formbuttonsubmitlabel),i.find(".mura-response-error").remove(),i.find("[aria-invalid]").forEach(function(){this.removeAttribute("aria-invalid"),this.removeAttribute("aria-describedby")}),Object.keys(n.fields));for(t in e){var r,a=s.find(function(e){return n.fields[e].name===t});a?(r=n.fields[a],(c={}).message=e[t],c.selector="#field-"+r.name,c.field="field-"+r.name,c.label="",c.id="e"+u.createUUID(),r.cssid&&(c.selector="#"+r.cssid)):((c={}).message=e[t],c.selector="#field-"+t,c.field="field-"+t,c.label="",c.id="e"+u.createUUID()),this.inlineerrors&&(a=r=u(this.context.formEl).find(c.selector),r.length||(l=(a=r=(l=(r=u('label[for="'+t+'"]')).parent().find("input")).length?l:r).parent().find("label")).length&&(a=l),r.length)?(r.attr("aria-invalid",!0),r.attr("aria-describedby",c.id),a.node.insertAdjacentHTML("afterend",u.templates.error(c))):o.append(u.templates.error(c))}u(n.context.formEl).find(".g-recaptcha-container").each(function(e){grecaptcha.reset(e.getAttribute("data-widgetid"))});var l,c,i=u(this.context.formEl).find(".mura-response-error");i.length&&(c=i.first(),((l=u('[aria-describedby="'+c.attr("id")+'"]')).length?l:c).focus())},cleanProps:function(e){var t,n={},i={},o=1e5;for(t in delete e.isnew,delete e.created,delete e.lastUpdate,delete e.errors,delete e.saveErrors,delete e.instance,delete e.instanceid,delete e.frommuracache,delete e[self.entity+"id"],e)null!=e[t].orderno?n[e[t].orderno]=e[t]:n[o++]=e[t];return Object.keys(n).sort().forEach(function(e,t){i[e]=n[e]}),i},registerHelpers:function(){var s=this;u.extend(s.rb,u.rb),u.Handlebars.registerHelper("eachColRow",function(e,t,n){for(var i="",o=0;o<t.length;o++)i+=n.fn(e[t[o].column]);return i}),u.Handlebars.registerHelper("eachProp",function(e,t){var n,i="",o={};for(n in s.properties)o.displayName=s.properties[n].displayName,"one-to-one"==s.properties[n].fieldtype?o.displayValue=e[s.properties[n].cfc].val:o.displayValue=e[s.properties[n].column],i+=t.fn(o);return i}),u.Handlebars.registerHelper("eachKey",function(e,t,n){var i,o="",s="";for(i in e)(s=e[i]).column==t&&(s.selected="Selected"),"textfield"==s.rendertype&&(o+=n.fn(s));return o}),u.Handlebars.registerHelper("eachHour",function(e,t){for(var n="",i="",o=0;o<24;o++)i=0==o?{label:"12 AM",num:o}:o<12?{label:o+" AM",num:o}:12==o?{label:o+" PM",num:o}:{label:o-12+" PM",num:o},e==o&&(i.selected="selected"),n+=t.fn(i);return n}),u.Handlebars.registerHelper("eachColButton",function(e,t){var n="";return e.label="View",e.type="data-view",Object.keys(s.properties).length>s.columns.length&&(n+=t.fn(e)),"edit"==s.context.view&&(e.label="Edit",e.type="data-edit",n+=t.fn(e)),n}),u.Handlebars.registerHelper("eachCheck",function(e,t,n){for(var i="",o=0;o<e.length;o++)-1<t.indexOf(e[o].id)?e[o].isselected=1:e[o].isselected=0,i+=n.fn(e[o]);return i}),u.Handlebars.registerHelper("eachStatic",function(e,t){for(var n="",i=0;i<e.datarecordorder.length;i++)n+=t.fn(e.datarecords[e.datarecordorder[i]]);return n}),u.Handlebars.registerHelper("inputWrapperClass",function(){var e=u.Handlebars.escapeExpression,t="mura-control-group";return s.rb.formfieldwrapperclass&&(t+=" "+s.rb.formfieldwrapperclass),this.wrappercssclass&&(t+=" "+e(this.wrappercssclass)),this.isrequired&&(t+=" req",s.rb.formrequiredwrapperclass)&&(t+=" "+s.rb.formrequiredwrapperclass),t}),u.Handlebars.registerHelper("radioLabelClass",function(){return s.rb.formradiolabelclass}),u.Handlebars.registerHelper("formErrorWrapperClass",function(){return s.rb.formerrorwrapperclass?"mura-response-error "+s.rb.formerrorwrapperclass:"mura-response-error"}),u.Handlebars.registerHelper("formSuccessWrapperClass",function(){return s.rb.formresponsewrapperclass?"mura-response-success "+s.rb.formresponsewrapperclass:"mura-response-success"}),u.Handlebars.registerHelper("formResponseWrapperClass",function(){return s.rb.formresponsewrapperclass?"mura-response-success "+s.rb.formresponsewrapperclass:"mura-response-success"}),u.Handlebars.registerHelper("radioClass",function(){return s.rb.formradioclass}
1),u.Handlebars.registerHelper("radioWrapperClass",function(){return s.rb.formradiowrapperclass}),u.Handlebars.registerHelper("checkboxLabelClass",function(){return s.rb.formcheckboxlabelclass}),u.Handlebars.registerHelper("checkboxClass",function(){return s.rb.formcheckboxclass}),u.Handlebars.registerHelper("checkboxWrapperClass",function(){return s.rb.formcheckboxwrapperclass}),u.Handlebars.registerHelper("formRequiredLabel",function(){return s.rb.formrequiredlabel}),u.Handlebars.registerHelper("filePlaceholder",function(){var e=u.Handlebars.escapeExpression;return this.placeholder?e(this.placeholder):s.rb.formfileplaceholder}),u.Handlebars.registerHelper("formClass",function(){var e=u.Handlebars.escapeExpression,t="mura-form";return s.formJSON&&s.formJSON.form&&s.formJSON.form.formattributes&&s.formJSON.form.formattributes.class&&(t+=" "+e(s.formJSON.form.formattributes.class)),t}),u.Handlebars.registerHelper("textInputTypeValue",function(){return void 0!==u.usehtml5dateinput&&u.usehtml5dateinput&&void 0!==this.validatetype&&"date"==this.validatetype.toLowerCase()?"date":"text"}),u.Handlebars.registerHelper("labelForValue",function(){var e=u.Handlebars.escapeExpression;return this.cssid?e(this.cssid):"field-"+e(this.name)}),u.Handlebars.registerHelper("commonInputAttributes",function(){var e=u.Handlebars.escapeExpression,t=void 0!==this.fieldtype&&"file"==this.fieldtype.fieldtype?'name="'+e(s.context.prefix+this.name)+'_attachment"':'name="'+e(s.context.prefix+this.name)+'"';return this.cssid?t+=' id="'+e(this.cssid)+'"':t+=' id="field-'+e(s.context.prefix+this.name)+'"',t+=' class="',this.cssclass&&(t+=e(this.cssclass)+" "),"radio"==this.fieldtype||"radio_static"==this.fieldtype?t+=s.rb.formradioclass:"checkbox"==this.fieldtype||"checkbox_static"==this.fieldtype?t+=s.rb.formcheckboxclass:"file"==this.fieldtype?t+=s.rb.formfileclass:"textarea"==this.fieldtype?t+=s.rb.formtextareaclass:"dropdown"==this.fieldtype||"dropdown_static"==this.fieldtype?t+=s.rb.formselectclass:"textblock"==this.fieldtype?t+=s.rb.formtextblockclass:t+=s.rb.forminputclass,t+='"',this.tooltip&&(t+=' title="'+e(this.tooltip)+'"'),this.size&&(t+=' size="'+e(this.size)+'"'),this.multiple&&(t+=" multiple"),void 0!==u.usehtml5dateinput&&u.usehtml5dateinput&&void 0!==this.validatetype&&"date"==this.validatetype.toLowerCase()&&(t+=' data-date-format="'+u.dateformat+'"'),t}),u.Handlebars.registerHelper("fileAttributes",function(){var e=u.Handlebars.escapeExpression,t="";return this.cssid?t+=' id="'+e(this.cssid)+'"':t+=' id="field-'+e(s.context.prefix+this.name)+'"',t+=' class="mura-newfile-filename ',this.cssclass&&(t+=e(this.cssclass)+" "),t=t+s.rb.forminputclass+'"',this.tooltip&&(t+=' title="'+e(this.tooltip)+'"'),t})}}),u.DisplayObject.Form=u.UI.Form}},227:function(e){e.exports=function(e){e.UI.Hr=e.UI.extend({renderClient:function(){e(this.context.targetEl).html("<hr>"),this.trigger("afterRender")},renderServer:function(){return"<hr>"}}),e.DisplayObject.Hr=e.UI.Hr}},492:function(e){e.exports=function(e){e.UI.Image=e.UI.extend({renderClient:function(){e(this.context.targetEl).html(e.templates.image(this.context)),this.trigger("afterRender")},renderServer:function(){return e.templates.image(this.context)}}),e.DisplayObject.Image=e.UI.Image}},135:function(e){e.exports=function(s){s.UI=s.Core.extend({rb:{},context:{},onAfterRender:function(){},onBeforeRender:function(){},trigger:function(e){var t=e.toLowerCase();if(void 0!==this.context.targetEl){var n=s(this.context.targetEl).closest(".mura-object");if(n.length&&void 0!==n.node){if(void 0!==this.handlers[t])for(var i=this.handlers[t],o=0;o<i.length;o++)void 0===i[o].call?i[o](this):i[o].call(this,this);"function"==typeof this[e]&&(void 0===this[e].call?this[e](this):this[e].call(this,this));n="on"+e.substring(0,1).toUpperCase()+e.substring(1,e.length);"function"==typeof this[n]&&(void 0===this[n].call?this[n](this):this[n].call(this,this))}}return this},render:function(){return s(this.context.targetEl).html(s.templates[context.object](this.context)),this.trigger("afterRender"),this},renderClient:function(){return this.render()},renderServer:function(){return""},hydrate:function(){},destroy:function(){},reset:function(e,t){},init:function(e){return this.context=e,this.registerHelpers(),this},registerHelpers:function(){}})}},578:function(e){e.exports=function(n){n.UI.Text=n.UI.extend({renderClient:function(){var e,t=this;this.context.sourcetype=this.context.sourcetype||"custom","component"==this.context.sourcetype&&this.context.source?(e=n.isUUID(this.context.source)?"contentid":"tile",n.getEntity("content").loadBy(e,this.context.source,{fields:"body",type:"component"}).then(function(e){e.get("body")?n(t.context.targetEl).html(t.deserialize(e.get("body"))):t.context.label?n(t.context.targetEl).html(""):n(t.context.targetEl).html("<p></p>"),t.trigger("afterRender")})):(n(this.context.targetEl).html(n.templates.text(this.context)),this.trigger("afterRender"))},renderServer:function(){return this.context.sourcetype=this.context.sourcetype||"custom","custom"==this.context.sourcetype?this.deserialize(this.context.source):"<p></p>"},deserialize:function(e){return e}}),n.DisplayObject.Text=n.UI.Text}},458:function(e){e.exports=function(o){o.entities.User=o.Entity.extend({isInGroup:function(e,t,n){t=t||o.siteid;var i=this.get("memberships");return Array.isArray(i)?void 0!==n?0<=i.indexOf(e+";"+t+";"+n):0<=i.indexOf(e+";"+t+";0")||0<=i.indexOf(e+";"+t+";1"):(console.log("Method design for use with currentuser() only"),!1)},isSuperUser:function(){var e=this.get("memberships");return Array.isArray(e)?0<=e.indexOf("S2"):(console.log("Method design for use with currentuser() only"),!1)},isAdminUser:function(e){e=e||o.siteid;var t=this.get("memberships");return Array.isArray(t)?this.isSuperUser()||0<=t.indexOf("Admin;"+e+";0"):(console.log("Method design for use with currentuser() only"),!1)},isSystemUser:function(e){e=e||o.siteid;var t=this.get("memberships");return Array.isArray(t)?this.isAdminUser()||0<=t.indexOf("S2IsPrivate;"+e):(console.log("Method design for use with currentuser() only"),!1)},isLoggedIn:function(){var e=this.get("isloggedin");return""!==e&&e}})}},497:function(e,t,n){"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"==typeof document||n(35),n(547);n=n(495)();e.exports=n},547:function(e,t,n){var i,o,s="undefined"!=typeof self?self:this,l={},c="undefined"!=typeof globalThis&&globalThis||void 0!==s&&s||void 0!==n.g&&n.g||{},r="URLSearchParams"in c,a="Symbol"in c&&"iterator"in Symbol,u="FileReader"in c&&"Blob"in c&&function(){try{return new Blob,!0}catch(e){return!1}}(),d="FormData"in c,h="ArrayBuffer"in c;function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return e="string"!=typeof e?String(e):e}function m(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return a&&(e[Symbol.iterator]=function(){return e}),e}function g(t){this.map={},t instanceof g?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function v(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function y(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function b(e){var t=new FileReader,n=y(t);return t.readAsArrayBuffer(e),n}function _(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function w(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:u&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:d&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():h&&u&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):h&&(ArrayBuffer.prototype.isPrototypeOf(e)||o(e))?this._bodyArrayBuffer=_(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},u&&(this.blob=function(){var e=v(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return v(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(u)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,i=v(this);if(i)return i;if(this._bodyBlob)return i=this._bodyBlob,t=y(e=new FileReader),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(i.t
1ype))?n[1]:"utf-8",e.readAsText(i,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},d&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}h&&(i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],o=ArrayBuffer.isView||function(e){return e&&-1<i.indexOf(Object.prototype.toString.call(e))}),g.prototype.append=function(e,t){e=p(e),t=f(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},g.prototype.delete=function(e){delete this.map[p(e)]},g.prototype.get=function(e){return e=p(e),this.has(e)?this.map[e]:null},g.prototype.has=function(e){return this.map.hasOwnProperty(p(e))},g.prototype.set=function(e,t){this.map[p(e)]=f(t)},g.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},g.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),m(n)},g.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),m(t)},g.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),m(n)},a&&(g.prototype[Symbol.iterator]=g.prototype.entries);var x=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(e,t){if(!(this instanceof C))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof C){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new g(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new g(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<x.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in c)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function k(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function S(e,t){if(!(this instanceof S))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new g(t.headers),this.url=t.url||"",this._initBody(e)}C.prototype.clone=function(){return new C(this,{body:this._bodyInit})},w.call(C.prototype),w.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},S.error=function(){var e=new S(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var A=[301,302,303,307,308];S.redirect=function(e,t){if(-1===A.indexOf(t))throw new RangeError("Invalid status code");return new S(null,{status:t,headers:{location:e}})},l.DOMException=c.DOMException;try{new l.DOMException}catch(e){l.DOMException=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack},l.DOMException.prototype=Object.create(Error.prototype),l.DOMException.prototype.constructor=l.DOMException}function E(i,a){return new Promise(function(o,e){var s=new C(i,a);if(s.signal&&s.signal.aborted)return e(new l.DOMException("Aborted","AbortError"));var n,r=new XMLHttpRequest;function t(){r.abort()}r.onload=function(){var e,i,t={statusText:r.statusText,headers:(e=r.getAllResponseHeaders()||"",i=new g,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}
1).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{i.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),i)},n=(0===s.url.indexOf("file://")&&(r.status<200||599<r.status)?t.status=200:t.status=r.status,t.url="responseURL"in r?r.responseURL:t.headers.get("X-Request-URL"),"response"in r?r.response:r.responseText);setTimeout(function(){o(new S(n,t))},0)},r.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},r.onabort=function(){setTimeout(function(){e(new l.DOMException("Aborted","AbortError"))},0)},r.open(s.method,function(t){try{return""===t&&c.location.href?c.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?r.withCredentials=!0:"omit"===s.credentials&&(r.withCredentials=!1),"responseType"in r&&(u?r.responseType="blob":h&&(r.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof g||c.Headers&&a.headers instanceof c.Headers)?(n=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){n.push(p(e)),r.setRequestHeader(e,f(a.headers[e]))}),s.headers.forEach(function(e,t){-1===n.indexOf(t)&&r.setRequestHeader(t,e)})):s.headers.forEach(function(e,t){r.setRequestHeader(t,e)}),s.signal&&(s.signal.addEventListener("abort",t),r.onreadystatechange=function(){4===r.readyState&&s.signal.removeEventListener("abort",t)}),r.send(void 0===s._bodyInit?null:s._bodyInit)})}E.polyfill=!0,c.fetch||(c.fetch=E,c.Headers=g,c.Request=C,c.Response=S),l.Headers=g,l.Request=C,l.Response=S,l.fetch=E,Object.defineProperty(l,"__esModule",{value:!0})},261:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;
1var s=o(n(871)),r=i(n(613)),a=i(n(769)),l=o(n(849)),c=o(n(624)),n=i(n(148));function u(){var t=new s.HandlebarsEnvironment;return l.extend(t,s),t.SafeString=r.default,t.Exception=a.default,t.Utils=l,t.escapeExpression=l.escapeExpression,t.VM=c,t.template=function(e){return c.template(e,t)},t}var d=u();d.create=u,n.default(d),d.default=d,t.default=d,e.exports=t.default},871:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=d;var o=n(849),s=i(n(769)),r=n(277),a=n(940),l=i(n(566)),c=n(865),u=(t.VERSION="4.7.8",t.COMPILER_REVISION=8,t.LAST_COMPATIBLE_COMPILER_REVISION=7,t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"},"[object Object]");function d(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},r.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}d.prototype={constructor:d,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(o.toString.call(e)===u){if(t)throw new s.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(o.toString.call(e)===u)o.extend(this.partials,e);else{if(void 0===t)throw new s.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(o.toString.call(e)===u){if(t)throw new s.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};n=l.default.log;t.log=n,t.createFrame=o.createFrame,t.logger=l.default},940:function(e,t,n){"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){i.default(e)};var i=(t=n(430))&&t.__esModule?t:{default:t}},430:function(e,t,n){"use strict";t.__esModule=!0;var r=n(849);t.default=function(e){e.registerDecorator("inline",function(i,o,s,e){var t=i;return o.partials||(o.partials={},t=function(e,t){var n=s.partials,e=(s.partials=r.extend({},n,o.partials),i(e,t));return s.partials=n,e}),o.partials[e.args[0]]=e.fn,t})},e.exports=t.default},769:function(e,t){"use strict";t.__esModule=!0;var l=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function c(e,t){var t=t&&t.loc,n=void 0,i=void 0,o=void 0,s=void 0;t&&(n=t.start.line,i=t.end.line,o=t.start.column,s=t.end.column,e+=" - "+n+":"+o);for(var r=Error.prototype.constructor.call(this,e),a=0;a<l.length;a++)this[l[a]]=r[l[a]];Error.captureStackTrace&&Error.captureStackTrace(this,c);try{t&&(this.lineNumber=n,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=o,this.endColumn=s))}catch(e){}}c.prototype=new Error,t.default=c,e.exports=t.default},277:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){o.default(e),s.default(e),r.default(e),a.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var o=i(n(97)),s=i(n(785)),r=i(n(353)),a=i(n(355)),l=i(n(300)),c=i(n(466)),u=i(n(908))},97:function(e,t,n){"use strict";t.__esModule=!0;var s=n(849);t.default=function(o){o.registerHelper("blockHelperMissing",function(e,t){var n=t.inverse,i=t.fn;return!0===e?i(this):!1===e||null==e?n(this):s.isArray(e)?0<e.length?(t.ids&&(t.ids=[t.name]),o.helpers.each(e,t)):n(this):(t.data&&t.ids&&((n=s.createFrame(t.data)).contextPath=s.appendContextPath(t.data.contextPath,t.name),t={data:n}),i(e,t))})},e.exports=t.default},785:function(e,t,n){"use strict";t.__esModule=!0;var f=n(849),m=(n=n(769))&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",function(i,e){if(!e)throw new m.default("Must pass iterator to #each");var t,o=e.fn,n=e.inverse,s=0,r="",a=void 0,l=void 0;
1function c(e,t,n){a&&(a.key=e,a.index=t,a.first=0===t,a.last=!!n,l)&&(a.contextPath=l+e),r+=o(i[e],{data:a,blockParams:f.blockParams([i[e],e],[l+e,null])})}if(e.data&&e.ids&&(l=f.appendContextPath(e.data.contextPath,e.ids[0])+"."),f.isFunction(i)&&(i=i.call(this)),e.data&&(a=f.createFrame(e.data)),i&&"object"==typeof i)if(f.isArray(i))for(var u=i.length;s<u;s++)s in i&&c(s,s,s===i.length-1);else if("function"==typeof Symbol&&i[Symbol.iterator]){for(var d=[],h=i[Symbol.iterator](),p=h.next();!p.done;p=h.next())d.push(p.value);for(u=(i=d).length;s<u;s++)c(s,s,s===i.length-1)}else t=void 0,Object.keys(i).forEach(function(e){void 0!==t&&c(t,s-1),t=e,s++}),void 0!==t&&c(t,s-1,!0);return r=0===s?n(this):r})},e.exports=t.default},353:function(e,t,n){"use strict";t.__esModule=!0;var i=(n=n(769))&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},355:function(e,t,n){"use strict";t.__esModule=!0;var i=n(849),o=(n=n(769))&&n.__esModule?n:{default:n};t.default=function(n){n.registerHelper("if",function(e,t){if(2!=arguments.length)throw new o.default("#if requires exactly one argument");return i.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||i.isEmpty(e)?t.inverse(this):t.fn(this)}),n.registerHelper("unless",function(e,t){if(2!=arguments.length)throw new o.default("#unless requires exactly one argument");return n.helpers.if.call(this,e,{fn:t.inverse,inverse:t.fn,hash:t.hash})})},e.exports=t.default},300:function(e,t){"use strict";t.__esModule=!0,t.default=function(o){o.registerHelper("log",function(){for(var e=[void 0],t=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var i=1;null!=t.hash.level?i=t.hash.level:t.data&&null!=t.data.level&&(i=t.data.level),e[0]=i,o.log.apply(o,e)})},e.exports=t.default},466:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t,n){return e&&n.lookupProperty(e,t)})},e.exports=t.default},908:function(e,t,n){"use strict";t.__esModule=!0;var o=n(849),s=(n=n(769))&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new s.default("#with requires exactly one argument");o.isFunction(e)&&(e=e.call(this));var n,i=t.fn;return o.isEmpty(e)?t.inverse(this):(n=t.data,t.data&&t.ids&&((n=o.createFrame(t.data)).contextPath=o.appendContextPath(t.data.contextPath,t.ids[0])),i(e,{data:n,blockParams:o.blockParams([e],[n&&n.contextPath])}))})},e.exports=t.default},726:function(e,t,n){"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.extend.apply(void 0,[Object.create(null)].concat(t))};var i=n(849)},865:function(e,t,n){"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null),n=(t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1,Object.create(null));return n.__proto__=!1,{properties:{whitelist:i.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:i.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return void 0!==(e="function"==typeof e?t.methods:t.properties).whitelist[n]?!0===e.whitelist[n]:void 0!==e.defaultValue?e.defaultValue:(!0!==s[e=n]&&(s[e]=!0,o.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details')),!1)},t.resetLoggedProperties=function(){Object.keys(s).forEach(function(e){delete s[e]})};var i=n(726),o=(t=n(566))&&t.__esModule?t:{default:t},s=Object.create(null)},614:function(e,t){"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){return"function"!=typeof e?e:function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}},566:function(e,t,n){"use strict";t.__esModule=!0;var i=n(849),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){var t;return e="string"==typeof e?0<=(t=i.indexOf(o.methodMap,e.toLowerCase()))?t:parseInt(e,10):e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){e=o.methodMap[e];console[e]||(e="log");for(var t=arguments.length,n=Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];console[e].apply(console,n)}}};t.default=o,e.exports=t.default},148:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default},624:function(e,t,n){"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=f.COMPILER_REVISION;if(!(t>=f.LAST_COMPATIBLE_COMPILER_REVISION&&t<=f.COMPILER_REVISION)){if(t<f.LAST_COMPATIBLE_COMPILER_REVISION)throw n=f.REVISION_CHANGES[n],t=f.REVISION_CHANGES[t],new p.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your prec
1ompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+t+").");throw new p.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},t.template=function(l,c){if(!c)throw new p.default("No environment passed to template");if(!l||!l.main)throw new p.default("Unknown template object: "+typeof l);l.main.decorator=l.main_d,c.VM.checkRevision(l.compiler);var n=l.compiler&&7===l.compiler[0],u={strict:function(e,t,n){if(e&&t in e)return u.lookupProperty(e,t);throw new p.default('"'+t+'" not defined in '+e,{loc:n})},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||a.resultIsAllowed(n,u.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,i=0;i<n;i++)if(null!=(e[i]&&u.lookupProperty(e[i],t)))return e[i][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:h.escapeExpression,invokePartial:function(e,t,n){n.hash&&(t=h.extend({},t,n.hash),n.ids)&&(n.ids[0]=!0),e=c.VM.resolvePartial.call(this,e,t,n);var i=h.extend({},n,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),o=c.VM.invokePartial.call(this,e,t,i);if(null==o&&c.compile&&(n.partials[n.name]=c.compile(e,l.compilerOptions,c),o=n.partials[n.name](t,i)),null==o)throw new p.default("The partial "+n.name+" could not be compiled when running in runtime-only mode");if(n.indent){for(var s=o.split("\n"),r=0,a=s.length;r<a&&(s[r]||r+1!==a);r++)s[r]=n.indent+s[r];o=s.join("\n")}return o},fn:function(e){var t=l[e];return t.decorator=l[e+"_d"],t},programs:[],program:function(e,t,n,i,o){var s=this.programs[e],r=this.fn(e);return s=t||o||i||n?m(this,e,r,t,n,i,o):s||(this.programs[e]=m(this,e,r))},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return n=e&&t&&e!==t?h.extend({},t,e):n},nullContext:Object.seal({}),noop:c.VM.noop,compilerInfo:l.compiler};function d(e){var t,n,i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=i.data,s=(d._setup(i),!i.partial&&l.useData&&(t=e,(n=o)&&"root"in n||((n=n?f.createFrame(n):{}).root=t),o=n),void 0),r=l.useBlockParams?[]:void 0;function a(e){return""+l.main(u,e,u.helpers,u.partials,o,r,s)}return l.useDepths&&(s=i.depths?e!=i.depths[0]?[e].concat(i.depths):i.depths:[e]),(a=g(l.main,a,u,i.depths||[],o,r))(e,i)}return d.isTop=!0,d._setup=function(e){var t,i,o;e.partial?(u.protoAccessControl=e.protoAccessControl,u.helpers=e.helpers,u.partials=e.partials,u.decorators=e.decorators,u.hooks=e.hooks):(t=h.extend({}
1,c.helpers,e.helpers),i=t,o=u,Object.keys(i).forEach(function(e){var t,n=i[e];i[e]=(t=o.lookupProperty,r.wrapHelper(n,function(e){return h.extend({lookupProperty:t},e)}))}),u.helpers=t,l.usePartial&&(u.partials=u.mergeIfNeeded(e.partials,c.partials)),(l.usePartial||l.useDecorators)&&(u.decorators=h.extend({},c.decorators,e.decorators)),u.hooks={},u.protoAccessControl=a.createProtoAccessControl(e),t=e.allowCallsToHelperMissing||n,s.moveHelperToHooks(u,"helperMissing",t),s.moveHelperToHooks(u,"blockHelperMissing",t))},d._child=function(e,t,n,i){if(l.useBlockParams&&!n)throw new p.default("must pass block params");if(l.useDepths&&!i)throw new p.default("must pass parent depths");return m(u,e,l[e],t,0,n,i)},d},t.wrapProgram=m,t.resolvePartial=function(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],e},t.invokePartial=function(e,t,n){var i,o=n.data&&n.data["partial-block"],s=(n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath),void 0);if(n.fn&&n.fn!==l&&(n.data=f.createFrame(n.data),i=n.fn,s=n.data["partial-block"]=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return t.data=f.createFrame(t.data),t.data["partial-block"]=o,i(e,t)},i.partials&&(n.partials=h.extend({},n.partials,i.partials))),void 0===(e=void 0===e&&s?s:e))throw new p.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=l;var h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(849)),p=(t=n(769))&&t.__esModule?t:{default:t},f=n(871),s=n(277),r=n(614),a=n(865);function m(i,e,o,s,t,r,a){function n(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=a;return!a||e==a[0]||e===i.nullContext&&null===a[0]||(n=[e].concat(a)),o(i,e,i.helpers,i.partials,t.data||s,r&&[t.blockParams].concat(r),n)}return(n=g(o,n,i,a,s,r)).program=e,n.depth=a?a.length:0,n.blockParams=t||0,n}function l(){return""}function g(e,t,n,i,o,s){return e.decorator&&(t=e.decorator(t,e={},n,i&&i[0],o,s,i),h.extend(t,e)),t}},613:function(e,t){"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},849:function(e,t){"use strict";t.__esModule=!0,t.extend=r,t.indexOf=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return o.test(e)?e.replace(i,s):e},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=r({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},i=/[&<>"'`=]/g,o=/[&<>"'`=]/;function s(e){return n[e]}function r(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var a=Object.prototype.toString,l=(t.toString=a,function(e){return"function"==typeof e}),c=(l(/x/)&&(t.isFunction=l=function(e){return"function"==typeof e&&"[object Function]"===a.call(e)}),t.isFunction=l,Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===a.call(e)});t.isArray=c},633:function(e,t,n){e.exports=n(261).default}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];return void 0!==t||(t=__webpack_module_cache__[e]={exports:{}},__webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__)),t.exports}__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var __webpack_exports__=__webpack_require__(497);return __webpack_exports__}),!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(x,N){"use strict";function y(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item}function H(e){return null!=e&&e===e.window}
vendor: 18,996 bytes, line 1
1var t=[],L=Object.getPrototypeOf,a=t.slice,$=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},q=t.push,b=t.indexOf,F={},z=F.toString,U=F.hasOwnProperty,W=U.toString,B=W.call(Object),m={},C=x.document,Y={type:!0,src:!0,nonce:!0,noModule:!0};function V(e,t,n){var i,o,s=(n=n||C).createElement("script");if(s.text=e,t)for(i in Y)(o=t[i]||t.getAttribute&&t.getAttribute(i))&&s.setAttribute(i,o);n.head.appendChild(s).parentNode.removeChild(s)}function K(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?F[z.call(e)]||"object":typeof e}var G=/HTML$/i,k=function(e,t){return new k.fn.init(e,t)};function Q(e){var t=!!e&&"length"in e&&e.length,n=K(e);return!y(e)&&!H(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function _(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}k.fn=k.prototype={jquery:"3.7.1",constructor:k,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=k.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return k.each(this,e)},map:function(n){return this.pushStack(k.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(k.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:q,sort:t.sort,splice:t.splice},k.extend=k.fn.extend=function(){var e,t,n,i,o,s=arguments[0]||{},r=1,a=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[r]||{},r++),"object"==typeof s||y(s)||(s={}),r===a&&(s=this,r--);r<a;r++)if(null!=(e=arguments[r]))for(t in e)n=e[t],"__proto__"!==t&&s!==n&&(l&&n&&(k.isPlainObject(n)||(i=Array.isArray(n)))?(o=s[t],o=i&&!Array.isArray(o)?[]:i||k.isPlainObject(o)?o:{},i=!1,s[t]=k.extend(l,o,n)):void 0!==n&&(s[t]=n));return s},k.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==z.call(e)||(e=L(e))&&("function"!=typeof(e=U.call(e,"constructor")&&e.constructor)||W.call(e)!==B))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){V(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(Q(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,o=e.nodeType;if(!o)for(;t=e[i++];)n+=k.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){t=t||[];return null!=e&&(Q(Object(e))?k.merge(t,"string"==typeof e?[e]:e):q.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:b.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!G.test(t||e&&e.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,s=e.length,r=!n;o<s;o++)!t(e[o],o)!=r&&i.push(e[o]);return i},map:function(e,t,n){var i,o,s=0,r=[];if(Q(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,n))&&r.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&r.push(o);return $(r)},guid:1,support:m}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=t[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){F["[object "+t+"]"]=t.toLowerCase()});var X=t.pop,J=t.sort,Z=t.splice,n="[\\x20\\t\\r\\n\\f]",ee=new RegExp("^"+n+"+|((?:^|[^\\\\])(?:\\\\.)*)"+n+"+$","g"),te=(k.contains=function(e,t){t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(e.contains?e.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))},/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g);function ne(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}k.escapeSelector=function(e){return(e+"").replace(te,ne)};var ie,w,oe,se,re,S,i,A,h,ae,o=C,le=q,E=le,T=k.expando,O=0,ce=0,ue=Oe(),de=Oe(),he=Oe(),pe=Oe(),fe=function(e,t){return e===t&&(re=!0),0},me="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",e="(?:\\\\[\\da-fA-F]{1,6}"+n+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",s="\\["+n+"*("+e+")(?:"+n+"*([*^$|!~]?=)"+n+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+e+"))|)"+n+"*\\]",r=":("+e+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+s+")*)|.*)\\)|)",ge=new RegExp(n+"+","g"),ve=new RegExp("^"+n+"*,"+n+"*"),ye=new RegExp("^"+n+"*([>+~]|"+n+")"+n+"*"),be=new RegExp(n+"|>"),_e=new RegExp(r),we=new RegExp("^"+e+"$"),xe={ID:new RegExp("^#("+e+")"),CLASS:new RegExp("^\\.("+e+")"),TAG:new RegExp("^("+e+"|[*])"),ATTR:new RegExp("^"+s),PSEUDO:new RegExp("^"+r),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+n+"*(even|odd|(([+-]|)(\\d*)n|)"+n+"*(?:([+-]|)"+n+"*(\\d+)|))"+n+"*\\)|)","i"),bool:new RegExp("^(?:"+me+")$","i"),needsContext:new RegExp("^"+n+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+n+"*((?:-\\d)?\\d*)"+n+"*\\)|)(?=[^-]|$)","i")},Ce=/^(?:input|select|textarea|button)$/i,ke=/^h\d$/i,Se=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ae=/[+~]/,d=new RegExp("\\\\[\\da-fA-F]{1,6}"+n+"?|\\\\([^\\r\\n\\f])","g"),p=function(e,t){e="0x"+e.slice(1)-65536;return t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))},Ee=function(){je()},Te=Le(function(e){return!0===e.disabled&&_(e,"fieldset")},{dir:"parentNode",next:"legend"});try{E.apply(t=a.call(o.childNodes),o.childNodes),t[o.childNodes.length].nodeType}catch(ie){E={apply:function(e,t){le.apply(e,a.call(t))},call:function(e){le.apply(e,a.call(arguments,1))}}}function D(e,t,n,i){var o,s,r,a,l,c,u=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!i&&(je(t),t=t||S,A)){if(11!==d&&(a=Se.exec(e)))if(o=a[1]){if(9===d){if(!(c=t.getElementById(o)))return n;if(c.id===o)return E.call(n,c),n}else if(u&&(c=u.getElementById(o))&&D.contains(t,c)&&c.id===o)return E.call(n,c),n}else{if(a[2])return E.apply(n,t.getElementsByTagName(e)),n;if((o=a[3])&&t.getElementsByClassName)return E.apply(n,t.getElementsByClassName(o)),n}if(!(pe[e+" "]||h&&h.test(e))){if(c=e,u=t,1===d&&(be.test(e)||ye.test(e))){for((u=Ae.test(e)&&Pe(t.parentNode)||t)==t&&m.scope||((r=t.getAttribute("id"))?r=k.escapeSelector(r):t.setAttribute("id",r=T)),s=(l=Ne(e)).length;s--;)l[s]=(r?"#"+r:":scope")+" "+He(l[s]);c=l.join(",")}try{return E.apply(n,u.querySelectorAll(c)),n}catch(t){pe(e,!0)}finally{r===T&&t.removeAttribute("id")}}}return Ue(e.replace(ee,"$1"),t,n,i)}function Oe(){var i=[];return function e(t,n){return i.push(t+" ")>w.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function I(e){return e[T]=!0,e}function De(e){var t=S.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function Ie(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Te(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function Me(r){return I(function(s){return s=+s,I(function(e,t){for(var n,i=r([],e.length,s),o=i.length;o--;)e[n=i[o]]&&(e[n]=!(t[n]=e[n]))})})}function Pe(e){return e&&void 0!==e.getElementsByTagName&&e}function je(e){var e=e?e.ownerDocument||e:o;return e!=S&&9===e.nodeType&&e.documentElement&&(i=(S=e).documentElement,A=!k.isXMLDoc(S),ae=i.matches||i.webkitMatchesSelector||i.msMatchesSelector,i.msMatchesSelector&&o!=S&&(e=S.defaultView)&&e.top!==e&&e.addEventListener("unload",Ee),m.getById=De(function(e){return i.appendChild(e).id=k.expando,!S.getElementsByName||!S.getElementsByName(k.expando).length}),m.disconnectedMatch=De(function(e){return ae.call(e,"*")}),m.scope=De(function(){return S.querySelectorAll(":scope")}),m.cssHas=De(function(){try{return S.querySelector(":has(*,:jqfake)"),0}catch(e){return 1}}),m.getById?(w.filter.ID=function(e){var t=e.replace(d,p);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&A)return(t=t.getElementById(e))?[t]:[]}):(w.filter.ID=function(e){var t=e.replace(d,p);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&A){var n,i,o,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(o=t.getElementsByName(e),i=0;s=o[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),w.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},w.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&A)return t.getElementsByClassName(e)},h=[],De(function(e){var t;i.appendChild(e).innerHTML="<a id='"+T+"' href='' disabled='disabled'></a><select id='"+T+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+n+"*(?:value|"+me+")"),e.querySelectorAll("[id~="+T+"-]").length||h.push("~="),e.querySelectorAll("a#"+T+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=S.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),i.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=S.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+n+"*name"+n+"*="+n+"*(?:''|\"\")")}),m.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),fe=function(e,t){var n;return e===t?(re=!0,0):!e.compareDocumentPosition-!t.compareDocumentPosition||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===n?e===S||e.ownerDocument==o&&D.contains(o,e)?-1:t===S||t.ownerDocument==o&&D.contains(o,t)?1:se?b.call(se,e)-b.call(se,t):0:4&n?-1:1)}),S}for(ie in D.matches=function(e,t){return D(e,null,null,t)},D.matchesSelector=function(e,t){if(je(e),A&&!pe[t+" "]&&(!h||!h.test(t)))try{var n=ae.call(e,t);if(n||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){pe(t,!0)}return 0<D(t,S,null,[e]).length},D.contains=function(e,t){return(e.ownerDocument||e)!=S&&je(e),k.contains(e,t)},D.attr=function(e,t){(e.ownerDocument||e)!=S&&je(e);var n=w.attrHandle[t.toLowerCase()],n=n&&U.call(w.attrHandle,t.toLowerCase())?n(e,t,!A):void 0;return void 0!==n?n:e.getAttribute(t)},D.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k.uniqueSort=function(e){var t,n=[],i=0,o=0;if(re=!m.sortStable,se=!m.sortStable&&a.call(e,0),J.call(e,fe),re){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)Z.call(e,n[i],1)}return se=null,e},k.fn.uniqueSort=function(){return this.pushStack(k.uniqueSort(a.apply(this)))},(w=k.expr={cacheLength:50,createPseudo:I,match:xe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(d,p),e[3]=(e[3]||e[4]||e[5]||"").replace(d,p),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||D.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&D.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return xe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&_e.test(n)&&(t=(t=Ne(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(d,p).toLowerCase();return"*"===e?function(){return!0}:function(e){return _(e,t)}},CLASS:function(e){var t=ue[e+" "];return t||(t=new RegExp("(^|"+n+")"+e+"("+n+"|$)"))&&ue(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=D.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1<e.indexOf(i):"$="===n?i&&e.slice(-i.length)===i:"~="===n?-1<(" "+e.replace(ge," ")+" ").indexOf(i):"|="===n&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,f,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===e;return 1===f&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,o,s,r,a,l=g!=v?"nextSibling":"previousSibling",c=e.parentNode,u=y&&e.nodeName.toLowerCase(),d=!n&&!y,h=!1;if(c){if(g){for(;l;){for(s=e;s=s[l];)if(y?_(s,u):1===s.nodeType)return!1;a=l="only"===p&&!a&&"nextSibling"}return!0}if(a=[v?c.firstChild:c.lastChild],v&&d){for(h=(r=(i=(o=c[T]||(c[T]={}))[p]||[])[0]===O&&i[1])&&i[2],s=r&&c.childNodes[r];s=++r&&s&&s[l]||(h=r=0,a.pop());)if(1===s.nodeType&&++h&&s===e){o[p]=[O,r,h];break}}else if(!1===(h=d?r=(i=(o=e[T]||(e[T]={}))[p]||[])[0]===O&&i[1]:h))for(;(s=++r&&s&&s[l]||(h=r=0,a.pop()))&&((y?!_(s,u):1!==s.nodeType)||!++h||(d&&((o=s[T]||(s[T]={}))[p]=[O,h]),s!==e)););return(h-=m)===f||h%f==0&&0<=h/f}}},PSEUDO:function(e,s){var t,r=w.pseudos[e]||w.setFilters[e.toLowerCase()]||D.error("unsupported pseudo: "+e);return r[T]?r(s):1<r.length?(t=[e,e,"",s],w.setFilters.hasOwnProperty(e.toLowerCase())?I(function(e,t){for(var n,i=r(e,s),o=i.length;o--;)e[n=b.call(e,i[o])]=!(t[n]=i[o])}):function(e){return r(e,0,t)}):r}},pseudos:{not:I(function(e){var i=[],o=[],a=ze(e.replace(ee,"$1"));return a[T]?I(function(e,t,n,i){for(var o,s=a(e,null,i,[]),r=e.length;r--;)(o=s[r])&&(e[r]=!(t[r]=o))}):function(e,t,n){return i[0]=e,a(i,null,n,o),i[0]=null,!o.pop()}}),has:I(function(t){return function(e){return 0<D(t,e).length}}),contains:I(function(t){return t=t.replace(d,p),function(e){return-1<(e.textContent||k.text(e)).indexOf(t)}}),lang:I(function(n){return we.test(n||"")||D.error("unsupported lang: "+n),n=n.replace(d,p).toLowerCase(),function(e){var t;do{if(t=A?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=x.location&&x.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===i},focus:function(e){return e===function(){try{return S.activeElement}catch(e){}}()&&S.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:Ie(!1),disabled:Ie(!0),checked:function(e){return _(e,"input")&&!!e.checked||_(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return ke.test(e.nodeName)},input:function(e){return Ce.test(e.nodeName)},button:function(e){return _(e,"input")&&"button"===e.type||_(e,"button")},text:function(e){return _(e,"input")&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:Me(function(){return[0]}),last:Me(function(e,t){return[t-1]}),eq:Me(function(e,t,n){return[n<0?n+t:n]}),even:Me(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:Me(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:Me(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:Me(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[ie]=function(t){return function(e){return _(e,"input")&&e.type===t}}(ie);for(ie in{submit:!0,reset:!0})w.pseudos[ie]=function(t){return function(e){return(_(e,"input")||_(e,"button"))&&e.type===t}}(ie);function Re(){}function Ne(e,t){var n,i,o,s,r,a,l,c=de[e+" "];if(c)return t?0:c.slice(0);for(r=e,a=[],l=w.preFilter;r;){for(s in n&&!(i=ve.exec(r))||(i&&(r=r.slice(i[0].length)||r),a.push(o=[])),n=!1,(i=ye.exec(r))&&(n=i.shift(),o.push({value:n,type:i[0].replace(ee," ")}),r=r.slice(n.length)),w.filter)!(i=xe[s].exec(r))||l[s]&&!(i=l[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),r=r.slice(n.length));if(!n)break}return t?r.length:r?D.error(e):de(e,a).slice(0)}function He(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function Le(r,e,t){var a=e.dir,l=e.next,c=l||a,u=t&&"parentNode"===c,d=ce++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||u)return r(e,t,n);return!1}:function(e,t,n){var i,o,s=[O,d];if(n){for(;e=e[a];)if((1===e.nodeType||u)&&r(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||u)if(o=e[T]||(e[T]={}),l&&_(e,l))e=e[a]||e;else{if((i=o[c])&&i[0]===O&&i[1]===d)return s[2]=i[2];if((o[c]=s)[2]=r(e,t,n))return!0}return!1}}function $e(o){return 1<o.length?function(e,t,n){for(var i=o.length;i--;)if(!o[i](e,t,n))return!1;return!0}:o[0]}function qe(e,t,n,i,o){for(var s,r=[],a=0,l=e.length,c=null!=t;a<l;a++)!(s=e[a])||n&&!n(s,i,o)||(r.push(s),c&&t.push(a));return r}function Fe(e){for(var i,t,n,o=e.length,s=w.relative[e[0].type],r=s||w.relative[" "],a=s?1:0,l=Le(function(e){return e===i},r,!0),c=Le(function(e){return-1<b.call(i,e)},r,!0),u=[function(e,t,n){e=!s&&(n||t!=oe)||((i=t).nodeType?l:c)(e,t,n);return i=null,e}];a<o;a++)if(t=w.relative[e[a].type])u=[Le($e(u),t)];else{if((t=w.filter[e[a].type].apply(null,e[a].matches))[T]){for(n=++a;n<o&&!w.relative[e[n].type];n++);return function e(p,f,m,g,v,t){return g&&!g[T]&&(g=e(g)),v&&!v[T]&&(v=e(v,t)),I(function(e,t,n,i){var o,s,r,a,l=[],c=[],u=t.length,d=e||function(e,t,n){for(var i=0,o=t.length;i<o;i++)D(e,t[i],n);return n}(f||"*",n.nodeType?[n]:n,[]),h=!p||!e&&f?d:qe(d,l,p,n,i);if(m?m(h,a=v||(e?p:u||g)?[]:t,n,i):a=h,g)for(o=qe(a,c),g(o,[],n,i),s=o.length;s--;)(r=o[s])&&(a[c[s]]=!(h[c[s]]=r));if(e){if(v||p){if(v){for(o=[],s=a.length;s--;)(r=a[s])&&o.push(h[s]=r);v(null,a=[],o,i)}for(s=a.length;s--;)(r=a[s])&&-1<(o=v?b.call(e,r):l[s])&&(e[o]=!(t[o]=r))}}else a=qe(a===t?a.splice(u,a.length):a),v?v(null,t,a,i):E.apply(t,a)})}(1<a&&$e(u),1<a&&He(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ee,"$1"),t,a<n&&Fe(e.slice(a,n)),n<o&&Fe(e=e.slice(n)),n<o&&He(e))}u.push(t)}return $e(u)}function ze(e,t){var n,g,v,y,b,i,o=[],s=[],r=he[e+" "];if(!r){for(n=(t=t||Ne(e)).length;n--;)((r=Fe(t[n]))[T]?o:s).push(r);(r=he(e,(y=0<(v=o).length,b=0<(g=s).length,i=function(e,t,n,i,o){var s,r,a,l=0,c="0",u=e&&[],d=[],h=oe,p=e||b&&w.find.TAG("*",o),f=O+=null==h?1:Math.random()||.1,m=p.length;for(o&&(oe=t==S||t||o);c!==m&&null!=(s=p[c]);c++){if(b&&s){for(r=0,t||s.ownerDocument==S||(je(s),n=!A);a=g[r++];)if(a(s,t||S,n)){E.call(i,s);break}
vendor: 7,301 bytes, line 1
1o&&(O=f)}y&&((s=!a&&s)&&l--,e)&&u.push(s)}if(l+=c,y&&c!==l){for(r=0;a=v[r++];)a(u,d,t,n);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=X.call(i));d=qe(d)}E.apply(i,d),o&&!e&&0<d.length&&1<l+v.length&&k.uniqueSort(i)}return o&&(O=f,oe=h),u},y?I(i):i))).selector=e}return r}function Ue(e,t,n,i){var o,s,r,a,l,c="function"==typeof e&&e,u=!i&&Ne(e=c.selector||e);if(n=n||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(r=s[0]).type&&9===t.nodeType&&A&&w.relative[s[1].type]){if(!(t=(w.find.ID(r.matches[0].replace(d,p),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(o=xe.needsContext.test(e)?0:s.length;o--&&(r=s[o],!w.relative[a=r.type]);)if((l=w.find[a])&&(i=l(r.matches[0].replace(d,p),Ae.test(s[0].type)&&Pe(t.parentNode)||t))){if(s.splice(o,1),e=i.length&&He(s))break;return E.apply(n,i),n}}return(c||ze(e,u))(i,t,!A,n,!t||Ae.test(e)&&Pe(t.parentNode)||t),n}Re.prototype=w.filters=w.pseudos,w.setFilters=new Re,m.sortStable=T.split("").sort(fe).join("")===T,je(),m.sortDetached=De(function(e){return 1&e.compareDocumentPosition(S.createElement("fieldset"))}),k.find=D,k.expr[":"]=k.expr.pseudos,k.unique=k.uniqueSort,D.compile=ze,D.select=Ue,D.setDocument=je,D.tokenize=Ne,D.escape=k.escapeSelector,D.getText=k.text,D.isXML=k.isXMLDoc,D.selectors=k.expr,D.support=k.support,D.uniqueSort=k.uniqueSort;function We(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&k(e).is(n))break;i.push(e)}return i}function Be(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var Ye=k.expr.match.needsContext,Ve=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ke(e,n,i){return y(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?k.grep(e,function(e){return e===n!==i}):"string"!=typeof n?k.grep(e,function(e){return-1<b.call(n,e)!==i}):k.filter(n,e,i)}k.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?k.find.matchesSelector(i,e)?[i]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<i;t++)if(k.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)k.find(e,o[t],n);return 1<i?k.uniqueSort(n):n},filter:function(e){return this.pushStack(Ke(this,e||[],!1))},not:function(e){return this.pushStack(Ke(this,e||[],!0))},is:function(e){return!!Ke(this,"string"==typeof e&&Ye.test(e)?k(e):e||[],!1).length}});var Ge,Qe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Xe=((k.fn.init=function(e,t,n){if(e){if(n=n||Ge,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Qe.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),Ve.test(i[1])&&k.isPlainObject(t))for(var i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i])}else(n=C.getElementById(i[2]))&&(this[0]=n,this.length=1)}return this}).prototype=k.fn,Ge=k(C),/^(?:parents|prev(?:Until|All))/),Je={children:!0,contents:!0,next:!0,prev:!0};function Ze(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,s=[],r="string"!=typeof e&&k(e);if(!Ye.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&k.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(1<s.length?k.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?b.call(k(e),this[0]):b.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return We(e,"parentNode")},parentsUntil:function(e,t,n){return We(e,"parentNode",n)},next:function(e){return Ze(e,"nextSibling")},prev:function(e){return Ze(e,"previousSibling")},nextAll:function(e){return We(e,"nextSibling")},prevAll:function(e){return We(e,"previousSibling")},nextUntil:function(e,t,n){return We(e,"nextSibling",n)},prevUntil:function(e,t,n){return We(e,"previousSibling",n)},siblings:function(e){return Be((e.parentNode||{}).firstChild,e)},children:function(e){return Be(e.firstChild)},contents:function(e){return null!=e.contentDocument&&L(e.contentDocument)?e.contentDocument:(_(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(i,o){k.fn[i]=function(e,t){var n=k.map(this,o,e);return(t="Until"!==i.slice(-5)?e:t)&&"string"==typeof t&&(n=k.filter(t,n)),1<this.length&&(Je[i]||k.uniqueSort(n),Xe.test(i))&&n.reverse(),this.pushStack(n)}});var M=/[^\x20\t\r\n\f]+/g;function et(e){return e}function tt(e){throw e}function nt(e,t,n,i){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(n):e&&y(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(i){var e,n;i="string"==typeof i?(e=i,n={},k.each(e.match(M)||[],function(e,t){n[t]=!0}),n):k.extend({},i);function o(){for(a=a||i.once,r=s=!0;c.length;u=-1)for(t=c.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&i.stopOnFalse&&(u=l.length,t=!1);i.memory||(t=!1),s=!1,a&&(l=t?[]:"")}var s,t,r,a,l=[],c=[],u=-1,d={add:function(){return l&&(t&&!s&&(u=l.length-1,c.push(t)),function n(e){k.each(e,function(e,t){y(t)?i.unique&&d.has(t)||l.push(t):t&&t.length&&"string"!==K(t)&&n(t)})}(arguments),t)&&!s&&o(),this},remove:function(){return k.each(arguments,function(e,t){for(var n;-1<(n=k.inArray(t,l,n));)l.splice(n,1),n<=u&&u--}),this},has:function(e){return e?-1<k.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return a=c=[],t||s||(l=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),s)||o(),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},k.extend({Deferred:function(e){var s=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var o=arguments;return k.Deferred(function(i){k.each(s,function(e,t){var n=y(o[t[4]])&&o[t[4]];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&y(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),o=null}).promise()},then:function(t,n,i){var l=0;function c(o,s,r,a){return function(){function e(){var e,t;if(!(o<l)){if((e=r.apply(n,i))===s.promise())throw new TypeError("Thenable self
1-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?a?t.call(e,c(l,s,et,a),c(l,s,tt,a)):(l++,t.call(e,c(l,s,et,a),c(l,s,tt,a),c(l,s,et,s.notifyWith))):(r!==et&&(n=void 0,i=[e]),(a||s.resolveWith)(n,i))}}var n=this,i=arguments,t=a?e:function(){try{e()}catch(e){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(e,t.error),l<=o+1&&(r!==tt&&(n=void 0,i=[e]),s.rejectWith(n,i))}};o?t():(k.Deferred.getErrorHook?t.error=k.Deferred.getErrorHook():k.Deferred.getStackHook&&(t.error=k.Deferred.getStackHook()),x.setTimeout(t))}}return k.Deferred(function(e){s[0][3].add(c(0,e,y(i)?i:et,e.notifyWith)),s[1][3].add(c(0,e,y(t)?t:et)),s[2][3].add(c(0,e,y(n)?n:tt))}).promise()},promise:function(e){return null!=e?k.extend(e,r):r}},a={};return k.each(s,function(e,t){var n=t[2],i=t[5];r[t[1]]=n.add,i&&n.add(function(){o=i},s[3-e][2].disable,s[3-e][3].disable,s[0][2].lock,s[0][3].lock),n.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=n.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){function t(t){return function(e){o[t]=this,s[t]=1<arguments.length?a.call(arguments):e,--n||r.resolveWith(o,s)}}var n=arguments.length,i=n,o=Array(i),s=a.call(arguments),r=k.Deferred();if(n<=1&&(nt(e,r.done(t(i)).resolve,r.reject,!n),"pending"===r.state()||y(s[i]&&s[i].then)))return r.then();for(;i--;)nt(s[i],t(i),r.reject);return r.promise()}});var it=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,ot=(k.Deferred.exceptionHook=function(e,t){x.console&&x.console.warn&&e&&it.test(e.name)&&x.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){x.setTimeout(function(){throw e})},k.Deferred());function st(){C.removeEventListener("DOMContentLoaded",st),x.removeEventListener("load",st),k.ready()}k.fn.ready=function(e){return ot.then(e).catch(function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0)!==e&&0<--k.readyWait||ot.resolveWith(C,[k])}}),k.ready.then=ot.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?x.setTimeout(k.ready):(C.addEventListener("DOMContentLoaded",st),x.addEventListener("load",st));function u(e,t,n,i,o,s,r){var a=0,l=e.length,c=null==n;if("object"===K(n))for(a in o=!0,n)u(e,t,a,n[a],!0,s,r);else if(void 0!==i&&(o=!0,y(i)||(r=!0),t=c?r?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(k(e),n)}):t))for(;a<l;a++)t(e[a],n,r?i:i.call(e[a],a,t(e[a],n)));return o?e:c?t.call(e):l?t(e[0],n):s}var rt=/^-ms-/,at=/-([a-z])/g;function lt(e,t){return t.toUpperCase()}function P(e){return e.replace(rt,"ms-").replace(at,lt)}function ct(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function ut(){this.expando=k.expando+ut.uid++}ut.uid=1,ut.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ct(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[P(t)]=n;else for(i in t)o[P(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][P(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(P):(t=P(t))in i?[t]:t.match(M)||[]).length;for(;n--;)delete i[t[n]]}void 0!==t&&!k.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!k.isEmptyObject(e)}};var v=new ut,l=new ut,dt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ht=/[A-Z]/g;function pt(e,t,n){var i,o;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ht,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:dt.test(o)?JSON.parse(o):o)}catch(e){}l.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return l.hasData(e)||v.hasData(e)},data:function(e,t,n){return l.access(e,t,n)},removeData:function(e,t){l.remove(e,t)},_data:function(e,t,n){return v.access(e,t,n)},_removeData:function(e,t){v.remove(e,t)}}),k.fn.extend({data:function(n,e){var t,i,o,s=this[0],r=s&&s.attributes;
vendor: 4,586 bytes, line 1
1if(void 0!==n)return"object"==typeof n?this.each(function(){l.set(this,n)}):u(this,function(e){var t;if(s&&void 0===e)return void 0!==(t=l.get(s,n))||void 0!==(t=pt(s,n))?t:void 0;this.each(function(){l.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(o=l.get(s),1===s.nodeType)&&!v.get(s,"hasDataAttrs")){for(t=r.length;t--;)r[t]&&0===(i=r[t].name).indexOf("data-")&&(i=P(i.slice(5)),pt(s,i,o[i]));v.set(s,"hasDataAttrs",!0)}return o},removeData:function(e){return this.each(function(){l.remove(this,e)})}}),k.extend({queue:function(e,t,n){var i;if(e)return i=v.get(e,t=(t||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=v.access(e,t,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),i=n.length,o=n.shift(),s=k._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete s.stop,o.call(e,function(){k.dequeue(e,t)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v.get(e,n)||v.access(e,n,{empty:k.Callbacks("once memory").add(function(){v.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?k.queue(this[0],t):void 0===n?this:this.each(function(){var e=k.queue(this,t,n);k._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&k.dequeue(this,t)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--o||s.resolveWith(r,[r])}var i,o=1,s=k.Deferred(),r=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=v.get(r[a],e+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),s.promise(t)}});function ft(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&yt(e)&&"none"===k.css(e,"display")}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,mt=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),gt=["Top","Right","Bottom","Left"],vt=C.documentElement,yt=function(e){return k.contains(e.ownerDocument,e)},bt={composed:!0};vt.getRootNode&&(yt=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(bt)===e.ownerDocument});function _t(e,t,n,i){var o,s,r=20,a=i?function(){return i.cur()}:function(){return k.css(e,t,"")},l=a(),c=n&&n[3]||(k.cssNumber[t]?"":"px"),u=e.nodeType&&(k.cssNumber[t]||"px"!==c&&+l)&&mt.exec(k.css(e,t));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;r--;)k.style(e,t,u+c),(1-s)*(1-(s=a()/l||.5))<=0&&(r=0),u/=s;k.style(e,t,(u*=2)+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i)&&(i.unit=c,i.start=u,i.end=o),o}var wt={};function xt(e,t){for(var n,i,o,s,r,a,l=[],c=0,u=e.length;c<u;c++)(i=e[c]).style&&(n=i.style.display,t?("none"===n&&(l[c]=v.get(i,"display")||null,l[c]||(i.style.display="")),""===i.style.display&&ft(i)&&(l[c]=(a=s=o=void 0,s=i.ownerDocument,r=i.nodeName,(a=wt[r])||(o=s.body.appendChild(s.createElement(r)),a=k.css(o,"display"),o.parentNode.removeChild(o),wt[r]=a="none"===a?"block":a)))):"none"!==n&&(l[c]="none",v.set(i,"display",n)));for(c=0;c<u;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}k.fn.extend({show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ft(this)?k(this).show():k(this).hide()})}});var Ct=/^(?:checkbox|radio)$/i,kt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,St=/^$|^module$|\/(?:java|ecma)script/i,s=C.createDocumentFragment().appendChild(C.createElement("div")),f=((r=C.createElement("input")).setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),s.appendChild(r),m.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,s.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!s.cloneNode(!0).lastChild.defaultValue,s.innerHTML="<option></option>",m.option=!!s.lastChild,{thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]});function g(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&_(e,t)?k.merge([e],n):n}function At(e,t){for(var n=0,i=e.length;n<i;n++)v.set(e[n],"globalEval",!t||v.get(t[n],"globalEval"))}f.tbody=f.tfoot=f.colgroup=f.caption=f.thead,f.th=f.td,m.option||(f.optgroup=f.option=[1,"<select multiple='multiple'>","</select>"]);var Et=/<|&#?\w+;/;function Tt(e,t,n,i,o){for(var s,r,a,l,c,u=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;
vendor: 6,970 bytes, line 1
1h++)if((s=e[h])||0===s)if("object"===K(s))k.merge(d,s.nodeType?[s]:s);else if(Et.test(s)){for(r=r||u.appendChild(t.createElement("div")),a=(kt.exec(s)||["",""])[1].toLowerCase(),a=f[a]||f._default,r.innerHTML=a[1]+k.htmlPrefilter(s)+a[2],c=a[0];c--;)r=r.lastChild;k.merge(d,r.childNodes),(r=u.firstChild).textContent=""}else d.push(t.createTextNode(s));for(u.textContent="",h=0;s=d[h++];)if(i&&-1<k.inArray(s,i))o&&o.push(s);else if(l=yt(s),r=g(u.appendChild(s),"script"),l&&At(r),n)for(c=0;s=r[c++];)St.test(s.type||"")&&n.push(s);return u}var Ot=/^([^.]*)(?:\.(.+)|)/;function Dt(){return!0}function It(){return!1}function Mt(e,t,n,i,o,s){var r,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Mt(e,a,n,i,t[a],s);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=It;else if(!o)return e;return 1===s&&(r=o,(o=function(e){return k().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=k.guid++)),e.each(function(){k.event.add(this,t,o,i,n)})}function Pt(e,i,t){t?(v.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n=v.get(this,i);if(1&e.isTrigger&&this[i]){if(n)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(n=a.call(arguments),v.set(this,i,n),this[i](),t=v.get(this,i),v.set(this,i,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(v.set(this,i,k.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Dt)}})):void 0===v.get(e,i)&&k.event.add(e,i,Dt)}k.event={global:{},add:function(t,e,n,i,o){var s,r,a,l,c,u,d,h,p,f=v.get(t);if(ct(t))for(n.handler&&(n=(s=n).handler,o=s.selector),o&&k.find.matchesSelector(vt,o),n.guid||(n.guid=k.guid++),a=(a=f.events)||(f.events=Object.create(null)),r=(r=f.handle)||(f.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(M)||[""]).length;l--;)d=p=(h=Ot.exec(e[l])||[])[1],h=(h[2]||"").split(".").sort(),d&&(c=k.event.special[d]||{},d=(o?c.delegateType:c.bindType)||d,c=k.event.special[d]||{},p=k.extend({type:d,origType:p,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:h.join(".")},s),(u=a[d])||((u=a[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,i,h,r))||t.addEventListener&&t.addEventListener(d,r),c.add&&(c.add.call(t,p),p.handler.guid||(p.handler.guid=n.guid)),o?u.splice(u.delegateCount++,0,p):u.push(p),k.event.global[d]=!0)},remove:function(e,t,n,i,o){var s,r,a,l,c,u,d,h,p,f,m,g=v.hasData(e)&&v.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(M)||[""]).length;c--;)if(p=m=(a=Ot.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=k.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=h.length;s--;)u=h[s],!o&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(s,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));r&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||k.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)k.event.remove(e,p+t[c],n,i,!0);k.isEmptyObject(l)&&v.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,s,r=new Array(arguments.length),a=k.event.fix(e),e=(v.get(this,"events")||Object.create(null))[a.type]||[],l=k.event.special[a.type]||{};for(r[0]=a,t=1;t<arguments.length;t++)r[t]=arguments[t];if(a.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,a)){for(s=k.event.handlers.call(this,a,e),t=0;(i=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(o=((k.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,r))&&!1===(a.result=o)&&(a.preventDefault(),a.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,o,s,r,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],r={},n=0;n<l;n++)void 0===r[o=(i=t[n]).selector+" "]&&(r[o]=i.needsContext?-1<k(o,this).index(c):k.find(o,this,null,[c]).length),r[o]&&s.push(i);s.length&&a.push({elem:c,handlers:s})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return Ct.test(e.type)&&e.click&&_(e,"input")&&Pt(e,"click",!0),!1},trigger:function(e){e=this||e;return Ct.test(e.type)&&e.click&&_(e,"input")&&Pt(e,"click"),!0},_default:function(e){e=e.target;return Ct.test(e.type)&&e.click&&_(e,"input")&&v.get(e,"click")||_(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Dt:It,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:It,isPropagationStopped:It,isImmediatePropagationStopped:It,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Dt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Dt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Dt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(i,o){function s(e){var t,n;C.documentMode?(t=v.get(this,"handle"),(n=k.event.fix(e)).type="focusin"===e.type?"focu
1s":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)):k.event.simulate(o,e.target,k.event.fix(e))}k.event.special[i]={setup:function(){var e;if(Pt(this,i,!0),!C.documentMode)return!1;(e=v.get(this,o))||this.addEventListener(o,s),v.set(this,o,(e||0)+1)},trigger:function(){return Pt(this,i),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=v.get(this,o)-1)?v.set(this,o,e):(this.removeEventListener(o,s),v.remove(this,o))},_default:function(e){return v.get(e.target,i)},delegateType:o},k.event.special[o]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=v.get(t,o);n||(C.documentMode?this.addEventListener(o,s):e.addEventListener(i,s,!0)),v.set(t,o,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=v.get(t,o)-1;n?v.set(t,o,n):(C.documentMode?this.removeEventListener(o,s):e.removeEventListener(i,s,!0),v.remove(t,o))}}}),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){k.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||k.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),k.fn.extend({on:function(e,t,n,i){return Mt(this,e,t,n,i)},one:function(e,t,n,i){return Mt(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)i=e.handleObj,k(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=It),this.each(function(){k.event.remove(this,e,n,t)});for(o in e)this.off(o,t,e[o])}return this}});var jt=/<script|<style|<link/i,Rt=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ht(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Lt(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function $t(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qt(e,t){var n,i,o,s;if(1===t.nodeType){if(v.hasData(e)&&(s=v.get(e).events))for(o in v.remove(t,"handle events"),s)for(n=0,i=s[o].length;n<i;n++)k.event.add(t,o,s[o][n]);l.hasData(e)&&(e=l.access(e),e=k.extend({},e),l.set(t,e))}}function Ft(n,i,o,s){i=$(i);var e,t,r,a,l,c,u=0,d=n.length,h=d-1,p=i[0],f=y(p);if(f||1<d&&"string"==typeof p&&!m.checkClone&&Rt.test(p))return n.each(function(e){var t=n.eq(e);f&&(i[0]=p.call(this,e,t.html())),Ft(t,i,o,s)});if(d&&(t=(e=Tt(i,n[0].ownerDocument,!1,n,s)).firstChild,1===e.childNodes.length&&(e=t),t||s)){for(a=(r=k.map(g(e,"script"),Lt)).length;u<d;u++)l=e,u!==h&&(l=k.clone(l,!0,!0),a)&&k.merge(r,g(l,"script")),o.call(n[u],l,u);if(a)for(c=r[r.length-1].ownerDocument,k.map(r,$t),u=0;u<a;u++)l=r[u],St.test(l.type||"")&&!v.access(l,"globalEval")&&k.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&!l.noModule&&k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):V(l.textContent.replace(Nt,""),l,c))}return n}function zt(e,t,n){for(var i,o=t?k.filter(t,e):e,s=0;null!=(i=o[s]);s++)n||1!==i.nodeType||k.cleanData(g(i)),i.parentNode&&(n&&yt(i)&&At(g(i,"script")),i.parentNode.removeChild(i));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,s,r,a,l,c,u=e.cloneNode(!0),d=yt(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(r=g(u),i=0,o=(s=g(e)).length;i<o;i++)a=s[i],"input"===(c=(l=r[i]).nodeName.toLowerCase())&&Ct.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(s=s||g(e),r=r||g(u),i=0,o=s.length;i<o;i++)qt(s[i],r[i]);else qt(e,u);return 0<(r=g(u,"script")).length&&At(r,!d&&g(e,"script")),u},cleanData:function(e){for(var t,n,i,o=k.event.special,s=0;void 0!==(n=e[s]);
vendor: 4,245 bytes, line 1
1s++)if(ct(n)){if(t=n[v.expando]){if(t.events)for(i in t.events)o[i]?k.event.remove(n,i):k.removeEvent(n,i,t.handle);n[v.expando]=void 0}n[l.expando]&&(n[l.expando]=void 0)}}}),k.fn.extend({detach:function(e){return zt(this,e,!0)},remove:function(e){return zt(this,e)},text:function(e){return u(this,function(e){return void 0===e?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ft(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ht(this,e).appendChild(e)})},prepend:function(){return Ft(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Ht(this,e)).insertBefore(e,t.firstChild)})},before:function(){return Ft(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ft(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(g(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.clone(this,e,t)})},html:function(e){return u(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!jt.test(e)&&!f[(kt.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(g(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Ft(this,arguments,function(e){var t=this.parentNode;k.inArray(this,n)<0&&(k.cleanData(g(this)),t)&&t.replaceChild(e,this)},n)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){k.fn[e]=function(e){for(var t,n=[],i=k(e),o=i.length-1,s=0;s<=o;s++)t=s===o?this:this.clone(!0),k(i[s])[r](t),q.apply(n,t.get());return this.pushStack(n)}});function Ut(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:x).getComputedStyle(e)}function Wt(e,t,n){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.call(e),t)e.style[i]=o[i];return n}var Bt,Yt,Vt,Kt,Gt,Qt,Xt,c,Jt=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Zt=/^--/,en=new RegExp(gt.join("|"),"i");function tn(e,t,n){var i,o=Zt.test(t),s=e.style;return(n=n||Ut(e))&&(i=n.getPropertyValue(t)||n[t],""!==(i=o?i&&(i.replace(ee,"$1")||void 0):i)||yt(e)||(i=k.style(e,t)),!m.pixelBoxStyles())&&Jt.test(i)&&en.test(t)&&(o=s.width,e=s.minWidth,t=s.maxWidth,s.minWidth=s.maxWidth=s.width=i,i=n.width,s.width=o,s.minWidth=e,s.maxWidth=t),void 0!==i?i+"":i}function nn(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function on(){var e;c&&(Xt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",vt.appendChild(Xt).appendChild(c),e=x.getComputedStyle(c),Bt="1%"!==e.top,Qt=12===sn(e.marginLeft),c.style.right="60%",Kt=36===sn(e.right),Yt=36===sn(e.width),c.style.position="absolute",Vt=12===sn(c.offsetWidth/3),vt.removeChild(Xt),c=null)}function sn(e){return Math.round(parseFloat(e))}Xt=C.createElement("div"),(c=C.createElement("div")).style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===c.style.backgroundClip,k.extend(m,{boxSizingReliable:function(){return on(),Yt},pixelBoxStyles:function(){return on(),Kt},pixelPosition:function(){return on(),Bt},reliableMarginLeft:function(){return on(),Qt},scrollboxSize:function(){return on(),Vt},reliableTrDimensions:function(){var e,t,n;return null==Gt&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",vt.appendChild(e).appendChild(t).appendChild(n),n=x.getComputedStyle(t),Gt
vendor: 3,873 bytes, line 1
1=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,vt.removeChild(e)),Gt}}));var rn=["Webkit","Moz","ms"],an=C.createElement("div").style,ln={};function cn(e){return k.cssProps[e]||ln[e]||(e in an?e:ln[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=rn.length;n--;)if((e=rn[n]+t)in an)return e}(e)||e)}var un=/^(none|table(?!-c[ea]).+)/,dn={position:"absolute",visibility:"hidden",display:"block"},hn={letterSpacing:"0",fontWeight:"400"};function pn(e,t,n){var i=mt.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function fn(e,t,n,i,o,s){var r="width"===t?1:0,a=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(c+=k.css(e,n+gt[r],!0,o)),i?("content"===n&&(l-=k.css(e,"padding"+gt[r],!0,o)),"margin"!==n&&(l-=k.css(e,"border"+gt[r]+"Width",!0,o))):(l+=k.css(e,"padding"+gt[r],!0,o),"padding"!==n?l+=k.css(e,"border"+gt[r]+"Width",!0,o):a+=k.css(e,"border"+gt[r]+"Width",!0,o));return!i&&0<=s&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l+c}function mn(e,t,n){var i=Ut(e),o=(!m.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,i),s=o,r=tn(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Jt.test(r)){if(!n)return r;r="auto"}return(!m.boxSizingReliable()&&o||!m.reliableTrDimensions()&&_(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===k.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===k.css(e,"boxSizing",!1,i),s=a in e)&&(r=e[a]),(r=parseFloat(r)||0)+fn(e,t,n||(o?"border":"content"),s,i,r)+"px"}function j(e,t,n,i,o){return new j.prototype.init(e,t,n,i,o)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=tn(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,s,r,a=P(t),l=Zt.test(t),c=e.style;if(l||(t=cn(a)),r=k.cssHooks[t]||k.cssHooks[a],void 0===n)return r&&"get"in r&&void 0!==(o=r.get(e,!1,i))?o:c[t];"string"==(s=typeof n)&&(o=mt.exec(n))&&o[1]&&(n=_t(e,t,o),s="number"),null!=n&&n==n&&("number"!==s||l||(n+=o&&o[3]||(k.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var o,s=P(t);return Zt.test(t)||(t=cn(s)),"normal"===(o=void 0===(o=(s=k.cssHooks[t]||k.cssHooks[s])&&"get"in s?s.get(e,!0,n):o)?tn(e,t,i):o)&&t in hn&&(o=hn[t]),(""===n||n)&&(s=parseFloat(o),!0===n||isFinite(s))?s||0:o}}),k.each(["height","width"],function(e,r){k.cssHooks[r]={get:function(e,t,n){if(t)return!un.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?mn(e,r,n):Wt(e,dn,function(){return mn(e,r,n)})},set:function(e,t,n){var i=Ut(e),o=!m.scrollboxSize()&&"absolute"===i.position,s=(o||n)&&"border-box"===k.css(e,"boxSizing",!1,i),n=n?fn(e,r,n,s,i):0;return s&&o&&(n-=Math.ceil(e["offset"+r[0].toUpperCase()+r.slice(1)]-parseFloat(i[r])-fn(e,r,"border",!1,i)-.5)),n&&(s=mt.exec(t))&&"px"!==(s[3]||"px")&&(e.style[r]=t,t=k.css(e,r)),pn(0,t,n)}}}),k.cssHooks.marginLeft=nn(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(tn(e,"marginLeft"))||e.getBoundingClientRect().left-Wt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(o,s){k.cssHooks[o+s]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[o+gt[t]+s]=i[t]||i[t-2]||i[0];return n}}
vendor: 8,621 bytes, line 1
1,"margin"!==o&&(k.cssHooks[o+s].set=pn)}),k.fn.extend({css:function(e,t){return u(this,function(e,t,n){var i,o,s={},r=0;if(Array.isArray(t)){for(i=Ut(e),o=t.length;r<o;r++)s[t[r]]=k.css(e,t[r],!1,i);return s}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,1<arguments.length)}}),((k.Tween=j).prototype={constructor:j,init:function(e,t,n,i,o,s){this.elem=e,this.prop=n,this.easing=o||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(k.cssNumber[n]?"":"px")},cur:function(){var e=j.propHooks[this.prop];return(e&&e.get?e:j.propHooks._default).get(this)},run:function(e){var t,n=j.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:j.propHooks._default).set(this),this}}).init.prototype=j.prototype,(j.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=k.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[cn(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=j.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=j.prototype.init,k.fx.step={};var gn,vn,yn=/^(?:toggle|show|hide)$/,bn=/queueHooks$/;function _n(){vn&&(!1===C.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(_n):x.setTimeout(_n,k.fx.interval),k.fx.tick())}function wn(){return x.setTimeout(function(){gn=void 0}),gn=Date.now()}function xn(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=gt[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function Cn(e,t,n){for(var i,o=(R.tweeners[t]||[]).concat(R.tweeners["*"]),s=0,r=o.length;s<r;s++)if(i=o[s].call(n,t,e))return i}function R(o,e,t){var n,s,i,r,a,l,c,u=0,d=R.prefilters.length,h=k.Deferred().always(function(){delete p.elem}),p=function(){if(s)return!1;for(var e=gn||wn(),e=Math.max(0,f.startTime+f.duration-e),t=1-(e/f.duration||0),n=0,i=f.tweens.length;n<i;n++)f.tweens[n].run(t);return h.notifyWith(o,[f,t,e]),t<1&&i?e:(i||h.notifyWith(o,[f,1,0]),h.resolveWith(o,[f]),!1)},f=h.promise({elem:o,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},t),originalProperties:e,originalOptions:t,startTime:gn||wn(),duration:t.duration,tweens:[],createTween:function(e,t){t=k.Tween(o,f.opts,e,t,f.opts.specialEasing[e]||f.opts.easing);return f.tweens.push(t),t},stop:function(e){var t=0,n=e?f.tweens.length:0;if(!s){for(s=!0;t<n;t++)f.tweens[t].run(1);e?(h.notifyWith(o,[f,1,0]),h.resolveWith(o,[f,e])):h.rejectWith(o,[f,e])}return this}}),m=f.props,g=m,v=f.opts.specialEasing;for(i in g)if(a=v[r=P(i)],l=g[i],Array.isArray(l)&&(a=l[1],l=g[i]=l[0]),i!==r&&(g[r]=l,delete g[i]),(c=k.cssHooks[r])&&"expand"in c)for(i in l=c.expand(l),delete g[r],l)i in g||(g[i]=l[i],v[i]=a);else v[r]=a;for(;u<d;u++)if(n=R.prefilters[u].call(f,o,m,f.opts))return y(n.stop)&&(k._queueHooks(f.elem,f.opts.queue).stop=n.stop.bind(n)),n;return k.map(m,Cn,f),y(f.opts.start)&&f.opts.start.call(o,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),k.fx.timer(k.extend(p,{elem:o,anim:f,queue:f.opts.queue})),f}k.Animation=k.extend(R,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return _t(n.elem,e,mt.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,o=(e=y(e)?(t=e,["*"]):e.match(M)).length;i<o;i++)n=e[i],R.tweeners[n]=R.tweeners[n]||[],R.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,s,r,a,l,c,u="width"in t||"height"in t,d=this,h={},p=e.style,f=e.nodeType&&ft(e),m=v.get(e,"fxshow");for(i in n.queue||(null==(r=k._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,a=r.empty.fire,r.empty.fire=function(){r.unqueued||a()}),r.unqueued++,d.always(function(){d.always(function(){r.unqueued--,k.queue(e,"fx").length||r.empty.fire()})})),t)if(o=t[i],yn.test(o)){if(delete t[i],s=s||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!m||void 0===m[i])continue;f=!0}h[i]=m&&m[i]||k.style(e,i)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(h))for(i in u&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=v.get(e,"display")),"none"===(u=k.css(e,"display"))&&(c?u=c:(xt([e],!0),c=e.style.display||c,u=k.css(e,"display"),xt([e]))),"inline"===u||"inline-block"===u&&null!=c)&&"none"===k.css(e,"float")&&(l||(d.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block"),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(f=m.hidden):m=v.access(e,"fxshow",{display:c}),s&&(m.hidden=!f),f&&xt([e],!0),d.done(function(){for(i in f||xt([e]),v.remove(e,"fxshow"),h)k.style(e,i,h[i])})),l=Cn(f?m[i]:0,i,d),i in m||(m[i]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?R.prefilters.unshift(e):R.prefilters.push(e)}}),k.speed=function(e,t,n){var i=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){y(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ft).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function o(){var e=R(this,k.extend({},t),r);(s||v.get(this,"finish"))&&e.stop(!0)}var s=k.isEmptyObject(t),r=k.speed(e,n,i);return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(o,e,s){function r(e){var t=e.stop;delete e.stop,t(s)}return"string"!=typeof o&&(s=e,e=o,o=void 0),e&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",n=k.timers,i=v.get(this);if(t)i[t]&&i[t].stop&&r(i[t]);else for(t in i)i[t]&&i[t].stop&&bn.test(t)&&r(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(n[t].anim.stop(s),e=!1,n.splice(t,1));!e&&s||k.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var e,t=v.get(this),n=t[r+"queue"],i=t[r+"queueHooks"],o=k.timers,s=n?n.length:0;for(t.finish=!0,k.queue(this,r,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===r&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),k.each(["toggle","show","hide"],function(e,i){var o=k.fn[i];k.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(xn(i,!0),e,t,n)}}),k.each({slideDown:xn("show"),slideUp:xn("hide"),slideToggle:xn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){k.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(gn=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),gn=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){vn||(vn=!0,_n())},k.fx.stop=function(){vn=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(i,e){return i=k.fx&&k.fx.speeds[i]||i,this.queue(e=e||"fx",function(e,t){var n=x.setTimeout(e,i);t.stop=function(){x.clearTimeout(n)}})},r=C.createElement("input"),s=C.createElement("select").appendChild(C.createElement("option")),r.type="checkbox",m.checkOn=""!==r.value,m.optSelected=s.selected,(r=C.createElement("input")).value="t",r.type="radio",m.radioValue="t"===r.value;var kn,Sn=k.expr.attrHandle,An=(k.fn.extend({attr:function(e,t){return u(this,k.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var i,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?k.prop(e,t,n):(1===s&&k.isXMLDoc(e)||(o=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?kn:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):!(o&&"get"in o&&null!==(i=o.get(e,t)))&&null==(i=k.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){var n;
vendor: 2,466 bytes, line 1
1if(!m.radioValue&&"radio"===t&&_(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(M);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),kn={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var r=Sn[t]||k.find.attr;Sn[t]=function(e,t,n){var i,o,s=t.toLowerCase();return n||(o=Sn[s],Sn[s]=i,i=null!=r(e,t,n)?s:null,Sn[s]=o),i}}),/^(?:input|select|textarea|button)$/i),En=/^(?:a|area)$/i;function Tn(e){return(e.match(M)||[]).join(" ")}function On(e){return e.getAttribute&&e.getAttribute("class")||""}function Dn(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(M)||[]}k.fn.extend({prop:function(e,t){return u(this,k.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var i,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&k.isXMLDoc(e)||(t=k.propFix[t]||t,o=k.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):An.test(e.nodeName)||En.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(k.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(t){var e,n,i,o,s,r;return y(t)?this.each(function(e){k(this).addClass(t.call(this,e,On(this)))}):(e=Dn(t)).length?this.each(function(){if(i=On(this),n=1===this.nodeType&&" "+Tn(i)+" "){for(s=0;s<e.length;s++)o=e[s],n.indexOf(" "+o+" ")<0&&(n+=o+" ");r=Tn(n),i!==r&&this.setAttribute("class",r)}}):this},removeClass:function(t){var e,n,i,o,s,r;return y(t)?this.each(function(e){k(this).removeClass(t.call(this,e,On(this)))}):arguments.length?(e=Dn(t)).length?this.each(function(){if(i=On(this),n=1===this.nodeType&&" "+Tn(i)+" "){for(s=0;s<e.length;s++)for(o=e[s];-1<n.indexOf(" "+o+" ");)n=n.replace(" "+o+" "," ");r=Tn(n),i!==r&&this.setAttribute("class",r)}}):this:this.attr("class","")}
vendor: 4,234 bytes, line 1
1,toggleClass:function(t,n){var e,i,o,s,r=typeof t,a="string"==r||Array.isArray(t);return y(t)?this.each(function(e){k(this).toggleClass(t.call(this,e,On(this),n),n)}):"boolean"==typeof n&&a?n?this.addClass(t):this.removeClass(t):(e=Dn(t),this.each(function(){if(a)for(s=k(this),o=0;o<e.length;o++)i=e[o],s.hasClass(i)?s.removeClass(i):s.addClass(i);else void 0!==t&&"boolean"!=r||((i=On(this))&&v.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",!i&&!1!==t&&v.get(this,"__className__")||""))}))},hasClass:function(e){for(var t,n=0,i=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+Tn(On(t))+" ").indexOf(i))return!0;return!1}});function In(e){e.stopPropagation()}var Mn=/\r/g,Pn=(k.fn.extend({val:function(t){var n,e,i,o=this[0];return arguments.length?(i=y(t),this.each(function(e){1===this.nodeType&&(null==(e=i?t.call(this,e,k(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=k.map(e,function(e){return null==e?"":e+""})),(n=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):o?(n=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(o,"value"))?e:"string"==typeof(e=o.value)?e.replace(Mn,""):null==e?"":e:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:Tn(k.text(e))}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],r=o?i+1:n.length,a=i<0?r:o?i:0;a<r;a++)if(((t=n[a]).selected||a===i)&&!t.disabled&&(!t.parentNode.disabled||!_(t.parentNode,"optgroup"))){if(t=k(t).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,s=k.makeArray(t),r=o.length;r--;)((i=o[r]).selected=-1<k.inArray(k.valHooks.option.get(i),s))&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<k.inArray(k(e).val(),t)}},m.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),x.location),jn={guid:Date.now()},Rn=/\?/,Nn=(k.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new x.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t},/^(?:focusinfocus|focusoutblur)$/),Hn=(k.extend(k.event,{trigger:function(e,t,n,i){var o,s,r,a,l,c,u,d=[n||C],h=U.call(e,"type")?e.type:e,p=U.call(e,"namespace")?e.namespace.split("."):[],f=u=s=n=n||C;if(3!==n.nodeType&&8!==n.nodeType&&!Nn.test(h+k.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),a=h.indexOf(":")<0&&"on"+h,(e=e[k.expando]?e:new k.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),c=k.event.special[h]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!H(n)){for(r=c.delegateType||h,Nn.test(r+h)||(f=f.parentNode);f;f=f.parentNode)d.push(f),s=f;s===(n.ownerDocument||C)&&d.push(s.defaultView||s.parentWindow||x)}for(o=0;(f=d[o++])&&!e.isPropagationStopped();)u=f,e.type=1<o?r:c.bindType||h,(l=(v.get(f,"events")||Object.create(null))[e.type]&&v.get(f,"handle"))&&l.apply(f,t),(l=a&&f[a])&&l.apply&&ct(f)&&(e.result=l.apply(f,t),!1===e.result)&&e.preventDefault();return e.type=h,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!ct(n)||a&&y(n[h])&&!H(n)&&((s=n[a])&&(n[a]=null),k.event.triggered=h,e.isPropagationStopped()&&u.addEventListener(h,In),n[h](),e.isPropagationStopped()&&u.removeEventListener(h,In),k.event.triggered=void 0,s)&&(n[a]=s),e.result}},simulate:function(e,t,n){n=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(n,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),/\[\]$/),Ln=/\r?\n/g,$n=/^(?:submit|button|image|reset|file)$/i,qn=/^(?:input|select|textarea|keygen)/i;
vendor: 4,855 bytes, line 1
1k.param=function(e,t){function n(e,t){t=y(t)?t():t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var i,o=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,o,s){if(Array.isArray(e))k.each(e,function(e,t){o||Hn.test(i)?s(i,t):n(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,o,s)});else if(o||"object"!==K(e))s(i,e);else for(var t in e)n(i+"["+t+"]",e[t],o,s)}(i,e[i],t,n);return o.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&qn.test(this.nodeName)&&!$n.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(Ln,"\r\n")}}):{name:t.name,value:n.replace(Ln,"\r\n")}}).get()}});var Fn=/%20/g,zn=/#.*$/,Un=/([?&])_=[^&]*/,Wn=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bn=/^(?:GET|HEAD)$/,Yn=/^\/\//,Vn={},Kn={},Gn="*/".concat("*"),Qn=C.createElement("a");function Xn(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,o=e.toLowerCase().match(M)||[];if(y(t))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(s[n]=s[n]||[]).unshift(t)):(s[n]=s[n]||[]).push(t)}}function Jn(t,i,o,s){var r={},a=t===Kn;function l(e){var n;return r[e]=!0,k.each(t[e]||[],function(e,t){t=t(i,o,s);return"string"!=typeof t||a||r[t]?a?!(n=t):void 0:(i.dataTypes.unshift(t),l(t),!1)}),n}return l(i.dataTypes[0])||!r["*"]&&l("*")}function Zn(e,t){var n,i,o=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i=i||{})[n]=t[n]);return i&&k.extend(!0,e,i),e}Qn.href=Pn.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pn.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Pn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zn(Zn(e,k.ajaxSettings),t):Zn(k.ajaxSettings,e)},ajaxPrefilter:Xn(Vn),ajaxTransport:Xn(Kn),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,u,n,d,h,p,i,o,f=k.ajaxSetup({},t=t||{}),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?k(m):k.event,v=k.Deferred(),y=k.Callbacks("once memory"),b=f.statusCode||{},s={},r={},a="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n)for(n={};t=Wn.exec(u);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?u:null},setRequestHeader:function(e,t){return null==h&&(e=r[e.toLowerCase()]=r[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==h&&(f.mimeType=e),this},statusCode:function(e){if(e)if(h)_.always(e[_.status]);else for(var t in e)b[t]=[b[t],e[t]];return this},abort:function(e){e=e||a;return l&&l.abort(e),w(0,e),this}};if(v.promise(_),f.url=((e||f.url||Pn.href)+"").replace(Yn,Pn.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(M)||[""],null==f.crossDomain){o=C.createElement("a");try{o.href=f.url,o.href=o.href,f.crossDomain=Qn.protocol+"//"+Qn.host!=o.protocol+"//"+o.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=k.param(f.data,f.traditional)),Jn(Vn,f,t,_),!h){for(i in(p=k.event&&f.global)&&0==k.active++&&k.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Bn.test(f.type),c=f.url.replace(zn,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Fn,"+")):(o=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(Rn.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(Un,"$1"),o=(Rn.test(c)?"&":"?")+"_="+jn.guid+++o),f.url=c+o),f.ifModified&&(k.lastModified[c]&&_.setRequestHeader("If-Modified-Since",k.lastModified[c]),k.etag[c])&&_.setRequestHeader("If-None-Match",k.etag[c]),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&_.setRequestHeader("Content-Type",f.contentType),_.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Gn+"; q=0.01":""):f.accepts["*"]),f.headers)_.setRequestHeader(i,f.headers[i]);
vendor: 5,331 bytes, line 1
1if(f.beforeSend&&(!1===f.beforeSend.call(m,_,f)||h))return _.abort();if(a="abort",y.add(f.complete),_.done(f.success),_.fail(f.error),l=Jn(Kn,f,t,_)){if(_.readyState=1,p&&g.trigger("ajaxSend",[_,f]),h)return _;f.async&&0<f.timeout&&(d=x.setTimeout(function(){_.abort("timeout")},f.timeout));try{h=!1,l.send(s,w)}catch(e){if(h)throw e;w(-1,e)}}else w(-1,"No Transport")}return _;function w(e,t,n,i){var o,s,r,a=t;h||(h=!0,d&&x.clearTimeout(d),l=void 0,u=i||"",_.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(r=function(e,t,n){for(var i,o,s,r,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)s=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){s=o;break}r=r||o}s=s||r}if(s)return s!==l[0]&&l.unshift(s),n[s]}(f,_,n)),!i&&-1<k.inArray("script",f.dataTypes)&&k.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),r=function(e,t,n,i){var o,s,r,a,l,c={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(s=u.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(r=c[l+" "+s]||c["* "+s]))for(o in c)if((a=o.split(" "))[1]===s&&(r=c[l+" "+a[0]]||c["* "+a[0]])){!0===r?r=c[o]:!0!==c[o]&&(s=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(f,r,_,i),i?(f.ifModified&&((n=_.getResponseHeader("Last-Modified"))&&(k.lastModified[c]=n),n=_.getResponseHeader("etag"))&&(k.etag[c]=n),204===e||"HEAD"===f.type?a="nocontent":304===e?a="notmodified":(a=r.state,o=r.data,i=!(s=r.error))):(s=a,!e&&a||(a="error",e<0&&(e=0))),_.status=e,_.statusText=(t||a)+"",i?v.resolveWith(m,[o,a,_]):v.rejectWith(m,[_,a,s]),_.statusCode(b),b=void 0,p&&g.trigger(i?"ajaxSuccess":"ajaxError",[_,f,i?o:s]),y.fireWith(m,[_,a]),p&&(g.trigger("ajaxComplete",[_,f]),--k.active||k.event.trigger("ajaxStop")))}},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,o){k[o]=function(e,t,n,i){return y(t)&&(i=i||n,n=t,t=void 0),k.ajax(k.extend({url:e,type:o,dataType:i,data:t,success:n},k.isPlainObject(e)&&e))}}),k.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){return this[0]&&(y(e)&&(e=e.call(this[0])),e=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return y(n)?this.each(function(e){k(this).wrapInner(n.call(this,e))}):this.each(function(){var e=k(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=y(t);return this.each(function(e){k(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(e){}};var ei={0:200,1223:204},ti=k.ajaxSettings.xhr();m.cors=!!ti&&"withCredentials"in ti,m.ajax=ti=!!ti,k.ajaxTransport(function(o){var s,r;if(m.cors||ti&&!o.crossDomain)return{send:function(e,t){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);s=function(e){return function(){s&&(s=r=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(ei[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=s(),r=i.onerror=i.ontimeout=s("error"),void 0!==i.onabort?i.onabort=r:i.onreadystatechange=function(){4===i.readyState&&x.setTimeout(function(){s&&r()})},s=s("abort");try{i.send(o.hasContent&&o.data||null)}catch(e){if(s)throw e}},abort:function(){s&&s()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(n){var i,o;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=k("<script>").attr(n.scriptAttrs||{}
vendor: 8,342 bytes, line 1
1).prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){i.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(i[0])},abort:function(){o&&o()}}});var ni=[],ii=/(=)\?(?=&|$)|\?\?/,oi=(k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ni.pop()||k.expando+"_"+jn.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var i,o,s,r=!1!==e.jsonp&&(ii.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ii.test(e.data)&&"data");if(r||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(ii,"$1"+i):!1!==e.jsonp&&(e.url+=(Rn.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||k.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=x[i],x[i]=function(){s=arguments},n.always(function(){void 0===o?k(x).removeProp(i):x[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,ni.push(i)),s&&y(o)&&o(s[0]),s=o=void 0}),"script"}),m.createHTMLDocument=((e=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((i=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(i)):t=C),i=!n&&[],(n=Ve.exec(e))?[t.createElement(n[1])]:(n=Tt([e],t,i),i&&i.length&&k(i).remove(),k.merge([],n.childNodes)));var i},k.fn.load=function(e,t,n){var i,o,s,r=this,a=e.indexOf(" ");return-1<a&&(i=Tn(e.slice(a)),e=e.slice(0,a)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<r.length&&k.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){s=arguments,r.html(i?k("<div>").append(k.parseHTML(e)).find(i):e)}).always(n&&function(e,t){r.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var i,o,s,r,a=k.css(e,"position"),l=k(e),c={};"static"===a&&(e.style.position="relative"),s=l.offset(),i=k.css(e,"top"),r=k.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(i+r).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(i)||0,parseFloat(r)||0),null!=(t=y(t)?t.call(e,n,k.extend({},s)):t).top&&(c.top=t.top-s.top+o),null!=t.left&&(c.left=t.left-s.left+a),"using"in t?t.using.call(e,c):l.css(c)}},k.fn.extend({offset:function(t){var e,n;return arguments.length?void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)}):(n=this[0])?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===k.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),o.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-k.css(i,"marginTop",!0),left:t.left-o.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||vt})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var s="pageYOffset"===o;k.fn[t]=function(e){return u(this,function(e,t,n){var i;if(H(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n)return i?i[o]:e[t];i?i.scrollTo(s?i.pageXOffset:n,s?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=nn(m.pixelPosition,function(e,t){if(t)return t=tn(e,n),Jt.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(r,a){k.each({padding:"inner"+r,content:a,"":"outer"+r},function(i,s){k.fn[s]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),o=i||(!0===e||!0===t?"margin":"border");return u(this,function(e,t,n){var i;return H(e)?0===s.indexOf("outer")?e["inner"+r]:e.document.documentElement["client"+r]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+r],i["scroll"+r],e.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?k.css(e,t,o):k.style(e,t,n,o)},a,n?e:void 0,n)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g),si=(k.proxy=function(e,t){var n,i;if("string"==typeof t&&(i=e[t],t=e,e=i),y(e))return n=a.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(a.call(arguments)))}).guid=e.guid=e.guid||k.guid++,i},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=_,k.isFunction=y,k.isWindow=H,k.camelCase=P,k.type=K,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(oi,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return k}),x.jQuery),ri=x.$;return k.noConflict=function(e){return x.$===k&&(x.$=ri),e&&x.jQuery===k&&(x.jQuery=si),k},void 0===N&&(x.jQuery=x.$=k),k}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(i){"use strict";i.fn.emulateTransitionEnd=function(e){var t=!1,n=this;return i(this).one("bsTransitionEnd",function(){t=!0}),setTimeout(function(){t||i(n).trigger(i.support.transition.end)},e),this},i(function(){i.support.transition=function(){var e,t=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(e in n)if(void 0!==t.style[e])return{end:n[e]};return!1}(),i.support.transition&&(i.event.special.bsTransitionEnd={bindType:i.support.transition.end,delegateType:i.support.transition.end,handle:function(e){if(i(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(s){"use strict";function r(e){s(e).on("click",t,this.close)}var t='[data-dismiss="alert"]',e=(r.VERSION="3.4.1",r.TRANSITION_DURATION=150,r.prototype.close=function(e){var t=s(this),n=t.attr("data-target"),i=(n="#"===(n=n||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""))?[]:n,s(document).find(n));function o(){i.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),(i=i.length?i:t.closest(".alert")).trigger(e=s.Event("close.bs.alert")),e.isDefaultPrevented()||(i.removeClass("in"),s.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(r.TRANSITION_DURATION):o())},s.fn.alert);s.fn.alert=function(n){return this.each(function(){var e=s(this),t=e.data("bs.alert");t||e.data("bs.alert",t=new r(this)),"string"==typeof n&&t[n].call(e)})},s.fn.alert.Constructor=r,s.fn.alert.noConflict=function(){return s.fn.alert=e,this},s(document).on("click.bs.alert.data-api",t,r.prototype.close)}(jQuery),function(s){"use strict";function i(e,t){this.$element=s(e),this.options=s.extend({},i.DEFAULTS,t),this.isLoading=!1}function n(n){return this.each(function(){var e=s(this),t=e.data("bs.button");t||e.data("bs.button",t=new i(this,"object"==typeof n&&n)),"toggle"==n?t.toggle(
1):n&&t.setState(n)})}i.VERSION="3.4.1",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var t="disabled",n=this.$element,i=n.is("input")?"val":"html",o=n.data();e+="Text",null==o.resetText&&n.data("resetText",n[i]()),setTimeout(s.proxy(function(){n[i]((null==o[e]?this.options:o)[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(t).attr(t,t).prop(t,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(t).removeAttr(t).prop(t,!1))},this),0)},i.prototype.toggle=function(){var e,t=!0,n=this.$element.closest('[data-toggle="buttons"]');n.length?("radio"==(e=this.$element.find("input")).prop("type")?(e.prop("checked")&&(t=!1),n.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==e.prop("type")&&(e.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),e.prop("checked",this.$element.hasClass("active")),t&&e.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};var e=s.fn.button;s.fn.button=n,s.fn.button.Constructor=i,s.fn.button.noConflict=function(){return s.fn.button=e,this},s(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=s(e.target).closest(".btn");n.call(t,"toggle"),s(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),(t.is("input,button")?t:t.find("input:visible,button:visible").first()).trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){s(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(c){"use strict";function u(e,t){this.$element=c(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=t,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",c.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",c.proxy(this.pause,this)).on("mouseleave.bs.carousel",c.proxy(this.cycle,this))}function o(o){return this.each(function(){var e=c(this),t=e.data("bs.carousel"),n=c.extend({},u.DEFAULTS,e.data(),"object"==typeof o&&o),i="string"==typeof o?o:n.slide;t||e.data("bs.carousel",t=new u(this,n)),"number"==typeof o?t.to(o):i?t[i]():n.interval&&t.pause().cycle()})}u.VERSION="3.4.1",u.TRANSITION_DURATION=600,u.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},u.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},u.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(c.proxy(this.next,this),this.options.interval)),this},u.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},u.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);return("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap?t:(t=(n+("prev"==e?-1:1))%this.$items.length,this.$items.eq(t))},u.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(n<e?"next":"prev",this.$items.eq(e))},u.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&c.support.transition&&(this.$element.trigger(c.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},u.prototype.next=function(){if(!this.sliding)return this.slide("next")},u.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},u.prototype.slide=function(e,t){var n,i,o,s=this.$element.find(".item.active"),r=t||this.getItemForDirection(e,s),t=this.interval,a="next"==e?"left":"right",l=this;return r.hasClass("active")?this.sliding=!1:(n=r[0],i=c.Event("slide.bs.carousel",{relatedTarget:n,direction:a}),this.$element.trigger(i),i.isDefaultPrevented()?void 0:(this.sliding=!0,t&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),i=c(this.$indicators.children()[this.getItemIndex(r)]))&&i.addClass("active"),o=c.Event("slid.bs.carousel",{relatedTarget:n,direction:a}),c.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),"object"==typeof r&&r.length&&r[0].offsetWidth,s.addClass(a),r.addClass(a),s.one("bsTransitionEnd",function(){r.removeClass([e,a].join(" ")).addClass("active"),s.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(o)},0)}).emulateTransitionEnd(u.TRANSITION_DURATION)):(s.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(o)),t&&this.cycle(),this))};function e(e){var t,n=c(this),i=(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""),i=n.attr("data-target")||i;(i=c(document).find(i)).hasClass("carousel")&&(t=c.extend({}
1,i.data(),n.data()),(n=n.attr("data-slide-to"))&&(t.interval=!1),o.call(i,t),n&&i.data("bs.carousel").to(n),e.preventDefault())}var t=c.fn.carousel;c.fn.carousel=o,c.fn.carousel.Constructor=u,c.fn.carousel.noConflict=function(){return c.fn.carousel=t,this};c(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),c(window).on("load",function(){c('[data-ride="carousel"]').each(function(){var e=c(this);o.call(e,e.data())})})}(jQuery),function(o){"use strict";function s(e,t){this.$element=o(e),this.options=o.extend({},s.DEFAULTS,t),this.$trigger=o('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()}function n(e){e=e.attr("data-target")||(e=e.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return o(document).find(e)}function r(i){return this.each(function(){var e=o(this),t=e.data("bs.collapse"),n=o.extend({},s.DEFAULTS,e.data(),"object"==typeof i&&i);!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||e.data("bs.collapse",t=new s(this,n)),"string"==typeof i&&t[i]()})}s.VERSION="3.4.1",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0},s.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(i=e.data("bs.collapse"))&&i.transitioning)){var t=o.Event("show.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){e&&e.length&&(r.call(e,"hide"),i||e.data("bs.collapse",null));var n=this.dimension(),t=(this.$element.removeClass("collapse").addClass("collapsing")[n](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,function(){this.$element.removeClass("collapsing").addClass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")});if(!o.support.transition)return t.call(this);var i=o.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",o.proxy(t,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[n](this.$element[0][i])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=o.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var e=this.dimension(),t=(this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")});if(!o.support.transition)return t.call(this);this.$element[e](0).one("bsTransitionEnd",o.proxy(t,this)).emulateTransitionEnd(s.TRANSITION_DURATION)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return o(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(o.proxy(function(e,t){t=o(t);this.addAriaAndCollapsedClass(n(t),t)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var e=o.fn.collapse;o.fn.collapse=r,o.fn.collapse.Constructor=s,o.fn.collapse.noConflict=function(){return o.fn.collapse=e,this},o(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var t=o(this),e=(t.attr("data-target")||e.preventDefault(),n(t)),t=e.data("bs.collapse")?"toggle":t.data();r.call(e,t)})}(jQuery),function(o){"use strict";function i(e){o(e).on("click.bs.dropdown",this.toggle)}var s='[data-toggle="dropdown"]';function r(e){var t=e.attr("data-target"),t="#"!==(t=t||(t=e.attr("href"))&&/#[A-Za-z]/.test(t)&&t.replace(/.*(?=#[^\s]*$)/,""))?o(document).find(t):null;return t&&t.length?t:e.parent()}function a(i){i&&3===i.which||(o(".dropdown-backdrop").remove(),o(s).each(function(){var e=o(this),t=r(e),n={relatedTarget:this};!t.hasClass("open")||i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&o.contains(t[0],i.target)||(t.trigger(i=o.Event("hide.bs.dropdown",n)),i.isDefaultPrevented())||(e.attr("aria-expanded","fal
1se"),t.removeClass("open").trigger(o.Event("hidden.bs.dropdown",n)))}))}i.VERSION="3.4.1",i.prototype.toggle=function(e){var t=o(this);if(!t.is(".disabled, :disabled")){var n=r(t),i=n.hasClass("open");if(a(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&o(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(o(this)).on("click",a);i={relatedTarget:this};if(n.trigger(e=o.Event("show.bs.dropdown",i)),e.isDefaultPrevented())return;t.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(o.Event("shown.bs.dropdown",i))}return!1}},i.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var t=o(this);if(e.preventDefault(),e.stopPropagation(),!t.is(".disabled, :disabled")){var n=r(t),i=n.hasClass("open");if(!i&&27!=e.which||i&&27==e.which)return 27==e.which&&n.find(s).trigger("focus"),t.trigger("click");i=n.find(".dropdown-menu li:not(.disabled):visible a");i.length&&(t=i.index(e.target),38==e.which&&0<t&&t--,40==e.which&&t<i.length-1&&t++,i.eq(t=~t?t:0).trigger("focus"))}}};var e=o.fn.dropdown;o.fn.dropdown=function(n){return this.each(function(){var e=o(this),t=e.data("bs.dropdown");t||e.data("bs.dropdown",t=new i(this)),"string"==typeof n&&t[n].call(e)})},o.fn.dropdown.Constructor=i,o.fn.dropdown.noConflict=function(){return o.fn.dropdown=e,this},o(document).on("click.bs.dropdown.data-api",a).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",s,i.prototype.toggle).on("keydown.bs.dropdown.data-api",s,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(s){"use strict";function r(e,t){this.options=t,this.$body=s(document.body),this.$element=s(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,s.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}function a(i,o){return this.each(function(){var e=s(this),t=e.data("bs.modal"),n=s.extend({},r.DEFAULTS,e.data(),"object"==typeof i&&i);t||e.data("bs.modal",t=new r(this,n)),"string"==typeof i?t[i](o):n.show&&t.show(o)})}r.VERSION="3.4.1",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},r.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},r.prototype.show=function(n){var i=this,e=s.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',s.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){s(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=s.support.transition&&i.$element.hasClass("fade"),t=(i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),e&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus(),s.Event("shown.bs.modal",{relatedTarget:n}));e?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(t)}).emulateTransitionEnd(r.TRANSITION_DURATION):i.$element.trigger("focus").trigger(t)}))},r.prototype.hide=function(e){e&&e.preventDefault(),e=s.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),s(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),s.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",s.proxy(this.hideModal,this)).emulateTransitionEnd(r.TRANSITION_DURATION):this.hideModal())},r.prototype.enforceFocus=function(){s(document).off("focusin.bs.modal").on("focusin.bs.modal",s.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
1down.dismiss.bs.modal",s.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},r.prototype.resize=function(){this.isShown?s(window).on("resize.bs.modal",s.proxy(this.handleUpdate,this)):s(window).off("resize.bs.modal")},r.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(e){var t,n=this,i=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(t=s.support.transition&&i,this.$backdrop=s(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",s.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),t&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),e&&(t?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):e())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),i=function(){n.removeBackdrop(),e&&e()},s.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):i()):e&&e()},r.prototype.handleUpdate=function(){this.adjustDialog()},r.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){var e,t=window.innerWidth;t||(t=(e=document.documentElement.getBoundingClientRect()).right-Math.abs(e.left)),this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},r.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10),o=(this.originalBodyPad=document.body.style.paddingRight||"",this.scrollbarWidth);this.bodyIsOverflowing&&(this.$body.css("padding-right",e+o),s(this.fixedContent).each(function(e,t){var n=t.style.paddingRight,i=s(t).css("padding-right");s(t).data("padding-right",n).css("padding-right",parseFloat(i)+o+"px")}))},r.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),s(this.fixedContent).each(function(e,t){var n=s(t).data("padding-right");s(t).removeData("padding-right"),t.style.paddingRight=n||""})},r.prototype.measureScrollbar=function(){var e=document.createElement("div"),t=(e.className="modal-scrollbar-measure",this.$body.append(e),e.offsetWidth-e.clientWidth);return this.$body[0].removeChild(e),t};var e=s.fn.modal;s.fn.modal=a,s.fn.modal.Constructor=r,s.fn.modal.noConflict=function(){return s.fn.modal=e,this},s(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t=s(this),n=t.attr("href"),i=t.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),o=s(document).find(i),i=o.data("bs.modal")?"toggle":s.extend({remote:!/#/.test(n)&&n},o.data(),t.data());t.is("a")&&e.preventDefault(),o.one("show.bs.modal",function(e){e.isDefaultPrevented()||o.one("hidden.bs.modal",function(){t.is(":visible")&&t.trigger("focus")})}),a.call(o,i,this)})}(jQuery),function(p){"use strict";var i=["sanitize","whiteList","sanitizeFn"],f=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],m=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,g=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function o(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;n=document.implementation.createHTMLDocument("sanitization");n.body.innerHTML=e;for(var i=p.map(t,function(e,t){return t}),o=p(n.body).find("*"),s=0,r=o.length;s<r;s++){var a=o[s],l=a.nodeName.toLowerCase();if(-1!==p.inArray(l,i))for(var c=p.map(a.attributes,function(e){return e}),u=[].concat(t["*"]||[],t[l]||[]),d=0,h=c.length;d<h;d++)!function(e,t){var n=e.nodeName.toLowerCase();if(-1!==p.inArray(n,t))return-1===p.inArray(n,f)||Boolean(e.nodeValue.match(m)||e.nodeValue.match(g));for(var i=p(t).filter(function(e,t){return t instanceof RegExp}),o=0,s=i.length;o<s;o++)if(n.match(i[o]))return 1}(c[d],u)&&a.removeAttribute(c[d].nodeName);else a.parentNode.removeChild(a)}return n.body.innerHTML}function l(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)}l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},l.prototype.init=function(e,t,n){if(this.enabled=!0,this.type=e,this.$element=p(t),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&p(document).find(p.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var s,r=i[o];"click"==r?this.$element.on("click."+this.type,this.options.selector,p.proxy(this.toggle,this)):"manual"!=r&&(s="hover"==r?"mouseleave":"focusout",this.$element.on(("hover"==r?"mouseenter":"focusin")+"."+this.type,this.options.selector,p.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,p.proxy(this.leave,this)))}this.options.selector?this._options=p.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(e){var t,n=this.$element.data();for(t in n)n.hasOwnProperty(t)&&-1!==p.inArray(t,i)&&delete n[t];return(e=p.extend({},this.getDefaults(),n,e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.sanitize&&(e.template=o(e.template,e.whiteList,e.sanitizeFn)),e},l.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&p.each(this._options,function(e,t){i[e]!=t&&(n[e]=t)}),n},l.prototype.enter=function(e){var t=e instanceof this.constructor?e:p(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),p(e.currentTarget).data("bs."+this.type,t)),e instanceof p.Event&&(t.inState["focusin"==e.type?"focu
1s":"hover"]=!0),t.tip().hasClass("in")||"in"==t.hoverState)t.hoverState="in";else{if(clearTimeout(t.timeout),t.hoverState="in",!t.options.delay||!t.options.delay.show)return t.show();t.timeout=setTimeout(function(){"in"==t.hoverState&&t.show()},t.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},l.prototype.leave=function(e){var t=e instanceof this.constructor?e:p(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),p(e.currentTarget).data("bs."+this.type,t)),e instanceof p.Event&&(t.inState["focusout"==e.type?"focus":"hover"]=!1),!t.isInStateTrue()){if(clearTimeout(t.timeout),t.hoverState="out",!t.options.delay||!t.options.delay.hide)return t.hide();t.timeout=setTimeout(function(){"out"==t.hoverState&&t.hide()},t.options.delay.hide)}},l.prototype.show=function(){var t,e,n,i,o,s,r,a=p.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(a),o=p.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!a.isDefaultPrevented())&&o&&(a=(t=this).tip(),o=this.getUID(this.type),this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade"),o="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,(r=(e=/\s?auto?\s?/i).test(o))&&(o=o.replace(e,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?a.appendTo(p(document).find(this.options.container)):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),e=this.getPosition(),n=a[0].offsetWidth,i=a[0].offsetHeight,r&&(r=o,s=this.getPosition(this.$viewport),o="bottom"==o&&e.bottom+i>s.bottom?"top":"top"==o&&e.top-i<s.top?"bottom":"right"==o&&e.right+n>s.width?"left":"left"==o&&e.left-n<s.left?"right":o,a.removeClass(r).addClass(o)),s=this.getCalculatedOffset(o,e,n,i),this.applyPlacement(s,o),r=function(){var e=t.hoverState;t.$element.trigger("shown.bs."+t.type),t.hoverState=null,"out"==e&&t.leave(t)},p.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",r).emulateTransitionEnd(l.TRANSITION_DURATION):r())},l.prototype.applyPlacement=function(e,t){var n=this.tip(),i=n[0].offsetWidth,o=n[0].offsetHeight,s=parseInt(n.css("margin-top"),10),r=parseInt(n.css("margin-left"),10),s=(isNaN(s)&&(s=0),isNaN(r)&&(r=0),e.top+=s,e.left+=r,p.offset.setOffset(n[0],p.extend({using:function(e){n.css({top:Math.round(e.top),left:Math.round(e.left)})}},e),0),n.addClass("in"),n[0].offsetWidth),r=n[0].offsetHeight,a=("top"==t&&r!=o&&(e.top=e.top+o-r),this.getViewportAdjustedDelta(t,e,s,r)),t=(a.left?e.left+=a.left:e.top+=a.top,/top|bottom/.test(t)),i=t?2*a.left-i+s:2*a.top-o+r,s=t?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(i,n[0][s],t)},l.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},l.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();this.options.html?(this.options.sanitize&&(t=o(t,this.options.whiteList,this.options.sanitizeFn)),e.find(".tooltip-inner").html(t)):e.find(".tooltip-inner").text(t),e.removeClass("fade in top bottom left right")},l.prototype.hide=function(e){var t=this,n=p(this.$tip),i=p.Event("hide.bs."+this.type);function o(){"in"!=t.hoverState&&n.detach(),t.$element&&t.$element.removeAttr("aria-describedby").trigger("hidden.bs."+t.type),e&&e()}if(this.$element.trigger(i),!i.isDefaultPrevented())return n.removeClass("in"),p.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",o).emulateTransitionEnd(l.TRANSITION_DURATION):o(),this.hoverState=null,this},l.prototype.fixTitle=function(){var e=this.$element;!e.attr("title")&&"string"==typeof e.attr("data-original-title")||e.attr("data-original-title",e.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(e){var t=(e=e||this.$element)[0],n="BODY"==t.tagName,i=t.getBoundingClientRect(),t=(null==i.width&&(i=p.extend({},i,{width:i.right-i.left,height:i.bottom-i.top})),window.SVGElement&&t instanceof window.SVGElement),t=n?{top:0,left:0}:t?null:e.offset(),e={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},n=n?{width:p(window).width(),height:p(window).height()}:null;return p.extend({},i,e,n,t)},l.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},l.prototype.getViewportAdjustedDelta=function(e,t,n,i){var o,s,r={top:0,left:0};return this.$viewport&&(o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport),/right|left/.test(e)?(e=t.top-o-s.scroll,i=t.top+o-s.scroll+i,e<s.top?r.top=s.top-e:i>s.top+s.height&&(r.top=s.top+s.height-i)):(e=t.left-o,i=t.left+o+n,e<s.left?r.left=s.left-e:i>s.right&&(r.left=s.left+s.width-i))),r},l.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},l.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},l.prototype.tip=function(){if(this.$tip||(this.$tip=p(this.options.template),1==this.$tip.length))return this.$tip;
vendor: 8,898 bytes, line 1
1throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var t=this;e&&!(t=p(e.currentTarget).data("bs."+this.type))&&(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),p(e.currentTarget).data("bs."+this.type,t)),e?(t.inState.click=!t.inState.click,t.isInStateTrue()?t.enter(t):t.leave(t)):t.tip().hasClass("in")?t.leave(t):t.enter(t)},l.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})},l.prototype.sanitizeHtml=function(e){return o(e,this.options.whiteList,this.options.sanitizeFn)};var e=p.fn.tooltip;p.fn.tooltip=function(i){return this.each(function(){var e=p(this),t=e.data("bs.tooltip"),n="object"==typeof i&&i;!t&&/destroy|hide/.test(i)||(t||e.data("bs.tooltip",t=new l(this,n)),"string"==typeof i&&t[i]())})},p.fn.tooltip.Constructor=l,p.fn.tooltip.noConflict=function(){return p.fn.tooltip=e,this}}(jQuery),function(o){"use strict";function s(e,t){this.init("popover",e,t)}if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");s.VERSION="3.4.1",s.DEFAULTS=o.extend({},o.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((s.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=s).prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.setContent=function(){var e,t=this.tip(),n=this.getTitle(),i=this.getContent();this.options.html?(e=typeof i,this.options.sanitize&&(n=this.sanitizeHtml(n),"string"==e)&&(i=this.sanitizeHtml(i)),t.find(".popover-title").html(n),t.find(".popover-content").children().detach().end()["string"==e?"html":"append"](i)):(t.find(".popover-title").text(n),t.find(".popover-content").children().detach().end().text(i)),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},s.prototype.hasContent=function(){return this.getTitle()||this.getContent()},s.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var e=o.fn.popover;o.fn.popover=function(i){return this.each(function(){var e=o(this),t=e.data("bs.popover"),n="object"==typeof i&&i;!t&&/destroy|hide/.test(i)||(t||e.data("bs.popover",t=new s(this,n)),"string"==typeof i&&t[i]())})},o.fn.popover.Constructor=s,o.fn.popover.noConflict=function(){return o.fn.popover=e,this}}(jQuery),function(o){"use strict";function i(e,t){this.$body=o(document.body),this.$scrollElement=o(e).is(document.body)?o(window):o(e),this.options=o.extend({},i.DEFAULTS,t),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",o.proxy(this.process,this)),this.refresh(),this.process()}function t(n){return this.each(function(){var e=o(this),t=e.data("bs.scrollspy");t||e.data("bs.scrollspy",t=new i(this,"object"==typeof n&&n)),"string"==typeof n&&t[n]()})}i.VERSION="3.4.1",i.DEFAULTS={offset:10},i.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},i.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),o.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=o(this),e=e.data("target")||e.attr("href"),t=/^#./.test(e)&&o(e);return t&&t.length&&t.is(":visible")?[[t[n]().top+i,e]]:null}).sort(function(e,t){return e[0]-t[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},i.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,s=this.targets,r=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=t)return r!=(e=s[s.length-1])&&this.activate(e);if(r&&t<o[0])return this.activeTarget=null,this.clear();for(e=o.length;e--;)r!=s[e]&&t>=o[e]&&(void 0===o[e+1]||t<o[e+1])&&this.activate(s[e])},i.prototype.activate=function(e){this.activeTarget=e,this.clear();e=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',e=o(e).parents("li").addClass("active");(e=e.parent(".dropdown-menu").length?e.closest("li.dropdown").addClass("active"):e).trigger("activate.bs.scrollspy")},i.prototype.clear=function(){o(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var e=o.fn.scrollspy;o.fn.scrollspy=t,o.fn.scrollspy.Constructor=i,o.fn.scrollspy.noConflict=function(){return o.fn.scrollspy=e,this},o(window).on("load.bs.scrollspy.data-api",function(){o('[data-spy="scroll"]').each(function(){var e=o(this);t.call(e,e.data())})})}(jQuery),function(r){"use strict";function a(e){this.element=r(e)}function t(n){return this.each(function(){var e=r(this),t=e.data("bs.tab");t||e.data("bs.tab",t=new a(this)),"string"==typeof n&&t[n]()})}a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var e,t,n,i=this.element,o=i.closest("ul:not(.dropdown-menu)"),s=(s=i.data("target"))||(s=i.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,"");i.parent("li").hasClass("active")||(e=o.find(".active:last a"),t=r.Event("hide.bs.tab",{relatedTarget:i[0]}),n=r.Event("show.bs.tab",{relatedTarget:e[0]}),e.trigger(t),i.trigger(n),n.isDefaultPrevented())||t.isDefaultPrevented()||(n=r(document).find(s),this.activate(i.closest("li"),o),this.activate(n,n.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:i[0]}),i.trigger({type:"shown.bs.tab",relatedTarget:e[0]})}))},a.prototype.activate=function(e,t,n){var i=t.find("> .active"),o=n&&r.support.transition&&(i.length&&i.hasClass("fade")||!!t.find("> .fade").length);function s(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}i.length&&o?i.one("bsTransitionEnd",s).emulateTransitionEnd(a.TRANSITION_DURATION):s(),i.removeClass("in")};function e(e){e.preventDefault(),t.call(r(this),"show")}var n=r.fn.tab;r.fn.tab=t,r.fn.tab.Constructor=a,r.fn.tab.noConflict=function(){return r.fn.tab=n,this};r(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),function(r){"use strict";function a(e,t){this.options=r.extend({},a.DEFAULTS,t),t=this.options.target===a.DEFAULTS.target?r(this.options.target):r(document).find(this.options.target),this.$target=t.on("scroll.bs.affix.data-api",r.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",r.proxy(this.checkPositionWithEventLoop,this)),this.$element=r(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()}function n(n){return this.each(function(){var e=r(this),t=e.data("bs.affix");t||e.data("bs.affix",t=new a(this,"object"==typeof n&&n)),"string"==typeof n&&t[n]()})}a.VERSION="3.4.1",a.RESET="affix affix-top affix-bottom",a.DEFAULTS={offset:0,target:window},a.prototype.getState=function(e,t,n,i){var o,s=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();return null!=n&&"top"==this.affixed?s<n&&"top":"bottom"==this.affixed?null!=n?!(s+this.unpin<=r.top)&&"bottom":!(s+a<=e-i)&&"bottom":(r=(o=null==this.affixed)?s:r.top,null!=n&&s<=n?"top":null!=i&&e-i<=r+(o?a:t)&&"bottom")},a.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(a.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},a.prototype.checkPositionWithEventLoop=function(){setTimeout(r.proxy(this.checkPosition,this),1)},a.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),t=this.options.offset,n=t.top,i=t.bottom,o=Math.max(r(document).height(),r(document.body).height()),t=("object"!=typeof t&&(i=n=t),"function"==typeof n&&(n=t.to
vendor: 4,558 bytes, line 1
1p(this.$element)),"function"==typeof i&&(i=t.bottom(this.$element)),this.getState(o,e,n,i));if(this.affixed!=t){null!=this.unpin&&this.$element.css("top","");var n="affix"+(t?"-"+t:""),s=r.Event(n+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=t,this.unpin="bottom"==t?this.getPinnedOffset():null,this.$element.removeClass(a.RESET).addClass(n).trigger(n.replace("affix","affixed")+".bs.affix")}"bottom"==t&&this.$element.offset({top:o-e-i})}};var e=r.fn.affix;r.fn.affix=n,r.fn.affix.Constructor=a,r.fn.affix.noConflict=function(){return r.fn.affix=e,this},r(window).on("load",function(){r('[data-spy="affix"]').each(function(){var e=r(this),t=e.data();t.offset=t.offset||{},null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom),null!=t.offsetTop&&(t.offset.top=t.offsetTop),n.call(e,t)})})}(jQuery),!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(V){"use strict";V.ui=V.ui||{},V.ui.version="1.14.2";var n,e,s,r,i,x,C,o,a,l,c,u,t,R=0,N=Array.prototype.hasOwnProperty,d=Array.prototype.slice;function k(e,t,n){return[parseFloat(e[0])*(u.test(e[0])?t/100:1),parseFloat(e[1])*(u.test(e[1])?n/100:1)]}function S(e,t){return parseInt(V.css(e,t),10)||0}function A(e){return null!=e&&e===e.window}h=V.cleanData,V.cleanData=function(e){for(var t,n,i=0;null!=(n=e[i]);i++)(t=V._data(n,"events"))&&t.remove&&V(n).triggerHandler("remove");h(e)},V.widget=function(e,n,t){var i,o,s,r,a={},l=e.split(".")[0];return"__proto__"===(e=e.split(".")[1])||"constructor"===e?V.error("Invalid widget name: "+e):(r=l+"-"+e,t||(t=n,n=V.Widget),Array.isArray(t)&&(t=V.extend.apply(null,[{}].concat(t))),V.expr.pseudos[r.toLowerCase()]=function(e){return!!V.data(e,r)},V[l]=V[l]||{},i=V[l][e],o=V[l][e]=function(e,t){if(!this||!this._createWidget)return new o(e,t);arguments.length&&this._createWidget(e,t)},V.extend(o,i,{version:t.version,_proto:V.extend({},t),_childConstructors:[]}),(s=new n).options=V.widget.extend({},s.options),V.each(t,function(t,i){function o(){return n.prototype[t].apply(this,arguments)}function s(e){return n.prototype[t].apply(this,e)}a[t]="function"!=typeof i?i:function(){var e,t=this._super,n=this._superApply;return this._super=o,this._superApply=s,e=i.apply(this,arguments),this._super=t,this._superApply=n,e}}),o.prototype=V.widget.extend(s,{widgetEventPrefix:i&&s.widgetEventPrefix||e},a,{constructor:o,namespace:l,widgetName:e,widgetFullName:r}),i?(V.each(i._childConstructors,function(e,t){var n=t.prototype;V.widget(n.namespace+"."+n.widgetName,o,t._proto)}),delete i._childConstructors):n._childConstructors.push(o),V.widget.bridge(e,o),o)},V.widget.extend=function(e){for(var t,n,i=d.call(arguments,1),o=0,s=i.length;o<s;o++)for(t in i[o])n=i[o][t],N.call(i[o],t)&&void 0!==n&&(V.isPlainObject(n)?e[t]=V.isPlainObject(e[t])?V.widget.extend({},e[t],n):V.widget.extend({},n):e[t]=n);return e},V.widget.bridge=function(s,t){var r=t.prototype.widgetFullName||s;V.fn[s]=function(n){var e="string"==typeof n,i=d.call(arguments,1),o=this;return e?this.length||"instance"!==n?this.each(function(){var e,t=V.data(this,r);return"instance"===n?(o=t,!1):t?"function"!=typeof t[n]||"_"===n.charAt(0)?V.error("no such method '"+n+"' for "+s+" widget instance"):(e=t[n].apply(t,i))!==t&&void 0!==e?(o=e&&e.jquery?o.pushStack(e.get()):e,!1):void 0:V.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+n+"'")}):o=void 0:(i.length&&(n=V.widget.extend.apply(null,[n].concat(i))),this.each(function(){var e=V.data(this,r);e?(e.option(n||{}),e._init&&e._init()):V.data(this,r,new t(n,this))})),o}},V.Widget=function(){},V.Widget._childConstructors=[],V.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=V(t||this.defaultElement||this)[0],this.element=V(t),this.uuid=R++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=V(),this.hoverable=V(),this.focusable=V(),this.classesElementLookup={},t!==this&&(V.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=V(t.style?t.ownerDocument:t.document||t),this.window=V(this.document[0].defaultView||this.document[0].parentWindow)),this.options=V.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}}
vendor: 5,169 bytes, line 1
1,_getCreateEventData:V.noop,_create:V.noop,_init:V.noop,destroy:function(){var n=this;this._destroy(),V.each(this.classesElementLookup,function(e,t){n._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:V.noop,widget:function(){return this.element},option:function(e,t){var n,i,o,s=e;if(0==arguments.length)return V.widget.extend({},this.options);if("string"==typeof e)if(s={},e=(n=e.split(".")).shift(),n.length){for(o=0,i=s[e]=V.widget.extend({},this.options[e]);o<n.length-1;o++)i[n[o]]=i[n[o]]||{},i=i[n[o]];if(e=n.pop(),1==arguments.length)return void 0===i[e]?null:i[e];i[e]=t}else{if(1==arguments.length)return void 0===this.options[e]?null:this.options[e];s[e]=t}return this._setOptions(s),this},_setOptions:function(e){for(var t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,n,i;for(t in e)i=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&i&&i.length&&(n=V(i.get()),this._removeClass(i,t),n.addClass(this._classes({element:n,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function e(e,t){for(var n,i=0;i<e.length;i++)n=r.classesElementLookup[e[i]]||V(),n=o.add?(function(){var n=[];o.element.each(function(e,t){V.map(r.classesElementLookup,function(e){return e}).some(function(e){return e.is(t)})||n.push(t)}),r._on(V(n),{remove:"_untrackClassesElement"})}(),V(V.uniqueSort(n.get().concat(o.element.get())))):V(n.not(o.element).get()),r.classesElementLookup[e[i]]=n,s.push(e[i]),t&&o.classes[e[i]]&&s.push(o.classes[e[i]])}return(o=V.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&e(o.keys.match(/\S+/g)||[],!0),o.extra&&e(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(n){var i=this;V.each(i.classesElementLookup,function(e,t){-1!==V.inArray(n.target,t)&&(i.classesElementLookup[e]=V(t.not(n.target).get()))}),this._off(V(n.target))},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,i){var o="string"==typeof e||null===e,t={extra:o?t:n,keys:o?e:t,element:o?this.element:e,add:i="boolean"==typeof i?i:n};return t.element.toggleClass(this._classes(t),i),this},_on:function(o,s,e){var r,a=this;"boolean"!=typeof o&&(e=s,s=o,o=!1),e?(s=r=V(s),this.bindings=this.bindings.add(s)):(e=s,s=this.element,r=this.widget()),V.each(e,function(e,t){function n(){if(o||!0!==a.options.disabled&&!V(this).hasClass("ui-state-disabled"))return("string"==typeof t?a[t]:t).apply(a,arguments)}"string"!=typeof t&&(n.guid=t.guid=t.guid||n.guid||V.guid++);var e=e.match(/^([\w:-]*)\s*(.*)$/),i=e[1]+a.eventNamespace,e=e[2];e?r.on(i,e,n):s.on(i,n)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t),this.bindings=V(this.bindings.not(e).get()),this.focusable=V(this.focusable.not(e).get()),this.hoverable=V(this.hoverable.not(e).get())},_delay:function(e,t){var n=this;return setTimeout(function(){return("string"==typeof e?n[e]:e).apply(n,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(V(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(V(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(V(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(V(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,n){var i,o,s=this.options[e];if(n=n||{},(t=V.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],o=t.originalEvent)for(i in o)i in t||(t[i]=o[i]);return this.element.trigger(t,n),!("function"==typeof s&&!1===s.apply(this.element[0],[t].concat(n))||t.isDefaultPrevented())}},V.each({show:"fadeIn",hide:"fadeOut"},function(s,r){V.Widget.prototype["_"+s]=function(t,e,n){var i,o=(e="string"==typeof e?{effect:e}:e)?!0!==e&&"number"!=typeof e&&e.effect||r:s;"number"==typeof(e=e||{})?e={duration:e}:!0===e&&(e={}),i=!V.isEmptyObject(e),e.complete=n,e.delay&&t.delay(e.delay),i&&V.effects&&V.effects.effect[o]?t[s](e):o!==s&&t[o]?t[o](e.duration,e.easing,n):t.queue(function(e){V(this)[s](),n&&n.call(t[0]),e()})}}),V.widget,x=Math.max,C=Math.abs,o=/left|center|right/,a=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,t=V.fn.position,V.position={scrollbarWidth:function(){var e,t,n;return void 0!==i?i:(n=(t=V("<div style='display:block;position:absolute;
1width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],V("body").append(t),e=n.offsetWidth,t.css("overflow","scroll"),e===(n=n.offsetWidth)&&(n=t[0].clientWidth),t.remove(),i=e-n)},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),t="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight?V.position.scrollbarWidth():0,height:t?V.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=V(e||window),n=A(t[0]),i=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:n,isDocument:i,offset:n||i?{left:0,top:0}:V(e).offset(),scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},V.fn.position=function(d){var h,p,f,m,g,v,y,b,_,w,e;return d&&d.of?(v="string"==typeof(d=V.extend({},d)).of?V(document).find(d.of):V(d.of),y=V.position.getWithinInfo(d.within),b=V.position.getScrollInfo(y),_=(d.collision||"flip").split(" "),w={},e=9===(e=v[0]).nodeType?{width:v.width(),height:v.height(),offset:{top:0,left:0}}:A(e)?{width:v.width(),height:v.height(),offset:{top:v.scrollTop(),left:v.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:v.outerWidth(),height:v.outerHeight(),offset:v.offset()},v[0].preventDefault&&(d.at="left top"),p=e.width,f=e.height,g=V.extend({},m=e.offset),V.each(["my","at"],function(){var e,t,n=(d[this]||"").split(" ");(n=1===n.length?o.test(n[0])?n.concat(["center"]):a.test(n[0])?["center"].concat(n):["center","center"]:n)[0]=o.test(n[0])?n[0]:"center",n[1]=a.test(n[1])?n[1]:"center",e=l.exec(n[0]),t=l.exec(n[1]),w[this]=[e?e[0]:0,t?t[0]:0],d[this]=[c.exec(n[0])[0],c.exec(n[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===d.at[0]?g.left+=p:"center"===d.at[0]&&(g.left+=p/2),"bottom"===d.at[1]?g.top+=f:"center"===d.at[1]&&(g.top+=f/2),h=k(w.at,p,f),g.left+=h[0],g.top+=h[1],this.each(function(){var n,e,r=V(this),a=r.outerWidth(),l=r.outerHeight(),t=S(this,"marginLeft"),i=S(this,"marginTop"),o=a+t+S(this,"marginRight")+b.width,s=l+i+S(this,"marginBottom")+b.height,c=V.extend({},g),u=k(w.my,r.outerWidth(),r.outerHeight());"right"===d.my[0]?c.left-=a:"center"===d.my[0]&&(c.left-=a/2),"bottom"===d.my[1]?c.top-=l:"center"===d.my[1]&&(c.top-=l/2),c.left+=u[0],c.top+=u[1],n={marginLeft:t,marginTop:i},V.each(["left","top"],function(e,t){V.ui.position[_[e]]&&V.ui.position[_[e]][t](c,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:l,collisionPosition:n,collisionWidth:o,collisionHeight:s,offset:[h[0]+u[0],h[1]+u[1]],my:d.my,at:d.at,within:y,elem:r})}),d.using&&(e=function(e){var t=m.left-c.left,n=t+p-a,i=m.top-c.top,o=i+f-l,s={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:r,left:c.left,top:c.top,width:a,height:l},horizontal:n<0?"left":0<t?"right":"center",vertical:o<0?"top":0<i?"bottom":"middle"};
vendor: 19,690 bytes, line 1
1p<a&&C(t+n)<p&&(s.horizontal="center"),f<l&&C(i+o)<f&&(s.vertical="middle"),x(C(t),C(n))>x(C(i),C(o))?s.important="horizontal":s.important="vertical",d.using.call(this,e,s)}),r.offset(V.extend(c,{using:e}))})):t.apply(this,arguments)},V.ui.position={fit:{left:function(e,t){var n,i=t.within,o=i.isWindow?i.scrollLeft:i.offset.left,i=i.width,s=e.left-t.collisionPosition.marginLeft,r=o-s,a=s+t.collisionWidth-i-o;t.collisionWidth>i?0<r&&a<=0?(n=e.left+r+t.collisionWidth-i-o,e.left+=r-n):e.left=!(0<a&&r<=0)&&a<r?o+i-t.collisionWidth:o:0<r?e.left+=r:0<a?e.left-=a:e.left=x(e.left-s,e.left)},top:function(e,t){var n,i=t.within,i=i.isWindow?i.scrollTop:i.offset.top,o=t.within.height,s=e.top-t.collisionPosition.marginTop,r=i-s,a=s+t.collisionHeight-o-i;t.collisionHeight>o?0<r&&a<=0?(n=e.top+r+t.collisionHeight-o-i,e.top+=r-n):e.top=!(0<a&&r<=0)&&a<r?i+o-t.collisionHeight:i:0<r?e.top+=r:0<a?e.top-=a:e.top=x(e.top-s,e.top)}},flip:{left:function(e,t){var n=t.within,i=n.offset.left+n.scrollLeft,o=n.width,n=n.isWindow?n.scrollLeft:n.offset.left,s=e.left-t.collisionPosition.marginLeft,r=s-n,s=s+t.collisionWidth-o-n,a="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,l="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,c=-2*t.offset[0];r<0?((o=e.left+a+l+c+t.collisionWidth-o-i)<0||o<C(r))&&(e.left+=a+l+c):0<s&&(0<(i=e.left-t.collisionPosition.marginLeft+a+l+c-n)||C(i)<s)&&(e.left+=a+l+c)},top:function(e,t){var n=t.within,i=n.offset.top+n.scrollTop,o=n.height,n=n.isWindow?n.scrollTop:n.offset.top,s=e.top-t.collisionPosition.marginTop,r=s-n,s=s+t.collisionHeight-o-n,a="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,l="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,c=-2*t.offset[1];r<0?((o=e.top+a+l+c+t.collisionHeight-o-i)<0||o<C(r))&&(e.top+=a+l+c):0<s&&(0<(i=e.top-t.collisionPosition.marginTop+a+l+c-n)||C(i)<s)&&(e.top+=a+l+c)}},flipfit:{left:function(){V.ui.position.flip.left.apply(this,arguments),V.ui.position.fit.left.apply(this,arguments)},top:function(){V.ui.position.flip.top.apply(this,arguments),V.ui.position.fit.top.apply(this,arguments)}}},V.ui.position,V.extend(V.expr.pseudos,{data:V.expr.createPseudo(function(t){return function(e){return!!V.data(e,t)}})}),V.fn.extend({disableSelection:(p="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(p+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var h,p,f={},H=f.toString,L=/^([\-+])=\s*(\d+\.?\d*)/,$=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],m=V.Color=function(e,t,n,i){return new V.Color.fn.parse(e,t,n,i)},g={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},q={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},v=V.each;function y(e){return null==e?e+"":"object"==typeof e?f[H.call(e)]||"object":typeof e}function b(e,t,n){var i=q[t.type]||{};return null==e?n||!t.def?null:t.def:(e=i.floor?~~e:parseFloat(e),i.mod?(e+i.mod)%i.mod:Math.min(i.max,Math.max(0,e)))}function F(i){var o=m(),s=o._rgba=[];return i=i.toLowerCase(),v($,function(e,t){var n=t.re.exec(i),n=n&&t.parse(n),t=t.space||"rgba";if(n)return n=o[t](n),o[g[t].cache]=n[g[t].cache],s=o._rgba=n._rgba,!1}),s.length?("0,0,0,0"===s.join()&&V.extend(s,w.transparent),o):w[i]}function _(e,t,n){return 6*(n=(n+1)%1)<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}v(g,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),V.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),(m.fn=V.extend(m.prototype,{parse:function(o,e,t,n){if(void 0===o)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=V(o).css(e),e=void 0);var s=this,i=y(o),r=this._rgba=[];return void 0!==e&&(o=[o,e,t,n],i="array"),"string"===i?this.parse(F(o)||w._default):"array"===i?(v(g.rgba.props,function(e,t){r[t.idx]=b(o[t.idx],t)}),this):"object"===i?(o instanceof m?v(g,function(e,t){o[t.cache]&&(s[t.cache]=o[t.cache].slice())}):v(g,function(e,n){var i=n.cache;v(n.props,function(e,t){if(!s[i]&&n.to){if("alpha"===e||null==o[e])return;s[i]=n.to(s._rgba)}s[i][t.idx]=b(o[e],t,!0)}),s[i]&&V.inArray(null,s[i].slice(0,3))<0&&(null==s[i][3]&&(s[i][3]=1),n.from)&&(s._rgba=n.from(s[i]))}),this):void 0},is:function(e){var o=m(e),s=!0,r=this;return v(g,function(e,t){var n,i=o[t.cache];return i&&(n=r[t.cache]||t.to&&t.to(r._rgba)||[],v(t.props,function(e,t){if(null!=i[t.idx])return s=i[t.idx]===n[t.idx]})),s}),s},_space:function(){var n=[],i=this;return v(g,function(e,t){i[t.cache]&&n.push(e)}),n.pop()},transition:function(e,r){var e=(c=m(e))._space(),t=g[e],n=0===this.alpha()?m("transparent"):this,a=n[t.cache]||t.to(n._rgba),l=a.slice(),c=c[t.cache];return v(t.props,function(e,t){var n=t.idx,i=a[n],o=c[n],s=q[t.type]||{};null!==o&&(null===i?l[n]=o:(s.mod&&(o-i>s.mod/2?i+=s.mod:i-o>s.mod/2&&(i-=s.mod)),l[n]=b((o-i)*r+i,t)))}),this[e](l)},blend:function(e){var t,n,i;return 1===this._rgba[3]?this:(t=this._rgba.slice(),n=t.pop(),i=m(e)._rgba,m(V.map(t,function(e,t){return(1-n)*i[t]+n*e})))},toRgbaString:function(){var e="rgba(",t=V.map(this._rgba,function(e,t){return null!=e?e:+(2<t)});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join(", ")+")"},toHslaString:function(){var e="hsla(",t=V.map(this.hsla(),function(e,t){return null==e&&(e=+(2<t)),e=t&&t<3?Math.round(100*e)+"%":e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join(", ")+")"},toHexString:function(e){var t=this._rgba.slice(),n=t.pop();return e&&t.push(~~(255*n)),"#"+V.map(t,function(e){return("0"+(e||0).toString(16)).substr(-2)}).join("")},toString:function(){return this.toRgbaString()}})).parse.prototype=m.fn,g.hsla.to=function(e){var t,n,i,o,s,r,a,l;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/255,n=e[1]/255,i=e[2]/255,e=e[3],r=(o=Math.max(t,n,i))-(s=Math.min(t,n,i)),l=.5*(a=o+s),[Math.round(s===o?0:t===o?60*(n-i)/r+360:n===o?60*(i-t)/r+120:60*(t-n)/r+240)%360,0==r?0:l<=.5?r/a:r/(2-a),l,null==e?1:e])},g.hsla.from=function(e){var t,n,i;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/360,i=e[1],n=e[2],e=e[3],i=2*n-(n=n<=.5?n*(1+i):n+i-n*i),[Math.round(255*_(i,n,t+1/3)),Math.round(255*_(i,n,t)),Math.round(255*_(i,n,t-1/3)),e])},v(g,function(a,e){var t=e.props,s=e.cache,r=e.to,l=e.from;m.fn[a]=function(e){var n,i,o;return r&&!this[s]&&(this[s]=r(this._rgba)),void 0===e?this[s].slice():(n=y(e),i="array"===n||"object"===n?e:arguments,o=this[s].slice(),v(t,function(e,t){e=i["object"===n?e:t.idx];null==e&&(e=o[t.idx]),o[t.idx]=b(e,t)}),l?((e=m(l(o)))[s]=o,e):m(o))},v(t,function(s,r){m.fn[s]||(m.fn[s]=function(e){var t,n,i=y(e),o=(t=this[n="alpha"===s?this._hsla?"hsla":"rgba":a]())[r.idx];return"undefined"===i?o:("function"===i&&(i=y(e=e.call(this,o))),null==e&&r.empty?this:("string"===i&&(i=L.exec(e))&&(e=o+parseFloat(i[2])*("+"===i[1]?1:-1)),t[r.idx]=e,this[n](t)))})})}),(m.hook=function(e){v(e.split(" "),function(e,i){V.cssHooks[i]={set:function(e,t){var n;"transparent"===t||"string"===y(t)&&!(n=F(t))||(t=(t=m(n||t)).toRgbaString()),e.style[i]=t}},V.fx.step[i]=function(e){e.colorInit||(e.start=m(e.elem,i),e.end=m(e.end),e.colorInit=!0),V.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})})("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),V.cssHooks.borderColor={expand:function(n){var i={};return v(["Top","Right","Bottom","Left"],function(e,t){i["border"+t+"Color"]=n}),i}};var z,U,W,B,Y,K,G,Q,X,w=V.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},E="ui-effects-",T="ui-effects-style",O="ui-effects-animated";function D(e,t,n,i){return e={effect:e=V.isPlainObject(e)?(t=e).effect:e},"function"==typeof(t=null==t?{}:t)&&(i=t,n=null,t={}),"number"!=typeof t&&!V.fx.speeds[t]||(i=n,n=t,t={}),"function"==typeof n&&(i=n,n=null),t&&V.extend(e,t),n=n||t.duration,e.duration=V.fx.off?0:"number"==typeof n?n:n in V.fx.speeds?V.fx.speeds[n]:V.fx.speeds._default,e.complete=i||t.complete,e}function I(e){return!e||"number"==typeof e||V.fx.speeds[e]||"string"==typeof e&&!V.effects.effect[e]||"function"==typeof e||"object"==typeof e&&!e.effect}function J(e,t){var n=t.outerWidth(),t=t.outerHeight(),e=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,n,t,0];return{top:parseFloat(e[1])||0,right:"auto"===e[2]?n:parseFloat(e[2]),bottom:"auto"===e[3]?t:parseFloat(e[3]),left:parseFloat(e[4])||0}}function Z(e){for(var t,n=e.ownerDocument.defaultView.getComputedStyle(e),i={},o=n.length;o--;)"string"==typeof n[t=n[o]]&&(i[t.replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]=n[t]);return i}V.effects={effect:{}},Q=["add","remove","toggle"],X={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},V.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){V.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(V.style(e.elem,t,e.end),e.setAttr=!0)}}),V.effects.animateClass=function(o,e,t,n){var s=V.speed(e,t,n);return this.queue(function(){var e,n=V(this),t=n.attr("class")||"",i=(i=s.children?n.find("*").addBack():n).map(function(){return{el:V(this),start:Z(this)}});(e=function(){V.each(Q,function(e,t){o[t]&&n[t+"Class"](o[t])})})(),i=i.map(function(){return this.end=Z(this.el[0]),this.diff=function(e,t){var n,i,o={};for(n in t)i=t[n],e[n]===i||X[n]||!V.fx.step[n]&&isNaN(parseFloat(i))||(o[n]=i);return o}(this.start,this.end),this}),n.attr("class",t),i=i.map(function(){var e=this,t=V.Deferred(),n=V.extend({},s,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,n),t.promise()}),V.when.apply(V,i.get()).done(function(){e(),V.each(arguments,function(){var t=this.el;V.each(this.diff,function(e){t.css(e,"")})}),s.complete.call(n[0])})})},V.fn.extend({addClass:(Y=V.fn.addClass,function(e,t,n,i){return t?V.effects.animateClass.call(this,{add:e},t,n,i):Y.apply(this,arguments)}),removeClass:(K=V.fn.removeClass,function(e,t,n,i){return 1<arguments.length?V.effects.animateClass.call(this,{remove:e},t,n,i):K.apply(this,arguments)}),toggleClass:(G=V.fn.toggleClass,function(e,t,n,i,o){return"boolean"!=typeof t&&void 0!==t?V.effects.animateClass.call(this,{toggle:e},t,n,i):n?V.effects.animateClass.call(this,t?{add:e}:{remove:e},n,i,o):G.apply(this,arguments)}),switchClass:function(e,t,n,i,o){return V.effects.animateClass.call(this,{add:t,remove:e},n,i,o)}}),V.expr&&V.expr.pseudos&&V.expr.pseudos.animated&&(V.expr.pseudos.animated=(z=V.expr.pseudos.animated,function(e){return!!V(e).data(O)||z(e)})),!0===V.uiBackCompat&&V.extend(V.effects,{save:function(e,t){for(var n=0,i=t.length;n<i;n++)null!==t[n]&&e.data(E+t[n],e[0].style[t[n]])},restore:function(e,t){for(var n,i=0,o=t.length;i<o;i++)null!==t[i]&&(n=e.data(E+t[i]),e.css(t[i],n))},setMode:function(e,t){return t="toggle"===t?e.is(":hidden")?"show":"hide":t},createWrapper:function(n){if(n.parent().is(".ui-effects-wrapper"))return n.parent();var i={width:n.outerWidth(!0),height:n.outerHeight(!0),float:n.css("float")},e=V("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:n.width(),height:n.height()},o=document.activeElement;try{o.id}catch(e){o=document.body}return n.wrap(e),n[0]!==o&&!V.contains(n[0],o)||V(o).trigger("focus"),e=n.parent(),"static"===n.css("position")?(e.css({position:"relative"}),n.css({position:"relative"})):(V.extend(i,{position:n.css("position"),zIndex:n.css("z-index")}),V.each(["top","left","bottom","right"],function(e,t){i[t]=n.css(t),isNaN(parseInt(i[t],10))&&(i[t]="auto")}),n.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),n.css(t),e.css(i).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]===t||V.contains(e[0],t))&&V(t).trigger("focus"),e}}),V.extend(V.effects,{version:"1.14.2",define:function(e,t,n){return n||(n=t,t="effect"),V.effects.effect[e]=n,V.effects.effect[e].mode=t,n},scaledDimensions:function(e,t,n){var i;return 0===t?{height:0,width:0,outerHeight:0,outerWidth:0}:(i="horizontal"!==n?(t||100)/100:1,n="vertical"!==n?(t||100)/100:1,{height:e.height()*n,width:e.width()*i,outerHeight:e.outerHeight()*n,outerWidth:e.outerWidth()*i})},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,n){var i=e.queue();1<t&&i.splice.apply(i,[1,0].concat(i.splice(t,n))),e.dequeue()},saveStyle:function(e){e.data(T,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(T)||"",e.removeData(T)},mode:function(e,t){e=e.is(":hidden");return"toggle"===t&&(t=e?"show":"hide"),t=(e?"hide"===t:"show"===t)?"none":t},getBaseline:function(e,t){var n,i;switch(e[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=e[0]/t.height}switch(e[1]){case"left":i=0;break;case"center":i=.5;break;case"right":i=1;break;default:i=e[1]/t.width}return{x:i,y:n}},createPlaceholder:function(e){var t,n=e.css("position"),i=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",t=V("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(E+"placeholder",t)),e.css({position:n,left:i.left,top:i.top}),t},removePlaceholder:function(e){var t=E+"placeholder",n=e.data(t);n&&(n.remove(),e.removeData(t))},cleanUp:function(e){V.effects.restoreStyle(e),V.effects.removePlaceholder(e)},setTransition:function(i,e,o,s){return s=s||{},V.each(e,function(e,t){var n=i.cssUnit(t);0<n[0]&&(s[t]=n[0]*o+n[1])}),s}}),V.fn.extend({effect:function(){function e(e){var t=V(this),n=V.effects.mode(t,a)||s;t.data(O,!0),l.push(n),s&&("show"===n||n===s&&"hide"===n)&&t.show(),s&&"none"===n||V.effects.saveStyle(t),"function"==typeof e&&e()}var i=D.apply(this,arguments),o=V.effects.effect[i.effect],s=o.mode,t=i.queue,n=t||"fx",r=i.complete,a=i.mode,l=[];return V.fx.off||!o?a?this[a](i.duration,r):this.each(function(){r&&r.call(this)}):!1===t?this.each(e).each(c):this.queue(n,e).queue(n,c);function c(e){var t=V(this);function n(){"function"==typeof r&&r.call(t[0]),"function"==typeof e&&e()}i.mode=l.shift(),!0!==V.uiBackCompat||s?"none"===i.mode?(t[a](),n()):o.call(t[0],i,function(){t.removeData(O),V.effects.cleanUp(t),"hide"===i.mode&&t.hide(),n()}):(t.is(":hidden")?"hide"===a:"show"===a)?(t[a](),n()):o.call(t[0],i,n)}},show:(U=V.fn.show,function(e){return I(e)?U.apply(this,arguments):((e=D.apply(this,arguments)).mode="show",this.effect.call(this,e))}),hide:(W=V.fn.hide,function(e){return I(e)?W.apply(this,arguments):((e=D.apply(this,arguments)).mode="hide",this.effect.call(this,e))}),toggle:(B=V.fn.toggle,function(e){return I(e)||"boolean"==typeof e?B.apply(this,arguments):((e=D.apply(this,arguments)).mode="toggle",this.effect.call(this,e))}),cssUnit:function(e){var n=this.css(e),i=[];return V.each(["em","px","%","pt"],function(e,t){0<n.indexOf(t)&&(i=[parseFloat(n),t])}),i},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):J(this.css("clip"),this)},transfer:function(e,t){var n=V(this),i=V(e.to),o="fixed"===i.css("position"),s=V("body"),r=o?s.scrollTop():0,s=o?s.scrollLeft():0,a=i.offset(),a={top:a.top-r,left:a.left-s,height:i.innerHeight(),width:i.innerWidth()},i=n.offset(),l=V("<div class='ui-effects-transfer'></div>");l.appendTo("body").addClass(e.className).css({top:i.top-r,left:i.left-s,height:n.innerHeight(),width:n.innerWidth(),position:o?"fixed":"absolute"}).animate(a,e.duration,e.easing,function(){l.remove(),"function"==typeof t&&t()})}}),V.fx.step.clip=function(e){e.clipInit||(e.start=V(e.elem).cssClip(),"string"==typeof e.end&&(e.end=J(e.end,e.elem)),e.clipInit=!0),V(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})},n={},V.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){n[e]=function(e){return Math.pow(e,t+2)}}),V.extend(n,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),V.each(n,function(e,t){V.easing["easeIn"+e]=t,V.easing["easeOut"+e]=function(e){return 1-t(1-e)},V.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}});V.effects;V.effects.define("blind","hide",function(e,t){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},i=V(this),o=e.direction||"up",s=i.cssClip(),r={clip:V.extend({},s)},a=V.effects.createPlaceholder(i);r.clip[n[o][0]]=r.clip[n[o][1]],"show"===e.mode&&(i.cssClip(r.clip),a&&a.css(V.effects.clipToBox(r)),r.clip=s),a&&a.animate(V.effects.clipToBox(r),e.duration,e.easing),i.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("bounce",function(e,t){var n,i,o=V(this),s=e.mode,r="hide"===s,s="show"===s,a=e.direction||"up",l=e.distance,c=e.times||5,u=2*c+(s||r?1:0),d=e.duration/u,h=e.easing,p="up"===a||"down"===a?"top":"left",f="up"===a||"left"===a,m=0,e=o.queue().length;for(V.effects.createPlaceholder(o),a=o.css(p),l=l||o["top"==p?"outerHeight":"outerWidth"]()/3,s&&((i={opacity:1})[p]=a,o.css("opacity",0).css(p,f?-2*l:2*l).animate(i,d,h)),r&&(l/=Math.pow(2,c-1)),(i={})[p]=a;m<c;m++)(n={})[p]=(f?"-=":"+=")+l,o.animate(n,d,h).animate(i,d,h),l=r?2*l:l/2;r&&((n={opacity:0}
vendor: 7,384 bytes, line 1
1)[p]=(f?"-=":"+=")+l,o.animate(n,d,h)),o.queue(t),V.effects.unshift(o,e,1+u)}),V.effects.define("clip","hide",function(e,t){var n={},i=V(this),o=e.direction||"vertical",s="both"===o,r=s||"horizontal"===o,s=s||"vertical"===o,o=i.cssClip();n.clip={top:s?(o.bottom-o.top)/2:o.top,right:r?(o.right-o.left)/2:o.right,bottom:s?(o.bottom-o.top)/2:o.bottom,left:r?(o.right-o.left)/2:o.left},V.effects.createPlaceholder(i),"show"===e.mode&&(i.cssClip(n.clip),n.clip=o),i.animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("drop","hide",function(e,t){var n,i=V(this),o=e.mode,s=e.direction||"left",r="up"===s||"down"===s?"top":"left",s="up"===s||"left"===s?"-=":"+=",a={opacity:0};V.effects.createPlaceholder(i),n=e.distance||i["top"==r?"outerHeight":"outerWidth"](!0)/2,a[r]=s+n,"show"===o&&(i.css(a),a[r]=("+="==s?"-=":"+=")+n,a.opacity=1),i.animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("explode","hide",function(e,t){var n,i,o,s,r,a,l=e.pieces?Math.round(Math.sqrt(e.pieces)):3,c=V(this),u="show"===e.mode,d=c.show().css("visibility","hidden").offset(),h=Math.ceil(c.outerWidth()/l),p=Math.ceil(c.outerHeight()/l),f=[];function m(){f.push(this),f.length===l*l&&(c.css({visibility:"visible"}),V(f).remove(),t())}for(n=0;n<l;n++)for(i=0,s=d.top+n*p,a=n-(l-1)/2;i<l;i++)o=d.left+i*h,r=i-(l-1)/2,c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-i*h,top:-n*p}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h,height:p,left:o+(u?r*h:0),top:s+(u?a*p:0),opacity:+!u}).animate({left:o+(u?0:r*h),top:s+(u?0:a*p),opacity:+!!u},e.duration||500,e.easing,m)}),V.effects.define("fade","toggle",function(e,t){var n="show"===e.mode;V(this).css("opacity",+!n).animate({opacity:+!!n},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("fold","hide",function(t,e){var n=V(this),i=t.mode,o=t.size||15,s=/([0-9]+)%/.exec(o),r=t.horizFirst?["right","bottom"]:["bottom","right"],a=t.duration/2,l=V.effects.createPlaceholder(n),c=n.cssClip(),u={clip:V.extend({},c)},d={clip:V.extend({},c)},h=[c[r[0]],c[r[1]]],p=n.queue().length;s&&(o=parseInt(s[1],10)/100*h[+("hide"!==i)]),u.clip[r[0]]=o,d.clip[r[0]]=o,d.clip[r[1]]=0,"show"===i&&(n.cssClip(d.clip),l&&l.css(V.effects.clipToBox(d)),d.clip=c),n.queue(function(e){l&&l.animate(V.effects.clipToBox(u),a,t.easing).animate(V.effects.clipToBox(d),a,t.easing),e()}).animate(u,a,t.easing).animate(d,a,t.easing).queue(e),V.effects.unshift(n,p,4)}),V.effects.define("highlight","show",function(e,t){var n=V(this),i={backgroundColor:n.css("backgroundColor")};"hide"===e.mode&&(i.opacity=0),V.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(i,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("size",function(i,t){var o,n=V(this),e=["fontSize"],s=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],r=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],a=i.mode,l="effect"!==a,c=i.scale||"both",u=i.origin||["middle","center"],d=n.css("position"),h=n.position(),p=V.effects.scaledDimensions(n),f=i.from||p,m=i.to||V.effects.scaledDimensions(n,0);V.effects.createPlaceholder(n),"show"===a&&(a=f,f=m,m=a),o={from:{y:f.height/p.height,x:f.width/p.width},to:{y:m.height/p.height,x:m.width/p.width}},"box"!==c&&"both"!==c||(o.from.y!==o.to.y&&(f=V.effects.setTransition(n,s,o.from.y,f),m=V.effects.setTransition(n,s,o.to.y,m)),o.from.x===o.to.x)||(f=V.effects.setTransition(n,r,o.from.x,f),m=V.effects.setTransition(n,r,o.to.x,m)),"content"!==c&&"both"!==c||o.from.y===o.to.y||(f=V.effects.setTransition(n,e,o.from.y,f),m=V.effects.setTransition(n,e,o.to.y,m)),u&&(a=V.effects.getBaseline(u,p),f.top=(p.outerHeight-f.outerHeight)*a.y+h.top,f.left=(p.outerWidth-f.outerWidth)*a.x+h.left,m.top=(p.outerHeight-m.outerHeight)*a.y+h.top,m.left=(p.outerWidth-m.outerWidth)*a.x+h.left),delete f.outerHeight,delete f.outerWidth,n.css(f),"content"!==c&&"both"!==c||(s=s.concat(["marginTop","marginBottom"]).concat(e),r=r.concat(["marginLeft","marginRight"]),n.find("*[width]").each(function(){var e=V(this),t=V.effects.scaledDimensions(e),n={height:t.height*o.from.y,width:t.width*o.from.x,outerHeight:t.outerHeight*o.from.y,outerWidth:t.outerWidth*o.from.x},t={height:t.height*o.to.y,width:t.width*o.to.x,outerHeight:t.height*o.to.y,outerWidth:t.width*o.to.x};o.from.y!==o.to.y&&(n=V.effects.setTransition(e,s,o.from.y,n),t=V.effects.setTransition(e,s,o.to.y,t)),o.from.x!==o.to.x&&(n=V.effects.setTransition(e,r,o.from.x,n),t=V.effects.setTransition(e,r,o.to.x,t)),l&&V.effects.saveStyle(e),e.css(n),e.animate(t,i.duration,i.easing,function(){l&&V.effects.restoreStyle(e)})})),n.animate(m,{queue:!1,duration:i.duration,easing:i.easing,complete:function(){var e=n.offset();0===m.opacity&&n.css("opacity",f.opacity),l||(n.css("position","static"===d?"relative":d).offset(e),V.effects.saveStyle(n)),t()}})}),V.effects.define("scale",function(e,t){var n=V(this),i=e.mode,i=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:100*("effect"===i)),n=V.extend(!0,{from:V.effects.scaledDimensions(n),to:V.effects.scaledDimensions(n,i,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(n.from.opacity=1,n.to.opacity=0),V.effects.effect.size.call(this,n,t)}),V.effects.define("puff","hide",function(e,t){e=V.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});V.effects.effect.scale.call(this,e,t)}),V.effects.define("pulsate","show",function(e,t){var n=V(this),i=e.mode,o="show"===i,s=2*(e.times||5)+ +!(!o&&"hide"!==i),r=e.duration/s,a=0,l=1,i=n.queue().length;for(!o&&n.is(":visible")||(n.css("opacity",0).show(),a=1);l<s;l++)n.animate({opacity:a},r,e.easing),a=1-a;n.animate({opacity:a},r,e.easing),n.queue(t),V.effects.unshift(n,i,1+s)}),V.effects.define("shake",function(e,t){var n=1,i=V(this),o=e.direction||"left",s=e.distance||20,r=e.times||3,a=2*r+1,l=Math.round(e.duration/a),c="up"===o||"down"===o?"top":"left",o="up"===o||"left"===o,u={},d={},h={},p=i.queue().length;for(V.effects.createPlaceholder(i),u[c]=(o?"-=":"+=")+s,d[c]=(o?"+=":"-=")+2*s,h[c]=(o?"-=":"+=")+2*s,i.animate(u,l,e.easing);n<r;n++)i.animate(d,l,e.easing).animate(h,l,e.easing);i.animate(d,l,e.easing).animate(u,l/2,e.easing).queue(t),V.effects.unshift(i,p,1+a)}),V.effects.define("slide","show",function(e,t){var n,i,o=V(this),s={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},r=e.mode,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",c=e.distance||o["top"==l?"outerHeight":"outerWidth"](!0),u={};V.effects.createPlaceholder(o),n=o.cssClip(),i=o.position()[l],u[l]=("up"===a||"left"===a?-1:1)*c+i,u.clip=o.cssClip(),u.clip[s[a][1]]=u.clip[s[a][0]],"show"===r&&(o.cssClip(u.clip),o.css(l,u[l]),u.clip=n,u[l]=i),o.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),!0===V.uiBackCompat&&V.effects.define("transfer",function(e,t){V(this).transfer(e,t)}),V.ui.focusable=function(e,t){var n,i,o,s=e.nodeName.toLowerCase();return"area"===s?(o=(n=e.parentNode).name,!!e.href&&!!o&&"map"===n.nodeName.toLowerCase()&&0<(n=V("img[usemap='#"+o+"']")).length&&n.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(i=!e.disabled)&&(o=V(e).closest("fieldset")[0])&&(i=!o.disabled):i="a"===s&&e.href||t,i&&
vendor: 17,922 bytes, line 1
1V(e).is(":visible")&&"visible"===V(e).css("visibility"))},V.extend(V.expr.pseudos,{focusable:function(e){return V.ui.focusable(e,null!=V.attr(e,"tabindex"))}}),V.ui.focusable,V.ui.formResetMixin={_formResetHandler:function(){var t=V(this);setTimeout(function(){var e=t.data("ui-form-reset-instances");V.each(e,function(){this.refresh()})})},_bindFormResetHandler:function(){var e;this.form=V(this.element.prop("form")),this.form.length&&((e=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e))},_unbindFormResetHandler:function(){var e;this.form.length&&((e=this.form.data("ui-form-reset-instances")).splice(V.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},V.escapeSelector||(V.escapeSelector=function(e){return CSS.escape(e+"")}),V.fn.even&&V.fn.odd||V.fn.extend({even:function(){return this.filter(function(e){return e%2==0})},odd:function(){return this.filter(function(e){return e%2==1})}}),V.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},V.fn.labels=function(){var e,t,n;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(t=this.eq(0).parents("label"),(e=this.attr("id"))&&(n=(n=this.eq(0).parents().last()).add((n.length?n:this).siblings()),e="label[for='"+CSS.escape(e)+"']",t=t.add(n.find(e).addBack(e))),this.pushStack(t)):this.pushStack([])},V.fn.scrollParent=function(e){var t=this.css("position"),n="absolute"===t,i=e?/(auto|scroll|hidden)/:/(auto|scroll)/,e=this.parents().filter(function(){var e=V(this);return(!n||"static"!==e.css("position"))&&i.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&e.length?e:V(this[0].ownerDocument||document)},V.extend(V.expr.pseudos,{tabbable:function(e){var t=V.attr(e,"tabindex"),n=null!=t;return(!n||0<=t)&&V.ui.focusable(e,n)}}),V.fn.extend({uniqueId:(e=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&V(this).removeAttr("id")})}}),V.widget("ui.accordion",{version:"1.14.2",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(e){return e.find("> li > :first-child").add(e.find("> :not(li)").filter(function(e){return e%2==0}))},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=V(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():V()}},_createIcons:function(){var e,t=this.options.icons;t&&(e=V("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+t.header),e.prependTo(this.headers),e=this.active.children(".ui-accordion-header-icon"),this._removeClass(e,t.header)._addClass(e,null,t.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"===e?this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t)&&this._createIcons())},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=V.ui.keyCode,n=this.headers.length,i=this.headers.index(e.target),o=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:o=this.headers[(i+1)%n];break;case t.LEFT:case t.UP:o=this.headers[(i-1+n)%n];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:o=this.headers[0];break;case t.END:o=this.headers[n-1]}o&&(V(e.target).attr("tabIndex",-1),V(o).attr("tabIndex",0),V(o).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===V.ui.keyCode.UP&&e.ctrlKey&&V(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=V()):!1===e.active?this._activate(0):this.active.length&&!V.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=V()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var n,e=this.options,t=e.heightStyle,i=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=V(this),t=e.uniqueId().attr("id"),n=e.next(),i=n.uniqueId().attr("id");e.attr("aria-controls",i),n.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(n=i.height(),this.element.siblings(":visible").each(function(){var e=V(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(n-=e.outerHeight(!0))}),this.headers.each(function(){n-=V(this).outerHeight(!0)}),this.headers.next().each(function(){V(this).height(Math.max(0,n-V(this).innerHeight()+V(this).height()))}).css("overflow","auto")):"auto"===t&&(n=0,this.headers.next().each(function(){var e=V(this).is(":visible");e||V(this).show(),n=Math.max(n,V(this).css("height","").height()),e||V(this).hide()}).height(n))},_activate:function(e){e=this._findActive(e)[0];e!==this.active[0]&&(e=e||this.active[0],this._eventHandler({target:e,currentTarget:e,preventDefault:V.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):V()},_setupEvents:function(e){var n={keydown:"_keydown"};e&&V.each(e.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t=this.options,n=this.active,i=V(e.currentTarget),o=i[0]===n[0],s=o&&t.collapsible,r=s?V():i.next(),a=n.next(),a={oldHeader:n,oldPanel:a,newHeader:s?V():i,newPanel:r};e.preventDefault(),o&&!t.collapsible||!1===this._trigger("beforeActivate",e,a)||(t.active=!s&&this.headers.index(i),this.active=o?V():i,this._toggle(a),this._removeClass(n,"ui-accordion-header-active","ui-state-active"),t.icons&&(r=n.children(".ui-accordion-header-icon"),this._removeClass(r,null,t.icons.activeHeader)._addClass(r,null,t.icons.header)),o)||(this._removeClass(i,"ui-accordion-header-collapsed")._addClass(i,"ui-accordion-header-active","ui-state-active"),t.icons&&(e=i.children(".ui-accordion-header-icon"),this._removeClass(e,null,t.icons.header)._addClass(e,null,t.icons.activeHeader)),this._addClass(i.next(),"ui-accordion-content-active"))},_toggle:function(e){var t=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=n,this.options.animate?this._animate(t,n,e):(n.hide(),t.show(),this._toggleComplete(e)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),t.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(V(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,n,t){function i(){s._toggleComplete(t)}var o,s=this,r=0,a=e.css("box-sizing"),l=e.length&&(!n.length||e.index()<n.index()),c=this.options.animate||{},l=l&&c.down||c,u=(u="string"==typeof l?l:u)||l.easing||c.easing,d=(d="number"==typeof l?l:d)||l.duration||c.duration;return n.length?e.length?(o=e.show().outerHeight(),n.animate(this.hideProps,{duration:d,easing:u,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:d,easing:u,complete:i,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===a&&(r+=t.now):"content"!==s.options.heightStyle&&(t.now=Math.round(o-n.outerHeight()-r),r=0)}})):n.animate(this.hideProps,d,u,i):e.animate(this.showProps,d,u,i)},_toggleComplete:function(e){var t=e.oldPanel,n=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(n,"ui-accordion-header-active")._addClass(n,"ui-accordion-header-collapsed"),this._trigger("activate",null,e)}}),V.widget("ui.menu",{version:"1.14.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(e){var t=V(e.target),n=V(this.document[0].activeElement);!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this._menuItems().first();t||this.focus(e,n)},blur:function(e){this._delay(function(){V.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(e){var t,n;this.previousFilter||e.clientX===this.lastMousePosition.x&&e.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:e.clientX,y:e.clientY},t=V(e.target).closest(".ui-menu-item"),n=V(e.currentTarget),t[0]!==n[0])||n.is(".ui-state-active")||(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,n))},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=V(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,n,i,o=!0;switch(e.keyCode){case V.ui.keyCode.PAGE_UP:this.previousPage(e);break;case V.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case V.ui.keyCode.HOME:this._move("first","first",e);break;case V.ui.keyCode.END:this._move("last","last",e);break;case V.ui.keyCode.UP:this.previous(e);break;case V.ui.keyCode.DOWN:this.next(e);break;case V.ui.keyCode.LEFT:this.collapse(e);break;case V.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case V.ui.keyCode.ENTER:case V.ui.keyCode.SPACE:this._activate(e);break;case V.ui.keyCode.ESCAPE:this.collapse(e);break;default:t=this.previousFilter||"",i=o=!1,n=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),n===t?i=!0:n=t+n,t=this._filterMenuItems(n),(t=i&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(n=String.fromCharCode(e.keyCode),t=this._filterMenuItems(n)),t.length?(this.focus(e,t),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&e.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,i=this,o=this.options.icons.submenu,n=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=n.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=V(this),t=e.prev(),n=V("<span>").data("ui-menu-submenu-caret",!0);i._addClass(n,"ui-menu-icon","ui-icon "+o),t.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(e=n.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=V(this);i._isDivider(e)&&i._addClass(e,"ui-menu-divider","ui-widget-content")}),t=(n=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(t,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!V.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){var n;"icons"===e&&(n=this.element.find(".ui-menu-icon"),this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,t.submenu)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var n;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),n=this.active.children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(n=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,n,i;this._hasScroll()&&(t=parseFloat(V.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(V.css(this.activeMenu[0],"paddingTop"))||0,t=e.offset().top-this.activeMenu.offset().top-t-n,n=this.activeMenu.scrollTop(),i=this.activeMenu.height(),e=e.outerHeight(),t<0?this.activeMenu.scrollTop(n+t):i<t+e&&this.activeMenu.scrollTop(n+t-i+e))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=V.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(t)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var e=n?this.element:V(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this._removeClass(e.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=e},n?0:this.delay)},_close:function(e){(e=e||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
1se")},_closeOnDocumentClick:function(e){return!V(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this._menuItems(this.active.children(".ui-menu")).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(e){return(e||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(e,t,n){var i;(i=this.active?"first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").last():this.active[e+"All"](".ui-menu-item").first():i)&&i.length&&this.active||(i=this._menuItems(this.activeMenu)[t]()),this.focus(n,i)},nextPage:function(e){var t,n,i;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,i=this.element.innerHeight(),0===V.fn.jquery.indexOf("3.2.")&&(i+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(t=V(this)).offset().top-n-i<0}),this.focus(e,t)):this.focus(e,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var t,n,i;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,i=this.element.innerHeight(),0===V.fn.jquery.indexOf("3.2.")&&(i+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=V(this)).offset().top-n+i}),this.focus(e,t)):this.focus(e,this._menuItems(this.activeMenu).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||V(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)},_filterMenuItems:function(e){var t=RegExp("^"+e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return t.test(String.prototype.trim.call(V(this).children(".ui-menu-item-wrapper").text()))})}}),V.widget("ui.autocomplete",{version:"1.14.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var n,i,o,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,e="input"===e;this.isMultiLine=t||!e&&"true"===this.element.prop("contentEditable"),this.valueMethod=this.element[t||e?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))i=o=n=!0;else{i=o=n=!1;var t=V.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:n=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:n=!0,this._move("nextPage",e);break;case t.UP:n=!0,this._keyEvent("previous",e);break;case t.DOWN:n=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(n=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:i=!0,this._searchTimeout(e)}}},keypress:function(e){if(n)n=!1,this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault();else if(!i){var t=V.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){o?(o=!1,e.preventDefault()):this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 7,064 bytes, line 1
1)},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=V("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault()},menufocus:function(e,t){var n,i;this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent)&&/^mouse/.test(e.originalEvent.type)?(this.menu.blur(),this.document.one("mousemove",function(){V(e.target).trigger(e.originalEvent)})):(i=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:i})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(i.value),(n=t.item.attr("aria-label")||i.value)&&String.prototype.trim.call(n).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(V("<div>").text(n))},100)))},menuselect:function(e,t){var t=t.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=n),!1!==this._trigger("select",e,{item:t})&&this._value(t.value),this.term=this._value(),this.close(e),this.selectedItem=t}}),this.liveRegion=V("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var t=this.menu.element[0];return e.target===this.element[0]||e.target===t||V.contains(t,e.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e=(e=(e=e&&(e.jquery||e.nodeType?V(e):this.document.find(e).eq(0)))&&e[0]?e:this.element.closest(".ui-front, dialog")).length?e:this.document[0].body},_initSource:function(){var n,i,o=this;Array.isArray(this.options.source)?(n=this.options.source,this.source=function(e,t){t(V.ui.autocomplete.filter(n,e.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,t){o.xhr&&o.xhr.abort(),o.xhr=V.ajax({url:i,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(i){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),n=i.altKey||i.ctrlKey||i.metaKey||i.shiftKey;e&&(!e||t||n)||(this.selectedItem=null,this.search(null,i))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(e){e=e&&this._normalize(e),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:V.map(e,function(e){return"string"==typeof e?{label:e,value:e}:V.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(V.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(n,e){var i=this;V.each(e,function(e,t){i._renderItemData(n,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return V("<li>").append(V("<div>").text(t.label)).appendTo(e)},_move:function(e,t){this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),this.menu.blur()):this.menu[e](t):this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())}}),V.extend(V.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var n=RegExp(V.ui.autocomplete.escapeRegex(t),"i");return V.grep(e,function(e){return n.test(e.label||e.value||e)})}}),V.widget("ui.autocomplete",V.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(V("<div>").text(t))},100))}}),V.ui.autocomplete;var ee=/ui-corner-([a-z]){2,6}/g;function te(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},V.extend(this._defaults,this.regional[""]),this.regional.en=V.extend(!0,{},this.regional[""]),this.regional["en-US"]=V.extend(!0,{},this.regional.en),this.dpDiv=ne(V("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function ne(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){V(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&V(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&V(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,ie)}function ie(){V.datepicker._isDisabledDatepicker((r.inline?r.dpDiv.parent():r.input)[0])||(V(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),V(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&V(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&V(this).addClass("ui-datepicker-next-hover"))}function M(e,t){for(var n in V.extend(e,t),t)null==t[n]&&(e[n]=t[n])}V.widget("ui.controlgroup",{version:"1.14.2",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var s=this,r=[];V.each(this.options.items,function(i,e){var t,o;e&&("controlgroupLabel"===i?((t=s.element.find(e)).each(function(){var e=V(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),s._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),r=r.concat(t.get())):V.fn[i]&&(o=s["_"+i+"Options"]?s["_"+i+"Options"]("middle"):{classes:{}},s.element.find(e).each(function(){var e=V(this),t=e[i]("instance"),n=V.widget.extend({},o);"button"===i&&e.parent(".ui-spinner").length||((t=t||e[i]()[i]("instance"))&&(n.classes=s._resolveClassesValues(n.classes,t)),e[i](n),n=e[i]("widget"),V.data(n[0],"ui-controlgroup-data",t||e[i]("instance")),r.push(n[0]))})))}),this.childWidgets=V(V.uniqueSort(r)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=V(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){t=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,t)},_buildSimpleOptions:function(e,t){var n="vertical"===this.options.direction,i={classes:{}};return i.classes[t]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[e],i},_spinnerOptions:function(e){e=this._buildSimpleOptions(e,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:!!t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(n,i){var o={};return V.each(n,function(e){var t=i.options.classes[e]||"",t=String.prototype.trim.call(t.replace(ee,""));o[e]=(t+" "+n[e]).replace(/\s+/g," ")}),o},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"===e?this._callChildMethod(t?"disable":"enable"):this.refresh()},refresh:function(){var o,s=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),o=this.childWidgets,(o=this.options.onlyVisible?o.filter(":visible"):o).length&&(V.each(["first","last"],function(e,t){var n,i=o[t]().data("ui-controlgroup-data");i&&s["_"+i.widgetName+"Options"]?((n=s["_"+i.widgetName+"Options"](1===o.length?"only":t)).classes=s._resolveClassesValues(n.classes,i),i.element[i.widgetName](n)):s._updateCornerClass(o[t](),t)}),this._callChildMethod("refresh"))}}),V.widget("ui.checkboxradio",[V.ui.formResetMixin,{version:"1.14.2",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,t=this._super()||{};return this._readType(),e=this.element.labels(),this.label=V(e[e.length-1]),this.label.length||V.error("No label found for checkboxradio widget"),this.originalLabel="",(e=this.label.contents().not(this.element[0])).length&&(this.originalLabel+=e.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(t.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(t.disabled=e),t},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();
vendor: 1,413 bytes, line 1
1this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||V.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,t="input[name='"+CSS.escape(e)+"']";return e?(this.form.length?V(this.form[0].elements).filter(t):V(t).filter(function(){return 0===V(V(this).prop("form")).length})).not(this.element):V([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=V(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){"label"===e&&!t||(this._super(e,t),"disabled"===e?(this._toggleClass(this.label,null,"ui-state-disabled",t),this.element[0].disabled=t):this.refresh())},_updateIcon:function(e){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=V("<span>"),this.iconSpace=V("<span> </span>
1"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),(e=this.iconSpace?e.not(this.iconSpace[0]):e).remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]),V.ui.checkboxradio,V.widget("ui.button",{version:"1.14.2",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===V.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,t){var e="iconPosition"!==e,n=e?this.options.iconPosition:t,i="top"===n||"bottom"===n;this.icon?e&&this._removeClass(this.icon,null,this.options.icon):(this.icon=V("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),e&&this._addClass(this.icon,null,t),this._attachIcon(n),i?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 6,983 bytes, line 1
1pace||(this.iconSpace=V("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(n))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=(void 0===e.showLabel?this.options:e).showLabel,n=(void 0===e.icon?this.options:e).icon;t||n||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace)&&this.iconSpace.remove()),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),this.element[0].disabled=t)&&this.element.trigger("blur")},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!0===V.uiBackCompat&&(V.widget("ui.button",V.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"===e?this._super("showLabel",t):("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments))}}),V.fn.button=(s=V.fn.button,function(n){var e="string"==typeof n,i=Array.prototype.slice.call(arguments,1),o=this;return e?this.length||"instance"!==n?this.each(function(){var e,t=V(this).attr("type"),t=V.data(this,"ui-"+("checkbox"!==t&&"radio"!==t?"button":"checkboxradio"));return"instance"===n?(o=t,!1):t?"function"!=typeof t[n]||"_"===n.charAt(0)?V.error("no such method '"+n+"' for button widget instance"):(e=t[n].apply(t,i))!==t&&void 0!==e?(o=e&&e.jquery?o.pushStack(e.get()):e,!1):void 0:V.error("cannot call methods on button prior to initialization; attempted to call method '"+n+"'")}):o=void 0:(i.length&&(n=V.widget.extend.apply(null,[n].concat(i))),this.each(function(){var e=V(this).attr("type"),e="checkbox"!==e&&"radio"!==e?"button":"checkboxradio",t=V.data(this,"ui-"+e);t?(t.option(n||{}),t._init&&t._init()):"button"==e?s.call(V(this),n):V(this).checkboxradio(V.extend({icon:!1},n))})),o}),V.fn.buttonset=function(){return V.ui.controlgroup||V.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),V.ui.button,V.extend(V.ui,{datepicker:{version:"1.14.2"}}),V.extend(te.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return M(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var n,i,o="div"===(n=e.nodeName.toLowerCase())||"span"===n;e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(V(e),o)).settings=V.extend({},t||{}),"input"===n?this._connectDatepicker(e,i):o&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?ne(V("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var n=V(e);t.append=V([]),t.trigger=V([]),!n.hasClass(this.markerClassName)&&(this._attachments(n,t),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),V.data(e,"datepicker",t),t.settings.disabled)&&this._disableDatepicker(e)},_attachments:function(e,t){var n,i=this._get(t,"appendText"),o=this._get(t,"isRTL");t.append&&t.append.remove(),i&&(t.append=V("<span>").addClass(this._appendClass).text(i),e[o?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(i=this._get(t,"showOn"))&&"both"!==i||e.on("focus",this._showDatepicker),"button"!==i&&"both"!==i||(i=this._get(t,"buttonText"),n=this._get(t,"buttonImage"),this._get(t,"buttonImageOnly")?t.trigger=V("<img>").addClass(this._triggerClass).attr({src:n,alt:i,title:i}):(t.trigger=V("<button type='button'>").addClass(this._triggerClass),n?t.trigger.html(V("<img>").attr({src:n,alt:i,title:i})):t.trigger.text(i)),e[o?"before":"after"](t.trigger),t.trigger.on("click",function(){return V.datepicker._datepickerShowing&&V.datepicker._lastInput===e[0]?V.datepicker._hideDatepicker():(V.datepicker._datepickerShowing&&V.datepicker._lastInput!==e[0]&&V.datepicker._hideDatepicker(),V.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,n,i,o,s,r;this._get(e,"autoSize")&&!e.inline&&(s=new Date(2009,11,20),(r=this._get(e,"dateFormat")).match(/[DM]/)&&(s.setMonth((t=function(e){for(i=n=o=0;o<e.length;o++)e[o].length>n&&(n=e[o].length,i=o);return i})(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),s.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-s.getDay())),e.input.attr("size",this._formatDate(e,s).length))},_inlineDatepicker:function(e,t){var n=V(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(t.dpDiv),V.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,n,i,o){var s,r=this._dialogInst;return r||(this.uuid+=1,s="dp"+this.uuid,this._dialogInput=V("<input type='text' id='"+s+"' style='position: absolute; top: -100px; width: 0px;'/>
1"),this._dialogInput.on("keydown",this._doKeyDown),V("body").append(this._dialogInput),(r=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},V.data(this._dialogInput[0],"datepicker",r)),M(r.settings,i||{}),t=t&&t.constructor===Date?this._formatDate(r,t):t,this._dialogInput.val(t),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(s=document.documentElement.clientWidth,i=document.documentElement.clientHeight,t=document.documentElement.scrollLeft||document.body.scrollLeft,o=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+t,i/2-150+o]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),r.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),V.blockUI&&V.blockUI(this.dpDiv),V.data(this._dialogInput[0],"datepicker",r),this},_destroyDatepicker:function(e){var t,n=V(e),i=V.data(e,"datepicker");n.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),V.removeData(e,"datepicker"),"input"===t?(i.append.remove(),i.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||n.removeClass(this.markerClassName).empty(),V.datepicker._hideDatepicker(),r===i)&&(r=null,this._curInst=null)},_enableDatepicker:function(t){var e,n=V(t),i=V.data(t,"datepicker");n.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,i.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((i=n.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=V.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,n=V(t),i=V.data(t,"datepicker");n.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,i.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((i=n.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=V.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(e)for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return V.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,n){var i,o,s=this._getInst(e);if(2==arguments.length&&"string"==typeof t)return"defaults"===t?V.extend({},V.datepicker._defaults):s?"all"===t?V.extend({},s.settings):this._get(s,t):null;i=t||{},"string"==typeof t&&((i={})[t]=n),s&&(this._curInst===s&&this._hideDatepicker(),t=this._getDateDatepicker(e,!0),n=this._getMinMaxDate(s,"min"),o=this._getMinMaxDate(s,"max"),M(s.settings,i),null!==n&&void 0!==i.dateFormat&&void 0===i.minDate&&(s.settings.minDate=this._formatDate(s,n)),null!==o&&void 0!==i.dateFormat&&void 0===i.maxDate&&(s.settings.maxDate=this._formatDate(s,o)),"disabled"in i&&(i.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(V(e),s),this._autoSize(s),this._setDate(s,t),this._updateAlternate(s),this._updateDatepicker(s))},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){e=this._getInst(e);e&&this._updateDatepicker(e)},_setDateDatepicker:function(e,t){e=this._getInst(e);e&&(this._setDate(e,t),this._updateDatepicker(e),this._updateAlternate(e))},_getDateDatepicker:function(e,t){e=this._getInst(e);return e&&!e.inline&&this._setDateFromField(e,t),e?this._getDate(e):null},_doKeyDown:function(e){var t,n,i=V.datepicker._getInst(e.target),o=!0,s=i.dpDiv.is(".ui-datepicker-rtl");if(i._keyEvent=!0,V.datepicker._datepickerShowing)switch(e.keyCode){case 9:V.datepicker._hideDatepicker(),o=!1;break;case 13:return(n=V("td."+V.datepicker._dayOverClass+":not(."+V.datepicker._currentClass+")",i.dpDiv))[0]&&V.datepicker._selectDay(e.target,i.selectedMonth,i.selectedYear,n[0]),(n=V.datepicker._get(i,"onSelect"))?(t=V.datepicker._formatDate(i),n.apply(i.input?i.input[0]:null,[t,i])):V.datepicker._hideDatepicker(),!1;case 27:V.datepicker._hideDatepicker();break;case 33:V.datepicker._adjustDate(e.target,e.ctrlKey?-V.datepicker._get(i,"stepBigMonths"):-V.datepicker._get(i,"stepMonths"),"M");break;case 34:V.datepicker._adjustDate(e.target,e.ctrlKey?+V.datepicker._get(i,"stepBigMonths"):+V.datepicker._get(i,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&V.datepicker._clearDate(e.target),o=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&V.datepicker._gotoToday(e.target),o=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&V.datepicker._adjustDate(e.target,s?1:-1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&V.datepicker._adjustDate(e.target,e.ctrlKey?-V.datepicker._get(i,"stepBigMonths"):-V.datepicker._get(i,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&V.datepicker._adjustDate(e.target,-7,"D"),o=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&V.datepicker._adjustDate(e.target,s?-1:1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&V.datepicker._adjustDate(e.target,e.ctrlKey?+V.datepicker._get(i,"stepBigMonths"):+V.datepicker._get(i,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&V.datepicker._adjustDate(e.target,7,"D"),o=e.ctrlKey||e.metaKey;break;default:o=!1}else 36===e.keyCode&&e.ctrlKey?V.datepicker._showDatepicker(this):o=!1;o&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,n=V.datepicker._getInst(e.target);if(V.datepicker._get(n,"constrainInput"))return n=V.datepicker._possibleChars(V.datepicker._get(n,"dateFormat")),t=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||t<" "||!n||-1<n.indexOf(t)},_doKeyUp:function(e){e=V.datepicker._getInst(e.target);if(e.input.val()!==e.lastVal)try{V.datepicker.parseDate(V.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,V.datepicker._getFormatConfig(e))&&(V.datepicker._setDateFromField(e),V.datepicker._updateAlternate(e),V.datepicker._updateDatepicker(e))}catch(e){}return!0},_showDatepicker:function(e){var t,n,i,o;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=V("input",e.parentNode)[0]),V.datepicker._isDisabledDatepicker(e)||V.datepicker._lastInput===e||(t=V.datepicker._getInst(e),V.datepicker._curInst&&V.datepicker._curInst!==t&&(V.datepicker._curInst.dpDiv.stop(!0,!0),t)&&V.datepicker._datepickerShowing&&V.datepicker._hideDatepicker(V.datepicker._curInst.input[0]),!1!==(i=(i=V.datepicker._get(t,"beforeShow"))?i.apply(e,[e,t]):{})&&(M(t.settings,i),t.lastVal=null,V.datepicker._lastInput=e,V.datepicker._setDateFromField(t),V.datepicker._inDialog&&(e.value=""),
vendor: 37,426 bytes, line 1
1V.datepicker._pos||(V.datepicker._pos=V.datepicker._findPos(e),V.datepicker._pos[1]+=e.offsetHeight),n=!1,V(e).parents().each(function(){return!(n|="fixed"===V(this).css("position"))}),i={left:V.datepicker._pos[0],top:V.datepicker._pos[1]},V.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),V.datepicker._updateDatepicker(t),i=V.datepicker._checkOffset(t,i,n),t.dpDiv.css({position:V.datepicker._inDialog&&V.blockUI?"static":n?"fixed":"absolute",display:"none",left:i.left+"px",top:i.top+"px"}),t.inline||(i=V.datepicker._get(t,"showAnim"),o=V.datepicker._get(t,"duration"),t.dpDiv.css("z-index",function(e){for(var t;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&!isNaN(t=parseInt(e.css("zIndex"),10))&&0!==t)return t;e=e.parent()}return 0}(V(e))+1),V.datepicker._datepickerShowing=!0,V.effects&&V.effects.effect[i]?t.dpDiv.show(i,V.datepicker._get(t,"showOptions"),o):t.dpDiv[i||"show"](i?o:null),V.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),V.datepicker._curInst=t)))},_updateDatepicker:function(e){this.maxRows=4,(r=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,n=this._getNumberOfMonths(e),i=n[1],o=e.dpDiv.find("."+this._dayOverClass+" a"),s=V.datepicker._get(e,"onUpdateDatepicker");0<o.length&&ie.apply(o.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<i&&e.dpDiv.addClass("ui-datepicker-multi-"+i).css("width",17*i+"em"),e.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===V.datepicker._curInst&&V.datepicker._datepickerShowing&&V.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year").first().replaceWith(e.yearshtml),t=e.yearshtml=null},0)),s&&s.apply(e.input?e.input[0]:null,[e])},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")},_checkOffset:function(e,t,n){var i=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),s=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,a=document.documentElement.clientWidth+(n?0:V(document).scrollLeft()),l=document.documentElement.clientHeight+(n?0:V(document).scrollTop());return t.left-=this._get(e,"isRTL")?i-s:0,t.left-=n&&t.left===e.input.offset().left?V(document).scrollLeft():0,t.top-=n&&t.top===e.input.offset().top+r?V(document).scrollTop():0,t.left-=Math.min(t.left,t.left+i>a&&i<a?Math.abs(t.left+i-a):0),t.top-=Math.min(t.top,t.top+o>l&&o<l?Math.abs(o+r):0),t},_findPos:function(e){for(var t=this._getInst(e),n=this._get(t,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||V.expr.pseudos.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return[(t=V(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,n,i=this._curInst;!i||e&&i!==V.data(e,"datepicker")||!this._datepickerShowing||(e=this._get(i,"showAnim"),n=this._get(i,"duration"),t=function(){V.datepicker._tidyDialog(i)},V.effects&&V.effects.effect[e]?i.dpDiv.hide(e,V.datepicker._get(i,"showOptions"),n,t):i.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?n:null,t),e||t(),this._datepickerShowing=!1,(n=this._get(i,"onClose"))&&n.apply(i.input?i.input[0]:null,[i.input?i.input.val():"",i]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),V.blockUI)&&(V.unblockUI(),V("body").append(this.dpDiv)),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){var t;V.datepicker._curInst&&(e=V(e.target),t=V.datepicker._getInst(e[0]),!(e[0].id===V.datepicker._mainDivId||0!==e.parents("#"+V.datepicker._mainDivId).length||e.hasClass(V.datepicker.markerClassName)||e.closest("."+V.datepicker._triggerClass).length||!V.datepicker._datepickerShowing||V.datepicker._inDialog&&V.blockUI)||e.hasClass(V.datepicker.markerClassName)&&V.datepicker._curInst!==t)&&V.datepicker._hideDatepicker()},_adjustDate:function(e,t,n){var e=V(e),i=this._getInst(e[0]);this._isDisabledDatepicker(e[0])||(this._adjustInstDate(i,t,n),this._updateDatepicker(i))},_gotoToday:function(e){var t,e=V(e),n=this._getInst(e[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(n.selectedDay=(t=new Date).getDate(),n.drawMonth=n.selectedMonth=t.getMonth(),n.drawYear=n.selectedYear=t.getFullYear()),this._notifyChange(n),this._adjustDate(e)},_selectMonthYear:function(e,t,n){var e=V(e),i=this._getInst(e[0]);i["selected"+("M"===n?"Month":"Year")]=i["draw"+("M"===n?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(e)},_selectDay:function(e,t,n,i){var o=V(e);V(i).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((o=this._getInst(o[0])).selectedDay=o.currentDay=parseInt(V("a",i).attr("data-date")),o.selectedMonth=o.currentMonth=t,o.selectedYear=o.currentYear=n,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){e=V(e);this._selectDate(e,"")},_selectDate:function(e,t){var n,e=V(e),e=this._getInst(e[0]);t=null!=t?t:this._formatDate(e),e.input&&e.input.val(t),this._updateAlternate(e),(n=this._get(e,"onSelect"))?n.apply(e.input?e.input[0]:null,[t,e]):e.input&&e.input.trigger("change"),e.inline?this._updateDatepicker(e):(this._hideDatepicker(),this._lastInput=e.input[0],"object"!=typeof e.input[0]&&e.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var t,n,i=this._get(e,"altField");i&&(n=this._get(e,"altFormat")||this._get(e,"dateFormat"),t=this._getDate(e),n=this.formatDate(n,t,this._getFormatConfig(e)),V(document).find(i).val(n))},noWeekends:function(e){e=e.getDay();return[0<e&&e<6,""]},iso8601Week:function(e){var t,e=new Date(e.getTime());return e.setDate(e.getDate()+4-(e.getDay()||7)),t=e.getTime(),e.setMonth(0),e.setDate(1),Math.floor(Math.round((t-e)/864e5)/7)+1},parseDate:function(t,o,e){if(null==t||null==o)throw"Invalid arguments";if(""===(o="object"==typeof o?o.toString():o+""))return null;for(var n,i,s=0,r=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,r="string"!=typeof r?r:(new Date).getFullYear()%100+parseInt(r,10),a=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,l=(e?e.dayNames:null)||this._defaults.dayNames,c=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,u=(e?e.monthNames:null)||this._defaults.monthNames,d=-1,h=-1,p=-1,f=-1,m=!1,g=function(e){e=_+1<t.length&&t.charAt(_+1)===e;return e&&_++,e},v=function(e){var t=g(e),t="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,e=RegExp("^\\d{"+("y"===e?t:1)+","+t+"}"),t=o.substring(s).match(e);if(t)return s+=t[0].length,parseInt(t[0],10);throw"Missing number at position "+s},y=function(e,t,n){var i=-1,e=V.map(g(e)?n:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(V.each(e,function(e,t){var n=t[1];if(o.substr(s,n.length).toLowerCase()===n.toLowerCase())return i=t[0],s+=n.length,!1}),-1!==i)return i+1;throw"Unknown name at position "+s},b=function(){if(o.charAt(s)!==t.charAt(_))throw"Unexpected literal at position "+s;s++},_=0;_<t.length;_++)if(m)"'"!==t.charAt(_)||g("'")?b():m=!1;else switch(t.charAt(_)){case"d":p=v("d");break;case"D":y("D",a,l);break;case"o":f=v("o");break;case"m":h=v("m");break;case"M":h=y("M",c,u);break;case"y":d=v("y");break;case"@":d=(i=new Date(v("@"))).getFullYear(),h=i.getMonth()+1,p=i.getDate();break;case"!":d=(i=new Date((v("!")-this._ticksTo1970)/1e4)).getFullYear(),h=i.getMonth()+1,p=i.getDate();break;case"'":g("'")?b():m=!0;break;default:b()}if(s<o.length&&(e=o.substr(s),!/^\s+/.test(e)))throw"Extra/unparsed characters found in date: "+e;if(-1===d?d=(new Date).getFullYear():d<100&&(d+=(new Date).getFullYear()-(new Date).getFullYear()%100+(d<=r?0:-100)),-1<f)for(h=1,p=f;;){if(p<=(n=this._getDaysInMonth(d,h-1)))break;h++,p-=n}if((i=this._daylightSavingAdjust(new Date(d,h-1,p))).getFullYear()!==d||i.getMonth()+1!==h||i.getDate()!==p)throw"Invalid date";return i},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,n){if(!e)return"";function i(e,t,n){var i=""+t;if(u(e))for(;i.length<n;)i="0"+i;return i}function o(e,t,n,i){return(u(e)?i:n)[t]}var s,r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,a=(n?n.dayNames:null)||this._defaults.dayNames,l=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,c=(n?n.monthNames:null)||this._defaults.monthNames,u=function(e){e=s+1<t.length&&t.charAt(s+1)===e;return e&&s++,e},d="",h=!1;if(e)for(s=0;s<t.length;s++)if(h)"'"!==t.charAt(s)||u("'")?d+=t.charAt(s):h=!1;else switch(t.charAt(s)){case"d":d+=i("d",e.getDate(),2);break;case"D":d+=o("D",e.getDay(),r,a);break;case"o":d+=i("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=i("m",e.getMonth()+1,2);break;case"M":d+=o("M",e.getMonth(),l,c);break;case"y":d+=u("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":d+=e.getTime();break;case"!":d+=1e4*e.getTime()+this._ticksTo1970;break;case"'":u("'")?d+="'":h=!0;break;default:d+=t.charAt(s)}return d},_possibleChars:function(t){for(var e="",n=!1,i=function(e){e=o+1<t.length&&t.charAt(o+1)===e;return e&&o++,e},o=0;o<t.length;o++)if(n)"'"!==t.charAt(o)||i("'")?e+=t.charAt(o):n=!1;else switch(t.charAt(o)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":i("'")?e+="'":n=!0;break;default:e+=t.charAt(o)}return e},_get:function(e,t){return(void 0!==e.settings[t]?e.settings:this._defaults)[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var n=this._get(e,"dateFormat"),i=e.lastVal=e.input?e.input.val():null,o=this._getDefaultDate(e),s=o,r=this._getFormatConfig(e);try{s=this.parseDate(n,i,r)||o}catch(e){i=t?"":i}e.selectedDay=s.getDate(),e.drawMonth=e.selectedMonth=s.getMonth(),e.drawYear=e.selectedYear=s.getFullYear(),e.currentDay=i?s.getDate():0,e.currentMonth=i?s.getMonth():0,e.currentYear=i?s.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(a,e,t){var n=null==e||""===e?t:"string"==typeof e?function(e){try{return V.datepicker.parseDate(V.datepicker._get(a,"dateFormat"),e,V.datepicker._getFormatConfig(a))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?V.datepicker._getDate(a):null)||new Date,n=t.getFullYear(),i=t.getMonth(),o=t.getDate(),s=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,r=s.exec(e);r;){switch(r[2]||"d"){case"d":case"D":o+=parseInt(r[1],10);break;case"w":case"W":o+=7*parseInt(r[1],10);break;case"m":case"M":i+=parseInt(r[1],10),o=Math.min(o,V.datepicker._getDaysInMonth(n,i));break;case"y":case"Y":n+=parseInt(r[1],10),o=Math.min(o,V.datepicker._getDaysInMonth(n,i))}r=s.exec(e)}return new Date(n,i,o)}(e):"number"==typeof e?isNaN(e)?t:((n=new Date).setDate(n.getDate()+e),n):new Date(e.getTime());return(n=n&&"Invalid Date"===n.toString()?t:n)&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),this._daylightSavingAdjust(n)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var i=!t,o=e.selectedMonth,s=e.selectedYear,t=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=t.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=t.getMonth(),e.drawYear=e.selectedYear=e.currentYear=t.getFullYear(),o===e.selectedMonth&&s===e.selectedYear||n||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(i?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){V(this).on(this.getAttribute("data-event"),{prev:function(){V.datepicker._adjustDate(n,-t,"M")},next:function(){V.datepicker._adjustDate(n,+t,"M")},hide:function(){V.datepicker._hideDatepicker()},today:function(){V.datepicker._gotoToday(n)},selectDay:function(){return V.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return V.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return V.datepicker._selectMonthYear(n,this,"Y"),!1}}[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,n,i,o,s,N,H,L,$,r,a,q,l,c,u,d,h,p,f,m,g,v,F,z,y,b,_,U,W,w,x,C,k=new Date,B=this._daylightSavingAdjust(new Date(k.getFullYear(),k.getMonth(),k.getDate())),S=this._get(e,"isRTL"),k=this._get(e,"showButtonPanel"),A=this._get(e,"hideIfNoPrevNext"),E=this._get(e,"navigationAsDateFormat"),T=this._getNumberOfMonths(e),O=this._get(e,"showCurrentAtPos"),D=this._get(e,"stepMonths"),Y=1!==T[0]||1!==T[1],I=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),M=this._getMinMaxDate(e,"min"),P=this._getMinMaxDate(e,"max"),j=e.drawMonth-O,R=e.drawYear;if(j<0&&(j+=12,R--),P)for(t=this._daylightSavingAdjust(new Date(P.getFullYear(),P.getMonth()-T[0]*T[1]+1,P.getDate())),t=M&&t<M?M:t;this._daylightSavingAdjust(new Date(R,j,1))>t;)--j<0&&(j=11,R--);for(e.drawMonth=j,e.drawYear=R,O=this._get(e,"prevText"),O=E?this.formatDate(O,this._daylightSavingAdjust(new Date(R,j-D,1)),this._getFormatConfig(e)):O,n=this._canAdjustMonth(e,-1,R,j)?V("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:O}).append(V("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(S?"e":"w")).text(O))[0].outerHTML:A?"":V("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:O}).append(V("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(S?"e":"w")).text(O))[0].outerHTML,O=this._get(e,"nextText"),O=E?this.formatDate(O,this._daylightSavingAdjust(new Date(R,j+D,1)),this._getFormatConfig(e)):O,i=this._canAdjustMonth(e,1,R,j)?V("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:O}).append(V("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(S?"w":"e")).text(O))[0].outerHTML:A?"":V("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:O}).append(V("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(S?"w":"e")).text(O))[0].outerHTML,D=this._get(e,"currentText"),A=this._get(e,"gotoCurrent")&&e.currentDay?I:B,D=E?this.formatDate(D,A,this._getFormatConfig(e)):D,O="",e.inline||(O=V("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(e,"closeText"))[0].outerHTML),E="",k&&(E=V("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(S?O:"").append(this._isInRange(e,A)?V("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(D):"").append(S?"":O)[0].outerHTML),o=isNaN(o=parseInt(this._get(e,"firstDay"),10))?0:o,s=this._get(e,"showWeek"),N=this._get(e,"dayNames"),H=this._get(e,"dayNamesMin"),L=this._get(e,"monthNames"),$=this._get(e,"monthNamesShort"),r=this._get(e,"beforeShowDay"),a=this._get(e,"showOtherMonths"),q=this._get(e,"selectOtherMonths"),l=this._getDefaultDate(e),c="",d=0;d<T[0];d++){for(p=0,h="",this.maxRows=4;p<T[1];p++){if(f=this._daylightSavingAdjust(new Date(R,j,e.selectedDay)),m=" ui-corner-all",g="",Y){if(g+="<div class='ui-datepicker-group",1<T[1])switch(p){case 0:g+=" ui-datepicker-group-first",m=" ui-corner-"+(S?"right":"left");break;case T[1]-1:g+=" ui-datepicker-group-last",m=" ui-corner-"+(S?"left":"right");break;default:g+=" ui-datepicker-group-middle",m=""}g+="'>"}for(g+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+m+"'>"+(/all|left/.test(m)&&0===d?S?i:n:"")+(/all|right/.test(m)&&0===d?S?n:i:"")+this._generateMonthYearHeader(e,j,R,M,P,0<d||0<p,L,$)+"</div><table class='ui-datepicker-calendar'><thead><tr>",v=s?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",u=0;u<7;u++)v+="<th scope='col'"+(5<=(u+o+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+N[F=(u+o)%7]+"'>"+H[F]+"</span></th>";for(g+=v+"</tr></thead><tbody>",y=this._getDaysInMonth(R,j),R===e.selectedYear&&j===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,y)),y=Math.ceil(((z=(this._getFirstDayOfMonth(R,j)-o+7)%7)+y)/7),b=Y&&this.maxRows>y?this.maxRows:y,this.maxRows=b,_=this._daylightSavingAdjust(new Date(R,j,1-z)),U=0;U<b;U++){for(g+="<tr>",W=s?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(_)+"</td>":"",u=0;u<7;u++)w=r?r.apply(e.input?e.input[0]:null,[_]):[!0,""],C=(x=_.getMonth()!==j)&&!q||!w[0]||M&&_<M||P&&P<_,W+="<td class='"+(5<=(u+o+6)%7?" ui-datepicker-week-end":"")+(x?" ui-datepicker-other-month":"")+(_.getTime()===f.getTime()&&j===e.selectedMonth&&e._keyEvent||l.getTime()===_.getTime()&&l.getTime()===f.getTime()?" "+this._dayOverClass:"")+(C?" "+this._unselectableClass+" ui-state-disabled":"")+(x&&!a?"":" "+w[1]+(_.getTime()===I.getTime()?" "+this._currentClass:"")+(_.getTime()===B.getTime()?" ui-datepicker-today":""))+"'"+(x&&!a||!w[2]?"":" title='"+w[2].replace(/'/g,"&#39;")+"'")+(C?"":" data-handler='selectDay' data-event='click' data-month='"+_.getMonth()+"' data-year='"+_.getFullYear()+"'")+">"+(x&&!a?"&#xa0;":C?"<span class='ui-state-default'>"+_.getDate()+"</span>":"<a class='ui-state-default"+(_.getTime()===B.getTime()?" ui-state-highlight":"")+(_.getTime()===I.getTime()?" ui-state-active":"")+(x?" ui-priority-secondary":"")+"' href='#' aria-current='"+(_.getTime()===I.getTime()?"true":"false")+"' data-date='"+_.getDate()+"'>"+_.getDate()+"</a>")+"</td>",_.setDate(_.getDate()+1),_=this._daylightSavingAdjust(_);g+=W+"</tr>"}11<++j&&(j=0,R++),h+=g+="</tbody></table>"+(Y?"</div>"+(0<T[0]&&p===T[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}c+=h}return c+=E,e._keyEvent=!1,c},_generateMonthYearHeader:function(e,t,n,i,o,s,r,a){var l,c,u,d,h,p,f=this._get(e,"changeMonth"),m=this._get(e,"changeYear"),g=this._get(e,"showMonthAfterYear"),v=this._get(e,"selectMonthLabel"),y=this._get(e,"selectYearLabel"),b="<div class='ui-datepicker-title'>",_="";if(s||!f)_+="<span class='ui-datepicker-month'>"+r[t]+"</span>";else{for(l=i&&i.getFullYear()===n,c=o&&o.getFullYear()===n,_+="<select class='ui-datepicker-month' aria-label='"+v+"' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=i.getMonth())&&(!c||u<=o.getMonth())&&(_+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+a[u]+"</option>");_+="</select>"}if(g||(b+=_+(!s&&f&&m?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",s||!m)b+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(r=this._get(e,"yearRange").split(":"),d=(new Date).getFullYear(),p=Math.max(h=(v=function(e){e=e.match(/c[+\-].*/)?n+parseInt(e.substring(1),10):e.match(/[+\-].*/)?d+parseInt(e,10):parseInt(e,10);return isNaN(e)?d:e})(r[0]),v(r[1]||"")),h=i?Math.max(h,i.getFullYear()):h,p=o?Math.min(p,o.getFullYear()):p,e.yearshtml+="<select class='ui-datepicker-year' aria-label='"+y+"' data-handler='selectYear' data-event='change'>";h<=p;h++)e.yearshtml+="<option value='"+h+"'"+(h===n?" selected='selected'":"")+">"+h+"</option>";e.yearshtml+="</select>",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),g&&(b+=(!s&&f&&m?"":"&#xa0;")+_),b+"</div>"},_adjustInstDate:function(e,t,n){var i=e.selectedYear+("Y"===n?t:0),o=e.selectedMonth+("M"===n?t:0),t=Math.min(e.selectedDay,this._getDaysInMonth(i,o))+("D"===n?t:0),i=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(i,o,t)));e.selectedDay=i.getDate(),e.drawMonth=e.selectedMonth=i.getMonth(),e.drawYear=e.selectedYear=i.getFullYear(),"M"!==n&&"Y"!==n||this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),e=this._getMinMaxDate(e,"max"),n=n&&t<n?n:t;return e&&e<n?e:n},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){e=this._get(e,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,n,i){var o=this._getNumberOfMonths(e),n=this._daylightSavingAdjust(new Date(n,i+(t<0?t:o[0]*o[1]),1));return t<0&&n.setDate(this._getDaysInMonth(n.getFullYear(),n.getMonth())),this._isInRange(e,n)},_isInRange:function(e,t){var n,i=this._getMinMaxDate(e,"min"),o=this._getMinMaxDate(e,"max"),s=null,r=null,e=this._get(e,"yearRange");return e&&(e=e.split(":"),n=(new Date).getFullYear(),s=parseInt(e[0],10),r=parseInt(e[1],10),e[0].match(/[+\-].*/)&&(s+=n),e[1].match(/[+\-].*/))&&(r+=n),(!i||t.getTime()>=i.getTime())&&(!o||t.getTime()<=o.getTime())&&(!s||t.getFullYear()>=s)&&(!r||t.getFullYear()<=r)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:"string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,i){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);i=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(i,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),i,this._getFormatConfig(e))}}),V.fn.datepicker=function(e){if(!this.length)return this;V.datepicker.initialized||(V(document).on("mousedown",V.datepicker._checkExternalClick),V.datepicker.initialized=!0),0===V("#"+V.datepicker._mainDivId).length&&V("body").append(V.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&("isDisabled"===e||"getDate"===e||"widget"===e)||"option"===e&&2==arguments.length&&"string"==typeof arguments[1]?V.datepicker["_"+e+"Datepicker"].apply(V.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?V.datepicker["_"+e+"Datepicker"].apply(V.datepicker,[this].concat(t)):V.datepicker._attachDatepicker(this,e)})},V.datepicker=new te,V.datepicker.initialized=!1,V.datepicker.uuid=(new Date).getTime(),V.datepicker.version="1.14.2",V.datepicker;var P=!1;function j(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}V(document).on("mouseup",function(){P=!1}),V.widget("ui.mouse",{version:"1.14.2",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===V.data(e.target,t.widgetName+".preventClickEvent"))return V.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){var t,n,i;if(!P)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),n=1===(this._mouseDownEvent=e).which,i="string"==typeof(t=this).options.cancel&&V(e.target).closest(this.options.cancel).length,!(n&&!i&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===V.data(e.target,this.widgetName+".preventClickEvent")&&V.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),P=!0),0))},_mouseMove:function(e){if(this._mouseMoved&&!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e);return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&V.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,P=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),V.ui.plugin={add:function(e,t,n){var i,o=V.ui[e].prototype;for(i in n)o.plugins[i]=o.plugins[i]||[],o.plugins[i].push([t,n[i]])},call:function(e,t,n,i){var o,s=e.plugins[t];if(s&&(i||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)e.options[s[o][0]]&&s[o][1].apply(e.element,n)}},V.widget("ui.draggable",V.ui.mouse,{version:"1.14.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return!(this.helper||t.disabled||0<V(e.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(e),!this.handle)||(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=V(this);return V("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=this.document[0].activeElement;V(e.target).closest(t).length||V(t).trigger("blur")},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),V.ui.ddmanager&&(V.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===V(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),V.ui.ddmanager&&!t.dropBehaviour&&V.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),V.ui.ddmanager&&V.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){t=this._uiHash();if(!1===this._trigger("drag",e,t))return this._mouseUp(new V.Event("mouseup",e)),!1;this.position=t.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",V.ui.ddmanager&&V.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,n=!1;return V.ui.ddmanager&&!this.options.dropBehaviour&&(n=V.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,n)?V(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),V.ui.ddmanager&&V.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),V.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new V.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!V(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var t=this.options,n="function"==typeof t.helper,e=n?V(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return e.parents("body").length||e.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),n&&e[0]===this.element[0]&&this._setPositionRelative(),e[0]===this.element[0]||/(fixed|absolute)/.test(e.css("position"))||e.css("position","absolute"),e},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=Array.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&V.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var e,t;return"relative"!==this.cssPosition?{top:0,left:0}:(e=this.element.position(),t=this._isRootNode(this.scrollParent[0]),{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())})},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t=this.options,n=this.document[0];this.relativeContainer=null,t.containment?"window"===t.containment?this.containment=[V(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,V(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,V(window).scrollLeft()+V(window).width()-this.helperProportions.width-this.margins.left,V(window).scrollTop()+(V(window).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:"document"===t.containment?this.containment=[0,0,V(n).width()-this.helperProportions.width-this.margins.left,(V(n).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:t.containment.constructor===Array?this.containment=t.containment:("parent"===t.containment&&(t.containment=this.helper[0].parentNode),(t=(n=V(t.containment))[0])&&(e=/(scroll|auto)/.test(n.css("overflow")),this.containment=[(parseInt(n.css("borderLeftWidth"),10)||0)+(parseInt(n.css("paddingLeft"),10)||0),(parseInt(n.css("borderTopWidth"),10)||0)+(parseInt(n.css("paddingTop"),10)||0),(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(n.css("borderRightWidth"),10)||0)-(parseInt(n.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(n.css("borderBottomWidth"),10)||0)-(parseInt(n.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=n)):this.containment=null},_convertPositionTo:function(e,t){t=t||this.position;var e="absolute"===e?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*e+this.offset.parent.top*e-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*e,left:t.left+this.offset.relative.left*e+this.offset.parent.left*e-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*e}},_generatePosition:function(e,t){var n,i=this.options,o=this._isRootNode(this.scrollParent[0]),s=e.pageX,r=e.pageY;return o&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),{top:(r=t&&(this.containment&&(n=this.relativeContainer?(t=this.relativeContainer.offset(),[this.containment[0]+t.left,this.containment[1]+t.top,this.containment[2]+t.left,this.containment[3]+t.top]):this.containment,e.pageX-this.offset.click.left<n[0]&&(s=n[0]+this.offset.click.left),e.pageY-this.offset.click.top<n[1]&&(r=n[1]+this.offset.click.top),e.pageX-this.offset.click.left>n[2]&&(s=n[2]+this.offset.click.left),e.pageY-this.offset.click.top>n[3])&&(r=n[3]+this.offset.click.top),i.grid&&(t=i.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY,r=!n||t-this.offset.click.top>=n[1]||t-this.offset.click.top>n[3]?t:t-this.offset.click.top>=n[1]?t-i.grid[1]:t+i.grid[1],e=i.grid[0]?this.originalPageX+Math.round((s-this.originalPageX)/i.grid[0])*i.grid[0]:this.originalPageX,s=!n||e-this.offset.click.left>=n[0]||e-this.offset.click.left>n[2]?e:e-this.offset.click.left>=n[0]?e-i.grid[0]:e+i.grid[0]),"y"===i.axis&&(s=this.originalPageX),"x"===i.axis)?this.originalPageY:r)-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:o?0:this.offset.scroll.top),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:o?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,n){return n=n||this._uiHash(),V.ui.plugin.call(this,e,[t,n,this],!0),/^(drag|start|stop
vendor: 4,830 bytes, line 1
1)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),V.Widget.prototype._trigger.call(this,e,t,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),V.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,n){var i=V.extend({},e,{item:n.element});n.sortables=[],V(n.options.connectToSortable).each(function(){var e=V(this).sortable("instance");e&&!e.options.disabled&&(n.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,i))})},stop:function(e,t,n){var i=V.extend({},t,{item:n.element});n.cancelHelperRemoval=!1,V.each(n.sortables,function(){this.isOver?(this.isOver=0,n.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(e),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",e,i))})},drag:function(n,i,o){V.each(o.sortables,function(){var e=!1,t=this;t.positionAbs=o.positionAbs,t.helperProportions=o.helperProportions,t.offset.click=o.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,V.each(o.sortables,function(){return this.positionAbs=o.positionAbs,this.helperProportions=o.helperProportions,this.offset.click=o.offset.click,e=this!==t&&this._intersectsWith(this.containerCache)&&V.contains(t.element[0],this.element[0])?!1:e})),e?(t.isOver||(t.isOver=1,o._parent=i.helper.parent(),t.currentItem=i.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return i.helper[0]},n.target=t.currentItem[0],t._mouseCapture(n,!0),t._mouseStart(n,!0,!0),t.offset.click.top=o.offset.click.top,t.offset.click.left=o.offset.click.left,t.offset.parent.left-=o.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=o.offset.parent.top-t.offset.parent.top,o._trigger("toSortable",n),o.dropped=t.element,V.each(o.sortables,function(){this.refreshPositions()}),o.currentItem=o.element,t.fromOutside=o),t.currentItem&&(t._mouseDrag(n),i.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",n,t._uiHash(t)),t._mouseStop(n,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),i.helper.appendTo(o._parent),o._refreshOffsets(n),i.position=o._generatePosition(n,!0),o._trigger("fromSortable",n),o.dropped=!1,V.each(o.sortables,function(){this.refreshPositions()}))})}}),V.ui.plugin.add("draggable","cursor",{start:function(e,t,n){var i=V("body"),n=n.options;i.css("cursor")&&(n._cursor=i.css("cursor")),i.css("cursor",n.cursor)},stop:function(e,t,n){n=n.options;n._cursor&&V("body").css("cursor",n._cursor)}}),V.ui.plugin.add("draggable","opacity",{start:function(e,t,n){t=V(t.helper),n=n.options;t.css("opacity")&&(n._opacity=t.css("opacity")),t.css("opacity",n.opacity)},stop:function(e,t,n){n=n.options;n._opacity&&V(t.helper).css("opacity",n._opacity)}}),V.ui.plugin.add("draggable","scroll",{start:function(e,t,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(e,t,n){var i=n.options,o=!1,s=n.scrollParentNotHidden[0],r=n.document[0];s!==r&&"HTML"!==s.tagName?(i.axis&&"x"===i.axis||(n.overflowOffset.top+s.offsetHeight-e.pageY<i.scrollSensitivity?s.scrollTop=o=s.scrollTop+i.scrollSpeed:e.pageY-n.overflowOffset.top<i.scrollSensitivity&&(s.scrollTop=o=s.scrollTop-i.scrollSpeed)),i.axis&&"y"===i.axis||(n.overflowOffset.left+s.offsetWidth-e.pageX<i.scrollSensitivity?s.scrollLeft=o=s.scrollLeft+i.scrollSpeed:e.pageX-n.overflowOffset.left<i.scrollSensitivity&&(s.scrollLeft=o=s.scrollLeft-i.scrollSpeed))):(i.axis&&"x"===i.axis||(e.pageY-V(r).scrollTop()<i.scrollSensitivity?o=V(r).scrollTop(V(r).scrollTop()-i.scrollSpeed):V(window).height()-(e.pageY-V(r).scrollTop())<i.scrollSensitivity&&(o=V(r).scrollTop(V(r).scrollTop()+i.scrollSpeed))),i.axis&&"y"===i.axis||(e.pageX-V(r).scrollLeft()<i.scrollSensitivity?o=V(r).scrollLeft(V(r).scrollLeft()-i.scrollSpeed):V(window).width()-(e.pageX-V(r).scrollLeft())<i.scrollSensitivity&&(o=V(r).scrollLeft(V(r).scrollLeft()+i.scrollSpeed)))),!1!==o&&V.ui.ddmanager&&!i.dropBehaviour&&V.ui.ddmanager.prepareOffsets(n,e)}}),V.ui.plugin.add("draggable","snap",{start:function(e,t,n){var i=n.options;n.snapElements=[],V(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var e=V(this),t=e.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left
vendor: 6,496 bytes, line 1
1:t.left})})},drag:function(e,t,n){for(var i,o,s,r,a,l,c,u,d,h=n.options,p=h.snapTolerance,f=t.offset.left,m=f+n.helperProportions.width,g=t.offset.top,v=g+n.helperProportions.height,y=n.snapElements.length-1;0<=y;y--)l=(a=n.snapElements[y].left-n.margins.left)+n.snapElements[y].width,u=(c=n.snapElements[y].top-n.margins.top)+n.snapElements[y].height,m<a-p||l+p<f||v<c-p||u+p<g||!V.contains(n.snapElements[y].item.ownerDocument,n.snapElements[y].item)?(n.snapElements[y].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,V.extend(n._uiHash(),{snapItem:n.snapElements[y].item})),n.snapElements[y].snapping=!1):("inner"!==h.snapMode&&(i=Math.abs(c-v)<=p,o=Math.abs(u-g)<=p,s=Math.abs(a-m)<=p,r=Math.abs(l-f)<=p,i&&(t.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),o&&(t.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),s&&(t.position.left=n._convertPositionTo("relative",{top:0,left:a-n.helperProportions.width}).left),r)&&(t.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),d=i||o||s||r,"outer"!==h.snapMode&&(i=Math.abs(c-g)<=p,o=Math.abs(u-v)<=p,s=Math.abs(a-f)<=p,r=Math.abs(l-m)<=p,i&&(t.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),o&&(t.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),s&&(t.position.left=n._convertPositionTo("relative",{top:0,left:a}).left),r)&&(t.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),!n.snapElements[y].snapping&&(i||o||s||r||d)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,V.extend(n._uiHash(),{snapItem:n.snapElements[y].item})),n.snapElements[y].snapping=i||o||s||r||d)}}),V.ui.plugin.add("draggable","stack",{start:function(e,t,n){var i,n=n.options,n=V.makeArray(V(n.stack)).sort(function(e,t){return(parseInt(V(e).css("zIndex"),10)||0)-(parseInt(V(t).css("zIndex"),10)||0)});n.length&&(i=parseInt(V(n[0]).css("zIndex"),10)||0,V(n).each(function(e){V(this).css("zIndex",i+e)}),this.css("zIndex",i+n.length))}}),V.ui.plugin.add("draggable","zIndex",{start:function(e,t,n){t=V(t.helper),n=n.options;t.css("zIndex")&&(n._zIndex=t.css("zIndex")),t.css("zIndex",n.zIndex)},stop:function(e,t,n){n=n.options;n._zIndex&&V(t.helper).css("zIndex",n._zIndex)}}),V.ui.draggable,V.widget("ui.resizable",V.ui.mouse,{version:"1.14.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(e,t){var n,i=!1,o=V(e).css("overflow");if("hidden"===o)return!1;if("scroll"===o||0<e[n=t&&"left"===t?"scrollLeft":"scrollTop"])return!0;try{e[n]=1,i=0<e[n],e[n]=0}catch(e){}return i},_create:function(){var e,t=this.options,n=this;this._addClass("ui-resizable"),V.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(V("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this._proportionallyResize()),this._setupHandles(),t.autoHide&&V(this.element).on("mouseenter",function(){t.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())}).on("mouseleave",function(){t.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function e(e){V(e).removeData("resizable").removeData("ui-resizable").off(".resizable")}var t;return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!t}},_setupHandles:function(){var e,t,n,i,o,s=this.options,r=this;if(this.handles=s.handles||(V(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=V(),this._addedHandles=V(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},t=0;t<n.length;t++)i="ui-resizable-"+(e=String.prototype.trim.call(n[t])),o=V("<div>"),this._addClass(o,"ui-resizable-handle "+i),o.css({zIndex:s.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.children(this.handles[e]).length||(this.element.append(o),this._addedHandles=this._addedHandles.add(o));this._renderAxis=function(e){var t,n,i;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String?this.handles[t]=this.element.children(this.handles[t]).first().show():(this.handles[t].jquery||this.handles[t].nodeType)&&(this.handles[t]=V(this.handles[t]),this._on(this.handles[t],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=V(this.handles[t],this.element),i=/sw|ne|nw|se|n|s/.test(t)?i.outerHeight():i.outerWidth(),n=["padding",/ne|nw|n
vendor: 9,261 bytes, line 1
1/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(n,i),this._proportionallyResize()),this._handles=this._handles.add(this.handles[t])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),s.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(e){var t,n,i=!1;for(t in this.handles)(n=V(this.handles[t])[0])!==e.target&&!V.contains(n,e.target)||(i=!0);return!this.options.disabled&&i},_mouseStart:function(e){var t,n,i,o=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),o.containment&&(t+=V(o.containment).scrollLeft()||0,n+=V(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:n},this._helper||(i=this._calculateAdjustedElementDimensions(s)),this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:i.width,height:i.height},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:i.width,height:i.height},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:t,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,i=V(".ui-resizable-"+this.axis).css("cursor"),V("body").css("cursor","auto"===i?this.axis+"-resize":i),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t=this.originalMousePosition,n=this.axis,i=e.pageX-t.left||0,t=e.pageY-t.top||0,n=this._change[n];return this._updatePrevProperties(),!!n&&(n=n.apply(this,[e,i,t]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(n=this._updateRatio(n,e)),n=this._respectSize(n,e),this._updateCache(n),this._propagate("resize",e),i=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),V.isEmptyObject(i)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var t,n,i,o=this.options;return this._helper&&(n=(t=(n=this._proportionallyResizeElements).length&&/textarea/i.test(n[0].nodeName))&&this._hasScroll(n[0],"left")?0:this.sizeDiff.height,t=t?0:this.sizeDiff.width,t={width:this.helper.width()-t,height:this.helper.height()-n},n=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null,i=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,o.animate||this.element.css(V.extend(t,{top:i,left:n})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper)&&!o.animate&&this._proportionallyResize(),V("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.helper.css(e),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px",this.helper.width(e.width)),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px",this.helper.height(e.height)),e},_updateVirtualBoundaries:function(e){var t,n,i,o=this.options,o={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0};(this._aspectRatio||e)&&(e=o.minHeight*this.aspectRatio,n=o.minWidth/this.aspectRatio,t=o.maxHeight*this.aspectRatio,i=o.maxWidth/this.aspectRatio,o.minWidth<e&&(o.minWidth=e),o.minHeight<n&&(o.minHeight=n),t<o.maxWidth&&(o.maxWidth=t),i<o.maxHeight)&&(o.maxHeight=i),this._vBoundaries=o},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,n=this.size,i=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===i&&(e.left=t.left+(n.width-e.width),e.top=null),"nw"===i&&(e.top=t.top+(n.height-e.height),e.left=t.left+(n.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,n=this.axis,i=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,o=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,s=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,r=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,c=/sw|nw|w/.test(n),n=/nw|ne|n/.test(n);return s&&(e.width=t.minWidth),r&&(e.height=t.minHeight),i&&(e.width=t.maxWidth),o&&(e.height=t.maxHeight),s&&c&&(e.left=a-t.minWidth),i&&c&&(e.left=a-t.maxWidth),r&&n&&(e.top=l-t.minHeight),o&&n&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,n=[],i=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],o=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)n[t]=parseFloat(i[t])||0,n[t]+=parseFloat(o[t])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_calculateAdjustedElementDimensions:function(e){var t,n,i=e.get(0);return"content-box"===e.css("box-sizing")&&(this._hasScroll(i)||this._hasScroll(i,"left"))?(t=parseFloat(i.style.width),i=parseFloat(i.style.height),n=this._getPaddingPlusBorderDimensions(e),t=isNaN(t)?this._getElementTheoreticalSize(e,n,"width"):t,{height:isNaN(i)?this._getElementTheoreticalSize(e,n,"height"):i,width:t}):{height:parseFloat(e.css("height")),width:parseFloat(e.css("width"))}},_getElementTheoreticalSize:function(e,t,n){return Math.max(0,Math.ceil(e.get(0)["offset"+n[0].toUpperCase()+n.slice(1)]-t[n]-.5))||0},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,n=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||V("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var n=this.originalSize;return{left:this.originalPosition.left+t,width:n.width-t}},n:function(e,t,n){var i=this.originalSize;return{top:this.originalPosition.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(e,t,n){return V.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,n]))},sw:function(e,t,n){return V.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,n]))},ne:function(e,t,n){return V.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,n]))},nw:function(e,t,n){return V.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,n]))}},_propagate:function(e,t){V.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),V.ui.plugin.add("resizable","animate",{stop:function(t){var n=V(this).resizable("instance"),e=n.options,i=n._proportionallyResizeElements,o=i.length&&/textarea/i.test(i[0].nodeName),s=o&&n._hasScroll(i[0],"left")?0:n.sizeDiff.height,o=o?0:n.sizeDiff.width,o={width:n.size.width-o,height:n.size.height-s},s=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,r=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null;n.element.animate(V.extend(o,r&&s?{top:r,left:s}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={
vendor: 76,229 bytes, line 1
1width:parseFloat(n.element.css("width")),height:parseFloat(n.element.css("height")),top:parseFloat(n.element.css("top")),left:parseFloat(n.element.css("left"))};i&&i.length&&V(i[0]).css({width:e.width,height:e.height}),n._updateCache(e),n._propagate("resize",t)}})}}),V.ui.plugin.add("resizable","containment",{start:function(){var n,i,e,t,o=V(this).resizable("instance"),s=o.options,r=o.element,s=s.containment,r=s instanceof V?s.get(0):/parent/.test(s)?r.parent().get(0):s;r&&(o.containerElement=V(r),/document/.test(s)||s===document?(o.containerOffset={left:0,top:0},o.containerPosition={left:0,top:0},o.parentData={element:V(document),left:0,top:0,width:V(document).width(),height:V(document).height()||document.body.parentNode.scrollHeight}):(n=V(r),i=[],V(["Top","Right","Left","Bottom"]).each(function(e,t){i[e]=o._num(n.css("padding"+t))}),o.containerOffset=n.offset(),o.containerPosition=n.position(),o.containerSize={height:n.innerHeight()-i[3],width:n.innerWidth()-i[1]},s=o.containerOffset,t=o.containerSize.height,e=o.containerSize.width,e=o._hasScroll(r,"left")?r.scrollWidth:e,t=o._hasScroll(r)?r.scrollHeight:t,o.parentData={element:r,left:s.left,top:s.top,width:e,height:t}))},resize:function(e){var t=V(this).resizable("instance"),n=t.options,i=t.containerOffset,o=t.position,e=t._aspectRatio||e.shiftKey,s={top:0,left:0},r=t.containerElement,a=!0;r[0]!==document&&/static/.test(r.css("position"))&&(s=i),o.left<(t._helper?i.left:0)&&(t.size.width=t.size.width+(t._helper?t.position.left-i.left:t.position.left-s.left),e&&(t.size.height=t.size.width/t.aspectRatio,a=!1),t.position.left=n.helper?i.left:0),o.top<(t._helper?i.top:0)&&(t.size.height=t.size.height+(t._helper?t.position.top-i.top:t.position.top),e&&(t.size.width=t.size.height*t.aspectRatio,a=!1),t.position.top=t._helper?i.top:0),r=t.containerElement.get(0)===t.element.parent().get(0),n=/relative|absolute/.test(t.containerElement.css("position")),r&&n?(t.offset.left=t.parentData.left+t.position.left,t.offset.top=t.parentData.top+t.position.top):(t.offset.left=t.element.offset().left,t.offset.top=t.element.offset().top),o=Math.abs(t.sizeDiff.width+(t._helper?t.offset.left-s.left:t.offset.left-i.left)),r=Math.abs(t.sizeDiff.height+(t._helper?t.offset.top-s.top:t.offset.top-i.top)),o+t.size.width>=t.parentData.width&&(t.size.width=t.parentData.width-o,e)&&(t.size.height=t.size.width/t.aspectRatio,a=!1),r+t.size.height>=t.parentData.height&&(t.size.height=t.parentData.height-r,e)&&(t.size.width=t.size.height*t.aspectRatio,a=!1),a||(t.position.left=t.prevPosition.left,t.position.top=t.prevPosition.top,t.size.width=t.prevSize.width,t.size.height=t.prevSize.height)},stop:function(){var e=V(this).resizable("instance"),t=e.options,n=e.containerOffset,i=e.containerPosition,o=e.containerElement,s=V(e.helper),r=s.offset(),a=s.outerWidth()-e.sizeDiff.width,s=s.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(o.css("position"))&&V(this).css({left:r.left-i.left-n.left,width:a,height:s}),e._helper&&!t.animate&&/static/.test(o.css("position"))&&V(this).css({left:r.left-i.left-n.left,width:a,height:s})}}),V.ui.plugin.add("resizable","alsoResize",{start:function(){var n=V(this).resizable("instance");V(n.options.alsoResize).each(function(){var e=V(this),t=n._calculateAdjustedElementDimensions(e);e.data("ui-resizable-alsoresize",{width:t.width,height:t.height,left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,n){var t=V(this).resizable("instance"),i=t.options,o=t.originalSize,s=t.originalPosition,r={height:t.size.height-o.height||0,width:t.size.width-o.width||0,top:t.position.top-s.top||0,left:t.position.left-s.left||0};V(i.alsoResize).each(function(){var e=V(this),i=V(this).data("ui-resizable-alsoresize"),o={},t=e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];V.each(t,function(e,t){var n=(i[t]||0)+(r[t]||0);n&&0<=n&&(o[t]=n||null)}),e.css(o)})},stop:function(){V(this).removeData("ui-resizable-alsoresize")}}),V.ui.plugin.add("resizable","ghost",{start:function(){var e=V(this).resizable("instance"),t=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!0===V.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=V(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=V(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),V.ui.plugin.add("resizable","grid",{resize:function(){var e,t=V(this).resizable("instance"),n=t.options,i=t.size,o=t.originalSize,s=t.originalPosition,r=t.axis,a="number"==typeof n.grid?[n.grid,n.grid]:n.grid,l=a[0]||1,c=a[1]||1,u=Math.round((i.width-o.width)/l)*l,i=Math.round((i.height-o.height)/c)*c,d=o.width+u,h=o.height+i,p=n.maxWidth&&n.maxWidth<d,f=n.maxHeight&&n.maxHeight<h,m=n.minWidth&&n.minWidth>d,g=n.minHeight&&n.minHeight>h;n.grid=a,m&&(d+=l),g&&(h+=c),p&&(d-=l),f&&(h-=c),/^(se|s|e)$/.test(r)?(t.size.width=d,t.size.height=h):/^(ne)$/.test(r)?(t.size.width=d,t.size.height=h,t.position.top=s.top-i):/^(sw)$/.test(r)?(t.size.width=d,t.size.height=h,t.position.left=s.left-u):((h-c<=0||d-l<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<h-c?(t.size.height=h,t.position.top=s.top-i):(h=c-e.height,t.size.height=h,t.position.top=s.top+o.height-h),0<d-l?(t.size.width=d,t.position.left=s.left-u):(d=l-e.width,t.size.width=d,t.position.left=s.left+o.width-d))}}),V.ui.resizable,V.widget("ui.dialog",{version:"1.14.2",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=V(this).css(e).offset().top;t<0&&V(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,uiDialogTitleHeadingLevel:0,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&V.fn.draggable&&this._makeDraggable(),this.options.resizable&&V.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?V(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:V.noop,enable:V.noop,close:function(e){var t=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||V(this.document[0].activeElement).trigger("blur"),this._hide(this.uiDialog,this.options.hide,function(){t._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var n=!1,i=this.uiDialog.siblings(".ui-front:visible").map(function(){return+V(this).css("z-index")}).get(),i=Math.max.apply(null,i);return i>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",i+1),n=!0),n&&!t&&this._trigger("focus",e),n},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=V(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;(e=(e=(e=(e=(e=e||this.element.find("[autofocus]")).length?e:this.element.find(":tabbable")).length?e:this.uiDialogButtonPane.find(":tabbable")).length?e:this.uiDialogTitlebarClose.filter(":tabbable")).length?e:this.uiDialog).eq(0).trigger("focus")},_restoreTabbableFocus:function(){var e=this.document[0].activeElement;this.uiDialog[0]===e||V.contains(this.uiDialog[0],e)||this._focusTabbable()},_keepFocus:function(e){e.preventDefault(),this._restoreTabbableFocus()},_createWrapper:function(){this.uiDialog=V("<div>").hide().attr({tabIndex:-1,role:"dialog","aria-modal":this.options.modal?"true":null}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){var t,n,i;this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===V.ui.keyCode.ESCAPE?(e.preventDefault(),this.close(e)):e.keyCode!==V.ui.keyCode.TAB||e.isDefaultPrevented()||(t=this.uiDialog.find(":tabbable"),n=t.first(),i=t.last(),e.target!==i[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==n[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){i.trigger("focus")}),e.preventDefault()):(this._delay(function(){n.trigger("focus")}),e.preventDefault()))},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=V("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){V(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=V("<button type='button'></button>").button({label:V("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=V("<"+(Number.isInteger(this.options.uiDialogTitleHeadingLevel)&&0<this.options.uiDialogTitleHeadingLevel&&this.options.uiDialogTitleHeadingLevel<=6?"h"+this.options.uiDialogTitleHeadingLevel:"span")+">").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=V("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=V("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var i=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),V.isEmptyObject(e)||Array.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(V.each(e,function(e,t){var n=(t=V.extend({type:"button"},t="function"==typeof t?{click:t,text:e}:t)).click,e={icon:t.icon,iconPosition:t.iconPosition,showLabel:t.showLabel,icons:t.icons,text:t.text};delete t.click,delete t.icon,delete t.iconPosition,delete t.showLabel,delete t.icons,"boolean"==typeof t.text&&delete t.text,V("<button></button>",t).button(e).appendTo(i.uiButtonSet).on("click",function(){n.apply(i.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var o=this,s=this.options;function r(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){o._addClass(V(this),"ui-dialog-dragging"),o._blockFrames(),o._trigger("dragStart",e,r(t))},drag:function(e,t){o._trigger("drag",e,r(t))},stop:function(e,t){var n=t.offset.left-o.document.scrollLeft(),i=t.offset.top-o.document.scrollTop();s.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=i?"+":"")+i,of:o.window},o._removeClass(V(this),"ui-dialog-dragging"),o._unblockFrames(),o._trigger("dragStop",e,r(t))}})},_makeResizable:function(){var o=this,s=this.options,e=s.resizable,t=this.uiDialog.css("position");function r(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:"string"==typeof e?e:"n,e,s,w,se,sw,ne,nw",start:function(e,t){o._addClass(V(this),"ui-dialog-resizing"),o._blockFrames(),o._trigger("resizeStart",e,r(t))},resize:function(e,t){o._trigger("resize",e,r(t))},stop:function(e,t){var n=o.uiDialog.offset(),i=n.left-o.document.scrollLeft(),n=n.top-o.document.scrollTop();s.height=o.uiDialog.height(),s.width=o.uiDialog.width(),s.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:o.window},o._removeClass(V(this),"ui-dialog-resizing"),o._unblockFrames(),o._trigger("resizeStop",e,r(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=V(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=V.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||this.document.data("ui-dialog-instances",e=[]),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var n=this,i=!1,o={};V.each(e,function(e,t){n._setOption(e,t),e in n.sizeRelatedOptions&&(i=!0),e in n.resizableRelatedOptions&&(o[e]=t)}),i&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(e,t){var n,i=this.uiDialog;"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:V("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((n=i.is(":data(ui-draggable)"))&&!t&&i.draggable("destroy"),!n)&&t&&this._makeDraggable(),"position"===e&&this._position(),"resizable"!==e||((n=i.is(":data(ui-resizable)"))&&!t&&i.resizable("destroy"),n&&"string"==typeof t&&i.resizable("option","handles",t),n)||!1===t||this._makeResizable(),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")),"modal"===e)&&i.attr("aria-modal",t?"true":null)},_size:function(){var e,t,n,i=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),i.minWidth>i.width&&(i.width=i.minWidth),e=this.uiDialog.css({height:"auto",width:i.width}).outerHeight(),t=Math.max(0,i.minHeight-e),n="number"==typeof i.maxHeight?Math.max(0,i.maxHeight-e):"none","auto"===i.height?this.element.css({minHeight:t,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,i.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=V(this);return V("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!V(e.target).closest(".ui-dialog").length||!!V(e.target).closest(".ui-datepicker").length},_createOverlay:function(){var n;this.options.modal&&(n=!0,this._delay(function(){n=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(e){var t;n||(t=this._trackingInstances()[0])._allowInteraction(e)||(e.preventDefault(),t._focusTabbable())}.bind(this)),this.overlay=V("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var e;this.options.modal&&this.overlay&&((e=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",e):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!0===V.uiBackCompat&&V.widget("ui.dialog",V.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}}),V.ui.dialog,V.widget("ui.droppable",{version:"1.14.2",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,n=t.accept;this.isover=!1,this.isout=!0,this.accept="function"==typeof n?n:function(e){return e.is(n)},this.proportions=function(){if(!arguments.length)return e=e||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){V.ui.ddmanager.droppables[e]=V.ui.ddmanager.droppables[e]||[],V.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=V.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,t){var n;"accept"===e?this.accept="function"==typeof t?t:function(e){return e.is(t)}:"scope"===e&&(n=V.ui.ddmanager.droppables[this.options.scope],this._splice(n),this._addToManager(t)),this._super(e,t)},_activate:function(e){var t=V.ui.ddmanager.current;this._addActiveClass(),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=V.ui.ddmanager.current;this._removeActiveClass(),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=V.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=V.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var n=e||V.ui.ddmanager.current,i=!1;return!!n&&(n.currentItem||n.element)[0]!==this.element[0]&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=V(this).droppable("instance");if(e.options.greedy&&!e.options.disabled&&e.options.scope===n.options.scope&&e.accept.call(e.element[0],n.currentItem||n.element)&&V.ui.intersect(n,V.extend(e,{offset:e.element.offset()}),e.options.tolerance,t))return!(i=!0)}),!i)&&!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(n)),this.element)},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),V.ui.intersect=function(e,t,n,i){if(!t.offset)return!1;var o,s,r=(e.positionAbs||e.position.absolute).left+e.margins.left,a=(e.positionAbs||e.position.absolute).top+e.margins.top,l=r+e.helperProportions.width,c=a+e.helperProportions.height,u=t.offset.left,d=t.offset.top,h=u+t.proportions().width,p=d+t.proportions().height;switch(n){case"fit":return u<=r&&l<=h&&d<=a&&c<=p;case"intersect":return u<r+e.helperProportions.width/2&&l-e.helperProportions.width/2<h&&d<a+e.helperProportions.height/2&&c-e.helperProportions.height/2<p;case"pointer":return o=i.pageY,s=t.proportions().height,d<=o&&o<d+s&&(o=i.pageX,s=t.proportions().width,u<=o)&&o<u+s;case"touch":return(d<=a&&a<=p||d<=c&&c<=p||a<d&&p<c)&&(u<=r&&r<=h||u<=l&&l<=h||r<u&&h<l);default:return!1}},V.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var n,i,o=V.ui.ddmanager.droppables[e.options.scope]||[],s=t?t.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(n=0;n<o.length;n++)if(!o[n].options.disabled&&(!e||o[n].accept.call(o[n].element[0],e.currentItem||e.element))){for(i=0;i<r.length;i++)if(r[i]===o[n].element[0]){o[n].proportions().height=0;continue e}o[n].visible="none"!==o[n].element.css("display"),o[n].visible&&("mousedown"===s&&o[n]._activate.call(o[n],t),o[n].offset=o[n].element.offset(),o[n].proportions({width:o[n].element[0].offsetWidth,height:o[n].element[0].offsetHeight}))}},drop:function(e,t){var n=!1;return V.each((V.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&V.ui.intersect(e,this,this.options.tolerance,t)&&(n=this._drop.call(this,t)||n),!this.options.disabled)&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,t))}),n},dragStart:function(e,t){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||V.ui.ddmanager.prepareOffsets(e,t)})},drag:function(o,s){o.options.refreshPositions&&V.ui.ddmanager.prepareOffsets(o,s),V.each(V.ui.ddmanager.droppables[o.options.scope]||[],function(){var e,t,n,i;this.options.disabled||this.greedyChild||!this.visible||(i=!(i=V.ui.intersect(o,this,this.options.tolerance,s))&&this.isover?"isout":i&&!this.isover?"isover":null)&&(this.options.greedy&&(t=this.options.scope,(n=this.element.parents(":data(ui-droppable)").filter(function(){return V(this).droppable("instance").options.scope===t})).length)&&((e=V(n[0]).droppable("instance")).greedyChild="isover"===i),e&&"isover"===i&&(e.isover=!1,e.isout=!0,e._out.call(e,s)),this[i]=!0,this["isout"===i?"isover":"isout"]=!1,this["isover"===i?"_over":"_out"].call(this,s),e)&&"isout"===i&&(e.isout=!1,e.isover=!0,e._over.call(e,s))})},dragStop:function(e,t){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||V.ui.ddmanager.prepareOffsets(e,t)}},!0===V.uiBackCompat&&V.widget("ui.droppable",V.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),V.ui.droppable,V.widget("ui.progressbar",{version:"1.14.2",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=V("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(t.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=V("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),V.widget("ui.selectable",V.ui.mouse,{version:"1.14.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var n=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){n.elementPos=V(n.element[0]).offset(),n.selectees=V(n.options.filter,n.element[0]),n._addClass(n.selectees,"ui-selectee"),n.selectees.each(function(){var e=V(this),t=e.offset(),t={left:t.left-n.elementPos.left,top:t.top-n.elementPos.top};V.data(this,"selectable-item",{element:this,$element:e,left:t.left,top:t.top,right:t.left+e.outerWidth(),bottom:t.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=V("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(n){var i=this,e=this.options;this.opos=[n.pageX,n.pageY],this.elementPos=V(this.element[0]).offset(),this.options.disabled||(this.selectees=V(e.filter,this.element[0]),this._trigger("start",n),V(e.appendTo).append(this.helper),this.helper.css({left:n.pageX,top:n.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=V.data(this,"selectable-item");e.startselected=!0,n.metaKey||n.ctrlKey||(i._removeClass(e.$element,"ui-selected"),e.selected=!1,i._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,i._trigger("unselecting",n,{unselecting:e.element}))}),V(n.target).parents().addBack().each(function(){var e,t=V.data(this,"selectable-item");if(t)return e=!n.metaKey&&!n.ctrlKey||!t.$element.hasClass("ui-selected"),i._removeClass(t.$element,e?"ui-unselecting":"ui-selected")._addClass(t.$element,e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.selected=e)?i._trigger("selecting",n,{selecting:t.element}):i._trigger("unselecting",n,{unselecting:t.element}),!1}))},_mouseDrag:function(i){var e,o,s,r,a,l,c;if(this.dragged=!0,!this.options.disabled)return s=(o=this).options,r=this.opos[0],a=this.opos[1],l=i.pageX,c=i.pageY,l<r&&(e=l,l=r,r=e),c<a&&(e=c,c=a,a=e),this.helper.css({left:r,top:a,width:l-r,height:c-a}),this.selectees.each(function(){var e=V.data(this,"selectable-item"),t=!1,n={};e&&e.element!==o.element[0]&&(n.left=e.left+o.elementPos.left,n.right=e.right+o.elementPos.left,n.top=e.top+o.elementPos.top,n.bottom=e.bottom+o.elementPos.top,"touch"===s.tolerance?t=!(l<n.left||n.right<r||c<n.top||n.bottom<a):"fit"===s.tolerance&&(t=r<n.left&&n.right<l&&a<n.top&&n.bottom<c),t?(e.selected&&(o._removeClass(e.$element,"ui-selected"),e.selected=!1),e.unselecting&&(o._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1),e.selecting||(o._addClass(e.$element,"ui-selecting"),e.selecting=!0,o._trigger("selecting",i,{selecting:e.element}))):(e.selecting&&((i.metaKey||i.ctrlKey)&&e.startselected?(o._removeClass(e.$element,"ui-selecting"),e.selecting=!1,o._addClass(e.$element,"ui-selected"),e.selected=!0):(o._removeClass(e.$element,"ui-selecting"),e.selecting=!1,e.startselected&&(o._addClass(e.$element,"ui-unselecting"),e.unselecting=!0),o._trigger("unselecting",i,{unselecting:e.element}))),!e.selected||i.metaKey||i.ctrlKey||e.startselected||(o._removeClass(e.$element,"ui-selected"),e.selected=!1,o._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,o._trigger("unselecting",i,{unselecting:e.element}))))}),!1},_mouseStop:function(t){var n=this;return this.dragged=!1,V(".ui-unselecting",this.element[0]).each(function(){var e=V.data(this,"selectable-item");n._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1,e.startselected=!1,n._trigger("unselected",t,{unselected:e.element})}),V(".ui-selecting",this.element[0]).each(function(){var e=V.data(this,"selectable-item");n._removeClass(e.$element,"ui-selecting")._addClass(e.$element,"ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,n._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),V.widget("ui.selectmenu",[V.ui.formResetMixin,{version:"1.14.2",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=V()},_drawButton:function(){var e,t=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(e){this.button.trigger("focus"),e.preventDefault()}}),this.element.hide(),this.button=V("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=V("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(n).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){t._rendered||t._refreshMenu()})},_drawMenu:function(){var n=this;this.menu=V("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=V("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(e,t){e.preventDefault(),n._select(t.item.data("ui-selectmenu-item"),e)},focus:function(e,t){t=t.item.data("ui-selectmenu-item");null==n.focusIndex||t.index===n.focusIndex||(n._trigger("focus",e,{item:t}),n.isOpen)||n._select(t,e),n.focusIndex=t.index,n.button.attr("aria-activedescendant",n.menuItems.eq(t.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e)))},_position:function(){this.menuWrap.position(V.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var t=V("<span>");return this._setText(t,e.label),this._addClass(t,"ui-selectmenu-text"),t},_renderMenu:function(i,e){var o=this,s="";V.each(e,function(e,t){var n;t.optgroup!==s&&(n=V("<li>",{text:t.optgroup}),o._addClass(n,"ui-selectmenu-optgroup","ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),n.appendTo(i),s=t.optgroup),o._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var n=V("<li>"),i=V("<div>",{title:t.element.attr("title")});return t.disabled&&this._addClass(n,null,"ui-state-disabled"),t.hidden?n.prop("hidden",!0):this._setText(i,t.label),n.append(i).appendTo(e)},_setText:function(e,t){t?e.text(t):e.html("&#160;")},_move:function(e,t){var n,i=".ui-menu-item";this.isOpen?n=this.menuItems.eq(this.focusIndex).parent("li"):(n=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),i+=":not(.ui-state-disabled)"),(n="first"===e||"last"===e?n["first"===e?"prevAll":"nextAll"](i).eq(-1):n[e+"All"](i).eq(0)).length&&this.menuInstance.focus(t,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&((e=window.getSelection()).removeAllRanges(),e.addRange(this.range))},_documentClick:{mousedown:function(e){!this.isOpen||V(e.target).closest(".ui-selectmenu-menu, #"+CSS.escape(this.ids.button)).length||this.close(e)}},_buttonEvents:{mousedown:function(){var e=window.getSelection();e.rangeCount&&(this.range=e.getRangeAt(0))},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(e){var t=!0;switch(e.keyCode){case V.ui.keyCode.TAB:case V.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case V.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case V.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case V.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case V.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case V.ui.keyCode.LEFT:this._move("prev",e);break;case V.ui.keyCode.RIGHT:this._move("next",e);break;case V.ui.keyCode.HOME:case V.ui.keyCode.PAGE_UP:this._move("first",e);break;case V.ui.keyCode.END:case V.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),t=!1}t&&e.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex).parent("li");t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var n=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==n&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){e=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(e,t){var n;"icons"===e&&(n=this.button.find("span.ui-icon"),this._removeClass(n,null,this.options.icons.button)._addClass(n,null,t.button)),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e=(e=(e=e&&(e.jquery||e.nodeType?V(e):this.document.find(e).eq(0)))&&e[0]?e:this.element.closest(".ui-front, dialog")).length?e:this.document[0].body},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;!1===e?this.button.css("width",""):(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e))},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(e){var n=this,i=[];e.each(function(e,t){i.push(n._parseOption(V(t),e))}),this.items=i},_parseOption:function(e,t){var n=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),hidden:n.prop("hidden")||e.prop("hidden"),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||e.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),V.widget("ui.slider",V.ui.mouse,{version:"1.14.2",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t=this.options,n=this.element.find(".ui-slider-handle"),i=[],o=t.values&&t.values.length||1;for(n.length>o&&(n.slice(o).remove(),n=n.slice(0,o)),e=n.length;e<o;e++)i.push("<span tabindex='0'></span>");this.handles=n.add(V(i.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){V(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:Array.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=V("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var n,i,o,s,t,r,a=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t),i=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(n-a.values(e));(t<i||i===t&&(e===a._lastChangedValue||a.values(e)===l.min))&&(i=t,o=V(this),s=e)}),!1!==this._start(e,s))&&(this._mouseSliding=!0,this._handleIndex=s,this._addClass(o,null,"ui-state-active"),o.trigger("focus"),t=o.offset(),r=!V(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=r?{left:0,top:0}:{left:e.pageX-t.left-o.width()/2,top:e.pageY-t.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,s,n),this._animateOff=!0)},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},t=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,t),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,e="horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0));return(e=1<(e=e/t)?1:e)<0&&(e=0),"vertical"===this.orientation&&(e=1-e),t=this._valueMax()-this._valueMin(),e=this._valueMin()+e*t,this._trimAlignValue(e)},_uiHash:function(e,t,n){var i={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(i.value=void 0!==t?t:this.values(e),i.values=n||this.values()),i},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,n){var i,o=this.value(),s=this.values();this._hasMultipleValues()&&(i=this.values(+!t),o=this.values(t),2===this.options.values.length&&!0===this.options.range&&(n=0===t?Math.min(i,n):Math.max(i,n)),s[t]=n),n!==o&&!1!==this._trigger("slide",e,this._uiHash(t,n,s))&&(this._hasMultipleValues()?this.values(t,n):this.value(n))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){if(!arguments.length)return this._value();this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0)},values:function(e,t){var n,i,o;if(1<arguments.length)this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),this._change(null,e);else{if(!arguments.length)return this._values();if(!Array.isArray(e))return this._hasMultipleValues()?this._values(e):this.value();for(o=0,n=this.options.values,i=e;o<n.length;o+=1)n[o]=this._trimAlignValue(i[o]),this._change(null,o);this._refreshValue()}},_setOption:function(e,t){var n,i=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(i=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),n=i-1;0<=n;n--)this._change(null,n);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,n;if(arguments.length)return e=this.options.values[e],this._trimAlignValue(e);if(!this._hasMultipleValues())return[];for(n=0,t=this.options.values.slice();n<t.length;n+=1)t[n]=this._trimAlignValue(t[n]);return t},_trimAlignValue:function(e){var t,n;return e<=this._valueMin()?this._valueMin():e>=this._valueMax()?this._valueMax():(t=0<this.options.step?this.options.step:1,n=e-(e=(e-this._valueMin())%t),2*Math.abs(e)>=t&&(n+=0<e?t:-t),parseFloat(n.toFixed(5)))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),n=this.options.step;(e=Math.round((e-t)/n)*n+t)>this.options.max&&(e-=n),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return e=null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var e=e.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,n,e,i,o,s=this.options.range,r=this.options,a=this,l=!this._animateOff&&r.animate,c={};this._hasMultipleValues()?this.handles.each(function(e){n=(a.values(e)-a._valueMin())/(a._valueMax()-a._valueMin())*100,c["horizontal"===a.orientation?"left":"bottom"]=n+"%",V(this).stop(1,1)[l?"animate":"css"](c,r.animate),!0===a.options.range&&("horizontal"===a.orientation?(0===e&&a.range.stop(1,1)[l?"animate":"css"]({left:n+"%"},r.animate),1===e&&a.range[l?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:r.animate})):(0===e&&a.range.stop(1,1)[l?"animate":"css"]({bottom:n+"%"},r.animate),1===e&&a.range[l?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:r.animate}))),t=n}):(e=this.value(),i=this._valueMin(),n=(o=this._valueMax())!==i?(e-i)/(o-i)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:n+"%"},r.animate),"max"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-n+"%"},r.animate),"min"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:n+"%"},r.animate),"max"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-n+"%"},r.animate))},_handleEvents:{keydown:function(e){var t,n,i,o=V(e.target).data("ui-slider-handle-index");switch(e.keyCode){case V.ui.keyCode.HOME:case V.ui.keyCode.END:case V.ui.keyCode.PAGE_UP:case V.ui.keyCode.PAGE_DOWN:case V.ui.keyCode.UP:case V.ui.keyCode.RIGHT:case V.ui.keyCode.DOWN:case V.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(V(e.target),null,"ui-state-active"),!1===this._start(e,o)))return}switch(i=this.options.step,t=n=this._hasMultipleValues()?this.values(o):this.value(),e.keyCode){case V.ui.keyCode.HOME:n=this._valueMin();break;case V.ui.keyCode.END:n=this._valueMax();break;case V.ui.keyCode.PAGE_UP:n=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case V.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case V.ui.keyCode.UP:case V.ui.keyCode.RIGHT:if(t===this._valueMax())return;n=this._trimAlignValue(t+i);break;case V.ui.keyCode.DOWN:case V.ui.keyCode.LEFT:if(t===this._valueMin())return;n=this._trimAlignValue(t-i)}this._slide(e,o,n)},keyup:function(e){var t=V(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),this._removeClass(V(e.target),null,"ui-state-active"))}}}),V.widget("ui.sortable",V.ui.mouse,{version:"1.14.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,n){return t<=e&&e<t+n},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),V.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var n=null,i=!1,o=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(e),V(e.target).parents().each(function(){if(V.data(this,o.widgetName+"-item")===o)return n=V(this),!1}),!(n=V.data(e.target,o.widgetName+"-item")===o?V(e.target):n))||this.options.handle&&!t&&(V(this.options.handle,n).find("*").addBack().each(function(){this===e.target&&(i=!0)}),!i)||(this.currentItem=n,this._removeCurrentsFromItems(),0))},_mouseStart:function(e,t,n){var i,o,s=this.options;if((this.currentContainer=this).refreshPositions(),this.appendTo=V("parent"!==s.appendTo?s.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},V.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),V.extend(this.offset,{parent:this._getParentOffset()}),s.containment&&this._setContainment(),s.cursor&&"auto"!==s.cursor&&(o=this.document.find("body"),this._storedStylesheet=V("<style>*{ cursor: "+s.cursor+" !important; }</style>").appendTo(o)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(i=this.containers.length-1;0<=i;i--)this.containers[i]._trigger("activate",e,this._uiHash(this));return V.ui.ddmanager&&(V.ui.ddmanager.current=this),V.ui.ddmanager&&!s.dropBehaviour&&V.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(e){var t=this.options,n=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<t.scrollSensitivity?this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop+t.scrollSpeed:e.pageY-this.overflowOffset.top<t.scrollSensitivity&&(this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop-t.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<t.scrollSensitivity?this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft+t.scrollSpeed:e.pageX-this.overflowOffset.left<t.scrollSensitivity&&(this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft-t.scrollSpeed)):(e.pageY-this.document.scrollTop()<t.scrollSensitivity?n=this.document.scrollTop(this.document.scrollTop()-t.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<t.scrollSensitivity&&(n=this.document.scrollTop(this.document.scrollTop()+t.scrollSpeed)),e.pageX-this.document.scrollLeft()<t.scrollSensitivity?n=this.document.scrollLeft(this.document.scrollLeft()-t.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<t.scrollSensitivity&&(n=this.document.scrollLeft(this.document.scrollLeft()+t.scrollSpeed))),n},_mouseDrag:function(e){var t,n,i,o,s=this.options;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),s.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),V.ui.ddmanager)&&!s.dropBehaviour&&V.ui.ddmanager.prepareOffsets(this,e),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},t=this.items.length-1;0<=t;t--)if(i=(n=this.items[t]).item[0],(o=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&i!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==i&&!V.contains(this.placeholder[0],i)&&("semi-dynamic"!==this.options.type||!V.contains(this.element[0],i))){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),V.ui.ddmanager&&V.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){var n,i,o,s;if(e)return V.ui.ddmanager&&!this.options.dropBehaviour&&V.ui.ddmanager.drop(this,e),this.options.revert?(i=(n=this).placeholder.offset(),s={},(o=this.options.axis)&&"x"!==o||(s.left=i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(s.top=i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,V(this.helper).animate(s,parseInt(this.options.revert,10)||500,function(){n._clear(e)})):this._clear(e,t),!1},cancel:function(){if(this.dragging){this._mouseUp(new V.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),V.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?V(this.domPosition.prev).after(this.currentItem):V(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},V(e).each(function(){var e=(V(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&n.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t.each(function(){n.push(V(e.item||this).attr(e.attribute||"id")||"")}),n},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,i=this.positionAbs.top,o=i+this.helperProportions.height,s=e.left,r=s+e.width,a=e.top,l=a+e.height,c=this.offset.click.top,u=this.offset.click.left,c="x"===this.options.axis||a<i+c&&i+c<l,u="y"===this.options.axis||s<t+u&&t+u<r;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?c&&u:s<t+this.helperProportions.width/2&&n-this.helperProportions.width/2<r&&a<i+this.helperProportions.height/2&&o-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),e="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!!t&&!!e&&(t=this.dragDirection.vertical,e=this.dragDirection.horizontal,this.floating?"right"===e||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),e=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),n=this.dragDirection.vertical,i=this.dragDirection.horizontal;return this.floating&&i?"right"===i&&e||"left"===i&&!e:n&&("down"===n&&t||"up"===n&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!=e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!=e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){var t,n,i,o,s=[],r=[],a=this._connectWith();if(a&&e)for(t=a.length-1;0<=t;t--)for(n=(i=V(a[t],this.document[0])).length-1;0<=n;n--)(o=V.data(i[n],this.widgetFullName))&&o!==this&&!o.options.disabled&&r.push(["function"==typeof o.options.items?o.options.items.call(o.element):V(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);function l(){s.push(this)}for(r.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):V(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),t=r.length-1;0<=t;t--)r[t][0].each(l);return V(s)},_removeCurrentsFromItems:function(){var n=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=V.grep(this.items,function(e){for(var t=0;t<n.length;t++)if(n[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,n,i,o,s,r,a,l,c=this.items,u=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):V(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(t=d.length-1;0<=t;t--)for(n=(i=V(d[t],this.document[0])).length-1;0<=n;n--)(o=V.data(i[n],this.widgetFullName))&&o!==this&&!o.options.disabled&&(u.push(["function"==typeof o.options.items?o.options.items.call(o.element[0],e,{item:this.currentItem}):V(o.options.items,o.element),o]),this.containers.push(o));for(t=u.length-1;0<=t;t--)for(s=u[t][1],l=(r=u[t][n=0]).length;n<l;n++)(a=V(r[n])).data(this.widgetName+"-item",s),c.push({item:a,instance:s,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){for(var t,n,i=this.items.length-1;0<=i;i--)t=this.items[i],this.currentContainer&&t.instance!==this.currentContainer&&t.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?V(this.options.toleranceElement,t.item):t.item,e||(t.width=n.outerWidth(),t.height=n.outerHeight()),t.left=(n=n.offset()).left,t.top=n.top)},refreshPositions:function(e){var t,n;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(e),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)n=this.containers[t].element.offset(),this.containers[t].containerCache.left=n.left,this.containers[t].containerCache.top=n.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(n){var i,o,s=(n=n||this).options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,o=n.currentItem[0].nodeName.toLowerCase(),s.placeholder={element:function(){var e=V("<"+o+">",n.document[0]);return n._addClass(e,"ui-sortable-placeholder",i||n.currentItem[0].className)._removeClass(e,"ui-sortable-helper"),"tbody"===o?n._createTrPlaceholder(n.currentItem.find("tr").eq(0),V("<tr>",n.document[0]).appendTo(e)):"tr"===o?n._createTrPlaceholder(n.currentItem,e):"img"===o&&e.attr("src",n.currentItem.attr("src")),i||e.css("visibility","hidden"),e},update:function(e,t){i&&!s.forcePlaceholderSize||(t.height()&&(!s.forcePlaceholderSize||"tbody"!==o&&"tr"!==o)||t.height(n.currentItem.innerHeight()-parseInt(n.currentItem.css("paddingTop")||0,10)-parseInt(n.currentItem.css("paddingBottom")||0,10)),t.width())||t.width(n.currentItem.innerWidth()-parseInt(n.currentItem.css("paddingLeft")||0,10)-parseInt(n.currentItem.css("paddingRight")||0,10))}}),n.placeholder=V(s.placeholder.element.call(n.element,n.currentItem)),n.currentItem.after(n.placeholder),s.placeholder.update(n,n.placeholder)},_createTrPlaceholder:function(e,t){var n=this;e.children().each(function(){V("<td>&#160;</td>",n.document[0]).attr("colspan",V(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(e){for(var t,n,i,o,s,r,a,l,c,u=null,d=null,h=this.containers.length-1;0<=h;h--)if(!V.contains(this.currentItem[0],this.containers[h].element[0]))if(this._intersectsWith(this.containers[h].containerCache)){if(u&&V.contains(this.containers[h].element[0],u.element[0]))continue;u=this.containers[h],d=h}else this.containers[h].containerCache.over&&(this.containers[h]._trigger("out",e,this._uiHash(this)),this.containers[h].containerCache.over=0);if(u)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(n=1e4,i=null,o=(l=u.floating||this._isFloating(this.currentItem))?"left":"top",s=l?"width":"height",c=l?"pageX":"pageY",t=this.items.length-1;0<=t;t--)V.contains(this.containers[d].element[0],this.items[t].item[0])&&this.items[t].item[0]!==this.currentItem[0]&&(r=this.items[t].item.offset()[o],a=!1,e[c]-r>this.items[t][s]/2&&(a=!0),Math.abs(e[c]-r)<n)&&(n=Math.abs(e[c]-r),i=this.items[t],this.direction=a?"up":"down");(i||this.options.dropOnEmpty)&&(this.currentContainer===this.containers[d]?this.currentContainer.containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1):(i?this._rearrange(e,i,null,!0):this._rearrange(e,null,this.containers[d].element,!0),this._trigger("change",e,this._uiHash()),this.containers[d]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1))}},_createHelper:function(e){var t=this.options,e="function"==typeof t.helper?V(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return e.parents("body").length||this.appendTo[0].appendChild(e[0]),e[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),e[0].style.width&&!t.forceHelperSize||e.width(this.currentItem.width()),e[0].style.height&&!t.forceHelperSize||e.height(this.currentItem.height()),e},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=Array.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&V.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this.offsetParent[0]===this.document[0].body?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var e;return"relative"!==this.cssPosition?{top:0,left:0}:{top:(e=this.currentItem.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),"document"!==n.containment&&"window"!==n.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===n.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===n.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=V(n.containment)[0],n=V(n.containment).offset(),t="hidden"!==V(e).css("overflow"),this.containment=[n.left+(parseInt(V(e).css("borderLeftWidth"),10)||0)+(parseInt(V(e).css("paddingLeft"),10)||0)-this.margins.left,n.top+(parseInt(V(e).css("borderTopWidth"),10)||0)+(parseInt(V(e).css("paddingTop"),10)||0)-this.margins.top,n.left+(t?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(V(e).css("borderLeftWidth"),10)||0)-(parseInt(V(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,n.top+(t?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(V(e).css("borderTopWidth"),10)||0)-(parseInt(V(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t=t||this.position;var e="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&V.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(n[0].tagName);return{top:t.top+this.offset.relative.top*e+this.offset.parent.top*e-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():i?0:n.scrollTop())*e,left:t.left+this.offset.relative.left*e+this.offset.parent.left*e-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():i?0:n.scrollLeft())*e}},_generatePosition:function(e){var t=this.options,n=e.pageX,i=e.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&V.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(n=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(i=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(n=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3])&&(i=this.containment[3]+this.offset.click.top),t.grid)&&(e=this.originalPageY+Math.round((i-this.originalPageY)/t.grid[1])*t.grid[1],i=!this.containment||e-this.offset.click.top>=this.containment[1]&&e-this.offset.click.top<=this.containment[3]?e:e-this.offset.click.top>=this.containment[1]?e-t.grid[1]:e+t.grid[1],e=this.originalPageX+Math.round((n-this.originalPageX)/t.grid[0])*t.grid[0],n=!this.containment||e-this.offset.click.left>=this.containment[0]&&e-this.offset.click.left<=this.containment[2]?e:e-this.offset.click.left>=this.containment[0]?e-t.grid[0]:e+t.grid[0]),{top:i-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:o.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:o.scrollLeft())}},_rearrange:function(e,t,n,i){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!i)})},_clear:function(e,t){this.reverting=!1;var n,i=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(t,n,i){return function(e){i._trigger(t,e,n._uiHash(n))}}for(this.fromOutside&&!t&&i.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||i.push(function(e){this._trigger("update",e,this._uiHash())}),this===this.currentContainer||t||(i.push(function(e){this._trigger("remove",e,this._uiHash())}),i.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),i.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer))),n=this.containers.length-1;0<=n;n--)t||i.push(o("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(i.push(o("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this._storedStylesheet&&(this._storedStylesheet.remove(),this._storedStylesheet=null),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(n=0;n<i.length;n++)i[n].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===V.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||V([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}}),V.widget("ui.spinner",{version:"1.14.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var i=this._super(),o=this.element;return V.each(["min","max","step"],function(e,t){var n=o.attr(t);null!=n&&n.length&&(i[t]=n)}),i}
1,_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e)},wheel:function(e){var t=this.document[0].activeElement,t=this.element[0]===t,n=e.deltaY||e.originalEvent&&e.originalEvent.deltaY;if(t&&n){if(!this.spinning&&!this._start(e))return!1;this._spin((0<n?-1:1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},mousewheel:function(e,t){if(e.isTrigger)return(e=V.Event(e)).type="wheel",t&&(e.deltaY=-t),this._events.wheel.call(this,e)},"mousedown .ui-spinner-button":function(e){var t=this.element[0]===this.document[0].activeElement?this.previous:this.element.val();e.preventDefault(),function(){this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=t)}.call(this),!1!==this._start(e)&&this._repeat(null,V(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(V(e.currentTarget).hasClass("ui-state-active")){if(!1===this._start(e))return!1;this._repeat(null,V(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)}},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var t=this.options,n=V.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,t.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e)||(this.counter||(this.counter=1),this.spinning=!0,0))},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:n})||(this._value(n),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?"function"==typeof t?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return e=null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var e=e.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_adjustValue:function(e){var t,n=this.options,i=Math.round((e-(t=null!==n.min?n.min:0))/n.step)*n.step;return e=parseFloat((e=t+i).toFixed(this._precision())),null!==n.max&&e>n.max?n.max:null!==n.min&&e<n.min?n.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var n;"culture"===e||"numberFormat"===e?(n=this._parse(this.element.val()),this.options[e]=t,this.element.val(this._format(n))):("max"!==e&&"min"!==e&&"step"!==e||"string"!=typeof t||(t=this._parse(t)),"icons"===e&&(n=this.buttons.first().find(".ui-icon"),this._removeClass(n,null,this.options.icons.up),this._addClass(n,null,t.up),n=this.buttons.last().find(".ui-icon"),this._removeClass(n,null,this.options.icons.down),this._addClass(n,null,t.down)),this._super(e,t))},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:j(function(e){this._super(e)}),_parse:function(e){return""===(e="string"==typeof e&&""!==e?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e:e)||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var n;""!==e&&null!==(n=this._parse(e))&&(t||(n=this._adjustValue(n)),e=this._format(n)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:j(function(e){this._stepUp(e)}
vendor: 6,707 bytes, line 1
1),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:j(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin(-((e||1)*this.options.step)),this._stop())},pageUp:j(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:j(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());j(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!0===V.uiBackCompat&&V.widget("ui.spinner",V.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),V.ui.spinner,V.widget("ui.tabs",{version:"1.14.2",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(e){var t=new URL(e.href),n=new URL(location.href);return 1<e.hash.length&&t.origin===n.origin&&t.pathname===n.pathname&&t.search===n.search},_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),Array.isArray(e.disabled)&&(e.disabled=V.uniqueSort(e.disabled.concat(V.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(e.active):this.active=V(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var n=this.options.active,e=this.options.collapsible,i=location.hash.substring(1),o=decodeURIComponent(i);return!1!==(n=null===n&&(i&&(this.tabs.each(function(e,t){if(V(t).attr("aria-controls")===i)return n=e,!1}),null===n)&&this.tabs.each(function(e,t){if(V(t).attr("aria-controls")===o)return n=e,!1}),null===(n=null===n?this.tabs.index(this.tabs.filter(".ui-tabs-active")):n)||-1===n)?!!this.tabs.length&&0:n)&&-1===(n=this.tabs.index(this.tabs.eq(n)))&&(n=!e&&0),n=!e&&!1===n&&this.anchors.length?0:n},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):V()}},_tabKeydown:function(e){var t=V(this.document[0].activeElement).closest("li"),n=this.tabs.index(t),i=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case V.ui.keyCode.RIGHT:case V.ui.keyCode.DOWN:n++;break;case V.ui.keyCode.UP:case V.ui.keyCode.LEFT:i=!1,n--;break;case V.ui.keyCode.END:n=this.anchors.length-1;break;case V.ui.keyCode.HOME:n=0;break;case V.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case V.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,i),e.ctrlKey||e.metaKey||(t.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){!this._handlePageNav(e)&&e.ctrlKey&&e.keyCode===V.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===V.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===V.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){for(var n=this.tabs.length-1;-1!==V.inArray(e=(e=n<e?0:e)<0?n:e,this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"===e?this._activate(t):(this._super(e,t),"collapsible"!==e||(this._toggleClass("ui-tabs-collapsible",null,t),t)||!1!==this.options.active||this._activate(0),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t))},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=V.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!V.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=V()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=V()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,e=this.tabs,t=this.anchors,n=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){V(this).is(".ui-state-disabled")&&e.preventDefault()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return V("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=V(),this.anchors.each(function(e,t){var n,i,o,s=V(t).uniqueId().attr("id"),r=V(t).closest("li"),a=r.attr("aria-controls");l._isLocal(t)?(o=(n=t.hash).substring(1),(i=l.element.find("#"+CSS.escape(o))).length||(o=decodeURIComponent(o),i=l.element.find("#"+CSS.escape(o)))):(n="#"+(o=r.attr("aria-controls")||V({}).uniqueId()[0].id),(i=l.element.find(n)).length||(i=l._createPanel(o)).insertAfter(l.panels[e-1]||l.tablist),i.attr("aria-live","polite")),i.length&&(l.panels=l.panels.add(i)),a&&r.data("ui-tabs-aria-controls",a),r.attr({"aria-controls":o,"aria-labelledby":s}),i.attr("aria-labelledby",s)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)
vendor: 9,249 bytes, line 1
1),this._off(t.not(this.anchors)),this._off(n.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return V("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,n;for(Array.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),n=0;t=this.tabs[n];n++)t=V(t),!0===e||-1!==V.inArray(n,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var n={};e&&V.each(e.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var n,t=this.element.parent();"fill"===e?(n=t.height()-(this.element.outerHeight()-this.element.height()),this.element.siblings(":visible").each(function(){var e=V(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(n-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){n-=V(this).outerHeight(!0)}),this.panels.each(function(){V(this).height(Math.max(0,n-V(this).innerHeight()+V(this).height()))}).css("overflow","auto")):"auto"===e&&(n=0,this.panels.each(function(){n=Math.max(n,V(this).height("").height())}).height(n))},_eventHandler:function(e){var t=this.options,n=this.active,i=V(e.currentTarget).closest("li"),o=i[0]===n[0],s=o&&t.collapsible,r=s?V():this._getPanelForTab(i),a=n.length?this._getPanelForTab(n):V(),n={oldTab:n,oldPanel:a,newTab:s?V():i,newPanel:r};e.preventDefault(),i.hasClass("ui-state-disabled")||i.hasClass("ui-tabs-loading")||this.running||o&&!t.collapsible||!1===this._trigger("beforeActivate",e,n)||(t.active=!s&&this.tabs.index(i),this.active=o?V():i,this.xhr&&this.xhr.abort(),a.length||r.length||V.error("jQuery UI Tabs: Mismatching fragment identifier."),r.length&&this.load(this.tabs.index(i),e),this._toggle(e,n))},_toggle:function(e,t){var n=this,i=t.newPanel,o=t.oldPanel;function s(){n.running=!1,n._trigger("activate",e,t)}function r(){n._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),i.length&&n.options.show?n._show(i,n.options.show,s):(i.show(),s())}this.running=!0,o.length&&this.options.hide?this._hide(o,this.options.hide,function(){n._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),r()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o.hide(),r()),o.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&o.length?t.oldTab.attr("tabIndex",-1):i.length&&this.tabs.filter(function(){return 0===V(this).attr("tabIndex")}).attr("tabIndex",-1),i.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var e=this._findActive(e);e[0]!==this.active[0]&&(e=(e=e.length?e:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:V.noop}))},_findActive:function(e){return!1===e?V():this.tabs.eq(e)},_getIndex:function(e){return e="string"==typeof e?this.anchors.index(this.anchors.filter("[href$='"+CSS.escape(e)+"']")):e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){V.data(this,"ui-tabs-destroy")?V(this).remove():V(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=V(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(n){var e=this.options.disabled;!1!==e&&(e=void 0!==n&&(n=this._getIndex(n),Array.isArray(e)?V.map(e,function(e){return e!==n?e:null}):V.map(this.tabs,function(e,t){return t!==n?t:null})),this._setOptionDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==V.inArray(e,t))return;t=Array.isArray(t)?V.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,i){e=this._getIndex(e);function o(e,t){"abort"===t&&s.panels.stop(!1,!0),s._removeClass(n,"ui-tabs-loading"),r.removeAttr("aria-busy"),e===s.xhr&&delete s.xhr}var s=this,n=this.tabs.eq(e),e=n.find(".ui-tabs-anchor"),r=this._getPanelForTab(n),a={tab:n,panel:r};this._isLocal(e[0])||(this.xhr=V.ajax(this._ajaxSettings(e,i,a)),"canceled"===this.xhr.statusText)||(this._addClass(n,"ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.done(function(e,t,n){r.html(e),s._trigger("load",i,a),o(n,t)}).fail(function(e,t){o(e,t)}))},_ajaxSettings:function(e,n,i){var o=this;return{url:e.attr("href"),beforeSend:function(e,t){return o._trigger("beforeLoad",n,V.extend({jqXHR:e,ajaxSettings:t},i))}}},_getPanelForTab:function(e){e=V(e).attr("aria-controls");return this.element.find("#"+CSS.escape(e))}}),!0===V.uiBackCompat&&V.widget("ui.tabs",V.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),V.ui.tabs,V.widget("ui.tooltip",{version:"1.14.2",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=V(this).attr("title");return V("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var n=(e.attr("aria-describedby")||"").split(/\s+/);n.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",String.prototype.trim.call(n.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),t=V.inArray(t,n);-1!==t&&n.splice(t,1),e.removeData("ui-tooltip-id"),(n=String.prototype.trim.call(n.join(" ")))?e.attr("aria-describedby",n):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=V("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=V([])},_setOption:function(e,t){var n=this;this._super(e,t),"content"===e&&V.each(this.tooltips,function(e,t){n._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var i=this;V.each(this.tooltips,function(e,t){var n=V.Event("blur");n.target=n.currentTarget=t.element[0],i.close(n,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=V(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=V(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=V([])},open:function(e){var n=this,t=V(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=V(this);t.data("ui-tooltip-open")&&((e=V.Event("blur")).target=e.currentTarget=this,n.close(e,!0)),t.attr("title")&&(t.uniqueId(),n.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._registerCloseHandlers(e,t),this._updateContent(t,e))},_updateContent:function(t,n){var e=this.options.content,i=this,o=n?n.type:null;if("string"==typeof e||e.nodeType||e.jquery)return this._open(n,t,e);(e=e.call(t[0],function(e){t.data("ui-tooltip-open")&&(n&&(n.type=o),i._open(n,t,e))}))&&this._open(n,t,e)},_open:function(e,t,n){var i,o,s,r=V.extend({},this.options.position);function a(e){r.of=e,i.is(":hidden")||i.position(r)}n&&((s=this._find(t))?s.tooltip.find(".ui-tooltip-content").html(n):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),i=(s=this._tooltip(t)).tooltip,this._addDescribedBy(t,i.attr("id")),i.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),(s=V("<div>").html(i.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),s.removeAttr("id").find("[id]").removeAttr("id"),s.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:a}),a(e)):i.position(V.extend({of:t},this.options.position)),i.hide(),this._show(i,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(o=this.delayedShow=setInterval(function(){i.is(":visible")&&(a(r.of),clearInterval(o))},13)),this._trigger("open",e,{tooltip:i})))},_registerCloseHandlers:function(e,t){var n={keyup:function(e){e.keyCode===V.ui.keyCode.ESCAPE&&((e
1=V.Event(e)).currentTarget=t[0],this.close(e,!0))}};t[0]!==this.element[0]&&(n.remove=function(){var e=this._find(t);e&&this._removeTooltip(e.tooltip)}),e&&"mouseover"!==e.type||(n.mouseleave="close"),e&&"focusin"!==e.type||(n.focusout="close"),this._on(!0,t,n)},close:function(e){var t,n=this,i=V(e?e.currentTarget:this.element),o=this._find(i);o?(t=o.tooltip,o.closing||(clearInterval(this.delayedShow),i.data("ui-tooltip-title")&&!i.attr("title")&&i.attr("title",i.data("ui-tooltip-title")),this._removeDescribedBy(i),o.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){n._removeTooltip(V(this))}),i.removeData("ui-tooltip-open"),this._off(i,"mouseleave focusout keyup"),i[0]!==this.element[0]&&this._off(i,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&V.each(this.parents,function(e,t){V(t.element).attr("title",t.title),delete n.parents[e]}),o.closing=!0,this._trigger("close",e,{tooltip:t}),o.hiding)||(o.closing=!1)):i.removeData("ui-tooltip-open")},_tooltip:function(e){var t=V("<div>").attr("role","tooltip"),n=V("<div>").appendTo(t),i=t.uniqueId().attr("id");return this._addClass(n,"ui-tooltip-content"),this._addClass(t,"ui-tooltip","ui-widget ui-widget-content"),t.appendTo(this._appendTo(e)),this.tooltips[i]={element:e,tooltip:t}},_find:function(e){e=e.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(e){clearInterval(this.delayedShow),e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){e=e.closest(".ui-front, dialog");return e=e.length?e:this.document[0].body},_destroy:function(){var i=this;V.each(this.tooltips,function(e,t){var n=V.Event("blur"),t=t.element;n.target=n.currentTarget=t[0],i.close(n,!0),V("#"+e).remove(),t.data("ui-tooltip-title")&&(t.attr("title")||t.attr("title",t.data("ui-tooltip-title")),t.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!0===V.uiBackCompat&&V.widget("ui.tooltip",V.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}}),V.ui.tooltip}),!function(c){"use strict";function a(e){return(e||"").toLowerCase()}c.fn.cycle=function(r){var e;return 0!==this.length||c.isReady?this.each(function(){var e,n,t,i=c(this),o=c.fn.cycle.log;if(!i.data("cycle.opts")){for(var s in(o=!1===i.data("cycle-log")||r&&!1===r.log||n&&!1===n.log?c.noop:o)("--c2 init--"),e=i.data())e.hasOwnProperty(s)&&/^cycle[A-Z]+/.test(s)&&(t=e[s],s=s.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,a),o(s+":",t,"("+typeof t+")"),e[s]=t);(n=c.extend({},c.fn.cycle.defaults,e,r||{})).timeoutId=0,n.paused=n.paused||!1,n.container=i,n._maxZ=n.maxZ,n.API=c.extend({_container:i},c.fn.cycle.API),n.API.log=o,n.API.trigger=function(e,t){return n.container.trigger(e,t),n.API},i.data("cycle.opts",n),i.data("cycle.API",n.API),n.API.trigger("cycle-bootstrap",[n,n.API]),n.API.addInitialSlides(),n.API.preInitSlideshow(),n.slides.length&&n.API.initSlideshow()}}):(e={s:this.selector,c:this.context},c.fn.cycle.log("requeuing slideshow (dom not ready)"),c(function(){c(e.s,e.c).cycle(r)}),this)},c.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var e=this.opts(),t=e.slides;e.slideCount=0,e.slides=c(),t=t.jquery?t:e.container.find(t),e.random&&t.sort(function(){return Math.random()-.5}),e.API.add(t)},preInitSlideshow:function(){var e=this.opts(),t=(e.API.trigger("cycle-pre-initialize",[e]),c.fn.cycle.transitions[e.fx]);t&&c.isFunction(t.preInit)&&t.preInit(e),e._preInitialized=!0},postInitSlideshow:function(){var e=this.opts(),t=(e.API.trigger("cycle-post-initialize",[e]),c.fn.cycle.transitions[e.fx]);t&&c.isFunction(t.postInit)&&t.postInit(e)},initSlideshow:function(){var e=this.opts(),t=e.container;e.API.calcFirstSlide(),"static"==e.container.css("position")&&e.container.css("position","relative"),c(e.slides[e.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),e.API.stackSlides(e.slides[e.currSlide],e.slides[e.nextSlide],!e.reverse),e.pauseOnHover&&(t=!0!==e.pauseOnHover?c(e.pauseOnHover):t).hover(function(){e.API.pause(!0)},function(){e.API.resume(!0)}),e.timeout&&(t=e.API.getSlideOpts(e.currSlide),e.API.queueTransition(t,t.timeout+e.delay)),e._initialized=!0,e.API.updateView(!0),e.API.trigger("cycle-initialized",[e]),e.API.postInitSlideshow()},pause:function(e){var t=this.opts(),n=t.API.getSlideOpts(),i=t.hoverPaused||t.paused;e?t.hoverPaused=!0:t.paused=!0,i||(t.container.addClass("cycle-paused"),t.API.trigger("cycle-paused",[t]).log("cycle-paused"),n.timeout&&(clearTimeout(t.timeoutId),t.timeoutId=0,t._remainingTimeout-=c.now()-t._lastQueue,t._remainingTimeout<0||isNaN(t._remainingTimeout))&&(t._remainingTimeout=void 0))},resume:function(e){var t=this.opts(),n=!t.hoverPaused&&!t.paused;e?t.hoverPaused=!1:t.paused=!1,n||(t.container.removeClass("cycle-paused"),0===t.slides.filter(":animated").length&&t.API.queueTransition(t.API.getSlideOpts(),t._remainingTimeout),t.API.trigger("cycle-resumed",[t,t._remainingTimeout]).log("cycle-resumed"))},add:function(e,n){var i=this.opts(),t=i.slideCount;"string"==c.type(e)&&(e=c.trim(e)),c(e).each(function(){var e,t=c(this);n?i.container.prepend(t):i.container.append(t),i.slideCount++,e=i.API.buildSlideOpts(t),i.slides=n?c(t).add(i.slides):i.slides.add(t),i.API.initSlide(e,t,--i._maxZ),t.data("cycle.opts",e),i.API.trigger("cycle-slide-added",[i,e,t])}),i.API.updateView(!0),i._preInitialized&&t<2&&1<=i.slideCount&&(i._initialized?i.timeout&&(e=i.slides.length,i.nextSlide=i.reverse?e-1:1,i.timeoutId||i.API.queueTransition(i)):i.API.initSlideshow())},calcFirstSlide:function(){var e=this.opts(),t=parseInt(e.startingSlide||0,10);(t>=e.slides.length||t<0)&&(t=0),e.currSlide=t,e.reverse?(e.nextSlide=t-1,e.nextSlide<0&&(e.nextSlide=e.slides.length-1)):(e.nextSlide=t+1,e.nextSlide==e.slides.length&&(e.nextSlide=0))},calcNextSlide:function(){var e,t=this.opts();t.reverse?(e=t.nextSlide-1<0,t.nextSlide=e?t.slideCount-1:t.nextSlide-1,t.currSlide=e?0:t.nextSlide+1):(e=t.nextSlide+1==t.slides.length,t.nextSlide=e?0:t.nextSlide+1,t.currSlide=e?t.slides.length-1:t.nextSlide-1)},calcTx:function(e,t){var n;return e._tempFx?n=c.fn.cycle.transitions[e._tempFx]:t&&e.manualFx&&(n=c.fn.cycle.transitions[e.manualFx]),n=n||c.fn.cycle.transitions[e.fx],e._tempFx=null,this.opts()._tempFx=null,n||(n=c.fn.cycle.transitions.fade,e.API.log('Transition "'+e.fx+'" not found.  Using fade.')),n},prepareTx:function(e,t){var n,i,o,s,r=this.opts();return r.slideCount<2?void(r.timeoutId=0):(!e||r.busy&&!r.manualTrump||(r.API.stopTransition(),r.busy=!1,clearTimeout(r.timeoutId),r.timeoutId=0),void(r.busy||(0===r.timeoutId&&!e||(n=r.slides[r.currSlide],i=r.slides[r.nextSlide],o=r.API.getSlideOpts(r.nextSlide),s=r.API.calcTx(o,e),r._tx=s,e&&void 0!==o.manualSpeed&&(o.speed=o.manualSpeed),r.nextSlide!=r.currSlide&&(e||!r.paused&&!r.hoverPaused&&r.timeout)?(r.API.trigger("cycle-before",[o,n,i,t]),s.before&&s.before(o,n,i,t),e=function(){r.busy=!1,r.container.data("cycle.opts")&&(s.after&&s.after(o,n,i,t),r.API.trigger("cycle-after",[o,n,i,t]),r.API.queueTransition(o),r.API.updateView(!0))},r.busy=!0,s.transition?s.transition(o,n,i,t,e):r.API.doTransition(o,n,i,t,e),r.API.calcNextSlide(),r.API.updateView()):r.API.queueTransition(o)))))},doTransition:function(e,t,n,i,o){function s(){l.animate(r.animIn||{opacity:1},r.speed,r.easeIn||r.easing,o)}
vendor: 3,764 bytes, line 1
1var r=e,a=c(t),l=c(n);l.css(r.cssBefore||{}),a.animate(r.animOut||{},r.speed,r.easeOut||r.easing,function(){a.css(r.cssAfter||{}),r.sync||s()}),r.sync&&s()},queueTransition:function(e,t){var n=this.opts(),i=void 0!==t?t:e.timeout;return 0===n.nextSlide&&0==--n.loop?(n.API.log("terminating; loop=0"),n.timeout=0,i?setTimeout(function(){n.API.trigger("cycle-finished",[n])},i):n.API.trigger("cycle-finished",[n]),void(n.nextSlide=n.currSlide)):void 0!==n.continueAuto&&(!1===n.continueAuto||c.isFunction(n.continueAuto)&&!1===n.continueAuto())?(n.API.log("terminating automatic transitions"),n.timeout=0,void(n.timeoutId&&clearTimeout(n.timeoutId))):void(i&&(n._lastQueue=c.now(),void 0===t&&(n._remainingTimeout=e.timeout),n.paused||n.hoverPaused||(n.timeoutId=setTimeout(function(){n.API.prepareTx(!1,!n.reverse)},i))))},stopTransition:function(){var e=this.opts();e.slides.filter(":animated").length&&(e.slides.stop(!1,!0),e.API.trigger("cycle-transition-stopped",[e])),e._tx&&e._tx.stopTransition&&e._tx.stopTransition(e)},advanceSlide:function(e){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+e,t.nextSlide<0?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,0<=e),!1},buildSlideOpts:function(e){var t,n,i,o=this.opts(),s=e.data()||{};for(i in s)s.hasOwnProperty(i)&&/^cycle[A-Z]+/.test(i)&&(t=s[i],n=i.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,a),o.API.log("["+(o.slideCount-1)+"]",n+":",t,"("+typeof t+")"),s[n]=t);(s=c.extend({},c.fn.cycle.defaults,o,s)).slideNum=o.slideCount;try{delete s.API,delete s.slideCount,delete s.currSlide,delete s.nextSlide,delete s.slides}catch(e){}return s},getSlideOpts:function(e){var t=this.opts(),e=(void 0===e&&(e=t.currSlide),t.slides[e]),e=c(e).data("cycle.opts");return c.extend({},t,e)},initSlide:function(e,t,n){var i=this.opts();t.css(e.slideCss||{}),0<n&&t.css("zIndex",n),isNaN(e.speed)&&(e.speed=c.fx.speeds[e.speed]||c.fx.speeds._default),e.sync||(e.speed=e.speed/2),t.addClass(i.slideClass)},updateView:function(e,t){var n,i,o=this.opts();o._initialized&&(n=o.API.getSlideOpts(),i=o.slides[o.currSlide],!e&&!0!==t&&(o.API.trigger("cycle-update-view-before",[o,n,i]),o.updateView<0)||(o.slideActiveClass&&o.slides.removeClass(o.slideActiveClass).eq(o.currSlide).addClass(o.slideActiveClass),e&&o.hideNonActive&&o.slides.filter(":not(."+o.slideActiveClass+")").css("visibility","hidden"),0===o.updateView&&setTimeout(function(){o.API.trigger("cycle-update-view",[o,n,i,e])},n.speed/(o.sync?2:1)),0!==o.updateView&&o.API.trigger("cycle-update-view",[o,n,i,e]),e&&o.API.trigger("cycle-update-view-after",[o,n,i])))},getComponent:function(e){var t=this.opts(),e=t[e];return"string"==typeof e?/^\s*[\>|\+|~]/.test(e)?t.container.find(e):c(e):e.jquery?e:c(e)},stackSlides:function(e,t,n){var i=this.opts();e||(e=i.slides[i.currSlide],t=i.slides[i.nextSlide],n=!i.reverse),c(e).css("zIndex",i.maxZ);var o,s=i.maxZ-2,r=i.slideCount;if(n){for(o=i.currSlide+1;o<r;o++)c(i.slides[o]).css("zIndex",s--);for(o=0;o<i.currSlide;o++)c(i.slides[o]).css("zIndex",s--)}else{for(o=i.currSlide-1;0<=o;o--)c(i.slides[o]).css("zIndex",s--);for(o=r-1;o>i.currSlide;o--)c(i.slides[o]).css("zIndex",s--)}c(t).css("zIndex",i.maxZ-1)},getSlideIndex:function(e){return this.opts().slides.index(e)}},c.fn.cycle.log=function(){},c.fn.cycle.version=function(){return"Cycle2: 2.1.6"},c.fn.cycle.transitions={custom:{},none:{before:function(e,t,n,i){e.API.stackSlides(n,t,i),e.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(e,t,n,i){var o=e.API.getSlideOpts(e.nextSlide).slideCss||{};e.API.stackSlides(t,n,i),e.cssBefore=c.extend(o,{opacity:0,visibility:"visible",display:"block"}),e.animIn={opacity:1},e.animOut={opacity:0}
1}},fadeout:{before:function(e,t,n,i){var o=e.API.getSlideOpts(e.nextSlide).slideCss||{};e.API.stackSlides(t,n,i),e.cssBefore=c.extend(o,{opacity:1,visibility:"visible",display:"block"}),e.animOut={opacity:0}}},scrollHorz:{before:function(e,t,n,i){e.API.stackSlides(t,n,i);t=e.container.css("overflow","hidden").width();e.cssBefore={left:i?t:-t,top:0,opacity:1,visibility:"visible",display:"block"},e.cssAfter={zIndex:e._maxZ-2,left:0},e.animIn={left:0},e.animOut={left:i?-t:t}}}},c.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},c(document).ready(function(){c(c.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(r){"use strict";function a(e,t){var n,i,o,s=t.autoHeight;"container"==s?(n=r(t.slides[t.currSlide]).outerHeight(),t.container.height(n)):t._autoHeightRatio?t.container.height(t.container.width()/t._autoHeightRatio):("calc"===s||"number"==r.type(s)&&0<=s)&&(n="calc"===s?(i=0,o=-1,t.slides.each(function(e){var t=r(this).height();o<t&&(o=t,i=e)}),i):s>=t.slides.length?0:s)!=t._sentinelIndex&&(t._sentinelIndex=n,t._sentinel&&t._sentinel.remove(),(s=r(t.slides[n].cloneNode(!0))).removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),s.css({position:"static",visibility:"hidden",display:"block"}).prependTo(t.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),s.find("*").css("visibility","hidden"),t._sentinel=s)}function l(e,t,n,i){i=r(i).outerHeight();t.container.animate({height:i},t.autoHeightSpeed,t.autoHeightEasing)}function c(e,t){t._autoHeightOnResize&&(r(window).off("resize orientationchange",t._autoHeightOnResize),t._autoHeightOnResize=null),t.container.off("cycle-slide-added cycle-slide-removed",a),t.container.off("cycle-destroyed",c),t.container.off("cycle-before",l),t._sentinel&&(t._sentinel.remove(),t._sentinel=null)}r.extend(r.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),r(document).on("cycle-initialized",function(e,t){function n(){a(0,t)}var i=t.autoHeight,o=r.type(i),s=null;"string"!==o&&"number"!==o||(t.container.on("cycle-slide-added cycle-slide-removed",a),t.container.on("cycle-destroyed",c),"container"==i?t.container.on("cycle-before",l):"string"===o&&/\d+\:\d+/.test(i)&&(i=(i=i.match(/(\d+)\:(\d+)/))[1]/i[2],t._autoHeightRatio=i),"number"!==o&&(t._autoHeightOnResize=function(){clearTimeout(s),s=setTimeout(n,50)},r(window).on("resize orientationchange",t._autoHeightOnResize)),setTimeout(n,30))})}(jQuery),function(s){"use strict";s.extend(s.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),s(document).on("cycle-update-view",function(e,n,i,o){"caption"===n.captionModule&&s.each(["caption","overlay"],function(){var e=i[this+"Template"],t=n.API.getComponent(this);t.length&&e?(t.html(n.API.tmpl(e,i,n,o)),t.show()):t.hide()})}),s(document).on("cycle-destroyed",function(e,t){s.each(["caption","overlay"],function(){var e=t[this+"Template"];t[this]&&e&&t.API.getComponent("caption").empty()})})}(jQuery),function(a){"use strict";var r=a.fn.cycle;a.fn.cycle=function(t){var n,i,o,s=a.makeArray(arguments);return"number"==a.type(t)?this.cycle("goto",t):"string"==a.type(t)?this.each(function(){var e;return n=t,void 0===(o=a(this).data("cycle.opts"))?void r.log('slideshow must be initialized before sending commands; "'+n+'" ignored'):(n="goto"==n?"jump":n,i=o.API[n],a.isFunction(i)?((e=a.makeArray(s)).shift(),i.apply(o.API,e)):void r.log("unknown command: ",n))}):r.apply(this,arguments)},a.extend(a.fn.cycle,r),a.extend(r.API,{next:function(){var e,t=this.opts();t.busy&&!t.manualTrump||(e=t.reverse?-1:1,!1===t.allowWrap&&t.currSlide+e>=t.slideCount)||(t.API.advanceSlide(e),t.API.trigger("cycle-next",[t]).log("cycle-next"))},prev:function(){var e,t=this.opts();t.busy&&!t.manualTrump||(e=t.reverse?1:-1,!1===t.allowWrap&&t.currSlide+e<0)||(t.API.advanceSlide(e),t.API.trigger("cycle-prev",[t]).log("cycle-prev"))},destroy:function(){this.stop();var t=this.opts(),n=a.isFunction(a._data)?a._data:a.noop;clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stop(),t.API.trigger("cycle-destroyed",[t]).log("cycle-destroyed"),t.container.removeData(),n(t.container[0],"parsedAttrs",!1),t.retainStylesOnDestroy||(t.container.removeAttr("style"),t.slides.removeAttr("style"),t.slides.removeClass(t.slideActiveClass)),t.slides.each(function(){var e=a(this);e.removeData(),e.removeClass(t.slideClass),n(this,"parsedAttrs",!1)})},jump:function(e,t){var n=this.opts();n.busy&&!n.manualTrump||(e=parseInt(e,10),isNaN(e)||e<0||e>
1=n.slides.length?n.API.log("goto: invalid slide index: "+e):e==n.currSlide?n.API.log("goto: skipping, already on slide",e):(n.nextSlide=e,clearTimeout(n.timeoutId),n.timeoutId=0,n.API.log("goto: ",e," (zero-index)"),e=n.currSlide<n.nextSlide,n._tempFx=t,n.API.prepareTx(!0,e)))},stop:function(){var e=this.opts(),t=e.container;clearTimeout(e.timeoutId),e.timeoutId=0,e.API.stopTransition(),e.pauseOnHover&&(t=!0!==e.pauseOnHover?a(e.pauseOnHover):t).off("mouseenter mouseleave"),e.API.trigger("cycle-stopped",[e]).log("cycle-stopped")},reinit:function(){var e=this.opts();e.API.destroy(),e.container.cycle()},remove:function(e){for(var t,n,i=this.opts(),o=[],s=1,r=0;r<i.slides.length;r++)t=i.slides[r],r==e?n=t:(o.push(t),a(t).data("cycle.opts").slideNum=s,s++);n&&(i.slides=a(o),i.slideCount--,a(n).remove(),e==i.currSlide?i.API.advanceSlide(1):e<i.currSlide?i.currSlide--:i.currSlide++,i.API.trigger("cycle-slide-removed",[i,e,n]).log("cycle-slide-removed"),i.API.updateView())}}),a(document).on("click.cycle","[data-cycle-cmd]",function(e){e.preventDefault();var e=a(this),t=e.data("cycle-cmd"),n=e.data("cycle-context")||".cycle-slideshow";a(n).cycle(t,e.data("cycle-arg"))})}(jQuery),function(s){"use strict";function n(n,i){var o;n._hashFence?n._hashFence=!1:(o=window.location.hash.substring(1),n.slides.each(function(e){var t;if(s(this).data("cycle-hash")==o)return!0===i?n.startingSlide=e:(t=n.currSlide<e,n.nextSlide=e,n.API.prepareTx(!0,t)),!1}))}s(document).on("cycle-pre-initialize",function(e,t){n(t,!0),t._onHashChange=function(){n(t,!1)},s(window).on("hashchange",t._onHashChange)}),s(document).on("cycle-update-view",function(e,t,n){n.hash&&"#"+n.hash!=window.location.hash&&(t._hashFence=!0,window.location.hash=n.hash)}),s(document).on("cycle-destroyed",function(e,t){t._onHashChange&&s(window).off("hashchange",t._onHashChange)})}(jQuery),function(d){"use strict";d.extend(d.fn.cycle.defaults,{loader:!1}),d(document).on("cycle-bootstrap",function(e,c){var u;c.loader&&(u=c.API.add,c.API.add=function(e,s){function r(e,t){return e.data("index")-t.data("index")}var a=[];if("string"==d.type(e))e=d.trim(e);else if("array"===d.type(e))for(var t=0;t<e.length;t++)e[t]=d(e[t])[0];var l=(e=d(e)).length;l&&(e.css("visibility","hidden").appendTo("body").each(function(e){function t(){var e,t;0==--n&&(--l,e=i,"wait"==c.loader?(a.push(e),0===l&&(a.sort(r),u.apply(c.API,[a,s]),c.container.removeClass("cycle-loading"))):(t=d(c.slides[c.currSlide]),u.apply(c.API,[e,s]),t.show(),c.container.removeClass("cycle-loading")))}var n=0,i=d(this),o=i.is("img")?i:i.find("img");return i.data("index",e),(o=o.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])')).length?(n=o.length,void o.each(function(){this.complete?t():d(this).load(function(){t()}).on("error",function(){0==--n&&(c.API.log("slide skipped; img not loaded:",this.src),0==--l)&&"wait"==c.loader&&u.apply(c.API,[a,s])})})):(--l,void a.push(i))}
1),l)&&c.container.addClass("cycle-loading")})})}(jQuery),function(s){"use strict";function i(n,i,o){n.API.getComponent("pager").each(function(){var e,t=s(this);(i.pagerTemplate?(e=n.API.tmpl(i.pagerTemplate,i,n,o[0]),s(e).appendTo(t)):t.children().eq(n.slideCount-1)).on(n.pagerEvent,function(e){n.pagerEventBubble||e.preventDefault(),n.API.page(t,e.currentTarget)})})}function o(e,t){var n,i,o=this.opts();o.busy&&!o.manualTrump||(n=e.children().index(t),i=o.currSlide<n,o.currSlide!=n&&(o.nextSlide=n,o._tempFx=o.pagerFx,o.API.prepareTx(!0,i),o.API.trigger("cycle-pager-activated",[o,e,t])))}s.extend(s.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>&bull;</span>"}),s(document).on("cycle-bootstrap",function(e,t,n){n.buildPagerLink=i}),s(document).on("cycle-slide-added",function(e,t,n,i){t.pager&&(t.API.buildPagerLink(t,n,i),t.API.page=o)}),s(document).on("cycle-slide-removed",function(e,t,n){t.pager&&t.API.getComponent("pager").each(function(){var e=s(this);s(e.children()[n]).remove()})}),s(document).on("cycle-update-view",function(e,t){t.pager&&t.API.getComponent("pager").each(function(){s(this).children().removeClass(t.pagerActiveClass).eq(t.currSlide).addClass(t.pagerActiveClass)})}),s(document).on("cycle-destroyed",function(e,t){var n=t.API.getComponent("pager");n&&(n.children().off(t.pagerEvent),t.pagerTemplate)&&n.empty()})}(jQuery),function(e){"use strict";e.extend(e.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),e(document).on("cycle-initialized",function(e,t){var n,i;t.API.getComponent("next").on(t.nextEvent,function(e){e.preventDefault(),t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(e){e.preventDefault(),t.API.prev()}),t.swipe&&(n=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",i=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle",t.container.on(n,function(){t._tempFx=t.swipeFx,t.API.next()}),t.container.on(i,function(){t._tempFx=t.swipeFx,t.API.prev()}))}),e(document).on("cycle-update-view",function(e,t){var n,i,o,s,r;t.allowWrap||(n=t.disabledClass,i=t.API.getComponent("next"),o=t.API.getComponent("prev"),s=t._prevBoundry||0,r=void 0!==t._nextBoundry?t._nextBoundry:t.slideCount-1,t.currSlide==r?i.addClass(n).prop("disabled",!0):i.removeClass(n).prop("disabled",!1),t.currSlide===s?o.addClass(n).prop("disabled",!0):o.removeClass(n).prop("disabled",!1))}),e(document).on("cycle-destroyed",function(e,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(l){"use strict";l.extend(l.fn.cycle.defaults,{progressive:!1}),l(document).on("cycle-pre-initialize",function(e,i){if(i.progressive){var o,t=i.API,n=t.next,s=t.prev,r=t.prepareTx,a=l.type(i.progressive);if("array"==a)o=i.progressive;else if(l.isFunction(i.progressive))o=i.progressive(i);else if("string"==a){if(a=l(i.progressive),!(o=l.trim(a.html())))return;if(/^(\[)/.test(o))try{o=l.parseJSON(o)}catch(e){return void t.log("error parsing progressive slides",e)}else(o=o.split(new RegExp(a.data("cycle-split")||"\n")))[o.length-1]||o.pop()}r&&(t.prepareTx=function(e,t){var n;return e||0===o.length?void r.apply(i.API,[e,t]):void(t&&i.currSlide==i.slideCount-1?(n=o[0],o=o.slice(1),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(n)):t||0!==i.currSlide?r.apply(i.API,[e,t]):(e=o.length-1,n=o[e],o=o.slice(0,e),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),i.API.add(n,!0)))}),n&&(t.next=function(){var e,t=this.opts();o.length&&t.currSlide==t.slideCount-1?(e=o[0],o=o.slice(1),t.container.one("cycle-slide-added",function(e,t){n.apply(t.API),t.container.removeClass("cycle-loading")}),t.container.addClass("cycle-loading"),t.API.add(e)):n.apply(t.API)}),s&&(t.prev=function(){var e,t,n=this.opts();o.length&&0===n.currSlide?(e=o.length-1,t=o[e],o=o.slice(0,e),n.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),n.container.addClass("cycle-loading"),n.API.add(t,!0)):s.apply(n.API)})}})}(jQuery),function(l){"use strict";l.extend(l.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),l.extend(l.fn.cycle.API,{tmpl:function(e,t){var t=new RegExp(t.tmplRegex||l.fn.cycle.defaults.tmplRegex,"g"),a=l.makeArray(arguments);return a.shift(),e.replace(t,function(e,t){for(var n,i,o,s=t.split("."),r=0;r<a.length;r++)if(i=a[r]){if(1<s.length)for(o=i,n=0;n<s.length;n++)o=(i=o)[s[n]]||t;else o=i[t];if(l.isFunction(o))return o.apply(i,a);if(null!=o&&o!=t)return o}return t})}})}(jQuery),(n=>{"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)})(function(t){(e=t&&t.fn&&t.fn.select2&&t.fn.select2.amd?t.fn.select2.amd:e)&&e.requirejs||(e?n=e:e={},m={},g={},v={},y={},i=Object.prototype.hasOwnProperty,o=[].slice,b=/\.js$/,p=function(e,t){var n,i,o=c(e),s=o[0],t=t[1];return e=o[1],s&&(n=x(s=l(s,t))),s?e=n&&n.normalize?n.normalize(e,(i=t,function(e){return l(e,i)})):l(e,t):(s=(o=c(e=l(e,t)))[0],e=o[1],s&&(n=x(s))),{f:s?s+"!"+e:e,n:e,pr:s,p:n}},f={require:function(e){return w(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:(t=e,function(){return v&&v.config&&v.config[t]||{}})};var t}},s=function(e,t,n,i){var o,s,r,a,l,c=[],u=typeof n,d=C(i=i||e);if("undefined"==u||"function"==u){for(t=!t.length&&n.length?["require","exports","module"]:t,a=0;a<t.length;a+=1)if("require"===(s=(r=p(t[a],d)).f))c[a]=f.require(e);else if("exports"===s)c[a]=f.exports(e),l=!0;else if("module"===s)o=c[a]=f.module(e);else if(_(m,s)||_(g,s)||_(y,s))c[a]=x(s);else{if(!r.p)throw new Error(e+" missing "+s);r.p.load(r.n,w(i,!0),(t=>function(e){m[t]=e})(s),{}),c[a]=m[s]}u=n?n.apply(m[e],c):void 0,e&&(o&&o.exports!==h&&o.exports!==m[e]?m[e]=o.exports:u===h&&l||(m[e]=u))}else e&&(m[e]=n)},a=n=r=function(e,t,n,i,o){if("string"==typeof e)return f[e]?f[e](t):x(p(e,C(t)).f);if(!e.splice){if((v=e).deps&&r(v.deps,v.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=i,i=o),i?s(h,e,t,n):setTimeout(function(){s(h,e,t,n)},4),r},r.config=function(e){return r(e)},a._defined=m,(u=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),_(m,e)||_(g,e)||(g[e]=[e,t,n])}).amd={jQuery:!0},e.requirejs=a,e.require=n,e.define=u),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",[],function(){var o={};function c(e){var t,n=e.prototype,i=[];for(t in n)"function"==typeof n[t]&&"constructor"!==t&&i.push(t);return i}function e(){this.listeners={}}o.Extend=function(e,t){var n,i={}.hasOwnProperty;function o(){this.constructor=e}for(n in t)i.call(t,n)&&(e[n]=t[n]);return o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype,e},o.Decorate=function(i,o){var e=c(o),t=c(i);function s(){var e=Array.prototype.unshift,t=o.prototype.constructor.length,n=i.prototype.constructor;0<t&&(e.call(arguments,i.prototype.constructor),n=o.prototype.constructor),n.apply(this,arguments)}o.displayName=i.displayName,s.prototype=new function(){this.constructor=s};for(var n=0;n<t.length;n++){var r=t[n];s.prototype[r]=i.prototype[r]}for(var a=0;a<e.length;a++){var l=e[a];s.prototype[l]=(e=>{var t=function(){},n=(e in s.prototype&&(t=s.prototype[e]),o.prototype[e]);return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}})(l)}return s},e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1
vendor: 11,464 bytes, line 1
1);this.listeners=this.listeners||{},0===(n=null==n?[]:n).length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},o.Observable=e,o.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},o.bind=function(e,t){return function(){e.apply(t,arguments)}},o._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var s=n[o];(s=s.substring(0,1).toLowerCase()+s.substring(1))in i||(i[s]={}),o==n.length-1&&(i[s]=e[t]),i=i[s]}delete e[t]}}return e},o.hasScroll=function(e,t){var n=t.style.overflowX,i=t.style.overflowY;return(n!==i||"hidden"!==i&&"visible"!==i)&&("scroll"===n||"scroll"===i||(n=window.getComputedStyle(t),parseFloat(n.height)<t.scrollHeight)||parseFloat(n.width)<t.scrollWidth)},o.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},o.__cache={};var n=0;return o.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(t=e.id?"select2-data-"+e.id:"select2-data-"+(++n).toString()+"-"+o.generateChars(4),e.setAttribute("data-select2-id",t)),t},o.StoreData=function(e,t,n){e=o.GetUniqueElementId(e),o.__cache[e]||(o.__cache[e]={}),o.__cache[e][t]=n},o.GetData=function(e,t){var n,i=o.GetUniqueElementId(e);return t?(n=t.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()}),o.__cache[i]&&null!=o.__cache[i][t]?o.__cache[i][t]:e.dataset[n]):o.__cache[i]},o.RemoveData=function(e){var t=o.GetUniqueElementId(e);null!=o.__cache[t]&&delete o.__cache[t],e.removeAttribute("data-select2-id")},o.copyNonInternalCssClasses=function(e,t){var n=(n=e.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0===e.indexOf("select2-")}),t=(t=t.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0!==e.indexOf("select2-")}),n=n.concat(t);e.setAttribute("class",n.join(" "))},o}),e.define("select2/results",["jquery","./utils"],function(u,d){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return d.Extend(i,d.Observable),i.prototype.render=function(){var e=u('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e[0].setAttribute("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup"),n=(this.clear(),this.hideLoading(),u('<li role="alert" aria-live="assertive" class="select2-results__option"></li>')),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length)0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"});else{e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],i=this.option(i);t.push(i)}this.$results.append(t)}},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option--selectable"),t=e.filter(".select2-results__option--selected");(0<t.length?t:e).first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var t=this;this.data.current(function(e){var i=e.map(function(e){return e.id.toString()});t.$results.find(".select2-results__option--selectable").each(function(){var e=u(this),t=d.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<i.indexOf(n)?(this.classList.add("select2-results__option--selected"),e[0].setAttribute("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),e[0].setAttribute("aria-selected","false"))})})},i.prototype.showLoading=function(e){this.hideLoading(),e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},(e=this.option(e)).className+=" loading-results",this.$results.prepend(e)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var t,n=document.createElement("li"),i=(n.classList.add("select2-results__option"),n.classList.add("select2-results__option--selectable"),{role:"option"}),o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(t in(null!=e.element&&o.call(e.element,":disabled")||null==e.element&&e.disabled)&&(i["aria-disabled"]="true",n.classList.remove("select2-results__option--selectable"),n.classList.add("select2-results__option--disabled")),null==e.id&&n.classList.remove("select2-results__option--selectable"),null!=e._resultId&&(n.id=e._resultId),e.title&&(n.title=e.title),e.children&&(i.role="group",i["aria-label"]=e.text,n.classList.remove("select2-results__option--selectable"),n.classList.add("select2-results__option--group")),i)n.setAttribute(t,i[t]);if(e.children){for(var o=u(n),s=document.createElement("strong"),r=(s.className="select2-results__group",this.template(e,s),[]),a=0;a<e.children.length;a++){var l=e.children[a],l=this.option(l);r.push(l)}var c=u("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});c.append(r),o.append(s),o.append(c)}else this.template(e,n);return d.StoreData(n,"data",e),n},i.prototype.bind=function(t,e){var o=this,n=t.id+"-results";this.$results[0].setAttribute("id",n),t.on("results:all",function(e){o.clear(),o.append(e.data),t.isOpen()&&(o.setClasses(),o.highlightFirstItem())}),t.on("results:append",function(e){o.append(e.data),t.isOpen()&&o.setClasses()}),t.on("query",function(e){o.hideMessages(),o.showLoading(e)}),t.on("select",function(){t.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect"))&&o.highlightFirstItem()}),t.on("unselect",function(){t.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect"))&&o.highlightFirstItem()}),t.on("open",function(){o.$results[0].setAttribute("aria-expanded","true"),o.$results[0].setAttribute("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()}),t.on("close",function(){o.$results[0].setAttribute("aria-expanded","false"),o.$results[0].setAttribute("aria-hidden","true"),o.$results[0].removeAttribute("aria-activedescendant")}),t.on("results:toggle",function(){var e=o.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e,t=o.getHighlightedResults();0!==t.length&&(e=d.GetData(t[0],"data"),t.hasClass("select2-results__option--selected")?o.trigger("close",{}):o.trigger("select",{data:e}))}),t.on("results:previous",function(){var e,t=o.getHighlightedResults(),n=o.$results.find(".select2-results__option--selectable"),i=n.index(t);i<=0||(i-=1,0===t.length&&(i=0),(t=n.eq(i)).trigger("mouseenter"),n=o.$results.offset().top,t=t.offset().top,e=o.$results.scrollTop()+(t-n),0===i?o.$results.scrollTop(0):t-n<0&&o.$results.scrollTop(e))}),t.on("results:next",function(){var e,t,n=o.getHighlightedResults(),i=o.$results.find(".select2-results__option--selectable");(n=i.index(n)+1)>=i.length||((i=i.eq(n)).trigger("mouseenter"),e=o.$results.offset().top+o.$results.outerHeight(!1),i=i.offset().top+i.outerHeight(!1),t=o.$results.scrollTop()+i-e,0===n?o.$results.scrollTop(0):e<i&&o.$results.scrollTop(t))}),t.on("results:focus",function(e){e.element[0].classList.add("select2-results__option--highlighted"),e.element[0].setAttribute("aria-selected","true")}),t.on("results:message",function(e){o.displayMessage(e)}),u.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-t+e.deltaY,t=0<e.deltaY&&t-e.deltaY<=0,n=e.deltaY<0&&n<=o.$results.height();t?(o.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):n&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option--selectable",function(e){var t=u(this),n=d.GetData(this,"data");t.hasClass("select2-results__option--selected")?o.options.get("multiple")?o.trigger("unselect",{originalEvent:e,data:n}):o.trigger("close",{originalEvent:e,data:n}):o.trigger("select",{originalEvent:e,data:n})}),this.$results.on("mouseenter",".select2-results__option--selectable",function(e){var t=d.GetData(this,"data"),n=o.getHighlightedResults();n.removeClass("select2-results__option--highlighted"),n.each(function(){this.setAttribute("aria-selected","false")}),o.trigger("results:focus",{data:t,element:u(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e,t,n,i,o=this.getHighlightedResults();0!==o.length&&(e=this.$results.find(".select2-results__option--selectable").index(o),t=this.$results.offset().top,i=o.offset().top,n=this.$results.scrollTop()+(i-t),i-=t,n-=2*o.outerHeight(!1),e<=2?this.$results.scrollTop(0):(i>this.$results.outerHeight()||i<0)&&this.$results.scrollTop(n))},i.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup");null==(n=n(e,t))?t.style.display="none":"string"==typeof n?t.innerHTML=i(n):u(t).append(n)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,o){function s(e,t){this.$element=e,this.options=t,s.__super__.constructor.call(this)}return i.Extend(s,i.Observable),s.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element[0].getAttribute("tabindex")&&(this._tabindex=this.$element[0].getAttribute("tabindex")),this.$element[0].getAttribute("title")&&e[0].setAttribute("title",this.$element[0].getAttribute("title")),e[0].setAttribute("tabindex",this._tabindex),e[0].setAttribute("aria-disabled","false"),this.$selection=e},s.prototype.bind=function(e,t){var n=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===o.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection[0].setAttribute("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection[0].setAttribute("aria-expanded","true"),n.$selection[0].setAttribute("aria-owns",i),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection[0].setAttribute("aria-expanded","fal
1se"),n.$selection[0].removeAttribute("aria-activedescendant"),n.$selection[0].removeAttribute("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection[0].setAttribute("tabindex",n._tabindex),n.$selection[0].setAttribute("aria-disabled","false")}),e.on("disable",function(){n.$selection[0].setAttribute("tabindex","-1"),n.$selection[0].setAttribute("aria-disabled","true")})},s.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},s.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&i.GetData(this,"element").select2("close")})})},s.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},s.prototype.position=function(e,t){t.find(".selection").append(e)},s.prototype.destroy=function(){this._detachCloseHandler(this.container)},s.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function s(){s.__super__.constructor.apply(this,arguments)}return n.Extend(s,t),s.prototype.render=function(){var e=s.__super__.render.call(this);return e[0].classList.add("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},s.prototype.bind=function(t,e){var n=this,i=(s.__super__.bind.apply(this,arguments),t.id+"-container"),o=this.$selection.find(".select2-selection__rendered")[0];null!=o&&(o.setAttribute("id",i),o.setAttribute("role","textbox"),o.setAttribute("aria-readonly","true")),this.$selection[0].setAttribute("aria-labelledby",i),this.$selection[0].setAttribute("aria-controls",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},s.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e[0].removeAttribute("title")},s.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},s.prototype.selectionContainer=function(){return e("<span></span>")},s.prototype.update=function(e){var t,n;0===e.length?this.clear():(e=e[0],t=this.$selection.find(".select2-selection__rendered"),n=this.display(e,t),t.empty().append(n),(n=e.title||e.text)?t[0].setAttribute("title",n):t[0].removeAttribute("title"))},s}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(o,e,c){function s(e,t){s.__super__.constructor.apply(this,arguments)}return c.Extend(s,e),s.prototype.render=function(){var e=s.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},s.prototype.bind=function(e,t){var n=this,e=(s.__super__.bind.apply(this,arguments),e.id+"-container"),i=this.$selection.find(".select2-selection__rendered")[0];null!=i&&i.setAttribute("id",e),this.$selection.on("click",function(e){n.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){var t;n.isDisabled()||(t=o(this).parent(),t=c.GetData(t[0],"data"),n.trigger("unselect",{originalEvent:e,data:t}))}),this.$selection.on("keydown",".select2-selection__choice__remove",function(e){n.isDisabled()||e.stopPropagation()})},s.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e[0].removeAttribute("title")},s.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},s.prototype.selectionContainer=function(){return o('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">&times;</span></button><span class="select2-selection__choice__display"></span></li>')},s.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=this.$selection.find(".select2-selection__rendered")[0].getAttribute("id")+"-choice-",i=0;i<e.length;i++){var o=e[i],s=this.selectionContainer(),r=this.display(o,s),a=n+c.generateChars(4)+"-";o.id?a+=o.id:a+=c.generateChars(4),s.find(".select2-selection__choice__display").append(r)[0].setAttribute("id",a);(r=o.title||o.text)&&s[0].setAttribute("title",r);var r=this.options.get("translations").get("removeItem"),l=s.find(".select2-selection__choice__remove")[0];l.setAttribute("title",r()),l.setAttribute("aria-label",r()),l.setAttribute("aria-describedby",a),c.StoreData(s[0],"data",o),t.push(s)}this.$selection.find(".select2-selection__rendered").append(t)}},s}),e.define("select2/selection/placeholder",[],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"object"!=typeof t?{id:"",text:t}:t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer(),t=(n.html(this.display(t)),n[0].classList.add("select2-selection__placeholder"),n[0].classList.remove("select2-selection__choice"),t.title||t.text||n.text());return this.$selection.find(".select2-selection__rendered")[0].setAttribute("title",t),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear(),n=this.createPlaceholder(this.placeholder),this.$selection.find(".select2-selection__rendered").append(n)},e}
vendor: 10,221 bytes, line 1
1),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(o,i,a){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=a.GetData(n[0],"data"),o=this.$element.val(),s=(this.$element.val(this.placeholder.id),{data:i});if(this.trigger("clear",s),s.prevented)this.$element.val(o);else{for(var r=0;r<i.length;r++)if(s={data:i[r]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=i.DELETE&&t.which!=i.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){var n,i;e.call(this,t),this.$selection.find(".select2-selection__clear").remove(),this.$selection[0].classList.remove("select2-selection--clearable"),0<this.$selection.find(".select2-selection__placeholder").length||0===t.length||((e=null)!=(n=this.$selection.find(".select2-selection__rendered")[0])&&(e=n.getAttribute("id")),n=this.options.get("translations").get("removeAllItems"),(i=o('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">&times;</span></button>'))[0].setAttribute("title",n()),i[0].setAttribute("aria-label",n()),i[0].setAttribute("aria-describedby",e),a.StoreData(i[0],"data",t),this.$selection.prepend(i),this.$selection[0].classList.add("select2-selection--clearable"))},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(i,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=this.options.get("translations").get("search"),n=i('<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>'),n=(this.$searchContainer=n,this.$search=n.find("textarea"),this.$search[0].autocomplete=this.options.get("autocomplete"),this.$search[0].setAttribute("aria-label",t()),e.call(this));return this._transferTabIndex(),n.append(this.$searchContainer),n},e.prototype.bind=function(e,t,n){var i=this,o=t.id+"-results",s=t.id+"-container";e.call(this,t,n),i.$search[0].setAttribute("aria-describedby",s),t.on("open",function(){i.$search[0].setAttribute("aria-controls",o),i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.resizeSearch(),i.$search[0].removeAttribute("aria-controls"),i.$search[0].removeAttribute("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search[0].disabled=!1,i._transferTabIndex()}),t.on("disable",function(){i.$search[0].disabled=!0}),t.on("focus",function(e){i.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?i.$search[0].setAttribute("aria-activedescendant",e.data._resultId):i.$search[0].removeAttribute("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){var t;e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===l.BACKSPACE&&""===i.$search.val()&&0<(t=i.$selection.find(".select2-selection__choice").last()).length&&(t=a.GetData(t[0],"data"),i.searchRemoveChoice(t),e.preventDefault())}),this.$selection.on("click",".select2-search--inline",function(e){i.$search.val()&&e.stopPropagation()});var r=(e=document.documentMode)&&e<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){r?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){var t;r&&"input"===e.type?i.$selection.off("input.search input.searchcheck"):(t=e.which)!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&i.handleSearch(e)})},e.prototype._transferTabIndex=function(e){this.$search[0].setAttribute("tabindex",this.$selection[0].getAttribute("tabindex")),this.$selection[0].setAttribute("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search[0].setAttribute("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search[0].setAttribute("placeholder",""),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){var e;this.resizeSearch(),this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search[0].getAttribute("placeholder")&&(e=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",e)},e}),e.define("select2/selection/selectionCss",["../utils"],function(n){function e(){}return e.prototype.render=function(e){var t=e.call(this);return-1!==(e=this.options.get("selectionCssClass")||"").indexOf(":all:")&&(e=e.replace(":all:",""),n.copyNonInternalCssClasses(t[0],this.$element[0])),e.trim().split(" ").forEach(function(e){0<e.length&&t[0].classList.add(e)}),t},e}),e.define("select2/selection/eventRelay",["jquery"],function(r){function e(){}return e.prototype.bind=function(e,t,n){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){var n;-1!==o.indexOf(e)&&(n=r.Event("select2:"+e,{params:t=t||{}}),i.$element.trigger(n),-1!==s.indexOf(e))&&(t.prevented=n.isDefaultPrevented())})},e}),e.define("select2/translation",["require"],function(n){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(e){this.dict=Object.assign({},e.all(),this.dict)},i._cache={},i.loadPath=function(e){var t;return e in i._cache||(t=n(e),i._cache[e]=t),new i(i._cache[e])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"
1V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(n){function i(e,t){i.__super__.constructor.call(this)}return n.Extend(i,n.Observable),i.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},i.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},i.prototype.bind=function(e,t){},i.prototype.destroy=function(){},i.prototype.generateResultId=function(e,t){return e=e.id+"-result-",e+=n.generateChars(4),null!=t.id?e+="-"+t.id.toString():e+="-"+n.generateChars(4),e},i}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(e){return t.item(l(e))}))},n.prototype.select=function(o){var e,s=this;o.selected=!0,null!=o.element&&"option"===o.element.tagName.toLowerCase()?(o.element.selected=!0,this.$element.trigger("input").trigger("change")):this.$element[0].multiple?this.current(function(e){var t=[];(o=[o]).push.apply(o,e);for(var n=0;n<o.length;n++){var i=o[n].id;-1===t.indexOf(i)&&t.push(i)}s.$element.val(t),s.$element.trigger("input").trigger("change")}):(e=o.id,this.$element.val(e),this.$element.trigger("input").trigger("change"))},n.prototype.unselect=function(o){var s=this;this.$element[0].multiple&&(o.selected=!1,null!=o.element&&"option"===o.element.tagName.toLowerCase()?(o.element.selected=!1,this.$element.trigger("input").trigger("change")):this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n].id;i!==o.id&&-1===t.indexOf(i)&&t.push(i)}s.$element.val(t),s.$element.trigger("input").trigger("change")}))},n.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})},n.prototype.query=function(t,e){var n=[],i=this;this.$element.children().each(function(){var e;"option"!==this.tagName.toLowerCase()&&"optgroup"!==this.tagName.toLowerCase()||(e=l(this),e=i.item(e),null!==(e=i.matches(t,e))&&n.push(e))}),e({results:n})},n.prototype.addOptions=function(e){this.$element.append(e)},n.prototype.option=function(e){var t;return e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title),(e=this._normalizeItem(e)).element=t,a.StoreData(t,"data",e),l(t)},n.prototype.item=function(e){var t={};if(null==(t=a.GetData(e[0],"data"))){var n=e[0];if("option"===n.tagName.toLowerCase())t={id:e.val(),text:e.text(),disabled:e[0].disabled,selected:e[0].selected,title:e[0].title};else if("optgroup"===n.tagName.toLowerCase()){for(var t={text:e[0].label,children:[],title:e[0].title},i=e.children("option"),o=[],s=0;s<i.length;s++){var r=l(i[s]),r=this.item(r);o.push(r)}t.children=o}(t=this._normalizeItem(t)).element=e[0],a.StoreData(e[0],"data",t)}return t},n.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),null!=(e=l.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),e.children&&(e.children=e.children.map(n.prototype._normalizeItem)),l.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,t,c){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(n){var e;0===this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()}).length&&(e=this.option(n),this.addOptions(e)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(e){for(var t=this,n=this.$element.find("option"),i=n.map(function(){return t.item(c(this)).id}).get(),o=[],s=0;s<e.length;s++){var r,a,l=this._normalizeItem(e[s]);0<=i.indexOf(l.id)?(r=n.filter((e=>function(){return c(this).val()==e.id})(l)),a=this.item(r),a=c.extend(!0,{},l,a),a=this.option(a),r.replaceWith(a)):(r=this.option(l),l.children&&(a=this.convertToOptions(l.children),r.append(a)),o.push(r))}return o},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,s){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){return s.extend({},{data:function(e){return s.extend({},e,{q:e.term})},transport:function(e,t,n){return(e=s.ajax(e)).then(t),e.fail(n),e}},e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(t,n){var i=this,o=(null!=this._request&&("function"==typeof this._request.abort&&this._request.abort(),this._request=null),s.extend({type:"GET"},this.ajaxOptions));function e(){var e=o.transport(o,function(e){(e=i.processResults(e,t))&&e.results&&Array.isArray(e.results)?e.results=e.results.map(r.prototype._normalizeItem):i.options.get("debug")&&window.console&&console.error&&console.error("Select2: The AJAX results did not return an array in the `results` key of the response."),n(e)},function(){e&&"status"in e&&(0===e.status||"0"===e.status)||i.trigger("results:message",{message:"errorLoading"})});i._request=e}"function"==typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},r}),e.define("select2/data/tags",["jquery"],function(t){function e(e,t,n){var i=n.get("tags"),o=n.get("createTag");if(void 0!==o&&(this.createTag=o),void 0!==(o=n.get("insertTag"))&&(this.insertTag=o),e.call(this,t,n),Array.isArray(i))for(var s=0;s<i.length;s++){var r=i[s],r=this._normalizeItem(r),r=this.option(r);this.$element.append(r)}}return e.prototype.query=function(e,c,u){var d=this;this._removeOldTags(),null==c.term||null!=c.page?e.call(this,c,u):e.call(this,c,function e(t,n){for(var i=t.results,o=0;o<i.length;o++){var s=i[o],r=null!=s.children&&!e({results:s.children},!0);if((s.text||"").toUpperCase()===(c.term||"").toUpperCase()||r)return!n&&(t.data=i,void u(t))}if(n)return!0;var a,l=d.createTag(c);null!=l&&((a=d.option(l))[0].setAttribute("data-select2-tag","true"),d.addOptions([a]),d.insertTag(i,l)),t.results=i,u(t)})},e.prototype.createTag=function(e,t){return null==t.term||""===(t=t.term.trim())?null:{
vendor: 8,628 bytes, line 1
1id:t,text:t}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(c){function e(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var i=this,o=(t.term=t.term||"",this.tokenizer(t,this.options,function(e){var t=i._normalizeItem(e);i.$element.find("option").filter(function(){return c(this).val()===t.id}).length||((e=i.option(t))[0].setAttribute("data-select2-tag",!0),i._removeOldTags(),i.addOptions([e])),i.trigger("select",{data:t})}));o.term!==t.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),t.term=o.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var o=n.get("tokenSeparators")||[],s=t.term,r=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};r<s.length;){var l=s[r];-1===o.indexOf(l)||(l=s.substr(0,r),null==(l=a(c.extend({},t,{term:l}))))?r++:(i(l),s=s.substr(r+1)||"",r=0)}return{term:s}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(){i._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected(function(){e.call(i,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){e=null!=e?e.length:0,0<n.maximumSelectionLength&&e>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e[0].setAttribute("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery"],function(s){function e(){}return e.prototype.render=function(e){var e=e.call(this),t=this.options.get("translations").get("search"),n=s('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),this.$search[0].autocomplete=this.options.get("autocomplete"),this.$search[0].setAttribute("aria-label",t()),e.prepend(n),e},e.prototype.bind=function(e,t,n){var i=this,o=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){s(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),t.on("open",function(){i.$search[0].setAttribute("tabindex",0),i.$search[0].setAttribute("aria-controls",o),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),t.on("close",function(){i.$search[0].setAttribute("tabindex",-1),i.$search[0].removeAttribute("aria-controls"),i.$search[0].removeAttribute("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||i.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer[0].classList.remove("select2-search--hide"):i.$searchContainer[0].classList.add("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?i.$search[0].setAttribute("aria-activedescendant",e.data._resultId):i.$search[0].removeAttribute("aria-activedescendant")})},e.prototype.handleSearch=function(e){var t;this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},e.prototype.showSearch=function(e,t){return!0},e}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"object"!=typeof t?{id:"",text:t}:t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&(e=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=e+50)&&this.loadMore()},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(u,r){function e(e,t,n){this.$dropdownParent=u(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t[0].setAttribute("class",n[0].getAttribute("class")),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=u("<span></span>"),e=e.call(this);return t.append(e),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){var n;this._containerResultsHandlersBound||(n=this,t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0)},e.prototype._attachPositioningHandler=function(e,t){var n=this,i="scroll.
1select2."+t.id,o="resize.select2."+t.id,t="orientationchange.select2."+t.id,s=this.$container.parents().filter(r.hasScroll);s.each(function(){r.StoreData(this,"select2-scroll-position",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),s.on(i,function(e){var t=r.GetData(this,"select2-scroll-position");u(this).scrollTop(t.y)}),u(window).on(i+" "+o+" "+t,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,i="resize.select2."+t.id,t="orientationchange.select2."+t.id;this.$container.parents().filter(r.hasScroll).off(n),u(window).off(n+" "+i+" "+t)},e.prototype._positionDropdown=function(){var e=u(window),t=this.$dropdown[0].classList.contains("select2-dropdown--above"),n=this.$dropdown[0].classList.contains("select2-dropdown--below"),i=null,o=((a=this.$container.offset()).bottom=a.top+this.$container.outerHeight(!1),{height:this.$container.outerHeight(!1)}),s=(o.top=a.top,o.bottom=a.top+o.height,this.$dropdown.outerHeight(!1)),r=e.scrollTop(),e=e.scrollTop()+e.height(),r=r<a.top-s,e=e>a.bottom+s,a={left:a.left,top:o.bottom},l=this.$dropdownParent,c=("static"===l.css("position")&&(l=l.offsetParent()),{top:0,left:0});(u.contains(document.body,l[0])||l[0].isConnected)&&(c=l.offset()),a.top-=c.top,a.left-=c.left,t||n||(i="below"),e||!r||t?!r&&e&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(a.top=o.top-c.top-s),null!=i&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+i),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+i)),this.$dropdownContainer.css(a)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var o=t[i];o.children?n+=e(o.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(n){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){t&&null!=t.originalSelect2Event&&("select"===(t=t.originalSelect2Event)._type||"unselect"===t._type)||(t=this.getHighlightedResults()).length<1||null!=(t=n.GetData(t[0],"data")).element&&t.element.selected||null==t.element&&t.selected||this.trigger("select",{data:t})},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),e.define("select2/dropdown/dropdownCss",["../utils"],function(n){function e(){}return e.prototype.render=function(e){var t=e.call(this);return-1!==(e=this.options.get("dropdownCssClass")||"").indexOf(":all:")&&(e=e.replace(":all:",""),n.copyNonInternalCssClasses(t[0],this.$element[0])),e.trim().split(" ").forEach(function(e){0<e.length&&t[0].classList.add(e)}),t},e}),e.define("select2/dropdown/tagsSearchHighlight",["../utils"],function(i){function e(){}return e.prototype.highlightFirstItem=function(e){if(0<(t=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)")).length){var t=t.first(),n=i.GetData(t[0],"data").element;if(n&&n.getAttribute&&"true"===n.getAttribute("data-select2-tag"))return void t.trigger("mouseenter")}e.call(this)},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t="Please delete "+(e=e.input.length-e.maximum)+" character";return 1!=e&&(t+="s"),t},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"}}}),e.define("select2/defaults",["jquery","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/selectionCss","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./dropdown/dropdownCss","./dropdown/tagsSearchHighlight","./i18n/en"],function(l,s,r,a,c,u,d,h,p,f,m,t,g,v,y,b,_,w,x,C,k,S,A,E,T,O,D,I,M,P,e){function n(){this.reset()}return n.prototype.apply=function(e){null==(e=l.extend(!0,{},this.defaults,e)).dataAdapter&&(null!=e.ajax?e.dataAdapter=y:null!=e.data?e.dataAdapter=v:e.dataAdapter=g,0<e.minimumInputLength&&(e.dataAdapter=f.Decorate(e.dataAdapter,w)),0<e.maximumInputLength&&(e.dataAdapter=f.Decorate(e.dataAdapter,x)),0<e.maximumSelectionLength&&(e.dataAdapter=f.Decorate(e.dataAdapter,C)),e.tags&&(e.dataAdapter=f.Decorate(e.dataAdapter,b)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=f.Decorate(e.dataAdapter,_))),null==e.resultsAdapter&&(e.resultsAdapter=s,null!=e.ajax&&(e.resultsAdapter=f.Decorate(e.resultsAdapter,E)),null!=e.placeholder&&(e.resultsAdapter=f.Decorate(e.resultsAdapter,A)),e.selectOnClose&&(e.resultsAdapter=f.Decorate(e.resultsAdapter,D)),e.tags)&&(e.resultsAdapter=f.Decorate(e.resultsAdapter,P)),null==e.dropdownAdapter&&(e.multiple?e.dropdownAdapter=k:(t=f.Decorate(k,S),e.dropdownAdapter=t),0!==e.minimumResultsForSearch&&(e.dropdownAdapter=f.Decorate(e.dropdownAdapter,O)),e.closeOnSelect&&(e.dropdownAdapter=f.Decorate(e.dropdownAdapter,I)),null!=e.dropdownCssClass&&(e.dropdownAdapter=f.Decorate(e.dropdownAdapter,M)),e.dropdownAdapter=f.Decorate(e.dropdownAdapter,T)),null==e.selectionAdapter&&(e.multiple?e.selectionAdapter=a:e.selectionAdapter=r,
vendor: 11,245 bytes, line 1
1null!=e.placeholder&&(e.selectionAdapter=f.Decorate(e.selectionAdapter,c)),e.allowClear&&(e.selectionAdapter=f.Decorate(e.selectionAdapter,u)),e.multiple&&(e.selectionAdapter=f.Decorate(e.selectionAdapter,d)),null!=e.selectionCssClass&&(e.selectionAdapter=f.Decorate(e.selectionAdapter,h)),e.selectionAdapter=f.Decorate(e.selectionAdapter,p)),e.language=this._resolveLanguage(e.language),e.language.push("en");for(var t,n=[],i=0;i<e.language.length;i++){var o=e.language[i];-1===n.indexOf(o)&&n.push(o)}return e.language=n,e.translations=this._processTranslations(e.language,e.debug),e},n.prototype.reset=function(){function a(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:f.escapeMarkup,language:{},matcher:function e(t,n){if(null==t.term||""===t.term.trim())return n;if(n.children&&0<n.children.length){for(var i=l.extend(!0,{},n),o=n.children.length-1;0<=o;o--)null==e(t,n.children[o])&&i.children.splice(o,1);return 0<i.children.length?i:e(t,i)}var s=a(n.text).toUpperCase(),r=a(t.term).toUpperCase();return-1<s.indexOf(r)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},n.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,o=t[0].lang,t=(t=t.closest("[lang]"))[0]?t[0].lang:null,o=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(t));return e.language=o,e},n.prototype._resolveLanguage=function(e){if(!e)return[];if(l.isEmptyObject(e))return[];if(l.isPlainObject(e))return[e];for(var t,n=Array.isArray(e)?e:[e],i=[],o=0;o<n.length;o++)i.push(n[o]),"string"==typeof n[o]&&0<n[o].indexOf("-")&&(t=n[o].split("-")[0],i.push(t));return i},n.prototype._processTranslations=function(e,t){for(var n=new m,i=0;i<e.length;i++){var o=new m,s=e[i];if("string"==typeof s)try{o=m.loadPath(s)}catch(e){try{s=this.defaults.amdLanguageBase+s,o=m.loadPath(s)}catch(e){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else o=l.isPlainObject(s)?new m(s):s;n.extend(o)}return n},n.prototype.set=function(e,t){var n={},e=(n[e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})]=t,f._convertData(n));l.extend(!0,this.defaults,e)},new n}),e.define("select2/options",["jquery","./defaults","./utils"],function(u,n,d){function e(e,t){this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=n.applyFromElement(this.options,t)),this.options=n.apply(this.options)}return e.prototype.fromElement=function(e){var t,n=["select2"],i=(null==this.options.multiple&&(this.options.multiple=e[0].multiple),null==this.options.disabled&&(this.options.disabled=e[0].disabled),null==this.options.autocomplete&&e[0].autocomplete&&(this.options.autocomplete=e[0].autocomplete),null===this.options.dir&&((t=e[0].getAttribute("dir"))?this.options.dir=t:(t=e.closest("[dir]").getAttribute("dir"),this.options.dir=t||"ltr")),e[0].disabled=this.options.disabled,e[0].multiple=this.options.multiple,d.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),d.StoreData(e[0],"data",d.GetData(e[0],"select2Tags")),d.StoreData(e[0],"tags",!0)),d.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e[0].setAttribute("ajax--url",d.GetData(e[0],"ajaxUrl")),d.StoreData(e[0],"ajax-Url",d.GetData(e[0],"ajaxUrl"))),{});function o(e,t){return t.toUpperCase()}for(var s=0;s<e[0].attributes.length;s++){var r,a=e[0].attributes[s].name;"data-"==a.substr(0,"data-".length)&&(a=a.substring("data-".length),r=d.GetData(e[0],a),i[a.replace(/-([a-z])/g,o)]=r)}u.fn.jquery&&"1."==u.fn.jquery.substr(0,2)&&e[0].dataset&&(i=u.extend(!0,{},e[0].dataset,i));var l,c=u.extend(!0,{},d.GetData(e[0]),i);for(l in c=d._convertData(c))-1<n.indexOf(l)||(u.isPlainObject(this.options[l])?u.extend(this.options[l],c[l]):this.options[l]=c[l]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,o,s,i){function r(e,t){null!=s.GetData(e[0],"select2")&&s.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),this.options=new o(t=t||{},e),r.__super__.constructor.call(this);var t=e[0].getAttribute("tabindex")||0,t=(s.StoreData(e[0],"old-tabindex",t),e[0].setAttribute("tabindex","-1"),this.options.get("dataAdapter")),t=(this.dataAdapter=new t(e,this.options),this.render()),n=(this._placeContainer(t),this.options.get("selectionAdapter")),n=(this.selection=new n(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,t),this.options.get("dropdownAdapter")),n=(this.dropdown=new n(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,t),this.options.get("resultsAdapter")),i=(this.results=new n(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown),this);this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})}),e[0].classList.add("select2-hidden-accessible"),e[0].setAttribute("aria-hidden","true"),this._syncAttributes(),s.StoreData(e[0],"select2",this),e.data("select2",this)}return s.Extend(r,s.Observable),r.prototype._generateId=function(e){return"select2-"+(null!=(e=e[0])&&null!=e.getAttribute("id")?e.getAttribute("id"):null!=e&&null!=e.getAttribute("name")?e.getAttribute("name")+"-"+s.generateChars(2):s.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},r.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},r.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t)return null!=(i=this._resolveWidth(e,"style"))?i:this._resolveWidth(e,"element");if("element"==t)return(i=e.outerWidth(!1))<=0?"auto":i+"px";if("style"!=t)return"computedstyle"==t?window.getComputedStyle(e[0]).width:t;var i=e[0].getAttribute("style");if("string"==typeof i)for(var o=i.split(";"),s=0,r=o.length;s<r;s+=1){var a=o[s].replace(/\s/g,"").match(n);if(null!==a&&1<=a.length)return a[1]}return null},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=s.bind(this._syncAttributes,this),this._syncS=s.bind(this._syncSubtree,this),this._observer=new window.MutationObserver(function(e){t._syncA(),t._syncS(e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},r.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},r.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===i.indexOf(e)&&n.trigger(e,t)})},r.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},r.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},r.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container[0].classList.add("select2-container--open")}),this.on("close",function(){n.$container[0].classList.remove("select2-container--open")}),this.on("enable",function(){n.$container[0].classList.remove("select2-container--disabled")}),this.on("disable",function(){n.$container[0].classList.add("select2-container--disabled")}),this.on("blur",function(){n.$container[0].classList.remove("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===i.ESC||t===i.UP&&e.altKey?(n.close(e),e.preventDefault()):t===i.ENTER||t===i.TAB?(n.trigger("results:select",{}),e.preventDefault()):t===i.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===i.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===i.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===i.ENTER||t===i.SPACE||t===i.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element[0].disabled),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&0<e.addedNodes.length){for(var n=0;n<e.addedNodes.length;n++)if(e.addedNodes[n].selected)return!0}else{if(e.removedNodes&&0<e.removedNodes.length)return!0;if(Array.isArray(e))return e.some(function(e){return t._isChangeMutation(e)})}return!1},r.prototype._syncSubtree=function(e){var e=this._isChangeMutation(e),t=this;e&&this.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})},r.prototype.trigger=function(e,t){var n=r.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var o={prevented:!1,name:e,args:t};if(n.call(this,i[e],o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},r.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},r.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},r.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")}
vendor: 5,126 bytes, line 1
1,r.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element[0].disabled instead.'),e=!(e=null!=e&&0!==e.length?e:[!0])[0],this.$element[0].disabled=e},r.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},r.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();e=e[0],Array.isArray(e)&&(e=e.map(function(e){return e.toString()})),this.$element.val(e).trigger("input").trigger("change")},r.prototype.destroy=function(){s.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element[0].setAttribute("tabindex",s.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element[0].setAttribute("aria-hidden","false"),s.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e[0].setAttribute("dir",this.options.get("dir")),this.$container=e,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),s.StoreData(e[0],"element",this.$element),e},r}),e.define("jquery-mousewheel",["jquery"],function(e){return e}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(o,e,s,t,r){var a;return null==o.fn.select2&&(a=["open","close","destroy"],o.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=o.extend(!0,{},t);new s(o(this),e)}),this;var n,i;if("string"==typeof t)return i=Array.prototype.slice.call(arguments,1),this.each(function(){var e=r.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,i)}),-1<a.indexOf(t)?this:n;throw new Error("Invalid arguments for Select2: "+t)}),null==o.fn.select2.defaults&&(o.fn.select2.defaults=t),s});var e,n,h,s,r,p,f,m,g,v,y,i,o,b,a={define:e.define,require:e.require};function _(e,t){return i.call(e,t)}function l(e,t){var n,i,o,s,r,a,l,c,u,d,h=t&&t.split("/"),p=v.map,f=p&&p["*"]||{};if(e){for(t=(e=e.split("/")).length-1,v.nodeIdCompat&&b.test(e[t])&&(e[t]=e[t].replace(b,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),c=0;c<e.length;c++)"."===(d=e[c])?(e.splice(c,1),--c):".."!==d||0===c||1===c&&".."===e[2]||".."===e[c-1]||0<c&&(e.splice(c-1,2),c-=2);e=e.join("/")}if((h||f)&&p){for(c=(n=e.split("/")).length;0<c;--c){if(i=n.slice(0,c).join("/"),h)for(u=h.length;0<u;--u)if(o=(o=p[h.slice(0,u).join("/")])&&o[i]){s=o,r=c;break}if(s)break;!a&&f&&f[i]&&(a=f[i],l=c)}!s&&a&&(s=a,r=l),s&&(n.splice(0,r,s),e=n.join("/"))}return e}function w(t,n){return function(){var e=o.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),r.apply(h,e.concat([t,n]))}}function x(e){var t;if(_(g,e)&&(t=g[e],delete g[e],y[e]=!0,s.apply(h,t)),_(m,e)||_(y,e))return m[e];throw new Error("No "+e)}function c(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function C(e){return e?c(e):[]}var u=a.require("jquery.select2");return t.fn.select2.amd=a,u}),!function(Y){var V={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,ariaLive:!0,ariaHidden:!0,keyboardEnabled:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",stopAutoOnClick:!1,autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSli
1des:1,maxSlides:1,moveSlides:0,slideWidth:0,shrinkItems:!1,onSliderLoad:function(){return!0},onSlideBefore:function(){return!0},onSlideAfter:function(){return!0},onSlideNext:function(){return!0},onSlidePrev:function(){return!0},onSliderResize:function(){return!0},onAutoChange:function(){return!0}};Y.fn.bxSlider=function(t){var c,u,o,s,n,e,r,a,l,d,h,p,f,m,g,v,y,b,_,w,H,x,C,L,$,q,k,S,A,E,T,O,F,z,D,U,I,W,B,M,P,j,R,N;return 0===this.length?this:1<this.length?(this.each(function(){Y(this).bxSlider(t)}),this):(c={},u=this,o=Y(window).width(),s=Y(window).height(),Y(u).data("bxSlider")?void 0:(n=function(){Y(u).data("bxSlider")||(c.settings=Y.extend({},V,t),c.settings.slideWidth=parseInt(c.settings.slideWidth),c.children=u.children(c.settings.slideSelector),c.children.length<c.settings.minSlides&&(c.settings.minSlides=c.children.length),c.children.length<c.settings.maxSlides&&(c.settings.maxSlides=c.children.length),c.settings.randomStart&&(c.settings.startSlide=Math.floor(Math.random()*c.children.length)),c.active={index:c.settings.startSlide},c.carousel=1<c.settings.minSlides||1<c.settings.maxSlides,c.carousel&&(c.settings.preloadImages="all"),c.minThreshold=c.settings.minSlides*c.settings.slideWidth+(c.settings.minSlides-1)*c.settings.slideMargin,c.maxThreshold=c.settings.maxSlides*c.settings.slideWidth+(c.settings.maxSlides-1)*c.settings.slideMargin,c.working=!1,c.controls={},c.interval=null,c.animProp="vertical"===c.settings.mode?"top":"left",c.usingCSS=c.settings.useCSS&&"fade"!==c.settings.mode&&function(){for(var e=document.createElement("div"),t=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"],n=0;n<t.length;n++)if(void 0!==e.style[t[n]])return c.cssPrefix=t[n].replace("Perspective","").toLowerCase(),c.animProp="-"+c.cssPrefix+"-transform",!0;return!1}(),"vertical"===c.settings.mode&&(c.settings.maxSlides=c.settings.minSlides),u.data("origStyle",u.attr("style")),u.children(c.settings.slideSelector).each(function(){Y(this).data("origStyle",Y(this).attr("style"))}),e())},e=function(){var e=c.children.eq(c.settings.startSlide);u.wrap('<div class="'+c.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),c.viewport=u.parent(),c.settings.ariaLive&&!c.settings.ticker&&c.viewport.attr("aria-live","polite"),c.loader=Y('<div class="bx-loading" />'),c.viewport.prepend(c.loader),u.css({width:"horizontal"===c.settings.mode?1e3*c.children.length+215+"%":"auto",position:"relative"}),c.usingCSS&&c.settings.easing?u.css("-"+c.cssPrefix+"-transition-timing-function",c.settings.easing):c.settings.easing||(c.settings.easing="swing"),c.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),c.viewport.parent().css({maxWidth:d()}),c.children.css({float:"horizontal"===c.settings.mode?"left":"none",listStyle:"none",position:"relative"}),c.children.css("width",h()),"horizontal"===c.settings.mode&&0<c.settings.slideMargin&&c.children.css("marginRight",c.settings.slideMargin),"vertical"===c.settings.mode&&0<c.settings.slideMargin&&c.children.css("marginBottom",c.settings.slideMargin),"fade"===c.settings.mode&&(c.children.css({position:"absolute",zIndex:0,display:"none"}),c.children.eq(c.settings.startSlide).css({zIndex:c.settings.slideZIndex,display:"block"})),c.controls.el=Y('<div class="bx-controls" />'),c.settings.captions&&H(),c.active.last=c.settings.startSlide===f()-1,c.settings.video&&u.fitVids(),"none"===c.settings.preloadImages?e=null:"all"!==c.settings.preloadImages&&!c.settings.ticker||(e=c.children),c.settings.ticker?c.settings.pager=!1:(c.settings.controls&&_(),c.settings.auto&&c.settings.autoControls&&w(),c.settings.pager&&b(),(c.settings.controls||c.settings.autoControls||c.settings.pager)&&c.viewport.after(c.controls.el)),null===e?a():r(e,a)},r=function(e,t){var n=e.find('img:not([src=""]), iframe').length,i=0;0===n?t():e.find('img:not([src=""]), iframe').each(function(){Y(this).one("load error",function(){++i===n&&t()}).each(function(){!this.complete&&""!=this.src||Y(this).trigger("load")})})},a=function(){var e,t;c.settings.infiniteLoop&&"fade"!==c.settings.mode&&!c.settings.ticker&&(t="vertical"===c.settings.mode?c.settings.minSlides:c.settings.maxSlides,e=c.children.slice(0,t).clone(!0).addClass("bx-clone"),t=c.children.slice(-t).clone(!0).addClass("bx-clone"),c.settings.ariaHidden&&(e.attr("aria-hidden",!0),t.attr("aria-hidden",!0)),u.append(e).prepend(t)),c.loader.remove(),g(),"vertical"===c.settings.mode&&(c.settings.adaptiveHeight=!0),c.viewport.height(l()),u.redrawSlider(),c.settings.onSliderLoad.call(u,c.active.index),c.initialized=!0,c.settings.responsive&&Y(window).on("resize",R),c.settings.auto&&c.settings.autoStart&&(1<f()||c.settings.autoSlideForOnePage)&&F(),c.settings.ticker&&z(),c.settings.pager&&k(c.settings.startSlide),c.settings.controls&&E(),c.settings.touchEnabled&&!c.settings.ticker&&W(),c.settings.keyboardEnabled&&!c.settings.ticker&&Y(document).keydown(I)},l=function(){var t=0,e=Y();if("vertical"===c.settings.mode||c.settings.adaptiveHeight)if(c.carousel){var n=1===c.settings.moveSlides?c.active.index:c.active.index*m(),e=c.children.eq(n);for(i=1;i<=c.settings.maxSlides-1;i++)e=n+i>=c.children.length?e.add(c.children.eq(i-1)):e.add(c.children.eq(n+i))}else e=c.children.eq(c.active.index);else e=c.children;return"vertical"===c.settings.mode?(e.each(function(e){t+=Y(this).outerHeight()}),0<c.settings.slideMargin&&(t+=c.settings.slideMargin*(c.settings.minSlides-1))):t=Math.max.apply(Math,e.map(function(){return Y(this).outerHeight(!1)}).get()),"border-box"===c.viewport.css("box-sizing")?t+=parseFloat(c.viewport.css("padding-top"))+parseFloat(c.viewport.css("padding-bottom"))+parseFloat(c.viewport.css("border-top-width"))+parseFloat(c.viewport.css("border-bottom-width")):"padding-box"===c.viewport.css("box-sizing")&&(t+=parseFloat(c.viewport.css("padding-top"))+parseFloat(c.viewport.css("padding-bottom"))),t},d=function(){var e="100%";return e=0<c.settings.slideWidth?"horizontal"===c.settings.mode?c.settings.maxSlides*c.settings.slideWidth+(c.settings.maxSlides-1)*c.settings.slideMargin:c.settings.slideWidth:e},h=function(){var e=c.settings.slideWidth,t=c.viewport.width();if(0===c.settings.slideWidth||c.settings.slideWidth>t&&!c.carousel||"vertical"===c.settings.mode)e=t;else if(1<c.settings.maxSlides&&"horizontal"===c.settings.mode){if(t>c.maxThreshold)return e;t<c.minThreshold?e=(t-c.settings.slideMargin*(c.settings.minSlides-1))/c.settings.minSlides:c.settings.shrinkItems&&(e=Math.floor((t+c.settings.slideMargin)/Math.ceil((t+c.settings.slideMargin)/(e+c.settings.slideMargin))-c.settings.slideMargin))}return e},p=function(){var e,t=1;return"horizontal"===c.settings.mode&&0<c.settings.slideWidth?t=c.viewport.width()<c.minThreshold?c.settings.minSlides:c.viewport.width()>c.maxThreshold?c.settings.maxSlides:(e=c.children.first().width()+c.settings.slideMargin,Math.floor((c.viewport.width()+c.settings.slideMargin)/e)||1):"vertical"===c.settings.mode&&(t=c.settings.minSlides),t},f=function(){var e=0,t=0,n=0;if(0<c.settings.moveSlides){if(!c.settings.infiniteLoop){for(;t<c.children.length;)++e,t=n+p(),n+=c.settings.moveSlides<=p()?c.settings.moveSlides:p();return n}e=Math.ceil(c.children.length/m())}else e=Math.ceil(c.children.length/p());return e},m=function(){return 0<c.settings.moveSlides&&c.settings.moveSlides<=p()?c.settings.moveSlides:p()},g=function(){var e,t;c.children.length>c.settings.maxSlides&&c.active.last&&!c.settings.infiniteLoop?"horizontal"===c.settings.mode?(e=(t=c.children.last(
vendor: 4,208 bytes, line 1
1)).position(),v(-(e.left-(c.viewport.width()-t.outerWidth())),"reset",0)):"vertical"===c.settings.mode&&(t=c.children.length-c.settings.minSlides,e=c.children.eq(t).position(),v(-e.top,"reset",0)):(e=c.children.eq(c.active.index*m()).position(),c.active.index===f()-1&&(c.active.last=!0),void 0!==e&&("horizontal"===c.settings.mode?v(-e.left,"reset",0):"vertical"===c.settings.mode&&v(-e.top,"reset",0)))},v=function(e,t,n,i){var o;c.usingCSS?(o="vertical"===c.settings.mode?"translate3d(0, "+e+"px, 0)":"translate3d("+e+"px, 0, 0)",u.css("-"+c.cssPrefix+"-transition-duration",n/1e3+"s"),"slide"===t?(u.css(c.animProp,o),0!==n?u.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){Y(e.target).is(u)&&(u.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),S())}):S()):"reset"===t?u.css(c.animProp,o):"ticker"===t&&(u.css("-"+c.cssPrefix+"-transition-timing-function","linear"),u.css(c.animProp,o),0!==n?u.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){Y(e.target).is(u)&&(u.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),v(i.resetValue,"reset",0),D())}):(v(i.resetValue,"reset",0),D()))):((o={})[c.animProp]=e,"slide"===t?u.animate(o,n,c.settings.easing,function(){S()}):"reset"===t?u.css(c.animProp,e):"ticker"===t&&u.animate(o,n,"linear",function(){v(i.resetValue,"reset",0),D()}))},y=function(){for(var e="",t="",n=f(),i=0;i<n;i++)t="",c.settings.buildPager&&Y.isFunction(c.settings.buildPager)||c.settings.pagerCustom?(t=c.settings.buildPager(i),c.pagerEl.addClass("bx-custom-pager")):(t=i+1,c.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+i+'" class="bx-pager-link">'+t+"</a></div>";c.pagerEl.html(e)},b=function(){c.settings.pagerCustom?c.pagerEl=Y(c.settings.pagerCustom):(c.pagerEl=Y('<div class="bx-pager" />'),c.settings.pagerSelector?Y(c.settings.pagerSelector).html(c.pagerEl):c.controls.el.addClass("bx-has-pager").append(c.pagerEl),y()),c.pagerEl.on("click touchend","a",q)},_=function(){c.controls.next=Y('<a class="bx-next" href="">'+c.settings.nextText+"</a>"),c.controls.prev=Y('<a class="bx-prev" href="">'+c.settings.prevText+"</a>"),c.controls.next.on("click touchend",x),c.controls.prev.on("click touchend",C),c.settings.nextSelector&&Y(c.settings.nextSelector).append(c.controls.next),c.settings.prevSelector&&Y(c.settings.prevSelector).append(c.controls.prev),c.settings.nextSelector||c.settings.prevSelector||(c.controls.directionEl=Y('<div class="bx-controls-direction" />'),c.controls.directionEl.append(c.controls.prev).append(c.controls.next),c.controls.el.addClass("bx-has-controls-direction").append(c.controls.directionEl))},w=function(){c.controls.start=Y('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+c.settings.startText+"</a></div>"),c.controls.stop=Y('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+c.settings.stopText+"</a></div>"),c.controls.autoEl=Y('<div class="bx-controls-auto" />'),c.controls.autoEl.on("click",".bx-start",L),c.controls.autoEl.on("click",".bx-stop",$),c.settings.autoControlsCombine?c.controls.autoEl.append(c.controls.start):c.controls.autoEl.append(c.controls.start).append(c.controls.stop),c.settings.autoControlsSelector?Y(c.settings.autoControlsSelector).html(c.controls.autoEl):c.controls.el.addClass("bx-has-controls-auto").append(c.controls.autoEl),A(c.settings.autoStart?"stop":"start")},H=function(){c.children.each(function(e){var t=Y(this).find("img:first").attr("title");void 0!==t&&(""+t).length&&Y(this).append('<div class="bx-caption"><span>'+t+"</span></div>")})},x=function(e){e.preventDefault(),c.controls.el.hasClass("disabled")||(c.settings.auto&&c.settings.stopAutoOnClick&&u.stopAuto(),u.goToNextSlide())},C=function(e){e.preventDefault(),c.controls.el.hasClass("disabled")||(c.settings.auto&&c.settings.stopAutoOnClick&&u.stopAuto(),u.goToPrevSlide())},L=function(e){u.startAuto(),e.preventDefault()},$=function(e){u.stopAuto(),e.preventDefault()},q=function(e){e.preventDefault(),c.controls.el.hasClass("disabled")||(c.settings.auto&&c.settings.stopAutoOnClick&&u.stopAuto(),void 0!==(e=Y(e.currentTarget)).attr("data-sli
1de-index")&&(e=parseInt(e.attr("data-slide-index")))!==c.active.index&&u.goToSlide(e))},k=function(n){var e=c.children.length;"short"===c.settings.pagerType?(1<c.settings.maxSlides&&(e=Math.ceil(c.children.length/c.settings.maxSlides)),c.pagerEl.html(n+1+c.settings.pagerShortSeparator+e)):(c.pagerEl.find("a").removeClass("active"),c.pagerEl.each(function(e,t){Y(t).find("a").eq(n).addClass("active")}))},S=function(){var e;c.settings.infiniteLoop&&(e="",0===c.active.index?e=c.children.eq(0).position():c.active.index===f()-1&&c.carousel?e=c.children.eq((f()-1)*m()).position():c.active.index===c.children.length-1&&(e=c.children.eq(c.children.length-1).position()),e)&&("horizontal"===c.settings.mode?v(-e.left,"reset",0):"vertical"===c.settings.mode&&v(-e.top,"reset",0)),c.working=!1,c.settings.onSlideAfter.call(u,c.children.eq(c.active.index),c.oldIndex,c.active.index)},A=function(e){c.settings.autoControlsCombine?c.controls.autoEl.html(c.controls[e]):(c.controls.autoEl.find("a").removeClass("active"),c.controls.autoEl.find("a:not(.bx-"+e+")").addClass("active"))},E=function(){1===f()?(c.controls.prev.addClass("disabled"),c.controls.next.addClass("disabled")):!c.settings.infiniteLoop&&c.settings.hideControlOnEnd&&(0===c.active.index?(c.controls.prev.addClass("disabled"),c.controls.next):c.active.index===f()-1?(c.controls.next.addClass("disabled"),c.controls.prev):(c.controls.prev.removeClass("disabled"),c.controls.next)).removeClass("disabled")},T=function(){u.startAuto()},O=function(){u.stopAuto()},F=function(){0<c.settings.autoDelay?setTimeout(u.startAuto,c.settings.autoDelay):(u.startAuto(),Y(window).focus(T).blur(O)),c.settings.autoHover&&u.hover(function(){c.interval&&(u.stopAuto(!0),c.autoPaused=!0)},function(){c.autoPaused&&(u.startAuto(!0),c.autoPaused=null)})},z=function(){var e,t,n,i,o,s,r,a,l=0;"next"===c.settings.autoDirection?u.append(c.children.clone().addClass("bx-clone")):(u.prepend(c.children.clone().addClass("bx-clone")),e=c.children.first().position(),l="horizontal"===c.settings.mode?-e.left:-e.top),v(l,"reset",0),c.settings.pager=!1,c.settings.controls=!1,c.settings.autoControls=!1,c.settings.tickerHover&&(c.usingCSS?(i="horizontal"===c.settings.mode?4:5,c.viewport.hover(function(){t=u.css("-"+c.cssPrefix+"-transform"),n=parseFloat(t.split(",")[i]),v(n,"reset",0)},function(){a=0,c.children.each(function(e){a+="horizontal"===c.settings.mode?Y(this).outerWidth(!0):Y(this).outerHeight(!0)}),o=c.settings.speed/a,s="horizontal"===c.settings.mode?"left":"top",r=o*(a-Math.abs(parseInt(n))),D(r)})):c.viewport.hover(function(){u.stop()},function(){a=0,c.children.each(function(e){a+="horizontal"===c.settings.mode?Y(this).outerWidth(!0):Y(this).outerHeight(!0)}),o=c.settings.speed/a,s="horizontal"===c.settings.mode?"left":"top",r=o*(a-Math.abs(parseInt(u.css(s)))),D(r)})),D()},D=function(e){var e=e||c.settings.speed,t={left:0,top:0},n={left:0,top:0};"next"===c.settings.autoDirection?t=u.find(".bx-clone").first().position():n=c.children.first().position(),t="horizontal"===c.settings.mode?-t.left:-t.top,n="horizontal"===c.settings.mode?-n.left:-n.top,v(t,"ticker",e,{resetValue:n})},U=function(e){var t=Y(window),n={top:t.scrollTop(),left:t.scrollLeft()},i=e.offset();return n.right=n.left+t.width(),n.bottom=n.top+t.height(),i.right=i.left+e.outerWidth(),i.bottom=i.top+e.outerHeight(),!(n.right<i.left||n.left>i.right||n.bottom<i.top||n.top>i.bottom)},I=function(e){var t=document.activeElement.tagName.toLowerCase();if(null==new RegExp(t,["i"]).exec("input|textarea")&&U(u))return 39===e.keyCode?(x(e),!1):37===e.ke
1yCode?(C(e),!1):void 0},W=function(){c.touch={start:{x:0,y:0},end:{x:0,y:0}},c.viewport.on("touchstart MSPointerDown pointerdown",B),c.viewport.on("click",".bxslider a",function(e){c.viewport.hasClass("click-disabled")&&(e.preventDefault(),c.viewport.removeClass("click-disabled"))})},B=function(e){var t;Y(e.target).is("a")||"touchstart"!==e.type&&0!==e.button||(e.preventDefault(),c.controls.el.addClass("disabled"),c.working?c.controls.el.removeClass("disabled"):(c.touch.originalPos=u.position(),t=void 0!==(e=e.originalEvent).changedTouches?e.changedTouches:[e],"function"==typeof PointerEvent&&void 0===e.pointerId||(c.touch.start.x=t[0].pageX,c.touch.start.y=t[0].pageY,c.viewport.get(0).setPointerCapture&&(c.pointerId=e.pointerId,c.viewport.get(0).setPointerCapture(c.pointerId)),c.originalClickTarget=e.originalTarget||e.target,c.originalClickButton=e.button,c.originalClickButtons=e.buttons,c.originalEventType=e.type,c.hasMove=!1,c.viewport.on("touchmove MSPointerMove pointermove",P),c.viewport.on("touchend MSPointerUp pointerup",j),c.viewport.on("MSPointerCancel pointercancel",M))))},M=function(e){e.preventDefault(),v(c.touch.originalPos.left,"reset",0),c.controls.el.removeClass("disabled"),c.viewport.off("MSPointerCancel pointercancel",M),c.viewport.off("touchmove MSPointerMove pointermove",P),c.viewport.off("touchend MSPointerUp pointerup",j),c.viewport.get(0).releasePointerCapture&&c.viewport.get(0).releasePointerCapture(c.pointerId)},P=function(e){var t=e.originalEvent,t=void 0!==t.changedTouches?t.changedTouches:[t],n=Math.abs(t[0].pageX-c.touch.start.x),i=Math.abs(t[0].pageY-c.touch.start.y),o=0,s=0;c.hasMove=!0,(i<3*n&&c.settings.preventDefaultSwipeX||n<3*i&&c.settings.preventDefaultSwipeY)&&e.preventDefault(),"touchmove"!==e.type&&e.preventDefault(),"fade"!==c.settings.mode&&c.settings.oneToOneTouch&&(o="horizontal"===c.settings.mode?(s=t[0].pageX-c.touch.start.x,c.touch.originalPos.left+s):(s=t[0].pageY-c.touch.start.y,c.touch.originalPos.top+s),v(o,"reset",0))},j=function(e){e.preventDefault(),c.viewport.off("touchmove MSPointerMove pointermove",P),c.controls.el.removeClass("disabled");var e=e.originalEvent,e=void 0!==e.changedTouches?e.changedTouches:[e],t=0,n=0;c.touch.end.x=e[0].pageX,c.touch.end.y=e[0].pageY,"fade"===c.settings.mode?(n=Math.abs(c.touch.start.x-c.touch.end.x))>=c.settings.swipeThreshold&&(c.touch.start.x>c.touch.end.x?u.goToNextSlide():u.goToPrevSlide(),u.stopAuto()):(t="horizontal"===c.settings.mode?(n=c.touch.end.x-c.touch.start.x,c.touch.originalPos.left):(n=c.touch.end.y-c.touch.start.y,c.touch.originalPos.top),(c.settings.infiniteLoop||!(0===c.active.index&&0<n||c.active.last&&n<0))&&Math.abs(n)>=c.settings.swipeThreshold?(n<0?u.goToNextSlide():u.goToPrevSlide(),u.stopAuto()):v(t,"reset",200)),c.viewport.off("touchend MSPointerUp pointerup",j),c.viewport.get(0).releasePointerCapture&&c.viewport.get(0).releasePointerCapture(c.pointerId),!1!==c.hasMove||0!==c.originalClickButton&&"touchstart"!==c.originalEventType||Y(c.originalClickTarget).trigger({type:"click",button:c.originalClickButton,buttons:c.originalClickButtons})},R=function(e){var t,n;c.initialized&&(c.working?window.setTimeout(R,10):(t=Y(window).width(),n=Y(window).height(),o===t&&s===n||(o=t,s=n,u.redrawSlider(),c.settings.onSliderResize.call(u,c.active.index))))},N=function(e){var t=p();c.settings.ariaHidden&&!c.settings.ticker&&(c.children.attr("aria-hidden","true"),c.children.slice(e,e+t).attr("aria-hidden","false"))},u.goToSlide=function(e,t){var n,i=!0,o=0,s={left:0,top:0},r=null;c.oldIndex=c.active.index,c.active.index=(n=e)<0?c.settings.infiniteLoop?f()-1:c.active.index:n>=f()?c.settings.infiniteLoop?0:c.active.index:n,c.working||c.active.index===c.oldIndex||(c.working=!0,void 0===(i=c.settings.onSlideBefore.call(u,c.children.eq(c.active.index),c.oldIndex,c.active.index))||i?("next"===t?c.settings.onSlideNext.call(u,c.children.eq(c.active.index),c.oldIndex,c.active.index)||(i=!1):"prev"!==t||c.settings.onSlidePrev.call(u,c.children.eq(c.active.index),c.oldIndex,c.active.index)||(i=!1),c.active.last=c.active.index>=f()-1,(c.settings.pager||c.settings.pagerCustom)&&k(c.active.index),c.settings.controls&&E(),"fade"===c.settings.mode?(c.settings.adaptiveHeight&&c.viewport.height()!==l()&&c.viewport.animate({height:l()},c.settings.adaptiveHeightSpeed),c.children.filter(":visible").fadeOut(c.settings.speed).css({zIndex:0}),c.children.eq(c.active.index).css("zIndex",c.settings.slideZIndex+1).fadeIn(c.settings.speed,function(){Y(this).css("zIndex",c.settings.slideZIndex),S()})):(c.settings.adaptiveHeight&&c.viewport.height()!==l()&&c.viewport.animate({height:l()},c.settings.adaptiveHeightSpeed),!c.settings.infiniteLoop&&c.carousel&&c.active.last?"horizontal"===c.settings.mode?(s=(r=c.children.eq(c.children.length-1)).position(),o=c.viewport.width()-r.outerWidth()):(n=c.children.length-c.settings.minSlides,s=c.children.eq(n).position()):c.carousel&&c.active.last&&"prev"===t?(i=1===c.settings.moveSlides?c.settings.maxSlides-m():(f()-1)*m()-(c.children.length-c.settings.maxSlides),s=(r=u.children(".bx-clone").eq(i)).position()):"next"===t&&0===c.active.index?(s=u.find("> .bx-clone").eq(c.settings.maxSlides).position(),c.active.last=!1):0<=e&&(n=e*parseInt(m()),s=c.children.eq(n).position()),void 0!==s&&(i="horizontal"===c.settings.mode?-(s.left-o):-s.top,v(i,"slide",c.settings.speed)),c.working=!1),c.settings.ariaHidden&&N(c.active.index*m())):(c.active.index=c.oldIndex,c.working=!1))},u.goToNextSlide=function(){var e;!c.settings.infiniteLoop&&c.active.last||!0===c.working||(e=parseInt(c.active.index)+1,u.goToSlide(e,"next"))},u.goToPrevSlide=function(){var e;!c.settings.infiniteLoop&&0===c.active.index||!0===c.working||(e=parseInt(c.active.index)-1,u.goToSlide(e,"prev"))},u.startAuto=function(e){c.interval||(c.interval=setInterval(function(){"next"===c.settings.autoDirection?u.goToNextSlide():u.goToPrevSlide()},c.settings.pause),c.settings.onAutoChange.call(u,!0),c.settings.autoControls&&!0!==e&&A("stop"))},u.stopAuto=function(e){c.autoPaused&&(c.autoPaused=!1),c.interval&&(clearInterval(c.interval),c.interval=null,c.settings.onAutoChange.call(u,!1),c.settings.autoControls)&&!0!==e&&A("start")},u.getCurrentSlide=function(){return c.active.index},u.getCurrentSlideElement=function(){return c.children.eq(c.active.index)},u.getSlideElement=function(e){return c.children.eq(e)},u.getSlideCount=function(){return c.children.length},u.isWorking=function(){return c.working},u.redrawSlider=function(){c.children.add(u.find(".bx-clone")).outerWidth(h()),c.viewport.css("height",l()),c.settings.ticker||g(),c.active.last&&(c.active.index=f()-1),c.active.index>=f()&&(c.active.last=!0),c.settings.pager&&!c.settings.pagerCustom&&(y(),k(c.active.index)),c.settings.ariaHidden&&N(c.active.index*m())},u.destroySlider=function(){c.initialized&&(c.initialized=!1,Y(".bx-clone",this).remove(),c.children.each(function(){void 0!==Y(this).data("origStyle")?Y(this).attr("style",Y(this).data("origStyle")):Y(this).removeAttr("style")}),void 0!==Y(this).data("origStyle")?this.attr("style",Y(this).data("origStyle")):Y(this).removeAttr("style"),Y(this).unwrap().unwrap(),c.controls.el&&c.controls.el.remove(),c.controls.next&&c.controls.next.remove(),c.controls.prev&&c.controls.prev.remove(),c.pagerEl&&c.settings.controls&&!c.settings.pagerCustom&&c.pagerEl.remove(),Y(".bx-caption",this).remove(),c.controls.autoEl&&c.controls.autoEl.remove(),clearInterval(c.interval),c.settings.responsive&&Y(window).off("resize",R),c.settings.keyboardEnabled&&Y(document).off("keydown",I),Y(this).removeData("bxSlider"),Y(window).off("blur",O).off("focus",T))},u.reloadSlider=function(e){void 0!==e&&(t=e),u.destroySlider(),n(),Y(u).data("bxSlider",this)},n(),Y(u).data("bxSlider",this),this))}}(jQuery),!function(e,t){var n,i;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,n=e.Cookies,(i=e.Cookies=t()).noConflict=function(){return e.Cookies=n,i})}(this,function(){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)"__proto__"!==n&&(e[n]=i[n])}return e}return function t(a,s){function n(e,t,n){if("undefined"!=typeof document){"number"==typeof(n=r({},s,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
1URIComponent).replace(/[()]/g,escape);var i,o="";for(i in n)n[i]&&(o+="; "+i,!0!==n[i])&&(o+="="+n[i].split(";")[0]);return document.cookie=e+"="+a.write(t,e)+o}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},i=0;i<t.length;i++){var o=t[i].split("="),s=o.slice(1).join("=");try{var r=decodeURIComponent(o[0]);if(r in n||(n[r]=a.read(s,r)),e===r)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){n(e,"",r({},t,{expires:-1}))},withAttributes:function(e){return t(this.converter,r({},this.attributes,e))},withConverter:function(e){return t(r({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(s)},converter:{value:Object.freeze(a)}})}({read:function(e){return(e='"'===e[0]?e.slice(1,-1):e).replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}),!function(e,t,n,i){e.SwiftypeObject="_st",e._st=e._st||function(){(e._st.q=e._st.q||[]).push(arguments)},n=t.createElement("script"),i=t.getElementsByTagName("script")[0],n.async=1,n.src="//s.swiftypecdn.com/install/v2/st.js",i.parentNode.insertBefore(n,i)}(window,document),_st("install","VMikZdxYyiKT-wx9u3LU","2.0.0"),!function(d){function e(e){var t,n,i={};if(""===e)return{};for(t=0;t<e.length;t+=1)2===(n=e[t].split("=")).length&&(i[n[0]]=decodeURIComponent(n[1].replace(/\+/g," ")));return i}d.queryParams=function(){return e(window.location.search.substr(1).split("&"))},d.hashParams=function(){return e(window.location.hash.substr(1).split("&"))};var h=0,p=(window.Swiftype=window.Swiftype||{},Swiftype.root_url=Swiftype.root_url||"https://api.swiftype.com",Swiftype.pingUrl=function(e,t){var n=setTimeout(t,350),i=new Image;return i.onload=i.onerror=function(){clearTimeout(n),t()},i.src=e,!1},Swiftype.pingAutoSelection=function(e,t,n,i){e={t:(new Date).getTime(),engine_key:e,doc_id:t,prefix:n},t=Swiftype.root_url+"/api/v1/public/analytics/pas?"+d.param(e);Swiftype.pingUrl(t,i)},Swiftype.findSelectedSection=function(){var t=d.hashParams().sts;function n(e){return e.replace(/\s+/g,"").toLowerCase()}t&&(t=n(t),d("h1, h2, h3, h4, h5, h6").each(function(e){if(0<=n(($this=d(this)).text()).indexOf(t))return this.scrollIntoView(!0),!1}))},Swiftype.htmlEscape=Swiftype.htmlEscape||function(e){return String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},d.fn.swiftype=function(u){Swiftype.findSelectedSection();u=d.extend({},d.fn.swiftype.defaults,u);return this.each(function(){var t,n=d(this),i=d.meta?d.extend({},u,n.data()):u,e=(n.attr("autocomplete","off"),n.data("swiftype-config-autocomplete",i),n.submitted=!1,n.cache=new g(10),n.emptyQueries=[],n.isEmpty=function(e){return 0<=d.inArray(p(e),this.emptyQueries)},n.addEmpty=function(e){n.emptyQueries.unshift(p(e))},i.dropdownStylesFunction(n)),o=d('<div class="'+i.widgetContainerClass+'" />'),s=d("<div />").addClass(i.suggestionListClass).appendTo(o).css(e).hide(),r=(o.appendTo(i.autocompleteContainingElement),d("<"+i.suggestionListType+" />").appendTo(s)),a=(n.data("swiftype-list",r),n.abortCurrent=function(){n.currentRequest&&n.currentRequest.abort()},n.showList=function(){!1===m(i.disableAutocomplete)&&s.show()},n.hideList=function(e){e?s.hide():setTimeout(function(){s.hide()},10)},n.showNoResults=function(){r.empty(),void 0===i.noResultsMessage?n.hideList():(r.append(d("<li />",{class:i.noResultsClass}).text(i.noResultsMessage)),n.showList())},n.focused=function(){return n.is(":focus")},n.submitting=function(){n.submitted=!0},n.listResults=function(){return d(i.resultListSelector,r).filter(":not(."+i.noResultsClass+")")},n.activeResult=function(){return n.listResults().filter("."+i.activeItemClass).first()},n.prevResult=function(){var e=n.listResults(),t=e.index(n.activeResult())-1,e=e.eq(t);n.listResults().removeClass(i.activeItemClass),0<=t&&e.addClass(i.activeItemClass)},n.nextResult=function(){var e=n.listResults(),t=e.index(n.activeResult())+1,e=e.eq(t);
1n.listResults().removeClass(i.activeItemClass),0<=t&&e.addClass(i.activeItemClass)},n.selectedCallback=function(t){return function(){var e=n.val();Swiftype.pingAutoSelection(i.engineKey,t.id,e,function(){i.onComplete(t,e)})}},n.registerResult=function(e,t){e.data("swiftype-item",t),e.click(n.selectedCallback(t)).mouseover(function(){n.listResults().removeClass(i.activeItemClass),e.addClass(i.activeItemClass)})},!(n.getContext=function(){return{config:i,list:r,registerResult:n.registerResult}})),l=(n.lastValue="",n.keyup(function(e){a?a=!1:36<e.which&&e.which<41||16==e.which||(0<i.typingDelay?(clearTimeout(t),t=setTimeout(function(){f(n)},i.typingDelay)):f(n))}),n.styleDropdown=function(){s.css(i.dropdownStylesFunction(n))},d(window).resize(function(e){n.styleDropdown()}),n.keydown(function(e){n.styleDropdown();var t=n.activeResult();switch(e.which){case 13:0!==t.length&&r.is(":visible")?(e.preventDefault(),n.selectedCallback(t.data("swiftype-item"))()):n.currentRequest&&n.submitting(),n.hideList(),a=!0;break;case 38:e.preventDefault(),0===t.length?n.listResults().last().addClass(i.activeItemClass):n.prevResult();break;case 40:e.preventDefault(),0===t.length?n.listResults().first().addClass(i.activeItemClass):t!=n.listResults().last()&&n.nextResult();break;case 27:n.hideList(),a=!0;break;default:n.submitted=!1}}),n.keypress(function(e){13==e.which&&0<n.activeResult().length&&e.preventDefault()}),!1),c=!1;d(document).bind("mousedown.swiftype"+ ++h,function(){l=!0}),d(document).bind("mouseup.swiftype"+h,function(){l=!1,c&&(c=!1,n.hideList())}),n.blur(function(){l?c=!0:n.hideList()}),n.focus(function(){setTimeout(function(){n.select()},10),0<n.listResults().length&&n.showList()})})},function(e){return d.trim(e).toLowerCase()}),i=function(n,i){n.abortCurrent();var e={},t=n.data("swiftype-config-autocomplete"),t=(e.q=i,e.engine_key=t.engineKey,e.search_fields=m(t.searchFields),e.fetch_fields=m(t.fetchFields),e.filters=m(t.filters),e.document_types=m(t.documentTypes),e.functional_boosts=m(t.functionalBoosts),e.sort_field=m(t.sortField),e.sort_direction=m(t.sortDirection),e.per_page=t.resultLimit,e.highlight_fields=t.highlightFields,Swiftype.root_url+"/api/v1/public/engines/suggest.json");n.currentRequest=d.ajax({type:"GET",dataType:"jsonp",url:t,data:e}).done(function(e){var t=p(i);0<e.record_count?(n.cache.put(t,e.records),o(n,e.records,i)):(n.addEmpty(t),n.showNoResults())})},f=function(e){var t,n=e.val();n!==e.lastValue&&(e.lastValue=n,""===d.trim(n)?(e.data("swiftype-list").empty(),e.hideList()):void 0!==e.data("swiftype-config-autocomplete").engineKey&4<=d("#st-search-keyword").val().length&&(e=e,t=p(n=n),e.isEmpty(t)?e.showNoResults():(t=e.cache.get(t))?o(e,t,n):i(e,n)))},o=function(e,t,n){var i=e.data("swiftype-list"),o=e.data("swiftype-config-autocomplete");i.empty(),e.hideList(!0),o.resultRenderFunction(e.getContext(),t),(0<e.listResults().length&&e.focused()||void 0!==o.noResultsMessage)&&(e.submitted?e.submitted=!1:e.showList())},m=function(e){var t;if(void 0!==e)return"function"==typeof(t=e)?e.call():t};function g(e){this.size=0,this.limit=e,this._keymap={}}g.prototype.put=function(e,t){t={key:e,value:t};if(this._keymap[e]=t,this.tail?(this.tail.newer=t).older=this.tail:this.head=t,this.tail=t,this.size===this.limit)return this.shift();this.size++},g.prototype.shift=function(){var e=this.head;return e&&(this.head.newer?(this.head=this.head.newer,this.head.older=void 0):this.head=void 0,e.newer=e.older=void 0,delete this._keymap[e.key]),e},g.prototype.get=function(e,t){e=this._keymap[e];if(void 0!==e)return e!==this.tail&&(e.newer&&(e===this.head&&(this.head=e.newer),e.newer.older=e.older),e.older&&(e.older.newer=e.newer),e.newer=void 0,e.older=this.tail,this.tail&&(this.tail.newer=e),this.tail=e,t)?e:e.value},g.prototype.remove=function(e){e=this._keymap[e];if(e)return delete this._keymap[e.key],e.newer&&e.older?(e.older.newer=e.newer,e.newer.older=e.older):e.newer?(e.newer.older=void 0,this.head=e.newer):e.older?(e.older.newer=void 0,this.tail=e.older):this.head=this.tail=void 0,this.size--,e.value},g.prototype.clear=function(){this.head=this.tail=void 0,this.size=0,this._keymap={}},"function"==typeof Object.keys?g.prototype.keys=function(){return Object.keys(this._keymap)}:g.prototype.keys=function(){var e,t=[];for(e in this._keymap)t.push(e);return t}
1,d.fn.swiftype.defaults={activeItemClass:"active",attachTo:void 0,documentTypes:void 0,filters:void 0,engineKey:void 0,searchFields:void 0,functionalBoosts:void 0,sortField:void 0,sortDirection:void 0,fetchFields:void 0,highlightFields:void 0,noResultsClass:"noResults",noResultsMessage:void 0,onComplete:function(e,t){window.location=e.url},resultRenderFunction:function(i,e){var o=i.list,s=i.config;d.each(e,function(n,e){d.each(e,function(e,t){i.registerResult(d("<li>"+s.renderFunction(n,t)+"</li>").appendTo(o),t)})})},renderFunction:function(e,t){return'<p class="title">'+Swiftype.htmlEscape(t.title)+"</p>"},dropdownStylesFunction:function(e){var t=e.data("swiftype-config-autocomplete"),e=t.attachTo?d(t.attachTo):e,n=e.offset(),n={position:"absolute","z-index":9999,top:n.top+e.outerHeight()+1,left:n.left};return t.setWidth&&(n.width=e.outerWidth()-2),n},resultLimit:5,suggestionListType:"ul",suggestionListClass:"autocomplete",resultListSelector:"li",setWidth:!0,typingDelay:80,disableAutocomplete:!1,autocompleteContainingElement:"body",widgetContainerClass:"swiftype-widget"}}(jQuery);var RightNow=function(){var YAHOO;return void 0!==RightNow&&(YAHOO=RightNow),void 0!==YAHOO&&YAHOO||(YAHOO={}),YAHOO.namespace=function(){for(var e,t,n=arguments,i=null,o=0;o<n.length;o+=1)for(t=(""+n[o]).split("."),i=YAHOO,e="YAHOO"==t[0]?1:0;e<t.length;e+=1)i[t[e]]=i[t[e]]||{},i=i[t[e]];return i},YAHOO.log=function(e,t,n){var i=YAHOO.widget.Logger;return!(!i||!i.log)&&i.log(e,t,n)},YAHOO.register=function(e,t,n){var i,o,s,r=YAHOO.env.modules;for(r[e]||(r[e]={versions:[],builds:[]}),i=r[e],r=n.version,n=n.build,o=YAHOO.env.listeners,i.name=e,i.version=r,i.build=n,i.versions.push(r),i.builds.push(n),i.mainClass=t,s=0;s<o.length;s+=1)o[s](i);t?(t.VERSION=r,t.BUILD=n):YAHOO.log("mainClass is undefined for module "+e,"warn")},YAHOO.env=YAHOO.env||{modules:[],listeners:[]},YAHOO.env.getVersion=function(e){return YAHOO.env.modules[e]||null},YAHOO.env.ua=function(){var e,t={ie:0,opera:0,gecko:0,webkit:0,mobile:null,air:0,caja:0},n=navigator.userAgent;return/KHTML/.test(n)&&(t.webkit=1),(e=n.match(/AppleWebKit\/([^\s]*)/))&&e[1]&&(t.webkit=parseFloat(e[1]),/ Mobile\//.test(n)?t.mobile="Apple":(e=n.match(/NokiaN[^\/]*/))&&(t.mobile=e[0]),e=n.match(/AdobeAIR\/([^\s]*)/))&&(t.air=e[0]),t.webkit||((e=n.match(/Opera[\s\/]([^\s]*)/))&&e[1]?(t.opera=parseFloat(e[1]),(e=n.match(/Opera Mini[^;]*/))&&(t.mobile=e[0])):(e=n.match(/MSIE\s([^;]*)/))&&e[1]?t.ie=parseFloat(e[1]):(e=n.match(/Gecko\/([^\s]*)/))&&(t.gecko=1,e=n.match(/rv:([^\s\)]*)/))&&e[1]&&(t.gecko=parseFloat(e[1]))),(e=n.match(/Caja\/([^\s]*)/))&&e[1]&&(t.caja=parseFloat(e[1])),t}(),function(){if(YAHOO.namespace("util","widget","example"),"undefined"!=typeof YAHOO_config){var e,t=YAHOO_config.listener,n=YAHOO.env.listeners,i=!0;if(t){for(e=0;e<n.length;e+=1)if(n[e]==t){i=!1;break}i&&n.push(t)}}}(),YAHOO.lang=YAHOO.lang||{},function(){var u=YAHOO.lang,d=Object.prototype,s=["toString","valueOf"],e={isArray:function(e){return"[object Array]"===d.toString.apply(e)},isBoolean:function(e){return"boolean"==typeof e},isFunction:function(e){return"[object Function]"===d.toString.apply(e)},isNull:function(e){return null===e},isNumber:function(e){return"number"==typeof e&&isFinite(e)},isObject:function(e){return e&&("object"==typeof e||u.isFunction(e))||!1},isString:function(e){return"string"==typeof e},isUndefined:function(e){return void 0===e},_IEEnumFix:YAHOO.env.ua.ie?function(e,t){for(var n,i,o=0;o<s.length;o+=1)i=t[n=s[o]],u.isFunction(i)&&i!=d[n]&&(e[n]=i)}:function(){},extend:function(e,t,n){if(!t||!e)throw new Error("extend failed, please check that all dependencies are included.");function i(){}if(i.prototype=t.prototype,e.prototype=new i,(e.prototype.constructor=e).superclass=t.prototype,t.prototype.constructor==d.constructor&&(t.prototype.constructor=t),n){for(var o in n)u.hasOwnProperty(n,o)&&(e.prototype[o]=n[o]);u._IEEnumFix(e.prototype,n)}},augmentObject:function(e,t){if(!t||!e)throw new Error("Absorb failed, verify dependencies.");var n,i,o=arguments,s=o[2];if(s&&!0!==s)for(n=2;n<o.length;n+=1)e[o[n]]=t[o[n]];else{for(i in t)!s&&i in e||(e[i]=t[i]);u._IEEnumFix(e,t)}},augmentProto:function(e,t){if(!t||!e)throw new Error("Augment failed, verify dependencies.");for(var n=[e.prototype,t.prototype],i=2;i<arguments.length;i+=1)n.push(arguments[i]);u.augmentObject.apply(this,n)},dump:function(e,t){var n,i,o=[];if(!u.isObject(e))return e+"";if(e instanceof Date||"nodeType"in e&&"tagName"in e)return e;if(u.isFunction(e))return"f(){...}";if(t=u.isNumber(t)?t:3,u.isArray(e)){for(o.push("["),n=0,i=e.length;n<i;n+=1)u.isObject(e[n])?o.push(0<t?u.dump(e[n],t-1):"{...}"):o.push(e[n]),o.push(", ");1<o.length&&o.pop(),o.push("]")}else{for(n in o.push("{"),e)u.hasOwnProperty(e,n)&&(o.push(n+" =>
1 "),u.isObject(e[n])?o.push(0<t?u.dump(e[n],t-1):"{...}"):o.push(e[n]),o.push(", "));1<o.length&&o.pop(),o.push("}")}return o.join("")},substitute:function(e,t,n){for(var i,o,s,r,a,l,c=[];!((i=e.lastIndexOf("{"))<0||(o=e.indexOf("}",i))<=i+1);)r=null,-1<(s=(l=a=e.substring(i+1,o)).indexOf(" "))&&(r=l.substring(s+1),l=l.substring(0,s)),s=t[l],n&&(s=n(l,s,r)),u.isObject(s)?s=u.isArray(s)||(-1<(l=(r=r||"").indexOf("dump"))&&(r=r.substring(4)),s.toString===d.toString)||-1<l?u.dump(s,parseInt(r,10)):s.toString():u.isString(s)||u.isNumber(s)||(s="~-"+c.length+"-~",c[c.length]=a),e=e.substring(0,i)+s+e.substring(o+1);for(i=c.length-1;0<=i;i-=1)e=e.replace(new RegExp("~-"+i+"-~"),"{"+c[i]+"}","g");return e},trim:function(t){try{return t.replace(/^\s+|\s+$/g,"")}catch(e){return t}},merge:function(){for(var e={},t=arguments,n=t.length,i=0;i<n;i+=1)u.augmentObject(e,t[i],!0);return e},later:function(e,t,n,i,o){e=e||0,t=t||{};var s,r=n,a=i;if(r=u.isString(n)?t[n]:r)return u.isArray(a)||(a=[i]),n=function(){r.apply(t,a)},s=(o?setInterval:setTimeout)(n,e),{interval:o,cancel:function(){(this.interval?clearInterval:clearTimeout)(s)}};throw new TypeError("method undefined")},isValue:function(e){return u.isObject(e)||u.isString(e)||u.isNumber(e)||u.isBoolean(e)}};u.hasOwnProperty=d.hasOwnProperty?function(e,t){return e&&e.hasOwnProperty(t)}:function(e,t){return!u.isUndefined(e[t])&&e.constructor.prototype[t]!==e[t]},e.augmentObject(u,e,!0),(YAHOO.util.Lang=u).augment=u.augmentProto,YAHOO.augment=u.augmentProto,YAHOO.extend=u.extend}(),YAHOO.register("yahoo",YAHOO,{version:"2.7.0",build:"1799"}),function(){YAHOO.env._id_counter=YAHOO.env._id_counter||0;var d=YAHOO.util,h=YAHOO.lang,c=YAHOO.env.ua,s=YAHOO.lang.trim,n={},i={},o=/^t(?:able|d|h)$/i,r=/color$/i,p=window.document,a=p.documentElement,u="ownerDocument",l="defaultView",f="documentElement",m="compatMode",g="offsetLeft",v="offsetTop",y="parentNode",b="nodeType",_="tagName",w="getBoundingClientRect",x="getComputedStyle",C="currentStyle",k="CSS1Compat",S="BackCompat",A="className",E="position",T="relative",O="borderLeftWidth",D="borderTopWidth",I=c.opera,M=c.webkit,P=c.gecko,j=c.ie,R=(d.Dom={CUSTOM_ATTRIBUTES:a.hasAttribute?{htmlFor:"for",className:"class"}:{for:"htmlFor",class:A},get:function(e){var t,n,i,o,s;if(e){if(!e[b]&&!e.item)if("string"==typeof e){if(t=e,(!(e=p.getElementById(e))||e.id!==t)&&e&&p.all)for(e=null,o=0,s=(n=p.all[t]).length;o<s;++o)if(n[o].id===t)return n[o]}else if("length"in(e=e.DOM_EVENTS?e.get("element"):e)){for(i=[],o=0,s=e.length;o<s;++o)i[i.length]=d.Dom.get(e[o]);return i}return e}return null},getComputedStyle:function(e,t){return window[x]?e[u][l][x](e,null)[t]:e[C]?d.Dom.IE_ComputedStyle.get(e,t):void 0},getStyle:function(e,t){return d.Dom.batch(e,d.Dom._getStyle,t)},_getStyle:window[x]?function(e,t){t="float"===t?"cssFloat":d.Dom._toCamel(t);var n=e.style[t];return n||(e=e[u][l][x](e,null))&&(n=e[t]),n}:a[C]?function(t,e){var n;switch(e){case"opacity":n=100;try{n=t.filters["DXImageTransform.Microsoft.Alpha"].opacity}catch(e){try{n=t.filters("alpha").opacity}catch(e){}}return n/100;case"float":e="styleFloat";default:return e=d.Dom._toCamel(e),n=t[C]?t[C][e]:null,t.style[e]||n}}:void 0,setStyle:function(e,t,n){d.Dom.batch(e,d.Dom._setStyle,{prop:t,val:n})},_setStyle:j?function(e,t){var n=d.Dom._toCamel(t.prop),i=t.val;if(e)switch(n){case"opacity":h.isString(e.style.filter)&&(e.style.filter="alpha(opacity="+100*i+")",e[C]&&e[C].hasLayout||(e.style.zoom=1));break;case"float":n="styleFloat";default:e.style[n]=i}}:function(e,t){var n=d.Dom._toCamel(t.prop),t=t.val;e&&(e.style[n="float"==n?"cssFloat":n]=t)},getXY:function(e){return d.Dom.batch(e,d.Dom._getXY)},_canPosition:function(e){return"none"!==d.Dom._getStyle(e,"display")&&d.Dom._inDoc(e)},_getXY:p[f][w]?function(e){var t,n,i,o,s,r,a=Math.floor,l=!1;return d.Dom._canPosition(e)&&(i=e[w](),e=e[u],t=d.Dom.getDocumentScrollLeft(e),n=d.Dom.getDocumentScrollTop(e),l=[a(i.left),a(i.top)],j&&c.ie<8&&(o=i=2,s=e[m],r=R(e[f],O),e=R(e[f],D),6===c.ie&&s!==S&&(o=i=0),s==S&&("medium"!==r&&(i=parseInt(r,10)),"medium"!==e)&&(o=parseInt(e,10)),l[0]-=i,l[1]-=o),(n||t)&&(l[0]+=t,l[1]+=n),l[0]=a(l[0]),l[1]=a(l[1])),l}:function(e){var t,n,i,o,s,r=!1,a=e;if(d.Dom._canPosition(e)){for(r=[e[g],e[v]],t=d.Dom.getDocumentScrollLeft(e[u]),n=d.Dom.getDocumentScrollTop(e[u]),s=!!(P||519<c.webkit);a=a.offsetParent;)r[0]+=a[g],r[1]+=a[v],s&&(r=d.Dom._calcBorders(a,r));if("fixed"!==d.Dom._getStyle(e,E)){for(a=e;(a=a[y])&&a[_];)i=a.scrollTop,o=a.scrollLeft,P&&"visible"!==d.Dom._getStyle(a,"overflow")&&(r=d.Dom._calcBorders(a,r)),(i||o)&&(r[0]-=o,r[1]-=i);r[0]+=t,r[1]+=n}else I?(r[0]-=t,r[1]-=n):(M||P)&&(r[0]+=t,r[1]+=n);r[0]=Math.floor(r[0]),r[1]=Math.floor(r[1])}return r},getX:function(e){return d.Dom.batch(e,function(e){return d.Dom.getXY(e)[0]},d.Dom,!0)},getY:function(e){return d.Dom.batch(e,function(e){return d.Dom.getXY(e)[1]},d.Dom,!0)},setXY:function(e,t,n){d.Dom.batch(e,d.Dom._setXY,{pos:t,noRetry:n})},_setXY:function(e,t){var n,i=d.Dom._getStyle(e,E),o=d.Dom.setStyle,s=t.pos,t=t.noRetry,r=[parseInt(d.Dom.getComputedStyle(e,"left"),10),parseInt(d.Dom.getComputedStyle(e,"top"),10)];if("static"==i&&o(e,E,i=T),n=d.Dom._getXY(e),!s||!1===n)return!1;isNaN(r[0])&&(r[0]=i==T?0:e[g]),isNaN(r[1])&&(r[1]=i==T?0:e[v]),null!==s[0]&&o(e,"left",s[0]-n[0]+r[0]+"px"),null!==s[1]&&o(e,"top",s[1]-n[1]+r[1]+"px"),!t&&(i=d.Dom._getXY(e),null!==s[0]&&i[0]!=s[0]||null!==s[1]&&i[1]!=s[1])&&d.Dom._setXY(e,{pos:s,noRetry:!0})},setX:function(e,t){d.Dom.setXY(e,[t,null])},setY:function(e,t){d.Dom.setXY(e,[null,t])},getRegion:function(e){return d.Dom.batch(e,function(e){var t=!1;return t=d.Dom._canPosition(e)?d.Region.getRegion(e):t},d.Dom,!0)},getClientWidth:function(){return d.Dom.getViewportWidth()}
1,getClientHeight:function(){return d.Dom.getViewportHeight()},getElementsByClassName:function(e,t,n,i,o,s){if(e=h.trim(e),t=t||"*",!(n=n?d.Dom.get(n):p))return[];for(var r=[],a=n.getElementsByTagName(t),l=d.Dom.hasClass,c=0,u=a.length;c<u;++c)l(a[c],e)&&(r[r.length]=a[c]);return i&&d.Dom.batch(r,i,o,s),r},hasClass:function(e,t){return d.Dom.batch(e,d.Dom._hasClass,t)},_hasClass:function(e,t){var n=!1;return e&&t&&(e=d.Dom.getAttribute(e,A)||"",n=t.exec?t.test(e):t&&-1<(" "+e+" ").indexOf(" "+t+" ")),n},addClass:function(e,t){return d.Dom.batch(e,d.Dom._addClass,t)},_addClass:function(e,t){var n,i=!1;return e&&t&&(n=d.Dom.getAttribute(e,A)||"",d.Dom._hasClass(e,t)||(d.Dom.setAttribute(e,A,s(n+" "+t)),i=!0)),i},removeClass:function(e,t){return d.Dom.batch(e,d.Dom._removeClass,t)},_removeClass:function(e,t){var n,i=!1;return e&&t&&(n=d.Dom.getAttribute(e,A)||"",d.Dom.setAttribute(e,A,n.replace(d.Dom._getClassRegex(t),"")),n!==(t=d.Dom.getAttribute(e,A)))&&(d.Dom.setAttribute(e,A,s(t)),i=!0,""===d.Dom.getAttribute(e,A))&&(n=e.hasAttribute&&e.hasAttribute("class")?"class":A,e.removeAttribute(n)),i},replaceClass:function(e,t,n){return d.Dom.batch(e,d.Dom._replaceClass,{from:t,to:n})},_replaceClass:function(e,t){var n,i,o=!1;return e&&t&&(n=t.from,(i=t.to)?n?n!==i&&((n=(" "+(d.Dom.getAttribute(e,A)||"").replace(d.Dom._getClassRegex(n)," "+i)).split(d.Dom._getClassRegex(i))).splice(1,0," "+i),d.Dom.setAttribute(e,A,s(n.join(""))),o=!0):o=d.Dom._addClass(e,t.to):o=!1),o}
1,generateId:function(e,n){n=n||"yui-gen";function t(e){if(e&&e.id)return e.id;var t=n+YAHOO.env._id_counter++;if(e){if(e[u].getElementById(t))return d.Dom.generateId(e,t+n);e.id=t}return t}return d.Dom.batch(e,t,d.Dom,!0)||t.apply(d.Dom,arguments)},isAncestor:function(e,t){e=d.Dom.get(e),t=d.Dom.get(t);var n=!1;return e&&t&&e[b]&&t[b]&&(e.contains&&e!==t?n=e.contains(t):e.compareDocumentPosition&&(n=!!(16&e.compareDocumentPosition(t)))),n},inDocument:function(e,t){return d.Dom._inDoc(d.Dom.get(e),t)},_inDoc:function(e,t){var n=!1;return e&&e[_]&&(t=t||e[u],n=d.Dom.isAncestor(t[f],e)),n},getElementsBy:function(e,t,n,i,o,s,r){if(t=t||"*",!(n=n?d.Dom.get(n):p))return[];for(var a=[],l=n.getElementsByTagName(t),c=0,u=l.length;c<u;++c)if(e(l[c])){if(r){a=l[c];break}a[a.length]=l[c]}return i&&d.Dom.batch(a,i,o,s),a},getElementBy:function(e,t,n){return d.Dom.getElementsBy(e,t,n,null,null,null,!0)},batch:function(e,t,n,i){var o=[],s=i?n:window;if(!(e=e&&(e[_]||e.item)?e:d.Dom.get(e))||!t)return!1;if(e[_]||void 0===e.length)return t.call(s,e,n);for(var r=0;r<e.length;++r)o[o.length]=t.call(s,e[r],n);return o},getDocumentHeight:function(){var e=(p[m]!=k||M?p.body:a).scrollHeight;return Math.max(e,d.Dom.getViewportHeight())},getDocumentWidth:function(){var e=(p[m]!=k||M?p.body:a).scrollWidth;return Math.max(e,d.Dom.getViewportWidth())},getViewportHeight:function(){var e=self.innerHeight,t=p[m];return e=!t&&!j||I?e:(t==k?a:p.body).clientHeight},getViewportWidth:function(){var e=self.innerWidth,t=p[m];return e=t||j?(t==k?a:p.body).clientWidth:e},getAncestorBy:function(e,t){for(;e=e[y];)if(d.Dom._testElement(e,t))return e;return null},getAncestorByClassName:function(e,t){return(e=d.Dom.get(e))?d.Dom.getAncestorBy(e,function(e){return d.Dom.hasClass(e,t)}):null},getAncestorByTagName:function(e,t){return(e=d.Dom.get(e))?d.Dom.getAncestorBy(e,function(e){return e[_]&&e[_].toUpperCase()==t.toUpperCase()}):null},getPreviousSiblingBy:function(e,t){for(;e;)if(e=e.previousSibling,d.Dom._testElement(e,t))return e;return null},getPreviousSibling:function(e){return(e=d.Dom.get(e))?d.Dom.getPreviousSiblingBy(e):null},getNextSiblingBy:function(e,t){for(;e;)if(e=e.nextSibling,d.Dom._testElement(e,t))return e;return null},getNextSibling:function(e){return(e=d.Dom.get(e))?d.Dom.getNextSiblingBy(e):null},getFirstChildBy:function(e,t){return(d.Dom._testElement(e.firstChild,t)?e.firstChild:null)||d.Dom.getNextSiblingBy(e.firstChild,t)},getFirstChild:function(e,t){return(e=d.Dom.get(e))?d.Dom.getFirstChildBy(e):null},getLastChildBy:function(e,t){return e?(d.Dom._testElement(e.lastChild,t)?e.lastChild:null)||d.Dom.getPreviousSiblingBy(e.lastChild,t):null},getLastChild:function(e){return e=d.Dom.get(e),d.Dom.getLastChildBy(e)},getChildrenBy:function(e,t){var e=d.Dom.getFirstChildBy(e,t),n=e?[e]:[];return d.Dom.getNextSiblingBy(e,function(e){return t&&!t(e)||(n[n.length]=e),!1}),n},getChildren:function(e){return e=d.Dom.get(e),d.Dom.getChildrenBy(e)},getDocumentScrollLeft:function(e){return e=e||p,Math.max(e[f].scrollLeft,e.body.scrollLeft)},getDocumentScrollTop:function(e){return e=e||p,Math.max(e[f].scrollTop,e.body.scrollTop)},insertBefore:function(e,t){return e=d.Dom.get(e),t=d.Dom.get(t),e&&t&&t[y]?t[y].insertBefore(e,t):null},insertAfter:function(e,t){return e=d.Dom.get(e),t=d.Dom.get(t),e&&t&&t[y]?t.nextSibling?t[y].insertBefore(e,t.nextSibling):t[y].appendChild(e):null},getClientRegion:function(){var e=d.Dom.getDocumentScrollTop(),t=d.Dom.getDocumentScrollLeft(),n=d.Dom.getViewportWidth()+t,i=d.Dom.getViewportHeight()+e;return new d.Region(e,n,i,t)},setAttribute:function(e,t,n){t=d.Dom.CUSTOM_ATTRIBUTES[t]||t,e.setAttribute(t,n)},getAttribute:function(e,t){return t=d.Dom.CUSTOM_ATTRIBUTES[t]||t,e.getAttribute(t)},_toCamel:function(e){var t=n;return t[e]||(t[e]=-1===e.indexOf("-")?e:e.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()}))},_getClassRegex:function(e){var t;return void 0!==e&&(e.exec?t=e:(t=i[e])||(e=e.replace(d.Dom._patterns.CLASS_RE_TOKENS,"\\$1"),t=i[e]=new RegExp("(?:^|\\s)"+e+"(?= |$)","g"))),t},_patterns:{ROOT_TAG:/^body|html$/i,CLASS_RE_TOKENS:/([\.\(\)\^\$\*\+\?\|\[\]\{\}])/g},_testElement:function(e,t){return e&&1==e[b]&&(!t||t(e))},_calcBorders:function(e,t){var n=parseInt(d.Dom[x](e,D),10)||0,i=parseInt(d.Dom[x](e,O),10)||0;return P&&o.test(e[_])&&(i=n=0),t[0]+=i,t[1]+=n,t}},d.Dom[x]);c.opera&&(d.Dom[x]=function(e,t){e=R(e,t);return e=r.test(t)?d.Dom.Color.toRGB(e):e}),c.webkit&&(d.Dom[x]=function(e,t){e=R(e,t);return e="rgba(0, 0, 0, 0)"===e?"transparent":e})}(),YAHOO.util.Region=function(e,t,n,i){this.top=e,this.y=e,this[1]=e,this.right=t,this.bottom=n,this.left=i,this.x=i,this[0]=i,this.width=this.right-this.left,this.height=this.bottom-this.top},YAHOO.util.Region.prototype.contains=function(e){return e.left>=this.left&&e.right<=this.right&&e.top>=this.top&&e.bottom<=this.bottom},YAHOO.util.Region.prototype.getArea=function(){return(this.bottom-this.top)*(this.right-this.left)},YAHOO.util.Region.prototype.intersect=function(e){var t=Math.max(this.top,e.top),n=Math.min(this.right,e.right),i=Math.min(this.bottom,e.bottom),e=Math.max(this.left,e.left);return t<=i&&e<=n?new YAHOO.util.Region(t,n,i,e):null},YAHOO.util.Region.prototype.union=function(e){var t=Math.min(this.top,e.top),n=Math.max(this.right,e.right),i=Math.max(this.bottom,e.bottom),e=Math.min(this.left,e.left);return new YAHOO.util.Region(t,n,i,e)},YAHOO.util.Region.prototype.toString=function(){return"Region {top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+", height: "+this.height+", width: "+this.width+"}"},YAHOO.util.Region.getRegion=function(e){var t=YAHOO.util.Dom.getXY(e),n=t[1],i=t[0]+e.offsetWidth,e=t[1]+e.offsetHeight,t=t[0];return new YAHOO.util.Region(n,i,e,t)},YAHOO.util.Point=function(e,t){YAHOO.lang.isArray(e)&&(t=e[1],e=e[0]),YAHOO.util.Point.superclass.constructor.call(this,t,e,t,e)},YAHOO.extend(YAHOO.util.Point,YAHOO.util.Region),function(){var i=YAHOO.util,o="clientLeft",s="borderLeftWidth",r="borderTopWidth",a="borderRightWidth",l="borderBottomWidth",c="style",u="currentStyle",d=/^width|height$/,h=/^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz|%){1}?/i,e={get:function(e,t){var n=e[u][t];return"opacity"===t?i.Dom.getStyle(e,"opacity"):!n||n.indexOf&&-1<n.indexOf("px")?n:i.Dom.IE_COMPUTED[t]?i.Dom.IE_COMPUTED[t](e,t):h.test(n)?i.Dom.IE.ComputedStyle.getPixel(e,t):n},getOffset:function(e,t){var n,i=e[u][t],o=t.charAt(0).toUpperCase()+t.substr(1),s="offset"+o,o="pixel"+o,r="";return"auto"==i?(void 0===(n=e[s])&&(r=0),r=n,d.test(t)&&(e[c][t]=n,e[s]>n&&(r=n-(e[s]-n)),e[c][t]="auto")):(e[c][o]||e[c][t]||(e[c][t]=i),r=e[c][o]),r+"px"},getBorderWidth:function(e,t){var n=null;switch(e[u].hasLayout||(e[c].zoom=1),t){case r:n=e.clientTop;break;case l:n=e.offsetHeight-e.clientHeight-e.clientTop;break;case s:n=e[o];break;case a:n=e.offsetWidth-e.clientWidth-e[o]}return n+"px"},getPixel:function(e,t){var n=e[u].right,t=e[u][t];return e[c].right=t,t=e[c].pixelRight,e[c].right=n,t+"px"},getMargin:function(e,t){e="auto"==e[u][t]?"0px":i.Dom.IE.ComputedStyle.getPixel(e,t);return e},getVisibility:function(e,t){for(var n;(n=e[u])&&"inherit"==n[t];)e=e.parentNode;return n?n[t]:"visible"},getColor:function(e,t){return i.Dom.Color.toRGB(e[u][t])||"transparent"},getBorderColor:function(e,t){e=e[u],t=e[t]||e.color;return i.Dom.Color.toRGB(i.Dom.Color.toHex(t))}},t={};t.top=t.right=t.bottom=t.left=t.width=t.height=e.getOffset,t.color=e.getColor,t[r]=t[a]=t[l]=t[s]=e.getBorderWidth,t.marginTop=t.marginRight=t.marginBottom=t.marginLeft=e.getMargin,t.visibility=e.getVisibility,t.borderColor=t.borderTopColor=t.borderRightColor=t.borderBottomColor=t.borderLeftColor=e.getBorderColor,i.Dom.IE_COMPUTED=t,i.Dom.IE_ComputedStyle=e}(),function(){var o="toString",t=parseInt,s=RegExp,r=YAHOO.util;r.Dom.Color={KEYWORDS:{black:"000",silver:"c0c0c0",gray:"808080",white:"fff",maroon:"800000",red:"f00",purple:"800080",fuchsia:"f0f",green:"008000",lime:"0f0",olive:"808000",yellow:"ff0",navy:"000080",blue:"00f",teal:"008080",aqua:"0ff"},re_RGB:/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,re_hex:/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,re_hex3:/([0-9A-F])/gi,toRGB:function(e){return r.Dom.Color.re_RGB.test(e)||(e=r.Dom.Color.toHex(e)),e=r.Dom.Color.re_hex.exec(e)?"rgb("+[t(s.$1,16),t(s.$2,16),t(s.$3,16)].join(", ")+")":e},toHex:function(e){var t,n,i;return e=r.Dom.Color.KEYWORDS[e]||e,r.Dom.Color.re_RGB.exec(e)&&(t=1===s.$1.length?"0"+s.$1:Number(s.$1),n=1===s.$2.length?"0"+s.$2:Number(s.$2),i=1===s.$3.length?"0"+s.$3:Number(s.$3),e=[t[o](16),n[o](16),i[o](16)].join("")),(e="transparent"!==(e=e.length<6?e.replace(r.Dom.Color.re_hex3,"$1$1"):e)&&e.indexOf("#")<0?"#"+e:e).toLowerCase()}}}(),YAHOO.register("dom",YAHOO.util.Dom,{version:"2.7.0",build:"1799"}),YAHOO.util.CustomEvent=function(e,t,n,i){this.type=e,this.scope=t||window,this.silent=n,this.signature=i||YAHOO.util.CustomEvent.LIST,this.subscribers=[],this.silent;t="_YUICEOnSubscribe";
1e!==t&&(this.subscribeEvent=new YAHOO.util.CustomEvent(t,this,!0)),this.lastError=null},YAHOO.util.CustomEvent.LIST=0,YAHOO.util.CustomEvent.FLAT=1,YAHOO.util.CustomEvent.prototype={subscribe:function(e,t,n){if(!e)throw new Error("Invalid callback for subscriber to '"+this.type+"'");this.subscribeEvent&&this.subscribeEvent.fire(e,t,n),this.subscribers.push(new YAHOO.util.Subscriber(e,t,n))},unsubscribe:function(e,t){if(!e)return this.unsubscribeAll();for(var n=!1,i=0,o=this.subscribers.length;i<o;++i){var s=this.subscribers[i];s&&s.contains(e,t)&&(this._delete(i),n=!0)}return n},fire:function(){this.lastError=null;var e=this.subscribers.length;if(!e&&this.silent)return!0;for(var t=[].slice.call(arguments,0),n=!0,i=(this.silent,this.subscribers.slice()),o=YAHOO.util.Event.throwErrors,s=0;s<e;++s){var r=i[s];if(r){this.silent;var a=r.getScope(this.scope);if(this.signature==YAHOO.util.CustomEvent.FLAT){var l=null;0<t.length&&(l=t[0]);try{n=r.fn.call(a,l,r.obj)}catch(e){if(this.lastError=e,o)throw e}}else try{n=r.fn.call(a,this.type,t,r.obj)}catch(e){if(this.lastError=e,o)throw e}if(!1===n){this.silent;break}}}return!1!==n},unsubscribeAll:function(){for(var e=this.subscribers.length,t=e-1;-1<t;t--)this._delete(t);return this.subscribers=[],e},_delete:function(e){var t=this.subscribers[e];t&&(delete t.fn,delete t.obj),this.subscribers.splice(e,1)},toString:function(){return"CustomEvent: '"+this.type+"', context: "+this.scope}},YAHOO.util.Subscriber=function(e,t,n){this.fn=e,this.obj=YAHOO.lang.isUndefined(t)?null:t,this.overrideContext=n},YAHOO.util.Subscriber.prototype.getScope=function(e){return this.overrideContext?!0===this.overrideContext?this.obj:this.overrideContext:e},YAHOO.util.Subscriber.prototype.contains=function(e,t){return t?this.fn==e&&this.obj==t:this.fn==e},YAHOO.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+this.obj+", overrideContext: "+(this.overrideContext||"no")+" }"},YAHOO.util.Event||(YAHOO.util.Event=function(){var l=!1,p=[],f=[],m=[],g=[],c=0,u=[],v=[],n=0,t={63232:38,63233:40,63234:37,63235:39,63276:33,63277:34,25:9},o=YAHOO.env.ua.ie?"focusin":"focus",s=YAHOO.env.ua.ie?"focusout":"blur";return{POLL_RETRYS:2e3,POLL_INTERVAL:20,EL:0,TYPE:1,FN:2,WFN:3,UNLOAD_OBJ:3,ADJ_SCOPE:4,OBJ:5,OVERRIDE:6,lastError:null,isSafari:YAHOO.env.ua.webkit,webkit:YAHOO.env.ua.webkit,isIE:YAHOO.env.ua.ie,_interval:null,_dri:null,DOMReady:!1,throwErrors:!1,startInterval:function(){var e;this._interval||((e=this)._interval=setInterval(function(){e._tryPreloadAttach()},this.POLL_INTERVAL))},onAvailable:function(e,t,n,i,o){for(var s=YAHOO.lang.isString(e)?[e]:e,r=0;r<s.length;r+=1)u.push({id:s[r],fn:t,obj:n,overrideContext:i,checkReady:o});c=this.POLL_RETRYS,this.startInterval()},onContentReady:function(e,t,n,i){this.onAvailable(e,t,n,i,!0)},onDOMReady:function(t,n,i){this.DOMReady?setTimeout(function(){var e=window;t.call(e=i?!0===i?n:i:e,"DOMReady",[],n)},0):this.DOMReadyEvent.subscribe(t,n,i)},_addListener:function(t,n,i,o,e,s){if(!i||!i.call)return!1;if(this._isValidCollection(t)){for(var r=!0,a=0,l=t.length;a<l;++a)r=this.on(t[a],n,i,o,e)&&r;return r}if(YAHOO.lang.isString(t)){var c=this.getEl(t);if(!c)return this.onAvailable(t,function(){YAHOO.util.Event.on(t,n,i,o,e)}),!0;t=c}if(!t)return!1;if("unload"==n&&o!==this)f[f.length]=[t,n,i,o,e];else{function u(e){return i.call(d,YAHOO.util.Event.getEvent(e,t),o)}var d=t,c=[t,n,i,u,d=e?!0===e?o:e:d,o,e];if(p[p.length]=c,this.useLegacyEvent(t,n)){var h=this.getLegacyIndex(t,n);-1!=h&&t==m[h][0]||(h=m.length,v[t.id+n]=h,m[h]=[t,n,t["on"+n]],g[h]=[],t["on"+n]=function(e){YAHOO.util.Event.fireLegacyEvent(YAHOO.util.Event.getEvent(e),h)}),g[h].push(c)}else try{this._simpleAdd(t,n,u,s)}catch(e){return this.lastError=e,this.removeListener(t,n,i),!1}}return!0},addListener:function(e,t,n,i,o){return this._addListener(e,t,n,i,o,!1)},addFocusListener:function(e,t,n,i){return this._addListener(e,o,t,n,i,!0)},removeFocusListener:function(e,t){return this.removeListener(e,o,t)},addBlurListener:function(e,t,n,i){return this._addListener(e,s,t,n,i,!0)},removeBlurListener:function(e,t){return this.removeListener(e,s,t)},fireLegacyEvent:function(e,t){for(var n,i,o=!0,s=g[t].slice(),r=0,a=s.length;r<a;++r)(i=s[r])&&i[this.WFN]&&(n=i[this.ADJ_SCOPE],i=i[this.WFN].call(n,e),o=o&&i);return(t=m[t])&&t[2]&&t[2](e),o},getLegacyIndex:function(e,t){e=this.generateId(e)+t;return void 0===v[e]?-1:v[e]},useLegacyEvent:function(e,t){return this.webkit&&this.webkit<419&&("click"==t||"dblclick"==t)},removeListener:function(e,t,n){var i,o;if("string"==typeof e)e=this.getEl(e);else if(this._isValidCollection(e)){for(var s=!0,r=e.length-1;-1<r;r--)s=this.removeListener(e[r],t,n)&&s;return s}if(!n||!n.call)return this.purgeElement(e,!1,t);if("unload"==t){for(r=f.length-1;-1<r;r--)if((o=f[r])&&o[0]==e&&o[1]==t&&o[2]==n)return f.splice(r,1),!0;return!1}var a=null,l=arguments[3];if(0<=(l=void 0===l?this._getCacheIndex(e,t,n):l)&&(a=p[l]),!e||!a)return!1;if(this.useLegacyEvent(e,t)){var c=this.getLegacyIndex(e,t),u=g[c];if(u)for(r=0,i=u.length;r<i;++r)if((o=u[r])&&o[this.EL]==e&&o[this.TYPE]==t&&o[this.FN]==n){u.splice(r,1);break}}else try{this._simpleRemove(e,t,a[this.WFN],!1)}catch(e){return this.lastError=e,!1}return delete p[l][this.WFN],delete p[l][this.FN],p.splice(l,1),!0},getTarget:function(e,t){e=e.target||e.srcElement;return this.resolveTextNode(e)},resolveTextNode:function(e){try{if(e&&3==e.nodeType)return e.parentNode}catch(e){}return e},getPageX:function(e){var t=e.pageX;return t||0===t||(t=e.clientX||0,this.isIE&&(t+=this._getScrollLeft())),t},getPageY:function(e){var t=e.pageY;return t||0===t||(t=e.clientY||0,this.isIE&&(t+=this._getScrollTop())),t}
1,getXY:function(e){return[this.getPageX(e),this.getPageY(e)]},getRelatedTarget:function(e){var t=e.relatedTarget;return t||("mouseout"==e.type?t=e.toElement:"mouseover"==e.type&&(t=e.fromElement)),this.resolveTextNode(t)},getTime:function(e){if(!e.time){var t=(new Date).getTime();try{e.time=t}catch(e){return this.lastError=e,t}}return e.time},stopEvent:function(e){this.stopPropagation(e),this.preventDefault(e)},stopPropagation:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},preventDefault:function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},getEvent:function(e,t){var n=e||window.event;if(!n)for(var i=this.getEvent.caller;i&&(!(n=i.arguments[0])||Event!=n.constructor);)i=i.caller;return n},getCharCode:function(e){e=e.keyCode||e.charCode||0;return e=YAHOO.env.ua.webkit&&e in t?t[e]:e},_getCacheIndex:function(e,t,n){for(var i=0,o=p.length;i<o;i+=1){var s=p[i];if(s&&s[this.FN]==n&&s[this.EL]==e&&s[this.TYPE]==t)return i}return-1},generateId:function(e){var t=e.id;return t||(t="yuievtautoid-"+n,++n,e.id=t),t},_isValidCollection:function(e){try{return e&&"string"!=typeof e&&e.length&&!e.tagName&&!e.alert&&void 0!==e[0]}catch(e){return!1}},elCache:{},getEl:function(e){return"string"==typeof e?document.getElementById(e):e},clearCache:function(){},DOMReadyEvent:new YAHOO.util.CustomEvent("DOMReady",this),_load:function(e){var t;l||(l=!0,(t=YAHOO.util.Event)._ready(),t._tryPreloadAttach())},_ready:function(e){var t=YAHOO.util.Event;t.DOMReady||(t.DOMReady=!0,t.DOMReadyEvent.fire(),t._simpleRemove(document,"DOMContentLoaded",t._ready))},_tryPreloadAttach:function(){if(0===u.length)c=0,this._interval&&(clearInterval(this._interval),this._interval=null);else if(!this.locked)if(this.isIE&&!this.DOMReady)this.startInterval();else{this.locked=!0;function e(e,t){t.overrideContext&&(e=!0===t.overrideContext?t.obj:t.overrideContext),t.fn.call(e,t.obj)}for(var t,n,i=(i=!l)||0<c&&0<u.length,o=[],s=[],r=0,a=u.length;r<a;r+=1)(t=u[r])&&((n=this.getEl(t.id))?t.checkReady?!l&&!n.nextSibling&&i||(s.push(t),u[r]=null):(e(n,t),u[r]=null):o.push(t));for(r=0,a=s.length;r<a;r+=1)e(this.getEl((t=s[r]).id),t);if(c--,i){for(r=u.length-1;-1<r;r--)(t=u[r])&&t.id||u.splice(r,1);this.startInterval()}else this._interval&&(clearInterval(this._interval),this._interval=null);this.locked=!1}},purgeElement:function(e,t,n){var i,o,s=YAHOO.lang.isString(e)?this.getEl(e):e,r=this.getListeners(s,n);if(r)for(i=r.length-1;-1<i;i--){var a=r[i];this.removeListener(s,a.type,a.fn)}if(t&&s&&s.childNodes)for(i=0,o=s.childNodes.length;i<o;++i)this.purgeElement(s.childNodes[i],t,n)},getListeners:function(e,t){for(var n=[],i=t?"unload"===t?[f]:[p]:[p,f],o=YAHOO.lang.isString(e)?this.getEl(e):e,s=0;s<i.length;s+=1){var r=i[s];if(r)for(var a=0,l=r.length;a<l;++a){var c=r[a];!c||c[this.EL]!==o||t&&t!==c[this.TYPE]||n.push({type:c[this.TYPE],fn:c[this.FN],obj:c[this.OBJ],adjust:c[this.OVERRIDE],scope:c[this.ADJ_SCOPE],index:a})}}return n.length?n:null},_unload:function(e){for(var t,n,i,o=YAHOO.util.Event,s=f.slice(),r=0,a=f.length;r<a;++r)(n=s[r])&&(i=window,n[o.ADJ_SCOPE]&&(i=!0===n[o.ADJ_SCOPE]?n[o.UNLOAD_OBJ]:n[o.ADJ_SCOPE]),n[o.FN].call(i,o.getEvent(e,n[o.EL]),n[o.UNLOAD_OBJ]),s[r]=null);if(f=i=n=null,p){for(t=p.length-1;-1<t;t--)(n=p[t])&&o.removeListener(n[o.EL],n[o.TYPE],n[o.FN],t);n=null}m=null,o._simpleRemove(window,"unload",o._unload)},_getScrollLeft:function(){return this._getScroll()[1]},_getScrollTop:function(){return this._getScroll()[0]},_getScroll:function(){var e=document.documentElement,t=document.body;return e&&(e.scrollTop||e.scrollLeft)?[e.scrollTop,e.scrollLeft]:t?[t.scrollTop,t.scrollLeft]:[0,0]},regCE:function(){},_simpleAdd:window.addEventListener?function(e,t,n,i){e.addEventListener(t,n,i)}:window.attachEvent?function(e,t,n,i){e.attachEvent("on"+t,n)}:function(){},_simpleRemove:window.removeEventListener?function(e,t,n,i){e.removeEventListener(t,n,i)}:window.detachEvent?function(e,t,n){e.detachEvent("on"+t,n)}:function(){}}}(),function(){var e,t=YAHOO.util.Event;t.on=t.addListener,t.onFocus=t.addFocusListener,t.onBlur=t.addBlurListener,t.isIE?self!==self.top?document.onreadystatechange=function(){"complete"==document.readyState&&(document.onreadystatechange=null,t._ready())}:(YAHOO.util.Event.onDOMReady(YAHOO.util.Event._tryPreloadAttach,YAHOO.util.Event,!0),e=document.createElement("p"),t._dri=setInterval(function(){try{e.doScroll("left"),clearInterval(t._dri),t._dri=null,t._ready(),e=null}catch(e){}},t.POLL_INTERVAL)):t.webkit&&t.webkit<525?t._dri=setInterval(function(){var e=document.readyState;"loaded"!=e&&"complete"!=e||(clearInterval(t._dri),t._dri=null,t._ready())},t.POLL_INTERVAL):t._simpleAdd(document,"DOMContentLoaded",t._ready),t._simpleAdd(window,"load",t._load),t._simpleAdd(window,"unload",t._unload),t._tryPreloadAttach()}()),YAHOO.util.EventProvider=function(){},YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,
1subscribe:function(e,t,n,i){this.__yui_events=this.__yui_events||{};var o=this.__yui_events[e];o?o.subscribe(t,n,i):(this.__yui_subscribers=this.__yui_subscribers||{},(o=this.__yui_subscribers)[e]||(o[e]=[]),o[e].push({fn:t,obj:n,overrideContext:i}))},unsubscribe:function(e,t,n){this.__yui_events=this.__yui_events||{};var i=this.__yui_events;if(e)return!!(e=i[e])&&e.unsubscribe(t,n);var o,s=!0;for(o in i)YAHOO.lang.hasOwnProperty(i,o)&&(s=s&&i[o].unsubscribe(t,n));return s},unsubscribeAll:function(e){return this.unsubscribe(e)},createEvent:function(e,t){this.__yui_events=this.__yui_events||{};var t=t||{},n=this.__yui_events;if(!n[e]){var i=t.scope||this,o=t.silent,s=new YAHOO.util.CustomEvent(e,i,o,YAHOO.util.CustomEvent.FLAT),r=(n[e]=s,t.onSubscribeCallback&&s.subscribeEvent.subscribe(t.onSubscribeCallback),this.__yui_subscribers=this.__yui_subscribers||{},this.__yui_subscribers[e]);if(r)for(var a=0;a<r.length;++a)s.subscribe(r[a].fn,r[a].obj,r[a].overrideContext)}return n[e]},fireEvent:function(e,t,n,i){this.__yui_events=this.__yui_events||{};var o=this.__yui_events[e];if(!o)return null;for(var s=[],r=1;r<arguments.length;++r)s.push(arguments[r]);return o.fire.apply(o,s)},hasEvent:function(e){return!(!this.__yui_events||!this.__yui_events[e])}},function(){var a=YAHOO.util.Event,o=YAHOO.lang,e=(YAHOO.util.KeyListener=function(e,s,t,n){n=n||YAHOO.util.KeyListener.KEYDOWN;var r=new YAHOO.util.CustomEvent("keyPressed");function i(e,t){if(s.shift||(s.shift=!1),s.alt||(s.alt=!1),s.ctrl||(s.ctrl=!1),e.shiftKey==s.shift&&e.altKey==s.alt&&e.ctrlKey==s.ctrl){var n,i=s.keys;if(YAHOO.lang.isArray(i)){for(var o=0;o<i.length;o++)if(i[o]==(n=a.getCharCode(e))){r.fire(n,e);break}}else i==(n=a.getCharCode(e))&&r.fire(n,e)}}this.enabledEvent=new YAHOO.util.CustomEvent("enabled"),this.disabledEvent=new YAHOO.util.CustomEvent("disabled"),o.isString(e)&&(e=document.getElementById(e)),o.isFunction(t)?r.subscribe(t):r.subscribe(t.fn,t.scope,t.correctScope),this.enable=function(){this.enabled||(a.on(e,n,i),this.enabledEvent.fire(s)),this.enabled=!0},this.disable=function(){this.enabled&&(a.removeListener(e,n,i),this.disabledEvent.fire(s)),this.enabled=!1},this.toString=function(){return"KeyListener ["+s.keys+"] "+e.tagName+(e.id?"["+e.id+"]":"")}},YAHOO.util.KeyListener);e.KEYDOWN="keydown",e.KEYUP="keyup",e.KEY={ALT:18,BACK_SPACE:8,CAPS_LOCK:20,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,META:224,NUM_LOCK:144,PAGE_DOWN:34,PAGE_UP:33,PAUSE:19,PRINTSCREEN:44,RIGHT:39,SCROLL_LOCK:145,SHIFT:16,SPACE:32,TAB:9,UP:38}}(),YAHOO.register("event",YAHOO.util.Event,{version:"2.7.0",build:"1799"}),YAHOO.register("yahoo-dom-event",YAHOO,{version:"2.7.0",build:"1799"}),YAHOO.util.Get=function(){function i(e,t,n){var i,o=(n||window).document.createElement(e);for(i in t)t[i]&&YAHOO.lang.hasOwnProperty(t,i)&&o.setAttribute(i,t[i]);return o}function n(e,t,n){var i="q"+r++;if(n=n||{},r%YAHOO.util.Get.PURGE_THRESH==0&&!a){for(var o in a=!0,c){var s=c[o];s.autopurge&&s.finished&&(y(s.tId),delete c[o])}a=!1}return c[i]=d.merge(n,{tId:i,type:e,url:t,finished:!1,aborted:!1,nodes:[]}),(n=c[i]).win=n.win||window,n.scope=n.scope||n.win,n.autopurge="autopurge"in n?n.autopurge:"script"===e,d.later(0,n,v,i),{tId:i}}var c={},r=0,o=0,a=!1,u=YAHOO.env.ua,d=YAHOO.lang,l=function(e,t,n){return i("link",{id:"yui__dyn_"+o++,type:"text/css",charset:n||"utf-8",rel:"stylesheet",href:e},t)},h=function(e,t,n){return i("script",{id:"yui__dyn_"+o++,type:"text/javascript",charset:n||"utf-8",src:e},t)},s=function(e,t){return{tId:e.tId,win:e.win,data:e.data,nodes:e.nodes,msg:t,purge:function(){y(this.tId)}}},p=function(e,t){var n=c[t],n=d.isString(e)?n.win.document.getElementById(e):e;return n||f(t,"target node not found: "+e),n},f=function(e,t){var n,e=c[e];e.onFailure&&(n=e.scope||e.win,e.onFailure.call(n,s(e,t)))},m=function(e){var t=c[e];t.finished=!0,t.aborted?f(e,"transaction "+e+" was aborted"):t.onSuccess&&(e=t.scope||t.win,t.onSuccess.call(e,s(t)))},g=function(e){var t,e=c[e];e.onTimeout&&(t=e.scope||e,e.onTimeout.call(t,s(e)))},v=function(e,t){var n=c[e];if(n.timer&&n.timer.cancel(),n.aborted)f(e,"transaction "+e+" was aborted");else{t?(n.url.shift(),n.varName&&n.varName.shift()):(n.url=d.isString(n.url)?[n.url]:n.url,n.varName&&(n.varName=d.isString(n.varName)?[n.varName]:n.varName));var i,t=n.win,o=t.document.getElementsByTagName("head")[0];
1if(0===n.url.length)"script"===n.type&&u.webkit&&u.webkit<420&&!n.finalpass&&!n.varName?((s=h(null,n.win,n.charset)).innerHTML='YAHOO.util.Get._finalize("'+e+'");',n.nodes.push(s),o.appendChild(s)):m(e);else{var s=n.url[0];if(!s)return n.url.shift(),v(e);n.timeout&&(n.timer=d.later(n.timeout,n,g,e)),i=("script"===n.type?h:l)(s,t,n.charset),b(n.type,i,e,s,t,n.url.length),n.nodes.push(i),n.insertBefore?(t=p(n.insertBefore,e))&&t.parentNode.insertBefore(i,t):o.appendChild(i),(u.webkit||u.gecko)&&"css"===n.type&&v(e,s)}}},y=function(e){var t=c[e];if(t){var n=t.nodes,i=n.length,o=t.win.document.getElementsByTagName("head")[0];t.insertBefore&&(e=p(t.insertBefore,e))&&(o=e.parentNode);for(var s=0;s<i;s+=1)o.removeChild(n[s]);t.nodes=[]}},b=function(e,t,s,r,n,i,o){var a,l=o||v;u.ie?t.onreadystatechange=function(){var e=this.readyState;"loaded"!==e&&"complete"!==e||(t.onreadystatechange=null,l(s,r))}:u.webkit?"script"===e&&(420<=u.webkit?t.addEventListener("load",function(){l(s,r)}):(a=c[s]).varName?(o=YAHOO.util.Get.POLL_FREQ,a.maxattempts=YAHOO.util.Get.TIMEOUT/o,a.attempts=0,a._cache=a.varName[0].split("."),a.timer=d.later(o,a,function(e){for(var t=this._cache,n=t.length,i=this.win,o=0;o<n;o+=1)if(!(i=i[t[o]]))return this.attempts++,void(this.attempts++>this.maxattempts&&(a.timer.cancel(),f(s,"Over retry limit, giving up")));a.timer.cancel(),l(s,r)},null,!0)):d.later(YAHOO.util.Get.POLL_FREQ,null,l,[s,r])):t.onload=function(){l(s,r)}};return{POLL_FREQ:10,PURGE_THRESH:20,TIMEOUT:2e3,_finalize:function(e){d.later(0,null,m,e)},abort:function(e){e=d.isString(e)?e:e.tId,e=c[e];e&&(e.aborted=!0)},script:function(e,t){return n("script",e,t)},css:function(e,t){return n("css",e,t)}}}(),YAHOO.register("get",YAHOO.util.Get,{version:"2.7.0",build:"1799"}),YAHOO.lang.JSON=function(){var l=YAHOO.lang,_UNICODE_EXCEPTIONS=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_ESCAPES=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,_VALUES=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,_BRACKETS=/(?:^|:|,)(?:\s*\[)+/g,_INVALID=/^[\],:{}\s]*$/,_SPECIAL_CHARS=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_CHARS={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function _revive(e,s){function r(e,t){var n,i,o=e[t];if(o&&"object"==typeof o)for(n in o)l.hasOwnProperty(o,n)&&(void 0===(i=r(o,n))?delete o[n]:o[n]=i);return s.call(e,t,o)}return"function"==typeof s?r({"":e},""):e}function _char(e){return _CHARS[e]||(_CHARS[e]="\\u"+("0000"+(+e.charCodeAt(0)).toString(16)).slice(-4)),_CHARS[e]}function _prepare(e){return e.replace(_UNICODE_EXCEPTIONS,_char)}function _isValid(e){return l.isString(e)&&_INVALID.test(e.replace(_ESCAPES,"@").replace(_VALUES,"]").replace(_BRACKETS,""))}function _string(e){return'"'+e.replace(_SPECIAL_CHARS,_char)+'"'}function _stringify(e,t,n,i,o){var s,r,a,c,u,d,h,p="function"==typeof i?i.call(e,t,e[t]):e[t];switch(p instanceof Date?p=l.JSON.dateToString(p):(p instanceof String||p instanceof Boolean||p instanceof Number)&&(p=p.valueOf()),typeof p){case"string":return _string(p);case"number":return isFinite(p)?String(p):"null";case"boolean":return String(p);case"object":if(null===p)return"null";for(s=o.length-1;0<=s;--s)if(o[s]===p)return"null";if(o[o.length]=p,h=[],d=l.isArray(p),0<n)if(d)for(s=p.length-1;0<=s;--s)h[s]=_stringify(p,s,n-1,i,o)||"null";else{if(a=0,l.isArray(i))for(s=0,r=i.length;s<r;++s)(u=_stringify(p,c=i[s],n-1,i,o))&&(h[a++]=_string(c)+":"+u);else for(c in p)"string"==typeof c&&l.hasOwnProperty(p,c)&&(u=_stringify(p,c,n-1,i,o))&&(h[a++]=_string(c)+":"+u);h.sort()}return o.pop(),d?"["+h.join(",")+"]":"{"+h.join(",")+"}"}}return{isValid:function(e){return _isValid(_prepare(e))},parse:function(s,reviver){if(s=_prepare(s),_isValid(s))return _revive(eval("("+s+")"),reviver);throw new SyntaxError("parseJSON")},stringify:function(e,t,n){if(void 0!==e)return _stringify({"":e},"",n=0<=n?n:1/0,t=l.isArray(t)?function(e){for(var t,n=[],i={},o=0,s=0,r=e.length;o<r;++o)"string"==typeof(t=e[o])&&void 0===i[t]&&(n[i[t]=s++]=t);return n}(t):t,[])},dateToString:function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"Z"},stringToDate:function(e){var t;return/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})Z$/.test(e)?((t=new Date).setUTCFullYear(RegExp.$1,(0|RegExp.$2)-1,RegExp.$3),t.setUTCHours(RegExp.$4,RegExp.$5,RegExp.$6),t):e}}}(),YAHOO.register("json",YAHOO.lang.JSON,{version:"2.7.0",build:"1799"}),YAHOO}(),_rnq=_rnq||[],RightNow;void 0!==RightNow&&RightNow||(RightNow={}),void 0!==RightNow.Client&&RightNow.Client||(RightNow.Client={}),void 0!==RightNow.Client.Config&&RightNow.Client.Config||(RightNow.Client.Config={}),void 0!==RightNow.Client.Event&&RightNow.Client.Event||(RightNow.Client.Event={}),void 0!==RightNow.Client.Const&&RightNow.Client.Const||(RightNow.Client.Const={INTERNAL_TRADITIONAL:1,INTERNAL_REST:2,EXTERNAL_TRADITIONAL:3,EXTERNAL_REST:4}),void 0!==RightNow.Client.preprocessors&&RightNow.Client.preprocessors||(RightNow.Client.preprocessors=[]),void 0===RightNow.Client.EventObject&&(RightNow.Client.EventObject=function(e,t){this.name=e,this.id=t,this.data={}}),void 0!==RightNow.Client.Event.evt_dataRequest&&RightNow.Client.Event.evt_dataRequest||(RightNow.Client.Event.evt_dataRequest=new RightNow.util.CustomEvent("evt_dataRequest")),void 0!==RightNow.Client.Event.evt_widgetDefinitionResponse&&RightNow.Client.Event.evt_widgetDefinitionResponse||(RightNow.Client.Event.evt_widgetDefinitionResponse=new RightNow.util.CustomEvent("evt_widgetDefinitionResponse")),void 0!==RightNow.Client.Event.evt_beforeDataRequest&&RightNow.Client.Event.evt_beforeDataRequest||(RightNow.Client.Event.evt_beforeDataRequest=new RightNow.util.CustomEvent("evt_beforeDataRequest")),void 0!==RightNow.Client.Event.evt_widgetLoaded&&RightNow.Client.Event.evt_widgetLoaded||(RightNow.Client.Event.evt_widgetLoaded=new RightNow.util.CustomEvent("evt_widgetLoaded")),void 0!==RightNow.Client.Controller&&RightNow.Client.Controller&&void 0!==RightNow.Client.Controller.init||(RightNow.Client.Controller=function(){var c=[],r=function(e,t,n,i){RightNow.util.Get.script(e,{onSuccess:n,onFailure:i,scope:this,data:{event:t}})};function u(e,t,n,i){e=e.join(","),t=encodeURIComponent(RightNow.lang.JSON.stringify(t));r(i+"/w/"+e+"/co/"+t+n,null,function(e){},RightNow.Client.Event.evt_widgetDefinitionResponse.fire)}return{cssIncludes:new Array,serverError:function(e){RightNow.Client.Event.evt_widgetDefinitionResponse.fire(e)},addCss:function(e){"object"==typeof e&&e.length&&0<e.length&&-1===RightNow.Client.Controller.cssIncludes.indexOf(e.toString())&&
1(RightNow.Client.Controller.cssIncludes=RightNow.Client.Controller.cssIncludes.concat(e))},verifyDiv:function(e){var t;null==e||(t=document.getElementById(e))||((t=document.createElement("div")).id=e,document.getElementsByTagName("body")[0].appendChild(t))},init:function(){var e;document.getElementsByTagName("head")[0]||(e=document.createElement("head"),document.getElementsByTagName("body")[0].appendChild(e)),RightNow.Client.Event.evt_dataRequest.subscribe(RightNow.Client.Controller.getData,RightNow.Client.Controller),RightNow.Client.Controller.startFetching()},startFetching:function(){for(var e in c)if(e&&"function"!=typeof c[e]){l=a=r=s=o=i=n=t=void 0;for(var t=e,n=c[e],i=[],o=0,s=[],r="https"===t.substring(0,5)||"//"===t.substring(0,2)&&"https"===window.location.protocol.substring(0,5)?"/https_request/1":"",a=(t+"/w//co/"+r).length,l=0;l<n.length;l++)8190<=o+encodeURIComponent(RightNow.lang.JSON.stringify(n[l])).length+a&&(u(i,s,r,t),s=[],i=[],o=0),o+=encodeURIComponent(RightNow.lang.JSON.stringify(n[l])).length,i.push(n[l].type),s.push(n[l]);0<s.length&&u(i,s,r,t),delete c[e]}},includeCSS:function(){if(RightNow.Client.Controller.cssIncludes&&0<RightNow.Client.Controller.cssIncludes.length)for(var e=0;e<RightNow.Client.Controller.cssIncludes.length;e++)RightNow.util.Get.css(RightNow.Client.Controller.cssIncludes[e])},getData:function(e,t,n){var i,o,s=t[0],t="rntJSON"+s.id;"undefined"!=s.uri&&!1!==RightNow.Client.Event.evt_beforeDataRequest.fire(s)&&(window[t]=function(e,t){"undefined"!=t&&null!=t&&(RightNow.Client.Controller.session=t),e.sessionID&&(t=["syndicatedWidget","interact"],s.name&&t.push(s.name),window._rnq.push({s:e.sessionID},t)),s.onComplete&&((t=new RightNow.Client.EventObject(s.name,s.id)).data=e,s.onComplete.fire(t,s))},s.data.kf=1,i=encodeURIComponent(RightNow.lang.JSON.stringify(s.data)),o=s.uri,s.dsType!=RightNow.Client.Const.EXTERNAL_TRADITIONAL&&s.dsType!=RightNow.Client.Const.EXTERNAL_REST&&RightNow.Client.Controller.session&&(o+=RightNow.Client.Controller.session),s.dsType==RightNow.Client.Const.EXTERNAL_TRADITIONAL||s.dsType==RightNow.Client.Const.EXTERNAL_REST?o+="&"+s.dsResponseField+"="+s.dsResponseValue+"&"+s.dsCallbackField+"="+t:o+="/data/"+i+"/callback/"+t,r(o,s,function(e){e.purge()},function(e){s.onError&&s.onError.fire(e)}))},addComponent:function(e,t){var n;window._rnq=window._rnq||[],window._rnq.push(["syndicatedWidget","impression",e.module]),e.preprocess&&(n=RightNow.Client.preprocessors[e.preprocess])&&n.process(e),e.additionalUrl&&(t+=e.additionalUrl),e.cancelRequest||(c[t]||(c[t]=[]),c[t].push(e)),"complete"!==document.readyState&&"interactive"!==document.readyState||RightNow.Client.Controller.startFetching()},post:function(e,t,n,i){t=encodeURIComponent(RightNow.lang.JSON.stringify(t));r(e+"/data/"+t,null,function(e){e.purge(),n&&(i?n.apply(i):n())},function(e){e.purge(),n&&(i?n.apply(i):n())})}}}(),"complete"===document.readyState||"interactive"===document.readyState?RightNow.Client.Controller.init():RightNow.util.Event.onDOMReady(RightNow.Client.Controller.init)),RightNow.Client.Event.evt_searchRequest=new RightNow.util.CustomEvent("evt_searchRequest"),RightNow.Client.Event.evt_searchResponse=new RightNow.util.CustomEvent("evt_searchResponse"),RightNow.Client.Event.evt_answerResponse=new RightNow.util.CustomEvent("evt_answerResponse"),RightNow.Client.Util={sanitizeHTML:function(e){var t=document.createElement("div");return t.appendChild(document.createTextNode(e)),t.innerHTML},getCookie:function(e){if(RightNow.util&&RightNow.util.cookie)return RightNow.util.Cookie.get(e);if(0<document.cookie.length){var t=document.cookie.indexOf(e+"=");if(-1!==t)return t+=e.length+1,-1===(e=document.cookie.indexOf(";",t))&&(e=document.cookie.length),unescape(document.cookie.substring(t,e))}return null},setCookie:function(e,t,n,i,o,s){i={path:i,domain:o,secure:s};return n&&((o=new Date).setDate(o.getDate()+n),i.expires=o),RightNow.util.Cookie.set(e,t,i)},removeCookie:function(e,t,n,i){return RightNow.util.Cookie.remove(e,{path:t,domain:n,secure:i})}},RightNow.Client.CT=function(e){var n=e,i=new Array;function o(e,t){i&&0<i.length&&RightNow.Client.Controller.post(n,i,e,t),i.length=0}return{DQA_CLICKSTREAM:1,DQA_SOLVED_COUNT:2,DQA_LINKS:3,DQA_ANS_STATS:4,DQA_STATS:5,DQA_KEYWORD_SEARCHES:8,DQA_WIDGET_STATS:9,DQA_POLLING_STATS:18,addClickAction:function(e,t){var n=new Object;n.type=e,n.action=t,i.push(n)},commitClickActions:function(){o()},submitClickAction:function(e,t,n,i){this.addClickAction(e,t),o(n,i)}}},RightNow.Client.PageScaper=function(){function o(e){if(void 0===e||null==e)return"";if(e&&3==e.nodeType)return RightNow.lang.trim(e.data.replace(/\s+/gi," "));for(var t=Array(),n=0;n<e.childNodes.length;n++){var i=e.childNodes[n];null!=i&&"STYLE"!=e.nodeName&&"SCRIPT"!=e.nodeName&&"NOSCRIPT"!=e.nodeName&&"IFRAME"!=e.nodeName&&t.push(o(i))}return t.join(" ")}function s(){var e,t=document.getElementsByTagName("meta"),n="";for(e in t)"description"!=t[e].name&&"keywords"!=t[e].name||(n+=" "+t[e].content);return n}function l(e){var t,n,i="";return e&&("meta"==e?i=s():"title"==e?document.title&&(i=document.title):"document"==e?(document.title&&(i=document.title),i=(i+=" "+s())+" "+(t=document.getElementsByTagName("h1"),n="",n=t&&0<t.length?o(t[0]):n)):(t=document.getElementById(e))&&(i=o(t)),i)?(i=i.replace(/\s+/gi," "),(n=new Object).text=i,n):null}return{process:function(e){if(null!=e.context){for(var t=e.payload_size,n=150,i=(void 0!==t&&(n=300<t?300:t),e.context),o=Array(),s=0;s<i.length;s++){var r=l(i[s]);r&&o.push(r)}for(var a="",s=0;s<o.length;s++)a+=" "+o[s].text;(a=RightNow.lang.trim(a)).length>n&&(t=" "==a.charAt(n),a=a.substring(0,n),t||(a=a.replace(/\w+$/,""))),null!=e.f
1ield&&e.field?e[e.field]=RightNow.lang.trim(a):e.q=RightNow.lang.trim(a),e.pageCharset=document.characterSet}return e}}}(),RightNow.Client.ActionCapture={record:function(e,t,n){e=[e,t],t=window._rnq;("undefined"!=typeof YAHOO&&void 0!==YAHOO.lang&&YAHOO.lang.isString(n)||void 0!==RightNow&&void 0!==RightNow.lang&&RightNow.lang.isString(n))&&e.push(n),t.push(e)},flush:function(e,t,n,i){var o,s;e?(n=Math.min(n||250,750),t=t||window,i=Array.prototype.slice.call(arguments,3),o=function(){e.apply(t,i)},s=setTimeout(o,n),window._rnq.push(function(){clearTimeout(s),o()})):window._rnq.push(function(){})},instrumentation:function(e,t,n,i,o){window._rnq.push([e,t,n,i,o])}},RightNow.Client.PollingProcess={process:function(e){var t;return e.modal&&e.frequency&&Math.floor(101*Math.random())>e.frequency?e.cancelRequest=!0:0<(t=parseInt(RightNow.Client.Util.getCookie(e.instance_id),10))?e.modal?e.cancelRequest=!0:(e.results_only=!0,e.question_id=t,e.additionalUrl="/freePollResults/"+t):e.additionalUrl="/poll/"+e.survey_id,e}},RightNow.Client.Text={sprintf:function(e){var i=1,o=arguments;return e.replace(/%[%sd]/g,function(e,t,n){if("%%"===e)return"%";if(o.length<=i)throw new Error("RightNow.Text.sprintf: Invalid arguments");return o[i++]})}},RightNow.Client.Text.Encoding=function(){var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_/.";return{base64Decode:function(e){for(var t=[],n=0;n<e.length;){var i=s.indexOf(e.charAt(n++)),o=s.indexOf(e.charAt(n++)),i=(t.push(String.fromCharCode(i<<2|o>>4)),s.indexOf(e.charAt(n++)));if(64===i)break;t.push(String.fromCharCode((15&o)<<4|i>>2));o=s.indexOf(e.charAt(n++));64!==o&&t.push(String.fromCharCode((3&i)<<6|o))}return this.utf8Decode(t.join(""))},base64Encode:function(e){e=this.utf8Encode(e);for(var t=[],n=0;n<e.length;){var i=e.charCodeAt(n++),o=(t.push(s.charAt(i>>2)),e.charCodeAt(n++));t.push(s.charAt((3&i)<<4|o>>4)),isNaN(o)?(t.push(s.charAt(64)),t.push(s.charAt(64))):(i=e.charCodeAt(n++),t.push(s.charAt((15&o)<<2|i>>6)),isNaN(i)?t.push(s.charAt(64)):t.push(s.charAt(63&i)))}return t.join("")},getAsciiPrefix:function(e){for(var t=0;t<e.length&&!(128<=e.charCodeAt(t));++t);return t>=e.length?e:e.substring(0,t)},utf8Decode:function(e){var t=this.getAsciiPrefix(e);if(t.length===e.length)return t;for(var n,i,o=[],s=t.length;s<e.length;++s){var r=e.charCodeAt(s);if(r<128)o.push(String.fromCharCode(r));else{if(r<192)throw new Error("I can't decode the character at index "+s+" of "+e+" because it's not a valid UTF8 sequence.");if(r<224){if(e.length<=++s)throw new Error("I can't decode the character at index "+s+" of "+e+" because it's not a valid UTF8 sequence.");n=e.charCodeAt(s),o.push(String.fromCharCode((31&r)<<6|63&n))}else{if(n=e.charCodeAt(++s),i=e.charCodeAt(++s),e.length<=s)throw new Error("I can't decode the character at index "+s+" of "+e+" because it's not a valid UTF8 sequence.");o.push(String.fromCharCode((15&r)<<12|(63&n)<<6|63&i))}}}return t+o.join("")},utf8Encode:function(e){var t=this.getAsciiPrefix(e);if(t.length===e.length)return t;for(var n=[],i=t.length;i<e.length;++i){var o=e.charCodeAt(i);o<128?n.push(e.charAt(i)):(o<2048?n.push(String.fromCharCode(o>>6|192)):(n.push(String.fromCharCode(o>>12|224)),n.push(String.fromCharCode(o>>6&63|128))),n.push(String.fromCharCode(63&o|128)))}return t+n.join("")},utf8Length:function(e){for(var t=0,n=0,i=e.length;n<i;n++)e.charCodeAt(n)<128?t+=1:e.charCodeAt(n)<2048?t+=2:t+=3;return t}}}(),RightNow.Client.preprocessors.pagescraper=RightNow.Client.PageScaper,RightNow.Client.preprocessors.polling=RightNow.Client.PollingProcess,!function(d){var h,p,r,C,k,S,A,o,f,E,n,m,T,e;function g(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function O(e,t,n){e.addEventListener(t,n,!1)}function U(e,t,n){e.removeEventListener(t,n,!1)}function i(e){return E[e]?E[e].log:p}function D(e,t){s("log",e,t,i(e))}function I(e,t){s("info",e,t,i(e))}function M(e,t){s("warn",e,t,!0)}function s(e,t,n,i){!0===i&&"object"==typeof window.console&&console[e](k+"["+(i="Host page: "+(e=i=t),window.top!==window.self?window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e:i)+"]",n)}function c(e){function t(){n("Height"),n("Width"),q(function(){$(y),N(b),c("onResized",y)},y,"init")}function n(e){var t=Number(E[b]["max"+e]),n=Number(E[b]["min"+e]),i=e.toLowerCase(),e=Number(y[i]);D(b,"Checking "+i+" is in range "+n+"-"+t),e<n&&(e=n,D(b,"Set "+i+" to min value")),t<e&&(e=t,D(b,"Set "+i+" to max value")),y[i]=""+e}function i(e){return v.substr(v.indexOf(":")+C+e)}function o(n,i){var e,t=function(){var e,t;F("Send Page Info","pageInfo:"+(e=document.body.getBoundingClientRect(),t=y.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),n,i)};T[e=i]||(T[e]=setTimeout(function(){T[e]=null,t()},32))}function s(e){return e=e.getBoundingClientRect(),R(b),{x:Math.floor(Number(e.left)+Number(A.x)),y:Math.floor(Number(e.top)+Number(A.y))}}function r(e){var t=e?s(y.iframe):{x:0,y:0},n={x:Number(y.width)+t.x,y:Number(y.height)+t.y};D(b,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):M(b,"Unable to scroll to requested position, window.parentIFrame not found"):(A=n,a(),D(b,"--"))}function a(){!1!==c("onScroll",A)?N(b):H()}function l(e){var t=0===Number(y.width)&&0===Number(y.height)?{x:(t=i(9).split(":"))[1],y:t[0]}:{x:y.width,y:y.height};c(e,{iframe:y.iframe,screenX:Number(t.x),screenY:Number(t.y),type:y.type})}function c(e,t){return P(b,e,t)}var u,d,h,p,f,m,g,v=e.data,y={},b=null;if("[iFrameResizerChild]Ready"===v)for(var _ in E)F("iFrame requested init",z(_),E[_].iframe,_);else if(k===(""+v).substr(0,S)&&v.substr(S).split(":")[0]in E){if(p=v.substr(S).split(":"),f=p[1]?parseInt(p[1],10):0,m=E[p[0]]&&E[p[0]].iframe,g=getComputedStyle(m),y={iframe:m,id:p[0],height:f+("border-box"!==(m=g).boxSizing?0:(m.paddingTop?parseInt(m.paddingTop,10):0)+(m.paddingBottom?parseInt(m.paddingBottom,10):0))+("border-box"!==(f=g).boxSizing?0:(f.borderTopWidth?parseInt(f.borderTopWidth,10):0)+(f.borderBottomWidth?parseInt(f.borderBottomWidth,10):0)),width:p[2],type:p[3]},b=y.id,E[b]&&(E[b].loaded=!0),(m=y.type in{true:1,false:1,undefined:1})&&D(b,"Ignoring init message from meta parent page"),!m&&(g=!0,E[f=b]||(g=!1,M(y.type+" No settings for "+f+". Message was: "+v)),g)&&(D(b,"Received: "+v),p=!0,null===y.iframe&&(M(b,"IFrame ("+y.id+") not found"),p=!1),p&&function(){var i=e.origin,o=E[b]&&E[b].checkOrigin;if(o&&""+i!="null"&&!function(){if(o.constructor!==Array)return e=E[b]&&E[b].remoteHost,D(b,"Checking connection is from: "+e),i===e;var e,t=0,n=!1;for(D(b,"Checking connection is from allowed list of origins: "+o);t<o.length;t++)if(o[t]===i){n=!0;break}return n}())throw new Error("Unexpected message received from: "+i+" for "+y.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return 1}())){switch(E[b]&&E[b].firstRun&&E[b]&&(E[b].firstRun=!1),y.type){case"close"
1:j(y.iframe);break;case"message":h=i(6),D(b,"onMessage passed: {iframe: "+y.iframe.id+", message: "+h+"}"),c("onMessage",{iframe:y.iframe,message:JSON.parse(h)}),D(b,"--");break;case"mouseenter":l("onMouseEnter");break;case"mouseleave":l("onMouseLeave");break;case"autoResize":E[b].autoResize=JSON.parse(i(9));break;case"scrollTo":r(!1);break;case"scrollToOffset":r(!0);break;case"pageInfo":o(E[b]&&E[b].iframe,b),d=b,w("Add ",O),E[d]&&(E[d].stopPageInfo=x);break;case"pageInfoStop":E[b]&&E[b].stopPageInfo&&(E[b].stopPageInfo(),delete E[b].stopPageInfo);break;case"inPageLink":h=i(9),u=h.split("#")[1]||"",h=decodeURIComponent(u),(h=document.getElementById(h)||document.getElementsByName(h)[0])?(h=s(h),D(b,"Moving to in page link (#"+u+") at x: "+h.x+" y: "+h.y),A={x:h.x,y:h.y},a(),D(b,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(u):D(b,"In page link #"+u+" not found and window.parentIFrame not found"):D(b,"In page link #"+u+" not found");break;case"reset":L(y);break;case"init":t(),c("onInit",y.iframe);break;default:0===Number(y.width)&&0===Number(y.height)?M("Unsupported message received ("+y.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):t()}function w(t,n){function i(){E[d]?o(E[d].iframe,d):x()}["scroll","resize"].forEach(function(e){D(d,t+e+" listener for sendPageInfo"),n(window,e,i)})}function x(){w("Remove ",U)}}}else I(b,"Ignored: "+v)}function P(e,t,n){var i=null,o=null;if(E[e]){if("function"!=typeof(i=E[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=i(n)}return o}function v(e){e=e.id,delete E[e]}function j(e){var t=e.id;if(!1!==P(t,"onClose",t)){D(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){M(e)}P(t,"onClosed",t),D(t,"--"),v(e)}else D(t,"Close iframe cancelled by onClose event")}function R(e){null===A&&D(e,"Get page position: "+(A={x:window.pageXOffset!==d?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==d?window.pageYOffset:document.documentElement.scrollTop}).x+","+A.y)}function N(e){null!==A&&(window.scrollTo(A.x,A.y),D(e,"Set page position: "+A.x+","+A.y),H())}function H(){A=null}function L(e){D(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),R(e.id),q(function(){$(e),F("reset","reset",e.iframe,e.id)},e,"reset")}function $(o){function e(e){var t;
1function n(){Object.keys(E).forEach(function(e){function t(e){return"0px"===(E[n]&&E[n].iframe.style[e])}var n;E[n=e]&&null!==E[n].iframe.offsetParent&&(t("height")||t("width"))&&F("Visibility change","resize",E[n].iframe,n)})}function i(e){D("window","Mutation observed: "+e[0].target+" "+e[0].type),l(n,16)}t=e,o.id?(o.iframe.style[t]=o[t]+"px",D(o.id,"IFrame ("+s+") "+t+" set to "+o[t]+"px")):D("undefined","messageData id not set"),t=e,!r&&"0"===o[t]&&(r=!0,D(s,"Hidden iFrame detected, creating visibility listener"),t=g())&&(e=document.querySelector("body"),new t(i).observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}var s=o.iframe.id;E[s]&&(E[s].sizeHeight&&e("height"),E[s].sizeWidth)&&e("width")}function q(e,t,n){n!==t.type&&o&&!window.jasmine?(D(t.id,"Requesting animation frame"),o(e)):e()}function F(e,t,n,i,o){var s,r=!1;i=i||n.id,E[i]&&(n&&"contentWindow"in n&&null!==n.contentWindow?(s=E[i]&&E[i].targetOrigin,D(i,"["+e+"] Sending msg to iframe["+i+"] ("+t+") targetOrigin: "+s),n.contentWindow.postMessage(k+t,s)):M(i,"["+e+"] IFrame("+i+") not found"),o)&&E[i]&&E[i].warningTimeout&&(E[i].msgTimeout=setTimeout(function(){!E[i]||E[i].loaded||r||(r=!0,M(i,"IFrame has not responded within "+E[i].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},E[i].warningTimeout))}function z(e){return e+":"+E[e].bodyMarginV1+":"+E[e].sizeWidth+":"+E[e].log+":"+E[e].interval+":"+E[e].enablePublicMethods+":"+E[e].autoResize+":"+E[e].bodyMargin+":"+E[e].heightCalculationMethod+":"+E[e].bodyBackground+":"+E[e].bodyPadding+":"+E[e].tolerance+":"+E[e].inPageLinks+":"+E[e].resizeFrom+":"+E[e].widthCalculationMethod+":"+E[e].mouseEvents}function a(n,e){function t(e){var t=e.split("Callback");2===t.length&&(this[t="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1)]=this[e],delete this[e],M(s,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version."))}""===(o=n.id)&&(n.id=(l=e&&e.id||m.id+h++,null!==document.getElementById(l)&&(l+=h++),o=l),p=(e||{}).log,D(o,"Added missing iframe ID: "+o+" ("+n.src+")"));var i,o,s=o;function r(e){var t=E[s][e];1/0!==t&&0!==t&&(n.style[e]="number"==typeof t?t+"px":t,D(s,"Set "+e+" = "+n.style[e]))}function a(e){if(E[s]["min"+e]>E[s]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}if(s in E&&"iFrameResizer"in n)M(s,"Ignored iFrame, already setup.");else{var l=e;if(l=l||{},E[s]={firstRun:!0,iframe:n,remoteHost:n.src&&n.src.split("/").slice(0,3).join("/")},"object"!=typeof l)throw new TypeError("Options is not an object");Object.keys(l).forEach(t,l);var c,u=l;for(c in m)Object.prototype.hasOwnProperty.call(m,c)&&(E[s][c]=(Object.prototype.hasOwnProperty.call(u,c)?u:m)[c]);switch(E[s]&&(E[s].targetOrigin=!0!==E[s].checkOrigin||""===(l=E[s].remoteHost)||null!==l.match(/^(about:blank|javascript:|file:\/\/)/)?"*":l),D(s,"IFrame scrolling "+(E[s]&&E[s].scrolling?"enabled":"disabled")+" for "+s),n.style.overflow=!1===(E[s]&&E[s].scrolling)?"hidden":"auto",E[s]&&E[s].scrolling){case"omit":break;case!0:n.scrolling="yes";break;case!1:n.scrolling="no";break;default:n.scrolling=E[s]?E[s].scrolling:"no"}a("Height"),a("Width"),r("maxHeight"),r("minHeight"),r("maxWidth"),r("minWidth"),"number"!=typeof(E[s]&&E[s].bodyMargin)&&"0"!==(E[s]&&E[s].bodyMargin)||(E[s].bodyMarginV1=E[s].bodyMargin,E[s].bodyMargin=E[s].bodyMargin+"px"),i=z(s),(o=g())&&(o=o,n.parentNode)&&new o(function(e){e.forEach(function(e){Array.prototype.slice.call(e.removedNodes).forEach(function(e){e===n&&j(n)})})}).observe(n.parentNode,{childList:!0}),O(n,"load",function(){var e,t;F("iFrame.onload",i,n,d,!0),e=E[s]&&E[s].firstRun,t=E[s]&&E[s].heightCalculationMethod in f,!e&&t&&L({iframe:n,height:0,width:0,type:"init"})}),F("init",i,n,d,!0),E[s]&&(E[s].iframe.iFrameResizer={close:j.bind(null,E[s].iframe),removeListeners:v.bind(null,E[s].iframe),resize:F.bind(null,"Window resize","resize",E[s].iframe),moveToAnchor:function(e){F("Move to anchor","moveToAnchor:"+e,E[s].iframe,s)},sendMessage:function(e){F("Send Message","message:"+(e=JSON.stringify(e)),E[s].iframe,s)}})}}function l(e,t){null===n&&(n=setTimeout(function(){n=null,e()},t))}
1function u(){"hidden"!==document.visibilityState&&(D("document","Trigger event: Visiblity change"),l(function(){y("Tab Visable","resize")},16))}function y(n,i){Object.keys(E).forEach(function(e){var t;E[t=e]&&"parent"===E[t].resizeFrom&&E[t].autoResize&&!E[t].firstRun&&F(n,i,E[e].iframe,e)})}function t(){function n(e,t){if(t){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">");a(t,e),i.push(t)}}for(var i,e=["moz","webkit","o","ms"],t=0;t<e.length&&!o;t+=1)o=window[e[t]+"RequestAnimationFrame"];return o?o=o.bind(window):D("setup","RequestAnimationFrame not supported"),O(window,"message",c),O(window,"resize",function(){D("window","Trigger event: "+"resize"),l(function(){y("Window resize","resize")},16)}),O(document,"visibilitychange",u),O(document,"-webkit-visibilitychange",u),function(e,t){switch(i=[],e&&e.enablePublicMethods&&M("enablePublicMethods option has been removed, public methods are now always available in the iFrame"),typeof t){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(t||"iframe"),n.bind(d,e));break;case"object":n(e,t);break;default:throw new TypeError("Unexpected data type ("+typeof t+")")}return i}}"undefined"!=typeof window&&(C="message".length,S=(k="[iFrameSizer]").length,o=window.requestAnimationFrame,m={autoResize:!(n=A=null),bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!(r=p=!1),inPageLinks:!(E={}),enablePublicMethods:!(h=0),heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!(f={max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){M("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},T={},window.jQuery&&((e=window.jQuery).fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(n){return this.filter("iframe").each(function(e,t){a(t,n)}).end()}):I("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof define&&define.amd?define([],t):"object"==typeof module&&"object"==typeof module.exports&&(module.exports=t()),window.iFrameResize=window.iFrameResize||t())}(),!function(o){"use strict";o(document).on("show.bs.dropdown",function(e){t(o(e.relatedTarget))}),o(document).on("affix.bs.affix affixed.bs.affix affixed-top.bs.affix",function(){var e=o(".dropdown.open .dropdown-toggle");e.length&&t(e)}),o(".slideshow").cycle({fx:"fade",timeout:7500,slides:".slide",prev:".slide-prev",next:".slide-next"}),o(".slide-prev, .slide-next").click(function(e){o(".slideshow").cycle("pause"),e.preventDefault()});var i,s,r,a;o(document).height(),o(document).width();function e(){}function t(e){var t=e.siblings(".megaMenu"),e=e.offset().left,n=o("#header > .container").offset().left,i=parseFloat(o("#header > .container").css("padding-left"))||0;t.css("left","-"+(e-n-i)+"px")}o(".navbar").affix({offset:{top:function(){return this.top=o("#header").outerHeight()}}}),o(window).on("load",function(){}),o(window).on("resize",(i=e,s=250,function(){var e=this,t=arguments,n=r&&!a;clearTimeout(a),a=setTimeout(function(){a=null,r||i.apply(e,t)},s),n&&i.apply(e,t)}))}(jQuery),jQuery("img.svg, .svg img").each(function(){var t=jQuery(this),n=t.attr("id"),i=t.attr("class"),e=t.attr("src");jQuery.get(e,function(e){e=jQuery(e).find("svg");void 0!==n&&(e=e.attr("id",n)),e=(e=void 0!==i?e.attr("class",i+" replaced-svg"):e).removeAttr("xmlns:a"),t.replaceWith(e)},"xml")}),$(document).ready(function(){Mura(function(o){function t(){var o=[window.location.hostname,"greatersudbury.ca","www.greatersudbury.ca","grandsudbury.ca","www.grandsudbury.ca"],s=["/city-hall/jobs-at-the-city/current-opportunities","/city-hall/employment-opportunities/current-opportunities","/
1hotel-de-ville/emplois-et-carrieres/emploi-postes-a-pourvoir"];$("#content a[target!=_blank][data-href-check-external!=checked]").each(function(){var e=$(this),t=e.attr("href");if(void 0!==t&&!1!==t){var n=e.prop("href");if(void 0!==n)for(const i of s)n.includes(i)&&"_blank"!==e.prop("target")&&e.prop("target","_blank");t=e.prop("href",n).prop("hostname");void 0===t||""===t.trim()||0!=o.includes(t)&&-1==n.indexOf(".pdf")||"_blank"!==e.prop("target")&&e.prop("target","_blank"),e.attr("data-href-check-external","checked")}})}function s(e){for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),i=0;i<n.length;i++){for(var o=n[i];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""}function r(){$("body").on("change","input[type=radio]",function(){if(!$(this).closest("div[data-object=form]").hasClass("housing_services_mura_form"))return!1;let i=$(this).closest("div[data-object=form]"),t=(i.find(".mura-form-submit").attr("disabled",!1).removeClass("disable-button"),i.find(".housing_services_submit_error_message").remove(),i.find(".housing_services_form_error_message").remove(),i.find(".housing_services_form_wrapper_radio").each(function(){var e=$
1(this).find("input[type=radio]:checked");if(!e.length)return!0;var t=e.attr("name"),e=e.val();let n="";switch(t){case"liveincityofgreatersudbury":n='<div class="mura-response-error mura-response-error-submit-message housing_services_form_error_message">Unfortunately, you do not qualify for this program as you have selected &quot;No&quot; to living in the City of Greater Sudbury.</div>',a()&&(n='<div class="mura-response-error mura-response-error-submit-message housing_services_form_error_message">Malheureusement, vous n&apos;&ecirc;tes pas admissible &agrave; ce programme puisque vous avez indiqu&eacute; que vous n&apos;habitez pas dans la Ville du Grand Sudbury.</div>');break;case"selfcontainedunit":n='<div class="mura-response-error mura-response-error-submit-message housing_services_form_error_message">Unfortunately, you do not qualify for this program as you have selected &quot;No&quot; to living in a self-contained unit.</div>',a()&&(n='<div class="mura-response-error mura-response-error-submit-message housing_services_form_error_message">Malheureusement, vous n&apos;&ecirc;tes pas admissible &agrave; ce programme puisque vous avez indiqu&eacute; que vous ne demeurez pas dans un logement autonome.</div>');break;case"centralizedwaitlist":n='<div class="mura-response-error mura-response-error-submit-message housing_services_form_error_message">Unfortunately, you do not qualify for this program as you have selected &quot;No&quot; to having your name on the City of Greater Sudbury centralized waitlist. If you would like to add your name to the centralized waitlist, please go to <a target="_blank" href="https://www.greatersudbury.ca/housing">www.greatersudbury.ca/housing</a> and select Housing Services to find the application and process to apply. You can also contact the Housing Services Registry at <a href="tel:7056712489,4678">705-671-2489 ext. 4678</a>.</div>',a()&&(n='<div class="mura-response-error mura-response-error-submit-message housing_services_form_error_message">Malheureusement, vous n&apos;&ecirc;tes pas admissible &agrave; ce programme puisque vous avez indiqu&eacute; que vous n&apos;&ecirc;tes pas sur la liste d&apos;attente centralis&eacute;e de la Ville du Grand Sudbury. Pour ajouter votre nom &agrave; la liste d&apos;attente centralis&eacute;e, veuillez consulter le site <a target="_blank" href="https://www.grandsudbury.ca/logement">www.grandsudbury.ca/logement</a> et s&eacute;lectionner Services de logement pour trouver la demande et le processus &agrave; suivre pour pr&eacute;senter la demande. Vous pouvez aussi communiquer avec le Registre des services de logement au <a href="tel:7056712489,4678">705-671-2489, poste 4678</a>.</div>')}t=$(this).closest(".mura-control-group").after(n).next();"No"==e&&(i.find(".mura-form-submit").attr("disabled",!0).addClass("disable-button"),t.addClass("display-block-important"))}),!1),n='<div class="mura-response-error mura-response-error-submit-message housing_services_submit_error_message">Unfortunately, you do not qualify for this program as you have selected:<ul>';a()&&(n='<div class="mura-response-error mura-response-error-submit-message housing_services_submit_error_message">Malheureusement, vous n&apos;&ecirc;tes pas admissible &agrave; ce programme puisque vous avez indiqu&eacute; que vous:<ul>'),i.find(".housing_services_form_error_message:visible").each(function(){t=!0;let e=$(this).html();e=e.replace("Unfortunately, you do not qualify for this program as you have selected ",""),a()&&(e=(e=e.replace("Malheureusement, vous n&apos;&ecirc;tes pas admissible &agrave; ce programme puisque vous avez indiqu&eacute; que vous ","")).replace("Malheureusement, vous n'êtes pas admissible à ce programme puisque vous ","")),n+="<li>"+e+"</li>"}),n+="</ul></div>",t&&i.find(".mura-form-submit").after(n)})}function a(){return!!location.host.includes("grandsudbury")}function i(e){e="string"!=typeof e?JSON.stringify(e):e;try{e=JSON.parse(e)}catch(e){return}return"object"==typeof e&&null!==e}function l(e){var t=$(e).find("input[name='total_revenue_collected_for_the_month']"),n=$(e).find("input[name='less_exemptions']"),i=$(e).find("input[name='adjustments']"),o=$(e).find("input[name='net_revenue_eligible_for_mat']"),s=$(e).find("input[name='municipal_accommodation_tax']"),r=$(e).find("input[name='total_amount_of_mat_to_be_remitted']"),a=$(e).find("textarea[name='explanation_for_adju
1stments_and_exemption']"),l=$(e).find("input[name='applicable_municipal_accommodation_tax']:checked");t.val(t.val().replace(/[^0-9.]/g,"")),n.val(n.val().replace(/[^0-9.]/g,"")),i.val(i.val().replace(/[^0-9.\-]/g,"")),o.val(o.val().replace(/[^0-9.]/g,"")),s.val(s.val().replace(/[^0-9.]/g,"")),r.val(r.val().replace(/[^0-9.]/g,""));let c=t.val(),u=n.val(),d=i.val();o.val(),s.val(),r.val();let h=4;l="Municipal Accommodation Tax ("+(h=l.length?l.val().replace(/[^0-9.]/g,""):h)+"%)",e.find("label[for='field-municipal_accommodation_tax']").text(l),u&&0!==Math.ceil(parseFloat(u))||d&&0!==Math.ceil(parseFloat(d))?(a.prop("readonly",!1),"N/A"===a.val()&&a.val("")):(a.prop("readonly",!0),a.val("N/A")),""==c&&(c=0),""==u&&(u=0),""==d&&(d=0),e=(parseFloat(c)-parseFloat(u)+parseFloat(d)).toFixed(2);e<0?(o.val("0.00"),s.val("0.00"),r.val("0.00")):(o.val(e),s.val((e*(h/100)).toFixed(2)),r.val(s.val())),t.val("$ "+t.val()),n.val("$ "+n.val()),i.val("$ "+i.val()),o.val("$ "+o.val()),s.val("$ "+s.val()),r.val("$ "+r.val())}function c(){var e=$(".planning-and-development-form #field-followup"),t=$(".planning-and-development-form .hide-form-field-container");$.each(t,function(e,t){$(this).hide(),$(this).find("input").length?$(this).find("input").val("-"):$(this).find("select").length&&$(this).find("select").prop("selectedIndex",0).val()}),"Yes, by email"==$(e).val()?($("#field-email").val(""),$("#field-email-container").show()):"Yes, by phone"==$(e).val()?($("#field-phone").val(""),$("#field-phone-container").show()):"Yes, by regular mail"==$(e).val()&&($("#field-streetnumber").val(""),$("#field-city").val(""),$("#field-province").prop("selectedIndex",0).val(),$("#field-postalcode").val(""),$("#field-streetnumber-container").show(),$("#field-city-container").show(),$("#field-province-container").show(),$("#field-postalcode-container").show())}function n(){if(0<$("body").find(".accordion-cgs").not(".accordion-validated").length){$("body").find(".accordion-cgs").not(".accordion-validated").each(function(e,t){$(this).accordion({collapsible:!0,active:"none",heightStyle:"content",icons:{header:"ui-icon-plus",activeHeader:"ui-icon-minus"}}),$(this).addClass("accordion-validated"),$(this).show(),0<$(this).children().length&&$(this).parent().find(".accordion-cgs-controls").show()});try{(s=jQuery).widget("ab.accordion",s.ui.accordion,{_create:function(){this._super("_create"),this._on(this.headers,{keydown:"_tabkeydown"})},_tabkeydown:function(e){var t,n,i,o;e.altKey||e.ctrlKey||e.keyCode===s.ui.keyCode.TAB&&(n=(t=this.headers).length,i=t.index(e.target),o=!1,e.shiftKey&&0<=i-1&&(o=t[i-1]),o=!e.shiftKey&&i+1<n?t[i+1]:o)&&(s(e.target).attr("tabIndex",-1),s(o).attr("tabIndex",0),o.focus(),e.preventDefault())}})}catch(e){console.log("Error setting up tab support on accordions")}}var s}function u(e){e=$("form[id="+e+"]");1<$(e).length&&($(e).addClass("duplicate_form"),$(e).addClass("inactive_duplicate_form"),$(document).find(e).each(function(e,t){$(this).hasClass("active_duplicate_form")&&$(this).removeClass("inactive_duplicate_form")}),$(e).find("*[name]").each(function(e,t){var n=$(this).attr("name");$(this).attr("name-temp",n),$(this).removeAttr("name")}))}function e(){if($("#panel-online-services").length){let t=[],n=400;$("#panel-online-services .panel").each(function(){t.push($(this).height())}),767<$(document).width()&&(n=200,t=[...t].sort((e,t)=>e-t).slice(-6)),992<$(document).width()&&(n=100,t=[...t].sort((e,t)=>e-t).slice(-3));for(let e=0;e<t.length;e++)n+=t[e];$("#panel-online-services").height(n)}}Mura.addEventHandler({asyncObjectRendered:function(e){n(),t()}});var d="hVAvTfF_ApBtuSZ2zZqC";if(a()&&(d="iVCVoq7zFtq3VYLxbCKZ"),$("#st-search-keyword").swiftype({engineKey:d}
1),$('a[href$=".pdf"]').on("click",function(){var e=$(this).attr("href");ga("send","event","pdf","download",e)}),$('a[href$="-pdf/"]').on("click",function(){var e=$(this).attr("href");ga("send","event","pdf","download",e)}),$('a[href$="-pdf"]').on("click",function(){var e=$(this).attr("href");ga("send","event","pdf","download",e)}),$('a[href^="mailto:"]').on("click",function(){var e=$(this).attr("href");ga("send","event","contact","mailto",e)}),$('a[href^="tel:"]').on("click",function(){var e=$(this).attr("href");ga("send","event","contact","click-to-call",e)}),$("body").on("click",".mura-form .form-submit",function(){$(".mura-form .form-submit").attr("disabled",!0).addClass("disable-button")}),$("body").on("focus click","input, textarea, select, label, .g-recaptcha-container",function(){$(".mura-form .form-submit").attr("disabled",!1).removeClass("disable-button")}),$("body").on("click",".mura-form .form-nav",function(){$("html, body").animate({scrollTop:$(".mura-form").offset().top-175},300)}),$(".bxslider-feed").length&&$(".bxslider-feed").bxSlider({mode:"horizontal",captions:!0,auto:!0,speed:500,infiniteLoop:!0,keyboardEnabled:!0,touchEnabled:!1,pause:4e3,autoHover:!0}),$("body").on("change",".planning-and-development-form #field-followup",function(){c()}),n(),$(document).on("click",".accordion-cgs-controls-expand",function(){$(this).parent().next().find(".ui-accordion-content").slideDown(),$(this).parent().next().find(".ui-accordion-header-icon").removeClass("ui-icon-plus"),$(this).parent().next().find(".ui-accordion-header-icon").addClass("ui-icon-minus")}),$(document).on("click",".accordion-cgs-controls-collapse",function(){$(this).parent().next().find(".ui-accordion-content").slideUp(),$(this).parent().next().find(".ui-accordion-header-icon").removeClass("ui-icon-minus"),$(this).parent().next().find(".ui-accordion-header-icon").addClass("ui-icon-plus")}),Mura.DisplayObject.Form.reopen({onAfterRender:function(){var e=this.context.targetEl,t=o(e).find("form"),n=window.navigator.userLanguage||window.navigator.language;let i=$.datepicker.regional[""].monthNames;if(void 0!==$.datepicker.regional[n]&&(i=$.datepicker.regional[n].monthNames),$(".jquery-date-picker").datepicker({changeMonth:!0,changeYear:!0,showButtonPanel:!0,dateFormat:"MM d, yy",monthNamesShort:i}),$(e).parent().hasClass("planning-and-development-form")&&c(),$(e).parent().hasClass("monthly-mat-remittance-report-form")){let t=$(".monthly-mat-remittance-report-form");n=$(t).find("input[name='applicable_municipal_accommodation_tax']");n.length&&($(n).filter('[value="6%"]').prop("checked",!0),$(n).on("change",function(){l(t)})),t.find("input[name='net_revenue_eligible_for_mat'], input[name='municipal_accommodation_tax'], input[name='total_amount_of_mat_to_be_remitted'],textarea[name='explanation_for_adjustments_and_exemption']").prop("readonly",!0),t.find("input[name='total_revenue_collected_for_the_month'], input[name='less_exemptions'], input[name='adjustments']").on("keyup",function(e){e=e.keyCode||e.which;37!=e&&38!=e&&39!=e&&40!=e&&l(t)}),l(t)}$(e).parent().hasClass("housing_services_mura_form")&&r(),"greatersudbury.ca"!=location.host&&"www.greatersudbury.ca"!=location.host||"frm657E185E-CD58-9B39-45AF68AFDE1F51DC"!=t.node.id||($("#frm657E185E-CD58-9B39-45AF68AFDE1F51DC").find('input[name="urlnotfound"]').val(window.location.href),$("#frm657E185E-CD58-9B39-45AF68AFDE1F51DC").find('input[name="referrer_url"]').val(document.referrer)),a()&&"frm72DAE221-A847-F0F1-C64676C424BDBE8B"==t.node.id&&($("#frm72DAE221-A847-F0F1-C64676C424BDBE8B").find('input[name="urlnotfound"]').val(window.location.href),$("#frm72DAE221-A847-F0F1-C64676C424BDBE8B").find('input[name="referrer_url"]').val(document.referrer)),u(t.node.id)},onSubmit:function(){var e=event.target.form,n=(u($(e).attr("id")),$(".mura-form .form-submit").after('<i class="fa fa-circle-o-notch fa-spin form-submit-spinner"></i>'),$(".mura-response-error-submit-message").remove(),!1),e=$(e).get();return $(e).find("input[type=file]").each(function(e,t){$(t).parent().hasClass("req")&&0==$(t)[0].files.length&&(n=!0)}),!n||($(".form-submit-spinner").remove(),$(".mura-form .form-submit").after('<div class="mura-response-error mura-response-error-submit-message" data-field="">Please attach a file to any sections that require a file and try again.</div>'),!1)},onAfterErrorRender:function(){n="";try{var e=JSON.parse(event.currentTarget.response).data.errors,n="<ul>";$.each(e,function(e,t){n+="<li>"+t+"</li>"}),n+="</ul>"}catch(e){n+="We're sorry, an error has occurred. Please review the following suggestions and try again.<ul><li>Verify that all required fields are entered properly.</li><li>There may be an issue with your web browser. Please try again using a different web browser.</li></ul>"}$(".form-submit-spinner").remove(),$(".mura-form .form-submit").after('<div class="mura-response-error mura-response-error-submit-message" data-field="">'+n+"</div>"),$("form.inactive_duplicate_form .mura-response-error").remove()},onAfterResponseRender:function(){var e=this.context.targetEl,e=$(e).get();$("html, body").animate({scrollTop:$(e).offset().top-175},300)}}
1),t(),$(window).keydown(function(e){(70==e.keyCode&&(e.ctrlKey||e.metaKey)||191==e.keyCode)&&($(document).find(".ui-accordion-content").slideDown(),$(document).find(".ui-accordion-header-icon").removeClass("ui-icon-plus"),$(document).find(".ui-accordion-header-icon").addClass("ui-icon-minus"))}),$(".pdf-js-iframe").length&&(h=(d=window.navigator.userAgent).indexOf("MSIE "),d=d.indexOf("Trident/"),0<h||0<d)&&$(".pdf-js-iframe").each(function(e,t){var n=$(this).attr("src"),i=n.split("file=").pop();let o=n.split("/").pop();o=o.replace(/%20/g," "),$(this).replaceWith('<a target="_blank" href="'+i+'">'+o+"</a>")}),$("#frontEndTools").length&&$("#frontEndTools").find("a[title='Tree View']").attr("target","_blank"),window.setTimeout(function(){if(0!==location.hash.length){let e=0,t=(e=970<$(window).width()?100:20,history.scrollRestoration="manual",window.scrollTo(window.scrollX,window.scrollY-e),window.location.hash);t=t.replace("#","");var n=$("[id='"+t+"'],[name='"+t+"']");n.length&&(n.effect("highlight",{color:"#fcf8e3"},5e3),$("html, body").animate({scrollTop:n.offset().top-100},750))}},0),$("#content").on("click","a[href*=\\#]",function(n){if(this.pathname===window.location.pathname){n.preventDefault();let e=this.hash,t=(e=e.replace("#",""),$("[id='"+e+"']:visible"));0===t.length&&(n=decodeURIComponent(e),t=$("[id='"+n+"']:visible"));let o=t.first();if(1<t.length){$("a").removeClass("currently_clicked_element"),$(this).addClass("currently_clicked_element");let n=$("*"),i=n.index($(".currently_clicked_element"));$(t).each(function(e,t){if(n.index($(this))>=i)return o=$(this),!1})}o.length&&(history.pushState(null,null,document.location.pathname+this.hash),$("html, body").animate({scrollTop:o.offset().top-100},750),o.effect("highlight",{color:"#fcf8e3"},5e3))}}),$("#accessibility_scan_results_container #accessibility_scan_result_site_select").length&&$("#accessibility_scan_results_container #accessibility_scan_result_site_select").on("change",function(){window.location=this.value,$("#accessibility_scan_results_container").html('<i class="fa fa-3x fa-circle-o-notch fa-spin"></i>')}),$("#log_file_container #log_file_select").length&&$("#log_file_container #log_file_select").on("change",function(){window.location=this.value,$("#log_file_container").html('<i class="fa fa-3x fa-circle-o-notch fa-spin"></i>')}),$(".loading-overlay").fadeOut(),"function"==typeof iFrameResize&&$("#OVS").length&&iFrameResize({},"#OVS"),$("#OVS").on("load",function(){$("#ovs-container-above-iframe").show(),$(document).on("click","#btn-ovs-start-over",function(){$("#OVS").attr("src",function(e,t){return t})})}),0<$("#SiteModal").length){let e="site_modal_cookie_en";a()&&(e="site_modal_cookie_fr");var h=Cookies.get(e);let t=0;var d=$("#SiteModal").attr("data-lastupdated"),p={occurence:t=void 0===h||i(h)&&(p=$.parseJSON(h),0!==Object.keys(p).length)&&(t=p.occurence,t++,d!==p.last_update)?0:t,last_update:d};occurence<2&&(Cookies.set(e,JSON.stringify(p),{expires:1}),$("#SiteModal").modal())}$("body").on("mouseover touchstart",".mura-form-submit",function(){var e=$
1(this).closest("form.duplicate_form");e.length&&($("form.duplicate_form").removeClass("active_duplicate_form"),$(e).removeClass("inactive_duplicate_form"),$(e).addClass("active_duplicate_form"),$(e).find("*[name-temp]").each(function(e,t){var n=$(this).attr("name-temp");$(this).attr("name",n),$(this).removeAttr("name-temp")}))}),$('[data-toggle="tooltip"]').tooltip(),$(".housing_services_mura_form").length&&r(),$(document).on("click",".navbar-header .navbar-toggle",function(){$(this).hasClass("collapsed")?($(this).find(".icon-bar").show(),$(this).find(".fa-times").hide(),$(this).closest("nav.navbar").removeClass("open")):($(this).find(".icon-bar").hide(),$(this).find(".fa-times").show(),$(this).closest("nav.navbar").addClass("open"),$("html,body").animate({scrollTop:$(this).closest("nav.navbar").offset().top},500))}),e(),$(window).on("resize",function(){e()});var f,m,g,v,y,b=!0,d="https://311.greatersudbury.ca/ci/ws/get",_="/sites/sudburyen/includes/themes/MuraBootstrap3/assets/img/CHAT ICON_K.svg",w="Chat Live opens in a new window",x="Chat Live opens in a new window",C="/city-hall/contact-the-city/",k="/sites/sudburyen/includes/themes/MuraBootstrap3/assets/img/311 CONTACT US ICON.svg",S="Navigate to the Contact Us page.",A="Navigate to the Contact Us page.",p=!0;function E(e){$("#MeetingsFrame").height(e.data+"px")}a()&&(d="https://311.grandsudbury.ca/ci/ws/get",_="/sites/sudburyfr/includes/themes/MuraBootstrap3/assets/img/CHAT ICON_K.svg",x=w="Clavardez en direct s'ouvre dans une nouvelle fenêtre.",C="/hotel-de-ville/nous-joindre/",k="/sites/sudburyfr/includes/themes/MuraBootstrap3/assets/img/311 CONTACT US ICON_FRN.svg",A=S="Naviguer vers la page de contact."),"311.greatersudbury.ca"!=location.host&&"311.grandsudbury.ca"!=location.host||(p=!1),RightNow.Client.Controller.addComponent({chat_login_page:"/app/chat/chat_landing",container_element_id:"myChatLinkContainer",info_element_id:"myChatLinkInfo",link_element_id:"myChatLink",instance_id:"sccl_0",module:"ConditionalChatLink",type:7,min_sessions_avail:1,open_in_new_window:p},d),RightNow.Client.Event.evt_widgetLoaded.subscribe(function(e,t){RightNow.Client.Event.evt_conditionalChatLinkAvailabilityResponse.subscribe(function(e,t,n){var i=t[0].data,t=(t[1].scope,t[1],'<a id="myChatLinkButton" href="'+C+'"><img title="'+S+'" id="myChatLinkIcon" class="contactUsIcon" src="'+k+'" alt="'+A+'" /></a>');i.hasOwnProperty("out_of_hours")&&$("#myChatLinkInfo").html(t),!i.hasOwnProperty("stats")||0==i.stats.availableSessionCount||0<i.stats.engagementsInQueue?$("#myChatLinkInfo").html(t):$("#myChatLinkInfo").html('<img title="'+w+'" id="myChatLinkIcon" src="'+_+'" alt="'+x+'" />'),b?($("#myChatLinkIcon").fadeIn(500),b=!1):$("#myChatLinkIcon").show(),s("311_chat_viewed")||(document.cookie="311_chat_viewed=yes;path=/",$("#myChatLinkIcon").effect("bounce",{times:2},800))})}),$(document).on("click","#building-permits-submissions-table i.fa-info-circle:not([data-nomodal])",function(){var e=$
1(this).parent().find(".record-title").text(),t=$(this).parent().find(".info-message").html();$("#modal-building-permits-info-messages .modal-title").text(""),$("#modal-building-permits-info-messages .modal-body").html(""),(e||t)&&($("#modal-building-permits-info-messages .modal-title").text(e),$("#modal-building-permits-info-messages .modal-body").html(t),$("#modal-building-permits-info-messages").modal("show"))}),$("#countdownTicker").length&&(f=new Date($("#countdownTicker").attr("data-date")),m=$("#countdownTicker").attr("data-formatted-date"),g=$("#countdownTicker").attr("data-title"),v=$("#countdownTicker").attr("data-countdown-reached-title"),y=setInterval(function(){var e=(new Date).getTime(),e=f.getTime()-e,t=Math.floor(e/864e5),n=Math.floor(e%864e5/36e5),i=Math.floor(e%36e5/6e4),o=Math.floor(e%6e4/1e3);daysLabel=1==t?" DAY ":" DAYS ",hoursLabel=1==n?" HOUR ":" HOURS ",minutesLabel=1==i?" MINUTE ":" MINUTES ",secondsLabel=1==o?" SECOND ":" SECONDS ",a()&&(daysLabel=1==t?" jour ":" jours ",hoursLabel=1==n?" heure ":" heures ",minutesLabel=1==i?" minute ":" minutes ",secondsLabel=1==o?" seconde ":" secondes "),$("#countdownTicker").html('<div class="row"><div class="col-xs-12"><p class="countdownTitle">'+g+'</p></div></div><div class="row"><div class="col-xs-3 countdownNumber">'+t+'</div><div class="col-xs-3 countdownNumber">'+n+'</div><div class="col-xs-3 countdownNumber">'+i+'</div><div class="col-xs-3 countdownNumber color-f93838">'+o+'</div></div><div class="row"><div class="col-xs-3 countdownNumberLabel">'+daysLabel+'</div><div class="col-xs-3 countdownNumberLabel">'+hoursLabel+'</div><div class="col-xs-3 countdownNumberLabel">'+minutesLabel+'</div><div class="col-xs-3 countdownNumberLabel">'+secondsLabel+'</div></div><div class="row"><div class="col-xs-12"><p class="countdownDate">'+m+"</p></div></div>"),e<0&&(clearInterval(y),$("#countdownTicker").html('<div class="row"><div class="col-xs-12"><p class="countdownTitle">'+v+"</p></div></div>"))},1e3)),$("body").on("click",".crisis-modal-reopen",function(e){e.preventDefault(),$(".crisis-modal").modal()}),$(function(){0<$(".crisis-notification").length&&setTimeout(function(){$(".crisis-modal").each(function(){var e,t=$(this).find(".single-message").first().data("alert-last-update");-1!=document.cookie.indexOf("crisis_modal_last_update")&&s("crisis_modal_last_update")==t||($(this).modal(),(e=new Date).setTime(e.getTime()+864e5),e="expires="+e.toUTCString(),document.cookie="crisis_modal_last_update="+t+"; "+e+"; path=/")})},1e3)}),window.addEventListener?addEventListener("message",E,!1):attachEvent("onmessage",E),0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./)?a()?$("#MeetingsFrame").replaceWith("<div class='alert-warning'><h3>Navigateur non pris en charge</h3>Pour une meilleure exp&eacute;rience, nous recommandons Google Chrome, Apple Safari, FireFox ou Microsoft Edge.</p></div>"):$("#MeetingsFrame").replaceWith("<div class='alert-warning'><h3>Browser not supported.</h3><p>To view the meetings and for the best experience, we recommend Google Chrome, Apple Safari, FireFox, or Microsoft Edge.</p></div>"):$("#MeetingsFrame").fadeIn();let T="dayGridMonth",O=($(window).width()<=767&&(T="listMonth"),$("body").attr("class")),D="en",I="/webapps/fullcalendar/events-english-"+(O=O.replace("cgs-",""))+".json";a()&&(I="/webapps/fullcalendar/events-french-"+O+".json",D="fr-ca");p=document.getElementById("fullcalendar-calendar");function M(){$("#tax-calc-form .mura-form-submit").attr("disabled",!1).removeClass("disable-button"),$("#field-community-container").hide(),$("select[name=community]").html("").val(""),$(".mura-response-error").html("").hide()}if(p&&new FullCalendar.Calendar(p,{height:"auto",navLinks:!1,initialView:T,displayEventEnd:!0,dayMaxEvents:3,locale:D,headerToolbar:{end:"today prev,next dayGridMonth listMonth"},eventSources:[{url:I,extraParams:function(){return{cachebuster:(new Date).valueOf()}}}],eventTimeFormat:{hour:"numeric",minute:"2-digit",meridiem:"short"},eventDidMount:function(t){$(t.el).attr("title",t.event.title),$(t.el).hasClass("fc-daygri
1d-event")&&$(t.el).tooltip({position:{my:"left+15 center",at:"right center"},content:function(){let e="";return t.event.extendedProps.description&&(e="<span>"+t.event.extendedProps.description+"</span>"),'<h3 class="fullcalendar-header">'+t.event.title+"</h3>"+e}}),$(t.el).hasClass("fc-list-event")&&$(t.el).find(".fc-list-event-title").append('<a class="btn btn-primary float-right" href="'+t.event.url+'">Details</a>')},eventClick:function(e){!e.event.url||e.event.url.includes(document.location.hostname)||(e.jsEvent.preventDefault(),window.open(e.event.url,"_blank"))},eventMouseEnter:function(e){},eventMouseLeave:function(e){$(e.el).data("ui-tooltip")&&($(e.el).tooltip("close"),$(".ui-tooltip-content").parents("div").remove())}}).render(),$(document).on("click","div[data-slideurl]",function(e){"A"!==e.target.nodeName&&void 0!==(e=$(this).attr("data-slideurl"))&&""!==e&&null!==e&&(window.location.href=e)}),document.addEventListener("visibilitychange",function(){document.visible||$(".slideshow").cycle("next")}),$(document).on("click",".nav .dropdown-menu",function(e){e.stopPropagation()}),$("#navbar-collapse .nav .dropdown .megaMenu").each(function(e,t){0===$(this).find(".megaMenu--column-trending").length&&$(this).find(".megaMenu--column-directory").addClass("no-trending-sibling")}),$(document).on("click","img",function(){var e;"zoom-in"==$(this).css("cursor").toLowerCase()&&null!==(e=$(this).attr("src")||$(this).attr("href")||null)&&window.open(e,"_blank")}),$(".select2-selection").length&&($(document).on("focus",".select2-selection.select2-selection--single",function(e){$(this).closest(".select2-container").siblings("select:enabled").select2("open")}),$("select.select2").on("select2:closing",function(e){$(e.target).data("select2").$selection.one("focus focusin",function(e){e.stopPropagation()})})),$("#tax-calc-form").length&&($("#tax-calc-form input[type=number]").keydown(function(e){return 69!==e.keyCode&&189!==e.keyCode}),$("#tax-calc-form .mura-form-submit").on("click",function(e){e.preventDefault();let n=!0;if($(".mura-response-error").html(""),$("#tax-calc-form [required]").each(function(){if(""==$(this).val()){n=!1;var t=$(this).closest(".mura-control-group").find("label").text();let e="";e=a()?"de voirie est un champ obligatoire":"is a required field",$(".mura-response-error").append(t+" "+e+"<br>").show()}}),!n)return!1;$("#tax-calc-form").hide();e=$("#tax-calc-form").height();$("#tax-calc-results").html('<div id="tax-calc-loading-spinner" class="well align-center" style="height:'+e+'px"><i class="fa fa-3x fa-circle-o-notch fa-spin"></i></div>').show(),grecaptcha.ready(function(){grecaptcha.execute("6Ld1VeEZAAAAAPpQ-tgwXrnOBI9zYBNtPQvoX_r1",{action:"submit"}).then(function(e){$("#recaptchaToken").val(e),$.ajax({url:"/scripts/tax_calc_ajax.cfm",data:$("#tax-calc-form").serialize(),dataType:"JSON",type:"POST",cache:!1,success:function(n){if(M(),i(n)){$("#tax-calc-form").show(),$("#tax-calc-results").html("");var e=$.parseJSON(JSON.stringify(n));if(0==Object.keys(e).length)return $(".mura-response-error").html("Invalid response.").show(),!1;$.each(e,function(e,t){"error"==e&&$(".mura-response-error").html(t).show(),"html_output"==e&&($("#tax-calc-results").html(n.html_output),$("html, body").animate({scrollTop:$("#tax-calc-results").offset().top-150},750)),"communities"==e&&($.each(t,function(e,t){$("select[name=community]").append('<option value="'+t+'">'+t+"</option>")}),"1"==$("select[name=community] option").length&&$("#tax-calc-form .mura-form-submit").click(),$("#field-community-container").show(),$(".mura-response-error").html("Multiple addresses found. Please select a community from above and search again.").show(),a())&&$(".mura-response-error").html("Plus d'une adresse trouv&eacute;e. Veuillez choisir la collectivit&eacute; correspondant &agrave; l'adresse recherch&eacute;e.")})}else $(".mura-response-error").html("Invalid response.").show()},error:function(e,t,n){M(),$("#tax-calc-form").show(),$("#tax-calc-results").html(""),$(".mura-response-error").html("An unknown error occured.").show()}})})})}),$("#tax-calc-form #field-streetname").select2({selectOnClose:!0}),$("#tax-calc-form #field-search-option-container").on("change",function(){$(".mura-response-error").html("").hide();
1var e=$("#field-search-option-container").find("input:checked");"searchoption-streetaddress"==e.attr("id")?($("#field-streetnumber-container").show(),$("#field-streetname-container").show(),$("#field-streetunit-container").show(),$("#field-rollnumber-container").hide(),$("input[name=streetnumber]").prop("required",!0).focus(),$("select[name=streetname]").prop("required",!0),$("input[name=rollnumber]").val("").prop("required",!1)):"searchoption-rollnumber"==e.attr("id")&&($("#field-streetnumber-container").hide(),$("#field-streetname-container").hide(),$("#field-streetunit-container").hide(),$("#field-rollnumber-container").show(),$("input[name=streetnumber]").val("").prop("required",!1),$("select[name=streetname]").val(null).trigger("change"),$("select[name=streetname]").prop("required",!1),$("input[name=streetunit]").val(""),$("input[name=rollnumber]").prop("required",!0).focus())}),$("#tax-calc-form #tax-calc-form-clear-button").on("click",function(){var e=$("#field-search-option-container").find("input:checked");"searchoption-streetaddress"==e.attr("id")?($("input[name=searchoption][value=streetaddress]").click(),$("input[name=searchoption][value=rollnumber]").click(),$("input[name=searchoption][value=streetaddress]").click(),$("#field-community-container").hide(),$("select[name=community]").html("").val("")):"searchoption-rollnumber"==e.attr("id")&&($("input[name=searchoption][value=rollnumber]").click(),$("input[name=searchoption][value=streetaddress]").click(),$("input[name=searchoption][value=rollnumber]").click()),$(".mura-response-error").html("").hide(),$("#tax-calc-results").html("")})),$(document).on("change","form.mura-form input, form.mura-form textarea",function(){let e=$(this).val().replace("https://","");e=e.replace("http://",""),$(this).val(e)}),0<$("#site_selector_modal").length){let e="#Site-Selector-Btn-EN",t="#Site-Selector-Btn-FR";a()&&(e="#Site-Selector-Btn-FR",t="#Site-Selector-Btn-EN"),$(document).on("click",e,function(){$("#site_selector_modal").modal("hide")});let n=$("#header .navSecondary.plugIn a.test1").attr("href");n||(n="https://www.greatersudbury.ca",a()&&(n="https://www.grandsudbury.ca")),$(t).attr("href",n),$("#site_selector_modal").modal({backdrop:"static",keyboard:!1})}jQuery(function(r){function a(e){var t=e.find("details.cgs-tl-card").first();return{$item:e,$details:t,$summary:t.find("summary").first(),$body:t.find(".cgs-tl-body").first(),$inner:t.find(".cgs-tl-body-inner").first()}}function n(e){const{$details:t,$summary:n,$body:i,$inner:o}=a(e);if(!(t.length&&n.length&&i.length&&o.length))return r.Deferred().resolve().promise();if(t.prop("open"))return i.css("height","auto"),r.Deferred().resolve().promise();const s=r.Deferred();t.attr("open",!0),n.attr("aria-expanded","true"),t.removeClass("is-closing"),i.css({height:0}),requestAnimationFrame(function(){var e=i[0].scrollHeight;i.css({transition:"height 280ms ease",height:e}),i.one("transitionend",function(e){e.originalEvent&&"height"!==e.originalEvent.propertyName||(i.css({height:"auto",transition:""}),s.resolve())})}),s.promise()}function i(e){const{$details:t,$summary:n,$body:i,$inner:o}=a(e);if(!(t.length&&n.length&&i.length&&o.length))return r.Deferred().resolve().promise();if(!t.prop("open"))return i.css("height",0),r.Deferred().resolve().promise();const s=r.Deferred();t.addClass("is-closing");e=o[0].scrollHeight;i.css({height:e,transition:"height 260ms ease"}),requestAnimationFrame(function(){i.css("height",0)}),i.one("transitionend",function(e){e.originalEvent&&"height"!==e.originalEvent.propertyName||(t.removeAttr("open"),n.attr("aria-expanded","false"),t.removeClass("is-closing"),i.css({transition:""}),s.resolve())}),s.promise()}r(".cgs-timeline").length<1||(r(".cgs-timeline .cgs-tl-item").each(function(){var{$details:e,$body:t}=a(r(this));e.length&&t.length&&t.css("height",e.prop("open")?"auto":0)}),r(".cgs-timeline .cgs-tl-list").on("click",".cgs-tl-item",function(e){var t=r(this);if(0<t.find(".hide-body").length)return!1;r(e.target).closest("summary").length&&e.preventDefault();e=a(t).$details;e.length&&(e.prop("open")?i:n)(t)}),r(".cgs-timeline .cgs-tl-list").on("keydown","summary",function(e){var t;
1"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t=a(e=r(this).closest(".cgs-tl-item"))["$details"],t.length&&(t.prop("open")?i:n)(e))}),r(".cgs-timeline").addClass("is-ready"))}),$(document).on("click",".btn-mura-calltoaction-dismiss",function(e){$(this).closest(".mura-cta").fadeOut()}),$(document).on("click",".mura-cta__container--modal",function(e){e.target===this&&$(this).closest(".mura-cta").fadeOut()})})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.