/**
 * Super simple wysiwyg editor v0.8.2
 * http://summernote.org/
 *
 * summernote.js
 * Copyright 2013-2016 Alan Hong. and other contributors
 * summernote may be freely distributed under the MIT license./
 *
 * Date: 2016-08-07T05:11Z
 */
/*!
 * Bootstrap v3.3.5 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under the MIT license
 */
if(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(window.jQuery)}(function($){"use strict";var func=function(){var e=function(e){return function(t){return e===t}},t=function(e,t){return e===t},n=function(e){return function(t,n){return t[e]===n[e]}},a=function(){return!0},i=function(){return!1},o=function(e){return function(){return!e.apply(e,arguments)}},s=function(e,t){return function(n){return e(n)&&t(n)}},r=function(e){return e},d=function(e,t){return function(){return e[t].apply(e,arguments)}},l=0,c=function(e){var t=++l+"";return e?e+t:t},h=function(e){var t=$(document);return{top:e.top+t.scrollTop(),left:e.left+t.scrollLeft(),width:e.right-e.left,height:e.bottom-e.top}},u=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t},m=function(e,t){return t=t||"",t+e.split(".").map(function(e){return e.substring(0,1).toUpperCase()+e.substring(1)}).join("")},p=function(e,t,n){var a;return function(){var i=this,o=arguments,s=function(){a=null,n||e.apply(i,o)},r=n&&!a;clearTimeout(a),a=setTimeout(s,t),r&&e.apply(i,o)}};return{eq:e,eq2:t,peq2:n,ok:a,fail:i,self:r,not:o,and:s,invoke:d,uniqueId:c,rect2bnd:h,invertObject:u,namespaceToCamel:m,debounce:p}}(),list=function(){var e=function(e){return e[0]},t=function(e){return e[e.length-1]},n=function(e){return e.slice(0,e.length-1)},a=function(e){return e.slice(1)},i=function(e,t){for(var n=0,a=e.length;n<a;n++){var i=e[n];if(t(i))return i}},o=function(e,t){for(var n=0,a=e.length;n<a;n++)if(!t(e[n]))return!1;return!0},s=function(e,t){return $.inArray(t,e)},r=function(e,t){return s(e,t)!==-1},d=function(e,t){return t=t||func.self,e.reduce(function(e,n){return e+t(n)},0)},l=function(e){for(var t=[],n=-1,a=e.length;++n<a;)t[n]=e[n];return t},c=function(e){return!e||!e.length},h=function(n,i){if(!n.length)return[];var o=a(n);return o.reduce(function(e,n){var a=t(e);return i(t(a),n)?a[a.length]=n:e[e.length]=[n],e},[[e(n)]])},u=function(e){for(var t=[],n=0,a=e.length;n<a;n++)e[n]&&t.push(e[n]);return t},m=function(e){for(var t=[],n=0,a=e.length;n<a;n++)r(t,e[n])||t.push(e[n]);return t},p=function(e,t){var n=s(e,t);return n===-1?null:e[n+1]},f=function(e,t){var n=s(e,t);return n===-1?null:e[n-1]};return{head:e,last:t,initial:n,tail:a,prev:f,next:p,find:i,contains:r,all:o,sum:d,from:l,isEmpty:c,clusterBy:h,compact:u,unique:m}}(),isSupportAmd="function"==typeof define&&define.amd,isFontInstalled=function(e){var t="Comic Sans MS"===e?"Courier New":"Comic Sans MS",n=$("<div>").css({position:"absolute",left:"-9999px",top:"-9999px",fontSize:"200px"}).text("mmmmmmmmmwwwwwww").appendTo(document.body),a=n.css("fontFamily",t).width(),i=n.css("fontFamily",e+","+t).width();return n.remove(),a!==i},userAgent=navigator.userAgent,isMSIE=/MSIE|Trident/i.test(userAgent),browserVersion;if(isMSIE){var matches=/MSIE (\d+[.]\d+)/.exec(userAgent);matches&&(browserVersion=parseFloat(matches[1])),matches=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(userAgent),matches&&(browserVersion=parseFloat(matches[1]))}var isEdge=/Edge\/\d+/.test(userAgent),hasCodeMirror=!!window.CodeMirror;if(!hasCodeMirror&&isSupportAmd&&"undefined"!=typeof require)if("undefined"!=typeof require.resolve)try{require.resolve("codemirror"),hasCodeMirror=!0}catch(e){}else"undefined"!=typeof eval("require").specified&&(hasCodeMirror=eval("require").specified("codemirror"));var agent={isMac:navigator.appVersion.indexOf("Mac")>-1,isMSIE:isMSIE,isEdge:isEdge,isFF:!isEdge&&/firefox/i.test(userAgent),isPhantom:/PhantomJS/i.test(userAgent),isWebkit:!isEdge&&/webkit/i.test(userAgent),isChrome:!isEdge&&/chrome/i.test(userAgent),isSafari:!isEdge&&/safari/i.test(userAgent),browserVersion:browserVersion,jqueryVersion:parseFloat($.fn.jquery),isSupportAmd:isSupportAmd,hasCodeMirror:hasCodeMirror,isFontInstalled:isFontInstalled,isW3CRangeSupport:!!document.createRange},NBSP_CHAR=String.fromCharCode(160),ZERO_WIDTH_NBSP_CHAR="\ufeff",dom=function(){var e=function(e){return e&&$(e).hasClass("note-editable")},t=function(e){return e&&$(e).hasClass("note-control-sizing")},n=function(e){return e=e.toUpperCase(),function(t){return t&&t.nodeName.toUpperCase()===e}},a=function(e){return e&&3===e.nodeType},i=function(e){return e&&1===e.nodeType},o=function(e){return e&&/^BR|^IMG|^HR|^IFRAME|^BUTTON/.test(e.nodeName.toUpperCase())},s=function(t){return!e(t)&&(t&&/^DIV|^P|^LI|^H[1-7]/.test(t.nodeName.toUpperCase()))},r=function(e){return e&&/^H[1-7]/.test(e.nodeName.toUpperCase())},d=n("PRE"),l=n("LI"),c=function(e){return s(e)&&!l(e)},h=n("TABLE"),u=n("DATA"),m=function(e){return!(b(e)||p(e)||f(e)||s(e)||h(e)||v(e)||u(e))},p=function(e){return e&&/^UL|^OL/.test(e.nodeName.toUpperCase())},f=n("HR"),g=function(e){return e&&/^TD|^TH/.test(e.nodeName.toUpperCase())},v=n("BLOCKQUOTE"),b=function(t){return g(t)||v(t)||e(t)},y=n("A"),w=function(e){return m(e)&&!!P(e,s)},S=function(e){return m(e)&&!P(e,s)},k=n("BODY"),A=function(e,t){return e.nextSibling===t||e.previousSibling===t},C=function(e,t){t=t||func.ok;var n=[];return e.previousSibling&&t(e.previousSibling)&&n.push(e.previousSibling),n.push(e),e.nextSibling&&t(e.nextSibling)&&n.push(e.nextSibling),n},x=agent.isMSIE&&agent.browserVersion<11?"&nbsp;":"<br>",T=function(e){return a(e)?e.nodeValue.length:e?e.childNodes.length:0},M=function(e){var t=T(e);return 0===t||(!a(e)&&1===t&&e.innerHTML===x||!(!list.all(e.childNodes,a)||""!==e.innerHTML))},E=function(e){o(e)||T(e)||(e.innerHTML=x)},P=function(t,n){for(;t;){if(n(t))return t;if(e(t))break;t=t.parentNode}return null},B=function(t,n){for(t=t.parentNode;t&&1===T(t);){if(n(t))return t;if(e(t))break;t=t.parentNode}return null},N=function(t,n){n=n||func.fail;var a=[];return P(t,function(t){return e(t)||a.push(t),n(t)}),a},L=function(e,t){var n=N(e);return list.last(n.filter(t))},_=function(e,t){for(var n=N(e),a=t;a;a=a.parentNode)if($.inArray(a,n)>-1)return a;return null},I=function(e,t){t=t||func.fail;for(var n=[];e&&!t(e);)n.push(e),e=e.previousSibling;return n},D=function(e,t){t=t||func.fail;for(var n=[];e&&!t(e);)n.push(e),e=e.nextSibling;return n},R=function(e,t){var n=[];return t=t||func.ok,function a(i){e!==i&&t(i)&&n.push(i);for(var o=0,s=i.childNodes.length;o<s;o++)a(i.childNodes[o])}(e),n},O=function(e,t){var n=e.parentNode,a=$("<"+t+">")[0];return n.insertBefore(a,e),a.appendChild(e),a},H=function(e,t){var n=t.nextSibling,a=t.parentNode;return n?a.insertBefore(e,n):a.appendChild(e),e},z=function(e,t){return $.each(t,function(t,n){e.appendChild(n)}),e},K=function(e){return 0===e.offset},F=function(e){return e.offset===T(e.node)},G=function(e){return K(e)||F(e)},U=function(e,t){for(;e&&e!==t;){if(0!==Y(e))return!1;e=e.parentNode}return!0},j=function(e,t){if(!t)return!1;for(;e&&e!==t;){if(Y(e)!==T(e.parentNode)-1)return!1;e=e.parentNode}return!0},V=function(e,t){return K(e)&&U(e.node,t)},W=function(e,t){return F(e)&&j(e.node,t)},Y=function(e){for(var t=0;e=e.previousSibling;)t+=1;return t},q=function(e){return!!(e&&e.childNodes&&e.childNodes.length)},J=function(t,n){var a,i;if(0===t.offset){if(e(t.node))return null;a=t.node.parentNode,i=Y(t.node)}else q(t.node)?(a=t.node.childNodes[t.offset-1],i=T(a)):(a=t.node,i=n?0:t.offset-1);return{node:a,offset:i}},Z=function(t,n){var a,i;if(T(t.node)===t.offset){if(e(t.node))return null;a=t.node.parentNode,i=Y(t.node)+1}else q(t.node)?(a=t.node.childNodes[t.offset],i=0):(a=t.node,i=n?T(t.node):t.offset+1);return{node:a,offset:i}},X=function(e,t){return e.node===t.node&&e.offset===t.offset},Q=function(e){if(a(e.node)||!q(e.node)||M(e.node))return!0;var t=e.node.childNodes[e.offset-1],n=e.node.childNodes[e.offset];return!(t&&!o(t)||n&&!o(n))},ee=function(e,t){for(;e;){if(t(e))return e;e=J(e)}return null},te=function(e,t){for(;e;){if(t(e))return e;e=Z(e)}return null},ne=function(e){if(!a(e.node))return!1;var t=e.node.nodeValue.charAt(e.offset-1);return t&&" "!==t&&t!==NBSP_CHAR},ae=function(e,t,n,a){for(var i=e;i&&(n(i),!X(i,t));){var o=a&&e.node!==i.node&&t.node!==i.node;i=Z(i,o)}},ie=function(e,t){var n=N(t,func.eq(e));return n.map(Y).reverse()},oe=function(e,t){for(var n=e,a=0,i=t.length;a<i;a++)n=n.childNodes.length<=t[a]?n.childNodes[n.childNodes.length-1]:n.childNodes[t[a]];return n},se=function(e,t){var n=t&&t.isSkipPaddingBlankHTML,i=t&&t.isNotSplitEdgePoint;if(G(e)&&(a(e.node)||i)){if(K(e))return e.node;if(F(e))return e.node.nextSibling}if(a(e.node))return e.node.splitText(e.offset);var o=e.node.childNodes[e.offset],s=H(e.node.cloneNode(!1),e.node);return z(s,D(o)),n||(E(e.node),E(s)),s},re=function(e,t,n){var a=N(t.node,func.eq(e));return a.length?1===a.length?se(t,n):a.reduce(function(e,a){return e===t.node&&(e=se(t,n)),se({node:a,offset:e?dom.position(e):T(a)},n)}):null},de=function(e,t){var n,a,i=t?s:b,o=N(e.node,i),r=list.last(o)||e.node;i(r)?(n=o[o.length-2],a=r):(n=r,a=n.parentNode);var d=n&&re(n,e,{isSkipPaddingBlankHTML:t,isNotSplitEdgePoint:t});return d||a!==e.node||(d=e.node.childNodes[e.offset]),{rightNode:d,container:a}},le=function(e){return document.createElement(e)},ce=function(e){return document.createTextNode(e)},he=function(e,t){if(e&&e.parentNode){if(e.removeNode)return e.removeNode(t);var n=e.parentNode;if(!t){var a,i,o=[];for(a=0,i=e.childNodes.length;a<i;a++)o.push(e.childNodes[a]);for(a=0,i=o.length;a<i;a++)n.insertBefore(o[a],e)}n.removeChild(e)}},ue=function(t,n){for(;t&&!e(t)&&n(t);){var a=t.parentNode;he(t),t=a}},me=function(e,t){if(e.nodeName.toUpperCase()===t.toUpperCase())return e;var n=le(t);return e.style.cssText&&(n.style.cssText=e.style.cssText),z(n,list.from(e.childNodes)),H(n,e),he(e),n},pe=n("TEXTAREA"),fe=function(e,t){var n=pe(e[0])?e.val():e.html();return t?n.replace(/[\n\r]/g,""):n},ge=function(e,t){var n=fe(e);if(t){var a=/<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g;n=n.replace(a,function(e,t,n){n=n.toUpperCase();var a=/^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(n)&&!!t,i=/^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(n);return e+(a||i?"\n":"")}),n=$.trim(n)}return n},ve=function(e){var t=$(e),n=t.offset(),a=t.outerHeight(!0);return{left:n.left,top:n.top+a}},be=function(e,t){Object.keys(t).forEach(function(n){e.on(n,t[n])})},ye=function(e,t){Object.keys(t).forEach(function(n){e.off(n,t[n])})};return{NBSP_CHAR:NBSP_CHAR,ZERO_WIDTH_NBSP_CHAR:ZERO_WIDTH_NBSP_CHAR,blank:x,emptyPara:"<p>"+x+"</p>",makePredByNodeName:n,isEditable:e,isControlSizing:t,isText:a,isElement:i,isVoid:o,isPara:s,isPurePara:c,isHeading:r,isInline:m,isBlock:func.not(m),isBodyInline:S,isBody:k,isParaInline:w,isPre:d,isList:p,isTable:h,isData:u,isCell:g,isBlockquote:v,isBodyContainer:b,isAnchor:y,isDiv:n("DIV"),isLi:l,isBR:n("BR"),isSpan:n("SPAN"),isB:n("B"),isU:n("U"),isS:n("S"),isI:n("I"),isImg:n("IMG"),isTextarea:pe,isEmpty:M,isEmptyAnchor:func.and(y,M),isClosestSibling:A,withClosestSiblings:C,nodeLength:T,isLeftEdgePoint:K,isRightEdgePoint:F,isEdgePoint:G,isLeftEdgeOf:U,isRightEdgeOf:j,isLeftEdgePointOf:V,isRightEdgePointOf:W,prevPoint:J,nextPoint:Z,isSamePoint:X,isVisiblePoint:Q,prevPointUntil:ee,nextPointUntil:te,isCharPoint:ne,walkPoint:ae,ancestor:P,singleChildAncestor:B,listAncestor:N,lastAncestor:L,listNext:D,listPrev:I,listDescendant:R,commonAncestor:_,wrap:O,insertAfter:H,appendChildNodes:z,position:Y,hasChildren:q,makeOffsetPath:ie,fromOffsetPath:oe,splitTree:re,splitPoint:de,create:le,createText:ce,remove:he,removeWhile:ue,replace:me,html:ge,value:fe,posFromPlaceholder:ve,attachEvents:be,detachEvents:ye}}(),Context=function(e,t){var n=this,a=$.summernote.ui;return this.memos={},this.modules={},this.layoutInfo={},this.options=t,this.initialize=function(){return this.layoutInfo=a.createLayout(e,t),this._initialize(),e.hide(),this},this.destroy=function(){this._destroy(),e.removeData("summernote"),a.removeLayout(e,this.layoutInfo)},this.reset=function(){var e=n.isDisabled();this.code(dom.emptyPara),this._destroy(),this._initialize(),e&&n.disable()},this._initialize=function(){var e=$.extend({},this.options.buttons);Object.keys(e).forEach(function(t){n.memo("button."+t,e[t])});var t=$.extend({},this.options.modules,$.summernote.plugins||{});Object.keys(t).forEach(function(e){n.module(e,t[e],!0)}),Object.keys(this.modules).forEach(function(e){n.initializeModule(e)})},this._destroy=function(){Object.keys(this.modules).reverse().forEach(function(e){n.removeModule(e)}),Object.keys(this.memos).forEach(function(e){n.removeMemo(e)})},this.code=function(t){var n=this.invoke("codeview.isActivated");return void 0===t?(this.invoke("codeview.sync"),n?this.layoutInfo.codable.val():this.layoutInfo.editable.html()):(n?this.layoutInfo.codable.val(t):this.layoutInfo.editable.html(t),e.val(t),this.triggerEvent("change",t),void 0)},this.isDisabled=function(){return"false"===this.layoutInfo.editable.attr("contenteditable")},this.enable=function(){this.layoutInfo.editable.attr("contenteditable",!0),this.invoke("toolbar.activate",!0)},this.disable=function(){this.invoke("codeview.isActivated")&&this.invoke("codeview.deactivate"),this.layoutInfo.editable.attr("contenteditable",!1),this.invoke("toolbar.deactivate",!0)},this.triggerEvent=function(){var t=list.head(arguments),n=list.tail(list.from(arguments)),a=this.options.callbacks[func.namespaceToCamel(t,"on")];a&&a.apply(e[0],n),e.trigger("summernote."+t,n)},this.initializeModule=function(t){var n=this.modules[t];n.shouldInitialize=n.shouldInitialize||func.ok,n.shouldInitialize()&&(n.initialize&&n.initialize(),n.events&&dom.attachEvents(e,n.events))},this.module=function(e,t,n){return 1===arguments.length?this.modules[e]:(this.modules[e]=new t(this),void(n||this.initializeModule(e)))},this.removeModule=function(t){var n=this.modules[t];n.shouldInitialize()&&(n.events&&dom.detachEvents(e,n.events),n.destroy&&n.destroy()),delete this.modules[t]},this.memo=function(e,t){return 1===arguments.length?this.memos[e]:void(this.memos[e]=t)},this.removeMemo=function(e){this.memos[e]&&this.memos[e].destroy&&this.memos[e].destroy(),delete this.memos[e]},this.createInvokeHandler=function(e,t){return function(a){a.preventDefault(),n.invoke(e,t||$(a.target).closest("[data-value]").data("value"))}},this.invoke=function(){var e=list.head(arguments),t=list.tail(list.from(arguments)),n=e.split("."),a=n.length>1,i=a&&list.head(n),o=a?list.last(n):list.head(n),s=this.modules[i||"editor"];return!i&&this[o]?this[o].apply(this,t):s&&s[o]&&s.shouldInitialize()?s[o].apply(s,t):void 0},this.initialize()};$.fn.extend({summernote:function(){var e=$.type(list.head(arguments)),t="string"===e,n="object"===e,a=n?list.head(arguments):{};a=$.extend({},$.summernote.options,a),a.langInfo=$.extend(!0,{},$.summernote.lang["en-US"],$.summernote.lang[a.lang]),a.icons=$.extend(!0,{},$.summernote.options.icons,a.icons),this.each(function(e,t){var n=$(t);if(!n.data("summernote")){var i=new Context(n,a);n.data("summernote",i),n.data("summernote").triggerEvent("init",i.layoutInfo)}});var i=this.first();if(i.length){var o=i.data("summernote");if(t)return o.invoke.apply(o,list.from(arguments));a.focus&&o.invoke("editor.focus")}return this}});var Renderer=function(e,t,n,a){this.render=function(i){var o=$(e);if(n&&n.contents&&o.html(n.contents),n&&n.className&&o.addClass(n.className),n&&n.data&&$.each(n.data,function(e,t){o.attr("data-"+e,t)}),n&&n.click&&o.on("click",n.click),t){var s=o.find(".note-children-container");t.forEach(function(e){e.render(s.length?s:o)})}return a&&a(o,n),n&&n.callback&&n.callback(o),i&&i.append(o),o}},renderer={create:function(e,t){return function(){var n=$.isArray(arguments[0])?arguments[0]:[],a="object"==typeof arguments[1]?arguments[1]:arguments[0];return a&&a.children&&(n=a.children),new Renderer(e,n,a,t)}}},editor=renderer.create('<div class="note-editor note-frame panel panel-default"/>'),toolbar=renderer.create('<div class="note-toolbar panel-heading"/>'),editingArea=renderer.create('<div class="note-editing-area"/>'),codable=renderer.create('<textarea class="note-codable"/>'),editable=renderer.create('<div class="note-editable panel-body" contentEditable="true"/>'),statusbar=renderer.create(['<div class="note-statusbar">','  <div class="note-resizebar">','    <div class="note-icon-bar"/>','    <div class="note-icon-bar"/>','    <div class="note-icon-bar"/>',"  </div>","</div>"].join("")),airEditor=renderer.create('<div class="note-editor"/>'),airEditable=renderer.create('<div class="note-editable" contentEditable="true"/>'),buttonGroup=renderer.create('<div class="note-btn-group btn-group">'),button=renderer.create('<button type="button" class="note-btn btn btn-default btn-sm" tabindex="-1">',function(e,t){t&&t.tooltip&&e.attr({title:t.tooltip}).tooltip({container:"body",trigger:"hover",placement:"bottom"})}),dropdown=renderer.create('<div class="dropdown-menu">',function(e,t){var n=$.isArray(t.items)?t.items.map(function(e){var n="string"==typeof e?e:e.value||"",a=t.template?t.template(e):e;return'<li><a href="#" data-value="'+n+'">'+a+"</a></li>"}).join(""):t.items;e.html(n)}),dropdownCheck=renderer.create('<div class="dropdown-menu note-check">',function(e,t){var n=$.isArray(t.items)?t.items.map(function(e){var n="string"==typeof e?e:e.value||"",a=t.template?t.template(e):e;return'<li><a href="#" data-value="'+n+'">'+icon(t.checkClassName)+" "+a+"</a></li>"}).join(""):t.items;e.html(n)}),palette=renderer.create('<div class="note-color-palette"/>',function(e,t){for(var n=[],a=0,i=t.colors.length;a<i;a++){for(var o=t.eventName,s=t.colors[a],r=[],d=0,l=s.length;d<l;d++){var c=s[d];r.push(['<button type="button" class="note-color-btn"','style="background-color:',c,'" ','data-event="',o,'" ','data-value="',c,'" ','title="',c,'" ','data-toggle="button" tabindex="-1"></button>'].join(""))}n.push('<div class="note-color-row">'+r.join("")+"</div>")}e.html(n.join("")),e.find(".note-color-btn").tooltip({container:"body",trigger:"hover",placement:"bottom"})}),dialog=renderer.create('<div class="modal" aria-hidden="false" tabindex="-1"/>',function(e,t){t.fade&&e.addClass("fade"),e.html(['<div class="modal-dialog">','  <div class="modal-content">',t.title?'    <div class="modal-header">      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>      <h4 class="modal-title">'+t.title+"</h4>    </div>":"",'    <div class="modal-body">'+t.body+"</div>",t.footer?'    <div class="modal-footer">'+t.footer+"</div>":"","  </div>","</div>"].join(""))}),popover=renderer.create(['<div class="note-popover popover in">','  <div class="arrow"/>','  <div class="popover-content note-children-container"/>',"</div>"].join(""),function(e,t){var n="undefined"!=typeof t.direction?t.direction:"bottom";e.addClass(n),t.hideArrow&&e.find(".arrow").hide()}),icon=function(e,t){return t=t||"i","<"+t+' class="'+e+'"/>'},ui={editor:editor,toolbar:toolbar,editingArea:editingArea,codable:codable,editable:editable,statusbar:statusbar,airEditor:airEditor,airEditable:airEditable,buttonGroup:buttonGroup,button:button,dropdown:dropdown,dropdownCheck:dropdownCheck,palette:palette,dialog:dialog,popover:popover,icon:icon,toggleBtn:function(e,t){e.toggleClass("disabled",!t),e.attr("disabled",!t)},toggleBtnActive:function(e,t){e.toggleClass("active",t)},onDialogShown:function(e,t){e.one("shown.bs.modal",t)},onDialogHidden:function(e,t){e.one("hidden.bs.modal",t)},showDialog:function(e){e.modal("show")},hideDialog:function(e){e.modal("hide")},createLayout:function(e,t){var n=(t.airMode?ui.airEditor([ui.editingArea([ui.airEditable()])]):ui.editor([ui.toolbar(),ui.editingArea([ui.codable(),ui.editable()]),ui.statusbar()])).render();return n.insertAfter(e),{note:e,editor:n,toolbar:n.find(".note-toolbar"),editingArea:n.find(".note-editing-area"),editable:n.find(".note-editable"),codable:n.find(".note-codable"),statusbar:n.find(".note-statusbar")}},removeLayout:function(e,t){e.html(t.editable.html()),t.editor.remove(),e.show()}};$.summernote=$.summernote||{lang:{}},$.extend($.summernote.lang,{"en-US":{font:{bold:"Bold",italic:"Italic",underline:"Underline",clear:"Remove Font Style",height:"Line Height",name:"Font Type",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",size:"Font Size"},image:{image:"Image",insert:"Insert Image",resizeFull:"Resize Full",resizeHalf:"Resize Half",resizeQuarter:"Resize Quarter",floatLeft:"Float Left",floatRight:"Float Right",floatNone:"Float None",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Drag image or text here",dropImage:"Drop image or Text",selectFromFiles:"Select from files",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Image URL",remove:"Remove Image"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Link",insert:"Insert Link",unlink:"Unlink",edit:"Edit",textToDisplay:"Text to display",url:"To what URL should this link go?",openInNewWindow:"Open in new window"},table:{table:"Table"},hr:{insert:"Insert Horizontal Line"},style:{style:"Style",normal:"Normal",blockquote:"Quote",pre:"Code",h1:"Header 1",h2:"Header 2",h3:"Header 3",h4:"Header 4",h5:"Header 5",h6:"Header 6"},lists:{unordered:"Bullet list",ordered:"Numbered list"},options:{help:"Help",fullscreen:"Full Screen",codeview:"Code View"},paragraph:{paragraph:"Paragraph",outdent:"Outdent",indent:"Indent",left:"Align left",center:"Align center",right:"Align right",justify:"Justify"},color:{recent:"Recent Color",more:"More Colors",background:"Highlight",foreground:"Font Color",transparent:"Transparent",setTransparent:"Set transparent",reset:"Reset",resetToDefault:"Reset to default"},shortcut:{shortcuts:"Keyboard shortcuts",close:"Close",textFormatting:"Text formatting",action:"Action",paragraphFormatting:"Paragraph formatting",documentStyle:"Document Style",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Undo",redo:"Redo"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}});var key=function(){var e={BACKSPACE:8,TAB:9,ENTER:13,SPACE:32,SUPR:46,LEFT:37,UP:38,RIGHT:39,DOWN:40,NUM0:48,NUM1:49,NUM2:50,NUM3:51,NUM4:52,NUM5:53,NUM6:54,NUM7:55,NUM8:56,B:66,E:69,I:73,J:74,K:75,L:76,R:82,S:83,U:85,V:86,Y:89,Z:90,SLASH:191,LEFTBRACKET:219,BACKSLASH:220,RIGHTBRACKET:221};return{isEdit:function(t){return list.contains([e.BACKSPACE,e.SUPR,e.TAB,e.ENTER,e.SPACE],t)},isMove:function(t){return list.contains([e.LEFT,e.UP,e.RIGHT,e.DOWN],t)},nameFromCode:func.invertObject(e),code:e}}(),range=function(){var e=function(e,t){var n,a,i=e.parentElement(),o=document.body.createTextRange(),s=list.from(i.childNodes);for(n=0;n<s.length;n++)if(!dom.isText(s[n])){if(o.moveToElementText(s[n]),o.compareEndPoints("StartToStart",e)>=0)break;a=s[n]}if(0!==n&&dom.isText(s[n-1])){var r=document.body.createTextRange(),d=null;r.moveToElementText(a||i),r.collapse(!a),d=a?a.nextSibling:i.firstChild;var l=e.duplicate();l.setEndPoint("StartToStart",r);for(var c=l.text.replace(/[\r\n]/g,"").length;c>d.nodeValue.length&&d.nextSibling;)c-=d.nodeValue.length,d=d.nextSibling;d.nodeValue;t&&d.nextSibling&&dom.isText(d.nextSibling)&&c===d.nodeValue.length&&(c-=d.nodeValue.length,d=d.nextSibling),i=d,n=c}return{cont:i,offset:n}},t=function(e){var t=function(e,n){var a,i;if(dom.isText(e)){var o=dom.listPrev(e,func.not(dom.isText)),s=list.last(o).previousSibling;a=s||e.parentNode,n+=list.sum(list.tail(o),dom.nodeLength),i=!s}else{if(a=e.childNodes[n]||e,dom.isText(a))return t(a,0);n=0,i=!1}return{node:a,collapseToStart:i,offset:n}},n=document.body.createTextRange(),a=t(e.node,e.offset);return n.moveToElementText(a.node),n.collapse(a.collapseToStart),n.moveStart("character",a.offset),n},n=function(e,a,i,o){this.sc=e,this.so=a,this.ec=i,this.eo=o;var s=function(){if(agent.isW3CRangeSupport){var n=document.createRange();return n.setStart(e,a),n.setEnd(i,o),n}var s=t({node:e,offset:a});return s.setEndPoint("EndToEnd",t({node:i,offset:o})),s};this.getPoints=function(){return{sc:e,so:a,ec:i,eo:o}},this.getStartPoint=function(){return{node:e,offset:a}},this.getEndPoint=function(){return{node:i,offset:o}},this.select=function(){var e=s();if(agent.isW3CRangeSupport){var t=document.getSelection();t.rangeCount>0&&t.removeAllRanges(),t.addRange(e)}else e.select();return this},this.scrollIntoView=function(e){var t=$(e).height();return e.scrollTop+t<this.sc.offsetTop&&(e.scrollTop+=Math.abs(e.scrollTop+t-this.sc.offsetTop)),this},this.normalize=function(){var e=function(e,t){if(dom.isVisiblePoint(e)&&!dom.isEdgePoint(e)||dom.isVisiblePoint(e)&&dom.isRightEdgePoint(e)&&!t||dom.isVisiblePoint(e)&&dom.isLeftEdgePoint(e)&&t||dom.isVisiblePoint(e)&&dom.isBlock(e.node)&&dom.isEmpty(e.node))return e;var n=dom.ancestor(e.node,dom.isBlock);if((dom.isLeftEdgePointOf(e,n)||dom.isVoid(dom.prevPoint(e).node))&&!t||(dom.isRightEdgePointOf(e,n)||dom.isVoid(dom.nextPoint(e).node))&&t){if(dom.isVisiblePoint(e))return e;t=!t}var a=t?dom.nextPointUntil(dom.nextPoint(e),dom.isVisiblePoint):dom.prevPointUntil(dom.prevPoint(e),dom.isVisiblePoint);return a||e},t=e(this.getEndPoint(),!1),a=this.isCollapsed()?t:e(this.getStartPoint(),!0);return new n(a.node,a.offset,t.node,t.offset)},this.nodes=function(e,t){e=e||func.ok;var n=t&&t.includeAncestor,a=t&&t.fullyContains,i=this.getStartPoint(),o=this.getEndPoint(),s=[],r=[];return dom.walkPoint(i,o,function(t){if(!dom.isEditable(t.node)){var i;a?(dom.isLeftEdgePoint(t)&&r.push(t.node),dom.isRightEdgePoint(t)&&list.contains(r,t.node)&&(i=t.node)):i=n?dom.ancestor(t.node,e):t.node,i&&e(i)&&s.push(i)}},!0),list.unique(s)},this.commonAncestor=function(){return dom.commonAncestor(e,i)},this.expand=function(t){var s=dom.ancestor(e,t),r=dom.ancestor(i,t);if(!s&&!r)return new n(e,a,i,o);var d=this.getPoints();return s&&(d.sc=s,d.so=0),r&&(d.ec=r,d.eo=dom.nodeLength(r)),new n(d.sc,d.so,d.ec,d.eo)},this.collapse=function(t){return t?new n(e,a,e,a):new n(i,o,i,o)},this.splitText=function(){var t=e===i,s=this.getPoints();return dom.isText(i)&&!dom.isEdgePoint(this.getEndPoint())&&i.splitText(o),dom.isText(e)&&!dom.isEdgePoint(this.getStartPoint())&&(s.sc=e.splitText(a),s.so=0,t&&(s.ec=s.sc,s.eo=o-a)),new n(s.sc,s.so,s.ec,s.eo)},this.deleteContents=function(){if(this.isCollapsed())return this;var e=this.splitText(),t=e.nodes(null,{fullyContains:!0}),a=dom.prevPointUntil(e.getStartPoint(),function(e){return!list.contains(t,e.node)}),i=[];return $.each(t,function(e,t){var n=t.parentNode;a.node!==n&&1===dom.nodeLength(n)&&i.push(n),dom.remove(t,!1)}),$.each(i,function(e,t){dom.remove(t,!1)}),new n(a.node,a.offset,a.node,a.offset).normalize()};var r=function(t){return function(){var n=dom.ancestor(e,t);return!!n&&n===dom.ancestor(i,t)}};this.isOnEditable=r(dom.isEditable),this.isOnList=r(dom.isList),this.isOnAnchor=r(dom.isAnchor),this.isOnCell=r(dom.isCell),this.isOnData=r(dom.isData),this.isLeftEdgeOf=function(e){if(!dom.isLeftEdgePoint(this.getStartPoint()))return!1;var t=dom.ancestor(this.sc,e);return t&&dom.isLeftEdgeOf(this.sc,t)},this.isCollapsed=function(){return e===i&&a===o},this.wrapBodyInlineWithPara=function(){if(dom.isBodyContainer(e)&&dom.isEmpty(e))return e.innerHTML=dom.emptyPara,new n(e.firstChild,0,e.firstChild,0);var t=this.normalize();if(dom.isParaInline(e)||dom.isPara(e))return t;var a;if(dom.isInline(t.sc)){var i=dom.listAncestor(t.sc,func.not(dom.isInline));a=list.last(i),dom.isInline(a)||(a=i[i.length-2]||t.sc.childNodes[t.so])}else a=t.sc.childNodes[t.so>0?t.so-1:0];var o=dom.listPrev(a,dom.isParaInline).reverse();if(o=o.concat(dom.listNext(a.nextSibling,dom.isParaInline)),o.length){var s=dom.wrap(list.head(o),"p");dom.appendChildNodes(s,list.tail(o))}return this.normalize()},this.insertNode=function(e){var t=this.wrapBodyInlineWithPara().deleteContents(),n=dom.splitPoint(t.getStartPoint(),dom.isInline(e));return n.rightNode?n.rightNode.parentNode.insertBefore(e,n.rightNode):n.container.appendChild(e),e},this.pasteHTML=function(e){var t=$("<div></div>").html(e)[0],n=list.from(t.childNodes),a=this.wrapBodyInlineWithPara().deleteContents();return n.reverse().map(function(e){return a.insertNode(e)}).reverse()},this.toString=function(){var e=s();return agent.isW3CRangeSupport?e.toString():e.text},this.getWordRange=function(e){var t=this.getEndPoint();if(!dom.isCharPoint(t))return this;var a=dom.prevPointUntil(t,function(e){return!dom.isCharPoint(e)});return e&&(t=dom.nextPointUntil(t,function(e){return!dom.isCharPoint(e)})),new n(a.node,a.offset,t.node,t.offset)},this.bookmark=function(t){return{s:{path:dom.makeOffsetPath(t,e),offset:a},e:{path:dom.makeOffsetPath(t,i),offset:o}}},this.paraBookmark=function(t){return{s:{path:list.tail(dom.makeOffsetPath(list.head(t),e)),offset:a},e:{path:list.tail(dom.makeOffsetPath(list.last(t),i)),offset:o}}},this.getClientRects=function(){var e=s();return e.getClientRects()}};return{create:function(e,t,a,i){if(4===arguments.length)return new n(e,t,a,i);if(2===arguments.length)return a=e,i=t,new n(e,t,a,i);var o=this.createFromSelection();return o||1!==arguments.length?o:(o=this.createFromNode(arguments[0]),o.collapse(dom.emptyPara===arguments[0].innerHTML))},createFromSelection:function(){var t,a,i,o;if(agent.isW3CRangeSupport){var s=document.getSelection();if(!s||0===s.rangeCount)return null;if(dom.isBody(s.anchorNode))return null;var r=s.getRangeAt(0);t=r.startContainer,a=r.startOffset,i=r.endContainer,o=r.endOffset}else{var d=document.selection.createRange(),l=d.duplicate();l.collapse(!1);var c=d;c.collapse(!0);var h=e(c,!0),u=e(l,!1);dom.isText(h.node)&&dom.isLeftEdgePoint(h)&&dom.isTextNode(u.node)&&dom.isRightEdgePoint(u)&&u.node.nextSibling===h.node&&(h=u),t=h.cont,a=h.offset,i=u.cont,o=u.offset}return new n(t,a,i,o)},createFromNode:function(e){var t=e,n=0,a=e,i=dom.nodeLength(a);return dom.isVoid(t)&&(n=dom.listPrev(t).length-1,t=t.parentNode),dom.isBR(a)?(i=dom.listPrev(a).length-1,a=a.parentNode):dom.isVoid(a)&&(i=dom.listPrev(a).length,a=a.parentNode),this.create(t,n,a,i)},createFromNodeBefore:function(e){return this.createFromNode(e).collapse(!0)},createFromNodeAfter:function(e){return this.createFromNode(e).collapse()},createFromBookmark:function(e,t){var a=dom.fromOffsetPath(e,t.s.path),i=t.s.offset,o=dom.fromOffsetPath(e,t.e.path),s=t.e.offset;return new n(a,i,o,s)},createFromParaBookmark:function(e,t){var a=e.s.offset,i=e.e.offset,o=dom.fromOffsetPath(list.head(t),e.s.path),s=dom.fromOffsetPath(list.last(t),e.e.path);return new n(o,a,s,i)}}}(),async=function(){var e=function(e){return $.Deferred(function(t){$.extend(new FileReader,{onload:function(e){var n=e.target.result;t.resolve(n)},onerror:function(){t.reject(this)}}).readAsDataURL(e)}).promise()},t=function(e){return $.Deferred(function(t){var n=$("<img>");n.one("load",function(){n.off("error abort"),t.resolve(n)}).one("error abort",function(){n.off("load").detach(),t.reject(n)}).css({display:"none"}).appendTo(document.body).attr("src",e)}).promise()};return{readFileAsDataURL:e,createImage:t}}(),History=function(e){
var t=[],n=-1,a=e[0],i=function(){var t=range.create(a),n={s:{path:[],offset:0},e:{path:[],offset:0}};return{contents:e.html(),bookmark:t?t.bookmark(a):n}},o=function(t){null!==t.contents&&e.html(t.contents),null!==t.bookmark&&range.createFromBookmark(a,t.bookmark).select()};this.rewind=function(){e.html()!==t[n].contents&&this.recordUndo(),n=0,o(t[n])},this.reset=function(){t=[],n=-1,e.html(""),this.recordUndo()},this.undo=function(){e.html()!==t[n].contents&&this.recordUndo(),0<n&&(n--,o(t[n]))},this.redo=function(){t.length-1>n&&(n++,o(t[n]))},this.recordUndo=function(){n++,t.length>n&&(t=t.slice(0,n)),t.push(i())}},Style=function(){var e=function(e,t){if(agent.jqueryVersion<1.9){var n={};return $.each(t,function(t,a){n[a]=e.css(a)}),n}return e.css.call(e,t)};this.fromNode=function(t){var n=["font-family","font-size","text-align","list-style-type","line-height"],a=e(t,n)||{};return a["font-size"]=parseInt(a["font-size"],10),a},this.stylePara=function(e,t){$.each(e.nodes(dom.isPara,{includeAncestor:!0}),function(e,n){$(n).css(t)})},this.styleNodes=function(e,t){e=e.splitText();var n=t&&t.nodeName||"SPAN",a=!(!t||!t.expandClosestSibling),i=!(!t||!t.onlyPartialContains);if(e.isCollapsed())return[e.insertNode(dom.create(n))];var o=dom.makePredByNodeName(n),s=e.nodes(dom.isText,{fullyContains:!0}).map(function(e){return dom.singleChildAncestor(e,o)||dom.wrap(e,n)});if(a){if(i){var r=e.nodes();o=func.and(o,function(e){return list.contains(r,e)})}return s.map(function(e){var t=dom.withClosestSiblings(e,o),n=list.head(t),a=list.tail(t);return $.each(a,function(e,t){dom.appendChildNodes(n,t.childNodes),dom.remove(t)}),list.head(t)})}return s},this.current=function(e){var t=$(dom.isElement(e.sc)?e.sc:e.sc.parentNode),n=this.fromNode(t);try{n=$.extend(n,{"font-bold":document.queryCommandState("bold")?"bold":"normal","font-italic":document.queryCommandState("italic")?"italic":"normal","font-underline":document.queryCommandState("underline")?"underline":"normal","font-subscript":document.queryCommandState("subscript")?"subscript":"normal","font-superscript":document.queryCommandState("superscript")?"superscript":"normal","font-strikethrough":document.queryCommandState("strikethrough")?"strikethrough":"normal"})}catch(a){}if(e.isOnList()){var i=["circle","disc","disc-leading-zero","square"],o=$.inArray(n["list-style-type"],i)>-1;n["list-style"]=o?"unordered":"ordered"}else n["list-style"]="none";var s=dom.ancestor(e.sc,dom.isPara);if(s&&s.style["line-height"])n["line-height"]=s.style.lineHeight;else{var r=parseInt(n["line-height"],10)/parseInt(n["font-size"],10);n["line-height"]=r.toFixed(1)}return n.anchor=e.isOnAnchor()&&dom.ancestor(e.sc,dom.isAnchor),n.ancestors=dom.listAncestor(e.sc,dom.isEditable),n.range=e,n}},Bullet=function(){var e=this;this.insertOrderedList=function(e){this.toggleList("OL",e)},this.insertUnorderedList=function(e){this.toggleList("UL",e)},this.indent=function(e){var t=this,n=range.create(e).wrapBodyInlineWithPara(),a=n.nodes(dom.isPara,{includeAncestor:!0}),i=list.clusterBy(a,func.peq2("parentNode"));$.each(i,function(e,n){var a=list.head(n);dom.isLi(a)?t.wrapList(n,a.parentNode.nodeName):$.each(n,function(e,t){$(t).css("marginLeft",function(e,t){return(parseInt(t,10)||0)+25})})}),n.select()},this.outdent=function(e){var t=this,n=range.create(e).wrapBodyInlineWithPara(),a=n.nodes(dom.isPara,{includeAncestor:!0}),i=list.clusterBy(a,func.peq2("parentNode"));$.each(i,function(e,n){var a=list.head(n);dom.isLi(a)?t.releaseList([n]):$.each(n,function(e,t){$(t).css("marginLeft",function(e,t){return t=parseInt(t,10)||0,t>25?t-25:""})})}),n.select()},this.toggleList=function(t,n){var a=range.create(n).wrapBodyInlineWithPara(),i=a.nodes(dom.isPara,{includeAncestor:!0}),o=a.paraBookmark(i),s=list.clusterBy(i,func.peq2("parentNode"));if(list.find(i,dom.isPurePara)){var r=[];$.each(s,function(n,a){r=r.concat(e.wrapList(a,t))}),i=r}else{var d=a.nodes(dom.isList,{includeAncestor:!0}).filter(function(e){return!$.nodeName(e,t)});d.length?$.each(d,function(e,n){dom.replace(n,t)}):i=this.releaseList(s,!0)}range.createFromParaBookmark(o,i).select()},this.wrapList=function(e,t){var n=list.head(e),a=list.last(e),i=dom.isList(n.previousSibling)&&n.previousSibling,o=dom.isList(a.nextSibling)&&a.nextSibling,s=i||dom.insertAfter(dom.create(t||"UL"),a);return e=e.map(function(e){return dom.isPurePara(e)?dom.replace(e,"LI"):e}),dom.appendChildNodes(s,e),o&&(dom.appendChildNodes(s,list.from(o.childNodes)),dom.remove(o)),e},this.releaseList=function(e,t){var n=[];return $.each(e,function(e,a){var i=list.head(a),o=list.last(a),s=t?dom.lastAncestor(i,dom.isList):i.parentNode,r=s.childNodes.length>1?dom.splitTree(s,{node:o.parentNode,offset:dom.position(o)+1},{isSkipPaddingBlankHTML:!0}):null,d=dom.splitTree(s,{node:i.parentNode,offset:dom.position(i)},{isSkipPaddingBlankHTML:!0});a=t?dom.listDescendant(d,dom.isLi):list.from(d.childNodes).filter(dom.isLi),!t&&dom.isList(s.parentNode)||(a=a.map(function(e){return dom.replace(e,"P")})),$.each(list.from(a).reverse(),function(e,t){dom.insertAfter(t,s)});var l=list.compact([s,d,r]);$.each(l,function(e,t){var n=[t].concat(dom.listDescendant(t,dom.isList));$.each(n.reverse(),function(e,t){dom.nodeLength(t)||dom.remove(t,!0)})}),n=n.concat(a)}),n}},Typing=function(){var e=new Bullet;this.insertTab=function(e,t){var n=dom.createText(new Array(t+1).join(dom.NBSP_CHAR));e=e.deleteContents(),e.insertNode(n,!0),e=range.create(n,t),e.select()},this.insertParagraph=function(t){var n=range.create(t);n=n.deleteContents(),n=n.wrapBodyInlineWithPara();var a,i=dom.ancestor(n.sc,dom.isPara);if(i){if(dom.isEmpty(i)&&dom.isLi(i))return void e.toggleList(i.parentNode.nodeName);if(dom.isEmpty(i)&&dom.isPara(i)&&dom.isBlockquote(i.parentNode))dom.insertAfter(i,i.parentNode),a=i;else{a=dom.splitTree(i,n.getStartPoint());var o=dom.listDescendant(i,dom.isEmptyAnchor);o=o.concat(dom.listDescendant(a,dom.isEmptyAnchor)),$.each(o,function(e,t){dom.remove(t)}),(dom.isHeading(a)||dom.isPre(a))&&dom.isEmpty(a)&&(a=dom.replace(a,"p"))}}else{var s=n.sc.childNodes[n.so];a=$(dom.emptyPara)[0],s?n.sc.insertBefore(a,s):n.sc.appendChild(a)}range.create(a,0).normalize().select().scrollIntoView(t)}},Table=function(){this.tab=function(e,t){var n=dom.ancestor(e.commonAncestor(),dom.isCell),a=dom.ancestor(n,dom.isTable),i=dom.listDescendant(a,dom.isCell),o=list[t?"prev":"next"](i,n);o&&range.create(o,0).select()},this.createTable=function(e,t,n){for(var a,i=[],o=0;o<e;o++)i.push("<td>"+dom.blank+"</td>");a=i.join("");for(var s,r=[],d=0;d<t;d++)r.push("<tr>"+a+"</tr>");s=r.join("");var l=$("<table>"+s+"</table>");return n&&n.tableClassName&&l.addClass(n.tableClassName),l[0]}},KEY_BOGUS="bogus",Editor=function(e){var t=this,n=e.layoutInfo.note,a=e.layoutInfo.editor,i=e.layoutInfo.editable,o=e.options,s=o.langInfo,r=i[0],d=null,l=new Style,c=new Table,h=new Typing,u=new Bullet,m=new History(i);this.initialize=function(){i.on("keydown",function(n){n.keyCode===key.code.ENTER&&e.triggerEvent("enter",n),e.triggerEvent("keydown",n),n.isDefaultPrevented()||(o.shortcuts?t.handleKeyMap(n):t.preventDefaultEditableShortCuts(n))}).on("keyup",function(t){e.triggerEvent("keyup",t)}).on("focus",function(t){e.triggerEvent("focus",t)}).on("blur",function(t){e.triggerEvent("blur",t)}).on("mousedown",function(t){e.triggerEvent("mousedown",t)}).on("mouseup",function(t){e.triggerEvent("mouseup",t)}).on("scroll",function(t){e.triggerEvent("scroll",t)}).on("paste",function(t){e.triggerEvent("paste",t)}),i.html(dom.html(n)||dom.emptyPara);var s=agent.isMSIE?"DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted":"input";i.on(s,func.debounce(function(){e.triggerEvent("change",i.html())},250)),a.on("focusin",function(t){e.triggerEvent("focusin",t)}).on("focusout",function(t){e.triggerEvent("focusout",t)}),o.airMode||(o.width&&a.outerWidth(o.width),o.height&&i.outerHeight(o.height),o.maxHeight&&i.css("max-height",o.maxHeight),o.minHeight&&i.css("min-height",o.minHeight)),m.recordUndo()},this.destroy=function(){i.off()},this.handleKeyMap=function(t){var n=o.keyMap[agent.isMac?"mac":"pc"],a=[];t.metaKey&&a.push("CMD"),t.ctrlKey&&!t.altKey&&a.push("CTRL"),t.shiftKey&&a.push("SHIFT");var i=key.nameFromCode[t.keyCode];i&&a.push(i);var s=n[a.join("+")];s?(t.preventDefault(),e.invoke(s)):key.isEdit(t.keyCode)&&this.afterCommand()},this.preventDefaultEditableShortCuts=function(e){(e.ctrlKey||e.metaKey)&&list.contains([66,73,85],e.keyCode)&&e.preventDefault()},this.createRange=function(){return this.focus(),range.create(r)},this.saveRange=function(e){d=this.createRange(),e&&d.collapse().select()},this.restoreRange=function(){d&&(d.select(),this.focus())},this.saveTarget=function(e){i.data("target",e)},this.clearTarget=function(){i.removeData("target")},this.restoreTarget=function(){return i.data("target")},this.currentStyle=function(){var e=range.create();return e&&(e=e.normalize()),e?l.current(e):l.fromNode(i)},this.styleFromNode=function(e){return l.fromNode(e)},this.undo=function(){e.triggerEvent("before.command",i.html()),m.undo(),e.triggerEvent("change",i.html())},e.memo("help.undo",s.help.undo),this.redo=function(){e.triggerEvent("before.command",i.html()),m.redo(),e.triggerEvent("change",i.html())},e.memo("help.redo",s.help.redo);for(var p=this.beforeCommand=function(){e.triggerEvent("before.command",i.html()),t.focus()},f=this.afterCommand=function(t){m.recordUndo(),t||e.triggerEvent("change",i.html())},g=["bold","italic","underline","strikethrough","superscript","subscript","justifyLeft","justifyCenter","justifyRight","justifyFull","formatBlock","removeFormat","backColor","foreColor","fontName"],v=0,b=g.length;v<b;v++)this[g[v]]=function(e){return function(t){p(),document.execCommand(e,!1,t),f(!0)}}(g[v]),e.memo("help."+g[v],s.help[g[v]]);this.tab=function(){var e=this.createRange();e.isCollapsed()&&e.isOnCell()?c.tab(e):(p(),h.insertTab(e,o.tabSize),f())},e.memo("help.tab",s.help.tab),this.untab=function(){var e=this.createRange();e.isCollapsed()&&e.isOnCell()&&c.tab(e,!0)},e.memo("help.untab",s.help.untab),this.wrapCommand=function(e){return function(){p(),e.apply(t,arguments),f()}},this.insertParagraph=this.wrapCommand(function(){h.insertParagraph(r)}),e.memo("help.insertParagraph",s.help.insertParagraph),this.insertOrderedList=this.wrapCommand(function(){u.insertOrderedList(r)}),e.memo("help.insertOrderedList",s.help.insertOrderedList),this.insertUnorderedList=this.wrapCommand(function(){u.insertUnorderedList(r)}),e.memo("help.insertUnorderedList",s.help.insertUnorderedList),this.indent=this.wrapCommand(function(){u.indent(r)}),e.memo("help.indent",s.help.indent),this.outdent=this.wrapCommand(function(){u.outdent(r)}),e.memo("help.outdent",s.help.outdent),this.insertImage=function(t,n){return async.createImage(t,n).then(function(e){p(),"function"==typeof n?n(e):("string"==typeof n&&e.attr("data-filename",n),e.css("width",Math.min(i.width(),e.width()))),e.show(),range.create(r).insertNode(e[0]),range.createFromNodeAfter(e[0]).select(),f()}).fail(function(t){e.triggerEvent("image.upload.error",t)})},this.insertImages=function(n){$.each(n,function(n,a){var i=a.name;o.maximumImageFileSize&&o.maximumImageFileSize<a.size?e.triggerEvent("image.upload.error",s.image.maximumFileSizeError):async.readFileAsDataURL(a).then(function(e){return t.insertImage(e,i)}).fail(function(){e.triggerEvent("image.upload.error")})})},this.insertImagesOrCallback=function(t){var n=o.callbacks;n.onImageUpload?e.triggerEvent("image.upload",t):this.insertImages(t)},this.insertNode=this.wrapCommand(function(e){var t=this.createRange();t.insertNode(e),range.createFromNodeAfter(e).select()}),this.insertText=this.wrapCommand(function(e){var t=this.createRange(),n=t.insertNode(dom.createText(e));range.create(n,dom.nodeLength(n)).select()}),this.getSelectedText=function(){var e=this.createRange();return e.isOnAnchor()&&(e=range.createFromNode(dom.ancestor(e.sc,dom.isAnchor))),e.toString()},this.pasteHTML=this.wrapCommand(function(e){var t=this.createRange().pasteHTML(e);range.createFromNodeAfter(list.last(t)).select()}),this.formatBlock=this.wrapCommand(function(e){e=agent.isMSIE?"<"+e+">":e,document.execCommand("FormatBlock",!1,e)}),this.formatPara=function(){this.formatBlock("P")},e.memo("help.formatPara",s.help.formatPara);for(var v=1;v<=6;v++)this["formatH"+v]=function(e){return function(){this.formatBlock("H"+e)}}(v),e.memo("help.formatH"+v,s.help["formatH"+v]);this.fontSize=function(e){var t=this.createRange();if(t&&t.isCollapsed()){var n=l.styleNodes(t),a=list.head(n);$(n).css({"font-size":e+"px"}),a&&!dom.nodeLength(a)&&(a.innerHTML=dom.ZERO_WIDTH_NBSP_CHAR,range.createFromNodeAfter(a.firstChild).select(),i.data(KEY_BOGUS,a))}else p(),$(l.styleNodes(t)).css({"font-size":e+"px"}),f()},this.insertHorizontalRule=this.wrapCommand(function(){var e=this.createRange().insertNode(dom.create("HR"));e.nextSibling&&range.create(e.nextSibling,0).normalize().select()}),e.memo("help.insertHorizontalRule",s.help.insertHorizontalRule),this.removeBogus=function(){var e=i.data(KEY_BOGUS);if(e){var t=list.find(list.from(e.childNodes),dom.isText),n=t.nodeValue.indexOf(dom.ZERO_WIDTH_NBSP_CHAR);n!==-1&&t.deleteData(n,1),dom.isEmpty(e)&&dom.remove(e),i.removeData(KEY_BOGUS)}},this.lineHeight=this.wrapCommand(function(e){l.stylePara(this.createRange(),{lineHeight:e})}),this.unlink=function(){var e=this.createRange();if(e.isOnAnchor()){var t=dom.ancestor(e.sc,dom.isAnchor);e=range.createFromNode(t),e.select(),p(),document.execCommand("unlink"),f()}},this.createLink=this.wrapCommand(function(e){var t=e.url,n=e.text,a=e.isNewWindow,i=e.range||this.createRange(),s=i.toString()!==n;"string"==typeof t&&(t=t.trim()),o.onCreateLink&&(t=o.onCreateLink(t));var r=[];if(s){i=i.deleteContents();var d=i.insertNode($("<A>"+n+"</A>")[0]);r.push(d)}else r=l.styleNodes(i,{nodeName:"A",expandClosestSibling:!0,onlyPartialContains:!0});$.each(r,function(e,n){t=/^[A-Za-z][A-Za-z0-9+-.]*\:[\/\/]?/.test(t)?t:"http://"+t,$(n).attr("href",t),a?$(n).attr("target","_blank"):$(n).removeAttr("target")});var c=range.createFromNodeBefore(list.head(r)),h=c.getStartPoint(),u=range.createFromNodeAfter(list.last(r)),m=u.getEndPoint();range.create(h.node,h.offset,m.node,m.offset).select()}),this.getLinkInfo=function(){var e=this.createRange().expand(dom.isAnchor),t=$(list.head(e.nodes(dom.isAnchor)));return{range:e,text:e.toString(),isNewWindow:!!t.length&&"_blank"===t.attr("target"),url:t.length?t.attr("href"):""}},this.color=this.wrapCommand(function(e){var t=e.foreColor,n=e.backColor;t&&document.execCommand("foreColor",!1,t),n&&document.execCommand("backColor",!1,n)}),this.insertTable=this.wrapCommand(function(e){var t=e.split("x"),n=this.createRange().deleteContents();n.insertNode(c.createTable(t[0],t[1],o))}),this.floatMe=this.wrapCommand(function(e){var t=$(this.restoreTarget());t.css("float",e)}),this.resize=this.wrapCommand(function(e){var t=$(this.restoreTarget());t.css({width:100*e+"%",height:""})}),this.resizeTo=function(e,t,n){var a;if(n){var i=e.y/e.x,o=t.data("ratio");a={width:o>i?e.x:e.y/o,height:o>i?e.x*o:e.y}}else a={width:e.x,height:e.y};t.css(a)},this.removeMedia=this.wrapCommand(function(){var t=$(this.restoreTarget()).detach();e.triggerEvent("media.delete",t,i)}),this.hasFocus=function(){return i.is(":focus")},this.focus=function(){this.hasFocus()||i.focus()},this.isEmpty=function(){return dom.isEmpty(i[0])||dom.emptyPara===i.html()},this.empty=function(){e.invoke("code",dom.emptyPara)}},Clipboard=function(e){var t=this,n=e.layoutInfo.editable;this.events={"summernote.keydown":function(n,a){t.needKeydownHook()&&(a.ctrlKey||a.metaKey)&&a.keyCode===key.code.V&&(e.invoke("editor.saveRange"),t.$paste.focus(),setTimeout(function(){t.pasteByHook()},0))}},this.needKeydownHook=function(){return agent.isMSIE&&agent.browserVersion>10||agent.isFF},this.initialize=function(){this.needKeydownHook()?(this.$paste=$('<div tabindex="-1" />').attr("contenteditable",!0).css({position:"absolute",left:-1e5,opacity:0}),n.before(this.$paste),this.$paste.on("paste",function(t){e.triggerEvent("paste",t)})):n.on("paste",this.pasteByEvent)},this.destroy=function(){this.needKeydownHook()&&(this.$paste.remove(),this.$paste=null)},this.pasteByHook=function(){var t=this.$paste[0].firstChild;if(dom.isImg(t)){for(var n=t.src,a=atob(n.split(",")[1]),i=new Uint8Array(a.length),o=0;o<a.length;o++)i[o]=a.charCodeAt(o);var s=new Blob([i],{type:"image/png"});s.name="clipboard.png",e.invoke("editor.restoreRange"),e.invoke("editor.focus"),e.invoke("editor.insertImagesOrCallback",[s])}else{var r=$("<div />").html(this.$paste.html()).html();e.invoke("editor.restoreRange"),e.invoke("editor.focus"),r&&e.invoke("editor.pasteHTML",r)}this.$paste.empty()},this.pasteByEvent=function(t){var n=t.originalEvent.clipboardData;if(n&&n.items&&n.items.length){var a=list.head(n.items);"file"===a.kind&&a.type.indexOf("image/")!==-1&&e.invoke("editor.insertImagesOrCallback",[a.getAsFile()]),e.invoke("editor.afterCommand")}}},Dropzone=function(e){var t=$(document),n=e.layoutInfo.editor,a=e.layoutInfo.editable,i=e.options,o=i.langInfo,s={},r=$(['<div class="note-dropzone">','  <div class="note-dropzone-message"/>',"</div>"].join("")).prependTo(n),d=function(){Object.keys(s).forEach(function(e){t.off(e.substr(2).toLowerCase(),s[e])}),s={}};this.initialize=function(){i.disableDragAndDrop?(s.onDrop=function(e){e.preventDefault()},t.on("drop",s.onDrop)):this.attachDragAndDropEvent()},this.attachDragAndDropEvent=function(){var i=$(),d=r.find(".note-dropzone-message");s.onDragenter=function(t){var a=e.invoke("codeview.isActivated"),s=n.width()>0&&n.height()>0;a||i.length||!s||(n.addClass("dragover"),r.width(n.width()),r.height(n.height()),d.text(o.image.dragImageHere)),i=i.add(t.target)},s.onDragleave=function(e){i=i.not(e.target),i.length||n.removeClass("dragover")},s.onDrop=function(){i=$(),n.removeClass("dragover")},t.on("dragenter",s.onDragenter).on("dragleave",s.onDragleave).on("drop",s.onDrop),r.on("dragenter",function(){r.addClass("hover"),d.text(o.image.dropImage)}).on("dragleave",function(){r.removeClass("hover"),d.text(o.image.dragImageHere)}),r.on("drop",function(t){var n=t.originalEvent.dataTransfer;n&&n.files&&n.files.length?(t.preventDefault(),a.focus(),e.invoke("editor.insertImagesOrCallback",n.files)):$.each(n.types,function(t,a){var i=n.getData(a);a.toLowerCase().indexOf("text")>-1?e.invoke("editor.pasteHTML",i):$(i).each(function(){e.invoke("editor.insertNode",this)})})}).on("dragover",!1)},this.destroy=function(){d()}},CodeMirror;agent.hasCodeMirror&&(agent.isSupportAmd?require(["codemirror"],function(e){CodeMirror=e}):CodeMirror=window.CodeMirror);var Codeview=function(e){var t=e.layoutInfo.editor,n=e.layoutInfo.editable,a=e.layoutInfo.codable,i=e.options;this.sync=function(){var e=this.isActivated();e&&agent.hasCodeMirror&&a.data("cmEditor").save()},this.isActivated=function(){return t.hasClass("codeview")},this.toggle=function(){this.isActivated()?this.deactivate():this.activate(),e.triggerEvent("codeview.toggled")},this.activate=function(){if(a.val(dom.html(n,i.prettifyHtml)),a.height(n.height()),e.invoke("toolbar.updateCodeview",!0),t.addClass("codeview"),a.focus(),agent.hasCodeMirror){var o=CodeMirror.fromTextArea(a[0],i.codemirror);if(i.codemirror.tern){var s=new CodeMirror.TernServer(i.codemirror.tern);o.ternServer=s,o.on("cursorActivity",function(e){s.updateArgHints(e)})}o.setSize(null,n.outerHeight()),a.data("cmEditor",o)}},this.deactivate=function(){if(agent.hasCodeMirror){var o=a.data("cmEditor");a.val(o.getValue()),o.toTextArea()}var s=dom.value(a,i.prettifyHtml)||dom.emptyPara,r=n.html()!==s;n.html(s),n.height(i.height?a.height():"auto"),t.removeClass("codeview"),r&&e.triggerEvent("change",n.html(),n),n.focus(),e.invoke("toolbar.updateCodeview",!1)},this.destroy=function(){this.isActivated()&&this.deactivate()}},EDITABLE_PADDING=24,Statusbar=function(e){var t=$(document),n=e.layoutInfo.statusbar,a=e.layoutInfo.editable,i=e.options;this.initialize=function(){i.airMode||i.disableResizeEditor||n.on("mousedown",function(e){e.preventDefault(),e.stopPropagation();var n=a.offset().top-t.scrollTop();t.on("mousemove",function(e){var t=e.clientY-(n+EDITABLE_PADDING);t=i.minheight>0?Math.max(t,i.minheight):t,t=i.maxHeight>0?Math.min(t,i.maxHeight):t,a.height(t)}).one("mouseup",function(){t.off("mousemove")})})},this.destroy=function(){n.off(),n.remove()}},Fullscreen=function(e){var t=e.layoutInfo.editor,n=e.layoutInfo.toolbar,a=e.layoutInfo.editable,i=e.layoutInfo.codable,o=$(window),s=$("html, body");this.toggle=function(){var r=function(e){a.css("height",e.h),i.css("height",e.h),i.data("cmeditor")&&i.data("cmeditor").setsize(null,e.h)};t.toggleClass("fullscreen"),this.isFullscreen()?(a.data("orgHeight",a.css("height")),o.on("resize",function(){r({h:o.height()-n.outerHeight()})}).trigger("resize"),s.css("overflow","hidden")):(o.off("resize"),r({h:a.data("orgHeight")}),s.css("overflow","visible")),e.invoke("toolbar.updateFullscreen",this.isFullscreen())},this.isFullscreen=function(){return t.hasClass("fullscreen")}},Handle=function(e){var t=this,n=$(document),a=e.layoutInfo.editingArea,i=e.options;this.events={"summernote.mousedown":function(e,n){t.update(n.target)&&n.preventDefault()},"summernote.keyup summernote.scroll summernote.change summernote.dialog.shown":function(){t.update()}},this.initialize=function(){this.$handle=$(['<div class="note-handle">','<div class="note-control-selection">','<div class="note-control-selection-bg"></div>','<div class="note-control-holder note-control-nw"></div>','<div class="note-control-holder note-control-ne"></div>','<div class="note-control-holder note-control-sw"></div>','<div class="',i.disableResizeImage?"note-control-holder":"note-control-sizing",' note-control-se"></div>',i.disableResizeImage?"":'<div class="note-control-selection-info"></div>',"</div>","</div>"].join("")).prependTo(a),this.$handle.on("mousedown",function(a){if(dom.isControlSizing(a.target)){a.preventDefault(),a.stopPropagation();var i=t.$handle.find(".note-control-selection").data("target"),o=i.offset(),s=n.scrollTop();n.on("mousemove",function(n){e.invoke("editor.resizeTo",{x:n.clientX-o.left,y:n.clientY-(o.top-s)},i,!n.shiftKey),t.update(i[0])}).one("mouseup",function(t){t.preventDefault(),n.off("mousemove"),e.invoke("editor.afterCommand")}),i.data("ratio")||i.data("ratio",i.height()/i.width())}})},this.destroy=function(){this.$handle.remove()},this.update=function(t){var n=dom.isImg(t),a=this.$handle.find(".note-control-selection");if(e.invoke("imagePopover.update",t),n){var i=$(t),o=i.position(),s={w:i.outerWidth(!0),h:i.outerHeight(!0)};a.css({display:"block",left:o.left,top:o.top,width:s.w,height:s.h}).data("target",i);var r=s.w+"x"+s.h;a.find(".note-control-selection-info").text(r),e.invoke("editor.saveTarget",t)}else this.hide();return n},this.hide=function(){e.invoke("editor.clearTarget"),this.$handle.children().hide()}},AutoLink=function(e){var t=this,n="http://",a=/^([A-Za-z][A-Za-z0-9+-.]*\:[\/\/]?|mailto:[A-Z0-9._%+-]+@)?(www\.)?(.+)$/i;this.events={"summernote.keyup":function(e,n){n.isDefaultPrevented()||t.handleKeyup(n)},"summernote.keydown":function(e,n){t.handleKeydown(n)}},this.initialize=function(){this.lastWordRange=null},this.destroy=function(){this.lastWordRange=null},this.replace=function(){if(this.lastWordRange){var t=this.lastWordRange.toString(),i=t.match(a);if(i&&(i[1]||i[2])){var o=i[1]?t:n+t,s=$("<a />").html(t).attr("href",o)[0];this.lastWordRange.insertNode(s),this.lastWordRange=null,e.invoke("editor.focus")}}},this.handleKeydown=function(t){if(list.contains([key.code.ENTER,key.code.SPACE],t.keyCode)){var n=e.invoke("editor.createRange").getWordRange();this.lastWordRange=n}},this.handleKeyup=function(e){list.contains([key.code.ENTER,key.code.SPACE],e.keyCode)&&this.replace()}},AutoSync=function(e){var t=e.layoutInfo.note;this.events={"summernote.change":function(){t.val(e.invoke("code"))}},this.shouldInitialize=function(){return dom.isTextarea(t[0])}},Placeholder=function(e){var t=this,n=e.layoutInfo.editingArea,a=e.options;this.events={"summernote.init summernote.change":function(){t.update()},"summernote.codeview.toggled":function(){t.update()}},this.shouldInitialize=function(){return!!a.placeholder},this.initialize=function(){this.$placeholder=$('<div class="note-placeholder">'),this.$placeholder.on("click",function(){e.invoke("focus")}).text(a.placeholder).prependTo(n)},this.destroy=function(){this.$placeholder.remove()},this.update=function(){var t=!e.invoke("codeview.isActivated")&&e.invoke("editor.isEmpty");this.$placeholder.toggle(t)}},Buttons=function(e){var t=this,n=$.summernote.ui,a=e.layoutInfo.toolbar,i=e.options,o=i.langInfo,s=func.invertObject(i.keyMap[agent.isMac?"mac":"pc"]),r=this.representShortcut=function(e){var t=s[e];return i.shortcuts&&t?(agent.isMac&&(t=t.replace("CMD","⌘").replace("SHIFT","⇧")),t=t.replace("BACKSLASH","\\").replace("SLASH","/").replace("LEFTBRACKET","[").replace("RIGHTBRACKET","]")," ("+t+")"):""};this.initialize=function(){this.addToolbarButtons(),this.addImagePopoverButtons(),this.addLinkPopoverButtons(),this.fontInstalledMap={}},this.destroy=function(){delete this.fontInstalledMap},this.isFontInstalled=function(e){return t.fontInstalledMap.hasOwnProperty(e)||(t.fontInstalledMap[e]=agent.isFontInstalled(e)||list.contains(i.fontNamesIgnoreCheck,e)),t.fontInstalledMap[e]},this.addToolbarButtons=function(){e.memo("button.style",function(){return n.buttonGroup([n.button({className:"dropdown-toggle",contents:n.icon(i.icons.magic)+" "+n.icon(i.icons.caret,"span"),tooltip:o.style.style,data:{toggle:"dropdown"}}),n.dropdown({className:"dropdown-style",items:e.options.styleTags,template:function(e){"string"==typeof e&&(e={tag:e,title:o.style.hasOwnProperty(e)?o.style[e]:e});var t=e.tag,n=e.title,a=e.style?' style="'+e.style+'" ':"",i=e.className?' class="'+e.className+'"':"";return"<"+t+a+i+">"+n+"</"+t+">"},click:e.createInvokeHandler("editor.formatBlock")})]).render()}),e.memo("button.bold",function(){return n.button({className:"note-btn-bold",contents:n.icon(i.icons.bold),tooltip:o.font.bold+r("bold"),click:e.createInvokeHandler("editor.bold")}).render()}),e.memo("button.italic",function(){return n.button({className:"note-btn-italic",contents:n.icon(i.icons.italic),tooltip:o.font.italic+r("italic"),click:e.createInvokeHandler("editor.italic")}).render()}),e.memo("button.underline",function(){return n.button({className:"note-btn-underline",contents:n.icon(i.icons.underline),tooltip:o.font.underline+r("underline"),click:e.createInvokeHandler("editor.underline")}).render()}),e.memo("button.clear",function(){return n.button({contents:n.icon(i.icons.eraser),tooltip:o.font.clear+r("removeFormat"),click:e.createInvokeHandler("editor.removeFormat")}).render()}),e.memo("button.strikethrough",function(){return n.button({className:"note-btn-strikethrough",contents:n.icon(i.icons.strikethrough),tooltip:o.font.strikethrough+r("strikethrough"),click:e.createInvokeHandler("editor.strikethrough")}).render()}),e.memo("button.superscript",function(){return n.button({className:"note-btn-superscript",contents:n.icon(i.icons.superscript),tooltip:o.font.superscript,click:e.createInvokeHandler("editor.superscript")}).render()}),e.memo("button.subscript",function(){return n.button({className:"note-btn-subscript",contents:n.icon(i.icons.subscript),tooltip:o.font.subscript,click:e.createInvokeHandler("editor.subscript")}).render()}),e.memo("button.fontname",function(){return n.buttonGroup([n.button({className:"dropdown-toggle",contents:'<span class="note-current-fontname"/> '+n.icon(i.icons.caret,"span"),tooltip:o.font.name,data:{toggle:"dropdown"}}),n.dropdownCheck({className:"dropdown-fontname",checkClassName:i.icons.menuCheck,items:i.fontNames.filter(t.isFontInstalled),template:function(e){return'<span style="font-family:'+e+'">'+e+"</span>"},click:e.createInvokeHandler("editor.fontName")})]).render()}),e.memo("button.fontsize",function(){return n.buttonGroup([n.button({className:"dropdown-toggle",contents:'<span class="note-current-fontsize"/>'+n.icon(i.icons.caret,"span"),tooltip:o.font.size,data:{toggle:"dropdown"}}),n.dropdownCheck({className:"dropdown-fontsize",checkClassName:i.icons.menuCheck,items:i.fontSizes,click:e.createInvokeHandler("editor.fontSize")})]).render()}),e.memo("button.color",function(){return n.buttonGroup({className:"note-color",children:[n.button({className:"note-current-color-button",contents:n.icon(i.icons.font+" note-recent-color"),tooltip:o.color.recent,click:function(t){var n=$(t.currentTarget);e.invoke("editor.color",{backColor:n.attr("data-backColor"),foreColor:n.attr("data-foreColor")})},callback:function(e){var t=e.find(".note-recent-color");t.css("background-color","#FFFF00"),e.attr("data-backColor","#FFFF00")}}),n.button({className:"dropdown-toggle",contents:n.icon(i.icons.caret,"span"),tooltip:o.color.more,data:{toggle:"dropdown"}}),n.dropdown({items:["<li>",'<div class="btn-group">','  <div class="note-palette-title">'+o.color.background+"</div>","  <div>",'    <button type="button" class="note-color-reset btn btn-default" data-event="backColor" data-value="inherit">',o.color.transparent,"    </button>","  </div>",'  <div class="note-holder" data-event="backColor"/>',"</div>",'<div class="btn-group">','  <div class="note-palette-title">'+o.color.foreground+"</div>","  <div>",'    <button type="button" class="note-color-reset btn btn-default" data-event="removeFormat" data-value="foreColor">',o.color.resetToDefault,"    </button>","  </div>",'  <div class="note-holder" data-event="foreColor"/>',"</div>","</li>"].join(""),callback:function(e){e.find(".note-holder").each(function(){var e=$(this);e.append(n.palette({colors:i.colors,eventName:e.data("event")}).render())})},click:function(t){var n=$(t.target),a=n.data("event"),i=n.data("value");if(a&&i){var o="backColor"===a?"background-color":"color",s=n.closest(".note-color").find(".note-recent-color"),r=n.closest(".note-color").find(".note-current-color-button");s.css(o,i),r.attr("data-"+a,i),e.invoke("editor."+a,i)}}})]}).render()}),e.memo("button.ul",function(){return n.button({contents:n.icon(i.icons.unorderedlist),tooltip:o.lists.unordered+r("insertUnorderedList"),click:e.createInvokeHandler("editor.insertUnorderedList")}).render()}),e.memo("button.ol",function(){return n.button({contents:n.icon(i.icons.orderedlist),tooltip:o.lists.ordered+r("insertOrderedList"),click:e.createInvokeHandler("editor.insertOrderedList")}).render()});var a=n.button({contents:n.icon(i.icons.alignLeft),tooltip:o.paragraph.left+r("justifyLeft"),click:e.createInvokeHandler("editor.justifyLeft")}),s=n.button({contents:n.icon(i.icons.alignCenter),tooltip:o.paragraph.center+r("justifyCenter"),click:e.createInvokeHandler("editor.justifyCenter")}),d=n.button({contents:n.icon(i.icons.alignRight),tooltip:o.paragraph.right+r("justifyRight"),click:e.createInvokeHandler("editor.justifyRight")}),l=n.button({contents:n.icon(i.icons.alignJustify),tooltip:o.paragraph.justify+r("justifyFull"),click:e.createInvokeHandler("editor.justifyFull")}),c=n.button({contents:n.icon(i.icons.outdent),tooltip:o.paragraph.outdent+r("outdent"),click:e.createInvokeHandler("editor.outdent")}),h=n.button({contents:n.icon(i.icons.indent),tooltip:o.paragraph.indent+r("indent"),click:e.createInvokeHandler("editor.indent")});e.memo("button.justifyLeft",func.invoke(a,"render")),e.memo("button.justifyCenter",func.invoke(s,"render")),e.memo("button.justifyRight",func.invoke(d,"render")),e.memo("button.justifyFull",func.invoke(l,"render")),e.memo("button.outdent",func.invoke(c,"render")),e.memo("button.indent",func.invoke(h,"render")),e.memo("button.paragraph",function(){return n.buttonGroup([n.button({className:"dropdown-toggle",contents:n.icon(i.icons.alignLeft)+" "+n.icon(i.icons.caret,"span"),tooltip:o.paragraph.paragraph,data:{toggle:"dropdown"}}),n.dropdown([n.buttonGroup({className:"note-align",children:[a,s,d,l]}),n.buttonGroup({className:"note-list",
children:[c,h]})])]).render()}),e.memo("button.height",function(){return n.buttonGroup([n.button({className:"dropdown-toggle",contents:n.icon(i.icons.textHeight)+" "+n.icon(i.icons.caret,"span"),tooltip:o.font.height,data:{toggle:"dropdown"}}),n.dropdownCheck({items:i.lineHeights,checkClassName:i.icons.menuCheck,className:"dropdown-line-height",click:e.createInvokeHandler("editor.lineHeight")})]).render()}),e.memo("button.table",function(){return n.buttonGroup([n.button({className:"dropdown-toggle",contents:n.icon(i.icons.table)+" "+n.icon(i.icons.caret,"span"),tooltip:o.table.table,data:{toggle:"dropdown"}}),n.dropdown({className:"note-table",items:['<div class="note-dimension-picker">','  <div class="note-dimension-picker-mousecatcher" data-event="insertTable" data-value="1x1"/>','  <div class="note-dimension-picker-highlighted"/>','  <div class="note-dimension-picker-unhighlighted"/>',"</div>",'<div class="note-dimension-display">1 x 1</div>'].join("")})],{callback:function(n){var a=n.find(".note-dimension-picker-mousecatcher");a.css({width:i.insertTableMaxSize.col+"em",height:i.insertTableMaxSize.row+"em"}).mousedown(e.createInvokeHandler("editor.insertTable")).on("mousemove",t.tableMoveHandler)}}).render()}),e.memo("button.link",function(){return n.button({contents:n.icon(i.icons.link),tooltip:o.link.link+r("linkDialog.show"),click:e.createInvokeHandler("linkDialog.show")}).render()}),e.memo("button.picture",function(){return n.button({contents:n.icon(i.icons.picture),tooltip:o.image.image,click:e.createInvokeHandler("imageDialog.show")}).render()}),e.memo("button.video",function(){return n.button({contents:n.icon(i.icons.video),tooltip:o.video.video,click:e.createInvokeHandler("videoDialog.show")}).render()}),e.memo("button.hr",function(){return n.button({contents:n.icon(i.icons.minus),tooltip:o.hr.insert+r("insertHorizontalRule"),click:e.createInvokeHandler("editor.insertHorizontalRule")}).render()}),e.memo("button.fullscreen",function(){return n.button({className:"btn-fullscreen",contents:n.icon(i.icons.arrowsAlt),tooltip:o.options.fullscreen,click:e.createInvokeHandler("fullscreen.toggle")}).render()}),e.memo("button.codeview",function(){return n.button({className:"btn-codeview",contents:n.icon(i.icons.code),tooltip:o.options.codeview,click:e.createInvokeHandler("codeview.toggle")}).render()}),e.memo("button.redo",function(){return n.button({contents:n.icon(i.icons.redo),tooltip:o.history.redo+r("redo"),click:e.createInvokeHandler("editor.redo")}).render()}),e.memo("button.undo",function(){return n.button({contents:n.icon(i.icons.undo),tooltip:o.history.undo+r("undo"),click:e.createInvokeHandler("editor.undo")}).render()}),e.memo("button.help",function(){return n.button({contents:n.icon(i.icons.question),tooltip:o.options.help,click:e.createInvokeHandler("helpDialog.show")}).render()})},this.addImagePopoverButtons=function(){e.memo("button.imageSize100",function(){return n.button({contents:'<span class="note-fontsize-10">100%</span>',tooltip:o.image.resizeFull,click:e.createInvokeHandler("editor.resize","1")}).render()}),e.memo("button.imageSize50",function(){return n.button({contents:'<span class="note-fontsize-10">50%</span>',tooltip:o.image.resizeHalf,click:e.createInvokeHandler("editor.resize","0.5")}).render()}),e.memo("button.imageSize25",function(){return n.button({contents:'<span class="note-fontsize-10">25%</span>',tooltip:o.image.resizeQuarter,click:e.createInvokeHandler("editor.resize","0.25")}).render()}),e.memo("button.floatLeft",function(){return n.button({contents:n.icon(i.icons.alignLeft),tooltip:o.image.floatLeft,click:e.createInvokeHandler("editor.floatMe","left")}).render()}),e.memo("button.floatRight",function(){return n.button({contents:n.icon(i.icons.alignRight),tooltip:o.image.floatRight,click:e.createInvokeHandler("editor.floatMe","right")}).render()}),e.memo("button.floatNone",function(){return n.button({contents:n.icon(i.icons.alignJustify),tooltip:o.image.floatNone,click:e.createInvokeHandler("editor.floatMe","none")}).render()}),e.memo("button.removeMedia",function(){return n.button({contents:n.icon(i.icons.trash),tooltip:o.image.remove,click:e.createInvokeHandler("editor.removeMedia")}).render()})},this.addLinkPopoverButtons=function(){e.memo("button.linkDialogShow",function(){return n.button({contents:n.icon(i.icons.link),tooltip:o.link.edit,click:e.createInvokeHandler("linkDialog.show")}).render()}),e.memo("button.unlink",function(){return n.button({contents:n.icon(i.icons.unlink),tooltip:o.link.unlink,click:e.createInvokeHandler("editor.unlink")}).render()})},this.build=function(t,a){for(var i=0,o=a.length;i<o;i++){for(var s=a[i],r=s[0],d=s[1],l=n.buttonGroup({className:"note-"+r}).render(),c=0,h=d.length;c<h;c++){var u=e.memo("button."+d[c]);u&&l.append("function"==typeof u?u(e):u)}l.appendTo(t)}},this.updateCurrentStyle=function(){var n=e.invoke("editor.currentStyle");if(this.updateBtnStates({".note-btn-bold":function(){return"bold"===n["font-bold"]},".note-btn-italic":function(){return"italic"===n["font-italic"]},".note-btn-underline":function(){return"underline"===n["font-underline"]},".note-btn-subscript":function(){return"subscript"===n["font-subscript"]},".note-btn-superscript":function(){return"superscript"===n["font-superscript"]},".note-btn-strikethrough":function(){return"strikethrough"===n["font-strikethrough"]}}),n["font-family"]){var i=n["font-family"].split(",").map(function(e){return e.replace(/[\'\"]/g,"").replace(/\s+$/,"").replace(/^\s+/,"")}),o=list.find(i,t.isFontInstalled);a.find(".dropdown-fontname li a").each(function(){var e=$(this).data("value")+""==o+"";this.className=e?"checked":""}),a.find(".note-current-fontname").text(o)}if(n["font-size"]){var s=n["font-size"];a.find(".dropdown-fontsize li a").each(function(){var e=$(this).data("value")+""==s+"";this.className=e?"checked":""}),a.find(".note-current-fontsize").text(s)}if(n["line-height"]){var r=n["line-height"];a.find(".dropdown-line-height li a").each(function(){var e=$(this).data("value")+""==r+"";this.className=e?"checked":""})}},this.updateBtnStates=function(e){$.each(e,function(e,t){n.toggleBtnActive(a.find(e),t())})},this.tableMoveHandler=function(e){var t,n=18,a=$(e.target.parentNode),o=a.next(),s=a.find(".note-dimension-picker-mousecatcher"),r=a.find(".note-dimension-picker-highlighted"),d=a.find(".note-dimension-picker-unhighlighted");if(void 0===e.offsetX){var l=$(e.target).offset();t={x:e.pageX-l.left,y:e.pageY-l.top}}else t={x:e.offsetX,y:e.offsetY};var c={c:Math.ceil(t.x/n)||1,r:Math.ceil(t.y/n)||1};r.css({width:c.c+"em",height:c.r+"em"}),s.data("value",c.c+"x"+c.r),3<c.c&&c.c<i.insertTableMaxSize.col&&d.css({width:c.c+1+"em"}),3<c.r&&c.r<i.insertTableMaxSize.row&&d.css({height:c.r+1+"em"}),o.html(c.c+" x "+c.r)}},Toolbar=function(e){var t=$.summernote.ui,n=e.layoutInfo.note,a=e.layoutInfo.toolbar,i=e.options;this.shouldInitialize=function(){return!i.airMode},this.initialize=function(){i.toolbar=i.toolbar||[],i.toolbar.length?e.invoke("buttons.build",a,i.toolbar):a.hide(),i.toolbarContainer&&a.appendTo(i.toolbarContainer),n.on("summernote.keyup summernote.mouseup summernote.change",function(){e.invoke("buttons.updateCurrentStyle")}),e.invoke("buttons.updateCurrentStyle")},this.destroy=function(){a.children().remove()},this.updateFullscreen=function(e){t.toggleBtnActive(a.find(".btn-fullscreen"),e)},this.updateCodeview=function(e){t.toggleBtnActive(a.find(".btn-codeview"),e),e?this.deactivate():this.activate()},this.activate=function(e){var n=a.find("button");e||(n=n.not(".btn-codeview")),t.toggleBtn(n,!0)},this.deactivate=function(e){var n=a.find("button");e||(n=n.not(".btn-codeview")),t.toggleBtn(n,!1)}},LinkDialog=function(e){var t=this,n=$.summernote.ui,a=e.layoutInfo.editor,i=e.options,o=i.langInfo;this.initialize=function(){var e=i.dialogsInBody?$(document.body):a,t='<div class="form-group"><label>'+o.link.textToDisplay+'</label><input class="note-link-text form-control" type="text" /></div><div class="form-group"><label>'+o.link.url+'</label><input class="note-link-url form-control" type="text" value="http://" /></div>'+(i.disableLinkTarget?"":'<div class="checkbox"><label><input type="checkbox" checked> '+o.link.openInNewWindow+"</label></div>"),s='<button href="#" class="btn btn-primary note-link-btn disabled" disabled>'+o.link.insert+"</button>";this.$dialog=n.dialog({className:"link-dialog",title:o.link.insert,fade:i.dialogsFade,body:t,footer:s}).render().appendTo(e)},this.destroy=function(){n.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(e,t){e.on("keypress",function(e){e.keyCode===key.code.ENTER&&t.trigger("click")})},this.toggleLinkBtn=function(e,t,a){n.toggleBtn(e,t.val()&&a.val())},this.showLinkDialog=function(a){return $.Deferred(function(i){var o=t.$dialog.find(".note-link-text"),s=t.$dialog.find(".note-link-url"),r=t.$dialog.find(".note-link-btn"),d=t.$dialog.find("input[type=checkbox]");n.onDialogShown(t.$dialog,function(){e.triggerEvent("dialog.shown"),a.url||(a.url=a.text),o.val(a.text);var n=function(){t.toggleLinkBtn(r,o,s),a.text=o.val()};o.on("input",n).on("paste",function(){setTimeout(n,0)});var l=function(){t.toggleLinkBtn(r,o,s),a.text||o.val(s.val())};s.on("input",l).on("paste",function(){setTimeout(l,0)}).val(a.url).trigger("focus"),t.toggleLinkBtn(r,o,s),t.bindEnterKey(s,r),t.bindEnterKey(o,r),d.prop("checked",a.isNewWindow),r.one("click",function(e){e.preventDefault(),i.resolve({range:a.range,url:s.val(),text:o.val(),isNewWindow:d.is(":checked")}),t.$dialog.modal("hide")})}),n.onDialogHidden(t.$dialog,function(){o.off("input paste keypress"),s.off("input paste keypress"),r.off("click"),"pending"===i.state()&&i.reject()}),n.showDialog(t.$dialog)}).promise()},this.show=function(){var t=e.invoke("editor.getLinkInfo");e.invoke("editor.saveRange"),this.showLinkDialog(t).then(function(t){e.invoke("editor.restoreRange"),e.invoke("editor.createLink",t)}).fail(function(){e.invoke("editor.restoreRange")})},e.memo("help.linkDialog.show",i.langInfo.help["linkDialog.show"])},LinkPopover=function(e){var t=this,n=$.summernote.ui,a=e.options;this.events={"summernote.keyup summernote.mouseup summernote.change summernote.scroll":function(){t.update()},"summernote.dialog.shown":function(){t.hide()}},this.shouldInitialize=function(){return!list.isEmpty(a.popover.link)},this.initialize=function(){this.$popover=n.popover({className:"note-link-popover",callback:function(e){var t=e.find(".popover-content");t.prepend('<span><a target="_blank"></a>&nbsp;</span>')}}).render().appendTo("body");var t=this.$popover.find(".popover-content");e.invoke("buttons.build",t,a.popover.link)},this.destroy=function(){this.$popover.remove()},this.update=function(){if(!e.invoke("editor.hasFocus"))return void this.hide();var t=e.invoke("editor.createRange");if(t.isCollapsed()&&t.isOnAnchor()){var n=dom.ancestor(t.sc,dom.isAnchor),a=$(n).attr("href");this.$popover.find("a").attr("href",a).html(a);var i=dom.posFromPlaceholder(n);this.$popover.css({display:"block",left:i.left,top:i.top})}else this.hide()},this.hide=function(){this.$popover.hide()}},ImageDialog=function(e){var t=this,n=$.summernote.ui,a=e.layoutInfo.editor,i=e.options,o=i.langInfo;this.initialize=function(){var e=i.dialogsInBody?$(document.body):a,t="";if(i.maximumImageFileSize){var s=Math.floor(Math.log(i.maximumImageFileSize)/Math.log(1024)),r=1*(i.maximumImageFileSize/Math.pow(1024,s)).toFixed(2)+" "+" KMGTP"[s]+"B";t="<small>"+o.image.maximumFileSize+" : "+r+"</small>"}var d='<div class="form-group note-group-select-from-files"><label>'+o.image.selectFromFiles+'</label><input class="note-image-input form-control" type="file" name="files" accept="image/*" multiple="multiple" />'+t+'</div><div class="form-group note-group-image-url" style="overflow:auto;"><label>'+o.image.url+'</label><input class="note-image-url form-control col-md-12" type="text" /></div>',l='<button href="#" class="btn btn-primary note-image-btn disabled" disabled>'+o.image.insert+"</button>";this.$dialog=n.dialog({title:o.image.insert,fade:i.dialogsFade,body:d,footer:l}).render().appendTo(e)},this.destroy=function(){n.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(e,t){e.on("keypress",function(e){e.keyCode===key.code.ENTER&&t.trigger("click")})},this.show=function(){e.invoke("editor.saveRange"),this.showImageDialog().then(function(a){n.hideDialog(t.$dialog),e.invoke("editor.restoreRange"),"string"==typeof a?e.invoke("editor.insertImage",a):e.invoke("editor.insertImagesOrCallback",a)}).fail(function(){e.invoke("editor.restoreRange")})},this.showImageDialog=function(){return $.Deferred(function(a){var i=t.$dialog.find(".note-image-input"),o=t.$dialog.find(".note-image-url"),s=t.$dialog.find(".note-image-btn");n.onDialogShown(t.$dialog,function(){e.triggerEvent("dialog.shown"),i.replaceWith(i.clone().on("change",function(){a.resolve(this.files||this.value)}).val("")),s.click(function(e){e.preventDefault(),a.resolve(o.val())}),o.on("keyup paste",function(){var e=o.val();n.toggleBtn(s,e)}).val("").trigger("focus"),t.bindEnterKey(o,s)}),n.onDialogHidden(t.$dialog,function(){i.off("change"),o.off("keyup paste keypress"),s.off("click"),"pending"===a.state()&&a.reject()}),n.showDialog(t.$dialog)})}},ImagePopover=function(e){var t=$.summernote.ui,n=e.options;this.shouldInitialize=function(){return!list.isEmpty(n.popover.image)},this.initialize=function(){this.$popover=t.popover({className:"note-image-popover"}).render().appendTo("body");var a=this.$popover.find(".popover-content");e.invoke("buttons.build",a,n.popover.image)},this.destroy=function(){this.$popover.remove()},this.update=function(e){if(dom.isImg(e)){var t=dom.posFromPlaceholder(e);this.$popover.css({display:"block",left:t.left,top:t.top})}else this.hide()},this.hide=function(){this.$popover.hide()}},VideoDialog=function(e){var t=this,n=$.summernote.ui,a=e.layoutInfo.editor,i=e.options,o=i.langInfo;this.initialize=function(){var e=i.dialogsInBody?$(document.body):a,t='<div class="form-group row-fluid"><label>'+o.video.url+' <small class="text-muted">'+o.video.providers+'</small></label><input class="note-video-url form-control span12" type="text" /></div>',s='<button href="#" class="btn btn-primary note-video-btn disabled" disabled>'+o.video.insert+"</button>";this.$dialog=n.dialog({title:o.video.insert,fade:i.dialogsFade,body:t,footer:s}).render().appendTo(e)},this.destroy=function(){n.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(e,t){e.on("keypress",function(e){e.keyCode===key.code.ENTER&&t.trigger("click")})},this.createVideoNode=function(e){var t,n=/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/,a=e.match(n),i=/(?:www\.|\/\/)instagram\.com\/p\/(.[a-zA-Z0-9_-]*)/,o=e.match(i),s=/\/\/vine\.co\/v\/([a-zA-Z0-9]+)/,r=e.match(s),d=/\/\/(player\.)?vimeo\.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/,l=e.match(d),c=/.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/,h=e.match(c),u=/\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/,m=e.match(u),p=/^.+.(mp4|m4v)$/,f=e.match(p),g=/^.+.(ogg|ogv)$/,v=e.match(g),b=/^.+.(webm)$/,y=e.match(b);if(a&&11===a[1].length){var w=a[1];t=$("<iframe>").attr("frameborder",0).attr("src","//www.youtube.com/embed/"+w).attr("width","640").attr("height","360")}else if(o&&o[0].length)t=$("<iframe>").attr("frameborder",0).attr("src","https://instagram.com/p/"+o[1]+"/embed/").attr("width","612").attr("height","710").attr("scrolling","no").attr("allowtransparency","true");else if(r&&r[0].length)t=$("<iframe>").attr("frameborder",0).attr("src",r[0]+"/embed/simple").attr("width","600").attr("height","600").attr("class","vine-embed");else if(l&&l[3].length)t=$("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("src","//player.vimeo.com/video/"+l[3]).attr("width","640").attr("height","360");else if(h&&h[2].length)t=$("<iframe>").attr("frameborder",0).attr("src","//www.dailymotion.com/embed/video/"+h[2]).attr("width","640").attr("height","360");else if(m&&m[1].length)t=$("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("height","498").attr("width","510").attr("src","//player.youku.com/embed/"+m[1]);else{if(!(f||v||y))return!1;t=$("<video controls>").attr("src",e).attr("width","640").attr("height","360")}return t.addClass("note-video-clip"),t[0]},this.show=function(){var a=e.invoke("editor.getSelectedText");e.invoke("editor.saveRange"),this.showVideoDialog(a).then(function(a){n.hideDialog(t.$dialog),e.invoke("editor.restoreRange");var i=t.createVideoNode(a);i&&e.invoke("editor.insertNode",i)}).fail(function(){e.invoke("editor.restoreRange")})},this.showVideoDialog=function(a){return $.Deferred(function(i){var o=t.$dialog.find(".note-video-url"),s=t.$dialog.find(".note-video-btn");n.onDialogShown(t.$dialog,function(){e.triggerEvent("dialog.shown"),o.val(a).on("input",function(){n.toggleBtn(s,o.val())}).trigger("focus"),s.click(function(e){e.preventDefault(),i.resolve(o.val())}),t.bindEnterKey(o,s)}),n.onDialogHidden(t.$dialog,function(){o.off("input"),s.off("click"),"pending"===i.state()&&i.reject()}),n.showDialog(t.$dialog)})}},HelpDialog=function(e){var t=this,n=$.summernote.ui,a=e.layoutInfo.editor,i=e.options,o=i.langInfo;this.createShortCutList=function(){var t=i.keyMap[agent.isMac?"mac":"pc"];return Object.keys(t).map(function(n){var a=t[n],i=$('<div><div class="help-list-item"/></div>');return i.append($("<label><kbd>"+n+"</kdb></label>").css({width:180,"margin-right":10})).append($("<span/>").html(e.memo("help."+a)||a)),i.html()}).join("")},this.initialize=function(){var e=i.dialogsInBody?$(document.body):a,t=['<p class="text-center">','<a href="http://summernote.org/" target="_blank">Summernote 0.8.2</a> · ','<a href="https://github.com/summernote/summernote" target="_blank">Project</a> · ','<a href="https://github.com/summernote/summernote/issues" target="_blank">Issues</a>',"</p>"].join("");this.$dialog=n.dialog({title:o.options.help,fade:i.dialogsFade,body:this.createShortCutList(),footer:t,callback:function(e){e.find(".modal-body").css({"max-height":300,overflow:"scroll"})}}).render().appendTo(e)},this.destroy=function(){n.hideDialog(this.$dialog),this.$dialog.remove()},this.showHelpDialog=function(){return $.Deferred(function(a){n.onDialogShown(t.$dialog,function(){e.triggerEvent("dialog.shown"),a.resolve()}),n.showDialog(t.$dialog)}).promise()},this.show=function(){e.invoke("editor.saveRange"),this.showHelpDialog().then(function(){e.invoke("editor.restoreRange")})}},AirPopover=function(e){var t=this,n=$.summernote.ui,a=e.options,i=20;this.events={"summernote.keyup summernote.mouseup summernote.scroll":function(){t.update()},"summernote.change summernote.dialog.shown":function(){t.hide()},"summernote.focusout":function(e,n){agent.isFF||n.relatedTarget&&dom.ancestor(n.relatedTarget,func.eq(t.$popover[0]))||t.hide()}},this.shouldInitialize=function(){return a.airMode&&!list.isEmpty(a.popover.air)},this.initialize=function(){this.$popover=n.popover({className:"note-air-popover"}).render().appendTo("body");var t=this.$popover.find(".popover-content");e.invoke("buttons.build",t,a.popover.air)},this.destroy=function(){this.$popover.remove()},this.update=function(){var t=e.invoke("editor.currentStyle");if(t.range&&!t.range.isCollapsed()){var n=list.last(t.range.getClientRects());if(n){var a=func.rect2bnd(n);this.$popover.css({display:"block",left:Math.max(a.left+a.width/2,0)-i,top:a.top+a.height})}}else this.hide()},this.hide=function(){this.$popover.hide()}},HintPopover=function(e){var t=this,n=$.summernote.ui,a=5,i=e.options.hint||[],o=e.options.hintDirection||"bottom",s=$.isArray(i)?i:[i];this.events={"summernote.keyup":function(e,n){n.isDefaultPrevented()||t.handleKeyup(n)},"summernote.keydown":function(e,n){t.handleKeydown(n)},"summernote.dialog.shown":function(){t.hide()}},this.shouldInitialize=function(){return s.length>0},this.initialize=function(){this.lastWordRange=null,this.$popover=n.popover({className:"note-hint-popover",hideArrow:!0,direction:""}).render().appendTo("body"),this.$popover.hide(),this.$content=this.$popover.find(".popover-content"),this.$content.on("click",".note-hint-item",function(){t.$content.find(".active").removeClass("active"),$(this).addClass("active"),t.replace()})},this.destroy=function(){this.$popover.remove()},this.selectItem=function(e){this.$content.find(".active").removeClass("active"),e.addClass("active"),this.$content[0].scrollTop=e[0].offsetTop-this.$content.innerHeight()/2},this.moveDown=function(){var e=this.$content.find(".note-hint-item.active"),t=e.next();if(t.length)this.selectItem(t);else{var n=e.parent().next();n.length||(n=this.$content.find(".note-hint-group").first()),this.selectItem(n.find(".note-hint-item").first())}},this.moveUp=function(){var e=this.$content.find(".note-hint-item.active"),t=e.prev();if(t.length)this.selectItem(t);else{var n=e.parent().prev();n.length||(n=this.$content.find(".note-hint-group").last()),this.selectItem(n.find(".note-hint-item").last())}},this.replace=function(){var t=this.$content.find(".note-hint-item.active");if(t.length){var n=this.nodeFromItem(t);this.lastWordRange.insertNode(n),range.createFromNode(n).collapse().select(),this.lastWordRange=null,this.hide(),e.invoke("editor.focus")}},this.nodeFromItem=function(e){var t=s[e.data("index")],n=e.data("item"),a=t.content?t.content(n):n;return"string"==typeof a&&(a=dom.createText(a)),a},this.createItemTemplates=function(e,t){var n=s[e];return t.map(function(t,a){var i=$('<div class="note-hint-item"/>');return i.append(n.template?n.template(t):t+""),i.data({index:e,item:t}),0===e&&0===a&&i.addClass("active"),i})},this.handleKeydown=function(e){this.$popover.is(":visible")&&(e.keyCode===key.code.ENTER?(e.preventDefault(),this.replace()):e.keyCode===key.code.UP?(e.preventDefault(),this.moveUp()):e.keyCode===key.code.DOWN&&(e.preventDefault(),this.moveDown()))},this.searchKeyword=function(e,t,n){var a=s[e];if(a&&a.match.test(t)&&a.search){var i=a.match.exec(t);a.search(i[1],n)}else n()},this.createGroup=function(e,n){var a=$('<div class="note-hint-group note-hint-group-'+e+'"/>');return this.searchKeyword(e,n,function(n){n=n||[],n.length&&(a.html(t.createItemTemplates(e,n)),t.show())}),a},this.handleKeyup=function(n){if(list.contains([key.code.ENTER,key.code.UP,key.code.DOWN],n.keyCode)){if(n.keyCode===key.code.ENTER&&this.$popover.is(":visible"))return}else{var i=e.invoke("editor.createRange").getWordRange(),r=i.toString();if(s.length&&r){this.$content.empty();var d=func.rect2bnd(list.last(i.getClientRects()));d&&(this.$popover.hide(),this.lastWordRange=i,s.forEach(function(e,n){e.match.test(r)&&t.createGroup(n,r).appendTo(t.$content)}),"top"===o?this.$popover.css({left:d.left,top:d.top-this.$popover.outerHeight()-a}):this.$popover.css({left:d.left,top:d.top+d.height+a}))}else this.hide()}},this.show=function(){this.$popover.show()},this.hide=function(){this.$popover.hide()}};$.summernote=$.extend($.summernote,{version:"0.8.2",ui:ui,dom:dom,plugins:{},options:{modules:{editor:Editor,clipboard:Clipboard,dropzone:Dropzone,codeview:Codeview,statusbar:Statusbar,fullscreen:Fullscreen,handle:Handle,hintPopover:HintPopover,autoLink:AutoLink,autoSync:AutoSync,placeholder:Placeholder,buttons:Buttons,toolbar:Toolbar,linkDialog:LinkDialog,linkPopover:LinkPopover,imageDialog:ImageDialog,imagePopover:ImagePopover,videoDialog:VideoDialog,helpDialog:HelpDialog,airPopover:AirPopover},buttons:{},lang:"en-US",toolbar:[["style",["style"]],["font",["bold","underline","clear"]],["fontname",["fontname"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["insert",["link","picture","video"]],["view",["fullscreen","codeview","help"]]],popover:{image:[["imagesize",["imageSize100","imageSize50","imageSize25"]],["float",["floatLeft","floatRight","floatNone"]],["remove",["removeMedia"]]],link:[["link",["linkDialogShow","unlink"]]],air:[["color",["color"]],["font",["bold","underline","clear"]],["para",["ul","paragraph"]],["table",["table"]],["insert",["link","picture"]]]},airMode:!1,width:null,height:null,focus:!1,tabSize:4,styleWithSpan:!0,shortcuts:!0,textareaAutoSync:!0,direction:null,styleTags:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],fontNames:["Arial","Arial Black","Comic Sans MS","Courier New","Helvetica Neue","Helvetica","Impact","Lucida Grande","Tahoma","Times New Roman","Verdana"],fontSizes:["8","9","10","11","12","14","18","24","36"],colors:[["#000000","#424242","#636363","#9C9C94","#CEC6CE","#EFEFEF","#F7F7F7","#FFFFFF"],["#FF0000","#FF9C00","#FFFF00","#00FF00","#00FFFF","#0000FF","#9C00FF","#FF00FF"],["#F7C6CE","#FFE7CE","#FFEFC6","#D6EFD6","#CEDEE7","#CEE7F7","#D6D6E7","#E7D6DE"],["#E79C9C","#FFC69C","#FFE79C","#B5D6A5","#A5C6CE","#9CC6EF","#B5A5D6","#D6A5BD"],["#E76363","#F7AD6B","#FFD663","#94BD7B","#73A5AD","#6BADDE","#8C7BC6","#C67BA5"],["#CE0000","#E79439","#EFC631","#6BA54A","#4A7B8C","#3984C6","#634AA5","#A54A7B"],["#9C0000","#B56308","#BD9400","#397B21","#104A5A","#085294","#311873","#731842"],["#630000","#7B3900","#846300","#295218","#083139","#003163","#21104A","#4A1031"]],lineHeights:["1.0","1.2","1.4","1.5","1.6","1.8","2.0","3.0"],tableClassName:"table table-bordered",insertTableMaxSize:{col:10,row:10},dialogsInBody:!1,dialogsFade:!1,maximumImageFileSize:null,callbacks:{onInit:null,onFocus:null,onBlur:null,onEnter:null,onKeyup:null,onKeydown:null,onImageUpload:null,onImageUploadError:null},codemirror:{mode:"text/html",htmlMode:!0,lineNumbers:!0},keyMap:{pc:{ENTER:"insertParagraph","CTRL+Z":"undo","CTRL+Y":"redo",TAB:"tab","SHIFT+TAB":"untab","CTRL+B":"bold","CTRL+I":"italic","CTRL+U":"underline","CTRL+SHIFT+S":"strikethrough","CTRL+BACKSLASH":"removeFormat","CTRL+SHIFT+L":"justifyLeft","CTRL+SHIFT+E":"justifyCenter","CTRL+SHIFT+R":"justifyRight","CTRL+SHIFT+J":"justifyFull","CTRL+SHIFT+NUM7":"insertUnorderedList","CTRL+SHIFT+NUM8":"insertOrderedList","CTRL+LEFTBRACKET":"outdent","CTRL+RIGHTBRACKET":"indent","CTRL+NUM0":"formatPara","CTRL+NUM1":"formatH1","CTRL+NUM2":"formatH2","CTRL+NUM3":"formatH3","CTRL+NUM4":"formatH4","CTRL+NUM5":"formatH5","CTRL+NUM6":"formatH6","CTRL+ENTER":"insertHorizontalRule","CTRL+K":"linkDialog.show"},mac:{ENTER:"insertParagraph","CMD+Z":"undo","CMD+SHIFT+Z":"redo",TAB:"tab","SHIFT+TAB":"untab","CMD+B":"bold","CMD+I":"italic","CMD+U":"underline","CMD+SHIFT+S":"strikethrough","CMD+BACKSLASH":"removeFormat","CMD+SHIFT+L":"justifyLeft","CMD+SHIFT+E":"justifyCenter","CMD+SHIFT+R":"justifyRight","CMD+SHIFT+J":"justifyFull","CMD+SHIFT+NUM7":"insertUnorderedList","CMD+SHIFT+NUM8":"insertOrderedList","CMD+LEFTBRACKET":"outdent","CMD+RIGHTBRACKET":"indent","CMD+NUM0":"formatPara","CMD+NUM1":"formatH1","CMD+NUM2":"formatH2","CMD+NUM3":"formatH3","CMD+NUM4":"formatH4","CMD+NUM5":"formatH5","CMD+NUM6":"formatH6","CMD+ENTER":"insertHorizontalRule","CMD+K":"linkDialog.show"}},icons:{align:"note-icon-align",alignCenter:"note-icon-align-center",alignJustify:"note-icon-align-justify",alignLeft:"note-icon-align-left",alignRight:"note-icon-align-right",indent:"note-icon-align-indent",outdent:"note-icon-align-outdent",arrowsAlt:"note-icon-arrows-alt",bold:"note-icon-bold",caret:"note-icon-caret",circle:"note-icon-circle",close:"note-icon-close",code:"note-icon-code",eraser:"note-icon-eraser",font:"note-icon-font",frame:"note-icon-frame",italic:"note-icon-italic",link:"note-icon-link",unlink:"note-icon-chain-broken",magic:"note-icon-magic",menuCheck:"note-icon-check",minus:"note-icon-minus",orderedlist:"note-icon-orderedlist",pencil:"note-icon-pencil",picture:"note-icon-picture",question:"note-icon-question",redo:"note-icon-redo",square:"note-icon-square",strikethrough:"note-icon-strikethrough",subscript:"note-icon-subscript",superscript:"note-icon-superscript",table:"note-icon-table",textHeight:"note-icon-text-height",trash:"note-icon-trash",underline:"note-icon-underline",undo:"note-icon-undo",unorderedlist:"note-icon-unorderedlist",video:"note-icon-video"}}})}),/*! modernizr 3.3.1 (Custom Build) | MIT *
 * http://modernizr.com/download/?-cssanimations-fullscreen-touchevents-setclasses !*/
!function(e,t,n){function a(e,t){return typeof e===t}function i(){var e,t,n,i,o,s,r;for(var d in y)if(y.hasOwnProperty(d)){if(e=[],t=y[d],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(i=a(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)s=e[o],r=s.split("."),1===r.length?S[r[0]]=i:(!S[r[0]]||S[r[0]]instanceof Boolean||(S[r[0]]=new Boolean(S[r[0]])),S[r[0]][r[1]]=i),b.push((i?"":"no-")+r.join("-"))}}function o(e){var t=k.className,n=S._config.classPrefix||"";if(A&&(t=t.baseVal),S._config.enableJSClass){var a=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(a,"$1"+n+"js$2")}S._config.enableClasses&&(t+=" "+n+e.join(" "+n),A?k.className.baseVal=t:k.className=t)}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):A?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function r(){var e=t.body;return e||(e=s(A?"svg":"body"),e.fake=!0),e}function d(e,n,a,i){var o,d,l,c,h="modernizr",u=s("div"),m=r();if(parseInt(a,10))for(;a--;)l=s("div"),l.id=i?i[a]:h+(a+1),u.appendChild(l);return o=s("style"),o.type="text/css",o.id="s"+h,(m.fake?m:u).appendChild(o),m.appendChild(u),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(t.createTextNode(e)),u.id=h,m.fake&&(m.style.background="",m.style.overflow="hidden",c=k.style.overflow,k.style.overflow="hidden",k.appendChild(m)),d=n(u,e),m.fake?(m.parentNode.removeChild(m),k.style.overflow=c,k.offsetHeight):u.parentNode.removeChild(u),!!d}function l(e,t){return!!~(""+e).indexOf(t)}function c(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function h(e,t){return function(){return e.apply(t,arguments)}}function u(e,t,n){var i;for(var o in e)if(e[o]in t)return n===!1?e[o]:(i=t[e[o]],a(i,"function")?h(i,n||t):i);return!1}function m(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function p(t,a){var i=t.length;if("CSS"in e&&"supports"in e.CSS){for(;i--;)if(e.CSS.supports(m(t[i]),a))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];i--;)o.push("("+m(t[i])+":"+a+")");return o=o.join(" or "),d("@supports ("+o+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return n}function f(e,t,i,o){function r(){h&&(delete B.style,delete B.modElem)}if(o=!a(o,"undefined")&&o,!a(i,"undefined")){var d=p(e,i);if(!a(d,"undefined"))return d}for(var h,u,m,f,g,v=["modernizr","tspan"];!B.style;)h=!0,B.modElem=s(v.shift()),B.style=B.modElem.style;for(m=e.length,u=0;m>u;u++)if(f=e[u],g=B.style[f],l(f,"-")&&(f=c(f)),B.style[f]!==n){if(o||a(i,"undefined"))return r(),"pfx"!=t||f;try{B.style[f]=i}catch(b){}if(B.style[f]!=g)return r(),"pfx"!=t||f}return r(),!1}function g(e,t,n,i,o){var s=e.charAt(0).toUpperCase()+e.slice(1),r=(e+" "+M.join(s+" ")+s).split(" ");return a(t,"string")||a(t,"undefined")?f(r,t,i,o):(r=(e+" "+E.join(s+" ")+s).split(" "),u(r,t,n))}function v(e,t,a){return g(e,n,n,t,a)}var b=[],y=[],w={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){y.push({name:e,fn:t,options:n})},addAsyncTest:function(e){y.push({name:null,fn:e})}},S=function(){};S.prototype=w,S=new S;var k=t.documentElement,A="svg"===k.nodeName.toLowerCase(),C=w._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];w._prefixes=C;var x=w.testStyles=d;S.addTest("touchevents",function(){var n;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)n=!0;else{var a=["@media (",C.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");x(a,function(e){n=9===e.offsetTop})}return n});var T="Moz O ms Webkit",M=w._config.usePrefixes?T.split(" "):[];w._cssomPrefixes=M;var E=w._config.usePrefixes?T.toLowerCase().split(" "):[];w._domPrefixes=E;var P={elem:s("modernizr")};S._q.push(function(){delete P.elem});var B={style:P.elem.style};S._q.unshift(function(){delete B.style}),w.testAllProps=g,w.testAllProps=v,S.addTest("cssanimations",v("animationName","a",!0));var N=function(t){var a,i=C.length,o=e.CSSRule;if("undefined"==typeof o)return n;if(!t)return!1;if(t=t.replace(/^@/,""),a=t.replace(/-/g,"_").toUpperCase()+"_RULE",a in o)return"@"+t;for(var s=0;i>s;s++){var r=C[s],d=r.toUpperCase()+"_"+a;if(d in o)return"@-"+r.toLowerCase()+"-"+t}return!1};w.atRule=N;var L=w.prefixed=function(e,t,n){return 0===e.indexOf("@")?N(e):(-1!=e.indexOf("-")&&(e=c(e)),t?g(e,t,n):g(e,"pfx"))};S.addTest("fullscreen",!(!L("exitFullscreen",t,!1)&&!L("cancelFullScreen",t,!1))),i(),o(b),delete w.addTest,delete w.addAsyncTest;for(var _=0;_<S._q.length;_++)S._q[_]();e.Modernizr=S}(window,document),function(e){e.extend(e.summernote.lang,{"es-ES":{font:{bold:"Negrita",italic:"Cursiva",underline:"Subrayado",clear:"Quitar estilo de fuente",height:"Altura de línea",name:"Fuente",strikethrough:"Tachado",superscript:"Superíndice",subscript:"Subíndice",size:"Tamaño de la fuente"},image:{image:"Imagen",insert:"Insertar imagen",resizeFull:"Redimensionar a tamaño completo",resizeHalf:"Redimensionar a la mitad",resizeQuarter:"Redimensionar a un cuarto",floatLeft:"Flotar a la izquierda",floatRight:"Flotar a la derecha",floatNone:"No flotar",dragImageHere:"Arrastrar una imagen aquí",selectFromFiles:"Seleccionar desde los archivos",url:"URL de la imagen"},link:{link:"Link",insert:"Insertar link",unlink:"Quitar link",edit:"Editar",textToDisplay:"Texto para mostrar",url:"¿Hacia que URL lleva el link?",openInNewWindow:"Abrir en una nueva ventana"},table:{table:"Tabla"},hr:{insert:"Insertar línea horizontal"},style:{style:"Estilo",normal:"Normal",blockquote:"Cita",pre:"Código",h1:"Título 1",h2:"Título 2",h3:"Título 3",h4:"Título 4",h5:"Título 5",h6:"Título 6"},lists:{unordered:"Lista desordenada",ordered:"Lista ordenada"},options:{help:"Ayuda",fullscreen:"Pantalla completa",codeview:"Ver código fuente"},paragraph:{paragraph:"Párrafo",outdent:"Menos tabulación",indent:"Más tabulación",left:"Alinear a la izquierda",center:"Alinear al centro",right:"Alinear a la derecha",justify:"Justificar"},color:{recent:"Último color",more:"Más colores",background:"Color de fondo",foreground:"Color de fuente",transparent:"Transparente",setTransparent:"Establecer transparente",reset:"Restaurar",resetToDefault:"Restaurar por defecto"},shortcut:{shortcuts:"Atajos de teclado",close:"Cerrar",textFormatting:"Formato de texto",action:"Acción",paragraphFormatting:"Formato de párrafo",documentStyle:"Estilo de documento"},history:{undo:"Deshacer",redo:"Rehacer"}}})}(jQuery),function(e){e.extend(e.summernote.lang,{"fr-FR":{font:{bold:"Gras",italic:"Italique",underline:"Souligné",clear:"Effacer la mise en forme",height:"Interligne",name:"Famille de police",strikethrough:"Barré",superscript:"Exposant",subscript:"Indice",size:"Taille de police"},image:{image:"Image",insert:"Insérer une image",resizeFull:"Taille originale",resizeHalf:"Redimensionner à 50 %",resizeQuarter:"Redimensionner à 25 %",floatLeft:"Aligné à gauche",floatRight:"Aligné à droite",floatNone:"Pas d'alignement",shapeRounded:"Forme: Rectangle arrondie",shapeCircle:"Forme: Cercle",shapeThumbnail:"Forme: Vignette",shapeNone:"Forme: Aucune",dragImageHere:"Faites glisser une image ou un texte dans ce cadre",dropImage:"Lachez l'image ou le texte",selectFromFiles:"Choisir un fichier",maximumFileSize:"Taille de fichier maximale",maximumFileSizeError:"Taille maximale du fichier dépassée",url:"URL de l'image",remove:"Supprimer l'image"},link:{link:"Lien",insert:"Insérer un lien",unlink:"Supprimer un lien",edit:"Modifier",textToDisplay:"Texte à afficher",url:"URL du lien",openInNewWindow:"Ouvrir dans une nouvelle fenêtre"},table:{table:"Tableau"},hr:{insert:"Insérer une ligne horizontale"},style:{style:"Style",normal:"Normal",blockquote:"Citation",pre:"Code source",h1:"Titre 1",h2:"Titre 2",h3:"Titre 3",h4:"Titre 4",h5:"Titre 5",h6:"Titre 6"},lists:{unordered:"Liste à puces",ordered:"Liste numérotée"},options:{help:"Aide",fullscreen:"Plein écran",codeview:"Afficher le code HTML"},paragraph:{paragraph:"Paragraphe",outdent:"Diminuer le retrait",indent:"Augmenter le retrait",left:"Aligner à gauche",center:"Centrer",right:"Aligner à droite",justify:"Justifier"},color:{recent:"Dernière couleur sélectionnée",more:"Plus de couleurs",background:"Couleur de fond",foreground:"Couleur de police",transparent:"Transparent",setTransparent:"Définir la transparence",reset:"Restaurer",resetToDefault:"Restaurer la couleur par défaut"},shortcut:{shortcuts:"Raccourcis",close:"Fermer",textFormatting:"Mise en forme du texte",action:"Action",paragraphFormatting:"Mise en forme des paragraphes",documentStyle:"Style du document",extraKeys:"Touches supplémentaires"},history:{undo:"Annuler la dernière action",redo:"Restaurer la dernière action annulée"}}})}(jQuery),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){"use strict";var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,a=this;e(this).one("bsTransitionEnd",function(){n=!0});var i=function(){n||e(a).trigger(e.support.transition.end)};return setTimeout(i,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){return e(t.target).is(this)?t.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.alert");i||n.data("bs.alert",i=new a(this)),"string"==typeof t&&i[t].call(n)})}var n='[data-dismiss="alert"]',a=function(t){e(t).on("click",n,this.close)};a.VERSION="3.3.5",a.TRANSITION_DURATION=150,a.prototype.close=function(t){function n(){s.detach().trigger("closed.bs.alert").remove()}var i=e(this),o=i.attr("data-target");o||(o=i.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var s=e(o);t&&t.preventDefault(),s.length||(s=i.closest(".alert")),s.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(s.removeClass("in"),e.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(a.TRANSITION_DURATION):n())};var i=e.fn.alert;e.fn.alert=t,e.fn.alert.Constructor=a,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",n,a.prototype.close)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var a=e(this),i=a.data("bs.button"),o="object"==typeof t&&t;i||a.data("bs.button",i=new n(this,o)),"toggle"==t?i.toggle():t&&i.setState(t)})}var n=function(t,a){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,a),this.isLoading=!1};n.VERSION="3.3.5",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var n="disabled",a=this.$element,i=a.is("input")?"val":"html",o=a.data();t+="Text",null==o.resetText&&a.data("resetText",a[i]()),setTimeout(e.proxy(function(){a[i](null==o[t]?this.options[t]:o[t]),"loadingText"==t?(this.isLoading=!0,a.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,a.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var a=e.fn.button;e.fn.button=t,e.fn.button.Constructor=n,e.fn.button.noConflict=function(){return e.fn.button=a,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var a=e(n.target);a.hasClass("btn")||(a=a.closest(".btn")),t.call(a,"toggle"),e(n.target).is('input[type="radio"]')||e(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var a=e(this),i=a.data("bs.carousel"),o=e.extend({},n.DEFAULTS,a.data(),"object"==typeof t&&t),s="string"==typeof t?t:o.slide;i||a.data("bs.carousel",i=new n(this,o)),"number"==typeof t?i.to(t):s?i[s]():o.interval&&i.pause().cycle()})}var n=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.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()}},n.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},n.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t),a="prev"==e&&0===n||"next"==e&&n==this.$items.length-1;if(a&&!this.options.wrap)return t;var i="prev"==e?-1:1,o=(n+i)%this.$items.length;return this.$items.eq(o)},n.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},n.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(t,a){var i=this.$element.find(".item.active"),o=a||this.getItemForDirection(t,i),s=this.interval,r="next"==t?"left":"right",d=this;if(o.hasClass("active"))return this.sliding=!1;var l=o[0],c=e.Event("slide.bs.carousel",{relatedTarget:l,direction:r});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=e(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var u=e.Event("slid.bs.carousel",{relatedTarget:l,direction:r});return e.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),o[0].offsetWidth,i.addClass(r),o.addClass(r),i.one("bsTransitionEnd",function(){o.removeClass([t,r].join(" ")).addClass("active"),i.removeClass(["active",r].join(" ")),d.sliding=!1,setTimeout(function(){d.$element.trigger(u)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(u)),s&&this.cycle(),this}};var a=e.fn.carousel;e.fn.carousel=t,e.fn.carousel.Constructor=n,e.fn.carousel.noConflict=function(){return e.fn.carousel=a,this};var i=function(n){var a,i=e(this),o=e(i.attr("data-target")||(a=i.attr("href"))&&a.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=e.extend({},o.data(),i.data()),r=i.attr("data-slide-to");r&&(s.interval=!1),t.call(o,s),r&&o.data("bs.carousel").to(r),n.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var n=e(this);t.call(n,n.data())})})}(jQuery),+function(e){"use strict";function t(t){var n,a=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(a)}function n(t){return this.each(function(){var n=e(this),i=n.data("bs.collapse"),o=e.extend({},a.DEFAULTS,n.data(),"object"==typeof t&&t);!i&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),i||n.data("bs.collapse",i=new a(this,o)),"string"==typeof t&&i[t]()})}var a=function(t,n){this.$element=e(t),this.options=e.extend({},a.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};a.VERSION="3.3.5",a.TRANSITION_DURATION=350,a.DEFAULTS={toggle:!0},a.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},a.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(t=i.data("bs.collapse"),t&&t.transitioning))){var o=e.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(n.call(i,"hide"),t||i.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return r.call(this);var d=e.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",e.proxy(r,this)).emulateTransitionEnd(a.TRANSITION_DURATION)[s](this.$element[0][d])}}}},a.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return e.support.transition?void this.$element[n](0).one("bsTransitionEnd",e.proxy(i,this)).emulateTransitionEnd(a.TRANSITION_DURATION):i.call(this)}}},a.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},a.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,a){var i=e(a);this.addAriaAndCollapsedClass(t(i),i)},this)).end()},a.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=a,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(a){var i=e(this);i.attr("data-target")||a.preventDefault();var o=t(i),s=o.data("bs.collapse"),r=s?"toggle":i.data();n.call(o,r)})}(jQuery),+function(e){"use strict";function t(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var a=n&&e(n);return a&&a.length?a:t.parent()}function n(n){n&&3===n.which||(e(i).remove(),e(o).each(function(){var a=e(this),i=t(a),o={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(i[0],n.target)||(i.trigger(n=e.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(a.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",o))))}))}function a(t){return this.each(function(){var n=e(this),a=n.data("bs.dropdown");a||n.data("bs.dropdown",a=new s(this)),"string"==typeof t&&a[t].call(n)})}var i=".dropdown-backdrop",o='[data-toggle="dropdown"]',s=function(t){e(t).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.5",s.prototype.toggle=function(a){var i=e(this);if(!i.is(".disabled, :disabled")){var o=t(i),s=o.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",n);var r={relatedTarget:this};if(o.trigger(a=e.Event("show.bs.dropdown",r)),a.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},s.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var a=e(this);if(n.preventDefault(),n.stopPropagation(),!a.is(".disabled, :disabled")){var i=t(a),s=i.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&i.find(o).trigger("focus"),a.trigger("click");var r=" li:not(.disabled):visible a",d=i.find(".dropdown-menu"+r);if(d.length){var l=d.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<d.length-1&&l++,~l||(l=0),d.eq(l).trigger("focus")}}}};var r=e.fn.dropdown;e.fn.dropdown=a,e.fn.dropdown.Constructor=s,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=r,this},e(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",o,s.prototype.toggle).on("keydown.bs.dropdown.data-api",o,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),+function(e){"use strict";function t(t,a){return this.each(function(){var i=e(this),o=i.data("bs.modal"),s=e.extend({},n.DEFAULTS,i.data(),"object"==typeof t&&t);o||i.data("bs.modal",o=new n(this,s)),"string"==typeof t?o[t](a):s.show&&o.show(a)})}var n=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},n.prototype.show=function(t){var a=this,i=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(i),this.isShown||i.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"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){a.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(a.$element)&&(a.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=e.support.transition&&a.$element.hasClass("fade");a.$element.parent().length||a.$element.appendTo(a.$body),a.$element.show().scrollTop(0),a.adjustDialog(),i&&a.$element[0].offsetWidth,a.$element.addClass("in"),a.enforceFocus();var o=e.Event("shown.bs.modal",{relatedTarget:t});i?a.$dialog.one("bsTransitionEnd",function(){a.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(n.TRANSITION_DURATION):a.$element.trigger("focus").trigger(o)}))},n.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(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"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},n.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")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(t){var a=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=e.support.transition&&i;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;o?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){a.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):s()}else t&&t()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.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:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var a=e.fn.modal;e.fn.modal=t,e.fn.modal.Constructor=n,e.fn.modal.noConflict=function(){return e.fn.modal=a,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var a=e(this),i=a.attr("href"),o=e(a.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),s=o.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},o.data(),a.data());a.is("a")&&n.preventDefault(),o.one("show.bs.modal",function(e){e.isDefaultPrevented()||o.one("hidden.bs.modal",function(){a.is(":visible")&&a.trigger("focus")})}),t.call(o,s,this)})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var a=e(this),i=a.data("bs.tooltip"),o="object"==typeof t&&t;(i||!/destroy|hide/.test(t))&&(i||a.data("bs.tooltip",i=new n(this,o)),"string"==typeof t&&i[t]())})}var n=function(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)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.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}},n.prototype.init=function(t,n,a){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(a),this.$viewport=this.options.viewport&&e(e.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=i[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=s){var r="hover"==s?"mouseenter":"focusin",d="hover"==s?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(d+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},n.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,a){n[e]!=a&&(t[e]=a)}),t},n.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},n.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},n.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){
this.$element.trigger(t);var a=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!a)return;var i=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,d=/\s?auto?\s?/i,l=d.test(r);l&&(r=r.replace(d,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),h=o[0].offsetWidth,u=o[0].offsetHeight;if(l){var m=r,p=this.getPosition(this.$viewport);r="bottom"==r&&c.bottom+u>p.bottom?"top":"top"==r&&c.top-u<p.top?"bottom":"right"==r&&c.right+h>p.width?"left":"left"==r&&c.left-h<p.left?"right":r,o.removeClass(m).addClass(r)}var f=this.getCalculatedOffset(r,c,h,u);this.applyPlacement(f,r);var g=function(){var e=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==e&&i.leave(i)};e.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(t,n){var a=this.tip(),i=a[0].offsetWidth,o=a[0].offsetHeight,s=parseInt(a.css("margin-top"),10),r=parseInt(a.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(r)&&(r=0),t.top+=s,t.left+=r,e.offset.setOffset(a[0],e.extend({using:function(e){a.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),a.addClass("in");var d=a[0].offsetWidth,l=a[0].offsetHeight;"top"==n&&l!=o&&(t.top=t.top+o-l);var c=this.getViewportAdjustedDelta(n,t,d,l);c.left?t.left+=c.left:t.top+=c.top;var h=/top|bottom/.test(n),u=h?2*c.left-i+d:2*c.top-o+l,m=h?"offsetWidth":"offsetHeight";a.offset(t),this.replaceArrow(u,a[0][m],h)},n.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},n.prototype.hide=function(t){function a(){"in"!=i.hoverState&&o.detach(),i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),t&&t()}var i=this,o=e(this.$tip),s=e.Event("hide.bs."+this.type);return this.$element.trigger(s),s.isDefaultPrevented()?void 0:(o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),this.hoverState=null,this)},n.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","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(t){t=t||this.$element;var n=t[0],a="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=e.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=a?{top:0,left:0}:t.offset(),s={scroll:a?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},r=a?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},i,s,r,o)},n.prototype.getCalculatedOffset=function(e,t,n,a){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-a,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-a/2,left:t.left-n}:{top:t.top+t.height/2-a/2,left:t.left+t.width}},n.prototype.getViewportAdjustedDelta=function(e,t,n,a){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(e)){var r=t.top-o-s.scroll,d=t.top+o-s.scroll+a;r<s.top?i.top=s.top-r:d>s.top+s.height&&(i.top=s.top+s.height-d)}else{var l=t.left-o,c=t.left+o+n;l<s.left?i.left=s.left-l:c>s.right&&(i.left=s.left+s.width-c)}return i},n.prototype.getTitle=function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)},n.prototype.getUID=function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(t){var n=this;t&&(n=e(t.currentTarget).data("bs."+this.type),n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.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})};var a=e.fn.tooltip;e.fn.tooltip=t,e.fn.tooltip.Constructor=n,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=a,this}}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var a=e(this),i=a.data("bs.popover"),o="object"==typeof t&&t;(i||!/destroy|hide/.test(t))&&(i||a.data("bs.popover",i=new n(this,o)),"string"==typeof t&&i[t]())})}var n=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.5",n.DEFAULTS=e.extend({},e.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>'}),n.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.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)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var a=e.fn.popover;e.fn.popover=t,e.fn.popover.Constructor=n,e.fn.popover.noConflict=function(){return e.fn.popover=a,this}}(jQuery),+function(e){"use strict";function t(n,a){this.$body=e(document.body),this.$scrollElement=e(e(n).is(document.body)?window:n),this.options=e.extend({},t.DEFAULTS,a),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var a=e(this),i=a.data("bs.scrollspy"),o="object"==typeof n&&n;i||a.data("bs.scrollspy",i=new t(this,o)),"string"==typeof n&&i[n]()})}t.VERSION="3.3.5",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",a=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",a=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),i=t.data("target")||t.attr("href"),o=/^#./.test(i)&&e(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+a,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),a=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=a)return s!=(e=o[o.length-1])&&this.activate(e);if(s&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)s!=o[e]&&t>=i[e]&&(void 0===i[e+1]||t<i[e+1])&&this.activate(o[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',a=e(n).parents("li").addClass("active");a.parent(".dropdown-menu").length&&(a=a.closest("li.dropdown").addClass("active")),a.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var a=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=a,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var a=e(this),i=a.data("bs.tab");i||a.data("bs.tab",i=new n(this)),"string"==typeof t&&i[t]()})}var n=function(t){this.element=e(t)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),a=t.data("target");if(a||(a=t.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=n.find(".active:last a"),o=e.Event("hide.bs.tab",{relatedTarget:t[0]}),s=e.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),t.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var r=e(a);this.activate(t.closest("li"),n),this.activate(r,r.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},n.prototype.activate=function(t,a,i){function o(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var s=a.find("> .active"),r=i&&e.support.transition&&(s.length&&s.hasClass("fade")||!!a.find("> .fade").length);s.length&&r?s.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),s.removeClass("in")};var a=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=a,this};var i=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var a=e(this),i=a.data("bs.affix"),o="object"==typeof t&&t;i||a.data("bs.affix",i=new n(this,o)),"string"==typeof t&&i[t]()})}var n=function(t,a){this.options=e.extend({},n.DEFAULTS,a),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.5",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(e,t,n,a){var i=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return n>i&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(e-a>=i+s)&&"bottom";var r=null==this.affixed,d=r?i:o.top,l=r?s:t;return null!=n&&n>=i?"top":null!=a&&d+l>=e-a&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},n.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),a=this.options.offset,i=a.top,o=a.bottom,s=Math.max(e(document).height(),e(document.body).height());"object"!=typeof a&&(o=i=a),"function"==typeof i&&(i=a.top(this.$element)),"function"==typeof o&&(o=a.bottom(this.$element));var r=this.getState(s,t,i,o);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var d="affix"+(r?"-"+r:""),l=e.Event(d+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(d).trigger(d.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:s-t-o})}};var a=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=n,e.fn.affix.noConflict=function(){return e.fn.affix=a,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var n=e(this),a=n.data();a.offset=a.offset||{},null!=a.offsetBottom&&(a.offset.bottom=a.offsetBottom),null!=a.offsetTop&&(a.offset.top=a.offsetTop),t.call(n,a)})})}(jQuery),/*!
 * jQuery UI Touch Punch 0.2.3
 *
 * Copyright 2011–2014, Dave Furfero
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 * Depends:
 *  jquery.ui.widget.js
 *  jquery.ui.mouse.js
 */
!function(e){function t(e,t){if(!(e.originalEvent.touches.length>1)){e.preventDefault();var n=e.originalEvent.changedTouches[0],a=document.createEvent("MouseEvents");a.initMouseEvent(t,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(a)}}if(e.support.touch="ontouchend"in document,e.support.touch){var n,a=e.ui.mouse.prototype,i=a._mouseInit,o=a._mouseDestroy;a._touchStart=function(e){var a=this;!n&&a._mouseCapture(e.originalEvent.changedTouches[0])&&(n=!0,a._touchMoved=!1,t(e,"mouseover"),t(e,"mousemove"),t(e,"mousedown"))},a._touchMove=function(e){n&&(this._touchMoved=!0,t(e,"mousemove"))},a._touchEnd=function(e){n&&(t(e,"mouseup"),t(e,"mouseout"),this._touchMoved||t(e,"click"),n=!1)},a._mouseInit=function(){var t=this;t.element.bind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),i.call(t)},a._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),o.call(t)}}}(jQuery),/**
 * interact.js v1.2.6
 *
 * Copyright (c) 2012-2015 Taye Adeyemi <dev@taye.me>
 * Open source under the MIT License.
 * https://raw.github.com/taye/interact.js/master/LICENSE
 */
function(e){"use strict";function t(){}function n(e){if(!e||"object"!=typeof e)return!1;var t=C(e)||ge;return/object|function/.test(typeof t.Element)?e instanceof t.Element:1===e.nodeType&&"string"==typeof e.nodeName}function a(e){return e===ge||!(!e||!e.Window)&&e instanceof e.Window}function i(e){return!!e&&e instanceof be}function o(e){return s(e)&&void 0!==typeof e.length&&r(e.splice)}function s(e){return!!e&&"object"==typeof e}function r(e){return"function"==typeof e}function d(e){return"number"==typeof e}function l(e){return"boolean"==typeof e}function c(e){return"string"==typeof e}function h(e){return!!c(e)&&(ve.querySelector(e),!0)}function u(e,t){for(var n in t)e[n]=t[n];return e}function m(e,t){for(var n in t){var a=!1;for(var i in Je)if(0===n.indexOf(i)&&Je[i].test(n)){a=!0;break}a||(e[n]=t[n])}return e}function p(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp}function f(e,t,n){var a=t.length>1?E(t):t[0];y(a,xe,n),e.page.x=xe.x,e.page.y=xe.y,w(a,xe,n),e.client.x=xe.x,e.client.y=xe.y,e.timeStamp=(new Date).getTime()}function g(e,t,n){e.page.x=n.page.x-t.page.x,e.page.y=n.page.y-t.page.y,e.client.x=n.client.x-t.client.x,e.client.y=n.client.y-t.client.y,e.timeStamp=(new Date).getTime()-t.timeStamp;var a=Math.max(e.timeStamp/1e3,.001);e.page.speed=Ce(e.page.x,e.page.y)/a,e.page.vx=e.page.x/a,e.page.vy=e.page.y/a,e.client.speed=Ce(e.client.x,e.page.y)/a,e.client.vx=e.client.x/a,e.client.vy=e.client.y/a}function v(e){return e instanceof ge.Event||_e&&ge.Touch&&e instanceof ge.Touch}function b(e,t,n){return n=n||{},e=e||"page","undefined"==typeof t?n:(n.x=t[e+"X"],n.y=t[e+"Y"],n)}function y(e,t){return t=t||{},Ue&&v(e)?(b("screen",e,t),t.x+=ge.scrollX,t.y+=ge.scrollY):b("page",e,t),t}function w(e,t){return t=t||{},Ue&&v(e)?b("screen",e,t):b("client",e,t),t}function S(e){return e=e||ge,{x:e.scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop}}function k(e){return d(e.pointerId)?e.pointerId:e.identifier}function A(e){return e instanceof Se?e.correspondingUseElement:e}function C(e){if(a(e))return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||ge}function x(e){var t=e instanceof ye?e.getBoundingClientRect():e.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}}function T(e){var t=x(e);if(!je&&t){var n=S(C(e));t.left+=n.x,t.right+=n.x,t.top+=n.y,t.bottom+=n.y}return t}function M(e){var t=[];return o(e)?(t[0]=e[0],t[1]=e[1]):"touchend"===e.type?1===e.touches.length?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):0===e.touches.length&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t}function E(e){for(var t,n={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},a=0;a<e.length;a++)for(t in n)n[t]+=e[a][t];for(t in n)n[t]/=e.length;return n}function P(e){if(e.length||e.touches&&e.touches.length>1){var t=M(e),n=Math.min(t[0].pageX,t[1].pageX),a=Math.min(t[0].pageY,t[1].pageY),i=Math.max(t[0].pageX,t[1].pageX),o=Math.max(t[0].pageY,t[1].pageY);return{x:n,y:a,left:n,top:a,width:i-n,height:o-a}}}function B(e,t){t=t||Ne.deltaSource;var n=t+"X",a=t+"Y",i=M(e),o=i[0][n]-i[1][n],s=i[0][a]-i[1][a];return Ce(o,s)}function N(e,t,n){n=n||Ne.deltaSource;var a=n+"X",i=n+"Y",o=M(e),s=o[0][a]-o[1][a],r=o[0][i]-o[1][i],l=180*Math.atan(r/s)/Math.PI;if(d(t)){var c=l-t,h=c%360;h>315?l-=360+l/360|0:h>135?l-=180+l/360|0:h<-315?l+=360+l/360|0:h<-135&&(l+=180+l/360|0)}return l}function L(e,t){var a=e?e.options.origin:Ne.origin;return"parent"===a?a=O(t):"self"===a?a=e.getRect(t):h(a)&&(a=R(t,a)||{x:0,y:0}),r(a)&&(a=a(e&&t)),n(a)&&(a=T(a)),a.x="x"in a?a.x:a.left,a.y="y"in a?a.y:a.top,a}function _(e,t,n,a){var i=1-e;return i*i*t+2*i*e*n+e*e*a}function I(e,t,n,a,i,o,s){return{x:_(s,e,n,i),y:_(s,t,a,o)}}function D(e,t,n,a){return e/=a,-n*e*(e-2)+t}function $(e,t){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function R(e,t){for(var a=O(e);n(a);){if(ue(a,t))return a;a=O(a)}return null}function O(e){var t=e.parentNode;if(i(t)){for(;(t=t.host)&&i(t););return t}return t}function H(e,t){return e._context===t.ownerDocument||$(e._context,t)}function z(e,t,a){var i=e.options.ignoreFrom;return!(!i||!n(a))&&(c(i)?me(a,i,t):!!n(i)&&$(i,a))}function K(e,t,a){var i=e.options.allowFrom;return!i||!!n(a)&&(c(i)?me(a,i,t):!!n(i)&&$(i,a))}function F(e,t){if(!t)return!1;var n=t.options.drag.axis;return"xy"===e||"xy"===n||n===e}function G(e,t){var n=e.options;return/^resize/.test(t)&&(t="resize"),n[t].snap&&n[t].snap.enabled}function U(e,t){var n=e.options;return/^resize/.test(t)&&(t="resize"),n[t].restrict&&n[t].restrict.enabled}function j(e,t){var n=e.options;return/^resize/.test(t)&&(t="resize"),n[t].autoScroll&&n[t].autoScroll.enabled}function V(e,t,n){for(var a=e.options,i=a[n.name].max,o=a[n.name].maxPerElement,s=0,r=0,d=0,l=0,c=Ee.length;l<c;l++){var h=Ee[l],u=h.prepared.name,m=h.interacting();if(m){if(s++,s>=Oe)return!1;if(h.target===e){if(r+=u===n.name|0,r>=i)return!1;if(h.element===t&&(d++,u!==n.name||d>=o))return!1}}}return Oe>0}function W(e){var t,n,a,i,o,s=e[0],r=s?0:-1,d=[],l=[];for(i=1;i<e.length;i++)if(t=e[i],t&&t!==s)if(s){if(t.parentNode!==t.ownerDocument)if(s.parentNode!==t.ownerDocument){if(!d.length)for(n=s;n.parentNode&&n.parentNode!==n.ownerDocument;)d.unshift(n),n=n.parentNode;if(s instanceof ke&&t instanceof ye&&!(t instanceof we)){if(t===s.parentNode)continue;n=t.ownerSVGElement}else n=t;for(l=[];n.parentNode!==n.ownerDocument;)l.unshift(n),n=n.parentNode;for(o=0;l[o]&&l[o]===d[o];)o++;var c=[l[o-1],l[o],d[o]];for(a=c[0].lastChild;a;){if(a===c[1]){s=t,r=i,d=[];break}if(a===c[2])break;a=a.previousSibling}}else s=t,r=i}else s=t,r=i;return r}function Y(){if(this.target=null,this.element=null,this.dropTarget=null,this.dropElement=null,this.prevDropTarget=null,this.prevDropElement=null,this.prepared={name:null,axis:null,edges:null},this.matches=[],this.matchElements=[],this.inertiaStatus={active:!1,smoothEnd:!1,ending:!1,startEvent:null,upCoords:{},xe:0,ye:0,sx:0,sy:0,t0:0,vx0:0,vys:0,duration:0,resumeDx:0,resumeDy:0,lambda_v0:0,one_ve_v0:0,i:null},r(Function.prototype.bind))this.boundInertiaFrame=this.inertiaFrame.bind(this),this.boundSmoothEndFrame=this.smoothEndFrame.bind(this);else{var e=this;this.boundInertiaFrame=function(){return e.inertiaFrame()},this.boundSmoothEndFrame=function(){return e.smoothEndFrame()}}this.activeDrops={dropzones:[],elements:[],rects:[]},this.pointers=[],this.pointerIds=[],this.downTargets=[],this.downTimes=[],this.holdTimers=[],this.prevCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.curCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.startCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.pointerDelta={page:{x:0,y:0,vx:0,vy:0,speed:0},client:{x:0,y:0,vx:0,vy:0,speed:0},timeStamp:0},this.downEvent=null,this.downPointer={},this._eventTarget=null,this._curEventTarget=null,this.prevEvent=null,this.tapTime=0,this.prevTap=null,this.startOffset={left:0,right:0,top:0,bottom:0},this.restrictOffset={left:0,right:0,top:0,bottom:0},this.snapOffsets=[],this.gesture={start:{x:0,y:0},startDistance:0,prevDistance:0,distance:0,scale:1,startAngle:0,prevAngle:0},this.snapStatus={x:0,y:0,dx:0,dy:0,realX:0,realY:0,snappedX:0,snappedY:0,targets:[],locked:!1,changed:!1},this.restrictStatus={dx:0,dy:0,restrictedX:0,restrictedY:0,snap:null,restricted:!1,changed:!1},this.restrictStatus.snap=this.snapStatus,this.pointerIsDown=!1,this.pointerWasMoved=!1,this.gesturing=!1,this.dragging=!1,this.resizing=!1,this.resizeAxes="xy",this.mouse=!1,Ee.push(this)}function q(e,t,n){var a,i=0,o=Ee.length,s=/mouse/i.test(e.pointerType||t)||4===e.pointerType,r=k(e);if(/down|start/i.test(t))for(i=0;i<o;i++){a=Ee[i];var d=n;if(a.inertiaStatus.active&&a.target.options[a.prepared.name].inertia.allowResume&&a.mouse===s)for(;d;){if(d===a.element)return a;d=O(d)}}if(s||!_e&&!Ie){for(i=0;i<o;i++)if(Ee[i].mouse&&!Ee[i].inertiaStatus.active)return Ee[i];for(i=0;i<o;i++)if(Ee[i].mouse&&(!/down/.test(t)||!Ee[i].inertiaStatus.active))return a;return a=new Y,a.mouse=!0,a}for(i=0;i<o;i++)if(he(Ee[i].pointerIds,r))return Ee[i];if(/up|end|out/i.test(t))return null;for(i=0;i<o;i++)if(a=Ee[i],(!a.prepared.name||a.target.options.gesture.enabled)&&!a.interacting()&&(s||!a.mouse))return a;return new Y}function J(e){return function(t){var n,a,i=A(t.path?t.path[0]:t.target),o=A(t.currentTarget);if(_e&&/touch/.test(t.type))for(Re=(new Date).getTime(),a=0;a<t.changedTouches.length;a++){var s=t.changedTouches[a];n=q(s,t.type,i),n&&(n._updateEventTargets(i,o),n[e](s,t,i,o))}else{if(!Ie&&/mouse/.test(t.type)){for(a=0;a<Ee.length;a++)if(!Ee[a].mouse&&Ee[a].pointerIsDown)return;if((new Date).getTime()-Re<500)return}if(n=q(t,t.type,i),!n)return;n._updateEventTargets(i,o),n[e](t,t,i,o)}}}function Z(e,t,n,a,i,o){var s,r,d=e.target,l=e.snapStatus,c=e.restrictStatus,h=e.pointers,m=(d&&d.options||Ne).deltaSource,p=m+"X",f=m+"Y",g=d?d.options:Ne,v=L(d,i),b="start"===a,y="end"===a,w=b?e.startCoords:e.curCoords;i=i||e.element,r=u({},w.page),s=u({},w.client),r.x-=v.x,r.y-=v.y,s.x-=v.x,s.y-=v.y;var S=g[n].snap&&g[n].snap.relativePoints;!G(d,n)||b&&S&&S.length||(this.snap={range:l.range,locked:l.locked,x:l.snappedX,y:l.snappedY,realX:l.realX,realY:l.realY,dx:l.dx,dy:l.dy},l.locked&&(r.x+=l.dx,r.y+=l.dy,s.x+=l.dx,s.y+=l.dy)),!U(d,n)||b&&g[n].restrict.elementRect||!c.restricted||(r.x+=c.dx,r.y+=c.dy,s.x+=c.dx,s.y+=c.dy,this.restrict={dx:c.dx,dy:c.dy}),this.pageX=r.x,this.pageY=r.y,this.clientX=s.x,this.clientY=s.y,this.x0=e.startCoords.page.x-v.x,this.y0=e.startCoords.page.y-v.y,this.clientX0=e.startCoords.client.x-v.x,this.clientY0=e.startCoords.client.y-v.y,this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.button=t.button,this.buttons=t.buttons,this.target=i,this.t0=e.downTimes[0],this.type=n+(a||""),this.interaction=e,this.interactable=d;var k=e.inertiaStatus;if(k.active&&(this.detail="inertia"),o&&(this.relatedTarget=o),y?"client"===m?(this.dx=s.x-e.startCoords.client.x,this.dy=s.y-e.startCoords.client.y):(this.dx=r.x-e.startCoords.page.x,this.dy=r.y-e.startCoords.page.y):b?(this.dx=0,this.dy=0):"inertiastart"===a?(this.dx=e.prevEvent.dx,this.dy=e.prevEvent.dy):"client"===m?(this.dx=s.x-e.prevEvent.clientX,this.dy=s.y-e.prevEvent.clientY):(this.dx=r.x-e.prevEvent.pageX,this.dy=r.y-e.prevEvent.pageY),e.prevEvent&&"inertia"===e.prevEvent.detail&&!k.active&&g[n].inertia&&g[n].inertia.zeroResumeDelta&&(k.resumeDx+=this.dx,k.resumeDy+=this.dy,this.dx=this.dy=0),"resize"===n&&e.resizeAxes?g.resize.square?("y"===e.resizeAxes?this.dx=this.dy:this.dy=this.dx,this.axes="xy"):(this.axes=e.resizeAxes,"x"===e.resizeAxes?this.dy=0:"y"===e.resizeAxes&&(this.dx=0)):"gesture"===n&&(this.touches=[h[0],h[1]],b?(this.distance=B(h,m),this.box=P(h),this.scale=1,this.ds=0,this.angle=N(h,void 0,m),this.da=0):y||t instanceof Z?(this.distance=e.prevEvent.distance,this.box=e.prevEvent.box,this.scale=e.prevEvent.scale,this.ds=this.scale-1,this.angle=e.prevEvent.angle,this.da=this.angle-e.gesture.startAngle):(this.distance=B(h,m),this.box=P(h),this.scale=this.distance/e.gesture.startDistance,this.angle=N(h,e.gesture.prevAngle,m),this.ds=this.scale-e.gesture.prevScale,this.da=this.angle-e.gesture.prevAngle)),b)this.timeStamp=e.downTimes[0],this.dt=0,this.duration=0,this.speed=0,this.velocityX=0,this.velocityY=0;else if("inertiastart"===a)this.timeStamp=e.prevEvent.timeStamp,this.dt=e.prevEvent.dt,this.duration=e.prevEvent.duration,this.speed=e.prevEvent.speed,this.velocityX=e.prevEvent.velocityX,this.velocityY=e.prevEvent.velocityY;else if(this.timeStamp=(new Date).getTime(),this.dt=this.timeStamp-e.prevEvent.timeStamp,this.duration=this.timeStamp-e.downTimes[0],t instanceof Z){var A=this[p]-e.prevEvent[p],C=this[f]-e.prevEvent[f],x=this.dt/1e3;this.speed=Ce(A,C)/x,this.velocityX=A/x,this.velocityY=C/x}else this.speed=e.pointerDelta[m].speed,this.velocityX=e.pointerDelta[m].vx,this.velocityY=e.pointerDelta[m].vy;if((y||"inertiastart"===a)&&e.prevEvent.speed>600&&this.timeStamp-e.prevEvent.timeStamp<150){var T=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI,M=22.5;T<0&&(T+=360);var E=135-M<=T&&T<225+M,_=225-M<=T&&T<315+M,I=!E&&(315-M<=T||T<45+M),D=!_&&45-M<=T&&T<135+M;this.swipe={up:_,down:D,left:E,right:I,angle:T,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}}}function X(){this.originalEvent.preventDefault()}function Q(e){var t="";if("drag"===e.name&&(t=He.drag),"resize"===e.name)if(e.axis)t=He[e.name+e.axis];else if(e.edges){for(var n="resize",a=["top","bottom","left","right"],i=0;i<4;i++)e.edges[a[i]]&&(n+=a[i]);t=He[n]}return t}function ee(e,t,a,i,o,s,r){if(!t)return!1;if(t===!0){var l=d(s.width)?s.width:s.right-s.left,c=d(s.height)?s.height:s.bottom-s.top;if(l<0&&("left"===e?e="right":"right"===e&&(e="left")),c<0&&("top"===e?e="bottom":"bottom"===e&&(e="top")),"left"===e)return a.x<(l>=0?s.left:s.right)+r;if("top"===e)return a.y<(c>=0?s.top:s.bottom)+r;if("right"===e)return a.x>(l>=0?s.right:s.left)-r;if("bottom"===e)return a.y>(c>=0?s.bottom:s.top)-r}return!!n(i)&&(n(t)?t===i:me(i,t,o))}function te(e,t,n){var a,i=this.getRect(n),o=!1,r=null,d=null,l=u({},t.curCoords.page),c=this.options;if(!i)return null;if(ze.resize&&c.resize.enabled){var h=c.resize;if(a={left:!1,right:!1,top:!1,bottom:!1},s(h.edges)){for(var m in a)a[m]=ee(m,h.edges[m],l,t._eventTarget,n,i,h.margin||De);a.left=a.left&&!a.right,a.top=a.top&&!a.bottom,o=a.left||a.right||a.top||a.bottom}else{var p="y"!==c.resize.axis&&l.x>i.right-De,f="x"!==c.resize.axis&&l.y>i.bottom-De;o=p||f,d=(p?"x":"")+(f?"y":"")}}return r=o?"resize":ze.drag&&c.drag.enabled?"drag":null,ze.gesture&&t.pointerIds.length>=2&&!t.dragging&&!t.resizing&&(r="gesture"),r?{name:r,axis:d,edges:a}:null}function ne(e,t){if(!s(e))return null;var n=e.name,a=t.options;return("resize"===n&&a.resize.enabled||"drag"===n&&a.drag.enabled||"gesture"===n&&a.gesture.enabled)&&ze[n]?("resize"!==n&&"resizeyx"!==n||(n="resizexy"),e):null}function ae(e,t){var a={},i=Be[e.type],o=A(e.path?e.path[0]:e.target),s=o;t=!!t;for(var r in e)a[r]=e[r];for(a.originalEvent=e,a.preventDefault=X;n(s);){for(var d=0;d<i.selectors.length;d++){var l=i.selectors[d],c=i.contexts[d];if(ue(s,l)&&$(c,o)&&$(c,s)){var h=i.listeners[d];a.currentTarget=s;for(var u=0;u<h.length;u++)h[u][1]===t&&h[u][0](a)}}s=O(s)}}function ie(e){return ae.call(this,e,!0)}function oe(e,t){return Me.get(e,t)||new se(e,t)}function se(e,t){this._element=e,this._iEvents=this._iEvents||{};var a;if(h(e)){this.selector=e;var i=t&&t.context;a=i?C(i):ge,i&&(a.Node?i instanceof a.Node:n(i)||i===a.document)&&(this._context=i)}else a=C(e),n(e,a)&&(Ae?(qe.add(this._element,pe.down,Ze.pointerDown),qe.add(this._element,pe.move,Ze.pointerHover)):(qe.add(this._element,"mousedown",Ze.pointerDown),qe.add(this._element,"mousemove",Ze.pointerHover),qe.add(this._element,"touchstart",Ze.pointerDown),qe.add(this._element,"touchmove",Ze.pointerHover)));this._doc=a.document,he(Te,this._doc)||le(this._doc),Me.push(this),this.set(t)}function re(e,t){var n=!1;return function(){return n||(n=!0),e.apply(this,arguments)}}function de(e){for(var t=0;t<Ee.length;t++)Ee[t].pointerEnd(e,e)}function le(e){if(!he(Te,e)){var t=e.defaultView||e.parentWindow;for(var n in Be)qe.add(e,n,ae),qe.add(e,n,ie,!0);Ae?(pe=Ae===t.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"},qe.add(e,pe.down,Ze.selectorDown),qe.add(e,pe.move,Ze.pointerMove),qe.add(e,pe.over,Ze.pointerOver),qe.add(e,pe.out,Ze.pointerOut),qe.add(e,pe.up,Ze.pointerUp),qe.add(e,pe.cancel,Ze.pointerCancel),qe.add(e,pe.move,Ze.autoScrollMove)):(qe.add(e,"mousedown",Ze.selectorDown),qe.add(e,"mousemove",Ze.pointerMove),qe.add(e,"mouseup",Ze.pointerUp),qe.add(e,"mouseover",Ze.pointerOver),qe.add(e,"mouseout",Ze.pointerOut),qe.add(e,"touchstart",Ze.selectorDown),qe.add(e,"touchmove",Ze.pointerMove),qe.add(e,"touchend",Ze.pointerUp),qe.add(e,"touchcancel",Ze.pointerCancel),qe.add(e,"mousemove",Ze.autoScrollMove),qe.add(e,"touchmove",Ze.autoScrollMove)),qe.add(t,"blur",de);try{if(t.frameElement){var a=t.frameElement.ownerDocument,i=a.defaultView;qe.add(a,"mouseup",Ze.pointerEnd),qe.add(a,"touchend",Ze.pointerEnd),qe.add(a,"touchcancel",Ze.pointerEnd),qe.add(a,"pointerup",Ze.pointerEnd),qe.add(a,"MSPointerUp",Ze.pointerEnd),qe.add(i,"blur",de)}}catch(o){oe.windowParentError=o}qe.add(e,"dragstart",function(e){for(var t=0;t<Ee.length;t++){var n=Ee[t];if(n.element&&(n.element===e.target||$(n.element,e.target)))return void n.checkAndPreventDefault(e,n.target,n.element)}}),qe.useAttachEvent&&(qe.add(e,"selectstart",function(e){var t=Ee[0];t.currentAction()&&t.checkAndPreventDefault(e)}),qe.add(e,"dblclick",J("ie8Dblclick"))),Te.push(e)}}function ce(e,t){for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n;return-1}function he(e,t){return ce(e,t)!==-1}function ue(t,n,a){return fe?fe(t,n,a):(ge!==e&&(n=n.replace(/\/deep\//g," ")),t[Ve](n))}function me(e,t,a){for(;n(e);){if(ue(e,t))return!0;if(e=O(e),e===a)return ue(e,t)}return!1}if(e){var pe,fe,ge=function(){var t=e.document.createTextNode("");return t.ownerDocument!==e.document&&"function"==typeof e.wrap&&e.wrap(t)===t?e.wrap(e):e}(),ve=ge.document,be=ge.DocumentFragment||t,ye=ge.SVGElement||t,we=ge.SVGSVGElement||t,Se=ge.SVGElementInstance||t,ke=ge.HTMLElement||ge.Element,Ae=ge.PointerEvent||ge.MSPointerEvent,Ce=Math.hypot||function(e,t){return Math.sqrt(e*e+t*t)},xe={},Te=[],Me=[],Ee=[],Pe=!1,Be={},Ne={base:{accept:null,actionChecker:null,styleCursor:!0,preventDefault:"auto",origin:{x:0,y:0},deltaSource:"page",allowFrom:null,ignoreFrom:null,_context:ve,dropChecker:null},drag:{enabled:!1,manualStart:!0,max:1/0,maxPerElement:1,snap:null,restrict:null,inertia:null,autoScroll:null,axis:"xy"},drop:{enabled:!1,accept:null,overlap:"pointer"},resize:{enabled:!1,manualStart:!1,max:1/0,maxPerElement:1,snap:null,restrict:null,inertia:null,autoScroll:null,square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},gesture:{manualStart:!1,enabled:!1,max:1/0,maxPerElement:1,restrict:null},perAction:{manualStart:!1,max:1/0,maxPerElement:1,snap:{enabled:!1,endOnly:!1,range:1/0,targets:null,offsets:null,relativePoints:null},restrict:{enabled:!1,endOnly:!1},autoScroll:{enabled:!1,container:null,margin:60,speed:300},inertia:{enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,zeroResumeDelta:!0,smoothEndDuration:300}},_holdDuration:600},Le={interaction:null,i:null,x:0,y:0,scroll:function(){var e,t,n,i,o=Le.interaction.target.options[Le.interaction.prepared.name].autoScroll,s=o.container||C(Le.interaction.element),r=(new Date).getTime(),d=(r-Le.prevTimeX)/1e3,l=(r-Le.prevTimeY)/1e3;o.velocity?(e=o.velocity.x,t=o.velocity.y):e=t=o.speed,n=e*d,i=t*l,(n>=1||i>=1)&&(a(s)?s.scrollBy(Le.x*n,Le.y*i):s&&(s.scrollLeft+=Le.x*n,s.scrollTop+=Le.y*i),n>=1&&(Le.prevTimeX=r),i>=1&&(Le.prevTimeY=r)),Le.isScrolling&&(Ye(Le.i),Le.i=We(Le.scroll))},isScrolling:!1,prevTimeX:0,prevTimeY:0,start:function(e){Le.isScrolling=!0,Ye(Le.i),Le.interaction=e,Le.prevTimeX=(new Date).getTime(),Le.prevTimeY=(new Date).getTime(),Le.i=We(Le.scroll)},stop:function(){Le.isScrolling=!1,Ye(Le.i)}},_e="ontouchstart"in ge||ge.DocumentTouch&&ve instanceof ge.DocumentTouch,Ie=!!Ae,De=_e||Ie?20:10,$e=1,Re=0,Oe=1/0,He=ve.all&&!ge.atob?{drag:"move",resizex:"e-resize",resizey:"s-resize",resizexy:"se-resize",resizetop:"n-resize",resizeleft:"w-resize",resizebottom:"s-resize",resizeright:"e-resize",resizetopleft:"se-resize",resizebottomright:"se-resize",resizetopright:"ne-resize",resizebottomleft:"ne-resize",gesture:""}:{drag:"move",resizex:"ew-resize",resizey:"ns-resize",resizexy:"nwse-resize",resizetop:"ns-resize",resizeleft:"ew-resize",resizebottom:"ns-resize",resizeright:"ew-resize",resizetopleft:"nwse-resize",resizebottomright:"nwse-resize",resizetopright:"nesw-resize",resizebottomleft:"nesw-resize",gesture:""},ze={drag:!0,resize:!0,gesture:!0},Ke="onmousewheel"in ve?"mousewheel":"wheel",Fe=["dragstart","dragmove","draginertiastart","dragend","dragenter","dragleave","dropactivate","dropdeactivate","dropmove","drop","resizestart","resizemove","resizeinertiastart","resizeend","gesturestart","gesturemove","gestureinertiastart","gestureend","down","move","up","cancel","tap","doubletap","hold"],Ge={},Ue="Opera"==navigator.appName&&_e&&navigator.userAgent.match("Presto"),je=/iP(hone|od|ad)/.test(navigator.platform)&&/OS 7[^\d]/.test(navigator.appVersion),Ve="matches"in Element.prototype?"matches":"webkitMatchesSelector"in Element.prototype?"webkitMatchesSelector":"mozMatchesSelector"in Element.prototype?"mozMatchesSelector":"oMatchesSelector"in Element.prototype?"oMatchesSelector":"msMatchesSelector",We=e.requestAnimationFrame,Ye=e.cancelAnimationFrame,qe=function(){function e(e,t,r,u){var m=ce(l,e),p=c[m];if(p||(p={events:{},typeCount:0},m=l.push(e)-1,c.push(p),h.push(o?{supplied:[],wrapped:[],useCount:[]}:null)),p.events[t]||(p.events[t]=[],p.typeCount++),!he(p.events[t],r)){var f;if(o){var g=h[m],v=ce(g.supplied,r),b=g.wrapped[v]||function(t){t.immediatePropagationStopped||(t.target=t.srcElement,t.currentTarget=e,t.preventDefault=t.preventDefault||n,t.stopPropagation=t.stopPropagation||a,t.stopImmediatePropagation=t.stopImmediatePropagation||i,/mouse|click/.test(t.type)&&(t.pageX=t.clientX+C(e).document.documentElement.scrollLeft,t.pageY=t.clientY+C(e).document.documentElement.scrollTop),r(t))};f=e[s](d+t,b,Boolean(u)),v===-1?(g.supplied.push(r),g.wrapped.push(b),g.useCount.push(1)):g.useCount[v]++}else f=e[s](t,r,u||!1);return p.events[t].push(r),f}}function t(e,n,a,i){var s,u,m,p=ce(l,e),f=c[p],g=a;if(f&&f.events)if(o&&(u=h[p],m=ce(u.supplied,a),g=u.wrapped[m]),"all"!==n){if(f.events[n]){var v=f.events[n].length;if("all"===a){for(s=0;s<v;s++)t(e,n,f.events[n][s],Boolean(i));return}for(s=0;s<v;s++)if(f.events[n][s]===a){e[r](d+n,g,i||!1),f.events[n].splice(s,1),o&&u&&(u.useCount[m]--,0===u.useCount[m]&&(u.supplied.splice(m,1),u.wrapped.splice(m,1),u.useCount.splice(m,1)));break}f.events[n]&&0===f.events[n].length&&(f.events[n]=null,f.typeCount--)}f.typeCount||(c.splice(p,1),l.splice(p,1),h.splice(p,1))}else for(n in f.events)f.events.hasOwnProperty(n)&&t(e,n,"all")}function n(){this.returnValue=!1}function a(){this.cancelBubble=!0}function i(){this.cancelBubble=!0,this.immediatePropagationStopped=!0}var o="attachEvent"in ge&&!("addEventListener"in ge),s=o?"attachEvent":"addEventListener",r=o?"detachEvent":"removeEventListener",d=o?"on":"",l=[],c=[],h=[];return{add:e,remove:t,useAttachEvent:o,_elements:l,_targets:c,_attachedListeners:h}}(),Je={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/};Y.prototype={getPageXY:function(e,t){return y(e,t,this)},getClientXY:function(e,t){return w(e,t,this)},setEventXY:function(e,t){return f(e,t,this)},pointerOver:function(e,t,n){function a(e,t){e&&H(e,n)&&!z(e,n,n)&&K(e,n,n)&&ue(n,t)&&(i.push(e),o.push(n))}if(!this.prepared.name&&this.mouse){var i=[],o=[],s=this.element;this.addPointer(e),!this.target||!z(this.target,this.element,n)&&K(this.target,this.element,n)||(this.target=null,this.element=null,this.matches=[],this.matchElements=[]);var r=Me.get(n),d=r&&!z(r,n,n)&&K(r,n,n)&&ne(r.getAction(e,t,this,n),r);d&&!V(r,n,d)&&(d=null),d?(this.target=r,this.element=n,this.matches=[],this.matchElements=[]):(Me.forEachSelector(a),this.validateSelector(e,t,i,o)?(this.matches=i,this.matchElements=o,this.pointerHover(e,t,this.matches,this.matchElements),qe.add(n,Ae?pe.move:"mousemove",Ze.pointerHover)):this.target&&($(s,n)?(this.pointerHover(e,t,this.matches,this.matchElements),qe.add(this.element,Ae?pe.move:"mousemove",Ze.pointerHover)):(this.target=null,this.element=null,this.matches=[],this.matchElements=[])))}},pointerHover:function(e,t,n,a,i,o){var s=this.target;if(!this.prepared.name&&this.mouse){var r;this.setEventXY(this.curCoords,[e]),i?r=this.validateSelector(e,t,i,o):s&&(r=ne(s.getAction(this.pointers[0],t,this,this.element),this.target)),s&&s.options.styleCursor&&(r?s._doc.documentElement.style.cursor=Q(r):s._doc.documentElement.style.cursor="")}else this.prepared.name&&this.checkAndPreventDefault(t,s,this.element)},pointerOut:function(e,t,n){this.prepared.name||(Me.get(n)||qe.remove(n,Ae?pe.move:"mousemove",Ze.pointerHover),this.target&&this.target.options.styleCursor&&!this.interacting()&&(this.target._doc.documentElement.style.cursor=""))},selectorDown:function(e,t,a,i){function o(e,t,n){var i=fe?n.querySelectorAll(t):void 0;H(e,l)&&!z(e,l,a)&&K(e,l,a)&&ue(l,t,i)&&(r.matches.push(e),r.matchElements.push(l))}var s,r=this,d=qe.useAttachEvent?u({},t):t,l=a,c=this.addPointer(e);if(this.holdTimers[c]=setTimeout(function(){r.pointerHold(qe.useAttachEvent?d:e,d,a,i)},Ne._holdDuration),this.pointerIsDown=!0,this.inertiaStatus.active&&this.target.selector)for(;n(l);){if(l===this.element&&ne(this.target.getAction(e,t,this,this.element),this.target).name===this.prepared.name)return Ye(this.inertiaStatus.i),this.inertiaStatus.active=!1,void this.collectEventTargets(e,t,a,"down");l=O(l)}if(this.interacting())return void this.collectEventTargets(e,t,a,"down");for(this.setEventXY(this.curCoords,[e]),this.downEvent=t;n(l)&&!s;)this.matches=[],this.matchElements=[],Me.forEachSelector(o),s=this.validateSelector(e,t,this.matches,this.matchElements),l=O(l);return s?(this.prepared.name=s.name,this.prepared.axis=s.axis,this.prepared.edges=s.edges,this.collectEventTargets(e,t,a,"down"),this.pointerDown(e,t,a,i,s)):(this.downTimes[c]=(new Date).getTime(),this.downTargets[c]=a,m(this.downPointer,e),p(this.prevCoords,this.curCoords),this.pointerWasMoved=!1,void this.collectEventTargets(e,t,a,"down"))},pointerDown:function(e,t,n,a,i){if(!i&&!this.inertiaStatus.active&&this.pointerWasMoved&&this.prepared.name)return void this.checkAndPreventDefault(t,this.target,this.element);this.pointerIsDown=!0,this.downEvent=t;var o,s=this.addPointer(e);if(this.pointerIds.length>1&&this.target._element===this.element){var r=ne(i||this.target.getAction(e,t,this,this.element),this.target);V(this.target,this.element,r)&&(o=r),this.prepared.name=null}else if(!this.prepared.name){var d=Me.get(a);d&&!z(d,a,n)&&K(d,a,n)&&(o=ne(i||d.getAction(e,t,this,a),d,n))&&V(d,a,o)&&(this.target=d,this.element=a)}var l=this.target,c=l&&l.options;if(!l||!i&&this.prepared.name)this.inertiaStatus.active&&a===this.element&&ne(l.getAction(e,t,this,this.element),l).name===this.prepared.name&&(Ye(this.inertiaStatus.i),this.inertiaStatus.active=!1,this.checkAndPreventDefault(t,l,this.element));else{if(o=o||ne(i||l.getAction(e,t,this,a),l,this.element),this.setEventXY(this.startCoords,this.pointers),!o)return;c.styleCursor&&(l._doc.documentElement.style.cursor=Q(o)),this.resizeAxes="resize"===o.name?o.axis:null,"gesture"===o&&this.pointerIds.length<2&&(o=null),this.prepared.name=o.name,this.prepared.axis=o.axis,this.prepared.edges=o.edges,this.snapStatus.snappedX=this.snapStatus.snappedY=this.restrictStatus.restrictedX=this.restrictStatus.restrictedY=NaN,this.downTimes[s]=(new Date).getTime(),this.downTargets[s]=n,m(this.downPointer,e),p(this.prevCoords,this.startCoords),this.pointerWasMoved=!1,this.checkAndPreventDefault(t,l,this.element)}},setModifications:function(e,t){var n=this.target,a=!0,i=G(n,this.prepared.name)&&(!n.options[this.prepared.name].snap.endOnly||t),o=U(n,this.prepared.name)&&(!n.options[this.prepared.name].restrict.endOnly||t);return i?this.setSnapping(e):this.snapStatus.locked=!1,o?this.setRestriction(e):this.restrictStatus.restricted=!1,i&&this.snapStatus.locked&&!this.snapStatus.changed?a=o&&this.restrictStatus.restricted&&this.restrictStatus.changed:o&&this.restrictStatus.restricted&&!this.restrictStatus.changed&&(a=!1),a},setStartOffsets:function(e,t,n){var a,i,o=t.getRect(n),s=L(t,n),r=t.options[this.prepared.name].snap,d=t.options[this.prepared.name].restrict;o?(this.startOffset.left=this.startCoords.page.x-o.left,this.startOffset.top=this.startCoords.page.y-o.top,this.startOffset.right=o.right-this.startCoords.page.x,this.startOffset.bottom=o.bottom-this.startCoords.page.y,a="width"in o?o.width:o.right-o.left,i="height"in o?o.height:o.bottom-o.top):this.startOffset.left=this.startOffset.top=this.startOffset.right=this.startOffset.bottom=0,this.snapOffsets.splice(0);var l=r&&"startCoords"===r.offset?{x:this.startCoords.page.x-s.x,y:this.startCoords.page.y-s.y}:r&&r.offset||{x:0,y:0};if(o&&r&&r.relativePoints&&r.relativePoints.length)for(var c=0;c<r.relativePoints.length;c++)this.snapOffsets.push({x:this.startOffset.left-a*r.relativePoints[c].x+l.x,y:this.startOffset.top-i*r.relativePoints[c].y+l.y});else this.snapOffsets.push(l);o&&d.elementRect?(this.restrictOffset.left=this.startOffset.left-a*d.elementRect.left,this.restrictOffset.top=this.startOffset.top-i*d.elementRect.top,this.restrictOffset.right=this.startOffset.right-a*(1-d.elementRect.right),this.restrictOffset.bottom=this.startOffset.bottom-i*(1-d.elementRect.bottom)):this.restrictOffset.left=this.restrictOffset.top=this.restrictOffset.right=this.restrictOffset.bottom=0},start:function(e,t,n){this.interacting()||!this.pointerIsDown||this.pointerIds.length<("gesture"===e.name?2:1)||(ce(Ee,this)===-1&&Ee.push(this),this.prepared.name||this.setEventXY(this.startCoords),this.prepared.name=e.name,this.prepared.axis=e.axis,this.prepared.edges=e.edges,this.target=t,this.element=n,this.setStartOffsets(e.name,t,n),this.setModifications(this.startCoords.page),this.prevEvent=this[this.prepared.name+"Start"](this.downEvent))},pointerMove:function(e,t,a,i,o){if(this.inertiaStatus.active){var s=this.inertiaStatus.upCoords.page,r=this.inertiaStatus.upCoords.client,d={pageX:s.x+this.inertiaStatus.sx,pageY:s.y+this.inertiaStatus.sy,clientX:r.x+this.inertiaStatus.sx,clientY:r.y+this.inertiaStatus.sy};this.setEventXY(this.curCoords,[d])}else this.recordPointer(e),this.setEventXY(this.curCoords,this.pointers);var l,c,h=this.curCoords.page.x===this.prevCoords.page.x&&this.curCoords.page.y===this.prevCoords.page.y&&this.curCoords.client.x===this.prevCoords.client.x&&this.curCoords.client.y===this.prevCoords.client.y,u=this.mouse?0:ce(this.pointerIds,k(e));if(this.pointerIsDown&&!this.pointerWasMoved&&(l=this.curCoords.client.x-this.startCoords.client.x,c=this.curCoords.client.y-this.startCoords.client.y,this.pointerWasMoved=Ce(l,c)>$e),h||this.pointerIsDown&&!this.pointerWasMoved||(this.pointerIsDown&&clearTimeout(this.holdTimers[u]),this.collectEventTargets(e,t,a,"move")),this.pointerIsDown){if(h&&this.pointerWasMoved&&!o)return void this.checkAndPreventDefault(t,this.target,this.element);if(g(this.pointerDelta,this.prevCoords,this.curCoords),this.prepared.name){if(this.pointerWasMoved&&(!this.inertiaStatus.active||e instanceof Z&&/inertiastart/.test(e.type))){if(!this.interacting()&&(g(this.pointerDelta,this.prevCoords,this.curCoords),"drag"===this.prepared.name)){var m=Math.abs(l),f=Math.abs(c),v=this.target.options.drag.axis,b=m>f?"x":m<f?"y":"xy";if("xy"!==b&&"xy"!==v&&v!==b){this.prepared.name=null;for(var y=a;n(y);){var w=Me.get(y);if(w&&w!==this.target&&!w.options.drag.manualStart&&"drag"===w.getAction(this.downPointer,this.downEvent,this,y).name&&F(b,w)){this.prepared.name="drag",this.target=w,this.element=y;break}y=O(y)}if(!this.prepared.name){var S=this,A=function(e,t,n){var i=fe?n.querySelectorAll(t):void 0;if(e!==S.target)return H(e,a)&&!e.options.drag.manualStart&&!z(e,y,a)&&K(e,y,a)&&ue(y,t,i)&&"drag"===e.getAction(S.downPointer,S.downEvent,S,y).name&&F(b,e)&&V(e,y,"drag")?e:void 0};for(y=a;n(y);){var C=Me.forEachSelector(A);if(C){this.prepared.name="drag",this.target=C,this.element=y;break}y=O(y)}}}}var x=!!this.prepared.name&&!this.interacting();if(x&&(this.target.options[this.prepared.name].manualStart||!V(this.target,this.element,this.prepared)))return void this.stop(t);
if(this.prepared.name&&this.target){x&&this.start(this.prepared,this.target,this.element);var T=this.setModifications(this.curCoords.page,o);(T||x)&&(this.prevEvent=this[this.prepared.name+"Move"](t)),this.checkAndPreventDefault(t,this.target,this.element)}}p(this.prevCoords,this.curCoords),(this.dragging||this.resizing)&&this.autoScrollMove(e)}}},dragStart:function(e){var t=new Z(this,e,"drag","start",this.element);this.dragging=!0,this.target.fire(t),this.activeDrops.dropzones=[],this.activeDrops.elements=[],this.activeDrops.rects=[],this.dynamicDrop||this.setActiveDrops(this.element);var n=this.getDropEvents(e,t);return n.activate&&this.fireActiveDrops(n.activate),t},dragMove:function(e){var t=this.target,n=new Z(this,e,"drag","move",this.element),a=this.element,i=this.getDrop(n,e,a);this.dropTarget=i.dropzone,this.dropElement=i.element;var o=this.getDropEvents(e,n);return t.fire(n),o.leave&&this.prevDropTarget.fire(o.leave),o.enter&&this.dropTarget.fire(o.enter),o.move&&this.dropTarget.fire(o.move),this.prevDropTarget=this.dropTarget,this.prevDropElement=this.dropElement,n},resizeStart:function(e){var t=new Z(this,e,"resize","start",this.element);if(this.prepared.edges){var n=this.target.getRect(this.element);if(this.target.options.resize.square||this.target.options.resize.preserveAspectRatio){var a=u({},this.prepared.edges);a.top=a.top||a.left&&!a.bottom,a.left=a.left||a.top&&!a.right,a.bottom=a.bottom||a.right&&!a.top,a.right=a.right||a.bottom&&!a.left,this.prepared._linkedEdges=a}else this.prepared._linkedEdges=null;this.target.options.resize.preserveAspectRatio&&(this.resizeStartAspectRatio=n.width/n.height),this.resizeRects={start:n,current:u({},n),restricted:u({},n),previous:u({},n),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},t.rect=this.resizeRects.restricted,t.edges=this.prepared.edges,t.deltaRect=this.resizeRects.delta}return this.target.fire(t),this.resizing=!0,t},resizeMove:function(e){var t=new Z(this,e,"resize","move",this.element),n=this.prepared.edges,a=this.target.options.resize.invert,i="reposition"===a||"negate"===a;if(n){var o=t.dx,s=t.dy,r=this.resizeRects.start,d=this.resizeRects.current,l=this.resizeRects.restricted,c=this.resizeRects.delta,h=u(this.resizeRects.previous,l),m=n;if(this.target.options.resize.preserveAspectRatio){var p=this.resizeStartAspectRatio;n=this.prepared._linkedEdges,m.left&&m.bottom||m.right&&m.top?s=-o/p:m.left||m.right?s=o/p:(m.top||m.bottom)&&(o=s*p)}else this.target.options.resize.square&&(n=this.prepared._linkedEdges,m.left&&m.bottom||m.right&&m.top?s=-o:m.left||m.right?s=o:(m.top||m.bottom)&&(o=s));if(n.top&&(d.top+=s),n.bottom&&(d.bottom+=s),n.left&&(d.left+=o),n.right&&(d.right+=o),i){if(u(l,d),"reposition"===a){var f;l.top>l.bottom&&(f=l.top,l.top=l.bottom,l.bottom=f),l.left>l.right&&(f=l.left,l.left=l.right,l.right=f)}}else l.top=Math.min(d.top,r.bottom),l.bottom=Math.max(d.bottom,r.top),l.left=Math.min(d.left,r.right),l.right=Math.max(d.right,r.left);l.width=l.right-l.left,l.height=l.bottom-l.top;for(var g in l)c[g]=l[g]-h[g];t.edges=this.prepared.edges,t.rect=l,t.deltaRect=c}return this.target.fire(t),t},gestureStart:function(e){var t=new Z(this,e,"gesture","start",this.element);return t.ds=0,this.gesture.startDistance=this.gesture.prevDistance=t.distance,this.gesture.startAngle=this.gesture.prevAngle=t.angle,this.gesture.scale=1,this.gesturing=!0,this.target.fire(t),t},gestureMove:function(e){if(!this.pointerIds.length)return this.prevEvent;var t;return t=new Z(this,e,"gesture","move",this.element),t.ds=t.scale-this.gesture.scale,this.target.fire(t),this.gesture.prevAngle=t.angle,this.gesture.prevDistance=t.distance,t.scale===1/0||null===t.scale||void 0===t.scale||isNaN(t.scale)||(this.gesture.scale=t.scale),t},pointerHold:function(e,t,n){this.collectEventTargets(e,t,n,"hold")},pointerUp:function(e,t,n,a){var i=this.mouse?0:ce(this.pointerIds,k(e));clearTimeout(this.holdTimers[i]),this.collectEventTargets(e,t,n,"up"),this.collectEventTargets(e,t,n,"tap"),this.pointerEnd(e,t,n,a),this.removePointer(e)},pointerCancel:function(e,t,n,a){var i=this.mouse?0:ce(this.pointerIds,k(e));clearTimeout(this.holdTimers[i]),this.collectEventTargets(e,t,n,"cancel"),this.pointerEnd(e,t,n,a),this.removePointer(e)},ie8Dblclick:function(e,t,n){this.prevTap&&t.clientX===this.prevTap.clientX&&t.clientY===this.prevTap.clientY&&n===this.prevTap.target&&(this.downTargets[0]=n,this.downTimes[0]=(new Date).getTime(),this.collectEventTargets(e,t,n,"tap"))},pointerEnd:function(e,t,n,a){var i,o=this.target,s=o&&o.options,r=s&&this.prepared.name&&s[this.prepared.name].inertia,d=this.inertiaStatus;if(this.interacting()){if(d.active&&!d.ending)return;var l,c,h=(new Date).getTime(),m=!1,f=!1,g=!1,v=G(o,this.prepared.name)&&s[this.prepared.name].snap.endOnly,b=U(o,this.prepared.name)&&s[this.prepared.name].restrict.endOnly,y=0,w=0;if(l=this.dragging?"x"===s.drag.axis?Math.abs(this.pointerDelta.client.vx):"y"===s.drag.axis?Math.abs(this.pointerDelta.client.vy):this.pointerDelta.client.speed:this.pointerDelta.client.speed,m=r&&r.enabled&&"gesture"!==this.prepared.name&&t!==d.startEvent,f=m&&h-this.curCoords.timeStamp<50&&l>r.minSpeed&&l>r.endSpeed,m&&!f&&(v||b)){var S={};S.snap=S.restrict=S,v&&(this.setSnapping(this.curCoords.page,S),S.locked&&(y+=S.dx,w+=S.dy)),b&&(this.setRestriction(this.curCoords.page,S),S.restricted&&(y+=S.dx,w+=S.dy)),(y||w)&&(g=!0)}if(f||g){if(p(d.upCoords,this.curCoords),this.pointers[0]=d.startEvent=c=new Z(this,t,this.prepared.name,"inertiastart",this.element),d.t0=h,o.fire(d.startEvent),f){d.vx0=this.pointerDelta.client.vx,d.vy0=this.pointerDelta.client.vy,d.v0=l,this.calcInertia(d);var k,A=u({},this.curCoords.page),C=L(o,this.element);if(A.x=A.x+d.xe-C.x,A.y=A.y+d.ye-C.y,k={useStatusXY:!0,x:A.x,y:A.y,dx:0,dy:0,snap:null},k.snap=k,y=w=0,v){var x=this.setSnapping(this.curCoords.page,k);x.locked&&(y+=x.dx,w+=x.dy)}if(b){var T=this.setRestriction(this.curCoords.page,k);T.restricted&&(y+=T.dx,w+=T.dy)}d.modifiedXe+=y,d.modifiedYe+=w,d.i=We(this.boundInertiaFrame)}else d.smoothEnd=!0,d.xe=y,d.ye=w,d.sx=d.sy=0,d.i=We(this.boundSmoothEndFrame);return void(d.active=!0)}(v||b)&&this.pointerMove(e,t,n,a,!0)}if(this.dragging){i=new Z(this,t,"drag","end",this.element);var M=this.element,E=this.getDrop(i,t,M);this.dropTarget=E.dropzone,this.dropElement=E.element;var P=this.getDropEvents(t,i);P.leave&&this.prevDropTarget.fire(P.leave),P.enter&&this.dropTarget.fire(P.enter),P.drop&&this.dropTarget.fire(P.drop),P.deactivate&&this.fireActiveDrops(P.deactivate),o.fire(i)}else this.resizing?(i=new Z(this,t,"resize","end",this.element),o.fire(i)):this.gesturing&&(i=new Z(this,t,"gesture","end",this.element),o.fire(i));this.stop(t)},collectDrops:function(e){var t,a=[],i=[];for(e=e||this.element,t=0;t<Me.length;t++)if(Me[t].options.drop.enabled){var o=Me[t],s=o.options.drop.accept;if(!(n(s)&&s!==e||c(s)&&!ue(e,s)))for(var r=o.selector?o._context.querySelectorAll(o.selector):[o._element],d=0,l=r.length;d<l;d++){var h=r[d];h!==e&&(a.push(o),i.push(h))}}return{dropzones:a,elements:i}},fireActiveDrops:function(e){var t,n,a,i;for(t=0;t<this.activeDrops.dropzones.length;t++)n=this.activeDrops.dropzones[t],a=this.activeDrops.elements[t],a!==i&&(e.target=a,n.fire(e)),i=a},setActiveDrops:function(e){var t=this.collectDrops(e,!0);this.activeDrops.dropzones=t.dropzones,this.activeDrops.elements=t.elements,this.activeDrops.rects=[];for(var n=0;n<this.activeDrops.dropzones.length;n++)this.activeDrops.rects[n]=this.activeDrops.dropzones[n].getRect(this.activeDrops.elements[n])},getDrop:function(e,t,n){var a=[];Pe&&this.setActiveDrops(n);for(var i=0;i<this.activeDrops.dropzones.length;i++){var o=this.activeDrops.dropzones[i],s=this.activeDrops.elements[i],r=this.activeDrops.rects[i];a.push(o.dropCheck(e,t,this.target,n,s,r)?s:null)}var d=W(a),l=this.activeDrops.dropzones[d]||null,c=this.activeDrops.elements[d]||null;return{dropzone:l,element:c}},getDropEvents:function(e,t){var n={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return this.dropElement!==this.prevDropElement&&(this.prevDropTarget&&(n.leave={target:this.prevDropElement,dropzone:this.prevDropTarget,relatedTarget:t.target,draggable:t.interactable,dragEvent:t,interaction:this,timeStamp:t.timeStamp,type:"dragleave"},t.dragLeave=this.prevDropElement,t.prevDropzone=this.prevDropTarget),this.dropTarget&&(n.enter={target:this.dropElement,dropzone:this.dropTarget,relatedTarget:t.target,draggable:t.interactable,dragEvent:t,interaction:this,timeStamp:t.timeStamp,type:"dragenter"},t.dragEnter=this.dropElement,t.dropzone=this.dropTarget)),"dragend"===t.type&&this.dropTarget&&(n.drop={target:this.dropElement,dropzone:this.dropTarget,relatedTarget:t.target,draggable:t.interactable,dragEvent:t,interaction:this,timeStamp:t.timeStamp,type:"drop"},t.dropzone=this.dropTarget),"dragstart"===t.type&&(n.activate={target:null,dropzone:null,relatedTarget:t.target,draggable:t.interactable,dragEvent:t,interaction:this,timeStamp:t.timeStamp,type:"dropactivate"}),"dragend"===t.type&&(n.deactivate={target:null,dropzone:null,relatedTarget:t.target,draggable:t.interactable,dragEvent:t,interaction:this,timeStamp:t.timeStamp,type:"dropdeactivate"}),"dragmove"===t.type&&this.dropTarget&&(n.move={target:this.dropElement,dropzone:this.dropTarget,relatedTarget:t.target,draggable:t.interactable,dragEvent:t,interaction:this,dragmove:t,timeStamp:t.timeStamp,type:"dropmove"},t.dropzone=this.dropTarget),n},currentAction:function(){return this.dragging&&"drag"||this.resizing&&"resize"||this.gesturing&&"gesture"||null},interacting:function(){return this.dragging||this.resizing||this.gesturing},clearTargets:function(){this.target=this.element=null,this.dropTarget=this.dropElement=this.prevDropTarget=this.prevDropElement=null},stop:function(e){if(this.interacting()){Le.stop(),this.matches=[],this.matchElements=[];var t=this.target;t.options.styleCursor&&(t._doc.documentElement.style.cursor=""),e&&r(e.preventDefault)&&this.checkAndPreventDefault(e,t,this.element),this.dragging&&(this.activeDrops.dropzones=this.activeDrops.elements=this.activeDrops.rects=null)}this.clearTargets(),this.pointerIsDown=this.snapStatus.locked=this.dragging=this.resizing=this.gesturing=!1,this.prepared.name=this.prevEvent=null,this.inertiaStatus.resumeDx=this.inertiaStatus.resumeDy=0;for(var n=0;n<this.pointers.length;n++)ce(this.pointerIds,k(this.pointers[n]))===-1&&this.pointers.splice(n,1)},inertiaFrame:function(){var e=this.inertiaStatus,t=this.target.options[this.prepared.name].inertia,n=t.resistance,a=(new Date).getTime()/1e3-e.t0;if(a<e.te){var i=1-(Math.exp(-n*a)-e.lambda_v0)/e.one_ve_v0;if(e.modifiedXe===e.xe&&e.modifiedYe===e.ye)e.sx=e.xe*i,e.sy=e.ye*i;else{var o=I(0,0,e.xe,e.ye,e.modifiedXe,e.modifiedYe,i);e.sx=o.x,e.sy=o.y}this.pointerMove(e.startEvent,e.startEvent),e.i=We(this.boundInertiaFrame)}else e.ending=!0,e.sx=e.modifiedXe,e.sy=e.modifiedYe,this.pointerMove(e.startEvent,e.startEvent),this.pointerEnd(e.startEvent,e.startEvent),e.active=e.ending=!1},smoothEndFrame:function(){var e=this.inertiaStatus,t=(new Date).getTime()-e.t0,n=this.target.options[this.prepared.name].inertia.smoothEndDuration;t<n?(e.sx=D(t,0,e.xe,n),e.sy=D(t,0,e.ye,n),this.pointerMove(e.startEvent,e.startEvent),e.i=We(this.boundSmoothEndFrame)):(e.ending=!0,e.sx=e.xe,e.sy=e.ye,this.pointerMove(e.startEvent,e.startEvent),this.pointerEnd(e.startEvent,e.startEvent),e.smoothEnd=e.active=e.ending=!1)},addPointer:function(e){var t=k(e),n=this.mouse?0:ce(this.pointerIds,t);return n===-1&&(n=this.pointerIds.length),this.pointerIds[n]=t,this.pointers[n]=e,n},removePointer:function(e){var t=k(e),n=this.mouse?0:ce(this.pointerIds,t);n!==-1&&(this.pointers.splice(n,1),this.pointerIds.splice(n,1),this.downTargets.splice(n,1),this.downTimes.splice(n,1),this.holdTimers.splice(n,1))},recordPointer:function(e){var t=this.mouse?0:ce(this.pointerIds,k(e));t!==-1&&(this.pointers[t]=e)},collectEventTargets:function(e,t,a,i){function o(e,t,o){var s=fe?o.querySelectorAll(t):void 0;e._iEvents[i]&&n(l)&&H(e,l)&&!z(e,l,a)&&K(e,l,a)&&ue(l,t,s)&&(r.push(e),d.push(l))}var s=this.mouse?0:ce(this.pointerIds,k(e));if("tap"!==i||!this.pointerWasMoved&&this.downTargets[s]&&this.downTargets[s]===a){for(var r=[],d=[],l=a;l;)oe.isSet(l)&&oe(l)._iEvents[i]&&(r.push(oe(l)),d.push(l)),Me.forEachSelector(o),l=O(l);(r.length||"tap"===i)&&this.firePointers(e,t,a,r,d,i)}},firePointers:function(e,t,n,a,i,o){var s,r,d,l=this.mouse?0:ce(this.pointerIds,k(e)),h={};for("doubletap"===o?h=e:(m(h,t),t!==e&&m(h,e),h.preventDefault=X,h.stopPropagation=Z.prototype.stopPropagation,h.stopImmediatePropagation=Z.prototype.stopImmediatePropagation,h.interaction=this,h.timeStamp=(new Date).getTime(),h.originalEvent=t,h.originalPointer=e,h.type=o,h.pointerId=k(e),h.pointerType=this.mouse?"mouse":Ie?c(e.pointerType)?e.pointerType:[,,"touch","pen","mouse"][e.pointerType]:"touch"),"tap"===o&&(h.dt=h.timeStamp-this.downTimes[l],r=h.timeStamp-this.tapTime,d=!!(this.prevTap&&"doubletap"!==this.prevTap.type&&this.prevTap.target===h.target&&r<500),h["double"]=d,this.tapTime=h.timeStamp),s=0;s<a.length&&(h.currentTarget=i[s],h.interactable=a[s],a[s].fire(h),!(h.immediatePropagationStopped||h.propagationStopped&&i[s+1]!==h.currentTarget));s++);if(d){var p={};u(p,h),p.dt=r,p.type="doubletap",this.collectEventTargets(p,t,n,"doubletap"),this.prevTap=p}else"tap"===o&&(this.prevTap=h)},validateSelector:function(e,t,n,a){for(var i=0,o=n.length;i<o;i++){var s=n[i],r=a[i],d=ne(s.getAction(e,t,this,r),s);if(d&&V(s,r,d))return this.target=s,this.element=r,d}},setSnapping:function(e,t){var n,a,i,o=this.target.options[this.prepared.name].snap,s=[];if(t=t||this.snapStatus,t.useStatusXY)a={x:t.x,y:t.y};else{var l=L(this.target,this.element);a=u({},e),a.x-=l.x,a.y-=l.y}t.realX=a.x,t.realY=a.y,a.x=a.x-this.inertiaStatus.resumeDx,a.y=a.y-this.inertiaStatus.resumeDy;for(var c=o.targets?o.targets.length:0,h=0;h<this.snapOffsets.length;h++){var m={x:a.x-this.snapOffsets[h].x,y:a.y-this.snapOffsets[h].y};for(i=0;i<c;i++)n=r(o.targets[i])?o.targets[i](m.x,m.y,this):o.targets[i],n&&s.push({x:d(n.x)?n.x+this.snapOffsets[h].x:m.x,y:d(n.y)?n.y+this.snapOffsets[h].y:m.y,range:d(n.range)?n.range:o.range})}var p={target:null,inRange:!1,distance:0,range:0,dx:0,dy:0};for(i=0,c=s.length;i<c;i++){n=s[i];var f=n.range,g=n.x-a.x,v=n.y-a.y,b=Ce(g,v),y=b<=f;f===1/0&&p.inRange&&p.range!==1/0&&(y=!1),p.target&&!(y?p.inRange&&f!==1/0?b/f<p.distance/p.range:f===1/0&&p.range!==1/0||b<p.distance:!p.inRange&&b<p.distance)||(f===1/0&&(y=!0),p.target=n,p.distance=b,p.range=f,p.inRange=y,p.dx=g,p.dy=v,t.range=f)}var w;return p.target?(w=t.snappedX!==p.target.x||t.snappedY!==p.target.y,t.snappedX=p.target.x,t.snappedY=p.target.y):(w=!0,t.snappedX=NaN,t.snappedY=NaN),t.dx=p.dx,t.dy=p.dy,t.changed=w||p.inRange&&!t.locked,t.locked=p.inRange,t},setRestriction:function(e,t){var a,i=this.target,o=i&&i.options[this.prepared.name].restrict,s=o&&o.restriction;if(!s)return t;t=t||this.restrictStatus,a=a=t.useStatusXY?{x:t.x,y:t.y}:u({},e),t.snap&&t.snap.locked&&(a.x+=t.snap.dx||0,a.y+=t.snap.dy||0),a.x-=this.inertiaStatus.resumeDx,a.y-=this.inertiaStatus.resumeDy,t.dx=0,t.dy=0,t.restricted=!1;var d,l,h;return c(s)&&(s="parent"===s?O(this.element):"self"===s?i.getRect(this.element):R(this.element,s),!s)?t:(r(s)&&(s=s(a.x,a.y,this.element)),n(s)&&(s=T(s)),d=s,s?"x"in s&&"y"in s?(l=Math.max(Math.min(d.x+d.width-this.restrictOffset.right,a.x),d.x+this.restrictOffset.left),h=Math.max(Math.min(d.y+d.height-this.restrictOffset.bottom,a.y),d.y+this.restrictOffset.top)):(l=Math.max(Math.min(d.right-this.restrictOffset.right,a.x),d.left+this.restrictOffset.left),h=Math.max(Math.min(d.bottom-this.restrictOffset.bottom,a.y),d.top+this.restrictOffset.top)):(l=a.x,h=a.y),t.dx=l-a.x,t.dy=h-a.y,t.changed=t.restrictedX!==l||t.restrictedY!==h,t.restricted=!(!t.dx&&!t.dy),t.restrictedX=l,t.restrictedY=h,t)},checkAndPreventDefault:function(e,t,n){if(t=t||this.target){var a=t.options,i=a.preventDefault;if(!("notOnInputFields"===i&&n&&/^input$|^textarea$/i.test(n.nodeName)||/^div$/i.test(n.nodeName)&&1==n.contentEditable)){if("auto"===i&&n&&!/^input$|^textarea$/i.test(n.nodeName)){if(/down|start/i.test(e.type)&&"drag"===this.prepared.name&&"xy"!==a.drag.axis)return;return void e.preventDefault()}return"always"===i?void e.preventDefault():void 0}}},calcInertia:function(e){var t=this.target.options[this.prepared.name].inertia,n=t.resistance,a=-Math.log(t.endSpeed/e.v0)/n;e.x0=this.prevEvent.pageX,e.y0=this.prevEvent.pageY,e.t0=e.startEvent.timeStamp/1e3,e.sx=e.sy=0,e.modifiedXe=e.xe=(e.vx0-a)/n,e.modifiedYe=e.ye=(e.vy0-a)/n,e.te=a,e.lambda_v0=n/e.v0,e.one_ve_v0=1-t.endSpeed/e.v0},autoScrollMove:function(e){if(this.interacting()&&j(this.target,this.prepared.name)){if(this.inertiaStatus.active)return void(Le.x=Le.y=0);var t,n,i,o,s=this.target.options[this.prepared.name].autoScroll,r=s.container||C(this.element);if(a(r))o=e.clientX<Le.margin,t=e.clientY<Le.margin,n=e.clientX>r.innerWidth-Le.margin,i=e.clientY>r.innerHeight-Le.margin;else{var d=x(r);o=e.clientX<d.left+Le.margin,t=e.clientY<d.top+Le.margin,n=e.clientX>d.right-Le.margin,i=e.clientY>d.bottom-Le.margin}Le.x=n?1:o?-1:0,Le.y=i?1:t?-1:0,Le.isScrolling||(Le.margin=s.margin,Le.speed=s.speed,Le.start(this))}},_updateEventTargets:function(e,t){this._eventTarget=e,this._curEventTarget=t}},Z.prototype={preventDefault:t,stopImmediatePropagation:function(){this.immediatePropagationStopped=this.propagationStopped=!0},stopPropagation:function(){this.propagationStopped=!0}};for(var Ze={},Xe=["dragStart","dragMove","resizeStart","resizeMove","gestureStart","gestureMove","pointerOver","pointerOut","pointerHover","selectorDown","pointerDown","pointerMove","pointerUp","pointerCancel","pointerEnd","addPointer","removePointer","recordPointer","autoScrollMove"],Qe=0,et=Xe.length;Qe<et;Qe++){var tt=Xe[Qe];Ze[tt]=J(tt)}Me.indexOfElement=function(e,t){t=t||ve;for(var n=0;n<this.length;n++){var a=this[n];if(a.selector===e&&a._context===t||!a.selector&&a._element===e)return n}return-1},Me.get=function(e,t){return this[this.indexOfElement(e,t&&t.context)]},Me.forEachSelector=function(e){for(var t=0;t<this.length;t++){var n=this[t];if(n.selector){var a=e(n,n.selector,n._context,t,this);if(void 0!==a)return a}}},se.prototype={setOnEvents:function(e,t){return"drop"===e?(r(t.ondrop)&&(this.ondrop=t.ondrop),r(t.ondropactivate)&&(this.ondropactivate=t.ondropactivate),r(t.ondropdeactivate)&&(this.ondropdeactivate=t.ondropdeactivate),r(t.ondragenter)&&(this.ondragenter=t.ondragenter),r(t.ondragleave)&&(this.ondragleave=t.ondragleave),r(t.ondropmove)&&(this.ondropmove=t.ondropmove)):(e="on"+e,r(t.onstart)&&(this[e+"start"]=t.onstart),r(t.onmove)&&(this[e+"move"]=t.onmove),r(t.onend)&&(this[e+"end"]=t.onend),r(t.oninertiastart)&&(this[e+"inertiastart"]=t.oninertiastart)),this},draggable:function(e){return s(e)?(this.options.drag.enabled=e.enabled!==!1,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^x$|^y$|^xy$/.test(e.axis)?this.options.drag.axis=e.axis:null===e.axis&&delete this.options.drag.axis,this):l(e)?(this.options.drag.enabled=e,this):this.options.drag},setPerAction:function(e,t){for(var n in t)n in Ne[e]&&(s(t[n])?(this.options[e][n]=u(this.options[e][n]||{},t[n]),s(Ne.perAction[n])&&"enabled"in Ne.perAction[n]&&(this.options[e][n].enabled=t[n].enabled!==!1)):l(t[n])&&s(Ne.perAction[n])?this.options[e][n].enabled=t[n]:void 0!==t[n]&&(this.options[e][n]=t[n]))},dropzone:function(e){return s(e)?(this.options.drop.enabled=e.enabled!==!1,this.setOnEvents("drop",e),/^(pointer|center)$/.test(e.overlap)?this.options.drop.overlap=e.overlap:d(e.overlap)&&(this.options.drop.overlap=Math.max(Math.min(1,e.overlap),0)),"accept"in e&&(this.options.drop.accept=e.accept),"checker"in e&&(this.options.drop.checker=e.checker),this):l(e)?(this.options.drop.enabled=e,this):this.options.drop},dropCheck:function(e,t,n,a,i,o){var s=!1;if(!(o=o||this.getRect(i)))return!!this.options.drop.checker&&this.options.drop.checker(e,t,s,this,i,n,a);var r=this.options.drop.overlap;if("pointer"===r){var l,c,h=y(e),u=L(n,a);h.x+=u.x,h.y+=u.y,l=h.x>o.left&&h.x<o.right,c=h.y>o.top&&h.y<o.bottom,s=l&&c}var m=n.getRect(a);if("center"===r){var p=m.left+m.width/2,f=m.top+m.height/2;s=p>=o.left&&p<=o.right&&f>=o.top&&f<=o.bottom}if(d(r)){var g=Math.max(0,Math.min(o.right,m.right)-Math.max(o.left,m.left))*Math.max(0,Math.min(o.bottom,m.bottom)-Math.max(o.top,m.top)),v=g/(m.width*m.height);s=v>=r}return this.options.drop.checker&&(s=this.options.drop.checker(e,t,s,this,i,n,a)),s},dropChecker:function(e){return r(e)?(this.options.drop.checker=e,this):null===e?(delete this.options.getRect,this):this.options.drop.checker},accept:function(e){return n(e)?(this.options.drop.accept=e,this):h(e)?(this.options.drop.accept=e,this):null===e?(delete this.options.drop.accept,this):this.options.drop.accept},resizable:function(e){return s(e)?(this.options.resize.enabled=e.enabled!==!1,this.setPerAction("resize",e),this.setOnEvents("resize",e),/^x$|^y$|^xy$/.test(e.axis)?this.options.resize.axis=e.axis:null===e.axis&&(this.options.resize.axis=Ne.resize.axis),l(e.preserveAspectRatio)?this.options.resize.preserveAspectRatio=e.preserveAspectRatio:l(e.square)&&(this.options.resize.square=e.square),this):l(e)?(this.options.resize.enabled=e,this):this.options.resize},squareResize:function(e){return l(e)?(this.options.resize.square=e,this):null===e?(delete this.options.resize.square,this):this.options.resize.square},gesturable:function(e){return s(e)?(this.options.gesture.enabled=e.enabled!==!1,this.setPerAction("gesture",e),this.setOnEvents("gesture",e),this):l(e)?(this.options.gesture.enabled=e,this):this.options.gesture},autoScroll:function(e){return s(e)?e=u({actions:["drag","resize"]},e):l(e)&&(e={actions:["drag","resize"],enabled:e}),this.setOptions("autoScroll",e)},snap:function(e){var t=this.setOptions("snap",e);return t===this?this:t.drag},setOptions:function(e,t){var n,a=t&&o(t.actions)?t.actions:["drag"];if(s(t)||l(t)){for(n=0;n<a.length;n++){var i=/resize/.test(a[n])?"resize":a[n];if(s(this.options[i])){var r=this.options[i][e];s(t)?(u(r,t),r.enabled=t.enabled!==!1,"snap"===e&&("grid"===r.mode?r.targets=[oe.createSnapGrid(u({offset:r.gridOffset||{x:0,y:0}},r.grid||{}))]:"anchor"===r.mode?r.targets=r.anchors:"path"===r.mode&&(r.targets=r.paths),"elementOrigin"in t&&(r.relativePoints=[t.elementOrigin]))):l(t)&&(r.enabled=t)}}return this}var d={},c=["drag","resize","gesture"];for(n=0;n<c.length;n++)e in Ne[c[n]]&&(d[c[n]]=this.options[c[n]][e]);return d},inertia:function(e){var t=this.setOptions("inertia",e);return t===this?this:t.drag},getAction:function(e,t,n,a){var i=this.defaultActionChecker(e,n,a);return this.options.actionChecker?this.options.actionChecker(e,t,i,this,a,n):i},defaultActionChecker:te,actionChecker:function(e){return r(e)?(this.options.actionChecker=e,this):null===e?(delete this.options.actionChecker,this):this.options.actionChecker},getRect:function(e){return e=e||this._element,this.selector&&!n(e)&&(e=this._context.querySelector(this.selector)),T(e)},rectChecker:function(e){return r(e)?(this.getRect=e,this):null===e?(delete this.options.getRect,this):this.getRect},styleCursor:function(e){return l(e)?(this.options.styleCursor=e,this):null===e?(delete this.options.styleCursor,this):this.options.styleCursor},preventDefault:function(e){return/^(always|never|auto|notOnInputFields)$/.test(e)?(this.options.preventDefault=e,this):l(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault},origin:function(e){return h(e)?(this.options.origin=e,this):s(e)?(this.options.origin=e,this):this.options.origin},deltaSource:function(e){return"page"===e||"client"===e?(this.options.deltaSource=e,this):this.options.deltaSource},restrict:function(e){if(!s(e))return this.setOptions("restrict",e);for(var t,n=["drag","resize","gesture"],a=0;a<n.length;a++){var i=n[a];if(i in e){var o=u({actions:[i],restriction:e[i]},e);t=this.setOptions("restrict",o)}}return t},context:function(){return this._context},_context:ve,ignoreFrom:function(e){return h(e)?(this.options.ignoreFrom=e,this):n(e)?(this.options.ignoreFrom=e,this):this.options.ignoreFrom},allowFrom:function(e){return h(e)?(this.options.allowFrom=e,this):n(e)?(this.options.allowFrom=e,this):this.options.allowFrom},element:function(){return this._element},fire:function(e){if(!e||!e.type||!he(Fe,e.type))return this;var t,n,a,i="on"+e.type,o="";if(e.type in this._iEvents)for(t=this._iEvents[e.type],n=0,a=t.length;n<a&&!e.immediatePropagationStopped;n++)o=t[n].name,t[n](e);if(r(this[i])&&(o=this[i].name,this[i](e)),e.type in Ge&&(t=Ge[e.type]))for(n=0,a=t.length;n<a&&!e.immediatePropagationStopped;n++)o=t[n].name,t[n](e);return this},on:function(e,t,n){var a;if(c(e)&&e.search(" ")!==-1&&(e=e.trim().split(/ +/)),o(e)){for(a=0;a<e.length;a++)this.on(e[a],t,n);return this}if(s(e)){for(var i in e)this.on(i,e[i],t);return this}if("wheel"===e&&(e=Ke),n=!!n,he(Fe,e))e in this._iEvents?this._iEvents[e].push(t):this._iEvents[e]=[t];else if(this.selector){if(!Be[e])for(Be[e]={selectors:[],contexts:[],listeners:[]},a=0;a<Te.length;a++)qe.add(Te[a],e,ae),qe.add(Te[a],e,ie,!0);var r,d=Be[e];for(r=d.selectors.length-1;r>=0&&(d.selectors[r]!==this.selector||d.contexts[r]!==this._context);r--);r===-1&&(r=d.selectors.length,d.selectors.push(this.selector),d.contexts.push(this._context),d.listeners.push([])),d.listeners[r].push([t,n])}else qe.add(this._element,e,t,n);return this},off:function(e,t,n){var a;if(c(e)&&e.search(" ")!==-1&&(e=e.trim().split(/ +/)),o(e)){for(a=0;a<e.length;a++)this.off(e[a],t,n);return this}if(s(e)){for(var i in e)this.off(i,e[i],t);return this}var r,d=-1;if(n=!!n,"wheel"===e&&(e=Ke),he(Fe,e))r=this._iEvents[e],r&&(d=ce(r,t))!==-1&&this._iEvents[e].splice(d,1);else if(this.selector){var l=Be[e],h=!1;if(!l)return this;for(d=l.selectors.length-1;d>=0;d--)if(l.selectors[d]===this.selector&&l.contexts[d]===this._context){var u=l.listeners[d];for(a=u.length-1;a>=0;a--){var m=u[a][0],p=u[a][1];if(m===t&&p===n){u.splice(a,1),u.length||(l.selectors.splice(d,1),l.contexts.splice(d,1),l.listeners.splice(d,1),qe.remove(this._context,e,ae),qe.remove(this._context,e,ie,!0),l.selectors.length||(Be[e]=null)),h=!0;break}}if(h)break}}else qe.remove(this._element,e,t,n);return this},set:function(e){s(e)||(e={}),this.options=u({},Ne.base);var t,n=["drag","drop","resize","gesture"],a=["draggable","dropzone","resizable","gesturable"],i=u(u({},Ne.perAction),e[o]||{});for(t=0;t<n.length;t++){var o=n[t];this.options[o]=u({},Ne[o]),this.setPerAction(o,i),this[a[t]](e[o])}var r=["accept","actionChecker","allowFrom","deltaSource","dropChecker","ignoreFrom","origin","preventDefault","rectChecker","styleCursor"];for(t=0,et=r.length;t<et;t++){var d=r[t];this.options[d]=Ne.base[d],d in e&&this[d](e[d])}return this},unset:function(){if(qe.remove(this._element,"all"),c(this.selector))for(var e in Be)for(var t=Be[e],n=0;n<t.selectors.length;n++){t.selectors[n]===this.selector&&t.contexts[n]===this._context&&(t.selectors.splice(n,1),t.contexts.splice(n,1),t.listeners.splice(n,1),t.selectors.length||(Be[e]=null)),qe.remove(this._context,e,ae),qe.remove(this._context,e,ie,!0);break}else qe.remove(this,"all"),this.options.styleCursor&&(this._element.style.cursor="");return this.dropzone(!1),Me.splice(ce(Me,this),1),oe}},se.prototype.snap=re(se.prototype.snap,"Interactable#snap is deprecated. See the new documentation for snapping at http://interactjs.io/docs/snapping"),se.prototype.restrict=re(se.prototype.restrict,"Interactable#restrict is deprecated. See the new documentation for resticting at http://interactjs.io/docs/restriction"),se.prototype.inertia=re(se.prototype.inertia,"Interactable#inertia is deprecated. See the new documentation for inertia at http://interactjs.io/docs/inertia"),se.prototype.autoScroll=re(se.prototype.autoScroll,"Interactable#autoScroll is deprecated. See the new documentation for autoScroll at http://interactjs.io/docs/#autoscroll"),se.prototype.squareResize=re(se.prototype.squareResize,"Interactable#squareResize is deprecated. See http://interactjs.io/docs/#resize-square"),se.prototype.accept=re(se.prototype.accept,"Interactable#accept is deprecated. use Interactable#dropzone({ accept: target }) instead"),se.prototype.dropChecker=re(se.prototype.dropChecker,"Interactable#dropChecker is deprecated. use Interactable#dropzone({ dropChecker: checkerFunction }) instead"),se.prototype.context=re(se.prototype.context,"Interactable#context as a method is deprecated. It will soon be a DOM Node instead"),oe.isSet=function(e,t){return Me.indexOfElement(e,t&&t.context)!==-1},oe.on=function(e,t,n){if(c(e)&&e.search(" ")!==-1&&(e=e.trim().split(/ +/)),o(e)){for(var a=0;a<e.length;a++)oe.on(e[a],t,n);return oe}if(s(e)){for(var i in e)oe.on(i,e[i],t);return oe}return he(Fe,e)?Ge[e]?Ge[e].push(t):Ge[e]=[t]:qe.add(ve,e,t,n),oe},oe.off=function(e,t,n){if(c(e)&&e.search(" ")!==-1&&(e=e.trim().split(/ +/)),o(e)){for(var a=0;a<e.length;a++)oe.off(e[a],t,n);return oe}if(s(e)){for(var i in e)oe.off(i,e[i],t);return oe}if(he(Fe,e)){var r;e in Ge&&(r=ce(Ge[e],t))!==-1&&Ge[e].splice(r,1)}else qe.remove(ve,e,t,n);return oe},oe.enableDragging=re(function(e){return null!==e&&void 0!==e?(ze.drag=e,oe):ze.drag},"interact.enableDragging is deprecated and will soon be removed."),oe.enableResizing=re(function(e){return null!==e&&void 0!==e?(ze.resize=e,oe):ze.resize},"interact.enableResizing is deprecated and will soon be removed."),oe.enableGesturing=re(function(e){return null!==e&&void 0!==e?(ze.gesture=e,oe):ze.gesture},"interact.enableGesturing is deprecated and will soon be removed."),oe.eventTypes=Fe,oe.debug=function(){var e=Ee[0]||new Y;return{interactions:Ee,target:e.target,dragging:e.dragging,resizing:e.resizing,gesturing:e.gesturing,prepared:e.prepared,matches:e.matches,matchElements:e.matchElements,prevCoords:e.prevCoords,startCoords:e.startCoords,pointerIds:e.pointerIds,pointers:e.pointers,addPointer:Ze.addPointer,removePointer:Ze.removePointer,recordPointer:Ze.recordPointer,snap:e.snapStatus,restrict:e.restrictStatus,inertia:e.inertiaStatus,downTime:e.downTimes[0],downEvent:e.downEvent,downPointer:e.downPointer,prevEvent:e.prevEvent,Interactable:se,interactables:Me,pointerIsDown:e.pointerIsDown,defaultOptions:Ne,defaultActionChecker:te,actionCursors:He,dragMove:Ze.dragMove,resizeMove:Ze.resizeMove,gestureMove:Ze.gestureMove,pointerUp:Ze.pointerUp,pointerDown:Ze.pointerDown,pointerMove:Ze.pointerMove,pointerHover:Ze.pointerHover,eventTypes:Fe,events:qe,globalEvents:Ge,delegatedEvents:Be,prefixedPropREs:Je}},oe.getPointerAverage=E,oe.getTouchBBox=P,oe.getTouchDistance=B,oe.getTouchAngle=N,oe.getElementRect=T,oe.getElementClientRect=x,oe.matchesSelector=ue,oe.closest=R,oe.margin=re(function(e){return d(e)?(De=e,oe):De},"interact.margin is deprecated. Use interact(target).resizable({ margin: number }); instead."),oe.supportsTouch=function(){return _e},oe.supportsPointerEvent=function(){return Ie},oe.stop=function(e){for(var t=Ee.length-1;t>=0;t--)Ee[t].stop(e);return oe},oe.dynamicDrop=function(e){return l(e)?(Pe=e,oe):Pe},oe.pointerMoveTolerance=function(e){return d(e)?($e=e,this):$e},oe.maxInteractions=function(e){return d(e)?(Oe=e,this):Oe},oe.createSnapGrid=function(e){return function(t,n){var a=0,i=0;s(e.offset)&&(a=e.offset.x,i=e.offset.y);var o=Math.round((t-a)/e.x),r=Math.round((n-i)/e.y),d=o*e.x+a,l=r*e.y+i;return{x:d,y:l,range:e.range}}},le(ve),Ve in Element.prototype&&r(Element.prototype[Ve])||(fe=function(e,t,n){n=n||e.parentNode.querySelectorAll(t);for(var a=0,i=n.length;a<i;a++)if(n[a]===e)return!0;return!1}),function(){for(var t=0,n=["ms","moz","webkit","o"],a=0;a<n.length&&!e.requestAnimationFrame;++a)We=e[n[a]+"RequestAnimationFrame"],Ye=e[n[a]+"CancelAnimationFrame"]||e[n[a]+"CancelRequestAnimationFrame"];We||(We=function(e){var n=(new Date).getTime(),a=Math.max(0,16-(n-t)),i=setTimeout(function(){e(n+a)},a);return t=n+a,i}),Ye||(Ye=function(e){clearTimeout(e);
})}(),"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=oe),exports.interact=oe):"function"==typeof define&&define.amd?define("interact",function(){return oe}):e.interact=oe}}("undefined"==typeof window?void 0:window),/*!

 handlebars v4.0.5

Copyright (C) 2011-2015 by Yehuda Katz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

@license
*/
function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Handlebars=t():e.Handlebars=t()}(this,function(){return function(e){function t(a){if(n[a])return n[a].exports;var i=n[a]={exports:{},id:a,loaded:!1};return e[a].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function a(){var e=v();return e.compile=function(t,n){return c.compile(t,n,e)},e.precompile=function(t,n){return c.precompile(t,n,e)},e.AST=d["default"],e.Compiler=c.Compiler,e.JavaScriptCompiler=u["default"],e.Parser=l.parser,e.parse=l.parse,e}var i=n(1)["default"];t.__esModule=!0;var o=n(2),s=i(o),r=n(21),d=i(r),l=n(22),c=n(27),h=n(28),u=i(h),m=n(25),p=i(m),f=n(20),g=i(f),v=s["default"].create,b=a();b.create=a,g["default"](b),b.Visitor=p["default"],b["default"]=b,t["default"]=b,e.exports=t["default"]},function(e,t){"use strict";t["default"]=function(e){return e&&e.__esModule?e:{"default":e}},t.__esModule=!0},function(e,t,n){"use strict";function a(){var e=new r.HandlebarsEnvironment;return m.extend(e,r),e.SafeString=l["default"],e.Exception=h["default"],e.Utils=m,e.escapeExpression=m.escapeExpression,e.VM=f,e.template=function(t){return f.template(t,e)},e}var i=n(3)["default"],o=n(1)["default"];t.__esModule=!0;var s=n(4),r=i(s),d=n(18),l=o(d),c=n(6),h=o(c),u=n(5),m=i(u),p=n(19),f=i(p),g=n(20),v=o(g),b=a();b.create=a,v["default"](b),b["default"]=b,t["default"]=b,e.exports=t["default"]},function(e,t){"use strict";t["default"]=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},t.__esModule=!0},function(e,t,n){"use strict";function a(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},d.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}var i=n(1)["default"];t.__esModule=!0,t.HandlebarsEnvironment=a;var o=n(5),s=n(6),r=i(s),d=n(7),l=n(15),c=n(17),h=i(c),u="4.0.5";t.VERSION=u;var m=7;t.COMPILER_REVISION=m;var p={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"};t.REVISION_CHANGES=p;var f="[object Object]";a.prototype={constructor:a,logger:h["default"],log:h["default"].log,registerHelper:function(e,t){if(o.toString.call(e)===f){if(t)throw new r["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)===f)o.extend(this.partials,e);else{if("undefined"==typeof t)throw new r["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)===f){if(t)throw new r["default"]("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var g=h["default"].log;t.log=g,t.createFrame=o.createFrame,t.logger=h["default"]},function(e,t){"use strict";function n(e){return c[e]}function a(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}function i(e,t){for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n;return-1}function o(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return u.test(e)?e.replace(h,n):e}function s(e){return!e&&0!==e||!(!f(e)||0!==e.length)}function r(e){var t=a({},e);return t._parent=e,t}function d(e,t){return e.path=t,e}function l(e,t){return(e?e+".":"")+t}t.__esModule=!0,t.extend=a,t.indexOf=i,t.escapeExpression=o,t.isEmpty=s,t.createFrame=r,t.blockParams=d,t.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},h=/[&<>"'`=]/g,u=/[&<>"'`=]/,m=Object.prototype.toString;t.toString=m;
// https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
/* eslint-disable func-style */
var p=function(e){return"function"==typeof e};p(/x/)&&(t.isFunction=p=function(e){return"function"==typeof e&&"[object Function]"===m.call(e)}),t.isFunction=p;var f=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===m.call(e)};t.isArray=f},function(e,t){"use strict";function n(e,t){var i=t&&t.loc,o=void 0,s=void 0;i&&(o=i.start.line,s=i.start.column,e+=" - "+o+":"+s);for(var r=Error.prototype.constructor.call(this,e),d=0;d<a.length;d++)this[a[d]]=r[a[d]];Error.captureStackTrace&&Error.captureStackTrace(this,n),i&&(this.lineNumber=o,this.column=s)}t.__esModule=!0;var a=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function a(e){s["default"](e),d["default"](e),c["default"](e),u["default"](e),p["default"](e),g["default"](e),b["default"](e)}var i=n(1)["default"];t.__esModule=!0,t.registerDefaultHelpers=a;var o=n(8),s=i(o),r=n(9),d=i(r),l=n(10),c=i(l),h=n(11),u=i(h),m=n(12),p=i(m),f=n(13),g=i(f),v=n(14),b=i(v)},function(e,t,n){"use strict";t.__esModule=!0;var a=n(5);t["default"]=function(e){e.registerHelper("blockHelperMissing",function(t,n){var i=n.inverse,o=n.fn;if(t===!0)return o(this);if(t===!1||null==t)return i(this);if(a.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var s=a.createFrame(n.data);s.contextPath=a.appendContextPath(n.data.contextPath,n.name),n={data:s}}return o(t,n)})},e.exports=t["default"]},function(e,t,n){"use strict";var a=n(1)["default"];t.__esModule=!0;var i=n(5),o=n(6),s=a(o);t["default"]=function(e){e.registerHelper("each",function(e,t){function n(t,n,o){l&&(l.key=t,l.index=n,l.first=0===n,l.last=!!o,c&&(l.contextPath=c+t)),d+=a(e[t],{data:l,blockParams:i.blockParams([e[t],t],[c+t,null])})}if(!t)throw new s["default"]("Must pass iterator to #each");var a=t.fn,o=t.inverse,r=0,d="",l=void 0,c=void 0;if(t.data&&t.ids&&(c=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(l=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var h=e.length;r<h;r++)r in e&&n(r,r,r===e.length-1);else{var u=void 0;for(var m in e)e.hasOwnProperty(m)&&(void 0!==u&&n(u,r-1),u=m,r++);void 0!==u&&n(u,r-1,!0)}return 0===r&&(d=o(this)),d})},e.exports=t["default"]},function(e,t,n){"use strict";var a=n(1)["default"];t.__esModule=!0;var i=n(6),o=a(i);t["default"]=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var a=n(5);t["default"]=function(e){e.registerHelper("if",function(e,t){return a.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||a.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers["if"].call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t["default"]},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],a=0;a<arguments.length-1;a++)t.push(arguments[a]);var i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),t[0]=i,e.log.apply(e,t)})},e.exports=t["default"]},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){e.registerHelper("lookup",function(e,t){return e&&e[t]})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var a=n(5);t["default"]=function(e){e.registerHelper("with",function(e,t){a.isFunction(e)&&(e=e.call(this));var n=t.fn;if(a.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&(i=a.createFrame(t.data),i.contextPath=a.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:a.blockParams([e],[i&&i.contextPath])})})},e.exports=t["default"]},function(e,t,n){"use strict";function a(e){s["default"](e)}var i=n(1)["default"];t.__esModule=!0,t.registerDefaultDecorators=a;var o=n(16),s=i(o)},function(e,t,n){"use strict";t.__esModule=!0;var a=n(5);t["default"]=function(e){e.registerDecorator("inline",function(e,t,n,i){var o=e;return t.partials||(t.partials={},o=function(i,o){var s=n.partials;n.partials=a.extend({},s,t.partials);var r=e(i,o);return n.partials=s,r}),t.partials[i.args[0]]=i.fn,o})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var a=n(5),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=a.indexOf(i.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,a=Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];console[t].apply(console,a)}}};t["default"]=i,e.exports=t["default"]},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"]},function(e,t,n){"use strict";function a(e){var t=e&&e[0]||1,n=v.COMPILER_REVISION;if(t!==n){if(t<n){var a=v.REVISION_CHANGES[n],i=v.REVISION_CHANGES[t];throw new g["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+a+") or downgrade your runtime to an older version ("+i+").")}throw new g["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}}function i(e,t){function n(n,a,i){i.hash&&(a=p.extend({},a,i.hash),i.ids&&(i.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,a,i);var o=t.VM.invokePartial.call(this,n,a,i);if(null==o&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),o=i.partials[i.name](a,i)),null!=o){if(i.indent){for(var s=o.split("\n"),r=0,d=s.length;r<d&&(s[r]||r+1!==d);r++)s[r]=i.indent+s[r];o=s.join("\n")}return o}throw new g["default"]("The partial "+i.name+" could not be compiled when running in runtime-only mode")}function a(t){function n(t){return""+e.main(i,t,i.helpers,i.partials,s,d,r)}var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=o.data;a._setup(o),!o.partial&&e.useData&&(s=l(t,s));var r=void 0,d=e.useBlockParams?[]:void 0;return e.useDepths&&(r=o.depths?t!==o.depths[0]?[t].concat(o.depths):o.depths:[t]),(n=c(e.main,n,i,o.depths||[],s,d))(t,o)}if(!t)throw new g["default"]("No environment passed to template");if(!e||!e.main)throw new g["default"]("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var i={strict:function(e,t){if(!(t in e))throw new g["default"]('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var n=e.length,a=0;a<n;a++)if(e[a]&&null!=e[a][t])return e[a][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:p.escapeExpression,invokePartial:n,fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,a,i){var s=this.programs[e],r=this.fn(e);return t||i||a||n?s=o(this,e,r,t,n,a,i):s||(s=this.programs[e]=o(this,e,r)),s},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=p.extend({},t,e)),n},noop:t.VM.noop,compilerInfo:e.compiler};return a.isTop=!0,a._setup=function(n){n.partial?(i.helpers=n.helpers,i.partials=n.partials,i.decorators=n.decorators):(i.helpers=i.merge(n.helpers,t.helpers),e.usePartial&&(i.partials=i.merge(n.partials,t.partials)),(e.usePartial||e.useDecorators)&&(i.decorators=i.merge(n.decorators,t.decorators)))},a._child=function(t,n,a,s){if(e.useBlockParams&&!a)throw new g["default"]("must pass block params");if(e.useDepths&&!s)throw new g["default"]("must pass parent depths");return o(i,t,e[t],n,0,a,s)},a}function o(e,t,n,a,i,o,s){function r(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=s;return s&&t!==s[0]&&(r=[t].concat(s)),n(e,t,e.helpers,e.partials,i.data||a,o&&[i.blockParams].concat(o),r)}return r=c(n,r,e,s,a,o),r.program=t,r.depth=s?s.length:0,r.blockParams=i||0,r}function s(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}function r(e,t,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var a=void 0;if(n.fn&&n.fn!==d&&(n.data=v.createFrame(n.data),a=n.data["partial-block"]=n.fn,a.partials&&(n.partials=p.extend({},n.partials,a.partials))),void 0===e&&a&&(e=a),void 0===e)throw new g["default"]("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)}function d(){return""}function l(e,t){return t&&"root"in t||(t=t?v.createFrame(t):{},t.root=e),t}function c(e,t,n,a,i,o){if(e.decorator){var s={};t=e.decorator(t,s,n,a&&a[0],i,o,a),p.extend(t,s)}return t}var h=n(3)["default"],u=n(1)["default"];t.__esModule=!0,t.checkRevision=a,t.template=i,t.wrapProgram=o,t.resolvePartial=s,t.invokePartial=r,t.noop=d;var m=n(5),p=h(m),f=n(6),g=u(f),v=n(4)},function(e,t){(function(n){"use strict";t.__esModule=!0,t["default"]=function(e){var t="undefined"!=typeof n?n:window,a=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=a),e}},e.exports=t["default"]}).call(t,function(){return this}())},function(e,t){"use strict";t.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function a(e,t){if("Program"===e.type)return e;r["default"].yy=m,m.locInfo=function(e){return new m.SourceLocation(t&&t.srcName,e)};var n=new l["default"](t);return n.accept(r["default"].parse(e))}var i=n(1)["default"],o=n(3)["default"];t.__esModule=!0,t.parse=a;var s=n(23),r=i(s),d=n(24),l=i(d),c=n(26),h=o(c),u=n(5);t.parser=r["default"];var m={};u.extend(m,h)},function(e,t){"use strict";var n=function(){function e(){this.yy={}}var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition_plus0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,1],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,n,a,i,o,s){var r=o.length-1;switch(i){case 1:return o[r-1];case 2:this.$=a.prepareProgram(o[r]);break;case 3:this.$=o[r];break;case 4:this.$=o[r];break;case 5:this.$=o[r];break;case 6:this.$=o[r];break;case 7:this.$=o[r];break;case 8:this.$=o[r];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(o[r]),strip:a.stripFlags(o[r],o[r]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[r],value:o[r],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(o[r-2],o[r-1],o[r],this._$);break;case 12:this.$={path:o[r-3],params:o[r-2],hash:o[r-1]};break;case 13:this.$=a.prepareBlock(o[r-3],o[r-2],o[r-1],o[r],!1,this._$);break;case 14:this.$=a.prepareBlock(o[r-3],o[r-2],o[r-1],o[r],!0,this._$);break;case 15:this.$={open:o[r-5],path:o[r-4],params:o[r-3],hash:o[r-2],blockParams:o[r-1],strip:a.stripFlags(o[r-5],o[r])};break;case 16:this.$={path:o[r-4],params:o[r-3],hash:o[r-2],blockParams:o[r-1],strip:a.stripFlags(o[r-5],o[r])};break;case 17:this.$={path:o[r-4],params:o[r-3],hash:o[r-2],blockParams:o[r-1],strip:a.stripFlags(o[r-5],o[r])};break;case 18:this.$={strip:a.stripFlags(o[r-1],o[r-1]),program:o[r]};break;case 19:var d=a.prepareBlock(o[r-2],o[r-1],o[r],o[r],!1,this._$),l=a.prepareProgram([d],o[r-1].loc);l.chained=!0,this.$={strip:o[r-2].strip,program:l,chain:!0};break;case 20:this.$=o[r];break;case 21:this.$={path:o[r-1],strip:a.stripFlags(o[r-2],o[r])};break;case 22:this.$=a.prepareMustache(o[r-3],o[r-2],o[r-1],o[r-4],a.stripFlags(o[r-4],o[r]),this._$);break;case 23:this.$=a.prepareMustache(o[r-3],o[r-2],o[r-1],o[r-4],a.stripFlags(o[r-4],o[r]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[r-3],params:o[r-2],hash:o[r-1],indent:"",strip:a.stripFlags(o[r-4],o[r]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(o[r-2],o[r-1],o[r],this._$);break;case 26:this.$={path:o[r-3],params:o[r-2],hash:o[r-1],strip:a.stripFlags(o[r-4],o[r])};break;case 27:this.$=o[r];break;case 28:this.$=o[r];break;case 29:this.$={type:"SubExpression",path:o[r-3],params:o[r-2],hash:o[r-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[r],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(o[r-2]),value:o[r],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(o[r-1]);break;case 33:this.$=o[r];break;case 34:this.$=o[r];break;case 35:this.$={type:"StringLiteral",value:o[r],original:o[r],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[r]),original:Number(o[r]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===o[r],original:"true"===o[r],loc:a.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:a.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:a.locInfo(this._$)};break;case 40:this.$=o[r];break;case 41:this.$=o[r];break;case 42:this.$=a.preparePath(!0,o[r],this._$);break;case 43:this.$=a.preparePath(!1,o[r],this._$);break;case 44:o[r-2].push({part:a.id(o[r]),original:o[r],separator:o[r-1]}),this.$=o[r-2];break;case 45:this.$=[{part:a.id(o[r]),original:o[r]}];break;case 46:this.$=[];break;case 47:o[r-1].push(o[r]);break;case 48:this.$=[o[r]];break;case 49:o[r-1].push(o[r]);break;case 50:this.$=[];break;case 51:o[r-1].push(o[r]);break;case 58:this.$=[];break;case 59:o[r-1].push(o[r]);break;case 64:this.$=[];break;case 65:o[r-1].push(o[r]);break;case 70:this.$=[];break;case 71:o[r-1].push(o[r]);break;case 78:this.$=[];break;case 79:o[r-1].push(o[r]);break;case 82:this.$=[];break;case 83:o[r-1].push(o[r]);break;case 86:this.$=[];break;case 87:o[r-1].push(o[r]);break;case 90:this.$=[];break;case 91:o[r-1].push(o[r]);break;case 94:this.$=[];break;case 95:o[r-1].push(o[r]);break;case 98:this.$=[o[r]];break;case 99:o[r-1].push(o[r]);break;case 100:this.$=[o[r]];break;case 101:o[r-1].push(o[r])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{13:40,15:[1,20],17:39},{20:42,56:41,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:45,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:48,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:42,56:49,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:50,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,51]},{72:[1,35],86:52},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:53,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:54,38:56,39:[1,58],43:57,44:[1,59],45:55,47:[2,54]},{28:60,43:61,44:[1,59],47:[2,56]},{13:63,15:[1,20],18:[1,62]},{15:[2,48],18:[2,48]},{33:[2,86],57:64,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:65,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:66,47:[1,67]},{30:68,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:69,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:70,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:71,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:75,33:[2,80],50:72,63:73,64:76,65:[1,44],69:74,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,80]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,51]},{20:75,53:81,54:[2,84],63:82,64:76,65:[1,44],69:83,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:84,47:[1,67]},{47:[2,55]},{4:85,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:86,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:87,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:88,47:[1,67]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:75,33:[2,88],58:89,63:90,64:76,65:[1,44],69:91,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:92,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:93,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,31:94,33:[2,60],63:95,64:76,65:[1,44],69:96,70:77,71:78,72:[1,79],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,66],36:97,63:98,64:76,65:[1,44],69:99,70:77,71:78,72:[1,79],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,22:100,23:[2,52],63:101,64:76,65:[1,44],69:102,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,92],62:103,63:104,64:76,65:[1,44],69:105,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,106]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:107,72:[1,108],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,109],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,110]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:56,39:[1,58],43:57,44:[1,59],45:112,46:111,47:[2,76]},{33:[2,70],40:113,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,114]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:75,63:116,64:76,65:[1,44],67:115,68:[2,96],69:117,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,118]},{32:119,33:[2,62],74:120,75:[1,121]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:122,74:123,75:[1,121]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,124]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,125]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,109]},{20:75,63:126,64:76,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:75,33:[2,72],41:127,63:128,64:76,65:[1,44],69:129,70:77,71:78,72:[1,79],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,130]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,131]},{33:[2,63]},{72:[1,133],76:132},{33:[1,134]},{33:[2,69]},{15:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:135,74:136,75:[1,121]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,138],77:[1,137]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,139]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],55:[2,55],57:[2,20],61:[2,57],74:[2,81],83:[2,85],87:[2,18],91:[2,89],102:[2,53],105:[2,93],111:[2,19],112:[2,77],117:[2,97],120:[2,63],123:[2,69],124:[2,12],136:[2,75],137:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){function t(){var e;return e=n.lexer.lex()||1,"number"!=typeof e&&(e=n.symbols_[e]||e),e}var n=this,a=[0],i=[null],o=[],s=this.table,r="",d=0,l=0,c=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var h=this.lexer.yylloc;o.push(h);var u=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var m,p,f,g,v,b,y,w,S,k={};;){if(f=a[a.length-1],this.defaultActions[f]?g=this.defaultActions[f]:(null!==m&&"undefined"!=typeof m||(m=t()),g=s[f]&&s[f][m]),"undefined"==typeof g||!g.length||!g[0]){var A="";if(!c){S=[];for(b in s[f])this.terminals_[b]&&b>2&&S.push("'"+this.terminals_[b]+"'");A=this.lexer.showPosition?"Parse error on line "+(d+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(d+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:h,expected:S})}}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+m);switch(g[0]){case 1:a.push(m),i.push(this.lexer.yytext),o.push(this.lexer.yylloc),a.push(g[1]),m=null,p?(m=p,p=null):(l=this.lexer.yyleng,r=this.lexer.yytext,d=this.lexer.yylineno,h=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[g[1]][1],k.$=i[i.length-y],k._$={first_line:o[o.length-(y||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(y||1)].first_column,last_column:o[o.length-1].last_column},u&&(k._$.range=[o[o.length-(y||1)].range[0],o[o.length-1].range[1]]),v=this.performAction.call(k,r,l,d,this.yy,g[1],i,o),"undefined"!=typeof v)return v;y&&(a=a.slice(0,-1*y*2),i=i.slice(0,-1*y),o=o.slice(0,-1*y)),a.push(this.productions_[g[1]][0]),i.push(k.$),o.push(k._$),w=s[a[a.length-2]][a[a.length-1]],a.push(w);break;case 3:return!0}}return!0}},n=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var t=e.match(/(?:\r\n?|\n).*/g);return t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===a.length?this.yylloc.first_column:0)+a[a.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);
return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,a,i;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;s<o.length&&(n=this._input.match(this.rules[o[s]]),!n||t&&!(n[0].length>t[0].length)||(t=n,a=s,this.options.flex));s++);return t?(i=t[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,o[a],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return"undefined"!=typeof e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,n,a){function i(e,n){return t.yytext=t.yytext.substr(e,t.yyleng-n)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(i(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(t.yytext=t.yytext.substr(5,t.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=i(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=i(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],e.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},e}();return t.lexer=n,e.prototype=t,t.Parser=e,new e}();t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function a(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function i(e,t,n){void 0===t&&(t=e.length);var a=e[t-1],i=e[t-2];return a?"ContentStatement"===a.type?(i||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(a.original):void 0:n}function o(e,t,n){void 0===t&&(t=-1);var a=e[t+1],i=e[t+2];return a?"ContentStatement"===a.type?(i||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(a.original):void 0:n}function s(e,t,n){var a=e[null==t?0:t+1];if(a&&"ContentStatement"===a.type&&(n||!a.rightStripped)){var i=a.value;a.value=a.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),a.rightStripped=a.value!==i}}function r(e,t,n){var a=e[null==t?e.length-1:t-1];if(a&&"ContentStatement"===a.type&&(n||!a.leftStripped)){var i=a.value;return a.value=a.value.replace(n?/\s+$/:/[ \t]+$/,""),a.leftStripped=a.value!==i,a.leftStripped}}var d=n(1)["default"];t.__esModule=!0;var l=n(25),c=d(l);a.prototype=new c["default"],a.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var a=e.body,d=0,l=a.length;d<l;d++){var c=a[d],h=this.accept(c);if(h){var u=i(a,d,n),m=o(a,d,n),p=h.openStandalone&&u,f=h.closeStandalone&&m,g=h.inlineStandalone&&u&&m;h.close&&s(a,d,!0),h.open&&r(a,d,!0),t&&g&&(s(a,d),r(a,d)&&"PartialStatement"===c.type&&(c.indent=/([ \t]+$)/.exec(a[d-1].original)[1])),t&&p&&(s((c.program||c.inverse).body),r(a,d)),t&&f&&(s(a,d),r((c.inverse||c.program).body))}}return e},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,a=n,d=n;if(n&&n.chained)for(a=n.body[0].program;d.chained;)d=d.body[d.body.length-1].program;var l={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:o(t.body),closeStandalone:i((a||t).body)};if(e.openStrip.close&&s(t.body,null,!0),n){var c=e.inverseStrip;c.open&&r(t.body,null,!0),c.close&&s(a.body,null,!0),e.closeStrip.open&&r(d.body,null,!0),!this.options.ignoreStandalone&&i(t.body)&&o(a.body)&&(r(t.body),s(a.body))}else e.closeStrip.open&&r(t.body,null,!0);return l},a.prototype.Decorator=a.prototype.MustacheStatement=function(e){return e.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function a(){this.parents=[]}function i(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function o(e){i.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function s(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}var r=n(1)["default"];t.__esModule=!0;var d=n(6),l=r(d);a.prototype={constructor:a,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!a.prototype[n.type])throw new l["default"]('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new l["default"](e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new l["default"]("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:t!==!1?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:i,Decorator:i,BlockStatement:o,DecoratorBlock:o,PartialStatement:s,PartialBlockStatement:function(e){s.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:i,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function a(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new g["default"](e.path.original+" doesn't match "+t,n)}}function i(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function o(e){return/^\[.*\]$/.test(e)?e.substr(1,e.length-2):e}function s(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}}function r(e){return e.replace(/^\{\{~?\!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function d(e,t,n){n=this.locInfo(n);for(var a=e?"@":"",i=[],o=0,s="",r=0,d=t.length;r<d;r++){var l=t[r].part,c=t[r].original!==l;if(a+=(t[r].separator||"")+l,c||".."!==l&&"."!==l&&"this"!==l)i.push(l);else{if(i.length>0)throw new g["default"]("Invalid path: "+a,{loc:n});".."===l&&(o++,s+="../")}}return{type:"PathExpression",data:e,depth:o,parts:i,original:a,loc:n}}function l(e,t,n,a,i,o){var s=a.charAt(3)||a.charAt(2),r="{"!==s&&"&"!==s,d=/\*/.test(a);return{type:d?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:r,strip:i,loc:this.locInfo(o)}}function c(e,t,n,i){a(e,n),i=this.locInfo(i);var o={type:"Program",body:t,strip:{},loc:i};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:i}}function h(e,t,n,i,o,s){i&&i.path&&a(e,i);var r=/\*/.test(e.open);t.blockParams=e.blockParams;var d=void 0,l=void 0;if(n){if(r)throw new g["default"]("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=i.strip),l=n.strip,d=n.program}return o&&(o=d,d=t,t=o),{type:r?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:d,openStrip:e.strip,inverseStrip:l,closeStrip:i&&i.strip,loc:this.locInfo(s)}}function u(e,t){if(!t&&e.length){var n=e[0].loc,a=e[e.length-1].loc;n&&a&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:a.end.line,column:a.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function m(e,t,n,i){return a(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(i)}}var p=n(1)["default"];t.__esModule=!0,t.SourceLocation=i,t.id=o,t.stripFlags=s,t.stripComment=r,t.preparePath=d,t.prepareMustache=l,t.prepareRawBlock=c,t.prepareBlock=h,t.prepareProgram=u,t.preparePartialBlock=m;var f=n(6),g=p(f)},function(e,t,n){"use strict";function a(){}function i(e,t,n){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new c["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var a=n.parse(e,t),i=(new n.Compiler).compile(a,t);return(new n.JavaScriptCompiler).compile(i,t)}function o(e,t,n){function a(){var a=n.parse(e,t),i=(new n.Compiler).compile(a,t),o=(new n.JavaScriptCompiler).compile(i,t,void 0,!0);return n.template(o)}function i(e,t){return o||(o=a()),o.call(this,e,t)}if(void 0===t&&(t={}),null==e||"string"!=typeof e&&"Program"!==e.type)throw new c["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var o=void 0;return i._setup=function(e){return o||(o=a()),o._setup(e)},i._child=function(e,t,n,i){return o||(o=a()),o._child(e,t,n,i)},i}function s(e,t){if(e===t)return!0;if(h.isArray(e)&&h.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!s(e[n],t[n]))return!1;return!0}}function r(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}var d=n(1)["default"];t.__esModule=!0,t.Compiler=a,t.precompile=i,t.compile=o;var l=n(6),c=d(l),h=n(5),u=n(21),m=d(u),p=[].slice;a.prototype={compiler:a,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var a=this.opcodes[n],i=e.opcodes[n];if(a.opcode!==i.opcode||!s(a.args,i.args))return!1}t=this.children.length;for(var n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[];var n=t.knownHelpers;if(t.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},n)for(var a in n)a in n&&(t.knownHelpers[a]=n[a]);return this.accept(e)},compileProgram:function(e){var t=new this.compiler,n=t.compile(e,this.options),a=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[a]=n,this.useDepths=this.useDepths||n.useDepths,a},accept:function(e){if(!this[e.type])throw new c["default"]("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var t=this[e.type](e);return this.sourceNode.shift(),t},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,n=t.length,a=0;a<n;a++)this.accept(t[a]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){r(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var a=this.classifySexpr(e);"helper"===a?this.helperSexpr(e,t,n):"simple"===a?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,t,void 0),a=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,a.original)},PartialStatement:function(e){this.usePartial=!0;var t=e.program;t&&(t=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new c["default"]("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var a=e.name.original,i="SubExpression"===e.name.type;i&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var o=e.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",i,a,o),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){r(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var a=e.path,i=a.parts[0],o=null!=t||null!=n;this.opcode("getContext",a.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),a.strict=!0,this.accept(a),this.opcode("invokeAmbiguous",i,o)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var a=this.setupFullMustacheParams(e,t,n),i=e.path,o=i.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",a.length,o);else{if(this.options.knownHelpersOnly)throw new c["default"]("You specified knownHelpersOnly, but used the unknown helper "+o,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",a.length,i.original,m["default"].helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=m["default"].helpers.scopedId(e),a=!e.depth&&!n&&this.blockParamIndex(t);a?this.opcode("lookupBlockParam",a,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,a=t.length;for(this.opcode("pushHash");n<a;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:p.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=m["default"].helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),a=!n&&m["default"].helpers.helperExpression(e),i=!n&&(a||t);if(i&&!a){var o=e.path.parts[0],s=this.options;s.knownHelpers[o]?a=!0:s.knownHelpersOnly&&(i=!1)}return a?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;t<n;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var n=void 0;if(!e.parts||m["default"].helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var a=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,a)}else t=e.original||t,t.replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,n,a){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",a),i},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;t<n;t++){var a=this.options.blockParams[t],i=a&&h.indexOf(a,e);if(a&&i>=0)return[t,i]}}}},function(e,t,n){"use strict";function a(e){this.value=e}function i(){}function o(e,t,n,a){var i=t.popStack(),o=0,s=n.length;for(e&&s--;o<s;o++)i=t.nameLookup(i,n[o],a);return e?[t.aliasable("container.strict"),"(",i,", ",t.quotedString(n[o]),")"]:i}var s=n(1)["default"];t.__esModule=!0;var r=n(4),d=n(6),l=s(d),c=n(5),h=n(29),u=s(h);i.prototype={nameLookup:function(e,t){return i.isValidJavaScriptVariableName(t)?[e,".",t]:[e,"[",JSON.stringify(t),"]"]},depthedLookup:function(e){return[this.aliasable("container.lookup"),'(depths, "',e,'")']},compilerInfo:function(){var e=r.COMPILER_REVISION,t=r.REVISION_CHANGES[e];return[e,t]},appendToBuffer:function(e,t,n){return c.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},compile:function(e,t,n,a){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!a,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,o=void 0,s=void 0,r=void 0,d=void 0;for(r=0,d=i.length;r<d;r++)o=i[r],this.source.currentLocation=o.loc,s=s||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new l["default"]("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend("var decorators = container.decorators;\n"),this.decorators.push("return fn;"),a?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var c=this.createFunctionContext(a);if(this.isChild)return c;var h={compiler:this.compilerInfo(),main:c};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var u=this.context,m=u.programs,p=u.decorators;for(r=0,d=m.length;r<d;r++)m[r]&&(h[r]=m[r],p[r]&&(h[r+"_d"]=p[r],h.useDecorators=!0));return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),a?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),t.srcName?(h=h.toStringWithSourceMap({file:t.destName}),h.map=h.map&&h.map.toString()):h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new u["default"](this.options.srcName),this.decorators=new u["default"](this.options.srcName)},createFunctionContext:function(e){var t="",n=this.stackVars.concat(this.registers.list);n.length>0&&(t+=", "+n.join(", "));var a=0;for(var i in this.aliases){var o=this.aliases[i];this.aliases.hasOwnProperty(i)&&o.children&&o.referenceCount>1&&(t+=", alias"+ ++a+"="+i,o.children[0]="alias"+a)}var s=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&s.push("blockParams"),this.useDepths&&s.push("depths");var r=this.mergeSource(t);return e?(s.push(r),Function.apply(this,s)):this.source.wrap(["function(",s.join(","),") {\n  ",r,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,a=void 0,i=void 0,o=void 0,s=void 0;return this.source.each(function(e){e.appendToBuffer?(o?e.prepend("  + "):o=e,s=e):(o&&(i?o.prepend("buffer += "):a=!0,s.add(";"),o=s=void 0),i=!0,t||(n=!1))}),n?o?(o.prepend("return "),s.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(a?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(a?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var a=this.popStack();n.splice(1,0,a),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,a){var i=0;a||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[i++])),this.resolvePath("context",e,i,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,a,i){var s=this;if(this.options.strict||this.options.assumeObjects)return void this.push(o(this.options.strict&&i,this,t,e));for(var r=t.length;n<r;n++)this.replaceStack(function(i){var o=s.nameLookup(i,t[n],e);return a?[" && ",o]:[" != null ? ",o," : ",i]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:[],types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var n=this.nameLookup("decorators",t,"decorator"),a=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",a])," || fn;"])},invokeHelper:function(e,t,n){var a=this.popStack(),i=this.setupHelper(e,t),o=n?[i.name," || "]:"",s=["("].concat(o,a);this.options.strict||s.push(" || ",this.aliasable("helpers.helperMissing")),s.push(")"),this.push(this.source.functionCall(s,"call",i.callParams))},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var a=this.setupHelper(0,e,t),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),o=["(","(helper = ",i," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))),this.push(["(",o,a.paramsInit?["),(",a.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",a.callParams)," : helper))"])},invokePartial:function(e,t,n){var a=[],i=this.setupParams(t,1,a);e&&(t=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",e?a.unshift(t):a.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),a.push(i),this.push(this.source.functionCall("container.invokePartial","",a))},assignToHash:function(e){var t=this.popStack(),n=void 0,a=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(a=this.popStack(),n=this.popStack());var o=this.hash;n&&(o.contexts[e]=n),a&&(o.types[e]=a),i&&(o.ids[e]=i),o.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:i,compileChildren:function(e,t){for(var n=e.children,a=void 0,i=void 0,o=0,s=n.length;o<s;o++){a=n[o],i=new this.compiler;var r=this.matchExistingProgram(a);null==r?(this.context.programs.push(""),r=this.context.programs.length,a.index=r,a.name="program"+r,this.context.programs[r]=i.compile(a,t,this.context,!this.precompile),this.context.decorators[r]=i.decorators,this.context.environments[r]=a,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams):(a.index=r,a.name="program"+r,this.useDepths=this.useDepths||a.useDepths,this.useBlockParams=this.useBlockParams||a.useBlockParams)}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var a=this.context.environments[t];if(a&&a.equals(e))return t}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof a||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new a(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new l["default"]("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof a)n=[s.value],t=["(",n],o=!0;else{i=!0;var r=this.incrStack();t=["((",this.push(r)," = ",s,")"],n=this.topStack()}var d=e.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(t.concat(d,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var i=e[t];if(i instanceof a)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof a)return n.value;if(!t){if(!this.stackSlot)throw new l["default"]("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof a?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):(t=this.aliases[e]=this.source.wrap(e),t.aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var a=[],i=this.setupHelperArgs(t,e,a,n),o=this.nameLookup("helpers",t,"helper"),s=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : {}");return{params:a,paramsInit:i,name:o,callParams:[s].concat(a)}},setupParams:function(e,t,n){var a={},i=[],o=[],s=[],r=!n,d=void 0;r&&(n=[]),a.name=this.quotedString(e),a.hash=this.popStack(),this.trackIds&&(a.hashIds=this.popStack()),this.stringParams&&(a.hashTypes=this.popStack(),a.hashContexts=this.popStack());
var l=this.popStack(),c=this.popStack();(c||l)&&(a.fn=c||"container.noop",a.inverse=l||"container.noop");for(var h=t;h--;)d=this.popStack(),n[h]=d,this.trackIds&&(s[h]=this.popStack()),this.stringParams&&(o[h]=this.popStack(),i[h]=this.popStack());return r&&(a.args=this.source.generateArray(n)),this.trackIds&&(a.ids=this.source.generateArray(s)),this.stringParams&&(a.types=this.source.generateArray(o),a.contexts=this.source.generateArray(i)),this.options.data&&(a.data="data"),this.useBlockParams&&(a.blockParams="blockParams"),a},setupHelperArgs:function(e,t,n,a){var i=this.setupParams(e,t,n);return i=this.objectLiteral(i),a?(this.useRegister("options"),n.push("options"),["options=",i]):n?(n.push(i),""):i}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=i.RESERVED_WORDS={},n=0,a=e.length;n<a;n++)t[e[n]]=!0}(),i.isValidJavaScriptVariableName=function(e){return!i.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function a(e,t,n){if(o.isArray(e)){for(var a=[],i=0,s=e.length;i<s;i++)a.push(t.wrap(e[i],n));return a}return"boolean"==typeof e||"number"==typeof e?e+"":e}function i(e){this.srcFile=e,this.source=[]}t.__esModule=!0;var o=n(5),s=void 0;try{}catch(r){}s||(s=function(e,t,n,a){this.src="",a&&this.add(a)},s.prototype={add:function(e){o.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){o.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),i.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each(function(t){e.add(["  ",t,"\n"])}),e},each:function(e){for(var t=0,n=this.source.length;t<n;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new s(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof s?e:(e=a(e,this,t),new s(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var i=a(e[n],this);"undefined"!==i&&t.push([this.quotedString(n),":",i])}var o=this.generateList(t);return o.prepend("{"),o.add("}"),o},generateList:function(e){for(var t=this.empty(),n=0,i=e.length;n<i;n++)n&&t.add(","),t.add(a(e[n],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t["default"]=i,e.exports=t["default"]}])});/* Copyright (C) 2014 Justin Windle, http://soulwire.co.uk */
var fit=function(){"use strict";function e(e){return e.toUpperCase()}function t(e){return"number"==typeof e&&!isNaN(e)}function n(){return(new Date).getTime()}function a(e,t){for(var n=[],a=0,i=e.length;a<i;a++)n[a]=t(e[a]);return n}function i(e,t){for(var n in t)n in e||(e[n]=t[n]);return e}function o(t){if(!f)for(var n,a=B(P.body),i=w,o=0,s=S.length;o<s&&(f=S[o],n=f+i,!(n in a))&&(f=f.replace(/^(\w)/,e),n=f+i,!(n in a));o++);return f+t}function s(e){var t=B(e),n=t[o(w)].replace(/[a-z()]/gi,"").split(",");if(n.length<6)return[1,0,0,1,0,0];for(var a=0;a<6;a++)n[a]=parseFloat(n[a]);return n}function r(e,t){var n=s(t);n[0]=e.scale,n[3]=e.scale,n[4]+=e.tx,n[5]+=e.ty;var i=a(n,function(e){return e.toFixed(6)});t.style[o(y)]="0 0",t.style[o(w)]="matrix("+i.join(",")+")"}function d(e,t){var n=B(t),a=parseFloat(n.left)||0,i=parseFloat(n.top)||0;"static"===n.position&&(t.style.position="relative"),t.style.left=a+e.tx+M,t.style.top=i+e.ty+M,t.style.height=e.height+M,t.style.width=e.width+M}function l(e,t){var n=B(t),a=parseFloat(n.marginLeft)||0,i=parseFloat(n.marginTop)||0;t.style.marginLeft=a+e.tx+M,t.style.marginTop=i+e.ty+M,t.style.height=e.height+M,t.style.width=e.width+M}function c(e,t){t.height*=e.scale,t.width*=e.scale,t.x+=e.tx,t.y+=e.ty}function h(e){if(e.nodeType&&1==e.nodeType){var n=e.getBoundingClientRect();e={height:e.offsetHeight,width:e.offsetWidth,x:n.left,y:n.top}}return!t(e.x)&&t(e.left)&&(e.x=e.left),!t(e.y)&&t(e.top)&&(e.y=e.top),e}function u(){var e=n(),t=e-g;if(t<=b)clearInterval(v),v=setTimeout(u,b-t);else{for(var a=0,i=N.length;a<i;a++)N[a]();g=e}}function m(e,t,n,a,i){var o=h(e),s=h(t),d=o.width,l=o.height,u=s.width,m=s.height,p=u/d,f=m/l,g=d/l,v=u/m,b=n.cover?f:p,y=n.cover?p:f,w=g>=v?b:y,S=d*w,x=l*w,T=n.hAlign==k?.5*(S-u):n.hAlign==C?S-u:0,M=n.vAlign==k?.5*(x-m):n.vAlign==A?x-m:0;return i=i||{},i.tx=s.x-T-o.x,i.ty=s.y-M-o.y,i.x=s.x-T-o.x*w,i.y=s.y-M-o.y*w,i.height=o.height*w,i.width=o.width*w,i.scale=w,a?a(i,e):n.apply&&(a="undefined"!=typeof HTMLElement&&e instanceof HTMLElement?r:c,a(i,e),_!==!0?callbackFitJs(i,e):_=!1),i}function p(e,t,n,a){if(!e||!t)throw"You must supply a target and a container";"function"==typeof n&&(a=n,n={}),n=i(n||{},L);var o=m(e,t,n,a);return n.watch&&(N.length||(E.addEventListener?(E.addEventListener("resize",u),E.addEventListener("orientationchange",u)):(E.attachEvent("resize",u),E.attachEvent("orientationchange",u))),o.trigger=function(){m(e,t,n,a,o)},o.on=function(e){var t=N.indexOf(o.trigger);~t||N.push(o.trigger),e||o.trigger()},o.off=function(){var e=N.indexOf(o.trigger);~e&&N.splice(e,1)},o.on(!0)),o}var f,g,v,b=50,y="TransformOrigin",w="Transform",S="moz ms o webkit".split(" "),k="center",A="bottom",C="right",x="left",T="top",M="px",E=window||self,P=document,B=E.getComputedStyle,N=[],L={hAlign:k,vAlign:k,watch:!1,cover:!1,apply:!0},_=!0;return Array.prototype.indexOf||(Array.prototype.indexOf=function(e){for(var t=0;t<this.length;++t)if(this[t]==e)return t;return-1}),i(p,{watching:N,defaults:L,cssTransform:r,cssPosition:d,cssMargin:l,CENTER:k,BOTTOM:A,RIGHT:C,LEFT:x,TOP:T})}();/**
* bootstrap-formhelpers.js v2.3.0 by @vincentlamanna
* Copyright 2013 Vincent Lamanna
* http://www.apache.org/licenses/LICENSE-2.0
*/
if(/*!
 * Waves v0.7.4
 * http://fian.my.id/Waves
 *
 * Copyright 2014 Alfiana E. Sibuea and other contributors
 * Released under the MIT license
 * https://github.com/fians/Waves/blob/master/LICENSE
 */
!function(e,t){"use strict";"function"==typeof define&&define.amd?define([],function(){return t.apply(e)}):"object"==typeof exports?module.exports=t.call(e):e.Waves=t.call(e)}("object"==typeof global?global:this,function(){"use strict";function e(e){return null!==e&&e===e.window}function t(t){return e(t)?t:9===t.nodeType&&t.defaultView}function n(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function a(e){return n(e)&&e.nodeType>0}function i(e){var t=u.call(e);return"[object String]"===t?h(e):n(e)&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(t)&&e.hasOwnProperty("length")?e:a(e)?[e]:[]}function o(e){var n,a,i={top:0,left:0},o=e&&e.ownerDocument;return n=o.documentElement,"undefined"!=typeof e.getBoundingClientRect&&(i=e.getBoundingClientRect()),a=t(o),{top:i.top+a.pageYOffset-n.clientTop,left:i.left+a.pageXOffset-n.clientLeft}}function s(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}function r(e,t,n){if(n){n.classList.remove("waves-rippling");var a=n.getAttribute("data-x"),i=n.getAttribute("data-y"),o=n.getAttribute("data-scale"),r=n.getAttribute("data-translate"),d=Date.now()-Number(n.getAttribute("data-hold")),l=350-d;0>l&&(l=0),"mousemove"===e.type&&(l=150);var c="mousemove"===e.type?2500:p.duration;setTimeout(function(){var e={top:i+"px",left:a+"px",opacity:"0","-webkit-transition-duration":c+"ms","-moz-transition-duration":c+"ms","-o-transition-duration":c+"ms","transition-duration":c+"ms","-webkit-transform":o+" "+r,"-moz-transform":o+" "+r,"-ms-transform":o+" "+r,"-o-transform":o+" "+r,transform:o+" "+r};n.setAttribute("style",s(e)),setTimeout(function(){try{t.removeChild(n)}catch(e){return!1}},c)},l)}}function d(e){if(g.allowEvent(e)===!1)return null;for(var t=null,n=e.target||e.srcElement;null!==n.parentElement;){if(n.classList.contains("waves-effect")&&!(n instanceof SVGElement)){t=n;break}n=n.parentElement}return t}function l(e){var t=d(e);if(null!==t){if(t.disabled||t.getAttribute("disabled")||t.classList.contains("disabled"))return;if(g.registerEvent(e),"touchstart"===e.type&&p.delay){var n=!1,a=setTimeout(function(){a=null,p.show(e,t)},p.delay),i=function(i){a&&(clearTimeout(a),a=null,p.show(e,t)),n||(n=!0,p.hide(i,t))},o=function(e){a&&(clearTimeout(a),a=null),i(e)};t.addEventListener("touchmove",o,!1),t.addEventListener("touchend",i,!1),t.addEventListener("touchcancel",i,!1)}else p.show(e,t),m&&(t.addEventListener("touchend",p.hide,!1),t.addEventListener("touchcancel",p.hide,!1)),t.addEventListener("mouseup",p.hide,!1),t.addEventListener("mouseleave",p.hide,!1)}}var c=c||{},h=document.querySelectorAll.bind(document),u=Object.prototype.toString,m="ontouchstart"in window,p={duration:750,delay:200,show:function(e,t,n){if(2===e.button)return!1;t=t||this;var a=document.createElement("div");a.className="waves-ripple waves-rippling",t.appendChild(a);var i=o(t),r=0,d=0;"touches"in e&&e.touches.length?(r=e.touches[0].pageY-i.top,d=e.touches[0].pageX-i.left):(r=e.pageY-i.top,d=e.pageX-i.left),d=d>=0?d:0,r=r>=0?r:0;var l="scale("+t.clientWidth/100*3+")",c="translate(0,0)";n&&(c="translate("+n.x+"px, "+n.y+"px)"),a.setAttribute("data-hold",Date.now()),a.setAttribute("data-x",d),a.setAttribute("data-y",r),a.setAttribute("data-scale",l),a.setAttribute("data-translate",c);var h={top:r+"px",left:d+"px"};a.classList.add("waves-notransition"),a.setAttribute("style",s(h)),a.classList.remove("waves-notransition"),h["-webkit-transform"]=l+" "+c,h["-moz-transform"]=l+" "+c,h["-ms-transform"]=l+" "+c,h["-o-transform"]=l+" "+c,h.transform=l+" "+c,h.opacity="1";var u="mousemove"===e.type?2500:p.duration;h["-webkit-transition-duration"]=u+"ms",h["-moz-transition-duration"]=u+"ms",h["-o-transition-duration"]=u+"ms",h["transition-duration"]=u+"ms",a.setAttribute("style",s(h))},hide:function(e,t){t=t||this;for(var n=t.getElementsByClassName("waves-rippling"),a=0,i=n.length;i>a;a++)r(e,t,n[a])}},f={input:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");n.className=e.className+" waves-input-wrapper",e.className="waves-button-input",t.replaceChild(n,e),n.appendChild(e);var a=window.getComputedStyle(e,null),i=a.color,o=a.backgroundColor;n.setAttribute("style","color:"+i+";background:"+o),e.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");t.replaceChild(n,e),n.appendChild(e)}}},g={touches:0,allowEvent:function(e){var t=!0;return/^(mousedown|mousemove)$/.test(e.type)&&g.touches&&(t=!1),t},registerEvent:function(e){var t=e.type;"touchstart"===t?g.touches+=1:/^(touchend|touchcancel)$/.test(t)&&setTimeout(function(){g.touches&&(g.touches-=1)},500)}};return c.init=function(e){var t=document.body;e=e||{},"duration"in e&&(p.duration=e.duration),"delay"in e&&(p.delay=e.delay),m&&(t.addEventListener("touchstart",l,!1),t.addEventListener("touchcancel",g.registerEvent,!1),t.addEventListener("touchend",g.registerEvent,!1)),t.addEventListener("mousedown",l,!1)},c.attach=function(e,t){e=i(e),"[object Array]"===u.call(t)&&(t=t.join(" ")),t=t?" "+t:"";for(var n,a,o=0,s=e.length;s>o;o++)n=e[o],a=n.tagName.toLowerCase(),-1!==["input","img"].indexOf(a)&&(f[a](n),n=n.parentElement),-1===n.className.indexOf("waves-effect")&&(n.className+=" waves-effect"+t)},c.ripple=function(e,t){e=i(e);var n=e.length;if(t=t||{},t.wait=t.wait||0,t.position=t.position||null,n)for(var a,s,r,d={},l=0,c={type:"mousedown",button:1},h=function(e,t){return function(){p.hide(e,t)}};n>l;l++)if(a=e[l],s=t.position||{x:a.clientWidth/2,y:a.clientHeight/2},r=o(a),d.x=r.left+s.x,d.y=r.top+s.y,c.pageX=d.x,c.pageY=d.y,p.show(c,a),t.wait>=0&&null!==t.wait){var u={type:"mouseup",button:1};setTimeout(h(u,a),t.wait)}},c.calm=function(e){e=i(e);for(var t={type:"mouseup",button:1},n=0,a=e.length;a>n;n++)p.hide(t,e[n])},c.displayEffect=function(e){c.init(e)},c}),!function(e,t,n){"use strict";!function a(e,t,n){function i(s,r){if(!t[s]){if(!e[s]){var d="function"==typeof require&&require;if(!r&&d)return d(s,!0);if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=t[s]={exports:{}};e[s][0].call(c.exports,function(t){var n=e[s][1][t];return i(n?n:t)},c,c.exports,a,e,t,n)}return t[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(a,i,o){var s=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(o,"__esModule",{value:!0});var r,d,l,c,h=a("./modules/handle-dom"),u=a("./modules/utils"),m=a("./modules/handle-swal-dom"),p=a("./modules/handle-click"),f=a("./modules/handle-key"),g=s(f),v=a("./modules/default-params"),b=s(v),y=a("./modules/set-params"),w=s(y);o["default"]=l=c=function(){function a(e){var t=i;return t[e]===n?b["default"][e]:t[e]}var i=arguments[0];if(h.addClass(t.body,"stop-scrolling"),m.resetInput(),i===n)return u.logStr("SweetAlert expects at least 1 attribute!"),!1;var o=u.extend({},b["default"]);switch(typeof i){case"string":o.title=i,o.text=arguments[1]||"",o.type=arguments[2]||"";break;case"object":if(i.title===n)return u.logStr('Missing "title" argument!'),!1;o.title=i.title;for(var s in b["default"])o[s]=a(s);o.confirmButtonText=o.showCancelButton?"Confirm":b["default"].confirmButtonText,o.confirmButtonText=a("confirmButtonText"),o.doneFunction=arguments[1]||null;break;default:return u.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof i),!1}w["default"](o),m.fixVerticalPosition(),m.openModal(arguments[1]);for(var l=m.getModal(),f=l.querySelectorAll("button"),v=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],y=function(e){return p.handleButton(e,o,l)},S=0;S<f.length;S++)for(var k=0;k<v.length;k++){var A=v[k];f[S][A]=y}m.getOverlay().onclick=y,r=e.onkeydown;var C=function(e){return g["default"](e,o,l)};e.onkeydown=C,e.onfocus=function(){setTimeout(function(){d!==n&&(d.focus(),d=n)},0)},c.enableButtons()},l.setDefaults=c.setDefaults=function(e){if(!e)throw new Error("userParams is required");if("object"!=typeof e)throw new Error("userParams has to be a object");u.extend(b["default"],e)},l.close=c.close=function(){var a=m.getModal();h.fadeOut(m.getOverlay(),5),h.fadeOut(a,5),h.removeClass(a,"showSweetAlert"),h.addClass(a,"hideSweetAlert"),h.removeClass(a,"visible");var i=a.querySelector(".sa-icon.sa-success");h.removeClass(i,"animate"),h.removeClass(i.querySelector(".sa-tip"),"animateSuccessTip"),h.removeClass(i.querySelector(".sa-long"),"animateSuccessLong");var o=a.querySelector(".sa-icon.sa-error");h.removeClass(o,"animateErrorIcon"),h.removeClass(o.querySelector(".sa-x-mark"),"animateXMark");var s=a.querySelector(".sa-icon.sa-warning");return h.removeClass(s,"pulseWarning"),h.removeClass(s.querySelector(".sa-body"),"pulseWarningIns"),h.removeClass(s.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var e=a.getAttribute("data-custom-class");h.removeClass(a,e)},300),h.removeClass(t.body,"stop-scrolling"),e.onkeydown=r,e.previousActiveElement&&e.previousActiveElement.focus(),d=n,clearTimeout(a.timeout),!0},l.showInputError=c.showInputError=function(e){var t=m.getModal(),n=t.querySelector(".sa-input-error");h.addClass(n,"show");var a=t.querySelector(".sa-error-container");h.addClass(a,"show"),a.querySelector("p").innerHTML=e,setTimeout(function(){l.enableButtons()},1),t.querySelector("input").focus()},l.resetInputError=c.resetInputError=function(e){if(e&&13===e.keyCode)return!1;var t=m.getModal(),n=t.querySelector(".sa-input-error");h.removeClass(n,"show");var a=t.querySelector(".sa-error-container");h.removeClass(a,"show")},l.disableButtons=c.disableButtons=function(){var e=m.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!0,n.disabled=!0},l.enableButtons=c.enableButtons=function(){var e=m.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!1,n.disabled=!1},"undefined"!=typeof e?e.sweetAlert=e.swal=l:u.logStr("SweetAlert is a frontend module!"),i.exports=o["default"]},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1};n["default"]=a,t.exports=n["default"]},{}],3:[function(t,n,a){Object.defineProperty(a,"__esModule",{value:!0});var i=t("./utils"),o=(t("./handle-swal-dom"),t("./handle-dom")),s=function(t,n,a){function s(e){p&&n.confirmButtonColor&&(m.style.backgroundColor=e)}var l,c,h,u=t||e.event,m=u.target||u.srcElement,p=-1!==m.className.indexOf("confirm"),f=-1!==m.className.indexOf("sweet-overlay"),g=o.hasClass(a,"visible"),v=n.doneFunction&&"true"===a.getAttribute("data-has-done-function");switch(p&&n.confirmButtonColor&&(l=n.confirmButtonColor,c=i.colorLuminance(l,-.04),h=i.colorLuminance(l,-.14)),u.type){case"mouseover":s(c);break;case"mouseout":s(l);break;case"mousedown":s(h);break;case"mouseup":s(c);break;case"focus":var b=a.querySelector("button.confirm"),y=a.querySelector("button.cancel");p?y.style.boxShadow="none":b.style.boxShadow="none";break;case"click":var w=a===m,S=o.isDescendant(a,m);if(!w&&!S&&g&&!n.allowOutsideClick)break;p&&v&&g?r(a,n):v&&g||f?d(a,n):o.isDescendant(a,m)&&"BUTTON"===m.tagName&&sweetAlert.close()}},r=function(e,t){var n=!0;o.hasClass(e,"show-input")&&(n=e.querySelector("input").value,n||(n="")),t.doneFunction(n),t.closeOnConfirm&&sweetAlert.close(),t.showLoaderOnConfirm&&sweetAlert.disableButtons()},d=function(e,t){var n=String(t.doneFunction).replace(/\s/g,""),a="function("===n.substring(0,9)&&")"!==n.substring(9,10);a&&t.doneFunction(!1),t.closeOnCancel&&sweetAlert.close()};a["default"]={handleButton:s,handleConfirm:r,handleCancel:d},n.exports=a["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(n,a,i){Object.defineProperty(i,"__esModule",{value:!0});var o=function(e,t){return new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){o(e,t)||(e.className+=" "+t)},r=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(o(e,t)){for(;n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},d=function(e){var n=t.createElement("div");return n.appendChild(t.createTextNode(e)),n.innerHTML},l=function(e){e.style.opacity="",e.style.display="block"},c=function(e){if(e&&!e.length)return l(e);for(var t=0;t<e.length;++t)l(e[t])},h=function(e){e.style.opacity="",e.style.display="none"},u=function(e){if(e&&!e.length)return h(e);for(var t=0;t<e.length;++t)h(e[t])},m=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},p=function(e){e.style.left="-9999px",e.style.display="block";var t,n=e.clientHeight;return t="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(e).getPropertyValue("padding-top"),10):parseInt(e.currentStyle.padding),e.style.left="",e.style.display="none","-"+parseInt((n+t)/2)+"px"},f=function(e,t){if(+e.style.opacity<1){t=t||16,e.style.opacity=0,e.style.display="block";var n=+new Date,a=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.style.opacity=+e.style.opacity+(new Date-n)/100,n=+new Date,+e.style.opacity<1&&setTimeout(a,t)});a()}e.style.display="block"},g=function(e,t){t=t||16,e.style.opacity=1;var n=+new Date,a=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.style.opacity=+e.style.opacity-(new Date-n)/100,n=+new Date,+e.style.opacity>0?setTimeout(a,t):e.style.display="none"});a()},v=function(n){if("function"==typeof MouseEvent){var a=new MouseEvent("click",{view:e,bubbles:!1,cancelable:!0});n.dispatchEvent(a)}else if(t.createEvent){var i=t.createEvent("MouseEvents");i.initEvent("click",!1,!1),n.dispatchEvent(i)}else t.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},b=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):e.event&&e.event.hasOwnProperty("cancelBubble")&&(e.event.cancelBubble=!0)};i.hasClass=o,i.addClass=s,i.removeClass=r,i.escapeHtml=d,i._show=l,i.show=c,i._hide=h,i.hide=u,i.isDescendant=m,i.getTopMargin=p,i.fadeIn=f,i.fadeOut=g,i.fireClick=v,i.stopEventPropagation=b},{}],5:[function(t,a,i){Object.defineProperty(i,"__esModule",{value:!0});var o=t("./handle-dom"),s=t("./handle-swal-dom"),r=function(t,a,i){var r=t||e.event,d=r.keyCode||r.which,l=i.querySelector("button.confirm"),c=i.querySelector("button.cancel"),h=i.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(d)){for(var u=r.target||r.srcElement,m=-1,p=0;p<h.length;p++)if(u===h[p]){m=p;break}9===d?(u=-1===m?l:m===h.length-1?h[0]:h[m+1],o.stopEventPropagation(r),u.focus(),a.confirmButtonColor&&s.setFocusStyle(u,a.confirmButtonColor)):13===d?("INPUT"===u.tagName&&(u=l,l.focus()),u=-1===m?l:n):27===d&&a.allowEscapeKey===!0?(u=c,o.fireClick(u,r)):u=n}};i["default"]=r,a.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6}],6:[function(n,a,i){var o=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(i,"__esModule",{value:!0});var s=n("./utils"),r=n("./handle-dom"),d=n("./default-params"),l=o(d),c=n("./injected-html"),h=o(c),u=".sweet-alert",m=".sweet-overlay",p=function(){var e=t.createElement("div");for(e.innerHTML=h["default"];e.firstChild;)t.body.appendChild(e.firstChild)},f=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=t.querySelector(u);return e||(p(),e=f()),e}),g=function(){var e=f();return e?e.querySelector("input"):void 0},v=function(){return t.querySelector(m)},b=function(e,t){var n=s.hexToRgb(t);e.style.boxShadow="0 0 2px rgba("+n+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)"},y=function(n){var a=f();r.fadeIn(v(),10),r.show(a),r.addClass(a,"showSweetAlert"),r.removeClass(a,"hideSweetAlert"),e.previousActiveElement=t.activeElement;var i=a.querySelector("button.confirm");i.focus(),setTimeout(function(){r.addClass(a,"visible")},500);var o=a.getAttribute("data-timer");if("null"!==o&&""!==o){var s=n;a.timeout=setTimeout(function(){var e=(s||null)&&"true"===a.getAttribute("data-has-done-function");e?s(null):sweetAlert.close()},o)}},w=function(){var e=f(),t=g();r.removeClass(e,"show-input"),t.value=l["default"].inputValue,t.setAttribute("type",l["default"].inputType),t.setAttribute("placeholder",l["default"].inputPlaceholder),S()},S=function(e){if(e&&13===e.keyCode)return!1;var t=f(),n=t.querySelector(".sa-input-error");r.removeClass(n,"show");var a=t.querySelector(".sa-error-container");r.removeClass(a,"show")},k=function(){var e=f();e.style.marginTop=r.getTopMargin(f())};i.sweetAlertInitialize=p,i.getModal=f,i.getOverlay=v,i.getInput=g,i.setFocusStyle=b,i.openModal=y,i.resetInput=w,i.resetInputError=S,i.fixVerticalPosition=k},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">\n      <span class="sa-x-mark">\n        <span class="sa-line sa-left"></span>\n        <span class="sa-line sa-right"></span>\n      </span>\n    </div><div class="sa-icon sa-warning">\n      <span class="sa-body"></span>\n      <span class="sa-dot"></span>\n    </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n      <span class="sa-line sa-tip"></span>\n      <span class="sa-line sa-long"></span>\n\n      <div class="sa-placeholder"></div>\n      <div class="sa-fix"></div>\n    </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n    <p>Text</p>\n    <fieldset>\n      <input type="text" tabIndex="3" />\n      <div class="sa-input-error"></div>\n    </fieldset><div class="sa-error-container">\n      <div class="icon">!</div>\n      <p>Not valid!</p>\n    </div><div class="sa-button-container">\n      <button class="cancel" tabIndex="2">Cancel</button>\n      <div class="sa-confirm-button-container">\n        <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n          <div></div>\n          <div></div>\n          <div></div>\n        </div>\n      </div>\n    </div></div>';n["default"]=a,t.exports=n["default"]},{}],8:[function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0});var i=e("./utils"),o=e("./handle-swal-dom"),s=e("./handle-dom"),r=["error","warning","info","success","input","prompt"],d=function(e){var t=o.getModal(),a=t.querySelector("h2"),d=t.querySelector("p"),l=t.querySelector("button.cancel"),c=t.querySelector("button.confirm");if(a.innerHTML=e.html?e.title:s.escapeHtml(e.title).split("\n").join("<br>"),d.innerHTML=e.html?e.text:s.escapeHtml(e.text||"").split("\n").join("<br>"),e.text&&s.show(d),e.customClass)s.addClass(t,e.customClass),t.setAttribute("data-custom-class",e.customClass);else{var h=t.getAttribute("data-custom-class");s.removeClass(t,h),t.setAttribute("data-custom-class","")}if(s.hide(t.querySelectorAll(".sa-icon")),e.type&&!i.isIE8()){var u=function(){for(var a=!1,i=0;i<r.length;i++)if(e.type===r[i]){a=!0;break}if(!a)return logStr("Unknown alert type: "+e.type),{v:!1};var d=["success","error","warning","info"],l=n;-1!==d.indexOf(e.type)&&(l=t.querySelector(".sa-icon.sa-"+e.type),s.show(l));var c=o.getInput();switch(e.type){case"success":s.addClass(l,"animate"),s.addClass(l.querySelector(".sa-tip"),"animateSuccessTip"),s.addClass(l.querySelector(".sa-long"),"animateSuccessLong");break;case"error":s.addClass(l,"animateErrorIcon"),s.addClass(l.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":s.addClass(l,"pulseWarning"),s.addClass(l.querySelector(".sa-body"),"pulseWarningIns"),s.addClass(l.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":c.setAttribute("type",e.inputType),c.value=e.inputValue,c.setAttribute("placeholder",e.inputPlaceholder),s.addClass(t,"show-input"),setTimeout(function(){c.focus(),c.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof u)return u.v}if(e.imageUrl){var m=t.querySelector(".sa-icon.sa-custom");m.style.backgroundImage="url("+e.imageUrl+")",s.show(m);var p=80,f=80;if(e.imageSize){var g=e.imageSize.toString().split("x"),v=g[0],b=g[1];v&&b?(p=v,f=b):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+e.imageSize)}m.setAttribute("style",m.getAttribute("style")+"width:"+p+"px; height:"+f+"px")}t.setAttribute("data-has-cancel-button",e.showCancelButton),e.showCancelButton?l.style.display="inline-block":s.hide(l),t.setAttribute("data-has-confirm-button",e.showConfirmButton),e.showConfirmButton?c.style.display="inline-block":s.hide(c),e.cancelButtonText&&(l.innerHTML=s.escapeHtml(e.cancelButtonText)),e.confirmButtonText&&(c.innerHTML=s.escapeHtml(e.confirmButtonText)),e.confirmButtonColor&&(c.style.backgroundColor=e.confirmButtonColor,c.style.borderLeftColor=e.confirmLoadingButtonColor,c.style.borderRightColor=e.confirmLoadingButtonColor,o.setFocusStyle(c,e.confirmButtonColor)),t.setAttribute("data-allow-outside-click",e.allowOutsideClick);var y=!!e.doneFunction;t.setAttribute("data-has-done-function",y),e.animation?"string"==typeof e.animation?t.setAttribute("data-animation",e.animation):t.setAttribute("data-animation","pop"):t.setAttribute("data-animation","none"),t.setAttribute("data-timer",e.timer)};a["default"]=d,t.exports=a["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(t,n,a){Object.defineProperty(a,"__esModule",{value:!0});var i=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},o=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?parseInt(t[1],16)+", "+parseInt(t[2],16)+", "+parseInt(t[3],16):null},s=function(){return e.attachEvent&&!e.addEventListener},r=function(t){e.console&&e.console.log("SweetAlert: "+t)},d=function(e,t){e=String(e).replace(/[^0-9a-f]/gi,""),e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;var n,a,i="#";for(a=0;3>a;a++)n=parseInt(e.substr(2*a,2),16),n=Math.round(Math.min(Math.max(0,n+n*t),255)).toString(16),i+=("00"+n).substr(n.length);return i};a.extend=i,a.hexToRgb=o,a.isIE8=s,a.logStr=r,a.colorLuminance=d},{}]},{},[1]),"function"==typeof define&&define.amd?define(function(){return sweetAlert}):"undefined"!=typeof module&&module.exports&&(module.exports=sweetAlert)}(window,document),function(){"use strict";function e(e){return e.split("").reverse().join("")}function t(e,t){return e.substring(0,t.length)===t}function n(e,t){return e.slice(-1*t.length)===t}function a(e,t,n){if((e[t]||e[n])&&e[t]===e[n])throw new Error(t)}function i(e){return"number"==typeof e&&isFinite(e)}function o(e,t){var n=Math.pow(10,t);return(Math.round(e*n)/n).toFixed(t)}function s(t,n,a,s,r,d,l,c,h,u,m,p){var f,g,v,b=p,y="",w="";return d&&(p=d(p)),!!i(p)&&(t!==!1&&0===parseFloat(p.toFixed(t))&&(p=0),p<0&&(f=!0,p=Math.abs(p)),t!==!1&&(p=o(p,t)),p=p.toString(),p.indexOf(".")!==-1?(g=p.split("."),v=g[0],a&&(y=a+g[1])):v=p,n&&(v=e(v).match(/.{1,3}/g),v=e(v.join(e(n)))),f&&c&&(w+=c),s&&(w+=s),f&&h&&(w+=h),w+=v,w+=y,r&&(w+=r),u&&(w=u(w,b)),w)}function r(e,a,o,s,r,d,l,c,h,u,m,p){var f,g="";return m&&(p=m(p)),!(!p||"string"!=typeof p)&&(c&&t(p,c)&&(p=p.replace(c,""),f=!0),s&&t(p,s)&&(p=p.replace(s,"")),h&&t(p,h)&&(p=p.replace(h,""),f=!0),r&&n(p,r)&&(p=p.slice(0,-1*r.length)),a&&(p=p.split(a).join("")),o&&(p=p.replace(o,".")),f&&(g+="-"),g+=p,g=g.replace(/[^0-9\.\-.]/g,""),""!==g&&(g=Number(g),l&&(g=l(g)),!!i(g)&&g))}function d(e){var t,n,i,o={};for(t=0;t<h.length;t+=1)if(n=h[t],i=e[n],void 0===i)"negative"!==n||o.negativeBefore?"mark"===n&&"."!==o.thousand?o[n]=".":o[n]=!1:o[n]="-";else if("decimals"===n){if(!(i>=0&&i<8))throw new Error(n);o[n]=i}else if("encoder"===n||"decoder"===n||"edit"===n||"undo"===n){if("function"!=typeof i)throw new Error(n);o[n]=i}else{if("string"!=typeof i)throw new Error(n);o[n]=i}return a(o,"mark","thousand"),a(o,"prefix","negative"),a(o,"prefix","negativeBefore"),o}function l(e,t,n){var a,i=[];for(a=0;a<h.length;a+=1)i.push(e[h[a]]);return i.push(n),t.apply("",i)}function c(e){return this instanceof c?void("object"==typeof e&&(e=d(e),this.to=function(t){return l(e,s,t)},this.from=function(t){return l(e,r,t)})):new c(e)}var h=["decimals","thousand","mark","prefix","postfix","encoder","decoder","negativeBefore","negative","edit","undo"];window.wNumb=c}(),/*! nouislider - 8.3.0 - 2016-02-14 17:37:19 */
!function(e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():window.noUiSlider=e()}(function(){"use strict";function e(e){return e.filter(function(e){return!this[e]&&(this[e]=!0)},{})}function t(e,t){return Math.round(e/t)*t}function n(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,a=n.documentElement,i=u();return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(i.x=0),{top:t.top+i.y-a.clientTop,left:t.left+i.x-a.clientLeft}}function a(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function i(e){var t=Math.pow(10,7);return Number((Math.round(e*t)/t).toFixed(7))}function o(e,t,n){l(e,t),setTimeout(function(){c(e,t)},n)}function s(e){return Math.max(Math.min(e,100),0)}function r(e){return Array.isArray(e)?e:[e]}function d(e){var t=e.split(".");return t.length>1?t[1].length:0}function l(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function c(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function h(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)}function u(){var e=void 0!==window.pageXOffset,t="CSS1Compat"===(document.compatMode||""),n=e?window.pageXOffset:t?document.documentElement.scrollLeft:document.body.scrollLeft,a=e?window.pageYOffset:t?document.documentElement.scrollTop:document.body.scrollTop;return{x:n,y:a}}function m(e){e.stopPropagation()}function p(e){return function(t){return e+t}}function f(e,t){return 100/(t-e)}function g(e,t){return 100*t/(e[1]-e[0])}function v(e,t){return g(e,e[0]<0?t+Math.abs(e[0]):t-e[0])}function b(e,t){return t*(e[1]-e[0])/100+e[0]}function y(e,t){for(var n=1;e>=t[n];)n+=1;return n}function w(e,t,n){if(n>=e.slice(-1)[0])return 100;var a,i,o,s,r=y(n,e);return a=e[r-1],i=e[r],o=t[r-1],s=t[r],o+v([a,i],n)/f(o,s)}function S(e,t,n){if(n>=100)return e.slice(-1)[0];var a,i,o,s,r=y(n,t);return a=e[r-1],i=e[r],o=t[r-1],s=t[r],b([a,i],(n-o)*f(o,s))}function k(e,n,a,i){if(100===i)return i;var o,s,r=y(i,e);return a?(o=e[r-1],s=e[r],i-o>(s-o)/2?s:o):n[r-1]?e[r-1]+t(i-e[r-1],n[r-1]):i}function A(e,t,n){var i;if("number"==typeof t&&(t=[t]),"[object Array]"!==Object.prototype.toString.call(t))throw new Error("noUiSlider: 'range' contains invalid value.");if(i="min"===e?0:"max"===e?100:parseFloat(e),!a(i)||!a(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");n.xPct.push(i),n.xVal.push(t[0]),i?n.xSteps.push(!isNaN(t[1])&&t[1]):isNaN(t[1])||(n.xSteps[0]=t[1])}function C(e,t,n){return!t||void(n.xSteps[e]=g([n.xVal[e],n.xVal[e+1]],t)/f(n.xPct[e],n.xPct[e+1]))}function x(e,t,n,a){this.xPct=[],this.xVal=[],this.xSteps=[a||!1],this.xNumSteps=[!1],this.snap=t,this.direction=n;var i,o=[];for(i in e)e.hasOwnProperty(i)&&o.push([e[i],i]);for(o.length&&"object"==typeof o[0][0]?o.sort(function(e,t){return e[0][0]-t[0][0]}):o.sort(function(e,t){return e[0]-t[0]}),i=0;i<o.length;i++)A(o[i][1],o[i][0],this);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)C(i,this.xNumSteps[i],this)}function T(e,t){if(!a(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function M(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");if(t.min===t.max)throw new Error("noUiSlider: 'range' 'min' and 'max' cannot be equal.");e.spectrum=new x(t,e.snap,e.dir,e.singleStep)}function E(e,t){if(t=r(t),!Array.isArray(t)||!t.length||t.length>2)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function P(e,t){if(e.snap=t,"boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.")}function B(e,t){if(e.animate=t,"boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.")}function N(e,t){if("lower"===t&&1===e.handles)e.connect=1;else if("upper"===t&&1===e.handles)e.connect=2;else if(t===!0&&2===e.handles)e.connect=3;else{if(t!==!1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");e.connect=0}}function L(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function _(e,t){if(!a(t))throw new Error("noUiSlider: 'margin' option must be numeric.");if(0!==t&&(e.margin=e.spectrum.getMargin(t),!e.margin))throw new Error("noUiSlider: 'margin' option is only supported on linear sliders.")}function I(e,t){if(!a(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(t),!e.limit)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders.")}function D(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1,e.connect=[0,2,1,3][e.connect];break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function $(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,a=t.indexOf("drag")>=0,i=t.indexOf("fixed")>=0,o=t.indexOf("snap")>=0,s=t.indexOf("hover")>=0;if(a&&!e.connect)throw new Error("noUiSlider: 'drag' behaviour must be used with 'connect': true.");e.events={tap:n||o,drag:a,fixed:i,snap:o,hover:s}}function R(e,t){var n;if(t!==!1)if(t===!0)for(e.tooltips=[],n=0;n<e.handles;n++)e.tooltips.push(!0);else{if(e.tooltips=r(t),e.tooltips.length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");e.tooltips.forEach(function(e){if("boolean"!=typeof e&&("object"!=typeof e||"function"!=typeof e.to))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")})}}function O(e,t){if(e.format=t,"function"==typeof t.to&&"function"==typeof t.from)return!0;throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.")}function H(e,t){if(void 0!==t&&"string"!=typeof t)throw new Error("noUiSlider: 'cssPrefix' must be a string.");e.cssPrefix=t}function z(e){var t,n={margin:0,limit:0,animate:!0,format:j};t={step:{r:!1,t:T},start:{r:!0,t:E},connect:{r:!0,t:N},direction:{r:!0,t:D},snap:{r:!1,t:P},animate:{r:!1,t:B},range:{r:!0,t:M},orientation:{r:!1,t:L},margin:{r:!1,t:_},limit:{r:!1,t:I},behaviour:{r:!0,t:$},format:{r:!1,t:O},tooltips:{r:!1,t:R},cssPrefix:{r:!1,t:H}};var a={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"};return Object.keys(t).forEach(function(i){if(void 0===e[i]&&void 0===a[i]){if(t[i].r)throw new Error("noUiSlider: '"+i+"' is required.");return!0}t[i].t(n,void 0===e[i]?a[i]:e[i])}),n.pips=e.pips,n.style=n.ort?"top":"left",n}function K(t,a){function i(e,t,n){var a=e+t[0],i=e+t[1];return n?(0>a&&(i+=Math.abs(a)),i>100&&(a-=i-100),[s(a),s(i)]):[a,i]}function f(e,t){e.preventDefault();var n,a,i=0===e.type.indexOf("touch"),o=0===e.type.indexOf("mouse"),s=0===e.type.indexOf("pointer"),r=e;return 0===e.type.indexOf("MSPointer")&&(s=!0),i&&(n=e.changedTouches[0].pageX,a=e.changedTouches[0].pageY),t=t||u(),(o||s)&&(n=e.clientX+t.x,a=e.clientY+t.y),r.pageOffset=t,r.points=[n,a],r.cursor=o||s,r}function g(e,t){var n=document.createElement("div"),a=document.createElement("div"),i=["-lower","-upper"];return e&&i.reverse(),l(a,ae[3]),l(a,ae[3]+i[t]),l(n,ae[2]),n.appendChild(a),n}function v(e,t,n){switch(e){case 1:l(t,ae[7]),l(n[0],ae[6]);break;case 3:l(n[1],ae[6]);case 2:l(n[0],ae[7]);case 0:l(t,ae[6])}}function b(e,t,n){var a,i=[];for(a=0;e>a;a+=1)i.push(n.appendChild(g(t,a)));return i}function y(e,t,n){l(n,ae[0]),l(n,ae[8+e]),l(n,ae[4+t]);var a=document.createElement("div");return l(a,ae[1]),n.appendChild(a),a}function w(e,t){if(!a.tooltips[t])return!1;var n=document.createElement("div");return n.className=ae[18],e.firstChild.appendChild(n)}function S(){a.dir&&a.tooltips.reverse();var e=J.map(w);a.dir&&(e.reverse(),a.tooltips.reverse()),V("update",function(t,n,i){e[n]&&(e[n].innerHTML=a.tooltips[n]===!0?t[n]:a.tooltips[n].to(i[n]))})}function k(e,t,n){if("range"===e||"steps"===e)return ee.xVal;if("count"===e){var a,i=100/(t-1),o=0;for(t=[];(a=o++*i)<=100;)t.push(a);e="positions"}return"positions"===e?t.map(function(e){return ee.fromStepping(n?ee.getStep(e):e)}):"values"===e?n?t.map(function(e){return ee.fromStepping(ee.getStep(ee.toStepping(e)))}):t:void 0}function A(t,n,a){function i(e,t){return(e+t).toFixed(7)/1}var o=ee.direction,s={},r=ee.xVal[0],d=ee.xVal[ee.xVal.length-1],l=!1,c=!1,h=0;return ee.direction=0,a=e(a.slice().sort(function(e,t){return e-t})),a[0]!==r&&(a.unshift(r),l=!0),a[a.length-1]!==d&&(a.push(d),c=!0),a.forEach(function(e,o){var r,d,u,m,p,f,g,v,b,y,w=e,S=a[o+1];if("steps"===n&&(r=ee.xNumSteps[o]),r||(r=S-w),w!==!1&&void 0!==S)for(d=w;S>=d;d=i(d,r)){for(m=ee.toStepping(d),p=m-h,v=p/t,b=Math.round(v),y=p/b,u=1;b>=u;u+=1)f=h+u*y,s[f.toFixed(5)]=["x",0];g=a.indexOf(d)>-1?1:"steps"===n?2:0,!o&&l&&(g=0),d===S&&c||(s[m.toFixed(5)]=[d,g]),h=m}}),ee.direction=o,s}function C(e,t,n){function i(e){return["-normal","-large","-sub"][e]}function o(e,t,n){return'class="'+t+" "+t+"-"+r+" "+t+i(n[1])+'" style="'+a.style+": "+e+'%"'}function s(e,a){ee.direction&&(e=100-e),a[1]=a[1]&&t?t(a[0],a[1]):a[1],c+="<div "+o(e,ae[21],a)+"></div>",a[1]&&(c+="<div "+o(e,ae[22],a)+">"+n.to(a[0])+"</div>")}var r=["horizontal","vertical"][a.ort],d=document.createElement("div"),c="";return l(d,ae[20]),l(d,ae[20]+"-"+r),Object.keys(e).forEach(function(t){s(t,e[t])}),d.innerHTML=c,d}function x(e){var t=e.mode,n=e.density||1,a=e.filter||!1,i=e.values||!1,o=e.stepped||!1,s=k(t,i,o),r=A(n,t,s),d=e.format||{to:Math.round};return X.appendChild(C(r,a,d))}function T(){var e=q.getBoundingClientRect(),t="offset"+["Width","Height"][a.ort];return 0===a.ort?e.width||q[t]:e.height||q[t]}function M(e,t,n){void 0!==t&&1!==a.handles&&(t=Math.abs(t-a.dir)),Object.keys(ne).forEach(function(a){var i=a.split(".")[0];e===i&&ne[a].forEach(function(e){e.call(Z,r(K()),t,r(E(Array.prototype.slice.call(te))),n||!1,Q)})})}function E(e){return 1===e.length?e[0]:a.dir?e.reverse():e}function P(e,t,n,i){var o=function(t){return!X.hasAttribute("disabled")&&(!h(X,ae[14])&&(t=f(t,i.pageOffset),!(e===G.start&&void 0!==t.buttons&&t.buttons>1)&&((!i.hover||!t.buttons)&&(t.calcPoint=t.points[a.ort],void n(t,i)))))},s=[];return e.split(" ").forEach(function(e){t.addEventListener(e,o,!1),s.push([e,o])}),s}function B(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return N(e,t);var n,a,o=t.handles||J,s=!1,r=100*(e.calcPoint-t.start)/t.baseSize,d=o[0]===J[0]?0:1;if(n=i(r,t.positions,o.length>1),s=R(o[0],n[d],1===o.length),o.length>1){if(s=R(o[1],n[d?0:1],!1)||s)for(a=0;a<t.handles.length;a++)M("slide",a)}else s&&M("slide",d)}function N(e,t){var n=q.querySelector("."+ae[15]),a=t.handles[0]===J[0]?0:1;null!==n&&c(n,ae[15]),e.cursor&&(document.body.style.cursor="",document.body.removeEventListener("selectstart",document.body.noUiListener));var i=document.documentElement;i.noUiListeners.forEach(function(e){i.removeEventListener(e[0],e[1])}),c(X,ae[12]),M("set",a),M("change",a),void 0!==t.handleNumber&&M("end",t.handleNumber)}function L(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&N(e,t)}function _(e,t){var n=document.documentElement;if(1===t.handles.length&&(l(t.handles[0].children[0],ae[15]),t.handles[0].hasAttribute("disabled")))return!1;e.preventDefault(),e.stopPropagation();var a=P(G.move,n,B,{start:e.calcPoint,baseSize:T(),pageOffset:e.pageOffset,handles:t.handles,handleNumber:t.handleNumber,buttonsProperty:e.buttons,positions:[Q[0],Q[J.length-1]]}),i=P(G.end,n,N,{handles:t.handles,handleNumber:t.handleNumber}),o=P("mouseout",n,L,{handles:t.handles,handleNumber:t.handleNumber});if(n.noUiListeners=a.concat(i,o),e.cursor){document.body.style.cursor=getComputedStyle(e.target).cursor,J.length>1&&l(X,ae[12]);var s=function(){return!1};document.body.noUiListener=s,document.body.addEventListener("selectstart",s,!1)}void 0!==t.handleNumber&&M("start",t.handleNumber)}function I(e){var t,i,s=e.calcPoint,r=0;return e.stopPropagation(),J.forEach(function(e){r+=n(e)[a.style]}),t=r/2>s||1===J.length?0:1,J[t].hasAttribute("disabled")&&(t=t?0:1),s-=n(q)[a.style],i=100*s/T(),a.events.snap||o(X,ae[14],300),!J[t].hasAttribute("disabled")&&(R(J[t],i),M("slide",t,!0),M("set",t,!0),M("change",t,!0),void(a.events.snap&&_(e,{handles:[J[t]]})))}function D(e){var t=e.calcPoint-n(q)[a.style],i=ee.getStep(100*t/T()),o=ee.fromStepping(i);Object.keys(ne).forEach(function(e){"hover"===e.split(".")[0]&&ne[e].forEach(function(e){e.call(Z,o)})})}function $(e){var t,n;if(!e.fixed)for(t=0;t<J.length;t+=1)P(G.start,J[t].children[0],_,{handles:[J[t]],handleNumber:t});if(e.tap&&P(G.start,q,I,{handles:J}),e.hover)for(P(G.move,q,D,{hover:!0}),t=0;t<J.length;t+=1)["mousemove MSPointerMove pointermove"].forEach(function(e){J[t].children[0].addEventListener(e,m,!1)});e.drag&&(n=[q.querySelector("."+ae[7])],l(n[0],ae[10]),e.fixed&&n.push(J[n[0]===J[0]?1:0].children[0]),n.forEach(function(e){P(G.start,e,_,{handles:J})}))}function R(e,t,n){var i=e!==J[0]?1:0,o=Q[0]+a.margin,r=Q[1]-a.margin,d=Q[0]+a.limit,h=Q[1]-a.limit;return J.length>1&&(t=i?Math.max(t,o):Math.min(t,r)),n!==!1&&a.limit&&J.length>1&&(t=i?Math.min(t,d):Math.max(t,h)),t=ee.getStep(t),t=s(parseFloat(t.toFixed(7))),t!==Q[i]&&(window.requestAnimationFrame?window.requestAnimationFrame(function(){e.style[a.style]=t+"%"}):e.style[a.style]=t+"%",e.previousSibling||(c(e,ae[17]),t>50&&l(e,ae[17])),Q[i]=t,te[i]=ee.fromStepping(t),M("update",i),!0)}function O(e,t){var n,i,o;for(a.limit&&(e+=1),n=0;e>n;n+=1)i=n%2,o=t[i],null!==o&&o!==!1&&("number"==typeof o&&(o=String(o)),o=a.format.from(o),(o===!1||isNaN(o)||R(J[i],ee.toStepping(o),n===3-a.dir)===!1)&&M("update",i))}function H(e){var t,n,i=r(e);for(a.dir&&a.handles>1&&i.reverse(),a.animate&&-1!==Q[0]&&o(X,ae[14],300),t=J.length>1?3:1,1===i.length&&(t=1),O(t,i),n=0;n<J.length;n++)null!==i[n]&&M("set",n)}function K(){var e,t=[];for(e=0;e<a.handles;e+=1)t[e]=a.format.to(te[e]);return E(t)}function F(){for(ae.forEach(function(e){e&&c(X,e)});X.firstChild;)X.removeChild(X.firstChild);delete X.noUiSlider}function j(){var e=Q.map(function(e,t){var n=ee.getApplicableStep(e),a=d(String(n[2])),i=te[t],o=100===e?null:n[2],s=Number((i-n[2]).toFixed(a)),r=0===e?null:s>=n[1]?n[2]:n[0]||!1;return[r,o]});return E(e)}function V(e,t){ne[e]=ne[e]||[],ne[e].push(t),"update"===e.split(".")[0]&&J.forEach(function(e,t){M("update",t)})}function W(e){var t=e.split(".")[0],n=e.substring(t.length);Object.keys(ne).forEach(function(e){var a=e.split(".")[0],i=e.substring(a.length);t&&t!==a||n&&n!==i||delete ne[e]})}function Y(e){var t,n=K(),i=z({start:[0,0],margin:e.margin,limit:e.limit,step:e.step,range:e.range,animate:e.animate,snap:void 0===e.snap?a.snap:e.snap});for(["margin","limit","step","range","animate"].forEach(function(t){void 0!==e[t]&&(a[t]=e[t])}),i.spectrum.direction=ee.direction,ee=i.spectrum,Q=[-1,-1],H(n),t=0;t<J.length;t++)M("update",t)}var q,J,Z,X=t,Q=[-1,-1],ee=a.spectrum,te=[],ne={},ae=["target","base","origin","handle","horizontal","vertical","background","connect","ltr","rtl","draggable","","state-drag","","state-tap","active","","stacking","tooltip","","pips","marker","value"].map(p(a.cssPrefix||U));if(X.noUiSlider)throw new Error("Slider was already initialized.");return q=y(a.dir,a.ort,X),J=b(a.handles,a.dir,q),v(a.connect,X,J),a.pips&&x(a.pips),a.tooltips&&S(),Z={destroy:F,steps:j,on:V,off:W,get:K,set:H,updateOptions:Y,options:a,target:X,pips:x},$(a.events),Z}function F(e,t){if(!e.nodeName)throw new Error("noUiSlider.create requires a single element.");var n=z(t,e),a=K(e,n);return a.set(n.start),e.noUiSlider=a,a}var G=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},U="noUi-";x.prototype.getMargin=function(e){return 2===this.xPct.length&&g(this.xVal,e)},x.prototype.toStepping=function(e){return e=w(this.xVal,this.xPct,e),this.direction&&(e=100-e),e},x.prototype.fromStepping=function(e){return this.direction&&(e=100-e),i(S(this.xVal,this.xPct,e))},x.prototype.getStep=function(e){return this.direction&&(e=100-e),e=k(this.xPct,this.xSteps,this.snap,e),this.direction&&(e=100-e),e},x.prototype.getApplicableStep=function(e){var t=y(e,this.xPct),n=100===e?2:1;return[this.xNumSteps[t-2],this.xVal[t-n],this.xNumSteps[t-n]]},x.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var j={to:function(e){return void 0!==e&&e.toFixed(2)},from:Number};return{create:F}}),!function(e,t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):e.Tipped=t(jQuery)}(this,function($){function degrees(e){return 180*e/Math.PI}function radian(e){return e*Math.PI/180}function sec(e){return 1/Math.cos(e)}function sfcc(e){return String.fromCharCode.apply(String,e.replace(" ","").split(","))}function deepExtend(e,t){for(var n in t)t[n]&&t[n].constructor&&t[n].constructor===Object?(e[n]=$.extend({},e[n])||{},deepExtend(e[n],t[n])):e[n]=t[n];return e}function Spin(){return this.initialize.apply(this,_slice.call(arguments))}function Visible(){return this.initialize.apply(this,_slice.call(arguments))}function Skin(){this.initialize.apply(this,_slice.call(arguments))}function Stem(){this.initialize.apply(this,_slice.call(arguments))}function Tooltip(){this.initialize.apply(this,_slice.call(arguments))}function Collection(e){this.element=e}var Tipped={};$.extend(Tipped,{version:"4.5.5"}),Tipped.Skins={base:{afterUpdate:!1,ajax:{},cache:!0,container:!1,containment:{selector:"viewport",padding:5},close:!1,detach:!0,fadeIn:200,fadeOut:200,showDelay:75,hideDelay:25,hideAfter:!1,hideOn:{element:"mouseleave"},hideOthers:!1,position:"top",inline:!1,offset:{x:0,y:0},onHide:!1,onShow:!1,padding:!0,radius:!0,shadow:!0,showOn:{element:"mousemove"},size:"medium",spinner:!0,stem:!0,target:"element",voila:!0},reset:{ajax:!1,hideOn:{element:"mouseleave",tooltip:"mouseleave"},showOn:{element:"mouseenter",tooltip:"mouseenter"}}},$.each("dark light gray red green blue lightyellow lightblue lightpink".split(" "),function(e,t){Tipped.Skins[t]={}});var Browser=function(e){function t(t){var n=new RegExp(t+"([\\d.]+)").exec(e);return!n||parseFloat(n[1])}return{IE:!(!window.attachEvent||-1!==e.indexOf("Opera"))&&t("MSIE "),Opera:e.indexOf("Opera")>-1&&(!!window.opera&&opera.version&&parseFloat(opera.version())||7.55),WebKit:e.indexOf("AppleWebKit/")>-1&&t("AppleWebKit/"),Gecko:e.indexOf("Gecko")>-1&&-1===e.indexOf("KHTML")&&t("rv:"),MobileSafari:!!e.match(/Apple.*Mobile.*Safari/),Chrome:e.indexOf("Chrome")>-1&&t("Chrome/"),ChromeMobile:e.indexOf("CrMo")>-1&&t("CrMo/"),Android:e.indexOf("Android")>-1&&t("Android "),IEMobile:e.indexOf("IEMobile")>-1&&t("IEMobile/")}}(navigator.userAgent),Support=function(){function e(e){return n(e,"prefix")}function t(e,t){for(var n in e)if(void 0!==a.style[e[n]])return"prefix"!=t||e[n];return!1}function n(e,n){var a=e.charAt(0).toUpperCase()+e.substr(1),o=(e+" "+i.join(a+" ")+a).split(" ");return t(o,n)}var a=document.createElement("div"),i="Webkit Moz O ms Khtml".split(" ");return{css:{animation:n("animation"),transform:n("transform"),prefixed:e},shadow:n("boxShadow")&&n("pointerEvents"),touch:function(){try{return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}catch(e){return!1}}()}}(),_slice=Array.prototype.slice,_={wrap:function(e,t){var n=e;return function(){var e=[$.proxy(n,this)].concat(_slice.call(arguments));return t.apply(this,e)}},isElement:function(e){return e&&1==e.nodeType},isText:function(e){return e&&3==e.nodeType},isDocumentFragment:function(e){return e&&11==e.nodeType},delay:function(e,t){var n=_slice.call(arguments,2);return setTimeout(function(){return e.apply(e,n)},t)},defer:function(e){return _.delay.apply(this,[e,1].concat(_slice.call(arguments,1)))},pointer:function(e){return{x:e.pageX,y:e.pageY}},element:{isAttached:function(){function e(e){for(var t=e;t&&t.parentNode;)t=t.parentNode;return t}return function(t){var n=e(t);return!(!n||!n.body)}}()}},getUID=function(){var e=0,t="_tipped-uid-";return function(n){for(n=n||t,e++;document.getElementById(n+e);)e++;return n+e}}(),Position={positions:["topleft","topmiddle","topright","righttop","rightmiddle","rightbottom","bottomright","bottommiddle","bottomleft","leftbottom","leftmiddle","lefttop"],regex:{toOrientation:/^(top|left|bottom|right)(top|left|bottom|right|middle|center)$/,horizontal:/^(top|bottom)/,isCenter:/(middle|center)/,side:/^(top|bottom|left|right)/},toDimension:function(){var e={top:"height",left:"width",bottom:"height",right:"width"};return function(t){return e[t]}}(),isCenter:function(e){return!!e.toLowerCase().match(this.regex.isCenter)},isCorner:function(e){return!this.isCenter(e)},getOrientation:function(e){return e.toLowerCase().match(this.regex.horizontal)?"horizontal":"vertical"},getSide:function(e){var t=null,n=e.toLowerCase().match(this.regex.side);return n&&n[1]&&(t=n[1]),t},split:function(e){return e.toLowerCase().match(this.regex.toOrientation)},_flip:{top:"bottom",bottom:"top",left:"right",right:"left"},flip:function(e,t){var n=this.split(e);return t?this.inverseCornerPlane(this.flip(this.inverseCornerPlane(e))):this._flip[n[1]]+n[2]},inverseCornerPlane:function(e){if(Position.isCorner(e)){var t=this.split(e);return t[2]+t[1]}return e},adjustOffsetBasedOnPosition:function(e,t,n){var a=$.extend({},e),i={horizontal:"x",vertical:"y"},o={x:"y",y:"x"},s={top:{right:"x"},bottom:{left:"x"},left:{bottom:"y"},right:{top:"y"}},r=Position.getOrientation(t);if(r==Position.getOrientation(n)){if(Position.getSide(t)!=Position.getSide(n)){var d=o[i[r]];a[d]*=-1}}else{var l=a.x;a.x=a.y,a.y=l;var c=s[Position.getSide(t)][Position.getSide(n)];c&&(a[c]*=-1),a[i[Position.getOrientation(n)]]=0}return a},getBoxFromPoints:function(e,t,n,a){var i=Math.min(e,n),o=Math.max(e,n),s=Math.min(t,a),r=Math.max(t,a);return{left:i,top:s,width:Math.max(o-i,0),height:Math.max(r-s,0)}},isPointWithinBox:function(e,t,n,a,i,o){var s=this.getBoxFromPoints(n,a,i,o);return e>=s.left&&e<=s.left+s.width&&t>=s.top&&t<=s.top+s.height},isPointWithinBoxLayout:function(e,t,n){return this.isPointWithinBox(e,t,n.position.left,n.position.top,n.position.left+n.dimensions.width,n.position.top+n.dimensions.height)},getDistance:function(e,t,n,a){return Math.sqrt(Math.pow(Math.abs(n-e),2)+Math.pow(Math.abs(a-t),2))},intersectsLine:function(){var e=function(e,t,n,a,i,o){var s=(o-t)*(n-e)-(a-t)*(i-e);return s>0||!(0>s)};return function(t,n,a,i,o,s,r,d,l){if(!l)return e(t,n,o,s,r,d)!=e(a,i,o,s,r,d)&&e(t,n,a,i,o,s)!=e(t,n,a,i,r,d);var c,h,u,m;c=a-t,h=i-n,u=r-o,m=d-s;var p,f;if(p=(-h*(t-o)+c*(n-s))/(-u*h+c*m),f=(u*(n-s)-m*(t-o))/(-u*h+c*m),p>=0&&1>=p&&f>=0&&1>=f){var g=t+f*c,v=n+f*h;return{x:g,y:v}}return!1}}()},Bounds={viewport:function(){var e;return e=Browser.MobileSafari||Browser.Android&&Browser.Gecko?{width:window.innerWidth,height:window.innerHeight}:{height:$(window).height(),width:$(window).width()}}},Mouse={_buffer:{pageX:0,pageY:0},_dimensions:{width:30,height:30},_shift:{x:2,y:10},getPosition:function(e){var t=this.getActualPosition(e);return{left:t.left-Math.round(.5*this._dimensions.width)+this._shift.x,top:t.top-Math.round(.5*this._dimensions.height)+this._shift.y}},getActualPosition:function(e){var t=e&&"number"==$.type(e.pageX)?e:this._buffer;return{left:t.pageX,top:t.pageY}},getDimensions:function(){return this._dimensions}},Color=function(){function e(e){return("0"+parseInt(e).toString(16)).slice(-2)}function t(t){return t=t.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+))?\)$/),"#"+e(t[1])+e(t[2])+e(t[3])}var n={_default:"#000000",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"};return{toRGB:function(e){if(/^rgba?\(/.test(e))return t(e);n[e]&&(e=n[e]);var a=e.replace("#","");return/^(?:[0-9a-fA-F]{3}){1,2}$/.test(a)||n._default,3==a.length&&(a=a.charAt(0)+a.charAt(0)+a.charAt(1)+a.charAt(1)+a.charAt(2)+a.charAt(2)),"#"+a}}}();Spin.supported=Support.css.transform&&Support.css.animation,$.extend(Spin.prototype,{initialize:function(){this.options=$.extend({},arguments[0]||{}),this.build(),this.start()},build:function(){var e=2*(this.options.length+this.options.radius),t={height:e,width:e};this.element=$("<div>").addClass("tpd-spin").css(t),this.element.append(this._rotate=$("<div>").addClass("tpd-spin-rotate")),this.element.css({"margin-left":-.5*t.width,"margin-top":-.5*t.height});for(var n=this.options.lines,a=0;n>a;a++){var i,o;this._rotate.append(i=$("<div>").addClass("tpd-spin-frame").append(o=$("<div>").addClass("tpd-spin-line"))),o.css({"background-color":this.options.color,width:this.options.width,height:this.options.length,"margin-left":-.5*this.options.width,"border-radius":Math.round(.5*this.options.width)}),i.css({opacity:(1/n*(a+1)).toFixed(2)});var s={};s[Support.css.prefixed("transform")]="rotate("+360/n*(a+1)+"deg)",i.css(s)}},start:function(){var e={};e[Support.css.prefixed("animation")]="tpd-spin 1s infinite steps("+this.options.lines+")",this._rotate.css(e)},stop:function(){var e={};e[Support.css.prefixed("animation")]="none",this._rotate.css(e),this.element.detach()}}),$.extend(Visible.prototype,{initialize:function(e){return e="array"==$.type(e)?e:[e],this.elements=e,this._restore=[],$.each(e,$.proxy(function(e,t){var n=$(t).is(":visible");n||$(t).show(),this._restore.push({element:t,visible:n})},this)),this},restore:function(){$.each(this._restore,function(e,t){t.visible||$(t.element).show()}),this._restore=null}});var AjaxCache=function(){var e=[];return{get:function(t){for(var n=null,a=0;a<e.length;a++)e[a]&&e[a].url==t.url&&(e[a].type||"GET").toUpperCase()==(t.type||"GET").toUpperCase()&&$.param(e[a].data||{})==$.param(t.data||{})&&(n=e[a]);return n},set:function(t,n,a){var i=this.get(t);i||(i=$.extend({callbacks:{}},t),e.push(i)),i.callbacks[n]=a},remove:function(t){for(var n=0;n<e.length;n++)e[n]&&e[n].url==t&&delete e[n]},clear:function(){e=[]}}}(),Voila=function(e){function t(n,a,i){if(!(this instanceof t))return new t(n,a,i);var o=e.type(arguments[1]),s="object"===o?arguments[1]:{},r="function"===o?arguments[1]:"function"===e.type(arguments[2])&&arguments[2];return this.options=e.extend({method:"onload"},s),this.deferred=new jQuery.Deferred,r&&this.always(r),this._processed=0,this.images=[],this._add(n),this}e.extend(t.prototype,{_add:function(t){var a="string"==e.type(t)?e(t):t instanceof jQuery||t.length>0?t:[t];e.each(a,e.proxy(function(t,a){var i=e(),o=e(a);i=o.is("img")?i.add(o):i.add(o.find("img")),i.each(e.proxy(function(t,a){this.images.push(new n(a,e.proxy(function(e){this._progress(e)},this),e.proxy(function(e){this._progress(e)},this),this.options))},this))},this)),this.images.length<1&&setTimeout(e.proxy(function(){this._resolve()},this))},abort:function(){this._progress=this._notify=this._reject=this._resolve=function(){},e.each(this.images,function(e,t){t.abort()}),this.images=[]},_progress:function(e){this._processed++,e.isLoaded||(this._broken=!0),this._notify(e),this._processed==this.images.length&&this[this._broken?"_reject":"_resolve"]()},_notify:function(e){this.deferred.notify(this,e)},_reject:function(){this.deferred.reject(this)},_resolve:function(){this.deferred.resolve(this)},always:function(e){return this.deferred.always(e),this},done:function(e){return this.deferred.done(e),this},fail:function(e){return this.deferred.fail(e),this},progress:function(e){return this.deferred.progress(e),this}});var n=function(e){var t=function(){return this.initialize.apply(this,Array.prototype.slice.call(arguments))};e.extend(t.prototype,{initialize:function(){this.options=e.extend({test:function(){},success:function(){},timeout:function(){},callAt:!1,intervals:[[0,0],[1e3,10],[2e3,50],[4e3,100],[2e4,500]]},arguments[0]||{}),this._test=this.options.test,this._success=this.options.success,this._timeout=this.options.timeout,this._ipos=0,this._time=0,this._delay=this.options.intervals[this._ipos][1],this._callTimeouts=[],this.poll(),this._createCallsAt()},poll:function(){this._polling=setTimeout(e.proxy(function(){if(this._test())return void this.success();if(this._time+=this._delay,this._time>=this.options.intervals[this._ipos][0]){if(!this.options.intervals[this._ipos+1])return void("function"==e.type(this._timeout)&&this._timeout());this._ipos++,this._delay=this.options.intervals[this._ipos][1]}this.poll()},this),this._delay)},success:function(){this.abort(),this._success()},_createCallsAt:function(){this.options.callAt&&e.each(this.options.callAt,e.proxy(function(t,n){var a=n[0],i=n[1],o=setTimeout(e.proxy(function(){i()},this),a);this._callTimeouts.push(o)},this))},_stopCallTimeouts:function(){e.each(this._callTimeouts,function(e,t){clearTimeout(t)}),this._callTimeouts=[]},abort:function(){this._stopCallTimeouts(),this._polling&&(clearTimeout(this._polling),this._polling=null)}});var n=function(){return this.initialize.apply(this,Array.prototype.slice.call(arguments))};return e.extend(n.prototype,{supports:{naturalWidth:function(){return"naturalWidth"in new Image}()},initialize:function(t,n,a){return this.img=e(t)[0],this.successCallback=n,this.errorCallback=a,this.isLoaded=!1,this.options=e.extend({method:"onload",pollFallbackAfter:1e3},arguments[3]||{}),"onload"!=this.options.method&&this.supports.naturalWidth?void this.poll():void this.load()},poll:function(){this._poll=new t({test:e.proxy(function(){return this.img.naturalWidth>0},this),success:e.proxy(function(){this.success()},this),timeout:e.proxy(function(){this.error()},this),callAt:[[this.options.pollFallbackAfter,e.proxy(function(){this.load()},this)]]})},load:function(){this._loading=setTimeout(e.proxy(function(){var t=new Image;this._onloadImage=t,t.onload=e.proxy(function(){t.onload=function(){},this.supports.naturalWidth||(this.img.naturalWidth=t.width,this.img.naturalHeight=t.height,t.naturalWidth=t.width,t.naturalHeight=t.height),this.success()},this),t.onerror=e.proxy(this.error,this),t.src=this.img.src},this))},success:function(){this._calledSuccess||(this._calledSuccess=!0,this.abort(),this.waitForRender(e.proxy(function(){this.isLoaded=!0,this.successCallback(this)},this)))},error:function(){this._calledError||(this._calledError=!0,this.abort(),this._errorRenderTimeout=setTimeout(e.proxy(function(){this.errorCallback&&this.errorCallback(this)},this)))},abort:function(){this.stopLoading(),this.stopPolling(),this.stopWaitingForRender()},stopPolling:function(){this._poll&&(this._poll.abort(),this._poll=null)},stopLoading:function(){this._loading&&(clearTimeout(this._loading),this._loading=null),this._onloadImage&&(this._onloadImage.onload=function(){},this._onloadImage.onerror=function(){})},waitForRender:function(e){this._renderTimeout=setTimeout(e)},stopWaitingForRender:function(){this._renderTimeout&&(clearTimeout(this._renderTimeout),this._renderTimeout=null),this._errorRenderTimeout&&(clearTimeout(this._errorRenderTimeout),this._errorRenderTimeout=null)}}),n}(jQuery);return t}(jQuery);Tipped.Behaviors={hide:{showOn:{element:"mouseenter",tooltip:!1},hideOn:{element:"mouseleave",tooltip:"mouseenter"}},mouse:{showOn:{element:"mouseenter",tooltip:!1},hideOn:{element:"mouseleave",tooltip:"mouseenter"},target:"mouse",showDelay:100,fadeIn:0,hideDelay:0,fadeOut:0},sticky:{showOn:{element:"mouseenter",tooltip:"mouseenter"},hideOn:{element:"mouseleave",tooltip:"mouseleave"},showDelay:150,target:"mouse",fixed:!0}};var Options={create:function(){function e(t){return i=Tipped.Skins.base,o=deepExtend($.extend({},i),Tipped.Skins.reset),e=a,a(t)}function t(e){return e.match(/^(top|left|bottom|right)$/)&&(e+="middle"),e.replace("center","middle").replace(" ",""),
e}function n(e){var t,n;return t=e.behavior&&(n=Tipped.Behaviors[e.behavior])?deepExtend($.extend({},n),e):e}function a(e){var a=e.skin?e.skin:Tooltips.options.defaultSkin,s=$.extend({},Tipped.Skins[a]||{});s.skin||(s.skin=Tooltips.options.defaultSkin||"dark");var r=deepExtend($.extend({},o),n(s)),d=deepExtend($.extend({},r),n(e));if(d.ajax){var l=(o.ajax||{},i.ajax);"boolean"==$.type(d.ajax)&&(d.ajax={}),d.ajax=deepExtend($.extend({},l),d.ajax)}var c,h=h=d.position&&d.position.target||"string"==$.type(d.position)&&d.position||o.position&&o.position.target||"string"==$.type(o.position)&&o.position||i.position&&i.position.target||i.position;h=t(h);var u=d.position&&d.position.tooltip||o.position&&o.position.tooltip||i.position&&i.position.tooltip||Tooltips.Position.getInversedPosition(h);if(u=t(u),d.position?"string"==$.type(d.position)?(d.position=t(d.position),c={target:d.position,tooltip:Tooltips.Position.getTooltipPositionFromTarget(d.position)}):(c={tooltip:u,target:h},d.position.tooltip&&(c.tooltip=t(d.position.tooltip)),d.position.target&&(c.target=t(d.position.target))):c={tooltip:u,target:h},Position.isCorner(c.target)&&Position.getOrientation(c.target)!=Position.getOrientation(c.tooltip)&&(c.target=Position.inverseCornerPlane(c.target)),"mouse"==d.target){var m=Position.getOrientation(c.target);c.target="horizontal"==m?c.target.replace(/(left|right)/,"middle"):c.target.replace(/(top|bottom)/,"middle")}d.position=c;var p;if("mouse"==d.target?(p=$.extend({},i.offset),$.extend(p,Tipped.Skins.reset.offset||{}),e.skin&&$.extend(p,(Tipped.Skins[e.skin]||Tipped.Skins[Tooltips.options.defaultSkin]||{}).offset||{}),p=Position.adjustOffsetBasedOnPosition(i.offset,i.position,c.target,!0),e.offset&&(p=$.extend(p,e.offset||{}))):p={x:d.offset.x,y:d.offset.y},d.offset=p,d.hideOn&&"click-outside"==d.hideOn&&(d.hideOnClickOutside=!0,d.hideOn=!1,d.fadeOut=0),d.showOn){var f=d.showOn;"string"==$.type(f)&&(f={element:f}),d.showOn=f}if(d.hideOn){var g=d.hideOn;"string"==$.type(g)&&(g={element:g}),d.hideOn=g}return d.inline&&"string"!=$.type(d.inline)&&(d.inline=!1),Browser.IE&&Browser.IE<9&&$.extend(d,{fadeIn:0,fadeOut:0,hideDelay:0}),d.spinner&&(Spin.supported?"boolean"==$.type(d.spinner)&&(d.spinner=o.spinner||i.spinner||{}):d.spinner=!1),d.container||(d.container=document.body),d.containment&&"string"==$.type(d.containment)&&(d.containment={selector:d.containment,padding:o.containment&&o.containment.padding||i.padding&&i.containment.padding}),d.shadow&&(d.shadow=Support.shadow),d}var i,o;return e}()};$.extend(Skin.prototype,{initialize:function(e){this.tooltip=e,this.element=e._skin;var t=this.tooltip.options;this.tooltip._tooltip[(t.shadow?"remove":"add")+"Class"]("tpd-no-shadow")[(t.radius?"remove":"add")+"Class"]("tpd-no-radius")[(t.stem?"remove":"add")+"Class"]("tpd-no-stem");var n,a,i,o,s=Support.css.prefixed("borderTopLeftRadius");this.element.append(n=$("<div>").addClass("tpd-frames").append($("<div>").addClass("tpd-frame").append($("<div>").addClass("tpd-backgrounds").append(a=$("<div>").addClass("tpd-background").append(i=$("<div>").addClass("tpd-background-content")))))).append(o=$("<div>").addClass("tpd-spinner")),a.css({width:999,height:999,zoom:1}),this._css={border:parseFloat(a.css("border-top-width")),radius:parseFloat(s?a.css(s):0),padding:parseFloat(e._content.css("padding-top")),borderColor:a.css("border-top-color"),backgroundColor:i.css("background-color"),backgroundOpacity:i.css("opacity"),spinner:{dimensions:{width:o.innerWidth(),height:o.innerHeight()}}},o.remove(),n.remove(),this._side=Position.getSide(e.options.position.tooltip)||"top",this._vars={}},destroy:function(){this.frames&&($.each("top right bottom left".split(" "),$.proxy(function(e,t){this["stem_"+t]&&this["stem_"+t].destroy()},this)),this.frames.remove(),this.frames=null)},build:function(){this.frames||(this.element.append(this.frames=$("<div>").addClass("tpd-frames")),$.each("top right bottom left".split(" "),$.proxy(function(e,t){this.insertFrame(t)},this)),this._spinner||this.tooltip._tooltip.append(this._spinner=$("<div>").addClass("tpd-spinner").hide().append($("<div>").addClass("tpd-spinner-spin"))))},_frame:function(){var e,t=$("<div>").addClass("tpd-frame").append(e=$("<div>").addClass("tpd-backgrounds").append($("<div>").addClass("tpd-background-shadow"))).append($("<div>").addClass("tpd-shift-stem").append($("<div>").addClass("tpd-shift-stem-side tpd-shift-stem-side-before")).append($("<div>").addClass("tpd-stem")).append($("<div>").addClass("tpd-shift-stem-side tpd-shift-stem-side-after")));return $.each("top right bottom left".split(" "),$.proxy(function(t,n){e.append($("<div>").addClass("tpd-background-box tpd-background-box-"+n).append($("<div>").addClass("tpd-background-box-shift").append($("<div>").addClass("tpd-background-box-shift-further").append($("<div>").addClass("tpd-background").append($("<div>").addClass("tpd-background-title")).append($("<div>").addClass("tpd-background-content"))).append($("<div>").addClass("tpd-background tpd-background-loading")).append($("<div>").addClass("tpd-background-border-hack").hide()))))},this)),t}(),_getFrame:function(e){var t=this._frame.clone();t.addClass("tpd-frame-"+e),t.find(".tpd-background-shadow").css({"border-radius":this._css.radius}),this.tooltip.options.stem&&t.find(".tpd-stem").attr("data-stem-position",e);var n=Math.max(this._css.radius-this._css.border,0);t.find(".tpd-background-title").css({"border-top-left-radius":n,"border-top-right-radius":n}),t.find(".tpd-background-content").css({"border-bottom-left-radius":n,"border-bottom-right-radius":n}),t.find(".tpd-background-loading").css({"border-radius":n});var a={backgroundColor:this._css.borderColor},i=Position.getOrientation(e),o="horizontal"==i;a[o?"height":"width"]=this._css.border+"px";var s={top:"bottom",bottom:"top",left:"right",right:"left"};return a[s[e]]=0,t.find(".tpd-shift-stem-side").css(a),t},insertFrame:function(e){var t=this["frame_"+e]=this._getFrame(e);if(this.frames.append(t),this.tooltip.options.stem){var n=t.find(".tpd-stem");this["stem_"+e]=new Stem(n,this,{})}},startLoading:function(){this.tooltip.supportsLoading&&(this.build(),this._spinner||this.tooltip.is("resize-to-content")||this.setDimensions(this._css.spinner.dimensions),this._spinner&&this._spinner.show())},stopLoading:function(){this.tooltip.supportsLoading&&this._spinner&&(this.build(),this._spinner.hide())},updateBackground:function(){var e=this._vars.frames[this._side],t=$.extend({},e.background.dimensions);if(this.tooltip.title&&!this.tooltip.is("loading")){this.element.find(".tpd-background-title, .tpd-background-content").show(),this.element.find(".tpd-background").css({"background-color":"transparent"});var n=$.extend({},t),a=Math.max(this._css.radius-this._css.border,0),i={"border-top-left-radius":a,"border-top-right-radius":a,"border-bottom-left-radius":a,"border-bottom-right-radius":a},o=new Visible(this.tooltip._tooltip),s=this.tooltip._titleWrapper.innerHeight();n.height-=s,this.element.find(".tpd-background-title").css({height:s,width:t.width}),i["border-top-left-radius"]=0,i["border-top-right-radius"]=0,o.restore(),this.element.find(".tpd-background-content").css(n).css(i),this.element.find(".tpd-background-loading").css({"background-color":this._css.backgroundColor})}else this.element.find(".tpd-background-title, .tpd-background-content").hide(),this.element.find(".tpd-background").css({"background-color":this._css.backgroundColor});this._css.border&&(this.element.find(".tpd-background").css({"border-color":"transparent"}),this.element.find(".tpd-background-border-hack").css({width:t.width,height:t.height,"border-radius":this._css.radius,"border-width":this._css.border,"border-color":this._css.borderColor}).show())},paint:function(){if(!this._paintedDimensions||this._paintedDimensions.width!=this._dimensions.width||this._paintedDimensions.height!=this._dimensions.height||this._paintedStemPosition!=this._stemPosition){this._paintedDimensions=this._dimensions,this._paintedStemPosition=this._stemPosition,this.element.removeClass("tpd-visible-frame-top tpd-visible-frame-bottom tpd-visible-frame-left tpd-visible-frame-right").addClass("tpd-visible-frame-"+this._side);var e=this._vars.frames[this._side],t=$.extend({},e.background.dimensions);this.element.find(".tpd-background").css(t),this.element.find(".tpd-background-shadow").css({width:t.width+2*this._css.border,height:t.height+2*this._css.border}),this.updateBackground(),this.element.find(".tpd-background-box-shift, .tpd-background-box-shift-further").removeAttr("style"),this.element.add(this.frames).add(this.tooltip._tooltip).css(e.dimensions);var n=this._side,a=this._vars.frames[n],i=this.element.find(".tpd-frame-"+this._side),o=this._vars.frames[n].dimensions;i.css(o),i.find(".tpd-backgrounds").css($.extend({},a.background.position,{width:o.width-a.background.position.left,height:o.height-a.background.position.top}));var s=Position.getOrientation(n);if(this.tooltip.options.stem)if(i.find(".tpd-shift-stem").css($.extend({},a.shift.dimensions,a.shift.position)),"vertical"==s){var r=i.find(".tpd-background-box-top, .tpd-background-box-bottom");r.css({height:this._vars.cut,width:this._css.border}),i.find(".tpd-background-box-bottom").css({top:a.dimensions.height-this._vars.cut}).find(".tpd-background-box-shift").css({"margin-top":-1*a.dimensions.height+this._vars.cut});var d="right"==n?a.dimensions.width-a.stemPx-this._css.border:0;r.css({left:d}).find(".tpd-background-box-shift").css({"margin-left":-1*d}),i.find(".tpd-background-box-"+("left"==n?"left":"right")).hide(),"right"==n?i.find(".tpd-background-box-left").css({width:a.dimensions.width-a.stemPx-this._css.border}):i.find(".tpd-background-box-right").css({"margin-left":this._css.border}).find(".tpd-background-box-shift").css({"margin-left":-1*this._css.border});var l=i.find(".tpd-background-box-"+this._side);l.css({height:a.dimensions.height-2*this._vars.cut,"margin-top":this._vars.cut}),l.find(".tpd-background-box-shift").css({"margin-top":-1*this._vars.cut})}else{var r=i.find(".tpd-background-box-left, .tpd-background-box-right");r.css({width:this._vars.cut,height:this._css.border}),i.find(".tpd-background-box-right").css({left:a.dimensions.width-this._vars.cut}).find(".tpd-background-box-shift").css({"margin-left":-1*a.dimensions.width+this._vars.cut});var d="bottom"==n?a.dimensions.height-a.stemPx-this._css.border:0;r.css({top:d}).find(".tpd-background-box-shift").css({"margin-top":-1*d}),i.find(".tpd-background-box-"+("top"==n?"top":"bottom")).hide(),"bottom"==n?i.find(".tpd-background-box-top").css({height:a.dimensions.height-a.stemPx-this._css.border}):i.find(".tpd-background-box-bottom").css({"margin-top":this._css.border}).find(".tpd-background-box-shift").css({"margin-top":-1*this._css.border});var l=i.find(".tpd-background-box-"+this._side);l.css({width:a.dimensions.width-2*this._vars.cut,"margin-left":this._vars.cut}),l.find(".tpd-background-box-shift").css({"margin-left":-1*this._vars.cut})}var c=e.background,h=c.position,u=c.dimensions;this._spinner.css({top:h.top+this._css.border+(.5*u.height-.5*this._css.spinner.dimensions.height),left:h.left+this._css.border+(.5*u.width-.5*this._css.spinner.dimensions.width)})}},getVars:function(){var e=(this._css.padding,this._css.radius,this._css.border),t=this._vars.maxStemHeight||0,n=$.extend({},this._dimensions||{}),a={frames:{},dimensions:n,maxStemHeight:t};a.cut=Math.max(this._css.border,this._css.radius)||0;var i={width:0,height:0},o=0,s=0;return this.tooltip.options.stem&&(i=this.stem_top.getMath().dimensions.outside,o=this.stem_top._css.offset,s=Math.max(i.height-this._css.border,0)),a.stemDimensions=i,a.stemOffset=o,Position.getOrientation(this._side),$.each("top right bottom left".split(" "),$.proxy(function(t,o){var r=Position.getOrientation(o),d="vertical"==r,l={width:n.width+2*e,height:n.height+2*e},c=l[d?"height":"width"]-2*a.cut,h={dimensions:l,stemPx:s,position:{top:0,left:0},background:{dimensions:$.extend({},n),position:{top:0,left:0}}};if(a.frames[o]=h,h.dimensions[d?"width":"height"]+=s,("top"==o||"left"==o)&&(h.background.position[o]+=s),$.extend(h,{shift:{position:{top:0,left:0},dimensions:{width:d?i.height:c,height:d?c:i.height}}}),Browser.IE&&Browser.IE<9){var u=h.shift.dimensions;u.width=Math.round(u.width),u.height=Math.round(u.height)}switch(o){case"top":case"bottom":h.shift.position.left+=a.cut,"bottom"==o&&(h.shift.position.top+=l.height-e-s);break;case"left":case"right":h.shift.position.top+=a.cut,"right"==o&&(h.shift.position.left+=l.width-e-s)}},this)),a.connections={},$.each(Position.positions,$.proxy(function(e,t){a.connections[t]=this.getConnectionLayout(t,a)},this)),a},setDimensions:function(e){this.build();var t=this._dimensions;t&&t.width==e.width&&t.height==e.height||(this._dimensions=e,this._vars=this.getVars())},setSide:function(e){this._side=e,this._vars=this.getVars()},getConnectionLayout:function(e,t){var n=Position.getSide(e),a=Position.getOrientation(e),i=(t.dimensions,t.cut),o=this["stem_"+n],s=t.stemOffset,r=this.tooltip.options.stem?o.getMath().dimensions.outside.width:0,d=i+s+.5*r,l={stem:{}},c={left:0,right:0,up:0,down:0},h={top:0,left:0},u={top:0,left:0},m=t.frames[n],d=0;if("horizontal"==a){var p=m.dimensions.width;this.tooltip.options.stem&&(p=m.shift.dimensions.width,2*s>p-r&&(s=Math.floor(.5*(p-r))||0),d=i+s+.5*r);var f=p-2*s,g=Position.split(e),v=s;switch(g[2]){case"left":c.right=f-r,h.left=d;break;case"middle":v+=Math.round(.5*f-.5*r),c.left=v-s,c.right=v-s,h.left=u.left=Math.round(.5*m.dimensions.width);break;case"right":v+=f-r,c.left=f-r,h.left=m.dimensions.width-d,u.left=m.dimensions.width}"bottom"==g[1]&&(h.top+=m.dimensions.height,u.top+=m.dimensions.height),$.extend(l.stem,{position:{left:v},before:{width:v},after:{left:v+r,width:p-v-r+1}})}else{var b=m.dimensions.height;this.tooltip.options.stem&&(b=m.shift.dimensions.height,2*s>b-r&&(s=Math.floor(.5*(b-r))||0),d=i+s+.5*r);var y=b-2*s,g=Position.split(e),w=s;switch(g[2]){case"top":c.down=y-r,h.top=d;break;case"middle":w+=Math.round(.5*y-.5*r),c.up=w-s,c.down=w-s,h.top=u.top=Math.round(.5*m.dimensions.height);break;case"bottom":w+=y-r,c.up=y-r,h.top=m.dimensions.height-d,u.top=m.dimensions.height}"right"==g[1]&&(h.left+=m.dimensions.width,u.left+=m.dimensions.width),$.extend(l.stem,{position:{top:w},before:{height:w},after:{top:w+r,height:b-w-r+1}})}return l.move=c,l.stem.connection=h,l.connection=u,l},setStemPosition:function(e,t){if(this._stemPosition!=e){this._stemPosition=e;var n=Position.getSide(e);this.setSide(n)}this.tooltip.options.stem&&this.setStemShift(e,t)},setStemShift:function(e,t){var n=this._shift,a=this._dimensions;if(!n||n.stemPosition!=e||n.shift.x!=t.x||n.shift.y!=t.y||!a||n.dimensions.width!=a.width||n.dimensions.height!=a.height){this._shift={stemPosition:e,shift:t,dimensions:a};var i=Position.getSide(e),o={horizontal:"x",vertical:"y"}[Position.getOrientation(e)],s={x:{left:"left",width:"width"},y:{left:"top",width:"height"}}[o],r=this["stem_"+i],d=deepExtend({},this._vars.connections[e].stem);t&&0!==t[o]&&(d.before[s.width]+=t[o],d.position[s.left]+=t[o],d.after[s.left]+=t[o],d.after[s.width]-=t[o]),r.element.css(d.position),r.element.siblings(".tpd-shift-stem-side-before").css(d.before),r.element.siblings(".tpd-shift-stem-side-after").css(d.after)}}}),$.extend(Stem.prototype,{initialize:function(e,t){this.element=$(e),this.element[0]&&(this.skin=t,this.element.removeClass("tpd-stem-reset"),this._css=$.extend({},t._css,{width:this.element.innerWidth(),height:this.element.innerHeight(),offset:parseFloat(this.element.css("margin-left")),spacing:parseFloat(this.element.css("margin-top"))}),this.element.addClass("tpd-stem-reset"),this.options=$.extend({},arguments[2]||{}),this._position=this.element.attr("data-stem-position")||"top",this._m=100,this.build())},destroy:function(){this.element.html("")},build:function(){this.destroy();var e=this._css.backgroundColor,t=e.indexOf("rgba")>-1&&parseFloat(e.replace(/^.*,(.+)\)/,"$1")),n=t&&1>t;this._useTransform=n&&Support.css.transform,this._css.border||(this._useTransform=!1),this[(this._useTransform?"build":"buildNo")+"Transform"]()},buildTransform:function(){this.element.append(this.spacer=$("<div>").addClass("tpd-stem-spacer").append(this.downscale=$("<div>").addClass("tpd-stem-downscale").append(this.transform=$("<div>").addClass("tpd-stem-transform").append(this.first=$("<div>").addClass("tpd-stem-side").append(this.border=$("<div>").addClass("tpd-stem-border")).append($("<div>").addClass("tpd-stem-border-corner")).append($("<div>").addClass("tpd-stem-triangle")))))),this.transform.append(this.last=this.first.clone().addClass("tpd-stem-side-inversed")),this.sides=this.first.add(this.last);var e=this.getMath(),t=e.dimensions,n=this._m,a=Position.getSide(this._position);if(this.element.find(".tpd-stem-spacer").css({width:h?t.inside.height:t.inside.width,height:h?t.inside.width:t.inside.height}),"top"==a||"left"==a){var i={};"top"==a?(i.bottom=0,i.top="auto"):"left"==a&&(i.right=0,i.left="auto"),this.element.find(".tpd-stem-spacer").css(i)}this.transform.css({width:t.inside.width*n,height:t.inside.height*n});var o=Support.css.prefixed("transform"),s={"background-color":"transparent","border-bottom-color":this._css.backgroundColor,"border-left-width":.5*t.inside.width*n,"border-bottom-width":t.inside.height*n};s[o]="translate("+e.border*n+"px, 0)",this.element.find(".tpd-stem-triangle").css(s);var r=this._css.borderColor;alpha=r.indexOf("rgba")>-1&&parseFloat(r.replace(/^.*,(.+)\)/,"$1")),alpha&&1>alpha?r=(r.substring(0,r.lastIndexOf(","))+")").replace("rgba","rgb"):alpha=1;var d={"background-color":"transparent","border-right-width":e.border*n,width:e.border*n,"margin-left":-2*e.border*n,"border-color":r,opacity:alpha};d[o]="skew("+e.skew+"deg) translate("+e.border*n+"px, "+-1*this._css.border*n+"px)",this.element.find(".tpd-stem-border").css(d);var r=this._css.borderColor;alpha=r.indexOf("rgba")>-1&&parseFloat(r.replace(/^.*,(.+)\)/,"$1")),alpha&&1>alpha?r=(r.substring(0,r.lastIndexOf(","))+")").replace("rgba","rgb"):alpha=1;var l={width:e.border*n,"border-right-width":e.border*n,"border-right-color":r,background:r,opacity:alpha,"margin-left":-2*e.border*n};if(l[o]="skew("+e.skew+"deg) translate("+e.border*n+"px, "+(t.inside.height-this._css.border)*n+"px)",this.element.find(".tpd-stem-border-corner").css(l),this.setPosition(this._position),n>1){var c={};c[o]="scale("+1/n+","+1/n+")",this.downscale.css(c)}var h=/^(left|right)$/.test(this._position);this._css.border||this.element.find(".tpd-stem-border, .tpd-stem-border-corner").hide(),this.element.css({width:h?t.outside.height:t.outside.width,height:h?t.outside.width:t.outside.height})},buildNoTransform:function(){this.element.append(this.spacer=$("<div>").addClass("tpd-stem-spacer").append($("<div>").addClass("tpd-stem-notransform").append($("<div>").addClass("tpd-stem-border").append($("<div>").addClass("tpd-stem-border-corner")).append($("<div>").addClass("tpd-stem-border-center-offset").append($("<div>").addClass("tpd-stem-border-center-offset-inverse").append($("<div>").addClass("tpd-stem-border-center"))))).append($("<div>").addClass("tpd-stem-triangle"))));var e=this.getMath(),t=e.dimensions,n=/^(left|right)$/.test(this._position),a=/^(bottom)$/.test(this._position),i=/^(right)$/.test(this._position),o=Position.getSide(this._position);if(this.element.css({width:n?t.outside.height:t.outside.width,height:n?t.outside.width:t.outside.height}),this.element.find(".tpd-stem-notransform").add(this.element.find(".tpd-stem-spacer")).css({width:n?t.inside.height:t.inside.width,height:n?t.inside.width:t.inside.height}),"top"==o||"left"==o){var s={};"top"==o?(s.bottom=0,s.top="auto"):"left"==o&&(s.right=0,s.left="auto"),this.element.find(".tpd-stem-spacer").css(s)}this.element.find(".tpd-stem-border").css({width:"100%",background:"transparent"});var r={opacity:Browser.IE&&Browser.IE<9?this._css.borderOpacity:1};r[n?"height":"width"]="100%",r[n?"width":"height"]=this._css.border,r[a?"top":"bottom"]=0,$.extend(r,i?{left:0}:{right:0}),this.element.find(".tpd-stem-border-corner").css(r);var d={width:0,"background-color":"transparent",opacity:Browser.IE&&Browser.IE<9?this._css.borderOpacity:1},l=.5*t.inside.width+"px solid transparent",c={"background-color":"transparent"};if(.5*t.inside.width-e.border+"px solid transparent",n){var h={left:"auto",top:"50%","margin-top":-.5*t.inside.width,"border-top":l,"border-bottom":l};if($.extend(d,h),d[i?"right":"left"]=0,d[i?"border-left":"border-right"]=t.inside.height+"px solid "+this._css.borderColor,$.extend(c,h),c[i?"border-left":"border-right"]=t.inside.height+"px solid "+this._css.backgroundColor,c[i?"right":"left"]=e.top,c[i?"left":"right"]="auto",Browser.IE&&Browser.IE<8){var u=.5*this._css.width+"px solid transparent";$.extend(c,{"margin-top":-.5*this._css.width,"border-top":u,"border-bottom":u}),c[i?"border-left":"border-right"]=this._css.height+"px solid "+this._css.backgroundColor}this.element.find(".tpd-stem-border-center-offset").css({"margin-left":-1*this._css.border*(i?-1:1)}).find(".tpd-stem-border-center-offset-inverse").css({"margin-left":this._css.border*(i?-1:1)})}else{var h={"margin-left":-.5*t.inside.width,"border-left":l,"border-right":l};if($.extend(d,h),d[a?"border-top":"border-bottom"]=t.inside.height+"px solid "+this._css.borderColor,$.extend(c,h),c[a?"border-top":"border-bottom"]=t.inside.height+"px solid "+this._css.backgroundColor,c[a?"bottom":"top"]=e.top,c[a?"top":"bottom"]="auto",Browser.IE&&Browser.IE<8){var u=.5*this._css.width+"px solid transparent";$.extend(c,{"margin-left":-.5*this._css.width,"border-left":u,"border-right":u}),c[a?"border-top":"border-bottom"]=this._css.height+"px solid "+this._css.backgroundColor}this.element.find(".tpd-stem-border-center-offset").css({"margin-top":-1*this._css.border*(a?-1:1)}).find(".tpd-stem-border-center-offset-inverse").css({"margin-top":this._css.border*(a?-1:1)})}this.element.find(".tpd-stem-border-center").css(d),this.element.find(".tpd-stem-border-corner").css({"background-color":this._css.borderColor}),this.element.find(".tpd-stem-triangle").css(c),this._css.border||this.element.find(".tpd-stem-border").hide()},setPosition:function(e){this._position=e,this.transform.attr("class","tpd-stem-transform tpd-stem-transform-"+e)},getMath:function(){var e=this._css.height,t=this._css.width,n=this._css.border;this._useTransform&&Math.floor(t)%2&&(t=Math.max(Math.floor(t)-1,0));var a=degrees(Math.atan(.5*t/e)),i=90-a,o=n/Math.cos((90-i)*Math.PI/180),s=n/Math.cos((90-a)*Math.PI/180),r={width:t+2*o,height:e+s};Math.max(n,this._css.radius),e=r.height,t=.5*r.width;var d=degrees(Math.atan(e/t)),l=90-d,c=n/Math.cos(l*Math.PI/180),h=180*Math.atan(e/t)/Math.PI,u=-1*(90-h),m=90-h,p=n*Math.tan(m*Math.PI/180),s=n/Math.cos((90-m)*Math.PI/180),f=$.extend({},r),g=$.extend({},r);g.height+=this._css.spacing,g.height=Math.ceil(g.height);var v=!0;return 2*n>=r.width&&(v=!1),{enabled:v,outside:g,dimensions:{inside:f,outside:g},top:s,border:c,skew:u,corner:p}}});var Tooltips={tooltips:{},options:{defaultSkin:"dark",startingZIndex:999999},_emptyClickHandler:function(){},init:function(){this.reset(),this._resizeHandler=$.proxy(this.onWindowResize,this),$(window).bind("resize orientationchange",this._resizeHandler),Browser.MobileSafari&&$("body").bind("click",this._emptyClickHandler)},reset:function(){Tooltips.removeAll(),Delegations.removeAll(),this._resizeHandler&&$(window).unbind("resize orientationchange",this._resizeHandler),Browser.MobileSafari&&$("body").unbind("click",this._emptyClickHandler)},onWindowResize:function(){this._resizeTimer&&(window.clearTimeout(this._resizeTimer),this._resizeTimer=null),this._resizeTimer=_.delay($.proxy(function(){var e=this.getVisible();$.each(e,function(e,t){t.clearUpdatedTo(),t.position()})},this),15)},_getTooltips:function(e,t){var n,a=[],i=[];if(_.isElement(e)?(n=$(e).data("tipped-uids"))&&(a=a.concat(n)):$(e).each(function(e,t){(n=$(t).data("tipped-uids"))&&(a=a.concat(n))}),!a[0]&&!t){var o=this.getTooltipByTooltipElement($(e).closest(".tpd-tooltip")[0]);o&&o.element&&(n=$(o.element).data("tipped-uids")||[],n&&(a=a.concat(n)))}return a.length>0&&$.each(a,$.proxy(function(e,t){var n;(n=this.tooltips[t])&&i.push(n)},this)),i},findElement:function(e){var t=[];return _.isElement(e)&&(t=this._getTooltips(e)),t[0]&&t[0].element},get:function(e){var t=$.extend({api:!1},arguments[1]||{}),n=[];return _.isElement(e)?n=this._getTooltips(e):e instanceof $?e.each($.proxy(function(e,t){var a=this._getTooltips(t,!0);a.length>0&&(n=n.concat(a))},this)):"string"==$.type(e)&&$.each(this.tooltips,function(t,a){a.element&&$(a.element).is(e)&&n.push(a)}),t.api&&$.each(n,function(e,t){t.is("api",!0)}),n},getTooltipByTooltipElement:function(e){if(!e)return null;var t=null;return $.each(this.tooltips,function(n,a){a.is("build")&&a._tooltip[0]===e&&(t=a)}),t},getBySelector:function(e){var t=[];return $.each(this.tooltips,function(n,a){a.element&&$(a.element).is(e)&&t.push(a)}),t},getNests:function(){var e=[];return $.each(this.tooltips,function(t,n){n.is("nest")&&e.push(n)}),e},show:function(e){$(this.get(e)).each(function(e,t){t.show(!1,!0)})},hide:function(e){$(this.get(e)).each(function(e,t){t.hide()})},toggle:function(e){$(this.get(e)).each(function(e,t){t.toggle()})},hideAll:function(e){$.each(this.getVisible(),function(t,n){e&&e==n||n.hide()})},refresh:function(e){var t;t=e?$.grep(this.get(e),function(e){return e.is("visible")}):this.getVisible(),$.each(t,function(e,t){t.refresh()})},getVisible:function(){var e=[];return $.each(this.tooltips,function(t,n){n.visible()&&e.push(n)}),e},isVisibleByElement:function(e){var t=!1;return _.isElement(e)&&$.each(this.getVisible()||[],function(n,a){return a.element==e?(t=!0,!1):void 0}),t},getHighestTooltip:function(){var e,t=0;return $.each(this.tooltips,function(n,a){a.zIndex>t&&(t=a.zIndex,e=a)}),e},resetZ:function(){this.getVisible().length<=1&&$.each(this.tooltips,function(e,t){t.is("build")&&!t.options.zIndex&&t._tooltip.css({zIndex:t.zIndex=+Tooltips.options.startingZIndex})})},clearAjaxCache:function(){$.each(this.tooltips,$.proxy(function(e,t){t.options.ajax&&(t._cache&&t._cache.xhr&&(t._cache.xhr.abort(),t._cache.xhr=null),t.is("updated",!1),t.is("updating",!1),t.is("sanitized",!1))},this)),AjaxCache.clear()},add:function(e){this.tooltips[e.uid]=e},remove:function(e){var t=this._getTooltips(e);$.each(t,$.proxy(function(e,t){var n=t.uid;delete this.tooltips[n],Browser.IE&&Browser.IE<9?_.defer(function(){t.remove()}):t.remove()},this))},removeDetached:function(){var e=this.getNests(),t=[];e.length>0&&$.each(e,function(e,n){n.is("detached")&&(t.push(n),n.attach())}),$.each(this.tooltips,$.proxy(function(e,t){t.element&&!_.element.isAttached(t.element)&&this.remove(t.element)},this)),$.each(t,function(e,t){t.detach()})},removeAll:function(){$.each(this.tooltips,$.proxy(function(e,t){t.element&&this.remove(t.element)},this)),this.tooltips={}},setDefaultSkin:function(e){this.options.defaultSkin=e||"dark"},setStartingZIndex:function(e){this.options.startingZIndex=e||0}};Tooltips.Position={inversedPosition:{left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},getInversedPosition:function(e){var t=Position.split(e),n=t[1],a=t[2],i=Position.getOrientation(e),o=$.extend({horizontal:!0,vertical:!0},arguments[1]||{});return"horizontal"==i?(o.vertical&&(n=this.inversedPosition[n]),o.horizontal&&(a=this.inversedPosition[a])):(o.vertical&&(a=this.inversedPosition[a]),o.horizontal&&(n=this.inversedPosition[n])),n+a},getTooltipPositionFromTarget:function(e){var t=Position.split(e);return this.getInversedPosition(t[1]+this.inversedPosition[t[2]])}},$.extend(Tooltip.prototype,{supportsLoading:Support.css.transform&&Support.css.animation,initialize:function(element,content){if(this.element=element,this.element){var options;"object"!=$.type(content)||_.isElement(content)||_.isText(content)||_.isDocumentFragment(content)||content instanceof $?options=arguments[2]||{}:(options=content,content=null);var dataOptions=$(element).data("tipped-options");dataOptions&&(options=deepExtend($.extend({},options),eval("({"+dataOptions+"})"))),this.options=Options.create(options),this._cache={dimensions:{width:0,height:0},events:[],timers:{},layouts:{},is:{},fnCallFn:"",updatedTo:{}},this.queues={showhide:$({})};var title=$(element).attr("title")||$(element).data("tipped-restore-title");if(!content){var dt=$(element).attr("data-tipped");if(dt?content=dt:title&&(content=title),content){var SCRIPT_REGEX=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;content=content.replace(SCRIPT_REGEX,"")}}if((!content||content instanceof $&&!content[0])&&!(this.options.ajax&&this.options.ajax.url||this.options.inline))return void(this._aborted=!0);title&&($(element).data("tipped-restore-title",title),$(element)[0].setAttribute("title","")),this.content=content,this.title=$(this.element).data("tipped-title"),"undefined"!=$.type(this.options.title)&&(this.title=this.options.title),this.zIndex=this.options.zIndex||+Tooltips.options.startingZIndex;var uids=$(element).data("tipped-uids");uids||(uids=[]);var uid=getUID();this.uid=uid,uids.push(uid),$(element).data("tipped-uids",uids);var parentTooltipElement=$(this.element).closest(".tpd-tooltip")[0],parentTooltip;parentTooltipElement&&(parentTooltip=Tooltips.getTooltipByTooltipElement(parentTooltipElement))&&parentTooltip.is("nest",!0);var target=this.options.target;this.target="mouse"==target?this.element:"element"!=target&&target?_.isElement(target)?target:target instanceof $&&target[0]?target[0]:this.element:this.element,this.options.inline&&(this.content=$("#"+this.options.inline)[0]),this.options.ajax&&(this.__content=this.content),"function"==$.type(this.content)&&(this._fn=this.content),this.preBuild(),Tooltips.add(this)}},remove:function(){this.unbind(),this.clearTimers(),this.restoreElementToMarker(),this.stopLoading(),this.abort(),this.is("build")&&this._tooltip&&(this._tooltip.remove(),this._tooltip=null);var e=$(this.element).data("tipped-uids")||[],t=$.inArray(this.uid,e);if(t>-1&&(e.splice(t,1),$(this.element).data("tipped-uids",e)),e.length<1){var n,a="tipped-restore-title";(n=$(this.element).data(a))&&(""!=!$(this.element)[0].getAttribute("title")&&$(this.element).attr("title",n),$(this.element).removeData(a)),$(this.element).removeData("tipped-uids")}var i=$(this.element).attr("class")||"",o=i.replace(/(tpd-delegation-uid-)\d+/g,"").replace(/^\s\s*/,"").replace(/\s\s*$/,"");$(this.element).attr("class",o)},detach:function(){this.options.detach&&!this.is("detached")&&(this._tooltip&&this._tooltip.detach(),this.is("detached",!0))},attach:function(){if(this.is("detached")){var e;if("string"==$.type(this.options.container)){var t=this.target;"mouse"==t&&(t=this.element),e=$($(t).closest(this.options.container).first())}else e=$(this.options.container);e[0]||(e=$(document.body)),e.append(this._tooltip),this.is("detached",!1)}},preBuild:function(){this.is("detached",!0);var e={left:"-10000px",top:"-10000px",opacity:0,zIndex:this.zIndex};this._tooltip=$("<div>").addClass("tpd-tooltip").addClass("tpd-skin-"+this.options.skin).addClass("tpd-size-"+this.options.size).css(e).hide(),this.createPreBuildObservers()},build:function(){this.is("build")||(this.attach(),Browser.IE&&Browser.IE<7&&this._tooltip.append(this.iframeShim=$("<iframe>").addClass("tpd-iframeshim").attr({frameBorder:0,src:"javascript:'';"})),this._tooltip.append(this._skin=$("<div>").addClass("tpd-skin")).append(this._contentWrapper=$("<div>").addClass("tpd-content-wrapper").append(this._contentSpacer=$("<div>").addClass("tpd-content-spacer").append(this._titleWrapper=$("<div>").addClass("tpd-title-wrapper").append(this._titleSpacer=$("<div>").addClass("tpd-title-spacer").append(this._titleRelative=$("<div>").addClass("tpd-title-relative").append(this._titleRelativePadder=$("<div>").addClass("tpd-title-relative-padder").append(this._title=$("<div>").addClass("tpd-title"))))).append(this._close=$("<div>").addClass("tpd-close").append($("<div>").addClass("tpd-close-icon").html("&times;")))).append(this._contentRelative=$("<div>").addClass("tpd-content-relative").append(this._contentRelativePadder=$("<div>").addClass("tpd-content-relative-padder").append(this._content=$("<div>").addClass("tpd-content"))).append(this._inner_close=$("<div>").addClass("tpd-close").append($("<div>").addClass("tpd-close-icon").html("&times;")))))),
this.skin=new Skin(this),this._contentSpacer.css({"border-radius":Math.max(this.skin._css.radius-this.skin._css.border,0)}),this.createPostBuildObservers(),this.is("build",!0))},createPostBuildObservers:function(){this._tooltip.delegate(".tpd-close, .close-tooltip","click",$.proxy(function(e){e.stopPropagation(),e.preventDefault(),this.is("api",!1),this.hide(!0)},this))},createPreBuildObservers:function(){this.bind(this.element,"mouseenter",this.setActive),this.bind(this._tooltip,Support.touch&&Browser.MobileSafari?"touchstart":"mouseenter",this.setActive),this.bind(this.element,"mouseleave",function(e){this.setIdle(e)}),this.bind(this._tooltip,"mouseleave",function(e){this.setIdle(e)}),this.options.showOn&&($.each(this.options.showOn,$.proxy(function(e,t){var n,a=!1;switch(e){case"element":n=this.element,this.options.hideOn&&this.options.showOn&&"click"==this.options.hideOn.element&&"click"==this.options.showOn.element&&(a=!0,this.is("toggleable",a));break;case"tooltip":n=this._tooltip;break;case"target":n=this.target}if(n&&t){var i=t;this.bind(n,i,"click"==t&&a?function(){this.is("api",!1),this.toggle()}:function(){this.is("api",!1),this.showDelayed()})}},this)),Support.touch&&Browser.MobileSafari&&this.bind(this._tooltip,"touchend",function(){this._tooltipTouchEndTime=(new Date).getTime()})),this.options.hideOn&&$.each(this.options.hideOn,$.proxy(function(e,t){var n;switch(e){case"element":if(this.is("toggleable")&&"click"==t)return;n=this.element;break;case"tooltip":n=this._tooltip;break;case"target":n=this.target}if(n&&t){var a=t;Support.touch&&Browser.MobileSafari&&/^(target|element)/.test(e)&&/mouse(leave|out)/.test(a)?this.bind(n,a,function(e){if(this._tooltipTouchEndTime&&/^mouse(leave|out)$/.test(e.type)){var t=(new Date).getTime();if(t-this._tooltipTouchEndTime<450)return}this.is("api",!1),this.hideDelayed()}):this.bind(n,a,function(){this.is("api",!1),this.hideDelayed()})}},this)),this.options.hideOnClickOutside&&($(this.element).addClass("tpd-hideOnClickOutside"),this.bind(document.documentElement,"click touchend",$.proxy(function(e){if(this.visible()){var t=$(e.target).closest(".tpd-tooltip, .tpd-hideOnClickOutside")[0];(!t||t&&t!=this._tooltip[0]&&t!=this.element)&&this.hide()}},this))),"mouse"==this.options.target&&this.bind(this.element,"mouseenter mousemove",$.proxy(function(e){this._cache.event=e},this));var e=!1;this.options.showOn&&"mouse"==this.options.target&&!this.options.fixed&&(e=!0),e&&this.bind(this.element,"mousemove",function(){this.is("build")&&(this.is("api",!1),this.position())})}}),$.extend(Tooltip.prototype,{stop:function(){if(this._tooltip){var e=this.queues.showhide;e.queue([]),this._tooltip.stop(1,0)}},showDelayed:function(){this.is("disabled")||(this.clearTimer("hide"),this.is("visible")||this.getTimer("show")||this.setTimer("show",$.proxy(function(){this.clearTimer("show"),this.show()},this),this.options.showDelay||1))},show:function(){if(this.clearTimer("hide"),!this.visible()&&!this.is("disabled")&&$(this.target).is(":visible")){this.is("visible",!0),this.attach(),this.stop();var e=this.queues.showhide;this.is("updated")||this.is("updating")||e.queue($.proxy(function(e){this._onResizeDimensions={width:0,height:0},this.update($.proxy(function(t){return t?(this.is("visible",!1),void this.detach()):void e()},this))},this)),e.queue($.proxy(function(e){this.is("sanitized")?(this.stopLoading(),this._contentWrapper.css({visibility:"visible"}),this.is("resize-to-content",!0),e()):(this._contentWrapper.css({visibility:"hidden"}),this.startLoading(),this.sanitize($.proxy(function(){this.stopLoading(),this._contentWrapper.css({visibility:"visible"}),this.is("resize-to-content",!0),e()},this)))},this)),e.queue($.proxy(function(e){this.position(),this.raise(),e()},this)),e.queue($.proxy(function(e){if(this.is("updated")&&"function"==$.type(this.options.onShow)){var t=new Visible(this._tooltip);this.options.onShow(this._content[0],this.element),t.restore(),e()}else e()},this)),e.queue($.proxy(function(e){this._show(this.options.fadeIn,function(){e()})},this)),this.options.hideAfter&&e.queue($.proxy(function(){this.setActive()},this))}},_show:function(e,t){e=("number"==$.type(e)?e:this.options.fadeIn)||0,t=t||"function"==$.type(arguments[0])&&arguments[0],this.options.hideOthers&&Tooltips.hideAll(this),this._tooltip.fadeTo(e,1,$.proxy(function(){t&&t()},this))},hideDelayed:function(){this.clearTimer("show"),this.getTimer("hide")||!this.visible()||this.is("disabled")||this.setTimer("hide",$.proxy(function(){this.clearTimer("hide"),this.hide()},this),this.options.hideDelay||1)},hide:function(e,t){if(this.clearTimer("show"),this.visible()&&!this.is("disabled")){this.is("visible",!1),this.stop();var n=this.queues.showhide;n.queue($.proxy(function(e){this.abort(),e()},this)),n.queue($.proxy(function(t){this._hide(e,t)},this)),n.queue(function(e){Tooltips.resetZ(),e()}),n.queue($.proxy(function(e){this.clearUpdatedTo(),e()},this)),"function"==$.type(this.options.afterHide)&&this.is("updated")&&n.queue($.proxy(function(e){this.options.afterHide(this._content[0],this.element),e()},this)),this.options.cache||!this.options.ajax&&!this._fn||n.queue($.proxy(function(e){this.is("updated",!1),this.is("updating",!1),this.is("sanitized",!1),e()},this)),"function"==$.type(t)&&n.queue(function(e){t(),e()}),n.queue($.proxy(function(e){this.detach(),e()},this))}},_hide:function(e,t){t=t||"function"==$.type(arguments[0])&&arguments[0],this.attach(),this._tooltip.fadeTo(e?0:this.options.fadeOut,0,$.proxy(function(){this.stopLoading(),this.is("resize-to-content",!1),this._tooltip.hide(),t&&t()},this))},toggle:function(){this.is("disabled")||this[this.visible()?"hide":"show"]()},raise:function(){if(this.is("build")&&!this.options.zIndex){var e=Tooltips.getHighestTooltip();e&&e!=this&&this.zIndex<=e.zIndex&&(this.zIndex=e.zIndex+1,this._tooltip.css({"z-index":this.zIndex}),this._tooltipShadow&&(this._tooltipShadow.css({"z-index":this.zIndex}),this.zIndex=e.zIndex+2,this._tooltip.css({"z-index":this.zIndex})))}}}),$.extend(Tooltip.prototype,{createElementMarker:function(){!this.elementMarker&&this.content&&_.element.isAttached(this.content)&&($(this.content).data("tpd-restore-inline-display",$(this.content).css("display")),this.elementMarker=$("<div>").hide(),$(this.content).before($(this.elementMarker).hide()))},restoreElementToMarker:function(){var e;this.content,this.elementMarker&&this.content&&((e=$(this.content).data("tpd-restore-inline-display"))&&$(this.content).css({display:e}),$(this.elementMarker).before(this.content).remove())},startLoading:function(){this.is("loading")||(this.build(),this.is("loading",!0),this.options.spinner&&(this._tooltip.addClass("tpd-is-loading"),this.skin.startLoading(),this.is("resize-to-content")||(this.position(),this.raise(),this._show())))},stopLoading:function(){this.build(),this.is("loading",!1),this.options.spinner&&(this._tooltip.removeClass("tpd-is-loading"),this.skin.stopLoading())},abort:function(){this.abortAjax(),this.abortSanitize(),this.is("refreshed-before-sanitized",!1)},abortSanitize:function(){this._cache.voila&&(this._cache.voila.abort(),this._cache.voila=null)},abortAjax:function(){this._cache.xhr&&(this._cache.xhr.abort(),this._cache.xhr=null,this.is("updated",!1),this.is("updating",!1))},update:function(e){if(!this.is("updating")){this.is("updating",!0),this.build();var t=this.options.inline?"inline":this.options.ajax?"ajax":_.isElement(this.content)||_.isText(this.content)||_.isDocumentFragment(this.content)?"element":this._fn?"function":"html";switch(this._contentWrapper.css({visibility:"hidden"}),t){case"html":case"element":case"inline":if(this.is("updated"))return void(e&&e());this._update(this.content,e);break;case"function":if(this.is("updated"))return void(e&&e());var n=this._fn(this.element);if(!n)return this.is("updating",!1),void(e&&e(!0));this._update(n,e);break;case"ajax":var a=this.options.ajax||{},i=a.url||this.__content,o=a.data||{},t=a.type||"",s=a.dataType,r={url:i,data:o};t&&$.extend(r,{type:t}),s&&$.extend(r,{dataType:s});var d=$.extend({},r,a);$.each("complete error success".split(" "),$.proxy(function(t,n){d[n]||(d[n]="success"==n?function(e,t,n){return n.responseText}:function(){}),d[n]=_.wrap(d[n],$.proxy(function(t){var a=_slice.call(arguments,1),i=$.type("object"==a[0])?a[0]:a[2];if(!i.statusText||"abort"!=i.statusText){this.options.cache&&AjaxCache.set({url:d.url,type:d.type,data:d.data},n,a),this._cache.xhr=null;var o=t.apply(this,a);o&&this._update(o,e)}},this))},this));var l;if(this.options.cache&&(l=AjaxCache.get(d))&&l.callbacks.success)return void $.each(l.callbacks,$.proxy(function(e,t){"function"==$.type(d[e])&&d[e].apply(this,t)},this));this.startLoading(),this._cache.xhr=$.ajax(d)}}},_update:function(e,t){var n={title:this.options.title,close:this.options.close};"string"==$.type(e)||_.isElement(e)||_.isText(e)||_.isDocumentFragment(e)||e instanceof $?n.content=e:$.extend(n,e);var e=n.content,a=n.title,i=n.close;this.content=e,this.title=a,this.close=i,this.createElementMarker(),(_.isElement(e)||e instanceof $)&&$(e).show(),this._content.html(this.content),this._title.html(a&&"string"==$.type(a)?a:""),this._titleWrapper[a?"show":"hide"](),this._close[(this.title||this.options.title)&&i?"show":"hide"]();var o=i&&!(this.options.title||this.title),s=i&&!(this.options.title||this.title)&&"overlap"!=i,r=i&&(this.options.title||this.title)&&"overlap"!=i;this._inner_close[o?"show":"hide"](),this._tooltip[(s?"add":"remove")+"Class"]("tpd-has-inner-close"),this._tooltip[(r?"add":"remove")+"Class"]("tpd-has-title-close"),this._content[(this.options.padding?"remove":"add")+"Class"]("tpd-content-no-padding"),this.finishUpdate(t)},sanitize:function(e){return!this.options.voila||this._content.find("img").length<1?(this.is("sanitized",!0),void(e&&e())):void(this._cache.voila=Voila(this._content,{method:"onload"},$.proxy(function(t){this._markImagesAsSanitized(t.images),this.is("refreshed-before-sanitized")?(this.is("refreshed-before-sanitized",!1),this.sanitize(e)):(this.is("sanitized",!0),e&&e())},this)))},_markImagesAsSanitized:function(e){$.each(e,function(e,t){var n=t.img;$(n).data("completed-src",t.img.src)})},_hasAllImagesSanitized:function(){var e=!0;return this._content.find("img").each(function(t,n){var a=$(n).data("completed-src");return a&&n.src==a?void 0:(e=!1,!1)}),e},refresh:function(){if(this.visible()){if(!this.is("sanitized"))return void this.is("refreshed-before-sanitized",!0);this.is("refreshing",!0),this.clearTimer("refresh-spinner"),!this.options.voila||this._content.find("img").length<1||this._hasAllImagesSanitized()?(this.is("should-update-dimensions",!0),this.position(),this.is("refreshing",!1)):(this.is("sanitized",!1),this._contentWrapper.css({visibility:"hidden"}),this.startLoading(),this.sanitize($.proxy(function(){this._contentWrapper.css({visibility:"visible"}),this.stopLoading(),this.is("should-update-dimensions",!0),this.position(),this.is("refreshing",!1)},this)))}},finishUpdate:function(e){if(this.is("updated",!0),this.is("updating",!1),"function"==$.type(this.options.afterUpdate)){var t=this._contentWrapper.css("visibility");t&&this._contentWrapper.css({visibility:"visible"}),this.options.afterUpdate(this._content[0],this.element),t&&this._contentWrapper.css({visibility:"hidden"})}e&&e()}}),$.extend(Tooltip.prototype,{clearUpdatedTo:function(){this._cache.updatedTo={}},updateDimensionsToContent:function(e,t){this.skin.build();var n=this.is("loading"),a=this._cache.updatedTo;if((this._maxWidthPass||this.is("api")||this.is("should-update-dimensions")||a.stemPosition!=t||a.loading!=n)&&(!n||!this.is("resize-to-content"))){this._cache.updatedTo={type:this.is("resize-to-content")?"content":"spinner",loading:this.is("loading"),stemPosition:t},this.is("should-update-dimensions")&&this.is("should-update-dimensions",!1);var e=e||this.options.position.target,t=t||this.options.position.tooltip,i=Position.getSide(t),o=Position.getOrientation(t),s=this.skin._css.border;this._tooltip.addClass("tpd-tooltip-measuring");var r=this._tooltip.attr("style");this._tooltip.removeAttr("style");var d={top:s,right:s,bottom:s,left:s},l=0;if("vertical"==Position.getOrientation(t)){this.options.stem&&(d[i]=this.skin["stem_"+i].getMath().dimensions.outside.height);var c=this.getMouseRoom();c[Position._flip[i]]&&(d[i]+=c[Position._flip[i]]);var h=this.getContainmentLayout(t),u=this.getPaddingLine(e),m=!1;Position.isPointWithinBoxLayout(u.x1,u.y1,h)||Position.isPointWithinBoxLayout(u.x2,u.y2,h)?m=!0:$.each("top right bottom left".split(" "),$.proxy(function(e,t){var n=this.getSideLine(h,t);return Position.intersectsLine(u.x1,u.y1,u.x2,u.y2,n.x1,n.y1,n.x2,n.y2)?(m=!0,!1):void 0},this)),m&&(l="left"==i?u.x1-h.position.left:h.position.left+h.dimensions.width-u.x1,d[i]+=l)}if(this.options.offset&&"vertical"==o){var p=Position.adjustOffsetBasedOnPosition(this.options.offset,this.options.position.target,e);0!==p.x&&(d.right+=Math.abs(p.x))}var l;this.options.containment&&(l=this.options.containment.padding)&&($.each(d,function(e){d[e]+=l}),"vertical"==o?d["left"==i?"left":"right"]-=l:d["top"==i?"top":"bottom"]-=l);var f=Bounds.viewport(),g=this.close&&"overlap"!=this.close&&!this.title,v={width:0,height:0};g&&(v=this._innerCloseDimensions||{width:this._inner_close.outerWidth(!0),height:this._inner_close.outerHeight(!0)},this._innerCloseDimensions=v),this._contentRelativePadder.css({"padding-right":v.width}),this._contentSpacer.css({width:f.width-d.left-d.right});var b={width:this._content.innerWidth()+v.width,height:Math.max(this._content.innerHeight(),v.height||0)},y={width:0,height:0};if(this.title){var w={width:0,height:0};this._titleWrapper.add(this._titleSpacer).css({width:"auto",height:"auto"}),this.close&&"overlap"!=this.close&&(w={width:this._close.outerWidth(!0),height:this._close.outerHeight(!0)},this._close.hide()),this._maxWidthPass&&b.width>this.options.maxWidth&&this._titleRelative.css({width:b.width}),this._titleRelativePadder.css({"padding-right":w.width});var S=parseFloat(this._titleWrapper.css("border-bottom-width"));y={width:this.title?this._titleWrapper.innerWidth():0,height:Math.max(this.title?this._titleWrapper.innerHeight()+S:0,w.height+S)},y.width>f.width-d.left-d.right&&(y.width=f.width-d.left-d.right,this._titleSpacer.css({width:y.width}),y.height=Math.max(this.title?this._titleWrapper.innerHeight()+S:0,w.height+S)),b.width=Math.max(y.width,b.width),b.height+=y.height,this._titleWrapper.css({height:Math.max(this.title?this._titleWrapper.innerHeight():0,w.height)}),this.close&&this._close.show()}if(this.options.stem){var k="vertical"==o?"height":"width",A=this.skin["stem_"+i].getMath(),C=A.outside.width+2*this.skin._css.radius;b[k]<C&&(b[k]=C)}if(this._contentSpacer.css({width:b.width}),b.height!=Math.max(this._content.innerHeight(),v.height)+(this.title?this._titleRelative.outerHeight():0)&&b.width++,this.is("resize-to-content")||(b=this.skin._css.spinner.dimensions),this.setDimensions(b),d={top:s,right:s,bottom:s,left:s},this.options.stem){var x=Position.getSide(t);d[x]=this.skin.stem_top.getMath().dimensions.outside.height}this._contentSpacer.css({"margin-top":d.top,"margin-left":+d.left,width:b.width}),(this.title||this.close)&&this._titleWrapper.css({height:this._titleWrapper.innerHeight(),width:b.width}),this._tooltip.removeClass("tpd-tooltip-measuring"),this._tooltip.attr("style",r);var T=this._contentRelative.add(this._titleRelative);this.options.maxWidth&&b.width>this.options.maxWidth&&!this._maxWidthPass&&this.is("resize-to-content")&&(T.css({width:this.options.maxWidth}),this._maxWidthPass=!0,this.updateDimensionsToContent(e,t),this._maxWidthPass=!1,T.css({width:"auto"}))}},setDimensions:function(e){this.skin.setDimensions(e)},getContainmentSpace:function(e,t){var n=this.getContainmentLayout(e,t),a=this.getTargetLayout(),i=a.position,o=a.dimensions,s=n.position,r=n.dimensions,d={top:Math.max(i.top-s.top,0),bottom:Math.max(s.top+r.height-(i.top+o.height),0),left:Math.max(i.left-s.left,0),right:Math.max(s.left+r.width-(i.left+o.width),0)};return i.top>s.top+r.height&&(d.top-=i.top-(s.top+r.height)),i.top+o.height<s.top&&(d.bottom-=s.top-(i.top+o.height)),i.left>s.left+r.width&&s.left+r.width>=i.left&&(d.left-=i.left-(s.left+r.width)),i.left+o.width<s.left&&(d.right-=s.left-(i.left+o.width)),this._cache.layouts.containmentSpace=d,d},position:function(){if(this.visible()){this.is("positioning",!0),this._cache.layouts={},this._cache.dimensions;var e=this.options.position.target,t=this.options.position.tooltip,n=t,a=e;this.updateDimensionsToContent(a,n);var i=this.getPositionBasedOnTarget(a,n),o=deepExtend(i),s=[];if(this.options.containment){var r=!1,d={};if($.each("top right bottom left".split(" "),$.proxy(function(e,t){(d[t]=this.isSideWithinContainment(t,n,!0))&&(r=!0)},this)),r||(o.contained=!0),o.contained)this.setPosition(o);else{s.unshift({position:o,targetPosition:a,stemPosition:n});var l=Position.flip(e);if(a=l,n=Position.flip(t),d[Position.getSide(a)]?(this.updateDimensionsToContent(a,n),o=this.getPositionBasedOnTarget(a,n)):o.contained=!1,o.contained)this.setPosition(o,n);else{s.unshift({position:o,targetPosition:a,stemPosition:n});var c,h=e,u=this.getContainmentSpace(n,!0),m="horizontal"==Position.getOrientation(h)?["left","right"]:["top","bottom"];c=u[m[0]]===u[m[1]]?"horizontal"==Position.getOrientation(h)?"left":"top":m[u[m[0]]>u[m[1]]?0:1];var p=Position.split(h)[1],f=c+p,g=Position.flip(f);if(a=f,n=g,d[Position.getSide(a)]?(this.updateDimensionsToContent(a,n),o=this.getPositionBasedOnTarget(a,n)):o.contained=!1,o.contained)this.setPosition(o,n);else{s.unshift({position:o,targetPosition:a,stemPosition:n});var v,b=[];if($.each(s,function(e,t){if(t.position.top>=0&&t.position.left>=0)v=t;else{var n=t.position.top>=0?1:Math.abs(t.position.top),a=t.position.left>=0?1:Math.abs(t.position.left);b.push({result:t,negativity:n*a})}}),!v){var y=b[b.length-1];$.each(b,function(e,t){t.negativity<y.negativity&&(y=t)}),v=y.result}this.updateDimensionsToContent(v.targetPosition,v.stemPosition,!0),this.setPosition(v.position,v.stemPosition)}}}}else this.setPosition(o);this._cache.dimensions=this.skin._vars.dimensions,this.skin.paint(),this.is("positioning",!1)}},getPositionBasedOnTarget:function(e,t){var t=t||this.options.position.tooltip,n=this.getTargetDimensions(),a={left:0,top:0},i={left:0,top:0};Position.getSide(e);var o=this.skin._vars,s=o.frames[Position.getSide(t)],r=Position.getOrientation(e),d=Position.split(e);if("horizontal"==r){var l=Math.floor(.5*n.width);switch(d[2]){case"left":i.left=l;break;case"middle":a.left=n.width-l,i.left=a.left;break;case"right":a.left=n.width,i.left=n.width-l}"bottom"==d[1]&&(a.top=n.height,i.top=n.height)}else{var l=Math.floor(.5*n.height);switch(d[2]){case"top":i.top=l;break;case"middle":a.top=n.height-l,i.top=a.top;break;case"bottom":i.top=n.height-l,a.top=n.height}"right"==d[1]&&(a.left=n.width,i.left=n.width)}var c=this.getTargetPosition(),h=$.extend({},n,{top:c.top,left:c.left,connection:a,max:i}),u={width:s.dimensions.width,height:s.dimensions.height,top:0,left:0,connection:o.connections[t].connection,stem:o.connections[t].stem};if(u.top=h.top+h.connection.top,u.left=h.left+h.connection.left,u.top-=u.connection.top,u.left-=u.connection.left,this.options.stem){var m=o.stemDimensions.width,p={stem:{top:u.top+u.stem.connection.top,left:u.left+u.stem.connection.left},connection:{top:h.top+h.connection.top,left:h.left+h.connection.left},max:{top:h.top+h.max.top,left:h.left+h.max.left}};if(!Position.isPointWithinBox(p.stem.left,p.stem.top,p.connection.left,p.connection.top,p.max.left,p.max.top)){var p={stem:{top:u.top+u.stem.connection.top,left:u.left+u.stem.connection.left},connection:{top:h.top+h.connection.top,left:h.left+h.connection.left},max:{top:h.top+h.max.top,left:h.left+h.max.left}},f={connection:Position.getDistance(p.stem.left,p.stem.top,p.connection.left,p.connection.top),max:Position.getDistance(p.stem.left,p.stem.top,p.max.left,p.max.top)},g=Math.min(f.connection,f.max),v=p[f.connection<=f.max?"connection":"max"],b="horizontal"==Position.getOrientation(t)?"left":"top",y=Position.getDistance(p.connection.left,p.connection.top,p.max.left,p.max.top);if(y>=m){var w={top:0,left:0},S=v[b]<p.stem[b]?-1:1;w[b]=g*S,w[b]+=Math.floor(.5*m)*S,u.left+=w.left,u.top+=w.top}else{$.extend(p,{center:{top:Math.round(h.top+.5*n.height),left:Math.round(h.left+.5*n.left)}});var k={connection:Position.getDistance(p.center.left,p.center.top,p.connection.left,p.connection.top),max:Position.getDistance(p.center.left,p.center.top,p.max.left,p.max.top)},g=f[k.connection<=k.max?"connection":"max"],A={top:0,left:0},S=v[b]<p.stem[b]?-1:1;A[b]=g*S,u.left+=A.left,u.top+=A.top}}}if(this.options.offset){var C=$.extend({},this.options.offset);C=Position.adjustOffsetBasedOnPosition(C,this.options.position.target,e),u.top+=C.y,u.left+=C.x}var x=this.getContainment({top:u.top,left:u.left},t),T=x.horizontal&&x.vertical,M={x:0,y:0},E=Position.getOrientation(t);if(!x[E]){var P="horizontal"==E,B=P?["left","right"]:["up","down"],N=P?"x":"y",L=P?"left":"top",_=x.correction[N],I=this.getContainmentLayout(t),D=I.position[P?"left":"top"];if(0!==_){var R=o.connections[t].move,O=R[B[0>-1*_?0:1]],H=0>_?-1:1;if(O>=_*H&&u[L]+_>=D)u[L]+=_,M[N]=-1*_,T=!0;else if(Position.getOrientation(e)==Position.getOrientation(t)){if(u[L]+=O*H,M[N]=-1*O*H,u[L]<D){var z=D-u[L],K=R[B[0]]+R[B[1]],z=Math.min(z,K);u[L]+=z;var F=M[N]-z;F>=o.connections[t].move[B[0]]&&F<=o.connections[t].move[B[1]]&&(M[N]-=z)}x=this.getContainment({top:u.top,left:u.left},t);var G=x.correction[N],U=deepExtend({},u);this.options.offset&&(U.left-=this.options.offset.x,U.top-=this.options.offset.y);var p={stem:{top:U.top+u.stem.connection.top,left:U.left+u.stem.connection.left}};p.stem[L]+=M[N];var j=this.getTargetLayout(),m=o.stemDimensions.width,V=Math.floor(.5*m),W=D+I.dimensions[P?"width":"height"];if("x"==N){var Y=j.position.left+V;G>0&&(Y+=j.dimensions.width-2*V),(0>G&&p.stem.left+G>=Y&&U.left+G>=D||G>0&&p.stem.left+G<=Y&&U.left+G<=W)&&(U.left+=G)}else{var q=j.position.top+V;G>0&&(q+=j.dimensions.height-2*V),(0>G&&p.stem.top+G>=q&&U.top+G>=D||G>0&&p.stem.top+G<=q&&U.top+G<=W)&&(U.top+=G)}u=U,this.options.offset&&(u.left+=this.options.offset.x,u.top+=this.options.offset.y)}}x=this.getContainment({top:u.top,left:u.left},t),T=x.horizontal&&x.vertical}return{top:u.top,left:u.left,contained:T,shift:M}},setPosition:function(e,t){var n=this._position;if(!n||n.top!=e.top||n.left!=e.left){var a;if(this.options.container!=document.body){if("string"==$.type(this.options.container)){var i=this.target;"mouse"==i&&(i=this.element),a=$($(i).closest(this.options.container).first())}else a=$(a);if(a[0]){var o=$(a).offset(),s={top:Math.round(o.top),left:Math.round(o.left)},r={top:Math.round($(a).scrollTop()),left:Math.round($(a).scrollLeft())};e.top-=s.top,e.top+=r.top,e.left-=s.left,e.left+=r.left}}this._position=e,this._tooltip.css({top:e.top,left:e.left})}this.skin.setStemPosition(t||this.options.position.tooltip,e.shift||{x:0,y:0})},getSideLine:function(e,t){var n=e.position.left,a=e.position.top,i=e.position.left,o=e.position.top;switch(t){case"top":i+=e.dimensions.width;break;case"bottom":a+=e.dimensions.height,i+=e.dimensions.width,o+=e.dimensions.height;break;case"left":o+=e.dimensions.height;break;case"right":n+=e.dimensions.width,i+=e.dimensions.width,o+=e.dimensions.height}return{x1:n,y1:a,x2:i,y2:o}},isSideWithinContainment:function(e,t,n){var a=this.getContainmentLayout(t,n),i=this.getTargetLayout(),o=this.getSideLine(i,e);if(Position.isPointWithinBoxLayout(o.x1,o.y1,a)||Position.isPointWithinBoxLayout(o.x2,o.y2,a))return!0;var s=!1;return $.each("top right bottom left".split(" "),$.proxy(function(e,t){var n=this.getSideLine(a,t);return Position.intersectsLine(o.x1,o.y1,o.x2,o.y2,n.x1,n.y1,n.x2,n.y2)?(s=!0,!1):void 0},this)),s},getContainment:function(e,t){var n={horizontal:!0,vertical:!0,correction:{y:0,x:0}};if(this.options.containment){var a=this.getContainmentLayout(t),i=this.skin._vars.frames[Position.getSide(t)].dimensions;this.options.containment&&((e.left<a.position.left||e.left+i.width>a.position.left+a.dimensions.width)&&(n.horizontal=!1,n.correction.x=e.left<a.position.left?a.position.left-e.left:a.position.left+a.dimensions.width-(e.left+i.width)),(e.top<a.position.top||e.top+i.height>a.position.top+a.dimensions.height)&&(n.vertical=!1,n.correction.y=e.top<a.position.top?a.position.top-e.top:a.position.top+a.dimensions.height-(e.top+i.height)))}return n},getContainmentLayout:function(e,t){var n={top:$(window).scrollTop(),left:$(window).scrollLeft()},a=this.target;"mouse"==a&&(a=this.element);var i,o=$(a).closest(this.options.containment.selector).first()[0];i=o&&"viewport"!=this.options.containment.selector?{dimensions:{width:$(o).innerWidth(),height:$(o).innerHeight()},position:$(o).offset()}:{dimensions:Bounds.viewport(),position:n};var s=this.options.containment.padding;if(s&&!t){var r=Math.max(i.dimensions.height,i.dimensions.width);if(2*s>r&&(s=Math.max(Math.floor(.5*r),0)),s){i.dimensions.width-=2*s,i.dimensions.height-=2*s,i.position.top+=s,i.position.left+=s;var d=Position.getOrientation(e);"vertical"==d?(i.dimensions.width+=s,"left"==Position.getSide(e)&&(i.position.left-=s)):(i.dimensions.height+=s,"top"==Position.getSide(e)&&(i.position.top-=s))}}return this._cache.layouts.containmentLayout=i,i},getMouseRoom:function(){var e={top:0,left:0,right:0,bottom:0};if("mouse"==this.options.target&&!this.is("api")){var t=Mouse.getActualPosition(this._cache.event),n=$(this.element).offset(),a={width:$(this.element).innerWidth(),height:$(this.element).innerHeight()};e={top:Math.max(0,t.top-n.top),bottom:Math.max(0,n.top+a.height-t.top),left:Math.max(0,t.left-n.left),right:Math.max(0,n.left+a.width-t.left)}}return e},getTargetPosition:function(){var e;if("mouse"==this.options.target)if(this.is("api")){var t=$(this.element).offset();e={top:Math.round(t.top),left:Math.round(t.left)}}else e=Mouse.getPosition(this._cache.event);else{var t=$(this.target).offset();e={top:Math.round(t.top),left:Math.round(t.left)}}return this._cache.layouts.targetPosition=e,e},getTargetDimensions:function(){if(this._cache.layouts.targetDimensions)return this._cache.layouts.targetDimensions;var e;return e="mouse"==this.options.target?Mouse.getDimensions():{width:$(this.target).innerWidth(),height:$(this.target).innerHeight()},this._cache.layouts.targetDimensions=e,e},getTargetLayout:function(){if(this._cache.layouts.targetLayout)return this._cache.layouts.targetLayout;var e={position:this.getTargetPosition(),dimensions:this.getTargetDimensions()};return this._cache.layouts.targetLayout=e,e},getPaddingLine:function(e){var t=this.getTargetLayout(),n="left";if("vertical"==Position.getOrientation(e))return this.getSideLine(t,Position.getSide(e));if(Position.isCorner(e)){var a=Position.inverseCornerPlane(e);return n=Position.getSide(a),this.getSideLine(t,n)}var i=this.getSideLine(t,n),o=Math.round(.5*t.dimensions.width);return i.x1+=o,i.x2+=o,i}}),$.extend(Tooltip.prototype,{setActive:function(){this.is("active",!0),this.visible()&&this.raise(),this.options.hideAfter&&this.clearTimer("idle")},setIdle:function(){this.is("active",!1),this.options.hideAfter&&this.setTimer("idle",$.proxy(function(){this.clearTimer("idle"),this.is("active")||this.hide()},this),this.options.hideAfter)}}),$.extend(Tooltip.prototype,{bind:function(e,t,n,a){t=t;var i=$.proxy(n,a||this);this._cache.events.push({element:e,eventName:t,handler:i}),$(e).bind(t,i)},unbind:function(){$.each(this._cache.events,function(e,t){$(t.element).unbind(t.eventName,t.handler)}),this._cache.events=[]}}),$.extend(Tooltip.prototype,{disable:function(){this.is("disabled")||this.is("disabled",!0)},enable:function(){this.is("disabled")&&this.is("disabled",!1)}}),$.extend(Tooltip.prototype,{is:function(e,t){return"boolean"==$.type(t)&&(this._cache.is[e]=t),this._cache.is[e]},visible:function(){return this.is("visible")}}),$.extend(Tooltip.prototype,{setTimer:function(e,t,n){this._cache.timers[e]=_.delay(t,n)},getTimer:function(e){return this._cache.timers[e]},clearTimer:function(e){this._cache.timers[e]&&(clearTimeout(this._cache.timers[e]),delete this._cache.timers[e])},clearTimers:function(){$.each(this._cache.timers,function(e,t){clearTimeout(t)}),this._cache.timers={}}}),$.extend(Tipped,{init:function(){Tooltips.init()},create:function(e,t,n){return Collection.create(e,t,n),this.get(e)},get:function(e){return new Collection(e)},findElement:function(e){return Tooltips.findElement(e)},hideAll:function(){return Tooltips.hideAll(),this},setDefaultSkin:function(e){return Tooltips.setDefaultSkin(e),this},visible:function(e){if(_.isElement(e))return Tooltips.isVisibleByElement(e);if("undefined"!=$.type(e)){var t=$(e),n=0;return $.each(t,function(e,t){Tooltips.isVisibleByElement(t)&&n++}),n}return Tooltips.getVisible().length},clearAjaxCache:function(){return Tooltips.clearAjaxCache(),this},refresh:function(e,t,n){return Tooltips.refresh(e,t,n),this},setStartingZIndex:function(e){return Tooltips.setStartingZIndex(e),this}}),$.each("remove show hide toggle disable enable".split(" "),function(e,t){Tipped[t]=function(e){return this.get(e)[t](),this}}),$.extend(Tipped,{delegate:function(){Delegations.add.apply(Delegations,_slice.call(arguments))},undelegate:function(){Delegations.remove.apply(Delegations,_slice.call(arguments))}});var Delegations={_uid:0,_delegations:{},add:function(e,t,n){var n;"object"!=$.type(t)||_.isElement(t)?n=arguments[2]||{}:(n=t,t=null);var a=++this._uid,i=Options.create($.extend({},n));this._delegations[a]={uid:a,selector:e,content:t,options:i};var o=function(e){$(this).addClass("tpd-delegation-uid-"+a);var i=new Tooltip(this,t,n);i._cache.event=e,i.setActive(),i.showDelayed()};this._delegations[a].removeTitleHandler=$.proxy(this.removeTitle,this),$(document).delegate(e+":not(.tpd-delegation-uid-"+a+")","mouseenter",this._delegations[a].removeTitleHandler),this._delegations[a].handler=o,$(document).delegate(e+":not(.tpd-delegation-uid-"+a+")",i.showOn.element,o)},removeTitle:function(e){var t=e.currentTarget,n=$(t).attr("title");n&&($(t).data("tipped-restore-title",n),$(t)[0].setAttribute("title",""))},remove:function(e){$.each(this._delegations,$.proxy(function(t,n){n.selector==e&&($(document).undelegate(e+":not(.tpd-delegation-uid-"+t+")","mouseenter",n.removeTitleHandler).undelegate(e+":not(.tpd-delegation-uid-"+t+")",n.options.showOn.element,n.handler),delete this._delegations[t])},this))},removeAll:function(){$.each(this._delegations,$.proxy(function(e,t){$(document).undelegate(selector+":not(.tpd-delegation-uid-"+e+")","mouseenter",t.removeTitleHandler).undelegate(t.selector+":not(.tpd-delegation-uid-"+e+")",t.options.showOn.element,t.handler),delete this._delegations[e]},this))}};return $.extend(Collection,{create:function(e,t){if(e){"object"==$.type(e)&&(e=$(e)[0]);var n=arguments[2]||{};return _.isElement(e)?new Tooltip(e,t,n):$(e).each(function(e,a){new Tooltip(a,t,n)}),this}}}),$.extend(Collection.prototype,{items:function(){return Tooltips.get(this.element,{api:!0})},refresh:function(e){return Tooltips.refresh(this.element,e),this},remove:function(){return Tooltips.remove(this.element),this}}),$.each("show hide toggle disable enable".split(" "),function(e,t){Collection.prototype[t]=function(){return $.each(this.items(),function(e,n){n[t]()}),this}}),Tipped.init(),Tipped}),function(e,t){var n=!!e.fn.jquery,a=/Firefox/.test(navigator.userAgent),i=/Mobile/.test(navigator.userAgent),o={speed:60,gap:20,loop:!0,removeTitle:!0,snapback:!0,alwaysOn:!1,addStyles:!0,target:!1,startEvent:i?"touchstart":n?"mouseenter":"mouseover",stopEvent:i?"touchend":n?"mouseleave":"mouseout"};e.fn.hoverForMore=function(t){var n,s,r,d=this,l=document.getElementsByTagName("head")[0];t=e.extend({},o,t);var c=t.target||d.selector;t.alwaysOn&&(t.loop=!0,t.startEvent="startLooping");var h=!!document.body.style.animationName,u="animation",m="transition",p="transform",f="Webkit Moz O ms Khtml".split(" "),g="";
if(h===!1)for(var v=0;v<f.length;v++)if(void 0!==document.body.style[f[v]+"AnimationName"]){g=f[v],u=g+"Animation",m=g+"Transition",p=g+"Transform",cssPrefix="-"+g.toLowerCase()+"-",h=!0;break}if(t.addStyles&&l.appendChild(e('<style type="text/css">'+d.selector+"{cursor:default;text-align:left;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"+cssPrefix+"user-select: none;}</style>")[0]),!h)return e(t.target||d.selector).each(function(t,n){var a=e(n);a.attr("title",e.trim(a.text()))}),d;if(t.loop){var b=e('<style type="text/css"></style>'),y=e('<style type="text/css"></style>');l.appendChild(b[0]),l.appendChild(y[0])}else e(d.selector).each(function(e,t){t.style[p]="translateX(0px)"});return e(c).on(t.startEvent,function(o){r=(new Date).getTime();var l=e(t.target?d.selector:this).filter(":first");if(!l.length)return!0;var c=l.parent(),h=l[0].scrollWidth-l.width();if(h<=0)return!0;if(t.removeTitle&&l.removeAttr("title"),s=s||c.css("overflow"),n=n||l.css("overflow"),c.css("overflow","hidden"),i&&t.addStyles&&e("body").css(cssPrefix+"user-select","none"),l.css("overflow","visible").addClass("scrolling"),t.loop){l.children(".hoverForMoreContent").remove();var f=e('<span class="hoverForMoreContent" />').css({paddingLeft:parseInt(t.gap)+"px"}).text(l.text());l.append(f);var g=f.width()+parseInt(t.gap),v="@"+cssPrefix+"keyframes hoverForMoreSlide { from {"+cssPrefix+"transform:translateX( 0 ) }to {"+cssPrefix+"transform:translateX( -"+g+"px ) }}";b[0].innerHTML=v;var y=g/parseFloat(t.speed);l[0].style[u]="hoverForMoreSlide "+y+"s linear infinite"}else{var y=h/parseFloat(t.speed);l[0].style[m]=cssPrefix+"transform "+y+"s linear",a?setTimeout(function(){l[0].style[p]="translateX(-"+h+"px)"},0):l[0].style[p]="translateX(-"+h+"px)"}}),t.alwaysOn||e(c).on(t.stopEvent,function(o){var l=e(t.target?d.selector:this).filter(":first");if(!l.length)return!0;if(t.loop)if(t.snapback){var c=l.children(".hoverForMoreContent").width()+parseInt(t.gap),h=.001*((new Date).getTime()-r),f=h*t.speed%c,g=f>c/2,v="@"+cssPrefix+"keyframes hoverForMoreSlideReverse { from {"+cssPrefix+"transform:translateX( "+(0-f)+"px ) }to {"+cssPrefix+"transform:translateX( "+(g?0-c:0)+"px ) }}";y[0].innerHTML=v;var b=.2*(g?c-f:f)/parseFloat(t.speed);l[0].style[u]="hoverForMoreSlideReverse "+(b>1?1:b)+"s linear",l.removeClass("scrolling"),setTimeout(function(){l.is(".scrolling")||(l.children(".hoverForMoreContent").remove(),l.css("overflow",n),l.parent().css("overflow",s),i&&t.addStyles&&e("body").css(cssPrefix+"user-select","text"))},1e3*b- -50)}else l[0].style[u]="",l.css("overflow",n).find(".hoverForMoreContent").remove(),l.parent().css("overflow",s),i&&t.addStyles&&e("body").css(cssPrefix+"user-select","text");else{var h=((new Date).getTime()-r)/1e3,w=l[0].style[m].match(/transform (.*)s/),b=w&&w[1]&&parseFloat(w[1])<h?parseFloat(w[1]):h;b*=.5,t.snapback?l[0].style[m]=cssPrefix+"transform "+b+"s linear":l[0].style[m]="",l.removeClass("scrolling"),a?setTimeout(function(){l[0].style[p]="translateX(0px)"},0):l[0].style[p]="translateX(0px)",t.snapback?setTimeout(function(){l.is(".scrolling")||(l.css("overflow",n),i&&t.addStyles&&e("body").css(cssPrefix+"user-select","text"))},1e3*b):(l.css("overflow",n),i&&t.addStyles&&e("body").css(cssPrefix+"user-select","text"))}}),d.refresh=function(){e(d.selector).each(function(n,a){e(a).not(".scrolling").trigger(t.startEvent)})},t.alwaysOn&&d.refresh(),d}}(window.jQuery||$),/*!
 * hoverIntent v1.8.0 // 2014.06.29 // jQuery v1.9.1+
 * http://cherne.net/brian/resources/jquery.hoverIntent.html
 *
 * You may use hoverIntent under the terms of the MIT license. Basically that
 * means you are free to use hoverIntent as long as this header is left intact.
 * Copyright 2007, 2014 Brian Cherne
 */
function(e){e.fn.hoverIntent=function(t,n,a){var i={interval:100,sensitivity:6,timeout:0};i="object"==typeof t?e.extend(i,t):e.isFunction(n)?e.extend(i,{over:t,out:n,selector:a}):e.extend(i,{over:t,out:t,selector:n});var o,s,r,d,l=function(e){o=e.pageX,s=e.pageY},c=function(t,n){return n.hoverIntent_t=clearTimeout(n.hoverIntent_t),Math.sqrt((r-o)*(r-o)+(d-s)*(d-s))<i.sensitivity?(e(n).off("mousemove.hoverIntent",l),n.hoverIntent_s=!0,i.over.apply(n,[t])):(r=o,d=s,n.hoverIntent_t=setTimeout(function(){c(t,n)},i.interval),void 0)},h=function(e,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=!1,i.out.apply(t,[e])},u=function(t){var n=e.extend({},t),a=this;a.hoverIntent_t&&(a.hoverIntent_t=clearTimeout(a.hoverIntent_t)),"mouseenter"===t.type?(r=n.pageX,d=n.pageY,e(a).on("mousemove.hoverIntent",l),a.hoverIntent_s||(a.hoverIntent_t=setTimeout(function(){c(n,a)},i.interval))):(e(a).off("mousemove.hoverIntent",l),a.hoverIntent_s&&(a.hoverIntent_t=setTimeout(function(){h(n,a)},i.timeout)))};return this.on({"mouseenter.hoverIntent":u,"mouseleave.hoverIntent":u},i.selector)}}(jQuery),
// License: MIT
function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports&&"object"==typeof module?module.exports=e(require("jquery")):e(jQuery)}(function(e,t){"use strict";function n(t,n,a,i){for(var o=[],s=0;s<t.length;s++){var r=t[s];if(r){var d=tinycolor(r),l=d.toHsl().l<.5?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light";l+=tinycolor.equals(n,r)?" sp-thumb-active":"";var c=d.toString(i.preferredFormat||"rgb"),h=g?"background-color:"+d.toRgbString():"filter:"+d.toFilter();o.push('<span title="'+c+'" data-color="'+d.toRgbString()+'" class="'+l+'"><span class="sp-thumb-inner" style="'+h+';" /></span>')}else{var u="sp-clear-display";o.push(e("<div />").append(e('<span data-color="" style="background-color:transparent;" class="'+u+'"></span>').attr("title",i.noColorSelectedText)).html())}}return"<div class='sp-cf "+a+"'>"+o.join("")+"</div>"}function a(){for(var e=0;e<p.length;e++)p[e]&&p[e].hide()}function i(t,n){var a=e.extend({},m,t);return a.callbacks={move:l(a.move,n),change:l(a.change,n),show:l(a.show,n),hide:l(a.hide,n),beforeShow:l(a.beforeShow,n)},a}function o(o,r){function l(){if(V.showPaletteOnly&&(V.showPalette=!0),Oe.text(V.showPaletteOnly?V.togglePaletteMoreText:V.togglePaletteLessText),V.palette){me=V.palette.slice(0),pe=e.isArray(me[0])?me:[me],fe={};for(var t=0;t<pe.length;t++)for(var n=0;n<pe[t].length;n++){var a=tinycolor(pe[t][n]).toRgbString();fe[a]=!0}}Ae.toggleClass("sp-flat",W),Ae.toggleClass("sp-input-disabled",!V.showInput),Ae.toggleClass("sp-alpha-enabled",V.showAlpha),Ae.toggleClass("sp-clear-enabled",Je),Ae.toggleClass("sp-buttons-disabled",!V.showButtons),Ae.toggleClass("sp-palette-buttons-disabled",!V.togglePaletteOnly),Ae.toggleClass("sp-palette-disabled",!V.showPalette),Ae.toggleClass("sp-palette-only",V.showPaletteOnly),Ae.toggleClass("sp-initial-disabled",!V.showInitial),Ae.addClass(V.className).addClass(V.containerClassName),z()}function m(){function t(t){return t.data&&t.data.ignore?(_(e(t.target).closest(".sp-thumb-el").data("color")),$()):(_(e(t.target).closest(".sp-thumb-el").data("color")),$(),H(!0),V.hideAfterPaletteSelect&&N()),!1}if(f&&Ae.find("*:not(input)").attr("unselectable","on"),l(),Ke&&Se.after(Fe).hide(),Je||$e.hide(),W)Se.after(Ae).hide();else{var n="parent"===V.appendTo?Se.parent():e(V.appendTo);1!==n.length&&(n=e("body")),n.append(Ae)}y(),Ge.bind("click.spectrum touchstart.spectrum",function(t){ke||M(),t.stopPropagation(),e(t.target).is("input")||t.preventDefault()}),(Se.is(":disabled")||V.disabled===!0)&&U(),Ae.click(d),Le.change(T),Le.bind("paste",function(){setTimeout(T,1)}),Le.keydown(d),De.text(V.cancelText),De.bind("click.spectrum",function(e){e.stopPropagation(),e.preventDefault(),L(),N()}),$e.attr("title",V.clearText),$e.bind("click.spectrum",function(e){e.stopPropagation(),e.preventDefault(),qe=!0,$(),W&&H(!0)}),Re.text(V.chooseText),Re.bind("click.spectrum",function(e){e.stopPropagation(),e.preventDefault(),f&&Le.is(":focus")&&Le.trigger("change"),D()&&(H(!0),setTimeout(function(){N()},220))}),Oe.text(V.showPaletteOnly?V.togglePaletteMoreText:V.togglePaletteLessText),Oe.bind("click.spectrum",function(e){e.stopPropagation(),e.preventDefault(),V.showPaletteOnly=!V.showPaletteOnly,V.showPaletteOnly||W||Ae.css("left","-="+(Ce.outerWidth(!0)+5)),l()}),c(Be,function(e,t,n){ue=e/se,qe=!1,n.shiftKey&&(ue=Math.round(10*ue)/10),$()},C,x),c(Me,function(e,t){le=parseFloat(t/ie),qe=!1,V.showAlpha||(ue=1),$()},C,x),c(xe,function(e,t,n){if(n.shiftKey){if(!ye){var a=ce*te,i=ne-he*ne,o=Math.abs(e-a)>Math.abs(t-i);ye=o?"x":"y"}}else ye=null;var s=!ye||"x"===ye,r=!ye||"y"===ye;s&&(ce=parseFloat(e/te)),r&&(he=parseFloat((ne-t)/ne)),qe=!1,V.showAlpha||(ue=1),$()},C,x),je?(_(je),R(),We=V.preferredFormat||tinycolor(je).format,w(je)):R(),W&&E();var a=f?"mousedown.spectrum":"click.spectrum touchstart.spectrum";_e.delegate(".sp-thumb-el",a,t),Ie.delegate(".sp-thumb-el:nth-child(1)",a,{ignore:!0},t)}function y(){if(q&&window.localStorage){try{var t=window.localStorage[q].split(",#");t.length>1&&(delete window.localStorage[q],e.each(t,function(e,t){w(t)}))}catch(n){}try{ge=window.localStorage[q].split(";")}catch(n){}}}function w(t){if(Y){var n=tinycolor(t).toRgbString();if(!fe[n]&&e.inArray(n,ge)===-1)for(ge.push(n);ge.length>ve;)ge.shift();if(q&&window.localStorage)try{window.localStorage[q]=ge.join(";")}catch(a){}}}function S(){var e=[];if(V.showPalette)for(var t=0;t<ge.length;t++){var n=tinycolor(ge[t]).toRgbString();fe[n]||e.push(ge[t])}return e.reverse().slice(0,V.maxSelectionSize)}function k(){var t=I(),a=e.map(pe,function(e,a){return n(e,t,"sp-palette-row sp-palette-row-"+a,V)});y(),ge&&a.push(n(S(),t,"sp-palette-row sp-palette-row-selection",V)),_e.html(a.join(""))}function A(){if(V.showInitial){var e=Ve,t=I();Ie.html(n([e,t],t,"sp-palette-row-initial",V))}}function C(){(ne<=0||te<=0||ie<=0)&&z(),ee=!0,Ae.addClass(be),ye=null,Se.trigger("dragstart.spectrum",[I()])}function x(){ee=!1,Ae.removeClass(be),Se.trigger("dragstop.spectrum",[I()])}function T(){var e=Le.val();if(null!==e&&""!==e||!Je){var t=tinycolor(e);t.isValid()?(_(t),H(!0)):Le.addClass("sp-validation-error")}else _(null),H(!0)}function M(){Q?N():E()}function E(){var t=e.Event("beforeShow.spectrum");return Q?void z():(Se.trigger(t,[I()]),void(Z.beforeShow(I())===!1||t.isDefaultPrevented()||(a(),Q=!0,e(we).bind("keydown.spectrum",P),e(we).bind("click.spectrum",B),e(window).bind("resize.spectrum",X),Fe.addClass("sp-active"),Ae.removeClass("sp-hidden"),z(),R(),Ve=I(),A(),Z.show(Ve),Se.trigger("show.spectrum",[Ve]))))}function P(e){27===e.keyCode&&N()}function B(e){2!=e.button&&(ee||(Ye?H(!0):L(),N()))}function N(){Q&&!W&&(Q=!1,e(we).unbind("keydown.spectrum",P),e(we).unbind("click.spectrum",B),e(window).unbind("resize.spectrum",X),Fe.removeClass("sp-active"),Ae.addClass("sp-hidden"),Z.hide(I()),Se.trigger("hide.spectrum",[I()]))}function L(){_(Ve,!0)}function _(e,t){if(tinycolor.equals(e,I()))return void R();var n,a;!e&&Je?qe=!0:(qe=!1,n=tinycolor(e),a=n.toHsv(),le=a.h%360/360,ce=a.s,he=a.v,ue=a.a),R(),n&&n.isValid()&&!t&&(We=V.preferredFormat||n.getFormat())}function I(e){return e=e||{},Je&&qe?null:tinycolor.fromRatio({h:le,s:ce,v:he,a:Math.round(100*ue)/100},{format:e.format||We})}function D(){return!Le.hasClass("sp-validation-error")}function $(){R(),Z.move(I()),Se.trigger("move.spectrum",[I()])}function R(){Le.removeClass("sp-validation-error"),O();var e=tinycolor.fromRatio({h:le,s:1,v:1});xe.css("background-color",e.toHexString());var t=We;ue<1&&(0!==ue||"name"!==t)&&("hex"!==t&&"hex3"!==t&&"hex6"!==t&&"name"!==t||(t="rgb"));var n=I({format:t}),a="";if(Ue.removeClass("sp-clear-display"),Ue.css("background-color","transparent"),!n&&Je)Ue.addClass("sp-clear-display");else{var i=n.toHexString(),o=n.toRgbString();if(g||1===n.alpha?Ue.css("background-color",o):(Ue.css("background-color","transparent"),Ue.css("filter",n.toFilter())),V.showAlpha){var s=n.toRgb();s.a=0;var r=tinycolor(s).toRgbString(),d="linear-gradient(left, "+r+", "+i+")";f?Pe.css("filter",tinycolor(r).toFilter({gradientType:1},i)):(Pe.css("background","-webkit-"+d),Pe.css("background","-moz-"+d),Pe.css("background","-ms-"+d),Pe.css("background","linear-gradient(to right, "+r+", "+i+")"))}a=n.toString(t)}V.showInput&&Le.val(a),V.showPalette&&k(),A()}function O(){var e=ce,t=he;if(Je&&qe)Ne.hide(),Ee.hide(),Te.hide();else{Ne.show(),Ee.show(),Te.show();var n=e*te,a=ne-t*ne;n=Math.max(-ae,Math.min(te-ae,n-ae)),a=Math.max(-ae,Math.min(ne-ae,a-ae)),Te.css({top:a+"px",left:n+"px"});var i=ue*se;Ne.css({left:i-re/2+"px"});var o=le*ie;Ee.css({top:o-de+"px"})}}function H(e){var t=I(),n="";!tinycolor.equals(t,Ve);t&&(n=t.toString(We),w(t)),He&&Se.val(n),e&&(Z.change(t),Se.trigger("change",[t]))}function z(){Q&&(te=xe.width(),ne=xe.height(),ae=Te.height(),oe=Me.width(),ie=Me.height(),de=Ee.height(),se=Be.width(),re=Ne.width(),W||(Ae.css("position","absolute"),V.offset?Ae.offset(V.offset):Ae.offset(s(Ae,Ge))),O(),V.showPalette&&k(),Se.trigger("reflow.spectrum"))}function K(){Se.show(),Ge.unbind("click.spectrum touchstart.spectrum"),Ae.remove(),Fe.remove(),p[Ze.id]=null}function F(n,a){return n===t?e.extend({},V):a===t?V[n]:(V[n]=a,"preferredFormat"===n&&(We=V.preferredFormat),void l())}function G(){ke=!1,Se.attr("disabled",!1),Ge.removeClass("sp-disabled")}function U(){N(),ke=!0,Se.attr("disabled",!0),Ge.addClass("sp-disabled")}function j(e){V.offset=e,z()}var V=i(r,o),W=V.flat,Y=V.showSelectionPalette,q=V.localStorageKey,J=V.theme,Z=V.callbacks,X=h(z,10),Q=!1,ee=!1,te=0,ne=0,ae=0,ie=0,oe=0,se=0,re=0,de=0,le=0,ce=0,he=0,ue=1,me=[],pe=[],fe={},ge=V.selectionPalette.slice(0),ve=V.maxSelectionSize,be="sp-dragging",ye=null,we=o.ownerDocument,Se=(we.body,e(o)),ke=!1,Ae=e(b,we).addClass(J),Ce=Ae.find(".sp-picker-container"),xe=Ae.find(".sp-color"),Te=Ae.find(".sp-dragger"),Me=Ae.find(".sp-hue"),Ee=Ae.find(".sp-slider"),Pe=Ae.find(".sp-alpha-inner"),Be=Ae.find(".sp-alpha"),Ne=Ae.find(".sp-alpha-handle"),Le=Ae.find(".sp-input"),_e=Ae.find(".sp-palette"),Ie=Ae.find(".sp-initial"),De=Ae.find(".sp-cancel"),$e=Ae.find(".sp-clear"),Re=Ae.find(".sp-choose"),Oe=Ae.find(".sp-palette-toggle"),He=Se.is("input"),ze=He&&"color"===Se.attr("type")&&u(),Ke=He&&!W,Fe=Ke?e(v).addClass(J).addClass(V.className).addClass(V.replacerClassName):e([]),Ge=Ke?Fe:Se,Ue=Fe.find(".sp-preview-inner"),je=V.color||He&&Se.val(),Ve=!1,We=V.preferredFormat,Ye=!V.showButtons||V.clickoutFiresChange,qe=!je,Je=V.allowEmpty&&!ze;m();var Ze={show:E,hide:N,toggle:M,reflow:z,option:F,enable:G,disable:U,offset:j,set:function(e){_(e),H()},get:I,destroy:K,container:Ae};return Ze.id=p.push(Ze)-1,Ze}function s(t,n){var a=0,i=t.outerWidth(),o=t.outerHeight(),s=n.outerHeight(),r=t[0].ownerDocument,d=r.documentElement,l=d.clientWidth+e(r).scrollLeft(),c=d.clientHeight+e(r).scrollTop(),h=n.offset();return h.top+=s,h.left-=Math.min(h.left,h.left+i>l&&l>i?Math.abs(h.left+i-l):0),h.top-=Math.min(h.top,h.top+o>c&&c>o?Math.abs(o+s-a):a),h}function r(){}function d(e){e.stopPropagation()}function l(e,t){var n=Array.prototype.slice,a=n.call(arguments,2);return function(){return e.apply(t,a.concat(n.call(arguments)))}}function c(t,n,a,i){function o(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.returnValue=!1}function s(e){if(c){if(f&&l.documentMode<9&&!e.button)return d();var a=e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches[0],i=a&&a.pageX||e.pageX,s=a&&a.pageY||e.pageY,r=Math.max(0,Math.min(i-h.left,m)),g=Math.max(0,Math.min(s-h.top,u));p&&o(e),n.apply(t,[r,g,e])}}function r(n){var i=n.which?3==n.which:2==n.button;i||c||a.apply(t,arguments)!==!1&&(c=!0,u=e(t).height(),m=e(t).width(),h=e(t).offset(),e(l).bind(g),e(l.body).addClass("sp-dragging"),s(n),o(n))}function d(){c&&(e(l).unbind(g),e(l.body).removeClass("sp-dragging"),setTimeout(function(){i.apply(t,arguments)},0)),c=!1}n=n||function(){},a=a||function(){},i=i||function(){};var l=document,c=!1,h={},u=0,m=0,p="ontouchstart"in window,g={};g.selectstart=o,g.dragstart=o,g["touchmove mousemove"]=s,g["touchend mouseup"]=d,e(t).bind("touchstart mousedown",r)}function h(e,t,n){var a;return function(){var i=this,o=arguments,s=function(){a=null,e.apply(i,o)};n&&clearTimeout(a),!n&&a||(a=setTimeout(s,t))}}function u(){return e.fn.spectrum.inputTypeColorSupport()}var m={beforeShow:r,move:r,change:r,show:r,hide:r,color:!1,flat:!1,showInput:!1,allowEmpty:!1,showButtons:!0,clickoutFiresChange:!0,showInitial:!1,showPalette:!1,showPaletteOnly:!1,hideAfterPaletteSelect:!1,togglePaletteOnly:!1,showSelectionPalette:!0,localStorageKey:!1,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",togglePaletteMoreText:"more",togglePaletteLessText:"less",clearText:"Clear Color Selection",noColorSelectedText:"No Color Selected",preferredFormat:!1,className:"",containerClassName:"",replacerClassName:"",showAlpha:!1,theme:"sp-light",palette:[["#ffffff","#000000","#ff0000","#ff8000","#ffff00","#008000","#0000ff","#4b0082","#9400d3"]],selectionPalette:[],disabled:!1,offset:null},p=[],f=!!/msie/i.exec(window.navigator.userAgent),g=function(){function e(e,t){return!!~(""+e).indexOf(t)}var t=document.createElement("div"),n=t.style;return n.cssText="background-color:rgba(0,0,0,.5)",e(n.backgroundColor,"rgba")||e(n.backgroundColor,"hsla")}(),v=["<div class='sp-replacer'>","<div class='sp-preview'><div class='sp-preview-inner'></div></div>","<div class='sp-dd'>&#9660;</div>","</div>"].join(""),b=function(){var e="";if(f)for(var t=1;t<=6;t++)e+="<div class='sp-"+t+"'></div>";return["<div class='sp-container sp-hidden'>","<div class='sp-palette-container'>","<div class='sp-palette sp-thumb sp-cf'></div>","<div class='sp-palette-button-container sp-cf'>","<button type='button' class='sp-palette-toggle'></button>","</div>","</div>","<div class='sp-picker-container'>","<div class='sp-top sp-cf'>","<div class='sp-fill'></div>","<div class='sp-top-inner'>","<div class='sp-color'>","<div class='sp-sat'>","<div class='sp-val'>","<div class='sp-dragger'></div>","</div>","</div>","</div>","<div class='sp-clear sp-clear-display'>","</div>","<div class='sp-hue'>","<div class='sp-slider'></div>",e,"</div>","</div>","<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>","</div>","<div class='sp-input-container sp-cf'>","<input class='sp-input' type='text' spellcheck='false'  />","</div>","<div class='sp-initial sp-thumb sp-cf'></div>","<div class='sp-button-container sp-cf'>","<a class='sp-cancel' href='#'></a>","<button type='button' class='sp-choose'></button>","</div>","</div>","</div>"].join("")}(),y="spectrum.id";e.fn.spectrum=function(t,n){if("string"==typeof t){var a=this,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=p[e(this).data(y)];if(n){var o=n[t];if(!o)throw new Error("Spectrum: no such method: '"+t+"'");"get"==t?a=n.get():"container"==t?a=n.container:"option"==t?a=n.option.apply(n,i):"destroy"==t?(n.destroy(),e(this).removeData(y)):o.apply(n,i)}}),a}return this.spectrum("destroy").each(function(){var n=e.extend({},t,e(this).data()),a=o(this,n);e(this).data(y,a.id)})},e.fn.spectrum.load=!0,e.fn.spectrum.loadOpts={},e.fn.spectrum.draggable=c,e.fn.spectrum.defaults=m,e.fn.spectrum.inputTypeColorSupport=function w(){if("undefined"==typeof w._cachedResult){var t=e("<input type='color'/>")[0];w._cachedResult="color"===t.type&&""!==t.value}return w._cachedResult},e.spectrum={},e.spectrum.localization={},e.spectrum.palettes={},e.fn.spectrum.processNativeColorInputs=function(){var t=e("input[type=color]");t.length&&!u()&&t.spectrum({preferredFormat:"hex6"})},
// Brian Grinstead, MIT License
function(){function e(e){var n={r:0,g:0,b:0},i=1,s=!1,r=!1;return"string"==typeof e&&(e=L(e)),"object"==typeof e&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?(n=t(e.r,e.g,e.b),s=!0,r="%"===String(e.r).substr(-1)?"prgb":"rgb"):e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")?(e.s=P(e.s),e.v=P(e.v),n=o(e.h,e.s,e.v),s=!0,r="hsv"):e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")&&(e.s=P(e.s),e.l=P(e.l),n=a(e.h,e.s,e.l),s=!0,r="hsl"),e.hasOwnProperty("a")&&(i=e.a)),i=k(i),{ok:s,format:e.format||r,r:O(255,H(n.r,0)),g:O(255,H(n.g,0)),b:O(255,H(n.b,0)),a:i}}function t(e,t,n){return{r:255*A(e,255),g:255*A(t,255),b:255*A(n,255)}}function n(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var a,i,o=H(e,t,n),s=O(e,t,n),r=(o+s)/2;if(o==s)a=i=0;else{var d=o-s;switch(i=r>.5?d/(2-o-s):d/(o+s),o){case e:a=(t-n)/d+(t<n?6:0);break;case t:a=(n-e)/d+2;break;case n:a=(e-t)/d+4}a/=6}return{h:a,s:i,l:r}}function a(e,t,n){function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var i,o,s;if(e=A(e,360),t=A(t,100),n=A(n,100),0===t)i=o=s=n;else{var r=n<.5?n*(1+t):n+t-n*t,d=2*n-r;i=a(d,r,e+1/3),o=a(d,r,e),s=a(d,r,e-1/3)}return{r:255*i,g:255*o,b:255*s}}function i(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var a,i,o=H(e,t,n),s=O(e,t,n),r=o,d=o-s;if(i=0===o?0:d/o,o==s)a=0;else{switch(o){case e:a=(t-n)/d+(t<n?6:0);break;case t:a=(n-e)/d+2;break;case n:a=(e-t)/d+4}a/=6}return{h:a,s:i,v:r}}function o(e,t,n){e=6*A(e,360),t=A(t,100),n=A(n,100);var a=$.floor(e),i=e-a,o=n*(1-t),s=n*(1-i*t),r=n*(1-(1-i)*t),d=a%6,l=[n,s,o,o,r,n][d],c=[r,n,n,s,o,o][d],h=[o,o,r,n,n,s][d];return{r:255*l,g:255*c,b:255*h}}function s(e,t,n,a){var i=[E(R(e).toString(16)),E(R(t).toString(16)),E(R(n).toString(16))];return a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function r(e,t,n,a){var i=[E(B(a)),E(R(e).toString(16)),E(R(t).toString(16)),E(R(n).toString(16))];return i.join("")}function d(e,t){t=0===t?0:t||10;var n=K(e).toHsl();return n.s-=t/100,n.s=C(n.s),K(n)}function l(e,t){t=0===t?0:t||10;var n=K(e).toHsl();return n.s+=t/100,n.s=C(n.s),K(n)}function c(e){return K(e).desaturate(100)}function h(e,t){t=0===t?0:t||10;var n=K(e).toHsl();return n.l+=t/100,n.l=C(n.l),K(n)}function u(e,t){t=0===t?0:t||10;var n=K(e).toRgb();return n.r=H(0,O(255,n.r-R(255*-(t/100)))),n.g=H(0,O(255,n.g-R(255*-(t/100)))),n.b=H(0,O(255,n.b-R(255*-(t/100)))),K(n)}function m(e,t){t=0===t?0:t||10;var n=K(e).toHsl();return n.l-=t/100,n.l=C(n.l),K(n)}function p(e,t){var n=K(e).toHsl(),a=(R(n.h)+t)%360;return n.h=a<0?360+a:a,K(n)}function f(e){var t=K(e).toHsl();return t.h=(t.h+180)%360,K(t)}function g(e){var t=K(e).toHsl(),n=t.h;return[K(e),K({h:(n+120)%360,s:t.s,l:t.l}),K({h:(n+240)%360,s:t.s,l:t.l})]}function v(e){var t=K(e).toHsl(),n=t.h;return[K(e),K({h:(n+90)%360,s:t.s,l:t.l}),K({h:(n+180)%360,s:t.s,l:t.l}),K({h:(n+270)%360,s:t.s,l:t.l})]}function b(e){var t=K(e).toHsl(),n=t.h;return[K(e),K({h:(n+72)%360,s:t.s,l:t.l}),K({h:(n+216)%360,s:t.s,l:t.l})]}function y(e,t,n){t=t||6,n=n||30;var a=K(e).toHsl(),i=360/n,o=[K(e)];for(a.h=(a.h-(i*t>>1)+720)%360;--t;)a.h=(a.h+i)%360,o.push(K(a));return o}function w(e,t){t=t||6;for(var n=K(e).toHsv(),a=n.h,i=n.s,o=n.v,s=[],r=1/t;t--;)s.push(K({h:a,s:i,v:o})),o=(o+r)%1;return s}function S(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function k(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function A(e,t){T(e)&&(e="100%");var n=M(e);return e=O(t,H(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),$.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function C(e){return O(1,H(0,e))}function x(e){return parseInt(e,16)}function T(e){return"string"==typeof e&&e.indexOf(".")!=-1&&1===parseFloat(e)}function M(e){return"string"==typeof e&&e.indexOf("%")!=-1}function E(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function B(e){return Math.round(255*parseFloat(e)).toString(16)}function N(e){return x(e)/255}function L(e){e=e.replace(_,"").replace(I,"").toLowerCase();var t=!1;if(F[e])e=F[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=U.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=U.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=U.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=U.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=U.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=U.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=U.hex8.exec(e))?{a:N(n[1]),r:x(n[2]),g:x(n[3]),b:x(n[4]),format:t?"name":"hex8"}:(n=U.hex6.exec(e))?{r:x(n[1]),g:x(n[2]),b:x(n[3]),format:t?"name":"hex"}:!!(n=U.hex3.exec(e))&&{r:x(n[1]+""+n[1]),g:x(n[2]+""+n[2]),b:x(n[3]+""+n[3]),format:t?"name":"hex"}}var _=/^[\s,#]+/,I=/\s+$/,D=0,$=Math,R=$.round,O=$.min,H=$.max,z=$.random,K=function(t,n){if(t=t?t:"",n=n||{},t instanceof K)return t;if(!(this instanceof K))return new K(t,n);var a=e(t);this._originalInput=t,this._r=a.r,this._g=a.g,this._b=a.b,this._a=a.a,this._roundA=R(100*this._a)/100,this._format=n.format||a.format,this._gradientType=n.gradientType,this._r<1&&(this._r=R(this._r)),this._g<1&&(this._g=R(this._g)),this._b<1&&(this._b=R(this._b)),this._ok=a.ok,this._tc_id=D++};K.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},setAlpha:function(e){return this._a=k(e),this._roundA=R(100*this._a)/100,this},toHsv:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=i(this._r,this._g,this._b),t=R(360*e.h),n=R(100*e.s),a=R(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+a+"%)":"hsva("+t+", "+n+"%, "+a+"%, "+this._roundA+")"},toHsl:function(){var e=n(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=n(this._r,this._g,this._b),t=R(360*e.h),a=R(100*e.s),i=R(100*e.l);return 1==this._a?"hsl("+t+", "+a+"%, "+i+"%)":"hsla("+t+", "+a+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return s(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return r(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:R(this._r),g:R(this._g),b:R(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+R(this._r)+", "+R(this._g)+", "+R(this._b)+")":"rgba("+R(this._r)+", "+R(this._g)+", "+R(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:R(100*A(this._r,255))+"%",g:R(100*A(this._g,255))+"%",b:R(100*A(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+R(100*A(this._r,255))+"%, "+R(100*A(this._g,255))+"%, "+R(100*A(this._b,255))+"%)":"rgba("+R(100*A(this._r,255))+"%, "+R(100*A(this._g,255))+"%, "+R(100*A(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(G[s(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+r(this._r,this._g,this._b,this._a),n=t,a=this._gradientType?"GradientType = 1, ":"";if(e){var i=K(e);n=i.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+a+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,a=this._a<1&&this._a>=0,i=!t&&a&&("hex"===e||"hex6"===e||"hex3"===e||"name"===e);return i?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(h,arguments)},brighten:function(){return this._applyModification(u,arguments)},darken:function(){return this._applyModification(m,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(l,arguments)},greyscale:function(){return this._applyModification(c,arguments)},spin:function(){return this._applyModification(p,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(y,arguments)},complement:function(){return this._applyCombination(f,arguments)},monochromatic:function(){return this._applyCombination(w,arguments)},splitcomplement:function(){return this._applyCombination(b,arguments)},triad:function(){return this._applyCombination(g,arguments)},tetrad:function(){return this._applyCombination(v,arguments)}},K.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var a in e)e.hasOwnProperty(a)&&("a"===a?n[a]=e[a]:n[a]=P(e[a]));e=n}return K(e,t)},K.equals=function(e,t){return!(!e||!t)&&K(e).toRgbString()==K(t).toRgbString()},K.random=function(){return K.fromRatio({r:z(),g:z(),b:z()})},K.mix=function(e,t,n){n=0===n?0:n||50;var a,i=K(e).toRgb(),o=K(t).toRgb(),s=n/100,r=2*s-1,d=o.a-i.a;a=r*d==-1?r:(r+d)/(1+r*d),a=(a+1)/2;var l=1-a,c={r:o.r*a+i.r*l,g:o.g*a+i.g*l,b:o.b*a+i.b*l,a:o.a*s+i.a*(1-s)};return K(c)},K.readability=function(e,t){var n=K(e),a=K(t),i=n.toRgb(),o=a.toRgb(),s=n.getBrightness(),r=a.getBrightness(),d=Math.max(i.r,o.r)-Math.min(i.r,o.r)+Math.max(i.g,o.g)-Math.min(i.g,o.g)+Math.max(i.b,o.b)-Math.min(i.b,o.b);return{brightness:Math.abs(s-r),color:d}},K.isReadable=function(e,t){var n=K.readability(e,t);return n.brightness>125&&n.color>500},K.mostReadable=function(e,t){for(var n=null,a=0,i=!1,o=0;o<t.length;o++){var s=K.readability(e,t[o]),r=s.brightness>125&&s.color>500,d=3*(s.brightness/125)+s.color/500;(r&&!i||r&&i&&d>a||!r&&!i&&d>a)&&(i=r,a=d,n=K(t[o]))}return n};var F=K.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},G=K.hexNames=S(F),U=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",a="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+i),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();window.tinycolor=K}(),e(function(){e.fn.spectrum.load&&e.fn.spectrum.processNativeColorInputs()})}),/**
 * jquery.mask.js
 * @version: v1.5.3
 * @author: Igor Escobar
 *
 * Created by Igor Escobar on 2012-03-10. Please report any bug at http://blog.igorescobar.com
 *
 * Copyright (c) 2012 Igor Escobar http://blog.igorescobar.com
 *
 * The MIT License (http://www.opensource.org/licenses/mit-license.php)
 *
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 */
function(e){"use strict";var t=function(t,n,a){var i,o=this;t=e(t),n="function"==typeof n?n(t.val(),void 0,t,a):n,o.init=function(){a=a||{},o.byPassKeys=[9,16,17,18,36,37,38,39,40,91],o.translation={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}},o.translation=e.extend({},o.translation,a.translation),o=e.extend(!0,{},o,a),t.each(function(){a.maxlength!==!1&&t.attr("maxlength",n.length),t.attr("autocomplete","off"),s.destroyEvents(),s.events(),s.val(s.getMasked())})};var s={getCaret:function(){var e,n=0,a=t.get(0),i=document.selection,o=a.selectionStart;return i&&navigator.appVersion.indexOf("MSIE 10")===-1?(a.focus(),e=i.createRange(),e.moveStart("character",-a.value.length),n=e.text.length):(o||"0"===o)&&(n=o),n},setCaret:function(e){var n,a=t.get(0);a.setSelectionRange?(a.focus(),a.setSelectionRange(e,e)):a.createTextRange&&(n=a.createTextRange(),n.collapse(!0),n.moveEnd("character",e),n.moveStart("character",e),n.select())},events:function(){t.on("keydown.mask",function(){i=s.val()}),t.on("keyup.mask",s.behaviour),t.on("paste.mask",function(){setTimeout(function(){t.keydown().keyup()},100)})},destroyEvents:function(){t.off("keydown.mask keyup.mask paste.mask")},val:function(e){var n="input"===t.get(0).tagName.toLowerCase();return arguments.length>0?n?t.val(e):t.text(e):n?t.val():t.text()},behaviour:function(t){if(t=t||window.event,e.inArray(t.keyCode||t.which,o.byPassKeys)===-1){var n,a=s.getCaret();return a<s.val().length&&(n=!0),s.val(s.getMasked()),n&&s.setCaret(a),s.callbacks(t)}},getMasked:function(e){var t,i,r=[],d=s.val(),l=0,c=n.length,h=0,u=d.length,m=1,p="push",f=-1;for(a.reverse?(p="unshift",m=-1,t=0,l=c-1,h=u-1,i=function(){return l>-1&&h>-1}):(t=c-1,i=function(){return l<c&&h<u});i();){var g=n.charAt(l),v=d.charAt(h),b=o.translation[g];b?(v.match(b.pattern)?(r[p](v),b.recursive&&(f===-1?f=l:l===t&&(l=f-m),t===f&&(l-=m)),l+=m):b.optional&&(l+=m,h-=m),h+=m):(e||r[p](g),v===g&&(h+=m),l+=m)}var y=n.charAt(t);return c!==u+1||o.translation[y]||r.push(y),r.join("")},callbacks:function(e){var o=s.val(),r=s.val()!==i;r===!0&&"function"==typeof a.onChange&&a.onChange(o,e,t,a),r===!0&&"function"==typeof a.onKeyPress&&a.onKeyPress(o,e,t,a),"function"==typeof a.onComplete&&o.length===n.length&&a.onComplete(o,e,t,a)}};o.remove=function(){s.destroyEvents(),s.val(o.getCleanVal()).removeAttr("maxlength")},o.getCleanVal=function(){return s.getMasked(!0)},o.init()};e.fn.mask=function(n,a){return this.each(function(){e(this).data("mask",new t(this,n,a))})},e.fn.unmask=function(){return this.each(function(){try{e(this).data("mask").remove()}catch(t){}})},e.fn.cleanVal=function(){return e(this).data("mask").getCleanVal()},e("*[data-mask]").each(function(){var t=e(this),n={};"true"===t.attr("data-mask-reverse")&&(n.reverse=!0),"false"===t.attr("data-mask-maxlength")&&(n.maxlength=!1),t.mask(t.attr("data-mask"),n)})}(window.jQuery||window.Zepto),!jQuery)throw new Error("Bootstrap Form Helpers requires jQuery");/* ==========================================================
 * bootstrap-formhelpers-countries.en_US.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
var BFHCountriesList={AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",VG:"British Virgin Islands",BN:"Brunei",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",CI:"Côte d'Ivoire",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CK:"Cook Islands",CR:"Costa Rica",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",CD:"Democratic Republic of the Congo",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",TP:"East Timor",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FO:"Faeroe Islands",FK:"Falkland Islands",FJ:"Fiji",FI:"Finland",MK:"Former Yugoslav Republic of Macedonia",FR:"France",FX:"France, Metropolitan",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard and Mc Donald Islands",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macau",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia",MD:"Moldova",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",KP:"North Korea",MP:"Northern Marianas",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn Islands",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russia",RW:"Rwanda",ST:"São Tomé and Príncipe",SH:"Saint Helena",PM:"St. Pierre and Miquelon",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",KR:"South Korea",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen Islands",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syria",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",BS:"The Bahamas",GM:"The Gambia",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",VI:"US Virgin Islands",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VA:"Vatican City",VE:"Venezuela",VN:"Vietnam",WF:"Wallis and Futuna Islands",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"},BFHCurrenciesList={AED:{label:"United Arab Emirates dirham",currencyflag:"",symbol:"د.إ"},AFN:{label:"Afghan afghani",currencyflag:"",symbol:"؋"},ALL:{label:"Albanian lek",currencyflag:"",symbol:"L"},AMD:{label:"Armenian dram",currencyflag:"",symbol:"դր"},AOA:{label:"Angolan kwanza",currencyflag:"",symbol:"Kz"},ARS:{label:"Argentine peso",currencyflag:"",symbol:"$"},AUD:{label:"Australian dollar",currencyflag:"AUD",symbol:"$"},AWG:{label:"Aruban florin",currencyflag:"",symbol:"ƒ"},AZN:{label:"Azerbaijani manat",currencyflag:"",symbol:""},BAM:{label:"Bosnia and Herzegovina convertible mark",currencyflag:"",symbol:"KM"},BBD:{label:"Barbadian dollar",currencyflag:"",symbol:"$"},BDT:{label:"Bangladeshi taka",currencyflag:"",symbol:"৳"},BGN:{label:"Bulgarian lev",currencyflag:"",symbol:"лв"},BHD:{label:"Bahraini dinar",currencyflag:"",symbol:".د.ب"},BIF:{label:"Burundian franc",currencyflag:"",symbol:"Fr"},BMD:{label:"Bermudian dollar",currencyflag:"",symbol:"$"},BND:{label:"Brunei dollar",currencyflag:"",symbol:"$"},BOB:{label:"Bolivian boliviano",currencyflag:"",symbol:"Bs"},BRL:{label:"Brazilian real",currencyflag:"",symbol:"R$"},BSD:{label:"Bahamian dollar",currencyflag:"",symbol:"$"},BTN:{label:"Bhutanese ngultrum",currencyflag:"",symbol:"Nu"},BWP:{label:"Botswana pula",currencyflag:"",symbol:"P"},BYR:{label:"Belarusian ruble",currencyflag:"",symbol:"Br"},BZD:{label:"Belize dollar",currencyflag:"",symbol:"$"},CAD:{label:"Canadian dollar",currencyflag:"",symbol:"$"},CDF:{label:"Congolese franc",currencyflag:"",symbol:"Fr"},CHF:{label:"Swiss franc",currencyflag:"CHF",symbol:"Fr"},CLP:{label:"Chilean peso",currencyflag:"",symbol:"$"},CNY:{label:"Chinese yuan",currencyflag:"",symbol:"¥"},COP:{label:"Colombian peso",currencyflag:"",symbol:"$"},CRC:{label:"Costa Rican colón",currencyflag:"",symbol:"₡"},CUP:{label:"Cuban convertible peso",currencyflag:"",symbol:"$"},CVE:{label:"Cape Verdean escudo",currencyflag:"",symbol:"$"},CZK:{label:"Czech koruna",currencyflag:"",symbol:"Kč"},DJF:{label:"Djiboutian franc",currencyflag:"",symbol:"Fr"},DKK:{label:"Danish krone",currencyflag:"DKK",symbol:"kr"},DOP:{label:"Dominican peso",currencyflag:"",symbol:"$"},DZD:{label:"Algerian dinar",currencyflag:"",symbol:"د.ج"},EGP:{label:"Egyptian pound",currencyflag:"",symbol:"ج.م"},ERN:{label:"Eritrean nakfa",currencyflag:"",symbol:"Nfk"},ETB:{label:"Ethiopian birr",currencyflag:"",symbol:"Br"},EUR:{label:"Euro",currencyflag:"EUR",symbol:"€"},FJD:{label:"Fijian dollar",currencyflag:"",symbol:"$"},FKP:{label:"Falkland Islands pound",currencyflag:"",symbol:"£"},GBP:{label:"British pound",currencyflag:"",symbol:"£"},GEL:{label:"Georgian lari",currencyflag:"",symbol:"ლ"},GHS:{label:"Ghana cedi",currencyflag:"",symbol:"₵"},GMD:{label:"Gambian dalasi",currencyflag:"",symbol:"D"},GNF:{label:"Guinean franc",currencyflag:"",symbol:"Fr"},GTQ:{label:"Guatemalan quetzal",currencyflag:"",symbol:"Q"},GYD:{label:"Guyanese dollar",currencyflag:"",symbol:"$"},HKD:{label:"Hong Kong dollar",currencyflag:"",symbol:"$"},HNL:{label:"Honduran lempira",currencyflag:"",symbol:"L"},HRK:{label:"Croatian kuna",currencyflag:"",symbol:"kn"},HTG:{label:"Haitian gourde",currencyflag:"",symbol:"G"},HUF:{label:"Hungarian forint",currencyflag:"",symbol:"Ft"},IDR:{label:"Indonesian rupiah",currencyflag:"",symbol:"Rp"},ILS:{label:"Israeli new shekel",currencyflag:"",symbol:"₪"},IMP:{label:"Manx pound",currencyflag:"",symbol:"£"},INR:{label:"Indian rupee",currencyflag:"",symbol:""},IQD:{label:"Iraqi dinar",currencyflag:"",symbol:"ع.د"},IRR:{label:"Iranian rial",currencyflag:"",symbol:"﷼"},ISK:{label:"Icelandic króna",currencyflag:"",symbol:"kr"},JEP:{label:"Jersey pound",currencyflag:"",symbol:"£"},JMD:{label:"Jamaican dollar",currencyflag:"",symbol:"$"},JOD:{label:"Jordanian dinar",currencyflag:"",symbol:"د.ا"},JPY:{label:"Japanese yen",currencyflag:"",symbol:"¥"},KES:{label:"Kenyan shilling",currencyflag:"",symbol:"Sh"},KGS:{label:"Kyrgyzstani som",currencyflag:"",symbol:"лв"},KHR:{label:"Cambodian riel",currencyflag:"",symbol:"៛"},KMF:{label:"Comorian franc",currencyflag:"",symbol:"Fr"},KPW:{label:"North Korean won",currencyflag:"",symbol:"₩"},KRW:{label:"South Korean won",currencyflag:"",symbol:"₩"},KWD:{label:"Kuwaiti dinar",currencyflag:"",symbol:"د.ك"},KYD:{label:"Cayman Islands dollar",currencyflag:"",symbol:"$"},KZT:{label:"Kazakhstani tenge",currencyflag:"",symbol:"₸"},LAK:{label:"Lao kip",currencyflag:"",symbol:"₭"},LBP:{label:"Lebanese pound",currencyflag:"",symbol:"ل.ل"},LKR:{label:"Sri Lankan rupee",currencyflag:"",symbol:"Rs"},LRD:{label:"Liberian dollar",currencyflag:"",symbol:"$"},LSL:{label:"Lesotho loti",currencyflag:"",symbol:"L"},LTL:{label:"Lithuanian litas",currencyflag:"",symbol:"Lt"},LVL:{label:"Latvian lats",currencyflag:"",symbol:"Ls"},LYD:{label:"Libyan dinar",currencyflag:"",symbol:"ل.د"},MAD:{label:"Moroccan dirham",currencyflag:"",symbol:"د.م."},MDL:{label:"Moldovan leu",currencyflag:"",symbol:"L"},MGA:{label:"Malagasy ariary",currencyflag:"",symbol:"Ar"},MKD:{label:"Macedonian denar",currencyflag:"",symbol:"ден"},MMK:{label:"Burmese kyat",currencyflag:"",symbol:"Ks"},MNT:{label:"Mongolian tögrög",currencyflag:"",symbol:"₮"},MOP:{label:"Macanese pataca",currencyflag:"",symbol:"P"},MRO:{label:"Mauritanian ouguiya",currencyflag:"",symbol:"UM"},MUR:{label:"Mauritian rupee",currencyflag:"",symbol:"Rs"},MVR:{label:"Maldivian rufiyaa",currencyflag:"",symbol:".ރ"},MWK:{label:"Malawian kwacha",currencyflag:"",symbol:"MK"},MXN:{label:"Mexican peso",currencyflag:"",symbol:"$"},MYR:{label:"Malaysian ringgit",currencyflag:"",symbol:"MR"},MZN:{label:"Mozambican metical",currencyflag:"",symbol:"MT"},NAD:{label:"Namibian dollar",currencyflag:"",symbol:"$"},NGN:{label:"Nigerian naira",currencyflag:"",symbol:"₦"},NIO:{label:"Nicaraguan córdoba",currencyflag:"",symbol:"C$"},NOK:{label:"Norwegian krone",currencyflag:"",symbol:"kr"},NPR:{label:"Nepalese rupee",currencyflag:"",symbol:"Rs"},NZD:{label:"New Zealand dollar",currencyflag:"",symbol:"$"},OMR:{label:"Omani rial",currencyflag:"",symbol:"ر.ع."},PAB:{label:"Panamanian balboa",currencyflag:"",symbol:"B/."},PEN:{label:"Peruvian nuevo sol",currencyflag:"",symbol:"S/."},PGK:{label:"Papua New Guinean kina",currencyflag:"",symbol:"K"},PHP:{label:"Philippine peso",currencyflag:"",symbol:"₱"},PKR:{label:"Pakistani rupee",currencyflag:"",symbol:"Rs"},PLN:{label:"Polish złoty",currencyflag:"",symbol:"zł"},PRB:{label:"Transnistrian ruble",currencyflag:"",symbol:"р."},PYG:{label:"Paraguayan guaraní",currencyflag:"",symbol:"₲"},QAR:{label:"Qatari riyal",currencyflag:"",symbol:"ر.ق"},RON:{label:"Romanian leu",currencyflag:"",symbol:"L"},RSD:{label:"Serbian dinar",currencyflag:"",symbol:"дин"},RUB:{label:"Russian ruble",currencyflag:"",symbol:"руб."},RWF:{label:"Rwandan franc",currencyflag:"",symbol:"Fr"},SAR:{label:"Saudi riyal",currencyflag:"",symbol:"ر.س"},SBD:{label:"Solomon Islands dollar",currencyflag:"",symbol:"$"},SCR:{label:"Seychellois rupee",currencyflag:"",symbol:"Rs"},SDG:{label:"Singapore dollar",currencyflag:"",symbol:"$"},SEK:{label:"Swedish krona",currencyflag:"",symbol:"kr"},SGD:{label:"Singapore dollar",currencyflag:"",symbol:"$"},SHP:{label:"Saint Helena pound",currencyflag:"",symbol:"£"},SLL:{label:"Sierra Leonean leone",currencyflag:"",symbol:"Le"},SOS:{label:"Somali shilling",currencyflag:"",symbol:"Sh"},SRD:{label:"Surinamese dollar",currencyflag:"",symbol:"$"},SSP:{label:"South Sudanese pound",currencyflag:"",symbol:"£"},STD:{label:"São Tomé and Príncipe dobra",currencyflag:"",symbol:"Db"},SVC:{label:"Salvadoran colón",currencyflag:"",symbol:"₡"},SYP:{label:"Syrian pound",currencyflag:"",symbol:"£"},SZL:{label:"Swazi lilangeni",currencyflag:"",symbol:"L"},THB:{label:"Thai baht",currencyflag:"",symbol:"฿"},TJS:{label:"Tajikistani somoni",currencyflag:"",symbol:"SM"},TMT:{label:"Turkmenistan manat",currencyflag:"",symbol:"m"},TND:{label:"Tunisian dinar",currencyflag:"",symbol:"د.ت"},TOP:{label:"Tongan paʻanga",currencyflag:"",symbol:"T$"},TRY:{label:"Turkish lira",currencyflag:"",symbol:"&#8378;"},TTD:{label:"Trinidad and Tobago dollar",currencyflag:"",symbol:"$"},TWD:{label:"New Taiwan dollar",currencyflag:"",symbol:"$"},TZS:{label:"Tanzanian shilling",currencyflag:"",symbol:"Sh"},UAH:{label:"Ukrainian hryvnia",currencyflag:"",symbol:"₴"},UGX:{label:"Ugandan shilling",currencyflag:"",symbol:"Sh"},USD:{label:"United States dollar",currencyflag:"",symbol:"$"},UYU:{label:"Uruguayan peso",currencyflag:"",symbol:"$"},UZS:{label:"Uzbekistani som",currencyflag:"",symbol:"лв"},VEF:{label:"Venezuelan bolívar",currencyflag:"",symbol:"Bs F"},VND:{label:"Vietnamese đồng",currencyflag:"",symbol:"₫"},VUV:{label:"Vanuatu vatu",currencyflag:"",symbol:"Vt"},WST:{label:"Samoan tālā",currencyflag:"",symbol:"T"},XAF:{label:"Central African CFA franc",currencyflag:"XAF",symbol:"Fr"},XCD:{label:"East Caribbean dollar",currencyflag:"XCD",symbol:"$"},XOF:{label:"West African CFA franc",currencyflag:"XOF",symbol:"Fr"},XPF:{label:"CFP franc",currencyflag:"XPF",symbol:"Fr"},YER:{label:"Yemeni rial",currencyflag:"",symbol:"﷼"},ZAR:{label:"South African rand",currencyflag:"ZAR",symbol:"R"},ZMW:{label:"Zambian kwacha",currencyflag:"",symbol:"ZK"},ZWL:{label:"Zimbabwean dollar",currencyflag:"",symbol:"$"}},BFHMonthsList=["January","February","March","April","May","June","July","August","September","October","November","December"],BFHDaysList=["SUN","MON","TUE","WED","THU","FRI","SAT"],BFHDayOfWeekStart=0,BFHFontsList={"Andale Mono":'"Andale Mono", AndaleMono, monospace',Arial:'Arial, "Helvetica Neue", Helvetica, sans-serif',"Arial Black":'"Arial Black", "Arial Bold", Gadget, sans-serif',"Arial Narrow":'"Arial Narrow", Arial, sans-serif',"Arial Rounded MT Bold":'"Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif',"Avant Garde":'"Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif',Baskerville:'Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif',"Big Caslon":'"Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif',"Bodoni MT":'"Bodoni MT", Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", serif',"Book Antiqua":'"Book Antiqua", Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif',"Brush Script MT":'"Brush Script MT", cursive',Calibri:'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif',"Calisto MT":'"Calisto MT", "Bookman Old Style", Bookman, "Goudy Old Style", Garamond, "Hoefler Text", "Bitstream Charter", Georgia, serif',Cambrio:"Cambria, Georgia, serif",Candara:'Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif',"Century Gothic":'"Century Gothic", CenturyGothic, AppleGothic, sans-serif',Consolas:"Consolas, monaco, monospace",Copperplate:'Copperplate, "Copperplate Gothic Light", fantasy',"Courier New":'"Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace',Didot:'Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", serif',"Franklin Gothic Medium":'"Franklin Gothic Medium", "Franklin Gothic", "ITC Franklin Gothic", Arial, sans-serif',Futura:'Futura, "Trebuchet MS", Arial, sans-serif',Garamond:'Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif',Geneva:"Geneva, Tahoma, Verdana, sans-serif",Georgia:'Georgia, Times, "Times New Roman", serif',"Gill Sans":'"Gill Sans", "Gill Sans MT", Calibri, sans-serif',"Goudy Old Style":'"Goudy Old Style", Garamond, "Big Caslon", "Times New Roman", serif',Helvetica:'"Helvetica Neue", Helvetica, Arial, sans-serif',"Hoefler Text":'"Hoefler Text", "Baskerville old face", Garamond, "Times New Roman", serif',Impact:'Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans serif',"Lucida Bright":'"Lucida Bright", Georgia, serif',"Lucida Console":'"Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace',"Lucida Sans Typewriter":'"Lucida Sans Typewriter", "Lucida Console", Monaco, "Bitstream Vera Sans Mono", monospace',"Lucida Grande":'"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif',Monaco:'Monaco, Consolas, "Lucida Console", monospace',Optima:'Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif',Palatino:'Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif',Papyrus:"Papyrus, fantasy",Perpetua:'Perpetua, Baskerville, "Big Caslon", "Palatino Linotype", Palatino, "URW Palladio L", "Nimbus Roman No9 L", serif',Rockwell:'Rockwell, "Courier Bold", Courier, Georgia, Times, "Times New Roman", serif',"Rockwell Extra Bold":'"Rockwell Extra Bold", "Rockwell Bold", monospace',"Segoe UI":'"Segoe UI", Frutiger, "Frutiger Linotype',Tahoma:"Tahoma, Verdana, Segoe, sans-serif","Times New Roman":'TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif',"Trebuchet MS":'"Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif',Verdana:"Verdana, Geneva, sans-serif"},BFHFontSizesList={8:"8px",9:"9px",10:"10px",11:"11px",12:"12px",14:"14px",16:"16px",18:"18px",20:"20px",24:"24px",28:"28px",36:"36px",48:"48px"},BFHGoogleFontsList={kind:"webfonts#webfontList",items:[{kind:"webfonts#webfont",family:"ABeeZee",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Abel",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Abril Fatface",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Aclonica",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Acme",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Actor",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Adamina",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Advent Pro",variants:["100","200","300","regular","500","600","700"],subsets:["latin-ext","latin","greek"]},{kind:"webfonts#webfont",family:"Aguafina Script",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Akronim",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Aladin",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Aldrich",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Alegreya",variants:["regular","italic","700","700italic","900","900italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Alegreya SC",variants:["regular","italic","700","700italic","900","900italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Alex Brush",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Alfa Slab One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Alice",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Alike",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Alike Angular",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Allan",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Allerta",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Allerta Stencil",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Allura",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Almendra",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Almendra Display",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Almendra SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Amarante",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Amaranth",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Amatic SC",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Amethysta",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Anaheim",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Andada",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Andika",variants:["regular"],subsets:["cyrillic","latin-ext","latin","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Angkor",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Annie Use Your Telescope",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Anonymous Pro",variants:["regular","italic","700","700italic"],subsets:["cyrillic","greek-ext","latin-ext","latin","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Antic",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Antic Didone",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Antic Slab",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Anton",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Arapey",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Arbutus",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Arbutus Slab",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Architects Daughter",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Archivo Black",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Archivo Narrow",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Arimo",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Arizonia",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Armata",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Artifika",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Arvo",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Asap",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Asset",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Astloch",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Asul",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Atomic Age",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Aubrey",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Audiowide",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Autour One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Average",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Average Sans",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Averia Gruesa Libre",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Averia Libre",variants:["300","300italic","regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Averia Sans Libre",variants:["300","300italic","regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Averia Serif Libre",variants:["300","300italic","regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Bad Script",variants:["regular"],subsets:["cyrillic","latin"]},{kind:"webfonts#webfont",family:"Balthazar",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Bangers",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Basic",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Battambang",variants:["regular","700"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Baumans",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Bayon",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Belgrano",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Belleza",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"BenchNine",variants:["300","regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Bentham",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Berkshire Swash",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Bevan",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Bigelow Rules",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Bigshot One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Bilbo",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Bilbo Swash Caps",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Bitter",variants:["regular","italic","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Black Ops One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Bokor",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Bonbon",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Boogaloo",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Bowlby One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Bowlby One SC",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Brawler",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Bree Serif",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Bubblegum Sans",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Bubbler One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Buda",variants:["300"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Buenard",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Butcherman",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Butterfly Kids",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Cabin",variants:["regular","italic","500","500italic","600","600italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cabin Condensed",variants:["regular","500","600","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cabin Sketch",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Caesar Dressing",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cagliostro",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Calligraffitti",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cambo",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Candal",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cantarell",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cantata One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Cantora One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Capriola",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Cardo",variants:["regular","italic","700"],subsets:["greek-ext","latin-ext","latin","greek"]},{kind:"webfonts#webfont",family:"Carme",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Carrois Gothic",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Carrois Gothic SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Carter One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Caudex",variants:["regular","italic","700","700italic"],subsets:["greek-ext","latin-ext","latin","greek"]},{kind:"webfonts#webfont",family:"Cedarville Cursive",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Ceviche One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Changa One",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Chango",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Chau Philomene One",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Chela One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Chelsea Market",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Chenla",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Cherry Cream Soda",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cherry Swash",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Chewy",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Chicle",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Chivo",variants:["regular","italic","900","900italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cinzel",variants:["regular","700","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cinzel Decorative",variants:["regular","700","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Clicker Script",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Coda",variants:["regular","800"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Coda Caption",variants:["800"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Codystar",variants:["300","regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Combo",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Comfortaa",variants:["300","regular","700"],subsets:["cyrillic","latin-ext","latin","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Coming Soon",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Concert One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Condiment",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Content",variants:["regular","700"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Contrail One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Convergence",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Cookie",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Copse",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Corben",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Courgette",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Cousine",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Coustard",variants:["regular","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Covered By Your Grace",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Crafty Girls",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Creepster",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Crete Round",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Crimson Text",variants:["regular","italic","600","600italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Croissant One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Crushed",variants:["regular"],
subsets:["latin"]},{kind:"webfonts#webfont",family:"Cuprum",variants:["regular","italic","700","700italic"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Cutive",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Cutive Mono",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Damion",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Dancing Script",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Dangrek",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Dawning of a New Day",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Days One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Delius",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Delius Swash Caps",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Delius Unicase",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Della Respira",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Devonshire",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Didact Gothic",variants:["regular"],subsets:["cyrillic","greek-ext","latin-ext","latin","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Diplomata",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Diplomata SC",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Doppio One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Dorsa",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Dosis",variants:["200","300","regular","500","600","700","800"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Dr Sugiyama",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Droid Sans",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Droid Sans Mono",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Droid Serif",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Duru Sans",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Dynalight",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"EB Garamond",variants:["regular"],subsets:["cyrillic","latin-ext","latin","vietnamese","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Eagle Lake",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Eater",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Economica",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Electrolize",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Emblema One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Emilys Candy",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Engagement",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Englebert",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Enriqueta",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Erica One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Esteban",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Euphoria Script",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ewert",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Exo",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Expletus Sans",variants:["regular","italic","500","500italic","600","600italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Fanwood Text",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Fascinate",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Fascinate Inline",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Faster One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Fasthand",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Federant",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Federo",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Felipa",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Fenix",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Finger Paint",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Fjord One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Flamenco",variants:["300","regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Flavors",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Fondamento",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Fontdiner Swanky",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Forum",variants:["regular"],subsets:["cyrillic","latin-ext","latin","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Francois One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Freckle Face",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Fredericka the Great",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Fredoka One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Freehand",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Fresca",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Frijole",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Fugaz One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"GFS Didot",variants:["regular"],subsets:["greek"]},{kind:"webfonts#webfont",family:"GFS Neohellenic",variants:["regular","italic","700","700italic"],subsets:["greek"]},{kind:"webfonts#webfont",family:"Gafata",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Galdeano",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Galindo",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Gentium Basic",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Gentium Book Basic",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Geo",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Geostar",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Geostar Fill",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Germania One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Gilda Display",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Give You Glory",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Glass Antiqua",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Glegoo",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Gloria Hallelujah",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Goblin One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Gochi Hand",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Gorditas",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Goudy Bookletter 1911",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Graduate",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Gravitas One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Great Vibes",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Griffy",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Gruppo",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Gudea",variants:["regular","italic","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Habibi",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Hammersmith One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Hanalei",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Hanalei Fill",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Handlee",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Hanuman",variants:["regular","700"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Happy Monkey",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Headland One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Henny Penny",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Herr Von Muellerhoff",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Holtwood One SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Homemade Apple",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Homenaje",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"IM Fell DW Pica",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell DW Pica SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell Double Pica",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell Double Pica SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell English",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell English SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell French Canon",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell French Canon SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell Great Primer",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"IM Fell Great Primer SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Iceberg",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Iceland",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Imprima",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Inconsolata",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Inder",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Indie Flower",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Inika",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Irish Grover",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Istok Web",variants:["regular","italic","700","700italic"],subsets:["cyrillic","latin-ext","latin","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Italiana",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Italianno",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Jacques Francois",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Jacques Francois Shadow",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Jim Nightshade",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Jockey One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Jolly Lodger",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Josefin Sans",variants:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Josefin Slab",variants:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Joti One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Judson",variants:["regular","italic","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Julee",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Julius Sans One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Junge",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Jura",variants:["300","regular","500","600"],subsets:["cyrillic","greek-ext","latin-ext","latin","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Just Another Hand",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Just Me Again Down Here",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Kameron",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Karla",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Kaushan Script",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Keania One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Kelly Slab",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Kenia",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Khmer",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Kite One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Knewave",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Kotta One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Koulen",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Kranky",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Kreon",variants:["300","regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Kristi",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Krona One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"La Belle Aurore",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Lancelot",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Lato",variants:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"League Script",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Leckerli One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Ledger",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Lekton",variants:["regular","italic","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Lemon",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Life Savers",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Lilita One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Limelight",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Linden Hill",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Lobster",variants:["regular"],subsets:["cyrillic","latin-ext","latin","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Lobster Two",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Londrina Outline",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Londrina Shadow",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Londrina Sketch",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Londrina Solid",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Lora",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Love Ya Like A Sister",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Loved by the King",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Lovers Quarrel",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Luckiest Guy",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Lusitana",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Lustria",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Macondo",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Macondo Swash Caps",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Magra",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Maiden Orange",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Mako",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Marcellus",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Marcellus SC",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Marck Script",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Margarine",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Marko One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Marmelad",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Marvel",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Mate",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Mate SC",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Maven Pro",variants:["regular","500","700","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"McLaren",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Meddon",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"MedievalSharp",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Medula One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Megrim",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Meie Script",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Merienda",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Merienda One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Merriweather",variants:["300","regular","700","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Metal",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Metal Mania",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Metamorphous",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Metrophobic",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Michroma",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Miltonian",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Miltonian Tattoo",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Miniver",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Miss Fajardose",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Modern Antiqua",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Molengo",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Molle",variants:["italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Monofett",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Monoton",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Monsieur La Doulaise",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Montaga",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Montez",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Montserrat",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Montserrat Alternates",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Montserrat Subrayada",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Moul",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Moulpali",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Mountains of Christmas",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Mouse Memoirs",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Mr Bedfort",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Mr Dafoe",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Mr De Haviland",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Mrs Saint Delafield",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Mrs Sheppards",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Muli",variants:["300","300italic","regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Mystery Quest",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Neucha",variants:["regular"],subsets:["cyrillic","latin"]},{kind:"webfonts#webfont",family:"Neuton",variants:["200","300","regular","italic","700","800"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"News Cycle",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Niconne",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Nixie One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nobile",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nokora",variants:["regular","700"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Norican",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Nosifer",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Nothing You Could Do",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Noticia Text",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin","vietnamese"]},{kind:"webfonts#webfont",family:"Nova Cut",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nova Flat",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nova Mono",variants:["regular"],subsets:["latin","greek"]},{kind:"webfonts#webfont",family:"Nova Oval",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nova Round",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nova Script",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nova Slim",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nova Square",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Numans",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Nunito",variants:["300","regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Odor Mean Chey",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Offside",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Old Standard TT",variants:["regular","italic","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Oldenburg",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Oleo Script",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Oleo Script Swash Caps",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Open Sans",variants:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],subsets:["cyrillic","greek-ext","latin-ext","latin","vietnamese","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Open Sans Condensed",variants:["300","300italic","700"],subsets:["cyrillic","greek-ext","latin-ext","latin","vietnamese","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Oranienbaum",variants:["regular"],subsets:["cyrillic","latin-ext","latin","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Orbitron",variants:["regular","500","700","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Oregano",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Orienta",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Original Surfer",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Oswald",variants:["300","regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Over the Rainbow",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Overlock",variants:["regular","italic","700","700italic","900","900italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Overlock SC",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ovo",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Oxygen",variants:["300","regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Oxygen Mono",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"PT Mono",variants:["regular"],subsets:["cyrillic","latin-ext","latin","cyrillic-ext"]},{kind:"webfonts#webfont",family:"PT Sans",variants:["regular","italic","700","700italic"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"PT Sans Caption",variants:["regular","700"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"PT Sans Narrow",variants:["regular","700"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"PT Serif",variants:["regular","italic","700","700italic"],subsets:["cyrillic","latin"]},{kind:"webfonts#webfont",family:"PT Serif Caption",variants:["regular","italic"],subsets:["cyrillic","latin"]},{kind:"webfonts#webfont",family:"Pacifico",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Paprika",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Parisienne",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Passero One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Passion One",variants:["regular","700","900"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Patrick Hand",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Patua One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Paytone One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Peralta",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Permanent Marker",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Petit Formal Script",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Petrona",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Philosopher",variants:["regular","italic","700","700italic"],subsets:["cyrillic","latin"]},{kind:"webfonts#webfont",family:"Piedra",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Pinyon Script",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Pirata One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Plaster",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Play",variants:["regular","700"],subsets:["cyrillic","greek-ext","latin-ext","latin","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Playball",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Playfair Display",variants:["regular","italic","700","700italic","900","900italic"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Playfair Display SC",variants:["regular","italic","700","700italic","900","900italic"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Podkova",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Poiret One",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Poller One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Poly",variants:["regular","italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Pompiere",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Pontano Sans",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Port Lligat Sans",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Port Lligat Slab",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Prata",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Preahvihear",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Press Start 2P",variants:["regular"],subsets:["cyrillic","latin-ext","latin","greek"]},{kind:"webfonts#webfont",family:"Princess Sofia",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Prociono",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Prosto One",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Puritan",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Purple Purse",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Quando",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Quantico",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Quattrocento",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Quattrocento Sans",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Questrial",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Quicksand",variants:["300","regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Quintessential",variants:["regular"],subsets:["latin-ext","latin"]
},{kind:"webfonts#webfont",family:"Qwigley",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Racing Sans One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Radley",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Raleway",variants:["100","200","300","regular","500","600","700","800","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Raleway Dots",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rambla",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rammetto One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ranchers",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rancho",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Rationale",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Redressed",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Reenie Beanie",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Revalia",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ribeye",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ribeye Marrow",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Righteous",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Risque",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rochester",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Rock Salt",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Rokkitt",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Romanesco",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ropa Sans",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rosario",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Rosarivo",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rouge Script",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Ruda",variants:["regular","700","900"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rufina",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ruge Boogie",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ruluko",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rum Raisin",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ruslan Display",variants:["regular"],subsets:["cyrillic","latin-ext","latin","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Russo One",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Ruthie",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Rye",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Sacramento",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Sail",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Salsa",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Sanchez",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Sancreek",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Sansita One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Sarina",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Satisfy",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Scada",variants:["regular","italic","700","700italic"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Schoolbell",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Seaweed Script",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Sevillana",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Seymour One",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Shadows Into Light",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Shadows Into Light Two",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Shanti",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Share",variants:["regular","italic","700","700italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Share Tech",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Share Tech Mono",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Shojumaru",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Short Stack",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Siemreap",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Sigmar One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Signika",variants:["300","regular","600","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Signika Negative",variants:["300","regular","600","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Simonetta",variants:["regular","italic","900","900italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Sirin Stencil",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Six Caps",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Skranji",variants:["regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Slackey",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Smokum",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Smythe",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Sniglet",variants:["800"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Snippet",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Snowburst One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Sofadi One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Sofia",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Sonsie One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Sorts Mill Goudy",variants:["regular","italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Source Code Pro",variants:["200","300","regular","600","700","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Source Sans Pro",variants:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Special Elite",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Spicy Rice",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Spinnaker",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Spirax",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Squada One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Stalemate",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Stalinist One",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Stardos Stencil",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Stint Ultra Condensed",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Stint Ultra Expanded",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Stoke",variants:["300","regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Strait",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Sue Ellen Francisco",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Sunshiney",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Supermercado One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Suwannaphum",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Swanky and Moo Moo",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Syncopate",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Tangerine",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Taprom",variants:["regular"],subsets:["khmer"]},{kind:"webfonts#webfont",family:"Telex",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Tenor Sans",variants:["regular"],subsets:["cyrillic","latin-ext","latin","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Text Me One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"The Girl Next Door",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Tienne",variants:["regular","700","900"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Tinos",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Titan One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Titillium Web",variants:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Trade Winds",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Trocchi",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Trochut",variants:["regular","italic","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Trykker",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Tulpen One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Ubuntu",variants:["300","300italic","regular","italic","500","500italic","700","700italic"],subsets:["cyrillic","greek-ext","latin-ext","latin","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Ubuntu Condensed",variants:["regular"],subsets:["cyrillic","greek-ext","latin-ext","latin","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Ubuntu Mono",variants:["regular","italic","700","700italic"],subsets:["cyrillic","greek-ext","latin-ext","latin","greek","cyrillic-ext"]},{kind:"webfonts#webfont",family:"Ultra",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Uncial Antiqua",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Underdog",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Unica One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"UnifrakturCook",variants:["700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"UnifrakturMaguntia",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Unkempt",variants:["regular","700"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Unlock",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Unna",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"VT323",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Vampiro One",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Varela",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Varela Round",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Vast Shadow",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Vibur",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Vidaloka",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Viga",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Voces",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Volkhov",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Vollkorn",variants:["regular","italic","700","700italic"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Voltaire",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Waiting for the Sunrise",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Wallpoet",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Walter Turncoat",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Warnes",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Wellfleet",variants:["regular"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Wire One",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Yanone Kaffeesatz",variants:["200","300","regular","700"],subsets:["latin-ext","latin"]},{kind:"webfonts#webfont",family:"Yellowtail",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Yeseva One",variants:["regular"],subsets:["cyrillic","latin-ext","latin"]},{kind:"webfonts#webfont",family:"Yesteryear",variants:["regular"],subsets:["latin"]},{kind:"webfonts#webfont",family:"Zeyada",variants:["regular"],subsets:["latin"]}]},BFHLanguagesList={om:"Afaan Oromoo",aa:"Afaraf",af:"Afrikaans",ak:"Akan",an:"aragonés",ig:"Asụsụ Igbo",gn:"Avañe'ẽ",ae:"avesta",ay:"aymar aru",az:"azərbaycan dili",id:"Bahasa Indonesia",ms:"bahasa Melayu",bm:"bamanankan",jv:"basa Jawa",su:"Basa Sunda",bi:"Bislama",bs:"bosanski jezik",br:"brezhoneg",ca:"català",ch:"Chamoru",ny:"chiCheŵa",sn:"chiShona",co:"corsu",cy:"Cymraeg",da:"dansk",se:"Davvisámegiella",de:"Deutsch",nv:"Diné bizaad",et:"eesti",na:"Ekakairũ Naoero",en:"English",es:"español",eo:"Esperanto",eu:"euskara",ee:"Eʋegbe",to:"faka Tonga",mg:"fiteny malagasy",fr:"français",fy:"Frysk",ff:"Fulfulde",fo:"føroyskt",ga:"Gaeilge",gv:"Gaelg",sm:"gagana fa'a Samoa",gl:"galego",sq:"gjuha shqipe",gd:"Gàidhlig",ki:"Gĩkũyũ",ha:"Hausa",ho:"Hiri Motu",hr:"hrvatski jezik",io:"Ido",rw:"Ikinyarwanda",rn:"Ikirundi",ia:"Interlingua",nd:"isiNdebele",nr:"isiNdebele",xh:"isiXhosa",zu:"isiZulu",it:"italiano",ik:"Iñupiaq",pl:"polski",mh:"Kajin M̧ajeļ",kl:"kalaallisut",kr:"Kanuri",kw:"Kernewek",kg:"KiKongo",sw:"Kiswahili",ht:"Kreyòl ayisyen",kj:"Kuanyama",ku:"Kurdî",la:"latine",lv:"latviešu valoda",lt:"lietuvių kalba",ro:"limba română",li:"Limburgs",ln:"Lingála",lg:"Luganda",lb:"Lëtzebuergesch",hu:"magyar",mt:"Malti",nl:"Nederlands",no:"Norsk",nb:"Norsk bokmål",nn:"Norsk nynorsk",uz:"O'zbek",oc:"occitan",ie:"Interlingue",hz:"Otjiherero",ng:"Owambo",pt:"português",ty:"Reo Tahiti",rm:"rumantsch grischun",qu:"Runa Simi",sc:"sardu",za:"Saɯ cueŋƅ",st:"Sesotho",tn:"Setswana",ss:"SiSwati",sl:"slovenski jezik",sk:"slovenčina",so:"Soomaaliga",fi:"suomi",sv:"Svenska",mi:"te reo Māori",vi:"Tiếng Việt",lu:"Tshiluba",ve:"Tshivenḓa",tw:"Twi",tk:"Türkmen",tr:"Türkçe",ug:"Uyƣurqə",vo:"Volapük",fj:"vosa Vakaviti",wa:"walon",tl:"Wikang Tagalog",wo:"Wollof",ts:"Xitsonga",yo:"Yorùbá",sg:"yângâ tî sängö",is:"Íslenska",cs:"čeština",el:"ελληνικά",av:"авар мацӀ",ab:"аҧсуа бызшәа",ba:"башҡорт теле",be:"беларуская мова",bg:"български език",os:"ирон æвзаг",kv:"коми кыв",ky:"Кыргызча",mk:"македонски јазик",mn:"монгол",ce:"нохчийн мотт",ru:"русский язык",sr:"српски језик",tt:"татар теле",tg:"тоҷикӣ",uk:"українська мова",cv:"чӑваш чӗлхи",cu:"ѩзыкъ словѣньскъ",kk:"қазақ тілі",hy:"Հայերեն",yi:"ייִדיש",he:"עברית",ur:"اردو",ar:"العربية",fa:"فارسی",ps:"پښتو",ks:"कश्मीरी",ne:"नेपाली",pi:"पाऴि",bh:"भोजपुरी",mr:"मराठी",sa:"संस्कृतम्",sd:"सिन्धी",hi:"हिन्दी",as:"অসমীয়া",bn:"বাংলা",pa:"ਪੰਜਾਬੀ",gu:"ગુજરાતી",or:"ଓଡ଼ିଆ",ta:"தமிழ்",te:"తెలుగు",kn:"ಕನ್ನಡ",ml:"മലയാളം",si:"සිංහල",th:"ไทย",lo:"ພາສາລາວ",bo:"བོད་ཡིག",dz:"རྫོང་ཁ",my:"ဗမာစာ",ka:"ქართული",ti:"ትግርኛ",am:"አማርኛ",iu:"ᐃᓄᒃᑎᑐᑦ",oj:"ᐊᓂᔑᓈᐯᒧᐎᓐ",cr:"ᓀᐦᐃᔭᐍᐏᐣ",km:"ខ្មែរ",zh:"中文 (Zhōngwén)",ja:"日本語 (にほんご)",ii:"ꆈꌠ꒿ Nuosuhxop",ko:"한국어 (韓國語)"},BFHPhoneFormatList={AF:"+93 0dd ddd dddd",AL:"+355 0dd ddd ddd",DZ:"+213 0ddd dd dd dd",AS:"+1 (ddd) ddd-dddd",AD:"+376 ddddddddd",AO:"+244 ddd ddd ddd",AI:"+1 (ddd) ddd-dddd",AQ:"+672 ddddddddd",AG:"+1 (ddd) ddd-dddd",AR:"+54 ddddddddd",AM:"+374 0dd dddddd",AW:"+297 ddd dddd",AU:"+61 ddd ddd ddd",AT:"+43 0dddd ddddddddd",AZ:"+994 ddddddddd",BH:"+973 ddddddddd",BD:"+880 ddddddddd",BB:"+1 ddddddddd",BY:"+375 ddddddddd",BE:"+32 ddddddddd",BZ:"+501 ddddddddd",BJ:"+229 ddddddddd",BM:"+1 (ddd) ddd-dddd",BT:"+975 ddddddddd",BO:"+591 ddddddddd",BA:"+387 ddddddddd",BW:"+267 ddddddddd",BV:"+0 ddddddddd",BR:"+55 ddddddddd",IO:"+0 ddddddddd",VG:"+1 (ddd) ddd-dddd",BN:"+673 ddddddddd",BG:"+359 ddddddddd",BF:"+226 ddddddddd",BI:"+257 ddddddddd",CI:"+225 ddddddddd",KH:"+855 ddddddddd",CM:"+237 ddddddddd",CA:"+1 (ddd) ddd-dddd",CV:"+238 ddddddddd",KY:"+1 (ddd) ddd-dddd",CF:"+236 ddddddddd",TD:"+235 ddddddddd",CL:"+56 ddddddddd",CN:"+86 ddddddddd",CX:"+61 ddddddddd",CC:"+61 ddddddddd",CO:"+57 ddddddddd",KM:"+269 ddddddddd",CG:"+242 ddddddddd",CK:"+682 ddddddddd",CR:"+506 ddddddddd",HR:"+385 ddddddddd",CU:"+53 ddddddddd",CY:"+357 ddddddddd",CZ:"+420 ddddddddd",CD:"+243 ddddddddd",DK:"+45 ddddddddd",DJ:"+253 ddddddddd",DM:"+1 (ddd) ddd-dddd",DO:"+1 (ddd) ddd-dddd",TL:"+670 ddddddddd",EC:"+593 ddddddddd",EG:"+20 ddddddddd",SV:"+503 ddddddddd",GQ:"+240 ddddddddd",ER:"+291 ddddddddd",EE:"+372 ddddddddd",ET:"+251 ddddddddd",FO:"+298 ddddddddd",FK:"+500 ddddddddd",FJ:"+679 ddddddddd",FI:"+358 ddddddddd",MK:"+389 ddddddddd",FR:"+33 d dd dd dd dd",GF:"+594 ddddddddd",PF:"+689 ddddddddd",TF:"+262 ddddddddd",GA:"+241 ddddddddd",GE:"+995 ddddddddd",DE:"+49 ddddddddd",GH:"+233 ddddddddd",GI:"+350 ddddddddd",GR:"+30 ddddddddd",GL:"+299 ddddddddd",GD:"+1 (ddd) ddd-dddd",GP:"+590 ddddddddd",GU:"+1 (ddd) ddd-dddd",GT:"+502 ddddddddd",GN:"+224 ddddddddd",GW:"+245 ddddddddd",GY:"+592 ddddddddd",HT:"+509 ddddddddd",HM:"+0 ddddddddd",HN:"+504 ddddddddd",HK:"+852 ddddddddd",HU:"+36 ddddddddd",IS:"+354 ddddddddd",IN:"+91 ddddddddd",ID:"+62 ddddddddd",IR:"+98 ddddddddd",IQ:"+964 ddddddddd",IE:"+353 ddddddddd",IL:"+972 ddddddddd",IT:"+39 ddddddddd",JM:"+1 (ddd) ddd-dddd",JP:"+81 ddddddddd",JO:"+962 ddddddddd",KZ:"+7 ddddddddd",KE:"+254 ddddddddd",KI:"+686 ddddddddd",KW:"+965 ddddddddd",KG:"+996 ddddddddd",LA:"+856 ddddddddd",LV:"+371 ddddddddd",LB:"+961 ddddddddd",LS:"+266 ddddddddd",LR:"+231 ddddddddd",LY:"+218 ddddddddd",LI:"+423 ddddddddd",LT:"+370 ddddddddd",LU:"+352 ddddddddd",MO:"+853 ddddddddd",MG:"+261 ddddddddd",MW:"+265 ddddddddd",MY:"+60 ddddddddd",MV:"+960 ddddddddd",ML:"+223 ddddddddd",MT:"+356 ddddddddd",MH:"+692 ddddddddd",MQ:"+596 ddddddddd",MR:"+222 ddddddddd",MU:"+230 ddddddddd",YT:"+262 ddddddddd",MX:"+52 ddddddddd",FM:"+691 ddddddddd",MD:"+373 ddddddddd",MC:"+377 ddddddddd",MN:"+976 ddddddddd",MS:"+1 (ddd) ddd-dddd",MA:"+212 ddddddddd",MZ:"+258 ddddddddd",MM:"+95 ddddddddd",NA:"+264 ddddddddd",NR:"+674 ddddddddd",NP:"+977 ddddddddd",NL:"+31 ddddddddd",AN:"+599 ddddddddd",NC:"+687 ddddddddd",NZ:"+64 ddddddddd",NI:"+505 ddddddddd",NE:"+227 ddddddddd",NG:"+234 ddddddddd",NU:"+683 ddddddddd",NF:"+672 ddddddddd",KP:"+850 ddddddddd",MP:"+1 (ddd) ddd-dddd",NO:"+47 ddddddddd",OM:"+968 ddddddddd",PK:"+92 ddddddddd",PW:"+680 ddddddddd",PA:"+507 ddddddddd",PG:"+675 ddddddddd",PY:"+595 ddddddddd",PE:"+51 ddddddddd",PH:"+63 ddddddddd",PN:"+870 ddddddddd",PL:"+48 ddddddddd",PT:"+351 ddddddddd",PR:"+1 (ddd) ddd-dddd",QA:"+974 ddddddddd",RE:"+262 ddddddddd",RO:"+40 ddddddddd",RU:"+7 ddddddddd",RW:"+250 ddddddddd",ST:"+239 ddddddddd",SH:"+290 ddddddddd",KN:"+1 (ddd) ddd-dddd",LC:"+1 (ddd) ddd-dddd",PM:"+508 ddddddddd",VC:"+1 (ddd) ddd-dddd",WS:"+685 ddddddddd",SM:"+378 ddddddddd",SA:"+966 ddddddddd",SN:"+221 ddddddddd",SC:"+248 ddddddddd",SL:"+232 ddddddddd",SG:"+65 ddddddddd",SK:"+421 ddddddddd",SI:"+386 ddddddddd",SB:"+677 ddddddddd",SO:"+252 ddddddddd",ZA:"+27 ddddddddd",GS:"+0 ddddddddd",KR:"+82 ddddddddd",ES:"+34 ddddddddd",LK:"+94 ddddddddd",SD:"+249 ddddddddd",SR:"+597 ddddddddd",SJ:"+0 ddddddddd",SZ:"+268 ddddddddd",SE:"+46 ddddddddd",CH:"+41 ddddddddd",SY:"+963 ddddddddd",TW:"+886 ddddddddd",TJ:"+992 ddddddddd",TZ:"+255 ddddddddd",TH:"+66 ddddddddd",BS:"+1 (ddd) ddd-dddd",GM:"+220 ddddddddd",TG:"+228 ddddddddd",TK:"+690 ddddddddd",TO:"+676 ddddddddd",TT:"+1 (ddd) ddd-dddd",TN:"+216 ddddddddd",TR:"+90 ddddddddd",TM:"+993 ddddddddd",TC:"+1 (ddd) ddd-dddd",TV:"+688 ddddddddd",VI:"+1 (ddd) ddd-dddd",UG:"+256 ddddddddd",UA:"+380 ddddddddd",AE:"+971 ddddddddd",GB:"+44 (ddd) dddd dddd",US:"+1 (ddd) ddd-dddd",UM:"+0 ddddddddd",UY:"+598 ddddddddd",UZ:"+998 ddddddddd",VU:"+678 ddddddddd",VA:"+39 ddddddddd",VE:"+58 ddddddddd",VN:"+84 ddddddddd",WF:"+681 ddddddddd",EH:"+0 ddddddddd",YE:"+967 ddddddddd",YU:"+0 ddddddddd",ZM:"+260 ddddddddd",ZW:"+263 ddddddddd"},BFHStatesList={AF:{1:{code:"BAL",name:"Balkh"},2:{code:"BAM",name:"Bamian"},3:{code:"BDG",name:"Badghis"},4:{code:"BDS",name:"Badakhshan"},5:{code:"BGL",name:"Baghlan"},6:{code:"FRA",name:"Farah"},7:{code:"FYB",name:"Faryab"},8:{code:"GHA",name:"Ghazni"},9:{code:"GHO",name:"Ghowr"},10:{code:"HEL",name:"Helmand"},11:{code:"HER",name:"Herat"},12:{code:"JOW",name:"Jowzjan"},13:{code:"KAB",name:"Kabul"},14:{code:"KAN",name:"Kandahar"},15:{code:"KAP",name:"Kapisa"},16:{code:"KDZ",name:"Kondoz"},17:{code:"KHO",name:"Khost"},18:{code:"KNR",name:"Konar"},19:{code:"LAG",name:"Laghman"},20:{code:"LOW",name:"Lowgar"},21:{code:"NAN",name:"Nangrahar"},22:{code:"NIM",name:"Nimruz"},23:{code:"NUR",name:"Nurestan"},24:{code:"ORU",name:"Oruzgan"},25:{code:"PAR",name:"Parwan"},26:{code:"PIA",name:"Paktia"},27:{code:"PKA",name:"Paktika"},28:{code:"SAM",name:"Samangan"},29:{code:"SAR",name:"Sar-e Pol"},30:{code:"TAK",name:"Takhar"},31:{code:"WAR",name:"Wardak"},32:{code:"ZAB",name:"Zabol"}},AL:{1:{code:"BR",name:"Berat"},2:{code:"BU",name:"Bulqize"},3:{code:"DI",name:"Diber"},4:{code:"DL",name:"Delvine"},5:{code:"DR",name:"Durres"},6:{code:"DV",name:"Devoll"},7:{code:"EL",name:"Elbasan"},8:{code:"ER",name:"Kolonje"},9:{code:"FR",name:"Fier"},10:{code:"GJ",name:"Gjirokaster"},11:{code:"GR",name:"Gramsh"},12:{code:"HA",name:"Has"},13:{code:"KA",name:"Kavaje"},14:{code:"KB",name:"Kurbin"},15:{code:"KC",name:"Kucove"},16:{code:"KO",name:"Korce"},17:{code:"KR",name:"Kruje"},18:{code:"KU",name:"Kukes"},19:{code:"LB",name:"Librazhd"},20:{code:"LE",name:"Lezhe"},21:{code:"LU",name:"Lushnje"},22:{code:"MK",name:"Mallakaster"},23:{code:"MM",name:"Malesi e Madhe"},24:{code:"MR",name:"Mirdite"},25:{code:"MT",name:"Mat"},26:{code:"PG",name:"Pogradec"},27:{code:"PQ",name:"Peqin"},28:{code:"PR",name:"Permet"},29:{code:"PU",name:"Puke"},30:{code:"SH",name:"Shkoder"},31:{code:"SK",name:"Skrapar"},32:{code:"SR",name:"Sarande"},33:{code:"TE",name:"Tepelene"},34:{code:"TP",name:"Tropoje"},35:{code:"TR",name:"Tirane"},36:{code:"VL",name:"Vlore"}},DZ:{1:{code:"ADE",name:"Ain Defla"},2:{code:"ADR",name:"Adrar"},3:{code:"ALG",name:"Alger"},4:{code:"ANN",name:"Annaba"},5:{code:"ATE",name:"Ain Temouchent"},6:{code:"BAT",name:"Batna"},7:{code:"BBA",name:"Bordj Bou Arreridj"},8:{code:"BEC",name:"Bechar"},9:{code:"BEJ",name:"Bejaia"},10:{code:"BIS",name:"Biskra"},11:{code:"BLI",name:"Blida"},12:{code:"BMD",name:"Boumerdes"},13:{code:"BOA",name:"Bouira"},14:{code:"CHL",name:"Chlef"},15:{code:"CON",name:"Constantine"},16:{code:"DJE",name:"Djelfa"},17:{code:"EBA",name:"El Bayadh"},18:{code:"EOU",name:"El Oued"},19:{code:"ETA",name:"El Tarf"},20:{code:"GHA",name:"Ghardaia"},21:{code:"GUE",name:"Guelma"},22:{code:"ILL",name:"Illizi"},23:{code:"JIJ",name:"Jijel"},24:{code:"KHE",name:"Khenchela"},25:{code:"LAG",name:"Laghouat"},26:{code:"MED",name:"Medea"},27:{code:"MIL",name:"Mila"},28:{code:"MOS",name:"Mostaganem"},29:{code:"MSI",name:"M'Sila"},30:{code:"MUA",name:"Muaskar"},31:{code:"NAA",name:"Naama"},32:{code:"OEB",name:"Oum el-Bouaghi"},33:{code:"ORA",name:"Oran"},34:{code:"OUA",name:"Ouargla"},35:{code:"REL",name:"Relizane"},36:{code:"SAH",name:"Souk Ahras"},37:{code:"SAI",name:"Saida"},38:{code:"SBA",name:"Sidi Bel Abbes"},39:{code:"SET",name:"Setif"},40:{code:"SKI",name:"Skikda"},41:{code:"TAM",name:"Tamanghasset"},42:{code:"TEB",name:"Tebessa"},43:{code:"TIA",name:"Tiaret"},44:{code:"TIN",name:"Tindouf"},45:{code:"TIP",name:"Tipaza"},46:{code:"TIS",name:"Tissemsilt"},47:{code:"TLE",name:"Tlemcen"},48:{code:"TOU",name:"Tizi Ouzou"}},AS:{1:{code:"E",name:"Eastern"},2:{code:"M",name:"Manu'a"},3:{code:"R",name:"Rose Island"},4:{code:"S",name:"Swains Island"},5:{code:"W",name:"Western"}},AD:{1:{code:"ALV",name:"Andorra la Vella"},2:{code:"CAN",name:"Canillo"},3:{code:"ENC",name:"Encamp"},4:{code:"ESE",name:"Escaldes-Engordany"},5:{code:"LMA",name:"La Massana"},6:{code:"ORD",name:"Ordino"},7:{code:"SJL",name:"Sant Julià de Lòria"}},AO:{1:{code:"BGO",name:"Bengo"},2:{code:"BGU",name:"Benguela"},3:{code:"BIE",name:"Bie"},4:{code:"CAB",name:"Cabinda"},5:{code:"CCU",name:"Cuando-Cubango"},6:{code:"CNO",name:"Cuanza Norte"},7:{code:"CUS",name:"Cuanza Sul"},8:{code:"CNN",name:"Cunene"},9:{code:"HUA",name:"Huambo"},10:{code:"HUI",name:"Huila"},11:{code:"LUA",name:"Luanda"},12:{code:"LNO",name:"Lunda Norte"},13:{code:"LSU",name:"Lunda Sul"},14:{code:"MAL",name:"Malange"},15:{code:"MOX",name:"Moxico"},16:{code:"NAM",name:"Namibe"},17:{code:"UIG",name:"Uige"},18:{code:"ZAI",name:"Zaire"}},AI:{1:{code:"ANG",name:"Anguillita"},2:{code:"ANG",name:"Anguila"},3:{code:"DOG",name:"Dog"},4:{code:"LIT",name:"Little Scrub"},5:{code:"PRI",name:"Prickly Pear"},6:{code:"SAN",name:"Sandy"},7:{code:"SCR",name:"Scrub"},8:{code:"SEA",name:"Seal"},9:{code:"SOM",name:"Sombrero"}},AQ:{1:{code:"ASG",name:"Saint George"},2:{code:"ASH",name:"Saint Philip"},3:{code:"ASJ",name:"Saint John"},4:{code:"ASL",name:"Saint Paul"},5:{code:"ASM",name:"Saint Mary"},6:{code:"ASR",name:"Saint Peter"},7:{code:"BAR",name:"Barbuda"},8:{code:"RED",name:"Redonda"}},AR:{1:{code:"AN",name:"Antartida e Islas del Atlantico"},2:{code:"BA",name:"Buenos Aires"},3:{code:"CA",name:"Catamarca"},4:{code:"CH",name:"Chaco"},5:{code:"CU",name:"Chubut"},6:{code:"CO",name:"Cordoba"},7:{code:"CR",name:"Corrientes"},8:{code:"CF",name:"Capital Federal"},9:{code:"ER",name:"Entre Rios"},10:{code:"FO",name:"Formosa"},11:{code:"JU",name:"Jujuy"},12:{code:"LP",name:"La Pampa"},13:{code:"LR",name:"La Rioja"},14:{code:"ME",name:"Mendoza"},15:{code:"MI",name:"Misiones"},16:{code:"NE",name:"Neuquen"},17:{code:"RN",name:"Rio Negro"},18:{code:"SA",name:"Salta"},19:{code:"SJ",name:"San Juan"},20:{code:"SL",name:"San Luis"},21:{code:"SC",name:"Santa Cruz"},22:{code:"SF",name:"Santa Fe"},23:{code:"SD",name:"Santiago del Estero"},24:{code:"TF",name:"Tierra del Fuego"},25:{code:"TU",name:"Tucuman"}},AM:{1:{code:"AGT",name:"Aragatsotn"},2:{code:"ARR",name:"Ararat"},3:{code:"ARM",name:"Armavir"},4:{code:"GEG",name:"Geghark 'unik'"},5:{code:"KOT",name:"Kotayk'"},6:{code:"LOR",name:"Lorri"},7:{code:"SHI",name:"Shirak"},8:{code:"SYU",name:"Syunik'"},9:{code:"TAV",name:"Tavush"},10:{code:"VAY",name:"Vayots' Dzor"},11:{code:"YER",name:"Yerevan"}},AW:{1:{code:"ARU",name:"Aruba"},2:{code:"DRU",name:"Druif Beach"},3:{code:"MAN",name:"Manchebo Beach"},4:{code:"NOO",name:"Noord"},5:{code:"ORA",name:"Oranjestad"},6:{code:"PAL",name:"Palm Beach"},7:{code:"ROO",name:"Rooi Thomas"},8:{code:"SIN",name:"Sint Nicolaas"},9:{code:"SIN",name:"Sint Nicolas"},10:{code:"WAY",name:"Wayaca"}},AU:{1:{code:"ACT",name:"Australian Capital Territory"},2:{code:"NSW",name:"New South Wales"},3:{code:"NT",name:"Northern Territory"},4:{code:"QLD",name:"Queensland"},5:{code:"SA",name:"South Australia"},6:{code:"TAS",name:"Tasmania"},7:{code:"VIC",name:"Victoria"},8:{code:"WA",name:"Western Australia"}},AT:{1:{code:"BUR",name:"Burgenland"},2:{code:"KAR",name:"Krnten"},3:{code:"NOS",name:"Niederöesterreich"},4:{code:"OOS",name:"Oberöesterreich"},5:{code:"SAL",name:"Salzburg"},6:{code:"STE",name:"Steiermark"},7:{code:"TIR",name:"Tirol"},8:{code:"VOR",name:"Vorarlberg"},9:{code:"WIE",name:"Wien"}},AZ:{1:{code:"AB",name:"Ali Bayramli"},2:{code:"ABS",name:"Abseron"},3:{code:"AGC",name:"AgcabAdi"},4:{code:"AGM",name:"Agdam"},5:{code:"AGS",name:"Agdas"},6:{code:"AGA",name:"Agstafa"},7:{code:"AGU",name:"Agsu"},8:{code:"AST",name:"Astara"},9:{code:"BA",name:"Baki"},10:{code:"BAB",name:"BabAk"},11:{code:"BAL",name:"BalakAn"},12:{code:"BAR",name:"BArdA"},13:{code:"BEY",name:"Beylaqan"},14:{code:"BIL",name:"Bilasuvar"},15:{code:"CAB",name:"Cabrayil"},16:{code:"CAL",name:"Calilabab"},17:{code:"CUL",name:"Culfa"},18:{code:"DAS",name:"Daskasan"},19:{code:"DAV",name:"Davaci"},20:{code:"FUZ",name:"Fuzuli"},21:{code:"GA",name:"Ganca"},22:{code:"GAD",name:"Gadabay"},23:{code:"GOR",name:"Goranboy"},24:{code:"GOY",name:"Goycay"},25:{code:"HAC",name:"Haciqabul"},26:{code:"IMI",name:"Imisli"},27:{code:"ISM",name:"Ismayilli"},28:{code:"KAL",name:"Kalbacar"},29:{code:"KUR",name:"Kurdamir"},30:{code:"LA",name:"Lankaran"},31:{code:"LAC",name:"Lacin"},32:{code:"LAN",name:"Lankaran"},33:{code:"LER",name:"Lerik"},34:{code:"MAS",name:"Masalli"},35:{code:"MI",name:"Mingacevir"},36:{code:"NA",name:"Naftalan"},37:{code:"NX",name:"Naxcivan"},38:{code:"NEF",name:"Neftcala"},39:{code:"OGU",name:"Oguz"},40:{code:"ORD",name:"Ordubad"},41:{code:"QAB",name:"Qabala"},42:{code:"QAX",name:"Qax"},43:{code:"QAZ",name:"Qazax"},44:{code:"QOB",name:"Qobustan"},45:{code:"QBA",name:"Quba"},46:{code:"QBI",name:"Qubadli"},47:{code:"QUS",name:"Qusar"},48:{code:"SA",name:"Saki"},49:{code:"SAT",name:"Saatli"},50:{code:"SAB",name:"Sabirabad"},51:{code:"SAD",name:"Sadarak"},52:{code:"SAH",name:"Sahbuz"},53:{code:"SAK",name:"Saki"},54:{code:"SAL",name:"Salyan"},55:{code:"SM",name:"Sumqayit"},56:{code:"SMI",name:"Samaxi"},57:{code:"SKR",name:"Samkir"},58:{code:"SMX",name:"Samux"},59:{code:"SAR",name:"Sarur"},60:{code:"SIY",name:"Siyazan"},61:{code:"SS",name:"Susa"},62:{code:"SUS",name:"Susa"},63:{code:"TAR",name:"Tartar"},64:{code:"TOV",name:"Tovuz"},65:{code:"UCA",name:"Ucar"},66:{code:"XA",name:"Xankandi"},67:{code:"XAC",name:"Xacmaz"},68:{code:"XAN",name:"Xanlar"},69:{code:"XIZ",name:"Xizi"},70:{code:"XCI",name:"Xocali"},71:{code:"XVD",name:"Xocavand"},72:{code:"YAR",name:"Yardimli"},73:{code:"YEV",name:"Yevlax"},74:{code:"ZAN",name:"Zangilan"},75:{code:"ZAQ",name:"Zaqatala"},76:{code:"ZAR",name:"Zardab"}},BS:{1:{code:"ACK",name:"Acklins"},2:{code:"BER",name:"Berry Islands"},3:{code:"BIM",name:"Bimini"},4:{code:"BLK",name:"Black Point"},5:{code:"CAT",name:"Cat Island"},6:{code:"CAB",name:"Central Abaco"},7:{code:"CAN",name:"Central Andros"},8:{code:"CEL",name:"Central Eleuthera"},9:{code:"FRE",name:"City of Freeport"},10:{code:"CRO",name:"Crooked Island"},11:{code:"EGB",name:"East Grand Bahama"},12:{code:"EXU",name:"Exuma"},13:{code:"GRD",name:"Grand Cay"},14:{code:"HAR",name:"Harbour Island"},15:{code:"HOP",name:"Hope Town"},16:{code:"INA",name:"Inagua"},17:{code:"LNG",name:"Long Island"},18:{code:"MAN",name:"Mangrove Cay"},19:{code:"MAY",name:"Mayaguana"},20:{code:"MOO",name:"Moore's Island"},21:{code:"NAB",name:"North Abaco"},22:{code:"NAN",name:"North Andros"},23:{code:"NEL",name:"North Eleuthera"},24:{code:"RAG",name:"Ragged Island"},25:{code:"RUM",name:"Rum Cay"},26:{code:"SAL",name:"San Salvador"},27:{code:"SAB",name:"South Abaco"},28:{code:"SAN",name:"South Andros"},29:{code:"SEL",name:"South Eleuthera"},30:{code:"SWE",name:"Spanish Wells"},31:{code:"WGB",name:"West Grand Bahama"}},BH:{1:{code:"CAP",name:"Capital"},2:{
code:"CEN",name:"Central"},3:{code:"MUH",name:"Muharraq"},4:{code:"NOR",name:"Northern"},5:{code:"SOU",name:"Southern"}},BD:{1:{code:"BAR",name:"Barisal"},2:{code:"CHI",name:"Chittagong"},3:{code:"DHA",name:"Dhaka"},4:{code:"KHU",name:"Khulna"},5:{code:"RAJ",name:"Rajshahi"},6:{code:"SYL",name:"Sylhet"}},BB:{1:{code:"CC",name:"Christ Church"},2:{code:"AND",name:"Saint Andrew"},3:{code:"GEO",name:"Saint George"},4:{code:"JAM",name:"Saint James"},5:{code:"JOH",name:"Saint John"},6:{code:"JOS",name:"Saint Joseph"},7:{code:"LUC",name:"Saint Lucy"},8:{code:"MIC",name:"Saint Michael"},9:{code:"PET",name:"Saint Peter"},10:{code:"PHI",name:"Saint Philip"},11:{code:"THO",name:"Saint Thomas"}},BY:{1:{code:"BR",name:"Brestskaya (Brest)"},2:{code:"HO",name:"Homyel'skaya (Homyel')"},3:{code:"HM",name:"Horad Minsk"},4:{code:"HR",name:"Hrodzyenskaya (Hrodna)"},5:{code:"MA",name:"Mahilyowskaya (Mahilyow)"},6:{code:"MI",name:"Minskaya"},7:{code:"VI",name:"Vitsyebskaya (Vitsyebsk)"}},BE:{1:{code:"VAN",name:"Antwerpen"},2:{code:"WBR",name:"Brabant Wallon"},3:{code:"WHT",name:"Hainaut"},4:{code:"WLG",name:"Liege"},5:{code:"VLI",name:"Limburg"},6:{code:"WLX",name:"Luxembourg"},7:{code:"WNA",name:"Namur"},8:{code:"VOV",name:"Oost-Vlaanderen"},9:{code:"VBR",name:"Vlaams Brabant"},10:{code:"VWV",name:"West-Vlaanderen"}},BZ:{1:{code:"BZ",name:"Belize"},2:{code:"CY",name:"Cayo"},3:{code:"CR",name:"Corozal"},4:{code:"OW",name:"Orange Walk"},5:{code:"SC",name:"Stann Creek"},6:{code:"TO",name:"Toledo"}},BJ:{1:{code:"AL",name:"Alibori"},2:{code:"AK",name:"Atakora"},3:{code:"AQ",name:"Atlantique"},4:{code:"BO",name:"Borgou"},5:{code:"CO",name:"Collines"},6:{code:"DO",name:"Donga"},7:{code:"KO",name:"Kouffo"},8:{code:"LI",name:"Littoral"},9:{code:"MO",name:"Mono"},10:{code:"OU",name:"Oueme"},11:{code:"PL",name:"Plateau"},12:{code:"ZO",name:"Zou"}},BM:{1:{code:"DS",name:"Devonshire"},2:{code:"HC",name:"Hamilton City"},3:{code:"HA",name:"Hamilton"},4:{code:"PG",name:"Paget"},5:{code:"PB",name:"Pembroke"},6:{code:"GC",name:"Saint George City"},7:{code:"SG",name:"Saint George's"},8:{code:"SA",name:"Sandys"},9:{code:"SM",name:"Smith's"},10:{code:"SH",name:"Southampton"},11:{code:"WA",name:"Warwick"}},BT:{1:{code:"BUM",name:"Bumthang"},2:{code:"CHU",name:"Chukha"},3:{code:"DAG",name:"Dagana"},4:{code:"GAS",name:"Gasa"},5:{code:"HAA",name:"Haa"},6:{code:"LHU",name:"Lhuntse"},7:{code:"MON",name:"Mongar"},8:{code:"PAR",name:"Paro"},9:{code:"PEM",name:"Pemagatshel"},10:{code:"PUN",name:"Punakha"},11:{code:"SJO",name:"Samdrup Jongkhar"},12:{code:"SAT",name:"Samtse"},13:{code:"SAR",name:"Sarpang"},14:{code:"THI",name:"Thimphu"},15:{code:"TRG",name:"Trashigang"},16:{code:"TRY",name:"Trashiyangste"},17:{code:"TRO",name:"Trongsa"},18:{code:"TSI",name:"Tsirang"},19:{code:"WPH",name:"Wangdue Phodrang"},20:{code:"ZHE",name:"Zhemgang"}},BO:{1:{code:"BEN",name:"Beni"},2:{code:"CHU",name:"Chuquisaca"},3:{code:"COC",name:"Cochabamba"},4:{code:"LPZ",name:"La Paz"},5:{code:"ORU",name:"Oruro"},6:{code:"PAN",name:"Pando"},7:{code:"POT",name:"Potosi"},8:{code:"SCZ",name:"Santa Cruz"},9:{code:"TAR",name:"Tarija"}},BA:{1:{code:"BRO",name:"Brcko district"},2:{code:"FBP",name:"Bosanskopodrinjski Kanton"},3:{code:"FHN",name:"Hercegovacko-neretvanski Kanton"},4:{code:"FPO",name:"Posavski Kanton"},5:{code:"FSA",name:"Kanton Sarajevo"},6:{code:"FSB",name:"Srednjebosanski Kanton"},7:{code:"FTU",name:"Tuzlanski Kanton"},8:{code:"FUS",name:"Unsko-Sanski Kanton"},9:{code:"FZA",name:"Zapadnobosanska"},10:{code:"FZE",name:"Zenicko-Dobojski Kanton"},11:{code:"FZH",name:"Zapadnohercegovacka Zupanija"},12:{code:"SBI",name:"Bijeljina"},13:{code:"SBL",name:"Banja Luka"},14:{code:"SDO",name:"Doboj"},15:{code:"SFO",name:"Foca"},16:{code:"SSR",name:"Sarajevo-Romanija or Sokolac"},17:{code:"STR",name:"Trebinje"},18:{code:"SVL",name:"Vlasenica"}},BW:{1:{code:"CE",name:"Central"},2:{code:"GH",name:"Ghanzi"},3:{code:"KD",name:"Kgalagadi"},4:{code:"KT",name:"Kgatleng"},5:{code:"KW",name:"Kweneng"},6:{code:"NG",name:"Ngamiland"},7:{code:"NE",name:"North East"},8:{code:"NW",name:"North West"},9:{code:"SE",name:"South East"},10:{code:"SO",name:"Southern"}},BR:{1:{code:"AC",name:"Acre"},2:{code:"AL",name:"Alagoas"},3:{code:"AP",name:"Amapa"},4:{code:"AM",name:"Amazonas"},5:{code:"BA",name:"Bahia"},6:{code:"CE",name:"Ceara"},7:{code:"DF",name:"Distrito Federal"},8:{code:"ES",name:"Espirito Santo"},9:{code:"GO",name:"Goias"},10:{code:"MA",name:"Maranhao"},11:{code:"MT",name:"Mato Grosso"},12:{code:"MS",name:"Mato Grosso do Sul"},13:{code:"MG",name:"Minas Gerais"},14:{code:"PA",name:"Para"},15:{code:"PB",name:"Paraiba"},16:{code:"PR",name:"Parana"},17:{code:"PE",name:"Pernambuco"},18:{code:"PI",name:"Piaui"},19:{code:"RJ",name:"Rio de Janeiro"},20:{code:"RN",name:"Rio Grande do Norte"},21:{code:"RS",name:"Rio Grande do Sul"},22:{code:"RO",name:"Rondonia"},23:{code:"RR",name:"Roraima"},24:{code:"SC",name:"Santa Catarina"},25:{code:"SP",name:"Sao Paulo"},26:{code:"SE",name:"Sergipe"},27:{code:"TO",name:"Tocantins"}},IO:{1:{code:"DG",name:"Diego Garcia"},2:{code:"DI",name:"Danger Island"},3:{code:"EA",name:"Eagle Islands"},4:{code:"EG",name:"Egmont Islands"},5:{code:"NI",name:"Nelsons Island"},6:{code:"PB",name:"Peros Banhos"},7:{code:"SI",name:"Salomon Islands"},8:{code:"TB",name:"Three Brothers"}},BN:{1:{code:"BEL",name:"Belait"},2:{code:"BRM",name:"Brunei and Muara"},3:{code:"TEM",name:"Temburong"},4:{code:"TUT",name:"Tutong"}},BG:{1:{code:"BG-01",name:"Blagoevgrad"},2:{code:"BG-02",name:"Burgas"},3:{code:"BG-03",name:"Dobrich"},4:{code:"BG-04",name:"Gabrovo"},5:{code:"BG-05",name:"Haskovo"},6:{code:"BG-06",name:"Kardjali"},7:{code:"BG-07",name:"Kyustendil"},8:{code:"BG-08",name:"Lovech"},9:{code:"BG-09",name:"Montana"},10:{code:"BG-10",name:"Pazardjik"},11:{code:"BG-11",name:"Pernik"},12:{code:"BG-12",name:"Pleven"},13:{code:"BG-13",name:"Plovdiv"},14:{code:"BG-14",name:"Razgrad"},15:{code:"BG-15",name:"Shumen"},16:{code:"BG-16",name:"Silistra"},17:{code:"BG-17",name:"Sliven"},18:{code:"BG-18",name:"Smolyan"},19:{code:"BG-19",name:"Sofia"},20:{code:"BG-20",name:"Sofia - town"},21:{code:"BG-21",name:"Stara Zagora"},22:{code:"BG-22",name:"Targovishte"},23:{code:"BG-23",name:"Varna"},24:{code:"BG-24",name:"Veliko Tarnovo"},25:{code:"BG-25",name:"Vidin"},26:{code:"BG-26",name:"Vratza"},27:{code:"BG-27",name:"Yambol"}},BF:{1:{code:"BAL",name:"Bale"},2:{code:"BAM",name:"Bam"},3:{code:"BAN",name:"Banwa"},4:{code:"BAZ",name:"Bazega"},5:{code:"BOR",name:"Bougouriba"},6:{code:"BLG",name:"Boulgou"},7:{code:"BOK",name:"Boulkiemde"},8:{code:"COM",name:"Comoe"},9:{code:"GAN",name:"Ganzourgou"},10:{code:"GNA",name:"Gnagna"},11:{code:"GOU",name:"Gourma"},12:{code:"HOU",name:"Houet"},13:{code:"IOA",name:"Ioba"},14:{code:"KAD",name:"Kadiogo"},15:{code:"KEN",name:"Kenedougou"},16:{code:"KOD",name:"Komondjari"},17:{code:"KOP",name:"Kompienga"},18:{code:"KOS",name:"Kossi"},19:{code:"KOL",name:"Koulpelogo"},20:{code:"KOT",name:"Kouritenga"},21:{code:"KOW",name:"Kourweogo"},22:{code:"LER",name:"Leraba"},23:{code:"LOR",name:"Loroum"},24:{code:"MOU",name:"Mouhoun"},25:{code:"NAH",name:"Nahouri"},26:{code:"NAM",name:"Namentenga"},27:{code:"NAY",name:"Nayala"},28:{code:"NOU",name:"Noumbiel"},29:{code:"OUB",name:"Oubritenga"},30:{code:"OUD",name:"Oudalan"},31:{code:"PAS",name:"Passore"},32:{code:"PON",name:"Poni"},33:{code:"SAG",name:"Sanguie"},34:{code:"SAM",name:"Sanmatenga"},35:{code:"SEN",name:"Seno"},36:{code:"SIS",name:"Sissili"},37:{code:"SOM",name:"Soum"},38:{code:"SOR",name:"Sourou"},39:{code:"TAP",name:"Tapoa"},40:{code:"TUY",name:"Tuy"},41:{code:"YAG",name:"Yagha"},42:{code:"YAT",name:"Yatenga"},43:{code:"ZIR",name:"Ziro"},44:{code:"ZOD",name:"Zondoma"},45:{code:"ZOW",name:"Zoundweogo"}},BI:{1:{code:"BB",name:"Bubanza"},2:{code:"BJ",name:"Bujumbura"},3:{code:"BR",name:"Bururi"},4:{code:"CA",name:"Cankuzo"},5:{code:"CI",name:"Cibitoke"},6:{code:"GI",name:"Gitega"},7:{code:"KR",name:"Karuzi"},8:{code:"KY",name:"Kayanza"},9:{code:"KI",name:"Kirundo"},10:{code:"MA",name:"Makamba"},11:{code:"MU",name:"Muramvya"},12:{code:"MY",name:"Muyinga"},13:{code:"MW",name:"Mwaro"},14:{code:"NG",name:"Ngozi"},15:{code:"RT",name:"Rutana"},16:{code:"RY",name:"Ruyigi"}},KH:{1:{code:"BA",name:"Battambang"},2:{code:"BM",name:"Banteay Meanchey"},3:{code:"KB",name:"Keb"},4:{code:"KK",name:"Kaoh Kong"},5:{code:"KL",name:"Kandal"},6:{code:"KM",name:"Kampong Cham"},7:{code:"KN",name:"Kampong Chhnang"},8:{code:"KO",name:"Kampong Som"},9:{code:"KP",name:"Kampot"},10:{code:"KR",name:"Kratie"},11:{code:"KT",name:"Kampong Thom"},12:{code:"KU",name:"Kampong Speu"},13:{code:"MK",name:"Mondul Kiri"},14:{code:"OM",name:"Oddar Meancheay"},15:{code:"PA",name:"Pailin"},16:{code:"PG",name:"Prey Veng"},17:{code:"PP",name:"Phnom Penh"},18:{code:"PR",name:"Preah Vihear"},19:{code:"PS",name:"Preah Seihanu (Kompong Som or Si)"},20:{code:"PU",name:"Pursat"},21:{code:"RK",name:"Ratanak Kiri"},22:{code:"SI",name:"Siemreap"},23:{code:"SR",name:"Svay Rieng"},24:{code:"ST",name:"Stung Treng"},25:{code:"TK",name:"Takeo"}},CM:{1:{code:"ADA",name:"Adamawa (Adamaoua)"},2:{code:"CEN",name:"Centre"},3:{code:"EST",name:"East (Est)"},4:{code:"EXN",name:"Extrême-Nord"},5:{code:"LIT",name:"Littoral"},6:{code:"NOR",name:"North (Nord)"},7:{code:"NOT",name:"Northwest (Nord-Ouest)"},8:{code:"OUE",name:"West (Ouest)"},9:{code:"SUD",name:"South (Sud)"},10:{code:"SOU",name:"Southwest (Sud-Ouest)"}},CA:{1:{code:"AB",name:"Alberta"},2:{code:"BC",name:"British Columbia"},3:{code:"MB",name:"Manitoba"},4:{code:"NB",name:"New Brunswick"},5:{code:"NL",name:"Newfoundland and Labrador"},6:{code:"NT",name:"Northwest Territories"},7:{code:"NS",name:"Nova Scotia"},8:{code:"NU",name:"Nunavut"},9:{code:"ON",name:"Ontario"},10:{code:"PE",name:"Prince Edward Island"},11:{code:"QC",name:"Québec"},12:{code:"SK",name:"Saskatchewan"},13:{code:"YT",name:"Yukon Territory"}},CV:{1:{code:"BV",name:"Boa Vista"},2:{code:"BR",name:"Brava"},3:{code:"CS",name:"Calheta de Sao Miguel"},4:{code:"MA",name:"Maio"},5:{code:"MO",name:"Mosteiros"},6:{code:"PA",name:"Paul"},7:{code:"PN",name:"Porto Novo"},8:{code:"PR",name:"Praia"},9:{code:"RG",name:"Ribeira Grande"},10:{code:"SL",name:"Sal"},11:{code:"CA",name:"Santa Catarina"},12:{code:"CR",name:"Santa Cruz"},13:{code:"SD",name:"Sao Domingos"},14:{code:"SF",name:"Sao Filipe"},15:{code:"SN",name:"Sao Nicolau"},16:{code:"SV",name:"Sao Vicente"},17:{code:"TA",name:"Tarrafal"}},KY:{1:{code:"CR",name:"Creek"},2:{code:"EA",name:"Eastern"},3:{code:"ML",name:"Midland"},4:{code:"ST",name:"South Town"},5:{code:"SP",name:"Spot Bay"},6:{code:"SK",name:"Stake Bay"},7:{code:"WD",name:"West End"},8:{code:"WN",name:"Western"}},CF:{1:{code:"BAN",name:"Bangui"},2:{code:"BBA",name:"Bamingui-Bangoran"},3:{code:"BKO",name:"Basse-Kotto"},4:{code:"HKO",name:"Haute-Kotto"},5:{code:"HMB",name:"Haut-Mbomou"},6:{code:"KEM",name:"Kemo"},7:{code:"LOB",name:"Lobaye"},8:{code:"MBO",name:"Mbomou"},9:{code:"MKD",name:"Mambéré-Kadéï"},10:{code:"NGR",name:"Nana-Grebizi"},11:{code:"NMM",name:"Nana-Mambere"},12:{code:"OMP",name:"Ombella-M'Poko"},13:{code:"OPE",name:"Ouham-Pende"},14:{code:"OUH",name:"Ouham"},15:{code:"OUK",name:"Ouaka"},16:{code:"SMB",name:"Sangha-Mbaere"},17:{code:"VAK",name:"Vakaga"}},TD:{1:{code:"BA",name:"Batha"},2:{code:"BI",name:"Biltine"},3:{code:"BE",name:"Borkou-Ennedi-Tibesti"},4:{code:"CB",name:"Chari-Baguirmi"},5:{code:"GU",name:"Guera"},6:{code:"KA",name:"Kanem"},7:{code:"LA",name:"Lac"},8:{code:"LC",name:"Logone Occidental"},9:{code:"LR",name:"Logone Oriental"},10:{code:"MK",name:"Mayo-Kebbi"},11:{code:"MC",name:"Moyen-Chari"},12:{code:"OU",name:"Ouaddai"},13:{code:"SA",name:"Salamat"},14:{code:"TA",name:"Tandjile"}},CL:{1:{code:"AI",name:"Aisen del General Carlos Ibanez"},2:{code:"AN",name:"Antofagasta"},3:{code:"AR",name:"Araucania"},4:{code:"AT",name:"Atacama"},5:{code:"BI",name:"Bio-Bio"},6:{code:"CO",name:"Coquimbo"},7:{code:"LI",name:"Libertador General Bernardo O'Hi"},8:{code:"LL",name:"Los Lagos"},9:{code:"MA",name:"Magallanes y de la Antartica Chi"},10:{code:"ML",name:"Maule"},11:{code:"RM",name:"Region Metropolitana"},12:{code:"TA",name:"Tarapaca"},13:{code:"VS",name:"Valparaiso"}},CN:{1:{code:"AN",name:"Anhui"},2:{code:"BE",name:"Beijing"},3:{code:"CH",name:"Chongqing"},4:{code:"FU",name:"Fujian"},5:{code:"GA",name:"Gansu"},6:{code:"GU",name:"Guangdong"},7:{code:"GX",name:"Guangxi"},8:{code:"GZ",name:"Guizhou"},9:{code:"HA",name:"Hainan"},10:{code:"HB",name:"Hebei"},11:{code:"HL",name:"Heilongjiang"},12:{code:"HE",name:"Henan"},13:{code:"HK",name:"Hong Kong"},14:{code:"HU",name:"Hubei"},15:{code:"HN",name:"Hunan"},16:{code:"IM",name:"Inner Mongolia"},17:{code:"JI",name:"Jiangsu"},18:{code:"JX",name:"Jiangxi"},19:{code:"JL",name:"Jilin"},20:{code:"LI",name:"Liaoning"},21:{code:"MA",name:"Macau"},22:{code:"NI",name:"Ningxia"},23:{code:"SH",name:"Shaanxi"},24:{code:"SA",name:"Shandong"},25:{code:"SG",name:"Shanghai"},26:{code:"SX",name:"Shanxi"},27:{code:"SI",name:"Sichuan"},28:{code:"TI",name:"Tianjin"},29:{code:"XI",name:"Xinjiang"},30:{code:"YU",name:"Yunnan"},31:{code:"ZH",name:"Zhejiang"}},CC:{1:{code:"D",name:"Direction Island"},2:{code:"H",name:"Home Island"},3:{code:"O",name:"Horsburgh Island"},4:{code:"S",name:"South Island"},5:{code:"W",name:"West Island"}},CO:{1:{code:"AMZ",name:"Amazonas"},2:{code:"ANT",name:"Antioquia"},3:{code:"ARA",name:"Arauca"},4:{code:"ATL",name:"Atlantico"},5:{code:"BDC",name:"Bogota D.C."},6:{code:"BOL",name:"Bolivar"},7:{code:"BOY",name:"Boyaca"},8:{code:"CAL",name:"Caldas"},9:{code:"CAQ",name:"Caqueta"},10:{code:"CAS",name:"Casanare"},11:{code:"CAU",name:"Cauca"},12:{code:"CES",name:"Cesar"},13:{code:"CHO",name:"Choco"},14:{code:"COR",name:"Cordoba"},15:{code:"CAM",name:"Cundinamarca"},16:{code:"GNA",name:"Guainia"},17:{code:"GJR",name:"Guajira"},18:{code:"GVR",name:"Guaviare"},19:{code:"HUI",name:"Huila"},20:{code:"MAG",name:"Magdalena"},21:{code:"MET",name:"Meta"},22:{code:"NAR",name:"Narino"},23:{code:"NDS",name:"Norte de Santander"},24:{code:"PUT",name:"Putumayo"},25:{code:"QUI",name:"Quindio"},26:{code:"RIS",name:"Risaralda"},27:{code:"SAP",name:"San Andres y Providencia"},28:{code:"SAN",name:"Santander"},29:{code:"SUC",name:"Sucre"},30:{code:"TOL",name:"Tolima"},31:{code:"VDC",name:"Valle del Cauca"},32:{code:"VAU",name:"Vaupes"},33:{code:"VIC",name:"Vichada"}},KM:{1:{code:"G",name:"Grande Comore"},2:{code:"A",name:"Anjouan"},3:{code:"M",name:"Moheli"}},CG:{1:{code:"BO",name:"Bouenza"},2:{code:"BR",name:"Brazzaville"},3:{code:"CU",name:"Cuvette"},4:{code:"CO",name:"Cuvette-Ouest"},5:{code:"KO",name:"Kouilou"},6:{code:"LE",name:"Lekoumou"},7:{code:"LI",name:"Likouala"},8:{code:"NI",name:"Niari"},9:{code:"PL",name:"Plateaux"},10:{code:"PO",name:"Pool"},11:{code:"SA",name:"Sangha"}},CK:{1:{code:"AI",name:"Aitutaki"},2:{code:"AT",name:"Atiu"},3:{code:"MA",name:"Manuae"},4:{code:"MG",name:"Mangaia"},5:{code:"MK",name:"Manihiki"},6:{code:"MT",name:"Mitiaro"},7:{code:"MU",name:"Mauke"},8:{code:"NI",name:"Nassau Island"},9:{code:"PA",name:"Palmerston"},10:{code:"PE",name:"Penrhyn"},11:{code:"PU",name:"Pukapuka"},12:{code:"RK",name:"Rakahanga"},13:{code:"RR",name:"Rarotonga"},14:{code:"SU",name:"Surwarrow"},15:{code:"TA",name:"Takutea"}},CR:{1:{code:"AL",name:"Alajuela"},2:{code:"CA",name:"Cartago"},3:{code:"GU",name:"Guanacaste"},4:{code:"HE",name:"Heredia"},5:{code:"LI",name:"Limon"},6:{code:"PU",name:"Puntarenas"},7:{code:"SJ",name:"San Jose"}},CI:{1:{code:"ABE",name:"Abengourou"},2:{code:"ABI",name:"Abidjan"},3:{code:"ABO",name:"Aboisso"},4:{code:"ADI",name:"Adiake"},5:{code:"ADZ",name:"Adzope"},6:{code:"AGB",name:"Agboville"},7:{code:"AGN",name:"Agnibilekrou"},8:{code:"ALE",name:"Alepe"},9:{code:"BOC",name:"Bocanda"},10:{code:"BAN",name:"Bangolo"},11:{code:"BEO",name:"Beoumi"},12:{code:"BIA",name:"Biankouma"},13:{code:"BDK",name:"Bondoukou"},14:{code:"BGN",name:"Bongouanou"},15:{code:"BFL",name:"Bouafle"},16:{code:"BKE",name:"Bouake"},17:{code:"BNA",name:"Bouna"},18:{code:"BDL",name:"Boundiali"},19:{code:"DKL",name:"Dabakala"},20:{code:"DBU",name:"Dabou"},21:{code:"DAL",name:"Daloa"},22:{code:"DAN",name:"Danane"},23:{code:"DAO",name:"Daoukro"},24:{code:"DIM",name:"Dimbokro"},25:{code:"DIV",name:"Divo"},26:{code:"DUE",name:"Duekoue"},27:{code:"FER",name:"Ferkessedougou"},28:{code:"GAG",name:"Gagnoa"},29:{code:"GBA",name:"Grand-Bassam"},30:{code:"GLA",name:"Grand-Lahou"},31:{code:"GUI",name:"Guiglo"},32:{code:"ISS",name:"Issia"},33:{code:"JAC",name:"Jacqueville"},34:{code:"KAT",name:"Katiola"},35:{code:"KOR",name:"Korhogo"},36:{code:"LAK",name:"Lakota"},37:{code:"MAN",name:"Man"},38:{code:"MKN",name:"Mankono"},39:{code:"MBA",name:"Mbahiakro"},40:{code:"ODI",name:"Odienne"},41:{code:"OUM",name:"Oume"},42:{code:"SAK",name:"Sakassou"},43:{code:"SPE",name:"San-Pedro"},44:{code:"SAS",name:"Sassandra"},45:{code:"SEG",name:"Seguela"},46:{code:"SIN",name:"Sinfra"},47:{code:"SOU",name:"Soubre"},48:{code:"TAB",name:"Tabou"},49:{code:"TAN",name:"Tanda"},50:{code:"TIE",name:"Tiebissou"},51:{code:"TIN",name:"Tingrela"},52:{code:"TIA",name:"Tiassale"},53:{code:"TBA",name:"Touba"},54:{code:"TLP",name:"Toulepleu"},55:{code:"TMD",name:"Toumodi"},56:{code:"VAV",name:"Vavoua"},57:{code:"YAM",name:"Yamoussoukro"},58:{code:"ZUE",name:"Zuenoula"}},HR:{1:{code:"BB",name:"Bjelovar-Bilogora"},2:{code:"CZ",name:"City of Zagreb"},3:{code:"DN",name:"Dubrovnik-Neretva"},4:{code:"IS",name:"Istra"},5:{code:"KA",name:"Karlovac"},6:{code:"KK",name:"Koprivnica-Krizevci"},7:{code:"KZ",name:"Krapina-Zagorje"},8:{code:"LS",name:"Lika-Senj"},9:{code:"ME",name:"Medimurje"},10:{code:"OB",name:"Osijek-Baranja"},11:{code:"PS",name:"Pozega-Slavonia"},12:{code:"PG",name:"Primorje-Gorski Kotar"},13:{code:"SI",name:"Sibenik"},14:{code:"SM",name:"Sisak-Moslavina"},15:{code:"SB",name:"Slavonski Brod-Posavina"},16:{code:"SD",name:"Split-Dalmatia"},17:{code:"VA",name:"Varazdin"},18:{code:"VP",name:"Virovitica-Podravina"},19:{code:"VS",name:"Vukovar-Srijem"},20:{code:"ZK",name:"Zadar-Knin"},21:{code:"ZA",name:"Zagreb"}},CU:{1:{code:"CA",name:"Camaguey"},2:{code:"CD",name:"Ciego de Avila"},3:{code:"CI",name:"Cienfuegos"},4:{code:"CH",name:"Ciudad de La Habana"},5:{code:"GR",name:"Granma"},6:{code:"GU",name:"Guantanamo"},7:{code:"HO",name:"Holguin"},8:{code:"IJ",name:"Isla de la Juventud"},9:{code:"LH",name:"La Habana"},10:{code:"LT",name:"Las Tunas"},11:{code:"MA",name:"Matanzas"},12:{code:"PR",name:"Pinar del Rio"},13:{code:"SS",name:"Sancti Spiritus"},14:{code:"SC",name:"Santiago de Cuba"},15:{code:"VC",name:"Villa Clara"}},CY:{1:{code:"F",name:"Famagusta"},2:{code:"K",name:"Kyrenia"},3:{code:"A",name:"Larnaca"},4:{code:"I",name:"Limassol"},5:{code:"N",name:"Nicosia"},6:{code:"P",name:"Paphos"}},CZ:{1:{code:"A",name:"Hlavní město Praha"},2:{code:"B",name:"Jihomoravský"},3:{code:"C",name:"Jihočeský"},4:{code:"E",name:"Pardubický"},5:{code:"H",name:"Královéhradecký"},6:{code:"J",name:"Vysočina"},7:{code:"K",name:"Karlovarský"},8:{code:"L",name:"Liberecký"},9:{code:"M",name:"Olomoucký"},10:{code:"P",name:"Plzeňský"},11:{code:"S",name:"Středočeský"},12:{code:"T",name:"Moravskoslezský"},13:{code:"U",name:"Ústecký"},14:{code:"Z",name:"Zlínský"}},DK:{1:{code:"AR",name:"Arhus"},2:{code:"BH",name:"Bornholm"},3:{code:"CO",name:"Copenhagen"},4:{code:"FO",name:"Faroe Islands"},5:{code:"FR",name:"Frederiksborg"},6:{code:"FY",name:"Fyn"},7:{code:"KO",name:"Kobenhavn"},8:{code:"NO",name:"Nordjylland"},9:{code:"RI",name:"Ribe"},10:{code:"RK",name:"Ringkobing"},11:{code:"RO",name:"Roskilde"},12:{code:"SO",name:"Sonderjylland"},13:{code:"ST",name:"Storstrom"},14:{code:"VK",name:"Vejle"},15:{code:"VJ",name:"Vestjælland"},16:{code:"VB",name:"Viborg"}},DJ:{1:{code:"S",name:"'Ali Sabih"},2:{code:"K",name:"Dikhil"},3:{code:"J",name:"Djibouti"},4:{code:"O",name:"Obock"},5:{code:"T",name:"Tadjoura"}},DM:{1:{code:"AND",name:"Saint Andrew Parish"},2:{code:"DAV",name:"Saint David Parish"},3:{code:"GEO",name:"Saint George Parish"},4:{code:"JOH",name:"Saint John Parish"},5:{code:"JOS",name:"Saint Joseph Parish"},6:{code:"LUK",name:"Saint Luke Parish"},7:{code:"MAR",name:"Saint Mark Parish"},8:{code:"PAT",name:"Saint Patrick Parish"},9:{code:"PAU",name:"Saint Paul Parish"},10:{code:"PET",name:"Saint Peter Parish"}},DO:{1:{code:"DN",name:"Distrito Nacional"},2:{code:"AZ",name:"Azua"},3:{code:"BC",name:"Baoruco"},4:{code:"BH",name:"Barahona"},5:{code:"DJ",name:"Dajabon"},6:{code:"DU",name:"Duarte"},7:{code:"EL",name:"Elias Pina"},8:{code:"SY",name:"El Seybo"},9:{code:"ET",name:"Espaillat"},10:{code:"HM",name:"Hato Mayor"},11:{code:"IN",name:"Independencia"},12:{code:"AL",name:"La Altagracia"},13:{code:"RO",name:"La Romana"},14:{code:"VE",name:"La Vega"},15:{code:"MT",name:"Maria Trinidad Sanchez"},16:{code:"MN",name:"Monsenor Nouel"},17:{code:"MC",name:"Monte Cristi"},18:{code:"MP",name:"Monte Plata"},19:{code:"PD",name:"Pedernales"},20:{code:"PR",name:"Peravia (Bani)"},21:{code:"PP",name:"Puerto Plata"},22:{code:"SL",name:"Salcedo"},23:{code:"SM",name:"Samana"},24:{code:"SH",name:"Sanchez Ramirez"},25:{code:"SC",name:"San Cristobal"},26:{code:"JO",name:"San Jose de Ocoa"},27:{code:"SJ",name:"San Juan"},28:{code:"PM",name:"San Pedro de Macoris"},29:{code:"SA",name:"Santiago"},30:{code:"ST",name:"Santiago Rodriguez"},31:{code:"SD",name:"Santo Domingo"},32:{code:"VA",name:"Valverde"}},TP:{1:{code:"AL",name:"Aileu"},2:{code:"AN",name:"Ainaro"},3:{code:"BA",name:"Baucau"},4:{code:"BO",name:"Bobonaro"},5:{code:"CO",name:"Cova Lima"},6:{code:"DI",name:"Dili"},7:{code:"ER",name:"Ermera"},8:{code:"LA",name:"Lautem"},9:{code:"LI",name:"Liquica"},10:{code:"MT",name:"Manatuto"},11:{code:"MF",name:"Manufahi"},12:{code:"OE",name:"Oecussi"},13:{code:"VI",name:"Viqueque"}},EC:{1:{code:"AZU",name:"Azuay"},2:{code:"BOL",name:"Bolivar"},3:{code:"CAN",name:"Cañar"},4:{code:"CAR",name:"Carchi"},5:{code:"CHI",name:"Chimborazo"},6:{code:"COT",name:"Cotopaxi"},7:{code:"EOR",name:"El Oro"},8:{code:"ESM",name:"Esmeraldas"},9:{code:"GPS",name:"Galápagos"},10:{code:"GUA",name:"Guayas"},11:{code:"IMB",name:"Imbabura"},12:{code:"LOJ",name:"Loja"},13:{code:"LRO",name:"Los Ríos"},14:{code:"MAN",name:"Manabí"},15:{code:"MSA",name:"Morona Santiago"},16:{code:"NAP",name:"Napo"},17:{code:"ORE",name:"Orellana"},18:{code:"PAS",name:"Pastaza"},19:{code:"PIC",name:"Pichincha"},20:{code:"SUC",name:"Sucumbíos"},21:{code:"TUN",name:"Tungurahua"},22:{code:"ZCH",name:"Zamora Chinchipe"}},EG:{1:{code:"DHY",name:"Ad Daqahliyah"},2:{code:"BAM",name:"Al Bahr al Ahmar"},3:{code:"BHY",name:"Al Buhayrah"},4:{code:"FYM",name:"Al Fayyum"},5:{code:"GBY",name:"Al Gharbiyah"},6:{code:"IDR",name:"Al Iskandariyah"},7:{code:"IML",name:"Al Isma 'iliyah"},8:{code:"JZH",name:"Al Jizah"},9:{code:"MFY",name:"Al Minufiyah"},10:{code:"MNY",name:"Al Minya"},11:{code:"QHR",name:"Al Qahirah"},12:{code:"QLY",name:"Al Qalyubiyah"},13:{code:"WJD",name:"Al Wadi al Jadid"},14:{code:"SHQ",name:"Ash Sharqiyah"},15:{code:"SWY",name:"As Suways"},16:{code:"ASW",name:"Aswan"},17:{code:"ASY",name:"Asyut"},18:{code:"BSW",name:"Bani Suwayf"},19:{code:"BSD",name:"Bur Sa'id"},20:{code:"DMY",name:"Dumyat"},21:{code:"JNS",name:"Janub Sina'"},22:{code:"KSH",name:"Kafr ash Shaykh"},23:{code:"MAT",name:"Matruh"},24:{code:"QIN",name:"Qina"},25:{code:"SHS",name:"Shamal Sina'"},26:{code:"SUH",name:"Suhaj"}},SV:{1:{code:"AH",name:"Ahuachapan"},2:{code:"CA",name:"Cabanas"},3:{code:"CH",name:"Chalatenango"},4:{code:"CU",name:"Cuscatlan"},5:{code:"LB",name:"La Libertad"},6:{code:"PZ",name:"La Paz"},7:{code:"UN",name:"La Union"},8:{code:"MO",name:"Morazan"},9:{code:"SM",name:"San Miguel"},10:{code:"SS",name:"San Salvador"},11:{code:"SV",name:"San Vicente"},12:{code:"SA",name:"Santa Ana"},13:{code:"SO",name:"Sonsonate"},14:{code:"US",name:"Usulutan"}},GQ:{1:{code:"AN",name:"Provincia Annobon"},2:{code:"BN",name:"Provincia Bioko Norte"},3:{code:"BS",name:"Provincia Bioko Sur"},4:{code:"CS",name:"Provincia Centro Sur"},5:{code:"KN",name:"Provincia Kie-Ntem"},6:{code:"LI",name:"Provincia Litoral"},7:{code:"WN",name:"Provincia Wele-Nzas"}},ER:{1:{code:"MA",name:"Central (Maekel)"},2:{code:"KE",name:"Anseba (Keren)"},3:{code:"DK",name:"Southern Red Sea (Debub-Keih-Bah)"},4:{code:"SK",name:"Northern Red Sea (Semien-Keih-Ba)"},5:{code:"DE",name:"Southern (Debub)"},6:{code:"BR",name:"Gash-Barka (Barentu)"}},EE:{1:{code:"HA",name:"Harjumaa (Tallinn)"},2:{code:"HI",name:"Hiiumaa (Kardla)"},3:{code:"IV",name:"Ida-Virumaa (Johvi)"},4:{code:"JA",name:"Jarvamaa (Paide)"},5:{code:"JO",name:"Jogevamaa (Jogeva)"},6:{code:"LV",name:"Laane-Virumaa (Rakvere)"},7:{code:"LA",name:"Laanemaa (Haapsalu)"},8:{code:"PA",name:"Parnumaa (Parnu)"},9:{code:"PO",name:"Polvamaa (Polva)"},10:{code:"RA",name:"Raplamaa (Rapla)"},11:{code:"SA",name:"Saaremaa (Kuessaare)"},12:{code:"TA",name:"Tartumaa (Tartu)"},13:{code:"VA",name:"Valgamaa (Valga)"},14:{code:"VI",name:"Viljandimaa (Viljandi)"},15:{code:"VO",name:"Vorumaa (Voru)"}},ET:{1:{code:"AF",name:"Afar"},2:{code:"AH",name:"Amhara"},3:{code:"BG",name:"Benishangul-Gumaz"},4:{code:"GB",name:"Gambela"},5:{code:"HR",name:"Hariai"},6:{code:"OR",name:"Oromia"},7:{code:"SM",name:"Somali"},8:{code:"SN",name:"Southern Nations - Nationalities"},9:{code:"TG",name:"Tigray"},10:{code:"AA",name:"Addis Ababa"},11:{code:"DD",name:"Dire Dawa"}},FO:{1:{code:"TÛR",name:"Tûrshavnar Kommuna"},2:{code:"KLA",name:"Klaksvík"},3:{code:"RUN",name:"Runavík"},4:{code:"TVØ",name:"Tvøroyri"},5:{code:"FUG",name:"Fuglafjørður"},6:{code:"SUN",name:"Sunda Kommuna"},7:{code:"VáG",name:"Vágur"},8:{code:"NES",name:"Nes"},9:{code:"VES",name:"Vestmanna"},10:{code:"MIð",name:"Miðvágur"},11:{code:"SØR",name:"Sørvágur"},12:{code:"GØT",name:"Gøtu Kommuna"},13:{code:"SJû",name:"Sjûvar Kommuna"},14:{code:"LEI",name:"Leirvík"},15:{code:"SAN",name:"Sandavágur"},16:{code:"HVA",name:"Hvalba"},17:{code:"EIð",name:"Eiði"},18:{code:"KVí",name:"Kvívík"},19:{code:"SAN",name:"Sandur"},20:{code:"SKO",name:"Skopun"},21:{code:"HVA",name:"Hvannasund"},22:{code:"SUM",name:"Sumba"},23:{code:"VIð",name:"Viðareiði"},24:{code:"POR",name:"Porkeri"},25:{code:"SKá",name:"Skálavík"},26:{code:"KUN",name:"Kunoy"},27:{code:"HÚS",name:"HÚsavík"},28:{code:"HOV",name:"Hov"},29:{code:"FáM",name:"Fámjin"},30:{code:"FUN",name:"Funningur"},31:{code:"HÚS",name:"HÚsar"},32:{code:"SKÚ",name:"SkÚvoy"},33:{code:"SVí",name:"Svínoy"},34:{code:"FUG",name:"Fugloy"}},FJ:{1:{code:"C",name:"Central Division"},2:{code:"E",name:"Eastern Division"},3:{code:"N",name:"Northern Division"},4:{code:"R",name:"Rotuma"},5:{code:"W",name:"Western Division"}},FI:{1:{code:"AL",name:"Ahvenanmaan Laani"},2:{code:"ES",name:"Etela-Suomen Laani"},3:{code:"IS",name:"Ita-Suomen Laani"},4:{code:"LS",name:"Lansi-Suomen Laani"},5:{code:"LA",name:"Lapin Lanani"},6:{code:"OU",name:"Oulun Laani"}},FR:{1:{code:"AL",name:"Alsace"},2:{code:"AQ",name:"Aquitaine"},3:{code:"AU",name:"Auvergne"},4:{code:"BR",name:"Brittany"},5:{code:"BU",name:"Burgundy"},6:{code:"CE",name:"Center Loire Valley"},7:{code:"CH",name:"Champagne"},8:{code:"CO",name:"Corse"},9:{code:"FR",name:"France Comte"},10:{code:"LA",name:"Languedoc Roussillon"},11:{code:"LI",name:"Limousin"},12:{code:"LO",name:"Lorraine"},13:{code:"MI",name:"Midi Pyrenees"},14:{code:"NO",name:"Nord Pas de Calais"},15:{code:"NR",name:"Normandy"},16:{code:"PA",name:"Paris / Ile de France"},17:{code:"PI",name:"Picardie"},18:{code:"PO",name:"Poitou Charente"},19:{code:"PR",name:"Provence"},20:{code:"RH",name:"Rhone Alps"},21:{code:"RI",name:"Riviera"},22:{code:"WE",name:"Western Loire Valley"}},FX:{1:{code:"Et",name:"Etranger"},2:{code:"01",name:"Ain"},3:{code:"02",name:"Aisne"},4:{code:"03",name:"Allier"},5:{code:"04",name:"Alpes de Haute Provence"},6:{code:"05",name:"Hautes-Alpes"},7:{code:"06",name:"Alpes Maritimes"},8:{code:"07",name:"Ardèche"},9:{code:"08",name:"Ardennes"},10:{code:"09",name:"Ariège"},11:{code:"10",name:"Aube"},12:{code:"11",name:"Aude"},13:{code:"12",name:"Aveyron"},14:{code:"13",name:"Bouches du Rhône"},15:{code:"14",name:"Calvados"},16:{code:"15",name:"Cantal"},17:{code:"16",name:"Charente"},18:{code:"17",name:"Charente Maritime"},19:{code:"18",name:"Cher"},20:{code:"19",name:"Corrèze"},21:{code:"2A",name:"Corse du Sud"},22:{code:"2B",name:"Haute Corse"},23:{code:"21",name:"Côte d'or"},24:{code:"22",name:"Côtes d'Armor"},25:{code:"23",name:"Creuse"},26:{code:"24",name:"Dordogne"},27:{code:"25",name:"Doubs"},28:{code:"26",name:"Drôme"},29:{code:"27",name:"Eure"},30:{code:"28",name:"Eure et Loir"},31:{code:"29",name:"Finistère"},32:{code:"30",name:"Gard"},33:{code:"31",name:"Haute Garonne"},34:{code:"32",name:"Gers"},35:{code:"33",name:"Gironde"},36:{code:"34",name:"Hérault"},37:{code:"35",name:"Ille et Vilaine"},38:{code:"36",name:"Indre"},39:{code:"37",name:"Indre et Loire"},40:{code:"38",name:"Isére"},41:{code:"39",name:"Jura"},42:{code:"40",name:"Landes"},43:{code:"41",name:"Loir et Cher"},44:{code:"42",name:"Loire"},45:{code:"43",name:"Haute Loire"},46:{code:"44",name:"Loire Atlantique"},47:{code:"45",name:"Loiret"},48:{code:"46",name:"Lot"},49:{code:"47",name:"Lot et Garonne"},50:{code:"48",name:"Lozère"},51:{code:"49",name:"Maine et Loire"},52:{code:"50",name:"Manche"},53:{code:"51",name:"Marne"},54:{code:"52",name:"Haute Marne"},55:{code:"53",name:"Mayenne"},56:{code:"54",name:"Meurthe et Moselle"},57:{code:"55",name:"Meuse"},58:{code:"56",name:"Morbihan"},59:{code:"57",name:"Moselle"},60:{code:"58",name:"Nièvre"},61:{code:"59",name:"Nord"},62:{code:"60",name:"Oise"},63:{code:"61",name:"Orne"},64:{code:"62",name:"Pas de Calais"},65:{code:"63",name:"Puy de Dôme"},66:{code:"64",name:"Pyrenees Atlantique"},67:{code:"65",name:"Hautes Pyrenees"},68:{code:"66",name:"Pyrenees Orientale"},69:{code:"67",name:"Bas Rhin"},70:{code:"68",name:"Haut Rhin"},71:{code:"69",name:"Rhône"},72:{code:"70",name:"Haute Saône"},73:{code:"71",name:"Saône et Loire"},74:{code:"72",name:"Sarthe"},75:{code:"73",name:"Savoie"},76:{code:"74",name:"Haute Savoie"},77:{code:"75",name:"Paris"},78:{code:"76",name:"Seine Martitime"},79:{code:"77",name:"Seine et Marne"},80:{code:"78",name:"Yvelines"},81:{code:"79",name:"Deux Sèvres"},82:{code:"80",name:"Somme"},83:{code:"81",name:"Tarn"},84:{code:"82",name:"Tarn et Garonne"},85:{code:"83",name:"Var"},86:{code:"84",name:"Vaucluse"},87:{code:"85",name:"Vendée"},88:{code:"86",name:"Vienne"},89:{code:"87",name:"Haute Vienne"},90:{code:"88",name:"Vosges"},91:{code:"89",name:"Yonne"},92:{code:"90",name:"Territoire de Belfort"},93:{code:"91",name:"Essonne"},94:{code:"92",name:"Hauts de Seine"},95:{code:"93",name:"Seine St-Denis"},96:{code:"94",name:"Val de Marne"},97:{code:"95",name:"Val d'oise"}},GF:{1:{code:"AWA",name:"Awala-Yalimapo"},2:{code:"MAN",name:"Mana"},3:{code:"SAI",name:"Saint-Laurent-Du-Maroni"},4:{code:"APA",name:"Apatou"},5:{code:"GRA",name:"Grand-Santi"},6:{code:"PAP",name:"Papaïchton"},7:{code:"SAÜ",name:"SaÜl"},8:{code:"MAR",name:"Maripasoula"},9:{code:"CAM",name:"Camopi"},10:{code:"SAI",name:"Saint-Georges"},11:{code:"OUA",name:"Ouanary"},12:{code:"RéG",name:"Régina"},13:{code:"ROU",name:"Roura"},14:{code:"SAI",name:"Saint-élie"},15:{code:"IRA",name:"Iracoubo"},16:{code:"SIN",name:"Sinnamary"},17:{code:"KOU",name:"Kourou"},18:{code:"MAC",name:"Macouria"},19:{code:"MON",name:"Montsinéry-Tonnegrande"},20:{code:"MAT",name:"Matoury"},21:{code:"CAY",name:"Cayenne"},22:{code:"REM",name:"Remire-Montjoly"}},PF:{1:{code:"M",name:"Archipel des Marquises"},2:{code:"T",name:"Archipel des Tuamotu"},3:{code:"I",name:"Archipel des Tubuai"},4:{code:"V",name:"Iles du Vent"},5:{code:"S",name:"Iles Sous-le-Vent"}},TF:{1:{code:"C",name:"Iles Crozet"},2:{code:"K",name:"Iles Kerguelen"},3:{code:"A",name:"Ile Amsterdam"},4:{code:"P",name:"Ile Saint-Paul"},5:{code:"D",name:"Adelie Land"}},GA:{1:{code:"ES",name:"Estuaire"},2:{code:"HO",name:"Haut-Ogooue"},3:{code:"MO",name:"Moyen-Ogooue"},4:{code:"NG",name:"Ngounie"},5:{code:"NY",name:"Nyanga"},6:{code:"OI",name:"Ogooue-Ivindo"},7:{code:"OL",name:"Ogooue-Lolo"},8:{code:"OM",name:"Ogooue-Maritime"},9:{code:"WN",name:"Woleu-Ntem"}},GM:{1:{code:"BJ",name:"Banjul"
},2:{code:"BS",name:"Basse"},3:{code:"BR",name:"Brikama"},4:{code:"JA",name:"Janjangbure"},5:{code:"KA",name:"Kanifeng"},6:{code:"KE",name:"Kerewan"},7:{code:"KU",name:"Kuntaur"},8:{code:"MA",name:"Mansakonko"},9:{code:"LR",name:"Lower River"},10:{code:"CR",name:"Central River"},11:{code:"NB",name:"North Bank"},12:{code:"UR",name:"Upper River"},13:{code:"WE",name:"Western"}},GE:{1:{code:"AB",name:"Abkhazia"},2:{code:"AJ",name:"Ajaria"},3:{code:"GU",name:"Guria"},4:{code:"IM",name:"Imereti"},5:{code:"KA",name:"Kakheti"},6:{code:"KK",name:"Kvemo Kartli"},7:{code:"MM",name:"Mtskheta-Mtianeti"},8:{code:"RL",name:"Racha Lechkhumi and Kvemo Svanet"},9:{code:"SJ",name:"Samtskhe-Javakheti"},10:{code:"SK",name:"Shida Kartli"},11:{code:"SZ",name:"Samegrelo-Zemo Svaneti"},12:{code:"TB",name:"Tbilisi"}},DE:{1:{code:"BAW",name:"Baden-Württemberg"},2:{code:"BAY",name:"Bayern"},3:{code:"BER",name:"Berlin"},4:{code:"BRG",name:"Brandenburg"},5:{code:"BRE",name:"Bremen"},6:{code:"HAM",name:"Hamburg"},7:{code:"HES",name:"Hessen"},8:{code:"MEC",name:"Mecklenburg-Vorpommern"},9:{code:"NDS",name:"Niedersachsen"},10:{code:"NRW",name:"Nordrhein-Westfalen"},11:{code:"RHE",name:"Rheinland-Pfalz"},12:{code:"SAR",name:"Saarland"},13:{code:"SAS",name:"Sachsen"},14:{code:"SAC",name:"Sachsen-Anhalt"},15:{code:"SCN",name:"Schleswig-Holstein"},16:{code:"THE",name:"Thüringen"}},GH:{1:{code:"AS",name:"Ashanti Region"},2:{code:"BA",name:"Brong-Ahafo Region"},3:{code:"CE",name:"Central Region"},4:{code:"EA",name:"Eastern Region"},5:{code:"GA",name:"Greater Accra Region"},6:{code:"NO",name:"Northern Region"},7:{code:"UE",name:"Upper East Region"},8:{code:"UW",name:"Upper West Region"},9:{code:"VO",name:"Volta Region"},10:{code:"WE",name:"Western Region"}},GI:{1:{code:"EAS",name:"East Side"},2:{code:"NOR",name:"North District"},3:{code:"REC",name:"Reclamation Areas"},4:{code:"SAN",name:"Sandpits Area"},5:{code:"SOU",name:"South District"},6:{code:"TOW",name:"Town Area"},7:{code:"UPP",name:"Upper Town"},8:{code:"OTH",name:"Other"}},GR:{1:{code:"AT",name:"Attica"},2:{code:"CN",name:"Central Greece"},3:{code:"CM",name:"Central Macedonia"},4:{code:"CR",name:"Crete"},5:{code:"EM",name:"East Macedonia and Thrace"},6:{code:"EP",name:"Epirus"},7:{code:"II",name:"Ionian Islands"},8:{code:"NA",name:"North Aegean"},9:{code:"PP",name:"Peloponnesos"},10:{code:"SA",name:"South Aegean"},11:{code:"TH",name:"Thessaly"},12:{code:"WG",name:"West Greece"},13:{code:"WM",name:"West Macedonia"}},GL:{1:{code:"A",name:"Avannaa"},2:{code:"T",name:"Tunu"},3:{code:"K",name:"Kitaa"}},86:{1:{code:"A",name:"Saint Andrew"},2:{code:"D",name:"Saint David"},3:{code:"G",name:"Saint George"},4:{code:"J",name:"Saint John"},5:{code:"M",name:"Saint Mark"},6:{code:"P",name:"Saint Patrick"},7:{code:"C",name:"Carriacou"},8:{code:"Q",name:"Petit Martinique"}},GP:{1:{code:"ARR",name:"Arrondissements Of The Guadeloup"},2:{code:"CAN",name:"Cantons Of The Guadeloup Depart"},3:{code:"COM",name:"Communes Of The Guadeloup Depart"}},GU:{1:{code:"AGA",name:"Agana Heights"},2:{code:"AGA",name:"Agat"},3:{code:"ASA",name:"Asan Maina"},4:{code:"BAR",name:"Barrigada"},5:{code:"CHA",name:"Chalan Pago Ordot"},6:{code:"DED",name:"Dededo"},7:{code:"HAG",name:"HagÅtña"},8:{code:"INA",name:"Inarajan"},9:{code:"MAN",name:"Mangilao"},10:{code:"MER",name:"Merizo"},11:{code:"MON",name:"Mongmong Toto Maite"},12:{code:"PIT",name:"Piti"},13:{code:"SAN",name:"Santa Rita"},14:{code:"SIN",name:"Sinajana"},15:{code:"TAL",name:"Talofofo"},16:{code:"TAM",name:"Tamuning"},17:{code:"UMA",name:"Umatac"},18:{code:"YIG",name:"Yigo"},19:{code:"YON",name:"Yona"}},GT:{1:{code:"AV",name:"Alta Verapaz"},2:{code:"BV",name:"Baja Verapaz"},3:{code:"CM",name:"Chimaltenango"},4:{code:"CQ",name:"Chiquimula"},5:{code:"PE",name:"El Peten"},6:{code:"PR",name:"El Progreso"},7:{code:"QC",name:"El Quiche"},8:{code:"ES",name:"Escuintla"},9:{code:"GU",name:"Guatemala"},10:{code:"HU",name:"Huehuetenango"},11:{code:"IZ",name:"Izabal"},12:{code:"JA",name:"Jalapa"},13:{code:"JU",name:"Jutiapa"},14:{code:"QZ",name:"Quetzaltenango"},15:{code:"RE",name:"Retalhuleu"},16:{code:"ST",name:"Sacatepequez"},17:{code:"SM",name:"San Marcos"},18:{code:"SR",name:"Santa Rosa"},19:{code:"SO",name:"Solola"},20:{code:"SU",name:"Suchitepequez"},21:{code:"TO",name:"Totonicapan"},22:{code:"ZA",name:"Zacapa"}},GN:{1:{code:"CNK",name:"Conakry"},2:{code:"BYL",name:"Beyla"},3:{code:"BFA",name:"Boffa"},4:{code:"BOK",name:"Boke"},5:{code:"COY",name:"Coyah"},6:{code:"DBL",name:"Dabola"},7:{code:"DLB",name:"Dalaba"},8:{code:"DGR",name:"Dinguiraye"},9:{code:"DBR",name:"Dubreka"},10:{code:"FRN",name:"Faranah"},11:{code:"FRC",name:"Forecariah"},12:{code:"FRI",name:"Fria"},13:{code:"GAO",name:"Gaoual"},14:{code:"GCD",name:"Gueckedou"},15:{code:"KNK",name:"Kankan"},16:{code:"KRN",name:"Kerouane"},17:{code:"KND",name:"Kindia"},18:{code:"KSD",name:"Kissidougou"},19:{code:"KBA",name:"Koubia"},20:{code:"KDA",name:"Koundara"},21:{code:"KRA",name:"Kouroussa"},22:{code:"LAB",name:"Labe"},23:{code:"LLM",name:"Lelouma"},24:{code:"LOL",name:"Lola"},25:{code:"MCT",name:"Macenta"},26:{code:"MAL",name:"Mali"},27:{code:"MAM",name:"Mamou"},28:{code:"MAN",name:"Mandiana"},29:{code:"NZR",name:"Nzerekore"},30:{code:"PIT",name:"Pita"},31:{code:"SIG",name:"Siguiri"},32:{code:"TLM",name:"Telimele"},33:{code:"TOG",name:"Tougue"},34:{code:"YOM",name:"Yomou"}},GW:{1:{code:"BF",name:"Bafata Region"},2:{code:"BB",name:"Biombo Region"},3:{code:"BS",name:"Bissau Region"},4:{code:"BL",name:"Bolama Region"},5:{code:"CA",name:"Cacheu Region"},6:{code:"GA",name:"Gabu Region"},7:{code:"OI",name:"Oio Region"},8:{code:"QU",name:"Quinara Region"},9:{code:"TO",name:"Tombali Region"}},GY:{1:{code:"BW",name:"Barima-Waini"},2:{code:"CM",name:"Cuyuni-Mazaruni"},3:{code:"DM",name:"Demerara-Mahaica"},4:{code:"EC",name:"East Berbice-Corentyne"},5:{code:"EW",name:"Essequibo Islands-West Demerara"},6:{code:"MB",name:"Mahaica-Berbice"},7:{code:"PM",name:"Pomeroon-Supenaam"},8:{code:"PI",name:"Potaro-Siparuni"},9:{code:"UD",name:"Upper Demerara-Berbice"},10:{code:"UT",name:"Upper Takutu-Upper Essequibo"}},HT:{1:{code:"AR",name:"Artibonite"},2:{code:"CE",name:"Centre"},3:{code:"GA",name:"Grand'Anse"},4:{code:"ND",name:"Nord"},5:{code:"NE",name:"Nord-Est"},6:{code:"NO",name:"Nord-Ouest"},7:{code:"OU",name:"Ouest"},8:{code:"SD",name:"Sud"},9:{code:"SE",name:"Sud-Est"}},HM:{1:{code:"F",name:"Flat Island"},2:{code:"M",name:"McDonald Island"},3:{code:"S",name:"Shag Island"},4:{code:"H",name:"Heard Island"}},HN:{1:{code:"AT",name:"Atlantida"},2:{code:"CH",name:"Choluteca"},3:{code:"CL",name:"Colon"},4:{code:"CM",name:"Comayagua"},5:{code:"CP",name:"Copan"},6:{code:"CR",name:"Cortes"},7:{code:"PA",name:"El Paraiso"},8:{code:"FM",name:"Francisco Morazan"},9:{code:"GD",name:"Gracias a Dios"},10:{code:"IN",name:"Intibuca"},11:{code:"IB",name:"Islas de la Bahia (Bay Islands)"},12:{code:"PZ",name:"La Paz"},13:{code:"LE",name:"Lempira"},14:{code:"OC",name:"Ocotepeque"},15:{code:"OL",name:"Olancho"},16:{code:"SB",name:"Santa Barbara"},17:{code:"VA",name:"Valle"},18:{code:"YO",name:"Yoro"}},HK:{1:{code:"HCW",name:"Central and Western Hong Kong Is"},2:{code:"HEA",name:"Eastern Hong Kong Island"},3:{code:"HSO",name:"Southern Hong Kong Island"},4:{code:"HWC",name:"Wan Chai Hong Kong Island"},5:{code:"KKC",name:"Kowloon City Kowloon"},6:{code:"KKT",name:"Kwun Tong Kowloon"},7:{code:"KSS",name:"Sham Shui Po Kowloon"},8:{code:"KWT",name:"Wong Tai Sin Kowloon"},9:{code:"KYT",name:"Yau Tsim Mong Kowloon"},10:{code:"NIS",name:"Islands New Territories"},11:{code:"NKT",name:"Kwai Tsing New Territories"},12:{code:"NNO",name:"North New Territories"},13:{code:"NSK",name:"Sai Kung New Territories"},14:{code:"NST",name:"Sha Tin New Territories"},15:{code:"NTP",name:"Tai Po New Territories"},16:{code:"NTW",name:"Tsuen Wan New Territories"},17:{code:"NTM",name:"Tuen Mun New Territories"},18:{code:"NYL",name:"Yuen Long New Territories"}},HU:{1:{code:"BK",name:"Bacs-Kiskun"},2:{code:"BA",name:"Baranya"},3:{code:"BE",name:"Bekes"},4:{code:"BS",name:"Bekescsaba"},5:{code:"BZ",name:"Borsod-Abauj-Zemplen"},6:{code:"BU",name:"Budapest"},7:{code:"CS",name:"Csongrad"},8:{code:"DE",name:"Debrecen"},9:{code:"DU",name:"Dunaujvaros"},10:{code:"EG",name:"Eger"},11:{code:"FE",name:"Fejer"},12:{code:"GY",name:"Gyor"},13:{code:"GM",name:"Gyor-Moson-Sopron"},14:{code:"HB",name:"Hajdu-Bihar"},15:{code:"HE",name:"Heves"},16:{code:"HO",name:"Hodmezovasarhely"},17:{code:"JN",name:"Jasz-Nagykun-Szolnok"},18:{code:"KA",name:"Kaposvar"},19:{code:"KE",name:"Kecskemet"},20:{code:"KO",name:"Komarom-Esztergom"},21:{code:"MI",name:"Miskolc"},22:{code:"NA",name:"Nagykanizsa"},23:{code:"NO",name:"Nograd"},24:{code:"NY",name:"Nyiregyhaza"},25:{code:"PE",name:"Pecs"},26:{code:"PS",name:"Pest"},27:{code:"SO",name:"Somogy"},28:{code:"SP",name:"Sopron"},29:{code:"SS",name:"Szabolcs-Szatmar-Bereg"},30:{code:"SZ",name:"Szeged"},31:{code:"SE",name:"Szekesfehervar"},32:{code:"SL",name:"Szolnok"},33:{code:"SM",name:"Szombathely"},34:{code:"TA",name:"Tatabanya"},35:{code:"TO",name:"Tolna"},36:{code:"VA",name:"Vas"},37:{code:"VE",name:"Veszprem"},38:{code:"ZA",name:"Zala"},39:{code:"ZZ",name:"Zalaegerszeg"}},IS:{1:{code:"AL",name:"Austurland"},2:{code:"HF",name:"Hofuoborgarsvaeoi"},3:{code:"NE",name:"Norourland eystra"},4:{code:"NV",name:"Norourland vestra"},5:{code:"SL",name:"Suourland"},6:{code:"SN",name:"Suournes"},7:{code:"VF",name:"Vestfiroir"},8:{code:"VL",name:"Vesturland"}},IN:{1:{code:"AN",name:"Andaman and Nicobar Islands"},2:{code:"AP",name:"Andhra Pradesh"},3:{code:"AR",name:"Arunachal Pradesh"},4:{code:"AS",name:"Assam"},5:{code:"BI",name:"Bihar"},6:{code:"CH",name:"Chandigarh"},7:{code:"DA",name:"Dadra and Nagar Haveli"},8:{code:"DM",name:"Daman and Diu"},9:{code:"DE",name:"Delhi"},10:{code:"GO",name:"Goa"},11:{code:"GU",name:"Gujarat"},12:{code:"HA",name:"Haryana"},13:{code:"HP",name:"Himachal Pradesh"},14:{code:"JA",name:"Jammu and Kashmir"},15:{code:"KA",name:"Karnataka"},16:{code:"KE",name:"Kerala"},17:{code:"LI",name:"Lakshadweep Islands"},18:{code:"MP",name:"Madhya Pradesh"},19:{code:"MA",name:"Maharashtra"},20:{code:"MN",name:"Manipur"},21:{code:"ME",name:"Meghalaya"},22:{code:"MI",name:"Mizoram"},23:{code:"NA",name:"Nagaland"},24:{code:"OR",name:"Orissa"},25:{code:"PO",name:"Pondicherry"},26:{code:"PU",name:"Punjab"},27:{code:"RA",name:"Rajasthan"},28:{code:"SI",name:"Sikkim"},29:{code:"TN",name:"Tamil Nadu"},30:{code:"TR",name:"Tripura"},31:{code:"UP",name:"Uttar Pradesh"},32:{code:"WB",name:"West Bengal"}},ID:{1:{code:"DA",name:"Daista Aceh"},2:{code:"SU",name:"Sumatera Utara"},3:{code:"SB",name:"Sumatera Barat"},4:{code:"SI",name:"Riau"},5:{code:"JA",name:"Jambi"},6:{code:"SS",name:"Sumatera Selatan"},7:{code:"BE",name:"Bengkulu"},8:{code:"LA",name:"Lampung"},9:{code:"JK",name:"Dki Jakarta"},10:{code:"JB",name:"Jawa Barat"},11:{code:"JT",name:"Jawa Tengah"},12:{code:"DY",name:"Daista Yogyakarta"},13:{code:"JT",name:"Jawa Timur"},14:{code:"KB",name:"Kalimantan Barat"},15:{code:"KT",name:"Kalimantan Tengah"},16:{code:"KI",name:"Kalimantan Timur"},17:{code:"KS",name:"Kalimantan Selatan"},18:{code:"BA",name:"Bali"},19:{code:"NB",name:"Nusa Tenggara Barat"},20:{code:"NT",name:"Nusa Tenggara Timur"},21:{code:"SN",name:"Sulawesi Selatan"},22:{code:"ST",name:"Sulawesi Tengah"},23:{code:"SA",name:"Sulawesi Utara"},24:{code:"SG",name:"Sulawesi Tenggara"},25:{code:"MA",name:"Maluku"},26:{code:"MU",name:"Maluku Utara"},27:{code:"IJ",name:"Irian Jaya Timur"},28:{code:"IT",name:"Irian Jaya Tengah"},29:{code:"IB",name:"Irian Jawa Barat"},30:{code:"BT",name:"Banten"},31:{code:"BB",name:"Bangka Belitung"},32:{code:"GO",name:"Gorontalo"}},IR:{1:{code:"ARD",name:"Ardabil"},2:{code:"BSH",name:"Bushehr"},3:{code:"CMB",name:"Chahar Mahaal and Bakhtiari"},4:{code:"EAZ",name:"East Azarbaijan"},5:{code:"EFH",name:"Esfahan"},6:{code:"FAR",name:"Fars"},7:{code:"GIL",name:"Gilan"},8:{code:"GLS",name:"Golestan"},9:{code:"HMD",name:"Hamadan"},10:{code:"HRM",name:"Hormozgan"},11:{code:"ILM",name:"Ilam"},12:{code:"KBA",name:"Kohkiluyeh and Buyer Ahmad"},13:{code:"KRB",name:"Kerman"},14:{code:"KRD",name:"Kurdistan"},15:{code:"KRM",name:"Kermanshah"},16:{code:"KZT",name:"Khuzestan"},17:{code:"LRS",name:"Lorestan"},18:{code:"MKZ",name:"Markazi"},19:{code:"MZD",name:"Mazandaran"},20:{code:"NKH",name:"North Khorasan"},21:{code:"QAZ",name:"Qazvin"},22:{code:"QOM",name:"Qom"},23:{code:"RKH",name:"Razavi Khorasan"},24:{code:"SBL",name:"Sistan and Baluchistan"},25:{code:"SKH",name:"South Khorasan"},26:{code:"SMN",name:"Semnan"},27:{code:"TEH",name:"Tehran"},28:{code:"WEZ",name:"West Azarbaijan"},29:{code:"YZD",name:"Yazd"},30:{code:"ZAN",name:"Zanjan"}},IQ:{1:{code:"AB",name:"Al Anbar"},2:{code:"AL",name:"Arbil"},3:{code:"BA",name:"Al Basrah"},4:{code:"BB",name:"Babil"},5:{code:"BD",name:"Baghdad"},6:{code:"DH",name:"Dahuk"},7:{code:"DQ",name:"Dhi Qar"},8:{code:"DY",name:"Diyala"},9:{code:"KB",name:"Al Karbala"},10:{code:"MU",name:"Al Muthanna"},11:{code:"MY",name:"Maysan"},12:{code:"NJ",name:"An Najaf"},13:{code:"NN",name:"Ninawa"},14:{code:"QA",name:"Al Qadisyah"},15:{code:"SD",name:"Salah ad Din"},16:{code:"SL",name:"As Sulaymaniyah"},17:{code:"TM",name:"At Ta'mim"},18:{code:"WS",name:"Wasit"}},IE:{1:{code:"CA",name:"Carlow"},2:{code:"CV",name:"Cavan"},3:{code:"CL",name:"Clare"},4:{code:"CO",name:"Cork"},5:{code:"DO",name:"Donegal"},6:{code:"DU",name:"Dublin"},7:{code:"GA",name:"Galway"},8:{code:"KE",name:"Kerry"},9:{code:"KI",name:"Kildare"},10:{code:"KL",name:"Kilkenny"},11:{code:"LA",name:"Laois"},12:{code:"LE",name:"Leitrim"},13:{code:"LI",name:"Limerick"},14:{code:"LO",name:"Longford"},15:{code:"LU",name:"Louth"},16:{code:"MA",name:"Mayo"},17:{code:"ME",name:"Meath"},18:{code:"MO",name:"Monaghan"},19:{code:"OF",name:"Offaly"},20:{code:"RO",name:"Roscommon"},21:{code:"SL",name:"Sligo"},22:{code:"TI",name:"Tipperary"},23:{code:"WA",name:"Waterford"},24:{code:"WE",name:"Westmeath"},25:{code:"WX",name:"Wexford"},26:{code:"WI",name:"Wicklow"}},IL:{1:{code:"BS",name:"Be'er Sheva"},2:{code:"BH",name:"Bika'at Hayarden"},3:{code:"EA",name:"Eilat and Arava"},4:{code:"GA",name:"Galil"},5:{code:"HA",name:"Haifa"},6:{code:"JM",name:"Jehuda Mountains"},7:{code:"JE",name:"Jerusalem"},8:{code:"NE",name:"Negev"},10:{code:"SE",name:"Semaria"},11:{code:"SH",name:"Sharon"},12:{code:"TA",name:"Tel Aviv (Gosh Dan)"}},IT:{1:{code:"AG",name:"Agrigento"},2:{code:"AL",name:"Alessandria"},3:{code:"AN",name:"Ancona"},4:{code:"AO",name:"Aosta"},5:{code:"AR",name:"Arezzo"},6:{code:"AP",name:"Ascoli Piceno"},7:{code:"AT",name:"Asti"},8:{code:"AV",name:"Avellino"},9:{code:"BA",name:"Bari"},10:{code:"BL",name:"Belluno"},11:{code:"BN",name:"Benevento"},12:{code:"BG",name:"Bergamo"},13:{code:"BI",name:"Biella"},14:{code:"BO",name:"Bologna"},15:{code:"BZ",name:"Bolzano"},16:{code:"BS",name:"Brescia"},17:{code:"BR",name:"Brindisi"},18:{code:"CA",name:"Cagliari"},19:{code:"CL",name:"Caltanissetta"},20:{code:"CB",name:"Campobasso"},21:{code:"CE",name:"Caserta"},22:{code:"CT",name:"Catania"},23:{code:"CZ",name:"Catanzaro"},24:{code:"CH",name:"Chieti"},25:{code:"CO",name:"Como"},26:{code:"CS",name:"Cosenza"},27:{code:"CR",name:"Cremona"},28:{code:"KR",name:"Crotone"},29:{code:"CN",name:"Cuneo"},30:{code:"EN",name:"Enna"},31:{code:"FE",name:"Ferrara"},32:{code:"FI",name:"Firenze"},33:{code:"FG",name:"Foggia"},34:{code:"FO",name:"Forlì"},35:{code:"FR",name:"Frosinone"},36:{code:"GE",name:"Genova"},37:{code:"GO",name:"Gorizia"},38:{code:"GR",name:"Grosseto"},39:{code:"IM",name:"Imperia"},40:{code:"IS",name:"Isernia"},41:{code:"AQ",name:"Aquila"},42:{code:"SP",name:"La Spezia"},43:{code:"LT",name:"Latina"},44:{code:"LE",name:"Lecce"},45:{code:"LC",name:"Lecco"},46:{code:"LI",name:"Livorno"},47:{code:"LO",name:"Lodi"},48:{code:"LU",name:"Lucca"},49:{code:"MC",name:"Macerata"},50:{code:"MN",name:"Mantova"},51:{code:"MS",name:"Massa-Carrara"},52:{code:"MT",name:"Matera"},53:{code:"ME",name:"Messina"},54:{code:"MI",name:"Milano"},55:{code:"MO",name:"Modena"},56:{code:"NA",name:"Napoli"},57:{code:"NO",name:"Novara"},58:{code:"NU",name:"Nuoro"},59:{code:"OR",name:"Oristano"},60:{code:"PD",name:"Padova"},61:{code:"PA",name:"Palermo"},62:{code:"PR",name:"Parma"},63:{code:"PG",name:"Perugia"},64:{code:"PV",name:"Pavia"},65:{code:"PU",name:"Pesaro Urbino"},66:{code:"PE",name:"Pescara"},67:{code:"PC",name:"Piacenza"},68:{code:"PI",name:"Pisa"},69:{code:"PT",name:"Pistoia"},70:{code:"PN",name:"Pordenone"},71:{code:"PZ",name:"Potenza"},72:{code:"PO",name:"Prato"},73:{code:"RG",name:"Ragusa"},74:{code:"RA",name:"Ravenna"},75:{code:"RC",name:"Reggio Calabria"},76:{code:"RE",name:"Reggio Emilia"},77:{code:"RI",name:"Rieti"},78:{code:"RN",name:"Rimini"},79:{code:"RM",name:"Roma"},80:{code:"RO",name:"Rovigo"},81:{code:"SA",name:"Salerno"},82:{code:"SS",name:"Sassari"},83:{code:"SV",name:"Savona"},84:{code:"SI",name:"Siena"},85:{code:"SR",name:"Siracusa"},86:{code:"SO",name:"Sondrio"},87:{code:"TA",name:"Taranto"},88:{code:"TE",name:"Teramo"},89:{code:"TR",name:"Terni"},90:{code:"TO",name:"Torino"},91:{code:"TP",name:"Trapani"},92:{code:"TN",name:"Trento"},93:{code:"TV",name:"Treviso"},94:{code:"TS",name:"Trieste"},95:{code:"UD",name:"Udine"},96:{code:"VA",name:"Varese"},97:{code:"VE",name:"Venezia"},98:{code:"VB",name:"Verbania"},99:{code:"VC",name:"Vercelli"},100:{code:"VR",name:"Verona"},101:{code:"VV",name:"Vibo Valentia"},102:{code:"VI",name:"Vicenza"},103:{code:"VT",name:"Viterbo"},104:{code:"CI",name:"Carbonia-Iglesias"},105:{code:"VS",name:"Medio Campidano"},106:{code:"OG",name:"Ogliastra"},107:{code:"OT",name:"Olbia-Tempio"},108:{code:"MB",name:"Monza e Brianza"},109:{code:"FM",name:"Fermo"},110:{code:"BT",name:"Barletta-Andria-Trani"}},JM:{1:{code:"CLA",name:"Clarendon Parish"},2:{code:"HAN",name:"Hanover Parish"},3:{code:"KIN",name:"Kingston Parish"},4:{code:"MAN",name:"Manchester Parish"},5:{code:"POR",name:"Portland Parish"},6:{code:"AND",name:"Saint Andrew Parish"},7:{code:"ANN",name:"Saint Ann Parish"},8:{code:"CAT",name:"Saint Catherine Parish"},9:{code:"ELI",name:"Saint Elizabeth Parish"},10:{code:"JAM",name:"Saint James Parish"},11:{code:"MAR",name:"Saint Mary Parish"},12:{code:"THO",name:"Saint Thomas Parish"},13:{code:"TRL",name:"Trelawny Parish"},14:{code:"WML",name:"Westmoreland Parish"}},JP:{1:{code:"AI",name:"Aichi"},2:{code:"AK",name:"Akita"},3:{code:"AO",name:"Aomori"},4:{code:"CH",name:"Chiba"},5:{code:"EH",name:"Ehime"},6:{code:"FK",name:"Fukui"},7:{code:"FU",name:"Fukuoka"},8:{code:"FS",name:"Fukushima"},9:{code:"GI",name:"Gifu"},10:{code:"GU",name:"Gumma"},11:{code:"HI",name:"Hiroshima"},12:{code:"HO",name:"Hokkaido"},13:{code:"HY",name:"Hyogo"},14:{code:"IB",name:"Ibaraki"},15:{code:"IS",name:"Ishikawa"},16:{code:"IW",name:"Iwate"},17:{code:"KA",name:"Kagawa"},18:{code:"KG",name:"Kagoshima"},19:{code:"KN",name:"Kanagawa"},20:{code:"KO",name:"Kochi"},21:{code:"KU",name:"Kumamoto"},22:{code:"KY",name:"Kyoto"},23:{code:"MI",name:"Mie"},24:{code:"MY",name:"Miyagi"},25:{code:"MZ",name:"Miyazaki"},26:{code:"NA",name:"Nagano"},27:{code:"NG",name:"Nagasaki"},28:{code:"NR",name:"Nara"},29:{code:"NI",name:"Niigata"},30:{code:"OI",name:"Oita"},31:{code:"OK",name:"Okayama"},32:{code:"ON",name:"Okinawa"},33:{code:"OS",name:"Osaka"},34:{code:"SA",name:"Saga"},35:{code:"SI",name:"Saitama"},36:{code:"SH",name:"Shiga"},37:{code:"SM",name:"Shimane"},38:{code:"SZ",name:"Shizuoka"},39:{code:"TO",name:"Tochigi"},40:{code:"TS",name:"Tokushima"},41:{code:"TK",name:"Tokyo"},42:{code:"TT",name:"Tottori"},43:{code:"TY",name:"Toyama"},44:{code:"WA",name:"Wakayama"},45:{code:"YA",name:"Yamagata"},46:{code:"YM",name:"Yamaguchi"},47:{code:"YN",name:"Yamanashi"}},JO:{1:{code:"AM",name:"'Amman"},2:{code:"AJ",name:"Ajlun"},3:{code:"AA",name:"Al'Aqabah"},4:{code:"AB",name:"Al Balqa'"},5:{code:"AK",name:"Al Karak"},6:{code:"AL",name:"Al Mafraq"},7:{code:"AT",name:"At Tafilah"},8:{code:"AZ",name:"Az Zarqa'"},9:{code:"IR",name:"Irbid"},10:{code:"JA",name:"Jarash"},11:{code:"MA",name:"Ma'an"},12:{code:"MD",name:"Madaba"}},KZ:{1:{code:"AL",name:"Almaty"},2:{code:"AC",name:"Almaty City"},3:{code:"AM",name:"Aqmola"},4:{code:"AQ",name:"Aqtobe"},5:{code:"AS",name:"Astana City"},6:{code:"AT",name:"Atyrau"},7:{code:"BA",name:"Batys Qazaqstan"},8:{code:"BY",name:"Bayqongyr City"},9:{code:"MA",name:"Mangghystau"},10:{code:"ON",name:"Ongtustik Qazaqstan"},11:{code:"PA",name:"Pavlodar"},12:{code:"QA",name:"Qaraghandy"},13:{code:"QO",name:"Qostanay"},14:{code:"QY",name:"Qyzylorda"},15:{code:"SH",name:"Shyghys Qazaqstan"},16:{code:"SO",name:"Soltustik Qazaqstan"},17:{code:"ZH",name:"Zhambyl"}},KE:{1:{code:"CE",name:"Central"},2:{code:"CO",name:"Coast"},3:{code:"EA",name:"Eastern"},4:{code:"NA",name:"Nairobi Area"},5:{code:"NE",name:"North Eastern"},6:{code:"NY",name:"Nyanza"},7:{code:"RV",name:"Rift Valley"},8:{code:"WE",name:"Western"}},KI:{1:{code:"AG",name:"Abaiang"},2:{code:"AM",name:"Abemama"},3:{code:"AK",name:"Aranuka"},4:{code:"AO",name:"Arorae"},5:{code:"BA",name:"Banaba"},6:{code:"BE",name:"Beru"},7:{code:"bT",name:"Butaritari"},8:{code:"KA",name:"Kanton"},9:{code:"KR",name:"Kiritimati"},10:{code:"KU",name:"Kuria"},11:{code:"MI",name:"Maiana"},12:{code:"MN",name:"Makin"},13:{code:"ME",name:"Marakei"},14:{code:"NI",name:"Nikunau"},15:{code:"NO",name:"Nonouti"},16:{code:"ON",name:"Onotoa"},17:{code:"TT",name:"Tabiteuea"},18:{code:"TR",name:"Tabuaeran"},19:{code:"TM",name:"Tamana"},20:{code:"TW",name:"Tarawa"},21:{code:"TE",name:"Teraina"}},KP:{1:{code:"CHA",name:"Chagang-do"},2:{code:"HAB",name:"Hamgyong-bukto"},3:{code:"HAN",name:"Hamgyong-namdo"},4:{code:"HWB",name:"Hwanghae-bukto"},5:{code:"HWN",name:"Hwanghae-namdo"},6:{code:"KAN",name:"Kangwon-do"},7:{code:"PYB",name:"P'yongan-bukto"},8:{code:"PYN",name:"P'yongan-namdo"},9:{code:"YAN",name:"Ryanggang-do (Yanggang-do)"},10:{code:"NAJ",name:"Rason Directly Governed City"},11:{code:"PYO",name:"P'yongyang Special City"}},KR:{1:{code:"CO",name:"Ch'ungch'ong-bukto"},2:{code:"CH",name:"Ch'ungch'ong-namdo"},3:{code:"CD",name:"Cheju-do"},4:{code:"CB",name:"Cholla-bukto"},5:{code:"CN",name:"Cholla-namdo"},6:{code:"IG",name:"Inch'on-gwangyoksi"},7:{code:"KA",name:"Kangwon-do"},8:{code:"KG",name:"Kwangju-gwangyoksi"},9:{code:"KD",name:"Kyonggi-do"},10:{code:"KB",name:"Kyongsang-bukto"},11:{code:"KN",name:"Kyongsang-namdo"},12:{code:"PG",name:"Pusan-gwangyoksi"},13:{code:"SO",name:"Soul-t'ukpyolsi"},14:{code:"TA",name:"Taegu-gwangyoksi"},15:{code:"TG",name:"Taejon-gwangyoksi"}},KW:{1:{code:"AL",name:"Al'Asimah"},2:{code:"AA",name:"Al Ahmadi"},3:{code:"AF",name:"Al Farwaniyah"},4:{code:"AJ",name:"Al Jahra'"},5:{code:"HA",name:"Hawalli"}},KG:{1:{code:"GB",name:"Bishkek"},2:{code:"B",name:"Batken"},3:{code:"C",name:"Chu"},4:{code:"J",name:"Jalal-Abad"},5:{code:"N",name:"Naryn"},6:{code:"O",name:"Osh"},7:{code:"T",name:"Talas"},8:{code:"Y",name:"Ysyk-Kol"}},LA:{1:{code:"VT",name:"Vientiane"},2:{code:"AT",name:"Attapu"},3:{code:"BK",name:"Bokeo"},4:{code:"BL",name:"Bolikhamxai"},5:{code:"CH",name:"Champasak"},6:{code:"HO",name:"Houaphan"},7:{code:"KH",name:"Khammouan"},8:{code:"LM",name:"Louang Namtha"},9:{code:"LP",name:"Louangphabang"},10:{code:"OU",name:"Oudomxai"},11:{code:"PH",name:"Phongsali"},12:{code:"SL",name:"Salavan"},13:{code:"SV",name:"Savannakhet"},14:{code:"VI",name:"Vientiane"},15:{code:"XA",name:"Xaignabouli"},16:{code:"XE",name:"Xekong"},17:{code:"XI",name:"Xiangkhoang"},18:{code:"XN",name:"Xaisomboun"}},LV:{1:{code:"AIZ",name:"Aizkraukles Rajons"},2:{code:"ALU",name:"Aluksnes Rajons"},3:{code:"BAL",name:"Balvu Rajons"},4:{code:"BAU",name:"Bauskas Rajons"},5:{code:"CES",name:"Cesu Rajons"},6:{code:"DGR",name:"Daugavpils Rajons"},7:{code:"DOB",name:"Dobeles Rajons"},8:{code:"GUL",name:"Gulbenes Rajons"},9:{code:"JEK",name:"Jekabpils Rajons"},10:{code:"JGR",name:"Jelgavas Rajons"},11:{code:"KRA",name:"Kraslavas Rajons"},12:{code:"KUL",name:"Kuldigas Rajons"},13:{code:"LPR",name:"Liepajas Rajons"},14:{code:"LIM",name:"Limbazu Rajons"},15:{code:"LUD",name:"Ludzas Rajons"},16:{code:"MAD",name:"Madonas Rajons"},17:{code:"OGR",name:"Ogres Rajons"},18:{code:"PRE",name:"Preilu Rajons"},19:{code:"RZR",name:"Rezeknes Rajons"},20:{code:"RGR",name:"Rigas Rajons"},21:{code:"SAL",name:"Saldus Rajons"},22:{code:"TAL",name:"Talsu Rajons"},23:{code:"TUK",name:"Tukuma Rajons"},24:{code:"VLK",name:"Valkas Rajons"},25:{code:"VLM",name:"Valmieras Rajons"},26:{code:"VSR",name:"Ventspils Rajons"},27:{code:"DGV",name:"Daugavpils"},28:{code:"JGV",name:"Jelgava"},29:{code:"JUR",name:"Jurmala"},30:{code:"LPK",name:"Liepaja"},31:{code:"RZK",name:"Rezekne"},32:{code:"RGA",name:"Riga"},33:{code:"VSL",name:"Ventspils"}},LB:{1:{code:"BIN",name:"Bint Jbeil"},2:{code:"HAS",name:"Hasbaya"},3:{code:"MAR",name:"Marjeyoun"},4:{code:"NAB",name:"Nabatieh"},5:{code:"BAA",name:"Baalbek"},6:{code:"HER",name:"Hermel"},7:{code:"RAS",name:"Rashaya"},8:{code:"WES",name:"Western Beqaa"},9:{code:"ZAH",name:"Zahle"},10:{code:"AKK",name:"Akkar"},11:{code:"BAT",name:"Batroun"},12:{code:"BSH",name:"Bsharri"},13:{code:"KOU",name:"Koura"},14:{code:"MIN",name:"Miniyeh-Danniyeh"},15:{code:"TRI",name:"Tripoli"},16:{code:"ZGH",name:"Zgharta"},17:{code:"ALE",name:"Aley"},18:{code:"BAA",name:"Baabda"},19:{code:"BYB",name:"Byblos"},20:{code:"CHO",name:"Chouf"},21:{code:"KES",name:"Kesrwan"},22:{code:"MAT",name:"Matn"},23:{code:"JEZ",name:"Jezzine"},24:{code:"SID",name:"Sidon"},25:{code:"TYR",name:"Tyre"}},LS:{1:{code:"BE",name:"Berea"},2:{code:"BB",name:"Butha-Buthe"},3:{code:"LE",name:"Leribe"},4:{code:"MF",name:"Mafeteng"},5:{code:"MS",name:"Maseru"},6:{code:"MH",name:"Mohale's Hoek"},7:{code:"MK",name:"Mokhotlong"},8:{code:"QN",name:"Qacha's Nek"},9:{code:"QT",name:"Quthing"},10:{code:"TT",name:"Thaba-Tseka"}},LR:{1:{code:"BI",name:"Bomi"},2:{code:"BG",name:"Bong"},3:{code:"GB",name:"Grand Bassa"},4:{code:"CM",name:"Grand Cape Mount"},5:{code:"GG",name:"Grand Gedeh"},6:{code:"GK",name:"Grand Kru"},7:{code:"LO",name:"Lofa"},8:{code:"MG",name:"Margibi"},9:{code:"ML",name:"Maryland"},10:{code:"MS",name:"Montserrado"},11:{code:"NB",name:"Nimba"},12:{code:"RC",name:"River Cess"},13:{code:"SN",name:"Sinoe"}},LY:{1:{code:"AJ",name:"Ajdabiya"},2:{code:"AZ",name:"Al 'Aziziyah"},3:{code:"FA",name:"Al Fatih"},4:{code:"JA",name:"Al Jabal al Akhdar"},5:{code:"JU",name:"Al Jufrah"},6:{code:"KH",name:"Al Khums"},7:{code:"KU",name:"Al Kufrah"},8:{code:"NK",name:"An Nuqat al Khams"},9:{code:"AS",name:"Ash Shati'"},10:{code:"AW",name:"Awbari"},11:{code:"ZA",name:"Az Zawiyah"},12:{code:"BA",name:"Banghazi"},13:{code:"DA",name:"Darnah"},14:{code:"GD",name:"Ghadamis"},15:{code:"GY",name:"Gharyan"},16:{code:"MI",name:"Misratah"},17:{code:"MZ",name:"Murzuq"},18:{code:"SB",name:"Sabha"},19:{code:"SW",name:"Sawfajjin"},20:{code:"SU",name:"Surt"},21:{code:"TL",name:"Tarabulus (Tripoli)"},22:{code:"TH",name:"Tarhunah"},23:{code:"TU",name:"Tubruq"},24:{code:"YA",name:"Yafran"},25:{code:"ZL",name:"Zlitan"}},LI:{1:{code:"V",name:"Vaduz"},2:{code:"A",name:"Schaan"},3:{code:"B",name:"Balzers"},4:{code:"N",name:"Triesen"},5:{code:"E",name:"Eschen"},6:{code:"M",name:"Mauren"},7:{code:"T",name:"Triesenberg"},8:{code:"R",name:"Ruggell"},9:{code:"G",name:"Gamprin"},10:{code:"L",name:"Schellenberg"},11:{code:"P",name:"Planken"}},LT:{1:{code:"AL",name:"Alytus"},2:{code:"KA",name:"Kaunas"},3:{code:"KL",name:"Klaipeda"},4:{code:"MA",name:"Marijampole"},5:{code:"PA",name:"Panevezys"},6:{code:"SI",name:"Siauliai"},7:{code:"TA",name:"Taurage"},8:{code:"TE",name:"Telsiai"},9:{code:"UT",name:"Utena"},10:{code:"VI",name:"Vilnius"}},LU:{1:{code:"DD",name:"Diekirch"},2:{code:"DC",name:"Clervaux"},3:{code:"DR",name:"Redange"},4:{code:"DV",name:"Vianden"},5:{code:"DW",name:"Wiltz"},6:{code:"GG",name:"Grevenmacher"},7:{code:"GE",name:"Echternach"},8:{code:"GR",name:"Remich"},9:{code:"LL",name:"Luxembourg"},10:{code:"LC",name:"Capellen"},11:{code:"LE",name:"Esch-sur-Alzette"},12:{code:"LM",name:"Mersch"}},MO:{1:{code:"OLF",name:"Our Lady Fatima Parish"},2:{code:"ANT",name:"St. Anthony Parish"},3:{code:"LAZ",name:"St. Lazarus Parish"},4:{code:"CAT",name:"Cathedral Parish"},5:{code:"LAW",name:"St. Lawrence Parish"}},MK:{1:{code:"AER",name:"Aerodrom"},2:{code:"ARA",name:"Aračinovo"},3:{code:"BER",name:"Berovo"},4:{code:"BIT",name:"Bitola"},5:{code:"BOG",name:"Bogdanci"},6:{code:"BOG",name:"Bogovinje"},7:{code:"BOS",name:"Bosilovo"},8:{code:"BRV",name:"Brvenica"},9:{code:"BUT",name:"Butel"},10:{code:"ČAI",name:"Čair"},11:{code:"ČAš",name:"Čaška"},12:{code:"CEN",name:"Centar"},13:{code:"CEN",name:"Centar Župa"},14:{code:"Češ",name:"Češinovo-Obleš"},15:{code:"ČUČ",name:"Čučer-Sandevo"},16:{code:"DEB",name:"Debar"},17:{code:"DEB",name:"Debarca"},18:{code:"DEL",name:"Delčevo"},19:{code:"DEM",name:"Demir Hisar"},20:{code:"DEM",name:"Demir Kapija"},21:{code:"DOL",name:"Dolneni"},22:{code:"DRU",name:"Drugovo"},23:{code:"GAZ",name:"Gazi Baba"},24:{code:"GEV",name:"Gevgelija"},25:{code:"GJO",name:"Gjorče Petrov"},26:{code:"GOS",name:"Gostivar"},27:{code:"GRA",name:"Gradsko"},28:{code:"ILI",name:"Ilinden"},29:{code:"JEG",name:"Jegunovce"},30:{code:"KAR",name:"Karbinci"},31:{code:"KAR",name:"Karpoš"},32:{code:"KAV",name:"Kavadarci"},33:{code:"KIČ",name:"Kičevo"},34:{code:"KIS",name:"Kisela Voda"},35:{code:"KOč",name:"Kočani"},36:{code:"KON",name:"Konče"},37:{code:"KRA",name:"Kratovo"},38:{code:"KRI",name:"Kriva Palanka"},39:{code:"KRI",name:"Krivogaštani"},40:{code:"KRU",name:"Kruševo"},41:{code:"KUM",name:"Kumanovo"},42:{code:"LIP",name:"Lipkovo"},43:{code:"LOZ",name:"Lozovo"},44:{code:"MAK",name:"Makedonska Kamenica"},45:{code:"MAK",name:"Makedonski Brod"},46:{code:"MAV",name:"Mavrovo and Rostuša"},47:{code:"MOG",name:"Mogila"},48:{code:"NEG",name:"Negotino"},49:{code:"NOV",name:"Novaci"},50:{code:"NOV",name:"Novo Selo"},51:{code:"OHR",name:"Ohrid"},52:{code:"OSL",name:"Oslomej"},53:{code:"PEH",name:"Pehčevo"},54:{code:"PET",name:"Petrovec"},55:{code:"PLA",name:"Plasnica"},56:{code:"PRI",name:"Prilep"},57:{code:"PRO",name:"Probištip"},58:{code:"RAD",name:"Radoviš"},59:{code:"RAN",name:"Rankovce"},60:{code:"RES",name:"Resen"},61:{code:"ROS",name:"Rosoman"},62:{code:"SAR",name:"Saraj"},63:{code:"SOP",name:"Sopište"},64:{code:"STA",name:"Star Dojran"},65:{code:"STA",name:"Staro Nagoričane"},66:{code:"ŠTI",name:"Štip"},67:{code:"STR",name:"Struga"},68:{code:"STR",name:"Strumica"},69:{code:"STU",name:"Studeničani"},70:{code:"ŠUT",name:"Šuto Orizari"},71:{code:"SVE",name:"Sveti Nikole"},72:{code:"TEA",name:"Tearce"},73:{code:"TET",name:"Tetovo"},74:{code:"VAL",name:"Valandovo"},75:{code:"VAS",name:"Vasilevo"},76:{code:"VEL",name:"Veles"},77:{code:"VEV",name:"Vevčani"},78:{code:"VIN",name:"Vinica"},79:{code:"VRA",name:"Vraneštica"},80:{code:"VRA",name:"Vrapčište"},81:{code:"ZAJ",name:"Zajas"},82:{code:"ZEL",name:"Zelenikovo"},83:{code:"ŽEL",name:"Želino"},84:{code:"ZRN",name:"Zrnovci"}},MG:{1:{code:"AN",name:"Antananarivo"},2:{code:"AS",name:"Antsiranana"},3:{code:"FN",name:"Fianarantsoa"},4:{code:"MJ",name:"Mahajanga"},5:{code:"TM",name:"Toamasina"},6:{code:"TL",name:"Toliara"}},MW:{1:{code:"BLK",name:"Balaka"},2:{code:"BLT",name:"Blantyre"},3:{code:"CKW",name:"Chikwawa"},4:{code:"CRD",name:"Chiradzulu"},5:{code:"CTP",name:"Chitipa"},6:{code:"DDZ",name:"Dedza"},7:{code:"DWA",name:"Dowa"},8:{code:"KRG",name:"Karonga"},9:{code:"KSG",name:"Kasungu"},10:{code:"LKM",name:"Likoma"},11:{code:"LLG",name:"Lilongwe"},12:{code:"MCG",name:"Machinga"},13:{code:"MGC",name:"Mangochi"},14:{code:"MCH",name:"Mchinji"},15:{code:"MLJ",name:"Mulanje"},16:{code:"MWZ",name:"Mwanza"},17:{code:"MZM",name:"Mzimba"},18:{code:"NTU",name:"Ntcheu"},19:{code:"NKB",name:"Nkhata Bay"},20:{code:"NKH",name:"Nkhotakota"},21:{code:"NSJ",name:"Nsanje"},22:{code:"NTI",name:"Ntchisi"},23:{code:"PHL",name:"Phalombe"},24:{code:"RMP",name:"Rumphi"},25:{code:"SLM",name:"Salima"},26:{code:"THY",name:"Thyolo"},27:{code:"ZBA",name:"Zomba"}},MY:{1:{code:"Johor",name:"Johor"},2:{code:"Kedah",name:"Kedah"},3:{code:"Kelantan",name:"Kelantan"},4:{code:"Labuan",name:"Labuan"},5:{code:"Melaka",
name:"Melaka"},6:{code:"Negeri Sembilan",name:"Negeri Sembilan"},7:{code:"Pahang",name:"Pahang"},8:{code:"Perak",name:"Perak"},9:{code:"Perlis",name:"Perlis"},10:{code:"Pulau Pinang",name:"Pulau Pinang"},11:{code:"Sabah",name:"Sabah"},12:{code:"Sarawak",name:"Sarawak"},13:{code:"Selangor",name:"Selangor"},14:{code:"Terengganu",name:"Terengganu"},15:{code:"Kuala Lumpur",name:"Kuala Lumpur"}},MV:{1:{code:"AAD",name:"Ari Atoll Dheknu"},2:{code:"AAU",name:"Ari Atoll Uthuru"},3:{code:"ADD",name:"Addu"},4:{code:"FAA",name:"Faadhippolhu"},5:{code:"FEA",name:"Felidhe Atoll"},6:{code:"FMU",name:"Fua Mulaku"},7:{code:"HAD",name:"Huvadhu Atoll Dhekunu"},8:{code:"HAU",name:"Huvadhu Atoll Uthuru"},9:{code:"HDH",name:"Hadhdhunmathi"},10:{code:"KLH",name:"Kolhumadulu"},11:{code:"MAA",name:"Male Atoll"},12:{code:"MAD",name:"Maalhosmadulu Dhekunu"},13:{code:"MAU",name:"Maalhosmadulu Uthuru"},14:{code:"MLD",name:"Miladhunmadulu Dhekunu"},15:{code:"MLU",name:"Miladhunmadulu Uthuru"},16:{code:"MUA",name:"Mulaku Atoll"},17:{code:"NAD",name:"Nilandhe Atoll Dhekunu"},18:{code:"NAU",name:"Nilandhe Atoll Uthuru"},19:{code:"THD",name:"Thiladhunmathi Dhekunu"},20:{code:"THU",name:"Thiladhunmathi Uthuru"}},ML:{1:{code:"GA",name:"Gao"},2:{code:"KY",name:"Kayes"},3:{code:"KD",name:"Kidal"},4:{code:"KL",name:"Koulikoro"},5:{code:"MP",name:"Mopti"},6:{code:"SG",name:"Segou"},7:{code:"SK",name:"Sikasso"},8:{code:"TB",name:"Tombouctou"},9:{code:"CD",name:"Bamako Capital District"}},MT:{1:{code:"ATT",name:"Attard"},2:{code:"BAL",name:"Balzan"},3:{code:"BGU",name:"Birgu"},4:{code:"BKK",name:"Birkirkara"},5:{code:"BRZ",name:"Birzebbuga"},6:{code:"BOR",name:"Bormla"},7:{code:"DIN",name:"Dingli"},8:{code:"FGU",name:"Fgura"},9:{code:"FLO",name:"Floriana"},10:{code:"GDJ",name:"Gudja"},11:{code:"GZR",name:"Gzira"},12:{code:"GRG",name:"Gargur"},13:{code:"GXQ",name:"Gaxaq"},14:{code:"HMR",name:"Hamrun"},15:{code:"IKL",name:"Iklin"},16:{code:"ISL",name:"Isla"},17:{code:"KLK",name:"Kalkara"},18:{code:"KRK",name:"Kirkop"},19:{code:"LIJ",name:"Lija"},20:{code:"LUQ",name:"Luqa"},21:{code:"MRS",name:"Marsa"},22:{code:"MKL",name:"Marsaskala"},23:{code:"MXL",name:"Marsaxlokk"},24:{code:"MDN",name:"Mdina"},25:{code:"MEL",name:"Melliea"},26:{code:"MGR",name:"Mgarr"},27:{code:"MST",name:"Mosta"},28:{code:"MQA",name:"Mqabba"},29:{code:"MSI",name:"Msida"},30:{code:"MTF",name:"Mtarfa"},31:{code:"NAX",name:"Naxxar"},32:{code:"PAO",name:"Paola"},33:{code:"PEM",name:"Pembroke"},34:{code:"PIE",name:"Pieta"},35:{code:"QOR",name:"Qormi"},36:{code:"QRE",name:"Qrendi"},37:{code:"RAB",name:"Rabat"},38:{code:"SAF",name:"Safi"},39:{code:"SGI",name:"San Giljan"},40:{code:"SLU",name:"Santa Lucija"},41:{code:"SPB",name:"San Pawl il-Bahar"},42:{code:"SGW",name:"San Gwann"},43:{code:"SVE",name:"Santa Venera"},44:{code:"SIG",name:"Siggiewi"},45:{code:"SLM",name:"Sliema"},46:{code:"SWQ",name:"Swieqi"},47:{code:"TXB",name:"Ta Xbiex"},48:{code:"TRX",name:"Tarxien"},49:{code:"VLT",name:"Valletta"},50:{code:"XGJ",name:"Xgajra"},51:{code:"ZBR",name:"Zabbar"},52:{code:"ZBG",name:"Zebbug"},53:{code:"ZJT",name:"Zejtun"},54:{code:"ZRQ",name:"Zurrieq"},55:{code:"FNT",name:"Fontana"},56:{code:"GHJ",name:"Ghajnsielem"},57:{code:"GHR",name:"Gharb"},58:{code:"GHS",name:"Ghasri"},59:{code:"KRC",name:"Kercem"},60:{code:"MUN",name:"Munxar"},61:{code:"NAD",name:"Nadur"},62:{code:"QAL",name:"Qala"},63:{code:"VIC",name:"Victoria"},64:{code:"SLA",name:"San Lawrenz"},65:{code:"SNT",name:"Sannat"},66:{code:"ZAG",name:"Xagra"},67:{code:"XEW",name:"Xewkija"},68:{code:"ZEB",name:"Zebbug"}},MH:{1:{code:"ALG",name:"Ailinginae"},2:{code:"ALL",name:"Ailinglaplap"},3:{code:"ALK",name:"Ailuk"},4:{code:"ARN",name:"Arno"},5:{code:"AUR",name:"Aur"},6:{code:"BKR",name:"Bikar"},7:{code:"BKN",name:"Bikini"},8:{code:"BKK",name:"Bokak"},9:{code:"EBN",name:"Ebon"},10:{code:"ENT",name:"Enewetak"},11:{code:"EKB",name:"Erikub"},12:{code:"JBT",name:"Jabat"},13:{code:"JLT",name:"Jaluit"},14:{code:"JEM",name:"Jemo"},15:{code:"KIL",name:"Kili"},16:{code:"KWJ",name:"Kwajalein"},17:{code:"LAE",name:"Lae"},18:{code:"LIB",name:"Lib"},19:{code:"LKP",name:"Likiep"},20:{code:"MJR",name:"Majuro"},21:{code:"MLP",name:"Maloelap"},22:{code:"MJT",name:"Mejit"},23:{code:"MIL",name:"Mili"},24:{code:"NMK",name:"Namorik"},25:{code:"NAM",name:"Namu"},26:{code:"RGL",name:"Rongelap"},27:{code:"RGK",name:"Rongrik"},28:{code:"TOK",name:"Toke"},29:{code:"UJA",name:"Ujae"},30:{code:"UJL",name:"Ujelang"},31:{code:"UTK",name:"Utirik"},32:{code:"WTH",name:"Wotho"},33:{code:"WTJ",name:"Wotje"}},MQ:{1:{code:"LAJ",name:"L'Ajoupa-Bouillon"},2:{code:"LES",name:"Les Anses-d'Arlet"},3:{code:"BAS",name:"Basse-Pointe"},4:{code:"BEL",name:"Bellefontaine"},5:{code:"LE",name:"Le Carbet"},6:{code:"CAS",name:"Case-Pilote"},7:{code:"LE",name:"Le Diamant"},8:{code:"DUC",name:"Ducos"},9:{code:"FON",name:"Fonds-Saint-Denis"},10:{code:"FOR",name:"Fort-De-France"},11:{code:"LE",name:"Le François"},12:{code:"GRA",name:"Grand'Rivière"},13:{code:"GRO",name:"Gros-Morne"},14:{code:"LE",name:"Le Lamentin"},15:{code:"LE",name:"Le Lorrain"},16:{code:"MAC",name:"Macouba"},17:{code:"LE",name:"Le Marigot"},18:{code:"LE",name:"Le Marin"},19:{code:"LE",name:"Le Morne-Rouge"},20:{code:"LE",name:"Le Morne-Vert"},21:{code:"LE",name:"Le Prêcheur"},22:{code:"RIV",name:"Rivière-Pilote"},23:{code:"RIV",name:"Rivière-Salée"},24:{code:"LE",name:"Le Robert"},25:{code:"SAI",name:"Sainte-Anne"},26:{code:"SAI",name:"Sainte-Luce"},27:{code:"SAI",name:"Sainte-Marie"},28:{code:"SAI",name:"Saint-Esprit"},29:{code:"SAI",name:"Saint-Joseph"},30:{code:"SAI",name:"Saint-Pierre"},31:{code:"SCH",name:"Schœlcher"},32:{code:"LA",name:"La Trinité"},33:{code:"LES",name:"Les Trois-Îlets"},34:{code:"LE",name:"Le Vauclin"}},MR:{1:{code:"AD",name:"Adrar"},2:{code:"AS",name:"Assaba"},3:{code:"BR",name:"Brakna"},4:{code:"DN",name:"Dakhlet Nouadhibou"},5:{code:"GO",name:"Gorgol"},6:{code:"GM",name:"Guidimaka"},7:{code:"HC",name:"Hodh Ech Chargui"},8:{code:"HG",name:"Hodh El Gharbi"},9:{code:"IN",name:"Inchiri"},10:{code:"TA",name:"Tagant"},11:{code:"TZ",name:"Tiris Zemmour"},12:{code:"TR",name:"Trarza"},13:{code:"NO",name:"Nouakchott"}},MU:{1:{code:"AG",name:"Agalega Islands"},2:{code:"BL",name:"Black River"},3:{code:"BR",name:"Beau Bassin-Rose Hill"},4:{code:"CC",name:"Cargados Carajos Shoals (Saint B)"},5:{code:"CU",name:"Curepipe"},6:{code:"FL",name:"Flacq"},7:{code:"GP",name:"Grand Port"},8:{code:"MO",name:"Moka"},9:{code:"PA",name:"Pamplemousses"},10:{code:"PL",name:"Port Louis"},11:{code:"PU",name:"Port Louis"},12:{code:"PW",name:"Plaines Wilhems"},13:{code:"QB",name:"Quatre Bornes"},14:{code:"RO",name:"Rodrigues"},15:{code:"RR",name:"Riviere du Rempart"},16:{code:"SA",name:"Savanne"},17:{code:"VP",name:"Vacoas-Phoenix"}},YT:{1:{code:"DZA",name:"Dzaoudzi"},2:{code:"PAM",name:"Pamandzi"},3:{code:"MAM",name:"Mamoudzou"},4:{code:"DEM",name:"Dembeni"},5:{code:"BAN",name:"Bandrele"},6:{code:"KAN",name:"Kani-Kéli"},7:{code:"BOU",name:"Bouéni"},8:{code:"CHI",name:"Chirongui"},9:{code:"SAD",name:"Sada"},10:{code:"OUA",name:"Ouangani"},11:{code:"CHI",name:"Chiconi"},12:{code:"TSI",name:"Tsingoni"},13:{code:"MTS",name:"M'Tsangamouji"},14:{code:"ACO",name:"Acoua"},15:{code:"MTS",name:"Mtsamboro"},16:{code:"BAN",name:"Bandraboua"},17:{code:"KOU",name:"Koungou"}},MX:{1:{code:"AGU",name:"Aguascalientes"},2:{code:"BCN",name:"Baja California Norte"},3:{code:"BCS",name:"Baja California Sur"},4:{code:"CAM",name:"Campeche"},5:{code:"CHP",name:"Chiapas"},6:{code:"CHH",name:"Chihuahua"},7:{code:"COA",name:"Coahuila de Zaragoza"},8:{code:"COL",name:"Colima"},9:{code:"DIF",name:"Distrito Federal"},10:{code:"DUR",name:"Durango"},11:{code:"GUA",name:"Guanajuato"},12:{code:"GRO",name:"Guerrero"},13:{code:"HID",name:"Hidalgo"},14:{code:"JAL",name:"Jalisco"},15:{code:"MEX",name:"Mexico"},16:{code:"MIC",name:"Michoacan de Ocampo"},17:{code:"MOR",name:"Morelos"},18:{code:"NAY",name:"Nayarit"},19:{code:"NLE",name:"Nuevo Leon"},20:{code:"OAX",name:"Oaxaca"},21:{code:"PUE",name:"Puebla"},22:{code:"QUE",name:"Queretaro de Arteaga"},23:{code:"ROO",name:"Quintana Roo"},24:{code:"SLP",name:"San Luis Potosi"},25:{code:"SIN",name:"Sinaloa"},26:{code:"SON",name:"Sonora"},27:{code:"TAB",name:"Tabasco"},28:{code:"TAM",name:"Tamaulipas"},29:{code:"TLA",name:"Tlaxcala"},30:{code:"VER",name:"Veracruz-Llave"},31:{code:"YUC",name:"Yucatan"},32:{code:"ZAC",name:"Zacatecas"}},FM:{1:{code:"C",name:"Chuuk"},2:{code:"K",name:"Kosrae"},3:{code:"P",name:"Pohnpei"},4:{code:"Y",name:"Yap"}},MD:{1:{code:"GA",name:"Gagauzia"},2:{code:"CU",name:"Chisinau"},3:{code:"BA",name:"Balti"},4:{code:"CA",name:"Cahul"},5:{code:"ED",name:"Edinet"},6:{code:"LA",name:"Lapusna"},7:{code:"OR",name:"Orhei"},8:{code:"SO",name:"Soroca"},9:{code:"TI",name:"Tighina"},10:{code:"UN",name:"Ungheni"},11:{code:"SN",name:"Stânga Nistrului"}},MC:{1:{code:"FV",name:"Fontvieille"},2:{code:"LC",name:"La Condamine"},3:{code:"MV",name:"Monaco-Ville"},4:{code:"MC",name:"Monte-Carlo"}},MN:{1:{code:"1",name:"Ulanbaatar"},2:{code:"035",name:"Orhon"},3:{code:"037",name:"Darhan uul"},4:{code:"039",name:"Hentiy"},5:{code:"041",name:"Hovsgol"},6:{code:"043",name:"Hovd"},7:{code:"046",name:"Uvs"},8:{code:"047",name:"Tov"},9:{code:"049",name:"Selenge"},10:{code:"051",name:"Suhbaatar"},11:{code:"053",name:"Omnogovi"},12:{code:"055",name:"Ovorhangay"},13:{code:"057",name:"Dzavhan"},14:{code:"059",name:"DundgovL"},15:{code:"061",name:"Dornod"},16:{code:"063",name:"Dornogov"},17:{code:"064",name:"Govi-Sumber"},18:{code:"065",name:"Govi-Altay"},19:{code:"067",name:"Bulgan"},20:{code:"069",name:"Bayanhongor"},21:{code:"071",name:"Bayan-Olgiy"},22:{code:"073",name:"Arhangay"}},MS:{1:{code:"A",name:"Saint Anthony"},2:{code:"G",name:"Saint Georges"},3:{code:"P",name:"Saint Peter"}},MA:{1:{code:"AGD",name:"Agadir"},2:{code:"HOC",name:"Al Hoceima"},3:{code:"AZI",name:"Azilal"},4:{code:"BME",name:"Beni Mellal"},5:{code:"BSL",name:"Ben Slimane"},6:{code:"BLM",name:"Boulemane"},7:{code:"CBL",name:"Casablanca"},8:{code:"CHA",name:"Chaouen"},9:{code:"EJA",name:"El Jadida"},10:{code:"EKS",name:"El Kelaa des Sraghna"},11:{code:"ERA",name:"Er Rachidia"},12:{code:"ESS",name:"Essaouira"},13:{code:"FES",name:"Fes"},14:{code:"FIG",name:"Figuig"},15:{code:"GLM",name:"Guelmim"},16:{code:"IFR",name:"Ifrane"},17:{code:"KEN",name:"Kenitra"},18:{code:"KHM",name:"Khemisset"},19:{code:"KHN",name:"Khenifra"},20:{code:"KHO",name:"Khouribga"},21:{code:"LYN",name:"Laayoune"},22:{code:"LAR",name:"Larache"},23:{code:"MRK",name:"Marrakech"},24:{code:"MKN",name:"Meknes"},25:{code:"NAD",name:"Nador"},26:{code:"ORZ",name:"Ouarzazate"},27:{code:"OUJ",name:"Oujda"},28:{code:"RSA",name:"Rabat-Sale"},29:{code:"SAF",name:"Safi"},30:{code:"SET",name:"Settat"},31:{code:"SKA",name:"Sidi Kacem"},32:{code:"TGR",name:"Tangier"},33:{code:"TAN",name:"Tan-Tan"},34:{code:"TAO",name:"Taounate"},35:{code:"TRD",name:"Taroudannt"},36:{code:"TAT",name:"Tata"},37:{code:"TAZ",name:"Taza"},38:{code:"TET",name:"Tetouan"},39:{code:"TIZ",name:"Tiznit"},40:{code:"ADK",name:"Ad Dakhla"},41:{code:"BJD",name:"Boujdour"},42:{code:"ESM",name:"Es Smara"}},MZ:{1:{code:"CD",name:"Cabo Delgado"},2:{code:"GZ",name:"Gaza"},3:{code:"IN",name:"Inhambane"},4:{code:"MN",name:"Manica"},5:{code:"MC",name:"Maputo (city)"},6:{code:"MP",name:"Maputo"},7:{code:"NA",name:"Nampula"},8:{code:"NI",name:"Niassa"},9:{code:"SO",name:"Sofala"},10:{code:"TE",name:"Tete"},11:{code:"ZA",name:"Zambezia"}},MM:{1:{code:"AY",name:"Ayeyarwady"},2:{code:"BG",name:"Bago"},3:{code:"MG",name:"Magway"},4:{code:"MD",name:"Mandalay"},5:{code:"SG",name:"Sagaing"},6:{code:"TN",name:"Tanintharyi"},7:{code:"YG",name:"Yangon"},8:{code:"CH",name:"Chin State"},9:{code:"KC",name:"Kachin State"},10:{code:"KH",name:"Kayah State"},11:{code:"KN",name:"Kayin State"},12:{code:"MN",name:"Mon State"},13:{code:"RK",name:"Rakhine State"},14:{code:"SH",name:"Shan State"}},NA:{1:{code:"CA",name:"Caprivi"},2:{code:"ER",name:"Erongo"},3:{code:"HA",name:"Hardap"},4:{code:"KR",name:"Karas"},5:{code:"KV",name:"Kavango"},6:{code:"KH",name:"Khomas"},7:{code:"KU",name:"Kunene"},8:{code:"OW",name:"Ohangwena"},9:{code:"OK",name:"Omaheke"},10:{code:"OT",name:"Omusati"},11:{code:"ON",name:"Oshana"},12:{code:"OO",name:"Oshikoto"},13:{code:"OJ",name:"Otjozondjupa"}},NR:{1:{code:"AO",name:"Aiwo"},2:{code:"AA",name:"Anabar"},3:{code:"AT",name:"Anetan"},4:{code:"AI",name:"Anibare"},5:{code:"BA",name:"Baiti"},6:{code:"BO",name:"Boe"},7:{code:"BU",name:"Buada"},8:{code:"DE",name:"Denigomodu"},9:{code:"EW",name:"Ewa"},10:{code:"IJ",name:"Ijuw"},11:{code:"ME",name:"Meneng"},12:{code:"NI",name:"Nibok"},13:{code:"UA",name:"Uaboe"},14:{code:"YA",name:"Yaren"}},NP:{1:{code:"BA",name:"Bagmati"},2:{code:"BH",name:"Bheri"},3:{code:"DH",name:"Dhawalagiri"},4:{code:"GA",name:"Gandaki"},5:{code:"JA",name:"Janakpur"},6:{code:"KA",name:"Karnali"},7:{code:"KO",name:"Kosi"},8:{code:"LU",name:"Lumbini"},9:{code:"MA",name:"Mahakali"},10:{code:"ME",name:"Mechi"},11:{code:"NA",name:"Narayani"},12:{code:"RA",name:"Rapti"},13:{code:"SA",name:"Sagarmatha"},14:{code:"SE",name:"Seti"}},NL:{1:{code:"DR",name:"Drenthe"},2:{code:"FL",name:"Flevoland"},3:{code:"FR",name:"Friesland"},4:{code:"GE",name:"Gelderland"},5:{code:"GR",name:"Groningen"},6:{code:"LI",name:"Limburg"},7:{code:"NB",name:"Noord Brabant"},8:{code:"NH",name:"Noord Holland"},9:{code:"OV",name:"Overijssel"},10:{code:"UT",name:"Utrecht"},11:{code:"ZE",name:"Zeeland"},12:{code:"ZH",name:"Zuid Holland"}},AN:{1:{code:"BON",name:"Bonaire"},2:{code:"CUR",name:"Curaçao"},3:{code:"SAB",name:"Saba"},4:{code:"SEU",name:"Sint Eustatius"},5:{code:"SMA",name:"Sint Maarten"}},NC:{1:{code:"L",name:"Iles Loyaute"},2:{code:"N",name:"Nord"},3:{code:"S",name:"Sud"}},NZ:{1:{code:"AUK",name:"Auckland"},2:{code:"BOP",name:"Bay of Plenty"},3:{code:"CAN",name:"Canterbury"},4:{code:"COR",name:"Coromandel"},5:{code:"GIS",name:"Gisborne"},6:{code:"FIO",name:"Fiordland"},7:{code:"HKB",name:"Hawke's Bay"},8:{code:"MBH",name:"Marlborough"},9:{code:"MWT",name:"Manawatu-Wanganui"},10:{code:"MCM",name:"Mt Cook-Mackenzie"},11:{code:"NSN",name:"Nelson"},12:{code:"NTL",name:"Northland"},13:{code:"OTA",name:"Otago"},14:{code:"STL",name:"Southland"},15:{code:"TKI",name:"Taranaki"},16:{code:"WGN",name:"Wellington"},17:{code:"WKO",name:"Waikato"},18:{code:"WAI",name:"Wairprarapa"},19:{code:"WTC",name:"West Coast"}},NI:{1:{code:"AN",name:"Atlantico Norte"},2:{code:"AS",name:"Atlantico Sur"},3:{code:"BO",name:"Boaco"},4:{code:"CA",name:"Carazo"},5:{code:"CI",name:"Chinandega"},6:{code:"CO",name:"Chontales"},7:{code:"ES",name:"Esteli"},8:{code:"GR",name:"Granada"},9:{code:"JI",name:"Jinotega"},10:{code:"LE",name:"Leon"},11:{code:"MD",name:"Madriz"},12:{code:"MN",name:"Managua"},13:{code:"MS",name:"Masaya"},14:{code:"MT",name:"Matagalpa"},15:{code:"NS",name:"Nuevo Segovia"},16:{code:"RS",name:"Rio San Juan"},17:{code:"RI",name:"Rivas"}},NE:{1:{code:"AG",name:"Agadez"},2:{code:"DF",name:"Diffa"},3:{code:"DS",name:"Dosso"},4:{code:"MA",name:"Maradi"},5:{code:"NM",name:"Niamey"},6:{code:"TH",name:"Tahoua"},7:{code:"TL",name:"Tillaberi"},8:{code:"ZD",name:"Zinder"}},NG:{1:{code:"AB",name:"Abia"},2:{code:"CT",name:"Abuja Federal Capital Territory"},3:{code:"AD",name:"Adamawa"},4:{code:"AK",name:"Akwa Ibom"},5:{code:"AN",name:"Anambra"},6:{code:"BC",name:"Bauchi"},7:{code:"BY",name:"Bayelsa"},8:{code:"BN",name:"Benue"},9:{code:"BO",name:"Borno"},10:{code:"CR",name:"Cross River"},11:{code:"DE",name:"Delta"},12:{code:"EB",name:"Ebonyi"},13:{code:"ED",name:"Edo"},14:{code:"EK",name:"Ekiti"},15:{code:"EN",name:"Enugu"},16:{code:"GO",name:"Gombe"},17:{code:"IM",name:"Imo"},18:{code:"JI",name:"Jigawa"},19:{code:"KD",name:"Kaduna"},20:{code:"KN",name:"Kano"},21:{code:"KT",name:"Katsina"},22:{code:"KE",name:"Kebbi"},23:{code:"KO",name:"Kogi"},24:{code:"KW",name:"Kwara"},25:{code:"LA",name:"Lagos"},26:{code:"NA",name:"Nassarawa"},27:{code:"NI",name:"Niger"},28:{code:"OG",name:"Ogun"},29:{code:"ONG",name:"Ondo"},30:{code:"OS",name:"Osun"},31:{code:"OY",name:"Oyo"},32:{code:"PL",name:"Plateau"},33:{code:"RI",name:"Rivers"},34:{code:"SO",name:"Sokoto"},35:{code:"TA",name:"Taraba"},36:{code:"YO",name:"Yobe"},37:{code:"ZA",name:"Zamfara"}},NU:{1:{code:"MAK",name:"Makefu"},2:{code:"TUA",name:"Tuapa"},3:{code:"NAM",name:"Namukulu"},4:{code:"HIK",name:"Hikutavake"},5:{code:"TOI",name:"Toi"},6:{code:"MUT",name:"Mutalau"},7:{code:"LAK",name:"Lakepa"},8:{code:"LIK",name:"Liku"},9:{code:"HAK",name:"Hakupu"},10:{code:"VAI",name:"Vaiea"},11:{code:"AVA",name:"Avatele"},12:{code:"TAM",name:"Tamakautoga"},13:{code:"ALO",name:"Alofi South"},14:{code:"ALO",name:"Alofi North"}},NF:{1:{code:"NOR",name:"Norfolk Island"}},MP:{1:{code:"N",name:"Northern Islands"},2:{code:"R",name:"Rota"},3:{code:"S",name:"Saipan"},4:{code:"T",name:"Tinian"}},NO:{1:{code:"AK",name:"Akershus"},2:{code:"AA",name:"Aust-Agder"},3:{code:"BU",name:"Buskerud"},4:{code:"FM",name:"Finnmark"},5:{code:"HM",name:"Hedmark"},6:{code:"HL",name:"Hordaland"},7:{code:"MR",name:"Møre og Romsdal"},8:{code:"NL",name:"Nordland"},9:{code:"NT",name:"Nord-Trøndelag"},10:{code:"OP",name:"Oppland"},11:{code:"OL",name:"Oslo"},12:{code:"RL",name:"Rogaland"},13:{code:"SJ",name:"Sogn og Fjordane"},14:{code:"ST",name:"Sør-Trøndelag"},15:{code:"SV",name:"Svalbard"},16:{code:"TM",name:"Telemark"},17:{code:"TR",name:"Troms"},18:{code:"VA",name:"Vest-Agder"},19:{code:"VF",name:"Vestfold"},20:{code:"OF",name:"Østfold"}},OM:{1:{code:"DA",name:"Ad Dakhiliyah"},2:{code:"BA",name:"Al Batinah"},3:{code:"WU",name:"Al Wusta"},4:{code:"SH",name:"Ash Sharqiyah"},5:{code:"ZA",name:"Az Zahirah"},6:{code:"MA",name:"Masqat"},7:{code:"MU",name:"Musandam"},8:{code:"ZU",name:"Zufar"}},PK:{1:{code:"B",name:"Balochistan"},2:{code:"T",name:"Federally Administered Tribal Ar"},3:{code:"I",name:"Islamabad Capital Territory"},4:{code:"N",name:"North-West Frontier"},5:{code:"P",name:"Punjab"},6:{code:"S",name:"Sindh"}},PW:{1:{code:"AM",name:"Aimeliik"},2:{code:"AR",name:"Airai"},3:{code:"AN",name:"Angaur"},4:{code:"HA",name:"Hatohobei"},5:{code:"KA",name:"Kayangel"},6:{code:"KO",name:"Koror"},7:{code:"ME",name:"Melekeok"},8:{code:"NA",name:"Ngaraard"},9:{code:"NG",name:"Ngarchelong"},10:{code:"ND",name:"Ngardmau"},11:{code:"NT",name:"Ngatpang"},12:{code:"NC",name:"Ngchesar"},13:{code:"NR",name:"Ngeremlengui"},14:{code:"NW",name:"Ngiwal"},15:{code:"PE",name:"Peleliu"},16:{code:"SO",name:"Sonsorol"}},PA:{1:{code:"BT",name:"Bocas del Toro"},2:{code:"CH",name:"Chiriqui"},3:{code:"CC",name:"Cocle"},4:{code:"CL",name:"Colon"},5:{code:"DA",name:"Darien"},6:{code:"HE",name:"Herrera"},7:{code:"LS",name:"Los Santos"},8:{code:"PA",name:"Panama"},9:{code:"SB",name:"San Blas"},10:{code:"VG",name:"Veraguas"}},PG:{1:{code:"BV",name:"Bougainville"},2:{code:"CE",name:"Central"},3:{code:"CH",name:"Chimbu"},4:{code:"EH",name:"Eastern Highlands"},5:{code:"EB",name:"East New Britain"},6:{code:"ES",name:"East Sepik"},7:{code:"EN",name:"Enga"},8:{code:"GU",name:"Gulf"},9:{code:"MD",name:"Madang"},10:{code:"MN",name:"Manus"},11:{code:"MB",name:"Milne Bay"},12:{code:"MR",name:"Morobe"},13:{code:"NC",name:"National Capital"},14:{code:"NI",name:"New Ireland"},15:{code:"NO",name:"Northern"},16:{code:"SA",name:"Sandaun"},17:{code:"SH",name:"Southern Highlands"},18:{code:"WE",name:"Western"},19:{code:"WH",name:"Western Highlands"},20:{code:"WB",name:"West New Britain"}},PY:{1:{code:"AG",name:"Alto Paraguay"},2:{code:"AN",name:"Alto Parana"},3:{code:"AM",name:"Amambay"},4:{code:"AS",name:"Asuncion"},5:{code:"BO",name:"Boqueron"},6:{code:"CG",name:"Caaguazu"},7:{code:"CZ",name:"Caazapa"},8:{code:"CN",name:"Canindeyu"},9:{code:"CE",name:"Central"},10:{code:"CC",name:"Concepcion"},11:{code:"CD",name:"Cordillera"},12:{code:"GU",name:"Guaira"},13:{code:"IT",name:"Itapua"},14:{code:"MI",name:"Misiones"},15:{code:"NE",name:"Neembucu"},16:{code:"PA",name:"Paraguari"},17:{code:"PH",name:"Presidente Hayes"},18:{code:"SP",name:"San Pedro"}},PE:{1:{code:"AM",name:"Amazonas"},2:{code:"AN",name:"Ancash"},3:{code:"AP",name:"Apurimac"},4:{code:"AR",name:"Arequipa"},5:{code:"AY",name:"Ayacucho"},6:{code:"CJ",name:"Cajamarca"},7:{code:"CL",name:"Callao"},8:{code:"CU",name:"Cusco"},9:{code:"HV",name:"Huancavelica"},10:{code:"HO",name:"Huanuco"},11:{code:"IC",name:"Ica"},12:{code:"JU",name:"Junin"},13:{code:"LD",name:"La Libertad"},14:{code:"LY",name:"Lambayeque"},15:{code:"LI",name:"Lima"},16:{code:"LO",name:"Loreto"},17:{code:"MD",name:"Madre de Dios"},18:{code:"MO",name:"Moquegua"},19:{code:"PA",name:"Pasco"},20:{code:"PI",name:"Piura"},21:{code:"PU",name:"Puno"},22:{code:"SM",name:"San Martin"},23:{code:"TA",name:"Tacna"},24:{code:"TU",name:"Tumbes"},25:{code:"UC",name:"Ucayali"}},PH:{1:{code:"ABR",name:"Abra"},2:{code:"ANO",name:"Agusan del Norte"},3:{code:"ASU",name:"Agusan del Sur"},4:{code:"AKL",name:"Aklan"},5:{code:"ALB",name:"Albay"},6:{code:"ANT",name:"Antique"},7:{code:"APY",name:"Apayao"},8:{code:"AUR",name:"Aurora"},9:{code:"BAS",name:"Basilan"},10:{code:"BTA",name:"Bataan"},11:{code:"BTE",name:"Batanes"},12:{code:"BTG",name:"Batangas"},13:{code:"BLR",name:"Biliran"},14:{code:"BEN",name:"Benguet"},15:{code:"BOL",name:"Bohol"},16:{code:"BUK",name:"Bukidnon"},17:{code:"BUL",name:"Bulacan"},18:{code:"CAG",name:"Cagayan"},19:{code:"CNO",name:"Camarines Norte"},20:{code:"CSU",name:"Camarines Sur"},21:{code:"CAM",name:"Camiguin"},22:{code:"CAP",name:"Capiz"},23:{code:"CAT",name:"Catanduanes"},24:{code:"CAV",name:"Cavite"},25:{code:"CEB",name:"Cebu"},26:{code:"CMP",name:"Compostela"},27:{code:"DNO",name:"Davao del Norte"},28:{code:"DSU",name:"Davao del Sur"},29:{code:"DOR",name:"Davao Oriental"},30:{code:"ESA",name:"Eastern Samar"},31:{code:"GUI",name:"Guimaras"},32:{code:"IFU",name:"Ifugao"},33:{code:"INO",name:"Ilocos Norte"},34:{code:"ISU",name:"Ilocos Sur"},35:{code:"ILO",name:"Iloilo"},36:{code:"ISA",name:"Isabela"},37:{code:"KAL",name:"Kalinga"},38:{code:"LAG",name:"Laguna"},39:{code:"LNO",name:"Lanao del Norte"},40:{code:"LSU",name:"Lanao del Sur"},41:{code:"UNI",name:"La Union"},42:{code:"LEY",name:"Leyte"},43:{code:"MAG",name:"Maguindanao"},44:{code:"MRN",name:"Marinduque"},45:{code:"MSB",name:"Masbate"},46:{code:"MIC",name:"Mindoro Occidental"},47:{code:"MIR",name:"Mindoro Oriental"},48:{code:"MSC",name:"Misamis Occidental"},49:{code:"MOR",name:"Misamis Oriental"},50:{code:"MOP",name:"Mountain"},51:{code:"NOC",name:"Negros Occidental"},52:{code:"NOR",name:"Negros Oriental"},53:{code:"NCT",name:"North Cotabato"},54:{code:"NSM",name:"Northern Samar"},55:{code:"NEC",name:"Nueva Ecija"},56:{code:"NVZ",name:"Nueva Vizcaya"},57:{code:"PLW",name:"Palawan"},58:{code:"PMP",name:"Pampanga"},59:{code:"PNG",name:"Pangasinan"},60:{code:"QZN",name:"Quezon"},61:{code:"QRN",name:"Quirino"},62:{code:"RIZ",name:"Rizal"},63:{code:"ROM",name:"Romblon"},64:{code:"SMR",name:"Samar"},65:{code:"SRG",name:"Sarangani"},66:{code:"SQJ",name:"Siquijor"},67:{code:"SRS",name:"Sorsogon"},68:{code:"SCO",name:"South Cotabato"},69:{code:"SLE",name:"Southern Leyte"},70:{code:"SKU",name:"Sultan Kudarat"},71:{code:"SLU",name:"Sulu"},72:{code:"SNO",name:"Surigao del Norte"},73:{code:"SSU",name:"Surigao del Sur"},74:{code:"TAR",name:"Tarlac"},75:{code:"TAW",name:"Tawi-Tawi"},76:{code:"ZBL",name:"Zambales"},77:{code:"ZNO",name:"Zamboanga del Norte"},78:{code:"ZSU",name:"Zamboanga del Sur"},79:{code:"ZSI",name:"Zamboanga Sibugay"}},PN:{1:{code:"PIT",name:"Pitcairn Island"}},PL:{1:{code:"DO",name:"Dolnośląskie"},2:{code:"KP",name:"Kujawsko-Pomorskie"},3:{code:"LL",name:"Lubelskie"},4:{code:"LU",name:"Lubuskie"},5:{code:"LO",name:"Łódzkie"},6:{code:"ML",name:"Małopolskie"},7:{code:"MZ",name:"Mazowieckie"},8:{code:"OP",name:"Opolskie"},9:{code:"PP",name:"Podkarpackie"},10:{code:"PL",name:"Podlaskie"},11:{code:"PM",name:"Pomorskie"},12:{code:"SL",name:"Śląskie"},13:{code:"SW",name:"Świętokrzyskie"},14:{code:"WM",name:"Warmińsko-Mazurskie"},15:{code:"WP",name:"Wielkopolskie"},16:{code:"ZA",name:"Zachodniopomorskie"}},PT:{1:{code:"AC",name:"Açores"},2:{code:"AV",name:"Aveiro"},3:{code:"BE",name:"Beja"},4:{code:"BR",name:"Braga"},5:{code:"BA",name:"Bragança"},6:{code:"CB",name:"Castelo Branco"},7:{code:"CO",name:"Coimbra"},8:{code:"EV",name:"évora"},9:{code:"FA",name:"Faro"},10:{code:"GU",name:"Guarda"},12:{code:"LE",name:"Leiria"},13:{code:"LI",name:"Lisboa"},14:{code:"ME",name:"Madeira"},15:{code:"PO",name:"Portalegre"},16:{code:"PR",name:"Porto"},17:{code:"SA",name:"Santarém"},18:{code:"SE",name:"SetÚbal"},19:{code:"VC",name:"Viana do Castelo"},20:{code:"VR",name:"Vila Real"},21:{code:"VI",name:"Viseu"}},PR:{1:{code:"A-A",name:"Añasco"},2:{code:"ADJ",name:"Adjuntas"},3:{code:"AGU",name:"Aguada"},4:{code:"AGU",name:"Aguadilla"},5:{code:"AGU",name:"Aguas Buenas"},6:{code:"AIB",name:"Aibonito"},7:{code:"ARE",name:"Arecibo"},8:{code:"ARR",name:"Arroyo"},9:{code:"BAR",name:"Barceloneta"},10:{code:"BAR",name:"Barranquitas"},11:{code:"BAY",name:"Bayamón"},12:{code:"CAB",name:"Cabo Rojo"},13:{code:"CAG",name:"Caguas"},14:{code:"CAM",name:"Camuy"},15:{code:"CAN",name:"Canóvanas"},16:{code:"CAR",name:"Carolina"},17:{code:"CAT",name:"Cataño"},18:{code:"CAY",name:"Cayey"},19:{code:"CEI",name:"Ceiba"},20:{code:"CIA",name:"Ciales"},21:{code:"CID",name:"Cidra"},22:{code:"COA",name:"Coamo"},23:{code:"COM",name:"Comerío"},24:{code:"COR",name:"Corozal"},25:{code:"CUL",name:"Culebra"},26:{code:"DOR",name:"Dorado"},27:{code:"FAJ",name:"Fajardo"},28:{code:"FLO",name:"Florida"},29:{code:"GUA",name:"Guayama"},30:{code:"GUA",name:"Guayanilla"},31:{code:"GUA",name:"Guaynabo"},32:{code:"GUR",name:"Gurabo"},33:{code:"GU¡",name:"Guánica"},34:{code:"HAT",name:"Hatillo"},35:{code:"HOR",name:"Hormigueros"},36:{code:"HUM",name:"Humacao"},37:{code:"ISA",name:"Isabela"},38:{code:"JAY",name:"Jayuya"},39:{code:"JUA",name:"Juana Díaz"},40:{code:"JUN",name:"Juncos"},41:{code:"LAJ",name:"Lajas"},42:{code:"LAR",name:"Lares"},43:{code:"LAS",name:"Las Marías"},44:{code:"LAS",name:"Las Piedras"},45:{code:"LOÕ",name:"Loíza"},46:{code:"LUQ",name:"Luquillo"},47:{code:"MAN",name:"Manatí"},48:{code:"MAR",name:"Maricao"},49:{code:"MAU",name:"Maunabo"},50:{code:"MAY",name:"Mayagüez"},51:{code:"MOC",name:"Moca"},52:{code:"MOR",name:"Morovis"},53:{code:"NAG",name:"Naguabo"},54:{code:"NAR",name:"Naranjito"},55:{code:"ORO",name:"Orocovis"},56:{code:"PAT",name:"Patillas"},57:{code:"PE-",name:"Peñuelas"},58:{code:"PON",name:"Ponce"},59:{code:"QUE",name:"Quebradillas"},60:{code:"RIN",name:"Rincón"},61:{code:"RIO",name:"Rio Grande"},62:{code:"SAB",name:"Sabana Grande"},63:{code:"SAL",name:"Salinas"},64:{code:"SAN",name:"San Germàn"},65:{code:"SAN",name:"San Juan"},66:{code:"SAN",name:"San Lorenzo"},67:{code:"SAN",name:"San Sebastiàn"},68:{code:"SAN",name:"Santa Isabel"},69:{code:"TOA",name:"Toa Alta"},70:{code:"TOA",name:"Toa Baja"},71:{code:"TRU",name:"Trujillo Alto"},72:{code:"UTU",name:"Utuado"},73:{code:"VEG",name:"Vega Alta"},74:{code:"VEG",name:"Vega Baja"},75:{code:"VIE",name:"Vieques"},76:{code:"VIL",name:"Villalba"},77:{code:"YAB",name:"Yabucoa"},78:{code:"YAU",name:"Yauco"}},QA:{1:{code:"DW",name:"Ad Dawhah"},2:{code:"GW",name:"Al Ghuwayriyah"},3:{code:"JM",name:"Al Jumayliyah"},4:{code:"KR",name:"Al Khawr"},5:{code:"WK",name:"Al Wakrah"},6:{code:"RN",name:"Ar Rayyan"},7:{code:"JB",name:"Jarayan al Batinah"},8:{code:"MS",name:"Madinat ash Shamal"},9:{code:"UD",name:"Umm Sa'id"},10:{code:"UL",name:"Umm Salal"}},RO:{1:{code:"AB",name:"Alba"},2:{code:"AR",name:"Arad"},3:{code:"AG",name:"Arges"},4:{code:"BC",name:"Bacau"},5:{code:"BH",name:"Bihor"},6:{code:"BN",name:"Bistrita-Nasaud"},7:{code:"BT",name:"Botosani"},8:{code:"BV",name:"Brasov"},9:{code:"BR",name:"Braila"},10:{code:"B",name:"Bucuresti"},11:{code:"BZ",name:"Buzau"},12:{code:"CS",name:"Caras-Severin"},13:{code:"CL",name:"Calarasi"},14:{code:"CJ",name:"Cluj"},15:{code:"CT",name:"Constanta"},16:{code:"CV",name:"Covasna"},17:{code:"DB",name:"Dimbovita"},18:{code:"DJ",name:"Dolj"},19:{code:"GL",name:"Galati"},20:{code:"GR",name:"Giurgiu"},21:{code:"GJ",name:"Gorj"},22:{code:"HR",name:"Harghita"},23:{code:"HD",name:"Hunedoara"},24:{code:"IL",name:"Ialomita"},25:{code:"IS",name:"Iasi"},26:{code:"IF",name:"Ilfov"},27:{code:"MM",name:"Maramures"},28:{code:"MH",name:"Mehedinti"},29:{code:"MS",name:"Mures"},30:{code:"NT",name:"Neamt"},31:{code:"OT",name:"Olt"},32:{code:"PH",name:"Prahova"},33:{code:"SM",name:"Satu-Mare"},34:{code:"SJ",name:"Salaj"},35:{code:"SB",name:"Sibiu"},36:{code:"SV",name:"Suceava"},37:{code:"TR",name:"Teleorman"},38:{code:"TM",name:"Timis"},39:{code:"TL",name:"Tulcea"},40:{code:"VS",name:"Vaslui"},41:{code:"VL",name:"Valcea"},42:{code:"VN",name:"Vrancea"}},RU:{1:{code:"AB",name:"Abakan"},2:{code:"AG",name:"Aginskoye"},3:{code:"AN",name:"Anadyr"},4:{code:"AR",name:"Arkahangelsk"},5:{code:"AS",name:"Astrakhan"},6:{code:"BA",name:"Barnaul"},7:{code:"BE",name:"Belgorod"},8:{code:"BI",name:"Birobidzhan"},9:{code:"BL",name:"Blagoveshchensk"},10:{code:"BR",name:"Bryansk"},11:{code:"CH",name:"Cheboksary"},12:{code:"CL",name:"Chelyabinsk"},13:{code:"CR",name:"Cherkessk"},14:{code:"CI",name:"Chita"},15:{code:"DU",name:"Dudinka"},16:{code:"EL",name:"Elista"},17:{code:"GO",name:"Gomo-Altaysk"},18:{code:"GA",name:"Gorno-Altaysk"},19:{code:"GR",name:"Groznyy"},20:{code:"IR",name:"Irkutsk"},21:{code:"IV",name:"Ivanovo"},22:{code:"IZ",name:"Izhevsk"},23:{code:"KA",name:"Kalinigrad"},24:{code:"KL",name:"Kaluga"},25:{code:"KS",name:"Kasnodar"},26:{code:"KZ",name:"Kazan"},27:{code:"KE",name:"Kemerovo"},28:{code:"KH",name:"Khabarovsk"},29:{code:"KM",name:"Khanty-Mansiysk"},30:{code:"KO",name:"Kostroma"},31:{code:"KR",name:"Krasnodar"},32:{code:"KN",name:"Krasnoyarsk"},33:{code:"KU",name:"Kudymkar"},34:{code:"KG",name:"Kurgan"},35:{code:"KK",name:"Kursk"},36:{code:"KY",name:"Kyzyl"},37:{code:"LI",name:"Lipetsk"},38:{code:"MA",name:"Magadan"},39:{code:"MK",name:"Makhachkala"},40:{code:"MY",name:"Maykop"},41:{code:"MO",name:"Moscow"},42:{code:"MU",name:"Murmansk"},43:{code:"NA",name:"Nalchik"},44:{code:"NR",name:"Naryan Mar"},45:{code:"NZ",name:"Nazran"},46:{code:"NI",name:"Nizhniy Novgorod"},47:{code:"NO",name:"Novgorod"},48:{code:"NV",name:"Novosibirsk"},49:{code:"OM",name:"Omsk"},50:{code:"OR",name:"Orel"},51:{code:"OE",name:"Orenburg"},52:{code:"PA",name:"Palana"},53:{code:"PE",name:"Penza"},54:{code:"PR",name:"Perm"},55:{code:"PK",name:"Petropavlovsk-Kamchatskiy"},56:{code:"PT",name:"Petrozavodsk"},57:{code:"PS",name:"Pskov"},58:{code:"RO",name:"Rostov-na-Donu"},59:{code:"RY",name:"Ryazan"},60:{code:"SL",name:"Salekhard"},61:{code:"SA",name:"Samara"},62:{code:"SR",name:"Saransk"},63:{code:"SV",name:"Saratov"},64:{code:"SM",name:"Smolensk"},65:{code:"SP",name:"St. Petersburg"},66:{code:"ST",name:"Stavropol"},67:{code:"SY",name:"Syktyvkar"},68:{code:"TA",name:"Tambov"},69:{code:"TO",name:"Tomsk"},70:{code:"TU",name:"Tula"},71:{code:"TR",name:"Tura"},72:{code:"TV",name:"Tver"},73:{code:"TY",name:"Tyumen"},74:{code:"UF",name:"Ufa"},75:{code:"UL",name:"Ul'yanovsk"},76:{code:"UU",name:"Ulan-Ude"},77:{code:"US",name:"Ust'-Ordynskiy"},78:{code:"VL",name:"Vladikavkaz"},79:{code:"VA",name:"Vladimir"},80:{code:"VV",name:"Vladivostok"},81:{code:"VG",name:"Volgograd"},82:{code:"VD",name:"Vologda"},83:{code:"VO",name:"Voronezh"},84:{code:"VY",name:"Vyatka"},85:{code:"YA",name:"Yakutsk"},86:{code:"YR",name:"Yaroslavl"},87:{code:"YE",name:"Yekaterinburg"},88:{code:"YO",name:"Yoshkar-Ola"}},RW:{1:{code:"BU",name:"Butare"},2:{code:"BY",name:"Byumba"},3:{code:"CY",name:"Cyangugu"},4:{code:"GK",name:"Gikongoro"},5:{code:"GS",name:"Gisenyi"},6:{code:"GT",name:"Gitarama"},7:{code:"KG",name:"Kibungo"},8:{code:"KY",name:"Kibuye"},9:{code:"KR",name:"Kigali Rurale"},10:{code:"KV",name:"Kigali-ville"},11:{code:"RU",name:"Ruhengeri"},12:{code:"UM",name:"Umutara"}},KN:{1:{code:"CCN",name:"Christ Church Nichola Town"},2:{code:"SAS",name:"Saint Anne Sandy Point"},3:{code:"SGB",name:"Saint George Basseterre"},4:{code:"SGG",name:"Saint George Gingerland"},5:{code:"SJW",name:"Saint James Windward"},6:{code:"SJC",name:"Saint John Capesterre"},7:{code:"SJF",name:"Saint John Figtree"
},8:{code:"SMC",name:"Saint Mary Cayon"},9:{code:"CAP",name:"Saint Paul Capesterre"},10:{code:"CHA",name:"Saint Paul Charlestown"},11:{code:"SPB",name:"Saint Peter Basseterre"},12:{code:"STL",name:"Saint Thomas Lowland"},13:{code:"STM",name:"Saint Thomas Middle Island"},14:{code:"TPP",name:"Trinity Palmetto Point"}},LC:{1:{code:"AR",name:"Anse-la-Raye"},2:{code:"CA",name:"Castries"},3:{code:"CH",name:"Choiseul"},4:{code:"DA",name:"Dauphin"},5:{code:"DE",name:"Dennery"},6:{code:"GI",name:"Gros-Islet"},7:{code:"LA",name:"Laborie"},8:{code:"MI",name:"Micoud"},9:{code:"PR",name:"Praslin"},10:{code:"SO",name:"Soufriere"},11:{code:"VF",name:"Vieux-Fort"}},VC:{1:{code:"C",name:"Charlotte"},2:{code:"R",name:"Grenadines"},3:{code:"A",name:"Saint Andrew"},4:{code:"D",name:"Saint David"},5:{code:"G",name:"Saint George"},6:{code:"P",name:"Saint Patrick"}},WS:{1:{code:"AN",name:"A'ana"},2:{code:"AI",name:"Aiga-i-le-Tai"},3:{code:"AT",name:"Atua"},4:{code:"FA",name:"Fa'asaleleaga"},5:{code:"GE",name:"Gaga'emauga"},6:{code:"GF",name:"Gagaifomauga"},7:{code:"PA",name:"Palauli"},8:{code:"SA",name:"Satupa'itea"},9:{code:"TU",name:"Tuamasaga"},10:{code:"VF",name:"Va'a-o-Fonoti"},11:{code:"VS",name:"Vaisigano"}},SM:{1:{code:"AC",name:"Acquaviva"},2:{code:"BM",name:"Borgo Maggiore"},3:{code:"CH",name:"Chiesanuova"},4:{code:"DO",name:"Domagnano"},5:{code:"FA",name:"Faetano"},6:{code:"FI",name:"Fiorentino"},7:{code:"MO",name:"Montegiardino"},8:{code:"SM",name:"Citta di San Marino"},9:{code:"SE",name:"Serravalle"}},ST:{1:{code:"S",name:"Sao Tome"},2:{code:"P",name:"Principe"}},SA:{1:{code:"BH",name:"Al Bahah"},2:{code:"HS",name:"Al Hudud ash Shamaliyah"},3:{code:"JF",name:"Al Jawf"},4:{code:"MD",name:"Al Madinah"},5:{code:"QS",name:"Al Qasim"},6:{code:"RD",name:"Ar Riyad"},7:{code:"AQ",name:"Ash Sharqiyah (Eastern)"},8:{code:"AS",name:"'Asir"},9:{code:"HL",name:"Ha'il"},10:{code:"JZ",name:"Jizan"},11:{code:"ML",name:"Makkah"},12:{code:"NR",name:"Najran"},13:{code:"TB",name:"Tabuk"}},SN:{1:{code:"DA",name:"Dakar"},2:{code:"DI",name:"Diourbel"},3:{code:"FA",name:"Fatick"},4:{code:"KA",name:"Kaolack"},5:{code:"KO",name:"Kolda"},6:{code:"LO",name:"Louga"},7:{code:"MA",name:"Matam"},8:{code:"SL",name:"Saint-Louis"},9:{code:"TA",name:"Tambacounda"},10:{code:"TH",name:"Thies"},11:{code:"ZI",name:"Ziguinchor"}},SC:{1:{code:"AP",name:"Anse aux Pins"},2:{code:"AB",name:"Anse Boileau"},3:{code:"AE",name:"Anse Etoile"},4:{code:"AL",name:"Anse Louis"},5:{code:"AR",name:"Anse Royale"},6:{code:"BL",name:"Baie Lazare"},7:{code:"BS",name:"Baie Sainte Anne"},8:{code:"BV",name:"Beau Vallon"},9:{code:"BA",name:"Bel Air"},10:{code:"BO",name:"Bel Ombre"},11:{code:"CA",name:"Cascade"},12:{code:"GL",name:"Glacis"},13:{code:"GM",name:"Grand' Anse (on Mahe)"},14:{code:"GP",name:"Grand' Anse (on Praslin)"},15:{code:"DG",name:"La Digue"},16:{code:"RA",name:"La Riviere Anglaise"},17:{code:"MB",name:"Mont Buxton"},18:{code:"MF",name:"Mont Fleuri"},19:{code:"PL",name:"Plaisance"},20:{code:"PR",name:"Pointe La Rue"},21:{code:"PG",name:"Port Glaud"},22:{code:"SL",name:"Saint Louis"},23:{code:"TA",name:"Takamaka"}},SL:{1:{code:"E",name:"Eastern"},2:{code:"N",name:"Northern"},3:{code:"S",name:"Southern"},4:{code:"W",name:"Western"}},SK:{1:{code:"BA",name:"Banskobystricky"},2:{code:"BR",name:"Bratislavsky"},3:{code:"KO",name:"Kosicky"},4:{code:"NI",name:"Nitriansky"},5:{code:"PR",name:"Presovsky"},6:{code:"TC",name:"Trenciansky"},7:{code:"TV",name:"Trnavsky"},8:{code:"ZI",name:"Zilinsky"}},SI:{1:{code:"4",name:"Štajerska"},2:{code:"2A",name:"Gorenjska"},3:{code:"5",name:"Prekmurje"},4:{code:"3",name:"Koroška"},5:{code:"2B",name:"Notranjska"},6:{code:"1",name:"Primorska"},7:{code:"2C",name:"Dolenjska"},8:{code:"2C",name:"Bela Krajina"}},SB:{1:{code:"CE",name:"Central"},2:{code:"CH",name:"Choiseul"},3:{code:"GC",name:"Guadalcanal"},4:{code:"HO",name:"Honiara"},5:{code:"IS",name:"Isabel"},6:{code:"MK",name:"Makira"},7:{code:"ML",name:"Malaita"},8:{code:"RB",name:"Rennell and Bellona"},9:{code:"TM",name:"Temotu"},10:{code:"WE",name:"Western"}},SO:{1:{code:"AW",name:"Awdal"},2:{code:"BK",name:"Bakool"},3:{code:"BN",name:"Banaadir"},4:{code:"BR",name:"Bari"},5:{code:"BY",name:"Bay"},6:{code:"GA",name:"Galguduud"},7:{code:"GE",name:"Gedo"},8:{code:"HI",name:"Hiiraan"},9:{code:"JD",name:"Jubbada Dhexe"},10:{code:"JH",name:"Jubbada Hoose"},11:{code:"MU",name:"Mudug"},12:{code:"NU",name:"Nugaal"},13:{code:"SA",name:"Sanaag"},14:{code:"SD",name:"Shabeellaha Dhexe"},15:{code:"SH",name:"Shabeellaha Hoose"},16:{code:"SL",name:"Sool"},17:{code:"TO",name:"Togdheer"},18:{code:"WG",name:"Woqooyi Galbeed"}},ZA:{1:{code:"EC",name:"Eastern Cape"},2:{code:"FS",name:"Free State"},3:{code:"GT",name:"Gauteng"},4:{code:"KN",name:"KwaZulu-Natal"},5:{code:"LP",name:"Limpopo"},6:{code:"MP",name:"Mpumalanga"},7:{code:"NW",name:"North West"},8:{code:"NC",name:"Northern Cape"},9:{code:"WC",name:"Western Cape"}},ES:{1:{code:"CA",name:"La Coruña"},2:{code:"AL",name:"Álava"},3:{code:"AB",name:"Albacete"},4:{code:"AC",name:"Alicante"},5:{code:"AM",name:"Almeria"},6:{code:"AS",name:"Asturias"},7:{code:"AV",name:"Ávila"},8:{code:"BJ",name:"Badajoz"},9:{code:"IB",name:"Baleares"},10:{code:"BA",name:"Barcelona"},11:{code:"BU",name:"Burgos"},12:{code:"CC",name:"Cáceres"},13:{code:"CZ",name:"Cádiz"},14:{code:"CT",name:"Cantabria"},15:{code:"CL",name:"Castellón"},16:{code:"CE",name:"Ceuta"},17:{code:"CR",name:"Ciudad Real"},18:{code:"CD",name:"Córdoba"},19:{code:"CU",name:"Cuenca"},20:{code:"GI",name:"Gerona"},21:{code:"GD",name:"Granada"},22:{code:"GJ",name:"Guadalajara"},23:{code:"GP",name:"Guipúzcoa"},24:{code:"HL",name:"Huelva"},25:{code:"HS",name:"Huesca"},26:{code:"JN",name:"Jaén"},27:{code:"RJ",name:"La Rioja"},28:{code:"PM",name:"Las Palmas"},29:{code:"LE",name:"León"},30:{code:"LL",name:"Lérida"},31:{code:"LG",name:"Lugo"},32:{code:"MD",name:"Madrid"},33:{code:"MA",name:"Málaga"},34:{code:"ML",name:"Melilla"},35:{code:"MU",name:"Murcia"},36:{code:"NV",name:"Navarra"},37:{code:"OU",name:"Ourense"},38:{code:"PL",name:"Palencia"},39:{code:"PO",name:"Pontevedra"},40:{code:"SL",name:"Salamanca"},41:{code:"SC",name:"Santa Cruz de Tenerife"},42:{code:"SG",name:"Segovia"},43:{code:"SV",name:"Sevilla"},44:{code:"SO",name:"Soria"},45:{code:"TA",name:"Tarragona"},46:{code:"TE",name:"Teruel"},47:{code:"TO",name:"Toledo"},48:{code:"VC",name:"Valencia"},49:{code:"VD",name:"Valladolid"},50:{code:"VZ",name:"Vizcaya"},51:{code:"ZM",name:"Zamora"},52:{code:"ZR",name:"Zaragoza"}},LK:{1:{code:"CE",name:"Central"},2:{code:"EA",name:"Eastern"},3:{code:"NC",name:"North Central"},4:{code:"NO",name:"Northern"},5:{code:"NW",name:"North Western"},6:{code:"SA",name:"Sabaragamuwa"},7:{code:"SO",name:"Southern"},8:{code:"UV",name:"Uva"},9:{code:"WE",name:"Western"}},SH:{1:{code:"A",name:"Ascension"},2:{code:"S",name:"Saint Helena"},3:{code:"T",name:"Tristan da Cunha"}},PM:{1:{code:"P",name:"Saint Pierre"},2:{code:"M",name:"Miquelon"}},SD:{1:{code:"ANL",name:"A'ali an Nil"},2:{code:"BAM",name:"Al Bahr al Ahmar"},3:{code:"BRT",name:"Al Buhayrat"},4:{code:"JZR",name:"Al Jazirah"},5:{code:"KRT",name:"Al Khartum"},6:{code:"QDR",name:"Al Qadarif"},7:{code:"WDH",name:"Al Wahdah"},8:{code:"ANB",name:"An Nil al Abyad"},9:{code:"ANZ",name:"An Nil al Azraq"},10:{code:"ASH",name:"Ash Shamaliyah"},11:{code:"BJA",name:"Bahr al Jabal"},12:{code:"GIS",name:"Gharb al Istiwa'iyah"},13:{code:"GBG",name:"Gharb Bahr al Ghazal"},14:{code:"GDA",name:"Gharb Darfur"},15:{code:"GKU",name:"Gharb Kurdufan"},16:{code:"JDA",name:"Janub Darfur"},17:{code:"JKU",name:"Janub Kurdufan"},18:{code:"JQL",name:"Junqali"},19:{code:"KSL",name:"Kassala"},20:{code:"NNL",name:"Nahr an Nil"},21:{code:"SBG",name:"Shamal Bahr al Ghazal"},22:{code:"SDA",name:"Shamal Darfur"},23:{code:"SKU",name:"Shamal Kurdufan"},24:{code:"SIS",name:"Sharq al Istiwa'iyah"},25:{code:"SNR",name:"Sinnar"},26:{code:"WRB",name:"Warab"}},SR:{1:{code:"BR",name:"Brokopondo"},2:{code:"CM",name:"Commewijne"},3:{code:"CR",name:"Coronie"},4:{code:"MA",name:"Marowijne"},5:{code:"NI",name:"Nickerie"},6:{code:"PA",name:"Para"},7:{code:"PM",name:"Paramaribo"},9:{code:"SA",name:"Saramacca"},10:{code:"SI",name:"Sipaliwini"},11:{code:"WA",name:"Wanica"}},SZ:{1:{code:"H",name:"Hhohho"},2:{code:"L",name:"Lubombo"},3:{code:"M",name:"Manzini"},4:{code:"S",name:"Shishelweni"}},SE:{1:{code:"K",name:"Blekinge"},2:{code:"W",name:"Dalama"},3:{code:"I",name:"Gotland"},4:{code:"X",name:"Gävleborg"},5:{code:"N",name:"Halland"},6:{code:"Z",name:"Jämtland"},7:{code:"F",name:"Jönköping"},8:{code:"H",name:"Kalmar"},9:{code:"G",name:"Kronoberg"},10:{code:"BD",name:"Norrbotten"},11:{code:"M",name:"Skåne"},12:{code:"AB",name:"Stockholm"},13:{code:"D",name:"Södermanland"},14:{code:"C",name:"Uppsala"},15:{code:"S",name:"Värmland"},16:{code:"AC",name:"Västerbotten"},17:{code:"Y",name:"Västernorrland"},18:{code:"U",name:"Västmanland"},19:{code:"O",name:"Västra Götaland"},20:{code:"T",name:"Örebro"},21:{code:"E",name:"Östergötland"}},CH:{1:{code:"AG",name:"Aargau"},2:{code:"AR",name:"Appenzell Ausserrhoden"},3:{code:"AI",name:"Appenzell Innerrhoden"},4:{code:"BS",name:"Basel-Stadt"},5:{code:"BL",name:"Basel-Landschaft"},6:{code:"BE",name:"Bern"},7:{code:"FR",name:"Fribourg"},8:{code:"GE",name:"Genève"},9:{code:"GL",name:"Glarus"},10:{code:"GR",name:"Graubünden"},11:{code:"JU",name:"Jura"},12:{code:"LU",name:"Lucerne"},13:{code:"NE",name:"Neuchâtel"},14:{code:"NW",name:"Nidwalden"},15:{code:"OW",name:"Obwalden"},16:{code:"SG",name:"St. Gallen"},17:{code:"SH",name:"Schaffhausen"},18:{code:"SZ",name:"Schwyz"},19:{code:"SO",name:"Solothurn"},20:{code:"TG",name:"Thurgau"},21:{code:"TI",name:"Ticino"},22:{code:"UR",name:"Uri"},23:{code:"VS",name:"Valais"},24:{code:"VD",name:"Vaud"},25:{code:"ZG",name:"Zug"},26:{code:"ZH",name:"Zürich"}},SY:{1:{code:"HA",name:"Al Hasakah"},2:{code:"LA",name:"Al Ladhiqiyah"},3:{code:"QU",name:"Al Qunaytirah"},4:{code:"RQ",name:"Ar Raqqah"},5:{code:"SU",name:"As Suwayda"},6:{code:"DA",name:"Dara"},7:{code:"DZ",name:"Dayr az Zawr"},8:{code:"DI",name:"Dimashq"},9:{code:"HL",name:"Halab"},10:{code:"HM",name:"Hamah"},11:{code:"HI",name:"Hims"},12:{code:"ID",name:"Idlib"},13:{code:"RD",name:"Rif Dimashq"},14:{code:"TA",name:"Tartus"}},TW:{1:{code:"CH",name:"Chang-hua"},2:{code:"CI",name:"Chia-i"},3:{code:"HS",name:"Hsin-chu"},4:{code:"HL",name:"Hua-lien"},5:{code:"IL",name:"I-lan"},6:{code:"KH",name:"Kao-hsiung county"},7:{code:"KM",name:"Kin-men"},8:{code:"LC",name:"Lien-chiang"},9:{code:"ML",name:"Miao-li"},10:{code:"NT",name:"Nan-t'ou"},11:{code:"PH",name:"P'eng-hu"},12:{code:"PT",name:"P'ing-tung"},13:{code:"TG",name:"T'ai-chung"},14:{code:"TA",name:"T'ai-nan"},15:{code:"TP",name:"T'ai-pei county"},16:{code:"TT",name:"T'ai-tung"},17:{code:"TY",name:"T'ao-yuan"},18:{code:"YL",name:"Yun-lin"},19:{code:"CC",name:"Chia-i city"},20:{code:"CL",name:"Chi-lung"},21:{code:"HC",name:"Hsin-chu"},22:{code:"TH",name:"T'ai-chung"},23:{code:"TN",name:"T'ai-nan"},24:{code:"KC",name:"Kao-hsiung city"},25:{code:"TC",name:"T'ai-pei city"}},TJ:{1:{code:"GB",name:"Gorno-Badakhstan"},2:{code:"KT",name:"Khatlon"},3:{code:"SU",name:"Sughd"}},TZ:{1:{code:"AR",name:"Arusha"},2:{code:"DS",name:"Dar es Salaam"},3:{code:"DO",name:"Dodoma"},4:{code:"IR",name:"Iringa"},5:{code:"KA",name:"Kagera"},6:{code:"KI",name:"Kigoma"},7:{code:"KJ",name:"Kilimanjaro"},8:{code:"LN",name:"Lindi"},9:{code:"MY",name:"Manyara"},10:{code:"MR",name:"Mara"},11:{code:"MB",name:"Mbeya"},12:{code:"MO",name:"Morogoro"},13:{code:"MT",name:"Mtwara"},14:{code:"MW",name:"Mwanza"},15:{code:"PN",name:"Pemba North"},16:{code:"PS",name:"Pemba South"},17:{code:"PW",name:"Pwani"},18:{code:"RK",name:"Rukwa"},19:{code:"RV",name:"Ruvuma"},20:{code:"SH",name:"Shinyanga"},21:{code:"SI",name:"Singida"},22:{code:"TB",name:"Tabora"},23:{code:"TN",name:"Tanga"},24:{code:"ZC",name:"Zanzibar Central/South"},25:{code:"ZN",name:"Zanzibar North"},26:{code:"ZU",name:"Zanzibar Urban/West"}},TH:{1:{code:"Amnat Charoen",name:"Amnat Charoen"},2:{code:"Ang Thong",name:"Ang Thong"},3:{code:"Ayutthaya",name:"Ayutthaya"},4:{code:"Bangkok",name:"Bangkok"},5:{code:"Buriram",name:"Buriram"},6:{code:"Chachoengsao",name:"Chachoengsao"},7:{code:"Chai Nat",name:"Chai Nat"},8:{code:"Chaiyaphum",name:"Chaiyaphum"},9:{code:"Chanthaburi",name:"Chanthaburi"},10:{code:"Chiang Mai",name:"Chiang Mai"},11:{code:"Chiang Rai",name:"Chiang Rai"},12:{code:"Chon Buri",name:"Chon Buri"},13:{code:"Chumphon",name:"Chumphon"},14:{code:"Kalasin",name:"Kalasin"},15:{code:"Kamphaeng Phet",name:"Kamphaeng Phet"},16:{code:"Kanchanaburi",name:"Kanchanaburi"},17:{code:"Khon Kaen",name:"Khon Kaen"},18:{code:"Krabi",name:"Krabi"},19:{code:"Lampang",name:"Lampang"},20:{code:"Lamphun",name:"Lamphun"},21:{code:"Loei",name:"Loei"},22:{code:"Lop Buri",name:"Lop Buri"},23:{code:"Mae Hong Son",name:"Mae Hong Son"},24:{code:"Maha Sarakham",name:"Maha Sarakham"},25:{code:"Mukdahan",name:"Mukdahan"},26:{code:"Nakhon Nayok",name:"Nakhon Nayok"},27:{code:"Nakhon Pathom",name:"Nakhon Pathom"},28:{code:"Nakhon Phanom",name:"Nakhon Phanom"},29:{code:"Nakhon Ratchasima",name:"Nakhon Ratchasima"},30:{code:"Nakhon Sawan",name:"Nakhon Sawan"},31:{code:"Nakhon Si Thammarat",name:"Nakhon Si Thammarat"},32:{code:"Nan",name:"Nan"},33:{code:"Narathiwat",name:"Narathiwat"},34:{code:"Nong Bua Lamphu",name:"Nong Bua Lamphu"},35:{code:"Nong Khai",name:"Nong Khai"},36:{code:"Nonthaburi",name:"Nonthaburi"},37:{code:"Pathum Thani",name:"Pathum Thani"},38:{code:"Pattani",name:"Pattani"},39:{code:"Phangnga",name:"Phangnga"},40:{code:"Phatthalung",name:"Phatthalung"},41:{code:"Phayao",name:"Phayao"},42:{code:"Phetchabun",name:"Phetchabun"},43:{code:"Phetchaburi",name:"Phetchaburi"},44:{code:"Phichit",name:"Phichit"},45:{code:"Phitsanulok",name:"Phitsanulok"},46:{code:"Phrae",name:"Phrae"},47:{code:"Phuket",name:"Phuket"},48:{code:"Prachin Buri",name:"Prachin Buri"},49:{code:"Prachuap Khiri Khan",name:"Prachuap Khiri Khan"},50:{code:"Ranong",name:"Ranong"},51:{code:"Ratchaburi",name:"Ratchaburi"},52:{code:"Rayong",name:"Rayong"},53:{code:"Roi Et",name:"Roi Et"},54:{code:"Sa Kaeo",name:"Sa Kaeo"},55:{code:"Sakon Nakhon",name:"Sakon Nakhon"},56:{code:"Samut Prakan",name:"Samut Prakan"},57:{code:"Samut Sakhon",name:"Samut Sakhon"},58:{code:"Samut Songkhram",name:"Samut Songkhram"},59:{code:"Sara Buri",name:"Sara Buri"},60:{code:"Satun",name:"Satun"},61:{code:"Sing Buri",name:"Sing Buri"},62:{code:"Sisaket",name:"Sisaket"},63:{code:"Songkhla",name:"Songkhla"},64:{code:"Sukhothai",name:"Sukhothai"},65:{code:"Suphan Buri",name:"Suphan Buri"},66:{code:"Surat Thani",name:"Surat Thani"},67:{code:"Surin",name:"Surin"},68:{code:"Tak",name:"Tak"},69:{code:"Trang",name:"Trang"},70:{code:"Trat",name:"Trat"},71:{code:"Ubon Ratchathani",name:"Ubon Ratchathani"},72:{code:"Udon Thani",name:"Udon Thani"},73:{code:"Uthai Thani",name:"Uthai Thani"},74:{code:"Uttaradit",name:"Uttaradit"},75:{code:"Yala",name:"Yala"},76:{code:"Yasothon",name:"Yasothon"}},TG:{1:{code:"K",name:"Kara"},2:{code:"P",name:"Plateaux"},3:{code:"S",name:"Savanes"},4:{code:"C",name:"Centrale"},5:{code:"M",name:"Maritime"}},TK:{1:{code:"A",name:"Atafu"},2:{code:"F",name:"Fakaofo"},3:{code:"N",name:"Nukunonu"}},TO:{1:{code:"H",name:"Ha'apai"},2:{code:"T",name:"Tongatapu"},3:{code:"V",name:"Vava'u"}},TT:{1:{code:"CT",name:"Couva/Tabaquite/Talparo"},2:{code:"DM",name:"Diego Martin"},3:{code:"MR",name:"Mayaro/Rio Claro"},4:{code:"PD",name:"Penal/Debe"},5:{code:"PT",name:"Princes Town"},6:{code:"SG",name:"Sangre Grande"},7:{code:"SL",name:"San Juan/Laventille"},8:{code:"SI",name:"Siparia"},9:{code:"TP",name:"Tunapuna/Piarco"},10:{code:"PS",name:"Port of Spain"},11:{code:"SF",name:"San Fernando"},12:{code:"AR",name:"Arima"},13:{code:"PF",name:"Point Fortin"},14:{code:"CH",name:"Chaguanas"},15:{code:"TO",name:"Tobago"}},TN:{1:{code:"AR",name:"Ariana"},2:{code:"BJ",name:"Beja"},3:{code:"BA",name:"Ben Arous"},4:{code:"BI",name:"Bizerte"},5:{code:"GB",name:"Gabes"},6:{code:"GF",name:"Gafsa"},7:{code:"JE",name:"Jendouba"},8:{code:"KR",name:"Kairouan"},9:{code:"KS",name:"Kasserine"},10:{code:"KB",name:"Kebili"},11:{code:"KF",name:"Kef"},12:{code:"MH",name:"Mahdia"},13:{code:"MN",name:"Manouba"},14:{code:"ME",name:"Medenine"},15:{code:"MO",name:"Monastir"},16:{code:"NA",name:"Nabeul"},17:{code:"SF",name:"Sfax"},18:{code:"SD",name:"Sidi"},19:{code:"SL",name:"Siliana"},20:{code:"SO",name:"Sousse"},21:{code:"TA",name:"Tataouine"},22:{code:"TO",name:"Tozeur"},23:{code:"TU",name:"Tunis"},24:{code:"ZA",name:"Zaghouan"}},TR:{1:{code:"ADA",name:"Adana"},2:{code:"ADI",name:"Adiyaman"},3:{code:"AFY",name:"Afyonkarahisar"},4:{code:"AGR",name:"Agri"},5:{code:"AKS",name:"Aksaray"},6:{code:"AMA",name:"Amasya"},7:{code:"ANK",name:"Ankara"},8:{code:"ANT",name:"Antalya"},9:{code:"ARD",name:"Ardahan"},10:{code:"ART",name:"Artvin"},11:{code:"AYI",name:"Aydin"},12:{code:"BAL",name:"Balikesir"},13:{code:"BAR",name:"Bartin"},14:{code:"BAT",name:"Batman"},15:{code:"BAY",name:"Bayburt"},16:{code:"BIL",name:"Bilecik"},17:{code:"BIN",name:"Bingol"},18:{code:"BIT",name:"Bitlis"},19:{code:"BOL",name:"Bolu"},20:{code:"BRD",name:"Burdur"},21:{code:"BRS",name:"Bursa"},22:{code:"CKL",name:"Canakkale"},23:{code:"CKR",name:"Cankiri"},24:{code:"COR",name:"Corum"},25:{code:"DEN",name:"Denizli"},26:{code:"DIY",name:"Diyarbakir"},27:{code:"DUZ",name:"Duzce"},28:{code:"EDI",name:"Edirne"},29:{code:"ELA",name:"Elazig"},30:{code:"EZC",name:"Erzincan"},31:{code:"EZR",name:"Erzurum"},32:{code:"ESK",name:"Eskisehir"},33:{code:"GAZ",name:"Gaziantep"},34:{code:"GIR",name:"Giresun"},35:{code:"GMS",name:"Gumushane"},36:{code:"HKR",name:"Hakkari"},37:{code:"HTY",name:"Hatay"},38:{code:"IGD",name:"Igdir"},39:{code:"ISP",name:"Isparta"},40:{code:"IST",name:"Istanbul"},41:{code:"IZM",name:"Izmir"},42:{code:"KAH",name:"Kahramanmaras"},43:{code:"KRB",name:"Karabuk"},44:{code:"KRM",name:"Karaman"},45:{code:"KRS",name:"Kars"},46:{code:"KAS",name:"Kastamonu"},47:{code:"KAY",name:"Kayseri"},48:{code:"KLS",name:"Kilis"},49:{code:"KRK",name:"Kirikkale"},50:{code:"KLR",name:"Kirklareli"},51:{code:"KRH",name:"Kirsehir"},52:{code:"KOC",name:"Kocaeli"},53:{code:"KON",name:"Konya"},54:{code:"KUT",name:"Kutahya"},55:{code:"MAL",name:"Malatya"},56:{code:"MAN",name:"Manisa"},57:{code:"MAR",name:"Mardin"},58:{code:"MER",name:"Mersin"},59:{code:"MUG",name:"Mugla"},60:{code:"MUS",name:"Mus"},61:{code:"NEV",name:"Nevsehir"},62:{code:"NIG",name:"Nigde"},63:{code:"ORD",name:"Ordu"},64:{code:"OSM",name:"Osmaniye"},65:{code:"RIZ",name:"Rize"},66:{code:"SAK",name:"Sakarya"},67:{code:"SAM",name:"Samsun"},68:{code:"SAN",name:"Sanliurfa"},69:{code:"SII",name:"Siirt"},70:{code:"SIN",name:"Sinop"},71:{code:"SIR",name:"Sirnak"},72:{code:"SIV",name:"Sivas"},73:{code:"TEL",name:"Tekirdag"},74:{code:"TOK",name:"Tokat"},75:{code:"TRA",name:"Trabzon"},76:{code:"TUN",name:"Tunceli"},77:{code:"USK",name:"Usak"},78:{code:"VAN",name:"Van"},79:{code:"YAL",name:"Yalova"},80:{code:"YOZ",name:"Yozgat"},81:{code:"ZON",name:"Zonguldak"}},TM:{1:{code:"A",name:"Ahal Welayaty"},2:{code:"B",name:"Balkan Welayaty"},3:{code:"D",name:"Dashhowuz Welayaty"},4:{code:"L",name:"Lebap Welayaty"},5:{code:"M",name:"Mary Welayaty"}},TC:{1:{code:"AC",name:"Ambergris Cays"},2:{code:"DC",name:"Dellis Cay"},3:{code:"FC",name:"French Cay"},4:{code:"LW",name:"Little Water Cay"},5:{code:"RC",name:"Parrot Cay"},6:{code:"PN",name:"Pine Cay"},7:{code:"SL",name:"Salt Cay"},8:{code:"GT",name:"Grand Turk"},9:{code:"SC",name:"South Caicos"},10:{code:"EC",name:"East Caicos"},11:{code:"MC",name:"Middle Caicos"},12:{code:"NC",name:"North Caicos"},13:{code:"PR",name:"Providenciales"},14:{code:"WC",name:"West Caicos"}},TV:{1:{code:"NMG",name:"Nanumanga"},2:{code:"NLK",name:"Niulakita"},3:{code:"NTO",name:"Niutao"},4:{code:"FUN",name:"Funafuti"},5:{code:"NME",name:"Nanumea"},6:{code:"NUI",name:"Nui"},7:{code:"NFT",name:"Nukufetau"},8:{code:"NLL",name:"Nukulaelae"},9:{code:"VAI",name:"Vaitupu"}},UG:{1:{code:"KAL",name:"Kalangala"},2:{code:"KMP",name:"Kampala"},3:{code:"KAY",name:"Kayunga"},4:{code:"KIB",name:"Kiboga"},5:{code:"LUW",name:"Luwero"},6:{code:"MAS",name:"Masaka"},7:{code:"MPI",name:"Mpigi"},8:{code:"MUB",name:"Mubende"},9:{code:"MUK",name:"Mukono"},10:{code:"NKS",name:"Nakasongola"},11:{code:"RAK",name:"Rakai"},12:{code:"SEM",name:"Sembabule"},13:{code:"WAK",name:"Wakiso"},14:{code:"BUG",name:"Bugiri"},15:{code:"BUS",name:"Busia"},16:{code:"IGA",name:"Iganga"},17:{code:"JIN",name:"Jinja"},18:{code:"KAB",name:"Kaberamaido"},19:{code:"KML",name:"Kamuli"},20:{code:"KPC",name:"Kapchorwa"},21:{code:"KTK",name:"Katakwi"},22:{code:"KUM",name:"Kumi"},23:{code:"MAY",name:"Mayuge"},24:{code:"MBA",name:"Mbale"},25:{code:"PAL",name:"Pallisa"},26:{code:"SIR",name:"Sironko"},27:{code:"SOR",name:"Soroti"},28:{code:"TOR",name:"Tororo"},29:{code:"ADJ",name:"Adjumani"},30:{code:"APC",name:"Apac"},31:{code:"ARU",name:"Arua"},32:{code:"GUL",name:"Gulu"},33:{code:"KIT",name:"Kitgum"},34:{code:"KOT",name:"Kotido"},35:{code:"LIR",name:"Lira"},36:{code:"MRT",name:"Moroto"},37:{code:"MOY",name:"Moyo"},38:{code:"NAK",name:"Nakapiripirit"},39:{code:"NEB",name:"Nebbi"},40:{code:"PAD",name:"Pader"},41:{code:"YUM",name:"Yumbe"},42:{code:"BUN",name:"Bundibugyo"},43:{code:"BSH",name:"Bushenyi"},44:{code:"HOI",name:"Hoima"},45:{code:"KBL",name:"Kabale"},46:{code:"KAR",name:"Kabarole"},47:{code:"KAM",name:"Kamwenge"},48:{code:"KAN",name:"Kanungu"},49:{code:"KAS",name:"Kasese"},50:{code:"KBA",name:"Kibaale"},51:{code:"KIS",name:"Kisoro"},52:{code:"KYE",name:"Kyenjojo"},53:{code:"MSN",name:"Masindi"},54:{code:"MBR",name:"Mbarara"},55:{code:"NTU",name:"Ntungamo"},56:{code:"RUK",name:"Rukungiri"}},UA:{1:{code:"CK",name:"Cherkasy"},2:{code:"CH",name:"Chernihiv"},3:{code:"CV",name:"Chernivtsi"},4:{code:"CR",name:"Crimea"},5:{code:"DN",name:"Dnipropetrovs'k"},6:{code:"DO",name:"Donets'k"},7:{code:"IV",name:"Ivano-Frankivs'k"},8:{code:"KL",name:"Kharkiv Kherson"},9:{code:"KM",name:"Khmel'nyts'kyy"},10:{code:"KR",name:"Kirovohrad"},11:{code:"KV",name:"Kiev"},12:{code:"KY",name:"Kyyiv"},13:{code:"LU",name:"Luhans'k"},14:{code:"LV",name:"L'viv"},15:{code:"MY",name:"Mykolayiv"},16:{code:"OD",name:"Odesa"},17:{code:"PO",name:"Poltava"},18:{code:"RI",name:"Rivne"},19:{code:"SE",name:"Sevastopol"},20:{code:"SU",name:"Sumy"},21:{code:"TE",name:"Ternopil'"},22:{code:"VI",name:"Vinnytsya"},23:{code:"VO",name:"Volyn'"},24:{code:"ZK",name:"Zakarpattya"},25:{code:"ZA",name:"Zaporizhzhya"},26:{code:"ZH",name:"Zhytomyr"}},AE:{1:{code:"AZ",name:"Abu Zaby"},2:{code:"AJ",name:"'Ajman"},3:{code:"FU",name:"Al Fujayrah"},4:{code:"SH",name:"Ash Shariqah"},5:{code:"DU",name:"Dubayy"},6:{code:"RK",name:"R'as al Khaymah"},7:{code:"UQ",name:"Umm al Qaywayn"}},GB:{1:{code:"ABN",name:"Aberdeen"},2:{code:"ABNS",name:"Aberdeenshire"},3:{code:"ANG",name:"Anglesey"},4:{code:"AGS",name:"Angus"},5:{code:"ARY",name:"Argyll and Bute"},6:{code:"BEDS",name:"Bedfordshire"},7:{code:"BERKS",name:"Berkshire"},8:{code:"BLA",name:"Blaenau Gwent"},9:{code:"BRI",name:"Bridgend"},10:{code:"BSTL",name:"Bristol"},11:{code:"BUCKS",name:"Buckinghamshire"},12:{code:"CAE",name:"Caerphilly"},13:{code:"CAMBS",name:"Cambridgeshire"},14:{code:"CDF",name:"Cardiff"},15:{code:"CARM",name:"Carmarthenshire"},16:{code:"CDGN",name:"Ceredigion"},17:{code:"CHES",name:"Cheshire"},18:{code:"CLACK",name:"Clackmannanshire"},19:{code:"CON",name:"Conwy"},20:{code:"CORN",name:"Cornwall"},21:{code:"DNBG",name:"Denbighshire"},22:{code:"DERBY",name:"Derbyshire"},23:{code:"DVN",name:"Devon"},24:{code:"DOR",name:"Dorset"},25:{code:"DGL",name:"Dumfries and Galloway"},26:{code:"DUND",name:"Dundee"},27:{code:"DHM",name:"Durham"},28:{code:"ARYE",name:"East Ayrshire"},29:{code:"DUNBE",name:"East Dunbartonshire"},30:{code:"LOTE",name:"East Lothian"},31:{code:"RENE",name:"East Renfrewshire"},32:{code:"ERYS",name:"East Riding of Yorkshire"},33:{code:"SXE",name:"East Sussex"},34:{code:"EDIN",name:"Edinburgh"},35:{code:"ESX",name:"Essex"},36:{code:"FALK",name:"Falkirk"},37:{code:"FFE",name:"Fife"},38:{code:"FLINT",name:"Flintshire"},39:{code:"GLAS",name:"Glasgow"},40:{code:"GLOS",name:"Gloucestershire"},41:{code:"LDN",name:"Greater London"},42:{code:"MCH",name:"Greater Manchester"},43:{code:"GDD",name:"Gwynedd"},44:{code:"HANTS",name:"Hampshire"},45:{code:"HWR",name:"Herefordshire"},46:{code:"HERTS",name:"Hertfordshire"},47:{code:"HLD",name:"Highlands"},48:{code:"IVER",name:"Inverclyde"},49:{code:"IOW",name:"Isle of Wight"},50:{code:"KNT",name:"Kent"},51:{code:"LANCS",name:"Lancashire"},52:{code:"LEICS",name:"Leicestershire"},53:{code:"LINCS",name:"Lincolnshire"},54:{code:"MSY",name:"Merseyside"},55:{code:"MERT",name:"Merthyr Tydfil"},56:{code:"MLOT",name:"Midlothian"},57:{code:"MMOUTH",name:"Monmouthshire"},58:{code:"MORAY",name:"Moray"},59:{code:"NPRTAL",name:"Neath Port Talbot"},60:{code:"NEWPT",name:"Newport"},61:{code:"NOR",name:"Norfolk"},62:{code:"ARYN",name:"North Ayrshire"},63:{code:"LANN",name:"North Lanarkshire"},64:{code:"YSN",name:"North Yorkshire"},65:{code:"NHM",name:"Northamptonshire"},66:{code:"NLD",name:"Northumberland"},67:{code:"NOT",name:"Nottinghamshire"},68:{code:"ORK",name:"Orkney Islands"},69:{code:"OFE",name:"Oxfordshire"},70:{code:"PEM",name:"Pembrokeshire"},71:{code:"PERTH",name:"Perth and Kinross"},72:{code:"PWS",name:"Powys"},73:{code:"REN",name:"Renfrewshire"},74:{code:"RHON",name:"Rhondda Cynon Taff"},75:{code:"RUT",name:"Rutland"},76:{code:"BOR",name:"Scottish Borders"},77:{code:"SHET",name:"Shetland Islands"},78:{code:"SPE",name:"Shropshire"},79:{code:"SOM",name:"Somerset"},80:{code:"ARYS",name:"South Ayrshire"},81:{code:"LANS",name:"South Lanarkshire"},82:{code:"YSS",name:"South Yorkshire"},83:{code:"SFD",name:"Staffordshire"},84:{code:"STIR",name:"Stirling"},85:{code:"SFK",name:"Suffolk"},86:{code:"SRY",name:"Surrey"},87:{code:"SWAN",name:"Swansea"},88:{code:"TORF",name:"Torfaen"},89:{code:"TWR",name:"Tyne and Wear"},90:{code:"VGLAM",name:"Vale of Glamorgan"},91:{code:"WARKS",name:"Warwickshire"},92:{code:"WDUN",name:"West Dunbartonshire"},93:{code:"WLOT",name:"West Lothian"},94:{code:"WMD",name:"West Midlands"},95:{code:"SXW",name:"West Sussex"},96:{code:"YSW",name:"West Yorkshire"},97:{code:"WIL",name:"Western Isles"},98:{code:"WLT",name:"Wiltshire"},99:{code:"WORCS",name:"Worcestershire"},100:{code:"WRX",name:"Wrexham"}},US:{1:{code:"AL",name:"Alabama"},2:{code:"AK",name:"Alaska"},3:{code:"AS",name:"American Samoa"},4:{code:"AZ",name:"Arizona"},5:{code:"AR",name:"Arkansas"},6:{code:"AF",name:"Armed Forces Africa"},7:{code:"AA",name:"Armed Forces Americas"},8:{code:"AC",name:"Armed Forces Canada"},9:{code:"AE",name:"Armed Forces Europe"},10:{code:"AM",name:"Armed Forces Middle East"},11:{code:"AP",name:"Armed Forces Pacific"},12:{code:"CA",name:"California"},13:{code:"CO",name:"Colorado"},14:{code:"CT",name:"Connecticut"},15:{code:"DE",name:"Delaware"},16:{code:"DC",name:"District of Columbia"},17:{code:"FM",name:"Federated States Of Micronesia"},18:{code:"FL",name:"Florida"},19:{code:"GA",name:"Georgia"},20:{code:"GU",name:"Guam"},21:{code:"HI",name:"Hawaii"},22:{code:"ID",name:"Idaho"},23:{code:"IL",name:"Illinois"},24:{code:"IN",name:"Indiana"},25:{code:"IA",name:"Iowa"},26:{code:"KS",name:"Kansas"},27:{code:"KY",name:"Kentucky"},28:{code:"LA",name:"Louisiana"},29:{code:"ME",name:"Maine"},30:{code:"MH",name:"Marshall Islands"},31:{code:"MD",name:"Maryland"},32:{code:"MA",name:"Massachusetts"},33:{code:"MI",name:"Michigan"},34:{code:"MN",name:"Minnesota"},35:{code:"MS",name:"Mississippi"},36:{code:"MO",name:"Missouri"},37:{code:"MT",name:"Montana"},38:{code:"NE",name:"Nebraska"},39:{code:"NV",name:"Nevada"},40:{code:"NH",name:"New Hampshire"},41:{code:"NJ",name:"New Jersey"},42:{code:"NM",name:"New Mexico"},43:{code:"NY",name:"New York"},44:{code:"NC",name:"North Carolina"},45:{code:"ND",name:"North Dakota"},46:{code:"MP",name:"Northern Mariana Islands"},47:{code:"OH",name:"Ohio"},48:{code:"OK",name:"Oklahoma"},49:{code:"OR",name:"Oregon"},50:{code:"PW",name:"Palau"},51:{code:"PA",name:"Pennsylvania"},52:{code:"PR",name:"Puerto Rico"},53:{code:"RI",name:"Rhode Island"},54:{code:"SC",name:"South Carolina"},55:{code:"SD",name:"South Dakota"},56:{code:"TN",name:"Tennessee"},57:{code:"TX",name:"Texas"},58:{code:"UT",name:"Utah"},59:{code:"VT",name:"Vermont"},60:{code:"VI",name:"Virgin Islands"},61:{code:"VA",name:"Virginia"},62:{code:"WA",name:"Washington"},63:{code:"WV",name:"West Virginia"},64:{code:"WI",name:"Wisconsin"},65:{code:"WY",name:"Wyoming"}},UM:{1:{code:"BI",name:"Baker Island"},2:{code:"HI",name:"Howland Island"},3:{code:"JI",name:"Jarvis Island"},4:{code:"JA",name:"Johnston Atoll"},5:{code:"KR",name:"Kingman Reef"},6:{code:"MA",name:"Midway Atoll"},7:{code:"NI",name:"Navassa Island"},8:{code:"PA",name:"Palmyra Atoll"},9:{code:"WI",name:"Wake Island"}},UY:{1:{code:"AR",name:"Artigas"},2:{code:"CA",name:"Canelones"},3:{code:"CL",name:"Cerro Largo"},4:{code:"CO",name:"Colonia"},5:{code:"DU",name:"Durazno"},6:{code:"FS",name:"Flores"},7:{code:"FA",name:"Florida"},8:{code:"LA",name:"Lavalleja"},9:{code:"MA",name:"Maldonado"},10:{code:"MO",name:"Montevideo"},11:{code:"PA",name:"Paysandu"},12:{code:"RN",name:"Rio Negro"},13:{code:"RV",name:"Rivera"},14:{code:"RO",name:"Rocha"},15:{code:"SL",name:"Salto"},16:{code:"SJ",name:"San Jose"},17:{code:"SO",name:"Soriano"},18:{code:"TA",name:"Tacuarembo"},19:{code:"TT",name:"Treinta y Tres"}},UZ:{1:{code:"AN",name:"Andijon"},2:{code:"BU",name:"Buxoro"},3:{code:"FA",name:"Farg'ona"},4:{code:"JI",name:"Jizzax"},5:{code:"NG",name:"Namangan"},6:{code:"NW",name:"Navoiy"},7:{code:"QA",name:"Qashqadaryo"},8:{code:"QR",name:"Qoraqalpog'iston Republikasi"},9:{code:"SA",name:"Samarqand"},10:{code:"SI",name:"Sirdaryo"},11:{code:"SU",name:"Surxondaryo"},12:{code:"TK",name:"Toshkent City"},13:{code:"TO",name:"Toshkent Region"},14:{code:"XO",name:"Xorazm"}},VU:{1:{code:"MA",name:"Malampa"},2:{code:"PE",name:"Penama"},3:{code:"SA",name:"Sanma"},4:{code:"SH",name:"Shefa"},5:{code:"TA",name:"Tafea"},6:{code:"TO",name:"Torba"}},VE:{1:{code:"AM",name:"Amazonas"},2:{code:"AN",name:"Anzoategui"},3:{code:"AP",name:"Apure"},4:{code:"AR",name:"Aragua"},5:{code:"BA",name:"Barinas"},6:{code:"BO",name:"Bolivar"},7:{code:"CA",name:"Carabobo"},8:{code:"CO",name:"Cojedes"},9:{code:"DA",name:"Delta Amacuro"},10:{code:"DF",name:"Dependencias Federales"},11:{code:"DI",name:"Distrito Federal"},12:{code:"FA",name:"Falcon"},13:{code:"GU",name:"Guarico"},14:{code:"LA",name:"Lara"},15:{code:"ME",name:"Merida"},16:{code:"MI",name:"Miranda"},17:{code:"MO",name:"Monagas"},18:{code:"NE",name:"Nueva Esparta"},19:{code:"PO",name:"Portuguesa"},20:{code:"SU",name:"Sucre"},21:{code:"TA",name:"Tachira"},22:{code:"TR",name:"Trujillo"},23:{code:"VA",name:"Vargas"},24:{code:"YA",name:"Yaracuy"},25:{code:"ZU",name:"Zulia"}},VN:{1:{code:"AG",name:"An Giang"},2:{code:"BG",name:"Bac Giang"},3:{code:"BK",name:"Bac Kan"},4:{code:"BL",name:"Bac Lieu"},5:{code:"BC",name:"Bac Ninh"},6:{code:"BR",name:"Ba Ria-Vung Tau"},7:{code:"BN",name:"Ben Tre"},8:{code:"BH",name:"Binh Dinh"},9:{code:"BU",name:"Binh Duong"},10:{code:"BP",name:"Binh Phuoc"},11:{code:"BT",name:"Binh Thuan"},12:{code:"CM",name:"Ca Mau"},13:{code:"CT",name:"Can Tho"},14:{code:"CB",name:"Cao Bang"},15:{code:"DL",name:"Dak Lak"},16:{code:"DG",name:"Dak Nong"},17:{code:"DN",name:"Da Nang"},18:{code:"DB",name:"Dien Bien"},19:{code:"DI",name:"Dong Nai"},20:{code:"DT",name:"Dong Thap"},21:{code:"GL",name:"Gia Lai"},22:{code:"HG",name:"Ha Giang"},23:{code:"HD",name:"Hai Duong"},24:{code:"HP",name:"Hai Phong"},25:{code:"HM",name:"Ha Nam"},26:{code:"HI",name:"Ha Noi"},27:{code:"HT",name:"Ha Tay"},28:{code:"HH",name:"Ha Tinh"},29:{code:"HB",name:"Hoa Binh"},30:{code:"HC",name:"Ho Chin Minh"},31:{code:"HU",name:"Hau Giang"},32:{code:"HY",name:"Hung Yen"}},VI:{1:{code:"C",name:"Saint Croix"},2:{code:"J",name:"Saint John"},3:{code:"T",name:"Saint Thomas"}},WF:{1:{code:"A",name:"Alo"},2:{code:"S",name:"Sigave"},3:{code:"W",name:"Wallis"}},YE:{1:{code:"AB",name:"Abyan"},2:{
code:"AD",name:"Adan"},3:{code:"AM",name:"Amran"},4:{code:"BA",name:"Al Bayda"},5:{code:"DA",name:"Ad Dali"},6:{code:"DH",name:"Dhamar"},7:{code:"HD",name:"Hadramawt"},8:{code:"HJ",name:"Hajjah"},9:{code:"HU",name:"Al Hudaydah"},10:{code:"IB",name:"Ibb"},11:{code:"JA",name:"Al Jawf"},12:{code:"LA",name:"Lahij"},13:{code:"MA",name:"Ma'rib"},14:{code:"MR",name:"Al Mahrah"},15:{code:"MW",name:"Al Mahwit"},16:{code:"SD",name:"Sa'dah"},17:{code:"SN",name:"San'a"},18:{code:"SH",name:"Shabwah"},19:{code:"TA",name:"Ta'izz"}},YU:{1:{code:"KOS",name:"Kosovo"},2:{code:"MON",name:"Montenegro"},3:{code:"SER",name:"Serbia"},4:{code:"VOJ",name:"Vojvodina"}},ZR:{1:{code:"BC",name:"Bas-Congo"},2:{code:"BN",name:"Bandundu"},3:{code:"EQ",name:"Equateur"},4:{code:"KA",name:"Katanga"},5:{code:"KE",name:"Kasai-Oriental"},6:{code:"KN",name:"Kinshasa"},7:{code:"KW",name:"Kasai-Occidental"},8:{code:"MA",name:"Maniema"},9:{code:"NK",name:"Nord-Kivu"},10:{code:"OR",name:"Orientale"},11:{code:"SK",name:"Sud-Kivu"}},ZM:{1:{code:"CE",name:"Central"},2:{code:"CB",name:"Copperbelt"},3:{code:"EA",name:"Eastern"},4:{code:"LP",name:"Luapula"},5:{code:"LK",name:"Lusaka"},6:{code:"NO",name:"Northern"},7:{code:"NW",name:"North-Western"},8:{code:"SO",name:"Southern"},9:{code:"WE",name:"Western"}},ZW:{1:{code:"BU",name:"Bulawayo"},2:{code:"HA",name:"Harare"},3:{code:"ML",name:"Manicaland"},4:{code:"MC",name:"Mashonaland Central"},5:{code:"ME",name:"Mashonaland East"},6:{code:"MW",name:"Mashonaland West"},7:{code:"MV",name:"Masvingo"},8:{code:"MN",name:"Matabeleland North"},9:{code:"MS",name:"Matabeleland South"},10:{code:"MD",name:"Midlands"}}},BFHTimePickerDelimiter=":",BFHTimePickerModes={am:"AM",pm:"PM"},BFHTimezonesList={AF:{"Asia/Kabul":"Kabul"},AL:{"Europe/Tirane":"Tirane"},DZ:{"Africa/Algiers":"Algiers"},AS:{"Pacific/Pago_Pago":"Pago Pago"},AD:{"Europe/Andorra":"Andorra"},AO:{"Africa/Luanda":"Luanda"},AI:{"America/Anguilla":"Anguilla"},AQ:{"Antarctica/Casey":"Casey","Antarctica/Davis":"Davis","Antarctica/DumontDUrville":"DumontDUrville","Antarctica/Macquarie":"Macquarie","Antarctica/Mawson":"Mawson","Antarctica/McMurdo":"McMurdo","Antarctica/Palmer":"Palmer","Antarctica/Rothera":"Rothera","Antarctica/South_Pole":"South Pole","Antarctica/Syowa":"Syowa","Antarctica/Vostok":"Vostok"},AG:{"America/Antigua":"Antigua"},AR:{"America/Argentina/Buenos_Aires":"Argentina / Buenos Aires","America/Argentina/Catamarca":"Argentina / Catamarca","America/Argentina/Cordoba":"Argentina / Cordoba","America/Argentina/Jujuy":"Argentina / Jujuy","America/Argentina/La_Rioja":"Argentina / La Rioja","America/Argentina/Mendoza":"Argentina / Mendoza","America/Argentina/Rio_Gallegos":"Argentina / Rio Gallegos","America/Argentina/Salta":"Argentina / Salta","America/Argentina/San_Juan":"Argentina / San Juan","America/Argentina/San_Luis":"Argentina / San Luis","America/Argentina/Tucuman":"Argentina / Tucuman","America/Argentina/Ushuaia":"Argentina / Ushuaia"},AM:{"Asia/Yerevan":"Yerevan"},AW:{"America/Aruba":"Aruba"},AU:{"Australia/Adelaide":"Adelaide","Australia/Brisbane":"Brisbane","Australia/Broken_Hill":"Broken Hill","Australia/Currie":"Currie","Australia/Darwin":"Darwin","Australia/Eucla":"Eucla","Australia/Hobart":"Hobart","Australia/Lindeman":"Lindeman","Australia/Lord_Howe":"Lord Howe","Australia/Melbourne":"Melbourne","Australia/Perth":"Perth","Australia/Sydney":"Sydney"},AT:{"Europe/Vienna":"Vienna"},AZ:{"Asia/Baku":"Baku"},BH:{"Asia/Bahrain":"Bahrain"},BD:{"Asia/Dhaka":"Dhaka"},BB:{"America/Barbados":"Barbados"},BY:{"Europe/Minsk":"Minsk"},BE:{"Europe/Brussels":"Brussels"},BZ:{"America/Belize":"Belize"},BJ:{"Africa/Porto-Novo":"Porto-Novo"},BM:{"Atlantic/Bermuda":"Bermuda"},BT:{"Asia/Thimphu":"Thimphu"},BO:{"America/La_Paz":"La Paz"},BA:{"Europe/Sarajevo":"Sarajevo"},BW:{"Africa/Gaborone":"Gaborone"},BR:{"America/Araguaina":"Araguaina","America/Bahia":"Bahia","America/Belem":"Belem","America/Boa_Vista":"Boa Vista","America/Campo_Grande":"Campo Grande","America/Cuiaba":"Cuiaba","America/Eirunepe":"Eirunepe","America/Fortaleza":"Fortaleza","America/Maceio":"Maceio","America/Manaus":"Manaus","America/Noronha":"Noronha","America/Porto_Velho":"Porto Velho","America/Recife":"Recife","America/Rio_Branco":"Rio Branco","America/Santarem":"Santarem","America/Sao_Paulo":"Sao Paulo"},VG:{"America/Tortola":"Tortola"},BN:{"Asia/Brunei":"Brunei"},BG:{"Europe/Sofia":"Sofia"},BF:{"Africa/Ouagadougou":"Ouagadougou"},BI:{"Africa/Bujumbura":"Bujumbura"},CI:{"Africa/Abidjan":"Abidjan"},KH:{"Asia/Phnom_Penh":"Phnom Penh"},CM:{"Africa/Douala":"Douala"},CA:{"America/Atikokan":"Atikokan","America/Blanc-Sablon":"Blanc-Sablon","America/Cambridge_Bay":"Cambridge Bay","America/Creston":"Creston","America/Dawson":"Dawson","America/Dawson_Creek":"Dawson Creek","America/Edmonton":"Edmonton","America/Glace_Bay":"Glace Bay","America/Goose_Bay":"Goose Bay","America/Halifax":"Halifax","America/Inuvik":"Inuvik","America/Iqaluit":"Iqaluit","America/Moncton":"Moncton","America/Montreal":"Montreal","America/Nipigon":"Nipigon","America/Pangnirtung":"Pangnirtung","America/Rainy_River":"Rainy River","America/Rankin_Inlet":"Rankin Inlet","America/Regina":"Regina","America/Resolute":"Resolute","America/St_Johns":"St Johns","America/Swift_Current":"Swift Current","America/Thunder_Bay":"Thunder Bay","America/Toronto":"Toronto","America/Vancouver":"Vancouver","America/Whitehorse":"Whitehorse","America/Winnipeg":"Winnipeg","America/Yellowknife":"Yellowknife"},CV:{"Atlantic/Cape_Verde":"Cape Verde"},KY:{"America/Cayman":"Cayman"},CF:{"Africa/Bangui":"Bangui"},TD:{"Africa/Ndjamena":"Ndjamena"},CL:{"America/Santiago":"Santiago","Pacific/Easter":"Easter"},CN:{"Asia/Chongqing":"Chongqing","Asia/Harbin":"Harbin","Asia/Kashgar":"Kashgar","Asia/Shanghai":"Shanghai","Asia/Urumqi":"Urumqi"},CO:{"America/Bogota":"Bogota"},KM:{"Indian/Comoro":"Comoro"},CG:{"Africa/Brazzaville":"Brazzaville"},CR:{"America/Costa_Rica":"Costa Rica"},HR:{"Europe/Zagreb":"Zagreb"},CU:{"America/Havana":"Havana"},CY:{"Asia/Nicosia":"Nicosia"},CZ:{"Europe/Prague":"Prague"},CD:{"Africa/Kinshasa":"Kinshasa","Africa/Lubumbashi":"Lubumbashi"},DK:{"Europe/Copenhagen":"Copenhagen"},DJ:{"Africa/Djibouti":"Djibouti"},DM:{"America/Dominica":"Dominica"},DO:{"America/Santo_Domingo":"Santo Domingo"},TP:{},EC:{"America/Guayaquil":"Guayaquil","Pacific/Galapagos":"Galapagos"},EG:{"Africa/Cairo":"Cairo"},SV:{"America/El_Salvador":"El Salvador"},GQ:{"Africa/Malabo":"Malabo"},ER:{"Africa/Asmara":"Asmara"},EE:{"Europe/Tallinn":"Tallinn"},ET:{"Africa/Addis_Ababa":"Addis Ababa"},FO:{"Atlantic/Faroe":"Faroe"},FK:{"Atlantic/Stanley":"Stanley"},FJ:{"Pacific/Fiji":"Fiji"},FI:{"Europe/Helsinki":"Helsinki"},MK:{"Europe/Skopje":"Skopje"},FR:{"Europe/Paris":"Paris"},GA:{"Africa/Libreville":"Libreville"},GE:{"Asia/Tbilisi":"Tbilisi"},DE:{"Europe/Berlin":"Berlin"},GH:{"Africa/Accra":"Accra"},GR:{"Europe/Athens":"Athens"},GL:{"America/Danmarkshavn":"Danmarkshavn","America/Godthab":"Godthab","America/Scoresbysund":"Scoresbysund","America/Thule":"Thule"},GD:{"America/Grenada":"Grenada"},GU:{"Pacific/Guam":"Guam"},GT:{"America/Guatemala":"Guatemala"},GN:{"Africa/Conakry":"Conakry"},GW:{"Africa/Bissau":"Bissau"},GY:{"America/Guyana":"Guyana"},HT:{"America/Port-au-Prince":"Port-au-Prince"},HN:{"America/Tegucigalpa":"Tegucigalpa"},HK:{"Asia/Hong_Kong":"Hong Kong"},HU:{"Europe/Budapest":"Budapest"},IS:{"Atlantic/Reykjavik":"Reykjavik"},IN:{"Asia/Kolkata":"Kolkata"},ID:{"Asia/Jakarta":"Jakarta","Asia/Jayapura":"Jayapura","Asia/Makassar":"Makassar","Asia/Pontianak":"Pontianak"},IR:{"Asia/Tehran":"Tehran"},IQ:{"Asia/Baghdad":"Baghdad"},IE:{"Europe/Dublin":"Dublin"},IL:{"Asia/Jerusalem":"Jerusalem"},IT:{"Europe/Rome":"Rome"},JM:{"America/Jamaica":"Jamaica"},JP:{"Asia/Tokyo":"Tokyo"},JO:{"Asia/Amman":"Amman"},KZ:{"Asia/Almaty":"Almaty","Asia/Aqtau":"Aqtau","Asia/Aqtobe":"Aqtobe","Asia/Oral":"Oral","Asia/Qyzylorda":"Qyzylorda"},KE:{"Africa/Nairobi":"Nairobi"},KI:{"Pacific/Enderbury":"Enderbury","Pacific/Kiritimati":"Kiritimati","Pacific/Tarawa":"Tarawa"},KW:{"Asia/Kuwait":"Kuwait"},KG:{"Asia/Bishkek":"Bishkek"},LA:{"Asia/Vientiane":"Vientiane"},LV:{"Europe/Riga":"Riga"},LB:{"Asia/Beirut":"Beirut"},LS:{"Africa/Maseru":"Maseru"},LR:{"Africa/Monrovia":"Monrovia"},LY:{"Africa/Tripoli":"Tripoli"},LI:{"Europe/Vaduz":"Vaduz"},LT:{"Europe/Vilnius":"Vilnius"},LU:{"Europe/Luxembourg":"Luxembourg"},MO:{"Asia/Macau":"Macau"},MG:{"Indian/Antananarivo":"Antananarivo"},MW:{"Africa/Blantyre":"Blantyre"},MY:{"Asia/Kuala_Lumpur":"Kuala Lumpur","Asia/Kuching":"Kuching"},MV:{"Indian/Maldives":"Maldives"},ML:{"Africa/Bamako":"Bamako"},MT:{"Europe/Malta":"Malta"},MH:{"Pacific/Kwajalein":"Kwajalein","Pacific/Majuro":"Majuro"},MR:{"Africa/Nouakchott":"Nouakchott"},MU:{"Indian/Mauritius":"Mauritius"},MX:{"America/Bahia_Banderas":"Bahia Banderas","America/Cancun":"Cancun","America/Chihuahua":"Chihuahua","America/Hermosillo":"Hermosillo","America/Matamoros":"Matamoros","America/Mazatlan":"Mazatlan","America/Merida":"Merida","America/Mexico_City":"Mexico City","America/Monterrey":"Monterrey","America/Ojinaga":"Ojinaga","America/Santa_Isabel":"Santa Isabel","America/Tijuana":"Tijuana"},FM:{"Pacific/Chuuk":"Chuuk","Pacific/Kosrae":"Kosrae","Pacific/Pohnpei":"Pohnpei"},MD:{"Europe/Chisinau":"Chisinau"},MC:{"Europe/Monaco":"Monaco"},MN:{"Asia/Choibalsan":"Choibalsan","Asia/Hovd":"Hovd","Asia/Ulaanbaatar":"Ulaanbaatar"},ME:{"Europe/Podgorica":"Podgorica"},MS:{"America/Montserrat":"Montserrat"},MA:{"Africa/Casablanca":"Casablanca"},MZ:{"Africa/Maputo":"Maputo"},MM:{"Asia/Rangoon":"Rangoon"},NA:{"Africa/Windhoek":"Windhoek"},NR:{"Pacific/Nauru":"Nauru"},NP:{"Asia/Kathmandu":"Kathmandu"},NL:{"Europe/Amsterdam":"Amsterdam"},AN:{},NZ:{"Pacific/Auckland":"Auckland","Pacific/Chatham":"Chatham"},NI:{"America/Managua":"Managua"},NE:{"Africa/Niamey":"Niamey"},NG:{"Africa/Lagos":"Lagos"},NF:{"Pacific/Norfolk":"Norfolk"},KP:{"Asia/Pyongyang":"Pyongyang"},MP:{"Pacific/Saipan":"Saipan"},NO:{"Europe/Oslo":"Oslo"},OM:{"Asia/Muscat":"Muscat"},PK:{"Asia/Karachi":"Karachi"},PW:{"Pacific/Palau":"Palau"},PA:{"America/Panama":"Panama"},PG:{"Pacific/Port_Moresby":"Port Moresby"},PY:{"America/Asuncion":"Asuncion"},PE:{"America/Lima":"Lima"},PH:{"Asia/Manila":"Manila"},PN:{"Pacific/Pitcairn":"Pitcairn"},PL:{"Europe/Warsaw":"Warsaw"},PT:{"Atlantic/Azores":"Azores","Atlantic/Madeira":"Madeira","Europe/Lisbon":"Lisbon"},PR:{"America/Puerto_Rico":"Puerto Rico"},QA:{"Asia/Qatar":"Qatar"},RO:{"Europe/Bucharest":"Bucharest"},RU:{"Asia/Anadyr":"Anadyr","Asia/Irkutsk":"Irkutsk","Asia/Kamchatka":"Kamchatka","Asia/Krasnoyarsk":"Krasnoyarsk","Asia/Magadan":"Magadan","Asia/Novokuznetsk":"Novokuznetsk","Asia/Novosibirsk":"Novosibirsk","Asia/Omsk":"Omsk","Asia/Sakhalin":"Sakhalin","Asia/Vladivostok":"Vladivostok","Asia/Yakutsk":"Yakutsk","Asia/Yekaterinburg":"Yekaterinburg","Europe/Kaliningrad":"Kaliningrad","Europe/Moscow":"Moscow","Europe/Samara":"Samara","Europe/Volgograd":"Volgograd"},RW:{"Africa/Kigali":"Kigali"},ST:{"Africa/Sao_Tome":"Sao Tome"},SH:{"Atlantic/St_Helena":"St Helena"},KN:{"America/St_Kitts":"St Kitts"},LC:{"America/St_Lucia":"St Lucia"},VC:{"America/St_Vincent":"St Vincent"},WS:{"Pacific/Apia":"Apia"},SM:{"Europe/San_Marino":"San Marino"},SA:{"Asia/Riyadh":"Riyadh"},SN:{"Africa/Dakar":"Dakar"},RS:{"Europe/Belgrade":"Belgrade"},SC:{"Indian/Mahe":"Mahe"},SL:{"Africa/Freetown":"Freetown"},SG:{"Asia/Singapore":"Singapore"},SK:{"Europe/Bratislava":"Bratislava"},SI:{"Europe/Ljubljana":"Ljubljana"},SB:{"Pacific/Guadalcanal":"Guadalcanal"},SO:{"Africa/Mogadishu":"Mogadishu"},ZA:{"Africa/Johannesburg":"Johannesburg"},GS:{"Atlantic/South_Georgia":"South Georgia"},KR:{"Asia/Seoul":"Seoul"},ES:{"Africa/Ceuta":"Ceuta","Atlantic/Canary":"Canary","Europe/Madrid":"Madrid"},LK:{"Asia/Colombo":"Colombo"},SD:{"Africa/Khartoum":"Khartoum"},SR:{"America/Paramaribo":"Paramaribo"},SZ:{"Africa/Mbabane":"Mbabane"},SE:{"Europe/Stockholm":"Stockholm"},CH:{"Europe/Zurich":"Zurich"},SY:{"Asia/Damascus":"Damascus"},TW:{"Asia/Taipei":"Taipei"},TJ:{"Asia/Dushanbe":"Dushanbe"},TZ:{"Africa/Dar_es_Salaam":"Dar es Salaam"},TH:{"Asia/Bangkok":"Bangkok"},BS:{"America/Nassau":"Nassau"},GM:{"Africa/Banjul":"Banjul"},TG:{"Africa/Lome":"Lome"},TO:{"Pacific/Tongatapu":"Tongatapu"},TT:{"America/Port_of_Spain":"Port of Spain"},TN:{"Africa/Tunis":"Tunis"},TR:{"Europe/Istanbul":"Istanbul"},TM:{"Asia/Ashgabat":"Ashgabat"},TC:{"America/Grand_Turk":"Grand Turk"},TV:{"Pacific/Funafuti":"Funafuti"},VI:{"America/St_Thomas":"St Thomas"},UG:{"Africa/Kampala":"Kampala"},UA:{"Europe/Kiev":"Kiev","Europe/Simferopol":"Simferopol","Europe/Uzhgorod":"Uzhgorod","Europe/Zaporozhye":"Zaporozhye"},AE:{"Asia/Dubai":"Dubai"},GB:{"Europe/London":"London"},US:{"America/Adak":"Adak","America/Anchorage":"Anchorage","America/Boise":"Boise","America/Chicago":"Chicago","America/Denver":"Denver","America/Detroit":"Detroit","America/Indiana/Indianapolis":"Indiana / Indianapolis","America/Indiana/Knox":"Indiana / Knox","America/Indiana/Marengo":"Indiana / Marengo","America/Indiana/Petersburg":"Indiana / Petersburg","America/Indiana/Tell_City":"Indiana / Tell City","America/Indiana/Vevay":"Indiana / Vevay","America/Indiana/Vincennes":"Indiana / Vincennes","America/Indiana/Winamac":"Indiana / Winamac","America/Juneau":"Juneau","America/Kentucky/Louisville":"Kentucky / Louisville","America/Kentucky/Monticello":"Kentucky / Monticello","America/Los_Angeles":"Los Angeles","America/Menominee":"Menominee","America/Metlakatla":"Metlakatla","America/New_York":"New York","America/Nome":"Nome","America/North_Dakota/Beulah":"North Dakota / Beulah","America/North_Dakota/Center":"North Dakota / Center","America/North_Dakota/New_Salem":"North Dakota / New Salem","America/Phoenix":"Phoenix","America/Shiprock":"Shiprock","America/Sitka":"Sitka","America/Yakutat":"Yakutat","Pacific/Honolulu":"Honolulu"},UY:{"America/Montevideo":"Montevideo"},UZ:{"Asia/Samarkand":"Samarkand","Asia/Tashkent":"Tashkent"},VU:{"Pacific/Efate":"Efate"},VA:{"Europe/Vatican":"Vatican"},VE:{"America/Caracas":"Caracas"},VN:{"Asia/Ho_Chi_Minh":"Ho Chi Minh"},EH:{"Africa/El_Aaiun":"El Aaiun"},YE:{"Asia/Aden":"Aden"},ZM:{"Africa/Lusaka":"Lusaka"},ZW:{"Africa/Harare":"Harare"}};/* ==========================================================
 * bootstrap-formhelpers-colorpicker.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";function t(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function n(e,n,a){return"#"+t(e)+t(n)+t(a)}function a(){var t;e(o).each(function(n){return t=i(e(this)),!t.hasClass("open")||(t.trigger(n=e.Event("hide.bfhcolorpicker")),!!n.isDefaultPrevented()||void t.removeClass("open").trigger("hidden.bfhcolorpicker"))})}function i(e){return e.closest(".bfh-colorpicker")}var o="[data-toggle=bfh-colorpicker]",s=function(t,n){this.options=e.extend({},e.fn.bfhcolorpicker.defaults,n),this.$element=e(t),this.initPopover()};s.prototype={constructor:s,initPalette:function(){var e,t,n;e=this.$element.find("canvas"),t=e[0].getContext("2d"),n=t.createLinearGradient(0,0,e.width(),0),n.addColorStop(0,"rgb(255, 255, 255)"),n.addColorStop(.1,"rgb(255,   0,   0)"),n.addColorStop(.25,"rgb(255,   0, 255)"),n.addColorStop(.4,"rgb(0,     0, 255)"),n.addColorStop(.55,"rgb(0,   255, 255)"),n.addColorStop(.7,"rgb(0,   255,   0)"),n.addColorStop(.85,"rgb(255, 255,   0)"),n.addColorStop(1,"rgb(255,   0,   0)"),t.fillStyle=n,t.fillRect(0,0,t.canvas.width,t.canvas.height),n=t.createLinearGradient(0,0,0,e.height()),n.addColorStop(0,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0)"),n.addColorStop(.5,"rgba(0,     0,   0, 0)"),n.addColorStop(1,"rgba(0,     0,   0, 1)"),t.fillStyle=n,t.fillRect(0,0,t.canvas.width,t.canvas.height)},initPopover:function(){var e,t;e="",t="","right"===this.options.align?t='<span class="input-group-addon"><span class="bfh-colorpicker-icon"></span></span>':e='<span class="input-group-addon"><span class="bfh-colorpicker-icon"></span></span>',this.$element.html('<div class="input-group bfh-colorpicker-toggle" data-toggle="bfh-colorpicker">'+e+'<input type="text" name="'+this.options.name+'" class="'+this.options.input+'" placeholder="'+this.options.placeholder+'" readonly>'+t+'</div><div class="bfh-colorpicker-popover"><canvas class="bfh-colorpicker-palette" width="384" height="256"></canvas></div>'),this.$element.on("click.bfhcolorpicker.data-api touchstart.bfhcolorpicker.data-api",o,s.prototype.toggle).on("mousedown.bfhcolorpicker.data-api","canvas",s.prototype.mouseDown).on("click.bfhcolorpicker.data-api touchstart.bfhcolorpicker.data-api",".bfh-colorpicker-popover",function(){return!1}),this.initPalette(),this.$element.val(this.options.color)},updateVal:function(e,t){var a,i,o,s,r,d,l;r=5,a=this.$element.find("canvas"),i=a[0].getContext("2d"),o=e-a.offset().left,s=t-a.offset().top,o=Math.round(o/r)*r,s=Math.round(s/r)*r,o<0&&(o=0),o>=a.width()&&(o=a.width()-1),s<0&&(s=0),s>a.height()&&(s=a.height()),d=i.getImageData(o,s,1,1),l=n(d.data[0],d.data[1],d.data[2]),l!==this.$element.val()&&(this.$element.val(l),this.$element.trigger("change.bfhcolorpicker"))},mouseDown:function(t){var n,a;n=e(this),a=i(n),e(document).on("mousemove.bfhcolorpicker.data-api",{colorpicker:a},s.prototype.mouseMove).one("mouseup.bfhcolorpicker.data-api",{colorpicker:a},s.prototype.mouseUp)},mouseMove:function(e){var t;t=e.data.colorpicker,t.data("bfhcolorpicker").updateVal(e.pageX,e.pageY)},mouseUp:function(t){var n;n=t.data.colorpicker,n.data("bfhcolorpicker").updateVal(t.pageX,t.pageY),e(document).off("mousemove.bfhcolorpicker.data-api"),n.data("bfhcolorpicker").options.close===!0&&a()},toggle:function(t){var n,o,s;if(n=e(this),o=i(n),o.is(".disabled")||void 0!==o.attr("disabled"))return!0;if(s=o.hasClass("open"),a(),!s){if(o.trigger(t=e.Event("show.bfhcolorpicker")),t.isDefaultPrevented())return!0;o.toggleClass("open").trigger("shown.bfhcolorpicker"),n.focus()}return!1}};var r=e.fn.bfhcolorpicker;e.fn.bfhcolorpicker=function(t){return this.each(function(){var n,a,i;n=e(this),a=n.data("bfhcolorpicker"),i="object"==typeof t&&t,this.type="bfhcolorpicker",a||n.data("bfhcolorpicker",a=new s(this,i)),"string"==typeof t&&a[t].call(n)})},e.fn.bfhcolorpicker.Constructor=s,e.fn.bfhcolorpicker.defaults={align:"left",input:"form-control",placeholder:"",name:"",color:"#000000",close:!0},e.fn.bfhcolorpicker.noConflict=function(){return e.fn.bfhcolorpicker=r,this};var d;e.valHooks.div&&(d=e.valHooks.div),e.valHooks.div={get:function(t){return e(t).hasClass("bfh-colorpicker")?e(t).find('input[type="text"]').val():d?d.get(t):void 0},set:function(t,n){if(e(t).hasClass("bfh-colorpicker"))e(t).find(".bfh-colorpicker-icon").css("background-color",n),e(t).find('input[type="text"]').val(n);else if(d)return d.set(t,n)}},e(document).ready(function(){e("div.bfh-colorpicker").each(function(){var t;t=e(this),t.bfhcolorpicker(t.data())})}),e(document).on("click.bfhcolorpicker.data-api",a)}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-countries.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhcountries.defaults,n),this.$element=e(t),this.$element.is("select")&&this.addCountries(),this.$element.hasClass("bfh-selectbox")&&this.addBootstrapCountries(),this.$element.is("span")&&this.displayCountry()};t.prototype={constructor:t,getCountries:function(){var t,n;if(this.options.available){if("string"==typeof this.options.available){n=[],this.options.available=this.options.available.split(",");for(t in BFHCountriesList)BFHCountriesList.hasOwnProperty(t)&&e.inArray(t,this.options.available)>=0&&(n[t]=BFHCountriesList[t])}else n=this.options.available;return n}return BFHCountriesList},addCountries:function(){var e,t,n;e=this.options.country,n=this.getCountries(),this.$element.html(""),this.options.blank===!0&&this.$element.append('<option value=""></option>');for(t in n)n.hasOwnProperty(t)&&this.$element.append('<option value="'+t+'">'+n[t]+"</option>");this.$element.val(e)},addBootstrapCountries:function(){var e,t,n,a,i,o;a=this.options.country,e=this.$element.find('input[type="hidden"]'),t=this.$element.find(".bfh-selectbox-option"),n=this.$element.find("[role=option]"),o=this.getCountries(),n.html(""),this.options.blank===!0&&n.append('<li><a tabindex="-1" href="#" data-option=""></a></li>');for(i in o)o.hasOwnProperty(i)&&(this.options.flags===!0?n.append('<li><a tabindex="-1" href="#" data-option="'+i+'"><i class="glyphicon bfh-flag-'+i+'"></i>'+o[i]+"</a></li>"):n.append('<li><a tabindex="-1" href="#" data-option="'+i+'">'+o[i]+"</a></li>"));this.$element.val(a)},displayCountry:function(){var e;e=this.options.country,this.options.flags===!0?this.$element.html('<i class="glyphicon bfh-flag-'+e+'"></i> '+BFHCountriesList[e]):this.$element.html(BFHCountriesList[e])}};var n=e.fn.bfhcountries;e.fn.bfhcountries=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhcountries"),o="object"==typeof n&&n,i||a.data("bfhcountries",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhcountries.Constructor=t,e.fn.bfhcountries.defaults={country:"",available:"",flags:!1,blank:!0},e.fn.bfhcountries.noConflict=function(){return e.fn.bfhcountries=n,this},e(document).ready(function(){e("form select.bfh-countries, span.bfh-countries, div.bfh-countries").each(function(){var t;t=e(this),t.hasClass("bfh-selectbox")&&t.bfhselectbox(t.data()),t.bfhcountries(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-currencies.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2013 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhcurrencies.defaults,n),this.$element=e(t),this.$element.is("select")&&this.addCurrencies(),this.$element.hasClass("bfh-selectbox")&&this.addBootstrapCurrencies(),this.$element.is("span")&&this.displayCurrency()};t.prototype={constructor:t,getCurrencies:function(){var t,n;if(this.options.available){n=[],this.options.available=this.options.available.split(",");for(t in BFHCurrenciesList)BFHCurrenciesList.hasOwnProperty(t)&&e.inArray(t,this.options.available)>=0&&(n[t]=BFHCurrenciesList[t]);return n}return BFHCurrenciesList},addCurrencies:function(){var e,t,n;e=this.options.currency,n=this.getCurrencies(),this.$element.html(""),this.options.blank===!0&&this.$element.append('<option value=""></option>');for(t in n)n.hasOwnProperty(t)&&this.$element.append('<option value="'+t+'">'+n[t].label+"</option>");this.$element.val(e)},addBootstrapCurrencies:function(){var e,t,n,a,i,o,s;a=this.options.currency,e=this.$element.find('input[type="hidden"]'),t=this.$element.find(".bfh-selectbox-option"),n=this.$element.find("[role=option]"),o=this.getCurrencies(),n.html(""),this.options.blank===!0&&n.append('<li><a tabindex="-1" href="#" data-option=""></a></li>');for(i in o)o.hasOwnProperty(i)&&(this.options.flags===!0?(s=o[i].currencyflag?o[i].currencyflag:i.substr(0,2),n.append('<li><a tabindex="-1" href="#" data-option="'+i+'"><i class="glyphicon bfh-flag-'+s+'"></i>'+o[i].label+"</a></li>")):n.append('<li><a tabindex="-1" href="#" data-option="'+i+'">'+o[i].label+"</a></li>"));this.$element.val(a)},displayCurrency:function(){var e,t;e=this.options.currency,this.options.flags===!0?(t=BFHCurrenciesList[e].currencyflag?BFHCurrenciesList[e].currencyflag:e.substr(0,2),this.$element.html('<i class="glyphicon bfh-flag-'+t+'"></i> '+BFHCurrenciesList[e].label)):this.$element.html(BFHCurrenciesList[e].label)}};var n=e.fn.bfhcurrencies;e.fn.bfhcurrencies=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhcurrencies"),o="object"==typeof n&&n,i||a.data("bfhcurrencies",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhcurrencies.Constructor=t,e.fn.bfhcurrencies.defaults={currency:"",available:"",flags:!1,blank:!0},e.fn.bfhcurrencies.noConflict=function(){return e.fn.bfhcurrencies=n,this},e(document).ready(function(){e("form select.bfh-currencies, span.bfh-currencies, div.bfh-currencies").each(function(){var t;t=e(this),t.hasClass("bfh-selectbox")&&t.bfhselectbox(t.data()),t.bfhcurrencies(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-datepicker.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";function t(e,t){return new Date(t,e,0).getDate()}function n(e,t,n){return new Date(t,e,n).getDay()}function a(e,t,n,a){return t+=1,t=String(t),a=String(a),1===t.length&&(t="0"+t),1===a.length&&(a="0"+a),e.replace("m",t).replace("y",n).replace("d",a)}function i(e,t,n){var a,i,o;a=[{part:"m",position:e.indexOf("m")},{part:"y",position:e.indexOf("y")},{part:"d",position:e.indexOf("d")}],a.sort(function(e,t){return e.position-t.position}),o=t.match(/(\d+)/g);for(i in a)if(a.hasOwnProperty(i)&&a[i].part===n)return Number(o[i]).toString()}function o(){var t;e(r).each(function(n){return t=s(e(this)),!t.hasClass("open")||(t.trigger(n=e.Event("hide.bfhdatepicker")),!!n.isDefaultPrevented()||void t.removeClass("open").trigger("hidden.bfhdatepicker"))})}function s(e){return e.closest(".bfh-datepicker")}var r="[data-toggle=bfh-datepicker]",d=function(t,n){this.options=e.extend({},e.fn.bfhdatepicker.defaults,n),this.$element=e(t),this.initCalendar()};d.prototype={constructor:d,setDate:function(){var e,t,n;e=this.options.date,n=this.options.format,""===e||"today"===e||void 0===e?(t=new Date,"today"===e&&this.$element.val(a(n,t.getMonth(),t.getFullYear(),t.getDate())),this.$element.data("month",t.getMonth()),this.$element.data("year",t.getFullYear())):(this.$element.val(e),this.$element.data("month",Number(i(n,e,"m")-1)),this.$element.data("year",Number(i(n,e,"y"))))},setDateLimit:function(e,t){var n,a;a=this.options.format,""!==e?(this.$element.data(t+"limit",!0),"today"===e?(n=new Date,this.$element.data(t+"day",n.getDate()),this.$element.data(t+"month",n.getMonth()),this.$element.data(t+"year",n.getFullYear())):(this.$element.data(t+"day",Number(i(a,e,"d"))),this.$element.data(t+"month",Number(i(a,e,"m")-1)),this.$element.data(t+"year",Number(i(a,e,"y"))))):this.$element.data(t+"limit",!1)},initCalendar:function(){var e,t,n;e="",t="",n="",""!==this.options.icon&&("right"===this.options.align?t='<span class="input-group-addon"><i class="'+this.options.icon+'"></i></span>':e='<span class="input-group-addon"><i class="'+this.options.icon+'"></i></span>',n="input-group"),this.$element.html('<div class="'+n+' bfh-datepicker-toggle" data-toggle="bfh-datepicker">'+e+'<input type="text" name="'+this.options.name+'" class="'+this.options.input+'" placeholder="'+this.options.placeholder+'" readonly>'+t+'</div><div class="bfh-datepicker-calendar"><table class="calendar table table-bordered"><thead><tr class="months-header"><th class="month" colspan="4"><a class="previous" href="#"><i class="glyphicon glyphicon-chevron-left"></i></a><span></span><a class="next" href="#"><i class="glyphicon glyphicon-chevron-right"></i></a></th><th class="year" colspan="3"><a class="previous" href="#"><i class="glyphicon glyphicon-chevron-left"></i></a><span></span><a class="next" href="#"><i class="glyphicon glyphicon-chevron-right"></i></a></th></tr><tr class="days-header"></tr></thead><tbody></tbody></table></div>'),this.$element.on("click.bfhdatepicker.data-api touchstart.bfhdatepicker.data-api",r,d.prototype.toggle).on("click.bfhdatepicker.data-api touchstart.bfhdatepicker.data-api",".bfh-datepicker-calendar > table.calendar .month > .previous",d.prototype.previousMonth).on("click.bfhdatepicker.data-api touchstart.bfhdatepicker.data-api",".bfh-datepicker-calendar > table.calendar .month > .next",d.prototype.nextMonth).on("click.bfhdatepicker.data-api touchstart.bfhdatepicker.data-api",".bfh-datepicker-calendar > table.calendar .year > .previous",d.prototype.previousYear).on("click.bfhdatepicker.data-api touchstart.bfhdatepicker.data-api",".bfh-datepicker-calendar > table.calendar .year > .next",d.prototype.nextYear).on("click.bfhdatepicker.data-api touchstart.bfhdatepicker.data-api",".bfh-datepicker-calendar > table.calendar td:not(.off)",d.prototype.select).on("click.bfhdatepicker.data-api touchstart.bfhdatepicker.data-api",".bfh-datepicker-calendar > table.calendar",function(){return!1}),this.setDate(),this.setDateLimit(this.options.min,"lower"),this.setDateLimit(this.options.max,"higher"),this.updateCalendar()},updateCalendarHeader:function(e,t,n){var a,i;for(e.find("table > thead > tr > th.month > span").text(BFHMonthsList[t]),e.find("table > thead > tr > th.year > span").text(n),a=e.find("table > thead > tr.days-header"),a.html(""),i=BFHDayOfWeekStart;i<BFHDaysList.length;i+=1)a.append("<th>"+BFHDaysList[i]+"</th>");for(i=0;i<BFHDayOfWeekStart;i+=1)a.append("<th>"+BFHDaysList[i]+"</th>")},checkMinDate:function(e,t,n){var a,i,o,s;return a=this.$element.data("lowerlimit"),a===!0&&(i=this.$element.data("lowerday"),o=this.$element.data("lowermonth"),s=this.$element.data("loweryear"),e<i&&t===o&&n===s||t<o&&n===s||n<s)},checkMaxDate:function(e,t,n){var a,i,o,s;return a=this.$element.data("higherlimit"),a===!0&&(i=this.$element.data("higherday"),o=this.$element.data("highermonth"),s=this.$element.data("higheryear"),e>i&&t===o&&n===s||t>o&&n===s||n>s)},checkToday:function(e,t,n){var a;return a=new Date,e===a.getDate()&&t===a.getMonth()&&n===a.getFullYear()},updateCalendarDays:function(e,a,i){var o,s,r,d,l,c,h;for(o=e.find("table > tbody").html(""),s=t(a,i),r=t(a+1,i),d=n(a,i,1),l=n(a,i,r),c="",h=0;h<(d-BFHDayOfWeekStart+7)%7;h+=1)c+='<td class="off">'+(s-(d-BFHDayOfWeekStart+7)%7+h+1)+"</td>";for(h=1;h<=r;h+=1)c+=this.checkMinDate(h,a,i)?'<td data-day="'+h+'" class="off">'+h+"</td>":this.checkMaxDate(h,a,i)?'<td data-day="'+h+'" class="off">'+h+"</td>":this.checkToday(h,a,i)?'<td data-day="'+h+'" class="today">'+h+"</td>":'<td data-day="'+h+'">'+h+"</td>",n(a,i,h)===(6+BFHDayOfWeekStart)%7&&(o.append("<tr>"+c+"</tr>"),c="");for(h=1;h<=(7-(l+1-BFHDayOfWeekStart+7)%7)%7+1;h+=1)c+='<td class="off">'+h+"</td>",h===(7-(l+1-BFHDayOfWeekStart+7)%7)%7&&o.append("<tr>"+c+"</tr>")},updateCalendar:function(){var e,t,n;e=this.$element.find(".bfh-datepicker-calendar"),t=this.$element.data("month"),n=this.$element.data("year"),this.updateCalendarHeader(e,t,n),this.updateCalendarDays(e,t,n)},previousMonth:function(){var t,n,a;return t=e(this),n=s(t),0===Number(n.data("month"))?(n.data("month",11),n.data("year",Number(n.data("year"))-1)):n.data("month",Number(n.data("month"))-1),a=n.data("bfhdatepicker"),a.updateCalendar(),!1},nextMonth:function(){var t,n,a;return t=e(this),n=s(t),11===Number(n.data("month"))?(n.data("month",0),n.data("year",Number(n.data("year"))+1)):n.data("month",Number(n.data("month"))+1),a=n.data("bfhdatepicker"),a.updateCalendar(),!1},previousYear:function(){var t,n,a;return t=e(this),n=s(t),n.data("year",Number(n.data("year"))-1),a=n.data("bfhdatepicker"),a.updateCalendar(),!1},nextYear:function(){var t,n,a;return t=e(this),n=s(t),n.data("year",Number(n.data("year"))+1),a=n.data("bfhdatepicker"),a.updateCalendar(),!1},select:function(t){var n,i,r,d,l,c;n=e(this),t.preventDefault(),t.stopPropagation(),i=s(n),r=i.data("bfhdatepicker"),d=i.data("month"),l=i.data("year"),c=n.data("day"),i.val(a(r.options.format,d,l,c)),i.trigger("change.bfhdatepicker"),r.options.close===!0&&o()},toggle:function(t){var n,a,i;if(n=e(this),a=s(n),a.is(".disabled")||void 0!==a.attr("disabled"))return!0;if(i=a.hasClass("open"),o(),!i){if(a.trigger(t=e.Event("show.bfhdatepicker")),t.isDefaultPrevented())return!0;a.toggleClass("open").trigger("shown.bfhdatepicker"),n.focus()}return!1}};var l=e.fn.bfhdatepicker;e.fn.bfhdatepicker=function(t){return this.each(function(){var n,a,i;n=e(this),a=n.data("bfhdatepicker"),i="object"==typeof t&&t,this.type="bfhdatepicker",a||n.data("bfhdatepicker",a=new d(this,i)),"string"==typeof t&&a[t].call(n)})},e.fn.bfhdatepicker.Constructor=d,e.fn.bfhdatepicker.defaults={icon:"glyphicon glyphicon-calendar",align:"left",input:"form-control",placeholder:"",name:"",date:"today",format:"m/d/y",min:"",max:"",close:!0},e.fn.bfhdatepicker.noConflict=function(){return e.fn.bfhdatepicker=l,this};var c;e.valHooks.div&&(c=e.valHooks.div),e.valHooks.div={get:function(t){return e(t).hasClass("bfh-datepicker")?e(t).find('input[type="text"]').val():c?c.get(t):void 0},set:function(t,n){if(e(t).hasClass("bfh-datepicker"))e(t).find('input[type="text"]').val(n);else if(c)return c.set(t,n)}},e(document).ready(function(){e("div.bfh-datepicker").each(function(){var t;t=e(this),t.bfhdatepicker(t.data())})}),e(document).on("click.bfhdatepicker.data-api",o)}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-fonts.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 * contributed by Aaron Collegeman, Squidoo, 2012
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhfonts.defaults,n),this.$element=e(t),this.$element.is("select")&&this.addFonts(),this.$element.hasClass("bfh-selectbox")&&this.addBootstrapFonts()};t.prototype={constructor:t,getFonts:function(){var t,n;if(this.options.available){n=[],this.options.available=this.options.available.split(",");for(t in BFHFontsList)BFHFontsList.hasOwnProperty(t)&&e.inArray(t,this.options.available)>=0&&(n[t]=BFHFontsList[t]);return n}return BFHFontsList},addFonts:function(){var e,t,n;e=this.options.font,n=this.getFonts(),this.$element.html(""),this.options.blank===!0&&this.$element.append('<option value=""></option>');for(t in n)n.hasOwnProperty(t)&&this.$element.append('<option value="'+t+'">'+t+"</option>");this.$element.val(e)},addBootstrapFonts:function(){var e,t,n,a,i,o;a=this.options.font,e=this.$element.find('input[type="hidden"]'),t=this.$element.find(".bfh-selectbox-option"),n=this.$element.find("[role=option]"),o=this.getFonts(),n.html(""),this.options.blank===!0&&n.append('<li><a tabindex="-1" href="#" data-option=""></a></li>');for(i in o)o.hasOwnProperty(i)&&n.append('<li><a tabindex="-1" href="#" style=\'font-family: '+o[i]+"' data-option=\""+i+'">'+i+"</a></li>");this.$element.val(a)}};var n=e.fn.bfhfonts;e.fn.bfhfonts=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhfonts"),o="object"==typeof n&&n,i||a.data("bfhfonts",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhfonts.Constructor=t,e.fn.bfhfonts.defaults={font:"",available:"",blank:!0},e.fn.bfhfonts.noConflict=function(){return e.fn.bfhfonts=n,this},e(document).ready(function(){e("form select.bfh-fonts, span.bfh-fonts, div.bfh-fonts").each(function(){var t;t=e(this),t.hasClass("bfh-selectbox")&&t.bfhselectbox(t.data()),t.bfhfonts(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-fontsizes.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 * contributed by Aaron Collegeman, Squidoo, 2012
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhfontsizes.defaults,n),this.$element=e(t),this.$element.is("select")&&this.addFontSizes(),this.$element.hasClass("bfh-selectbox")&&this.addBootstrapFontSizes()};t.prototype={constructor:t,getFontsizes:function(){var t,n;if(this.options.available){n=[],this.options.available=this.options.available.split(",");for(t in BFHFontSizesList)BFHFontSizesList.hasOwnProperty(t)&&e.inArray(t,this.options.available)>=0&&(n[t]=BFHFontSizesList[t]);return n}return BFHFontSizesList},addFontSizes:function(){var e,t,n;e=this.options.fontsize,n=this.getFontsizes(),this.$element.html(""),this.options.blank===!0&&this.$element.append('<option value=""></option>');for(t in n)n.hasOwnProperty(t)&&this.$element.append('<option value="'+t+'">'+n[t]+"</option>");this.$element.val(e)},addBootstrapFontSizes:function(){var e,t,n,a,i,o;a=this.options.fontsize,e=this.$element.find('input[type="hidden"]'),t=this.$element.find(".bfh-selectbox-option"),n=this.$element.find("[role=option]"),o=this.getFontsizes(),n.html(""),this.options.blank===!0&&n.append('<li><a tabindex="-1" href="#" data-option=""></a></li>');for(i in o)o.hasOwnProperty(i)&&n.append('<li><a tabindex="-1" href="#" data-option="'+i+'">'+o[i]+"</a></li>");this.$element.val(a)}};var n=e.fn.bfhfontsizes;e.fn.bfhfontsizes=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhfontsizes"),o="object"==typeof n&&n,i||a.data("bfhfontsizes",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhfontsizes.Constructor=t,e.fn.bfhfontsizes.defaults={fontsize:"",available:"",blank:!0},e.fn.bfhfontsizes.noConflict=function(){return e.fn.bfhfontsizes=n,this},e(document).ready(function(){e("form select.bfh-fontsizes, span.bfh-fontsizes, div.bfh-fontsizes").each(function(){var t;t=e(this),t.hasClass("bfh-selectbox")&&t.bfhselectbox(t.data()),t.bfhfontsizes(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-googlefonts.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 * contributed by Aaron Collegeman, Squidoo, 2012
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhgooglefonts.defaults,n),this.$element=e(t),this.$element.is("select")&&this.addFonts(),this.$element.hasClass("bfh-selectbox")&&this.addBootstrapFonts()};t.prototype={constructor:t,getFonts:function(){var t,n;if(n=[],this.options.subset)for(t in BFHGoogleFontsList.items)BFHGoogleFontsList.items.hasOwnProperty(t)&&e.inArray(this.options.subset,BFHGoogleFontsList.items[t].subsets)>=0&&(n[BFHGoogleFontsList.items[t].family]={info:BFHGoogleFontsList.items[t],index:parseInt(t,10)});else if(this.options.available){this.options.available=this.options.available.split(",");for(t in BFHGoogleFontsList.items)BFHGoogleFontsList.items.hasOwnProperty(t)&&e.inArray(BFHGoogleFontsList.items[t].family,this.options.available)>=0&&(n[BFHGoogleFontsList.items[t].family]={info:BFHGoogleFontsList.items[t],index:parseInt(t,10)})}else for(t in BFHGoogleFontsList.items)BFHGoogleFontsList.items.hasOwnProperty(t)&&(n[BFHGoogleFontsList.items[t].family]={info:BFHGoogleFontsList.items[t],index:parseInt(t,10)});return n},addFonts:function(){var e,t,n;e=this.options.font,n=this.getFonts(),this.$element.html(""),this.options.blank===!0&&this.$element.append('<option value=""></option>');for(t in n)n.hasOwnProperty(t)&&this.$element.append('<option value="'+n[t].info.family+'">'+n[t].info.family+"</option>");this.$element.val(e)},addBootstrapFonts:function(){var e,t,n,a,i,o;a=this.options.font,e=this.$element.find('input[type="hidden"]'),t=this.$element.find(".bfh-selectbox-option"),n=this.$element.find("[role=option]"),o=this.getFonts(),n.html(""),this.options.blank===!0&&n.append('<li><a tabindex="-1" href="#" data-option="" style="background-image: none;"></a></li>');for(i in o)o.hasOwnProperty(i)&&n.append('<li><a tabindex="-1" href="#" style="background-position: 0 -'+(30*o[i].index-2)+'px;" data-option="'+o[i].info.family+'">'+o[i].info.family+"</a></li>");this.$element.val(a)}};var n=e.fn.bfhgooglefonts;e.fn.bfhgooglefonts=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhgooglefonts"),o="object"==typeof n&&n,i||a.data("bfhgooglefonts",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhgooglefonts.Constructor=t,e.fn.bfhgooglefonts.defaults={font:"",available:"",subset:"",blank:!0},e.fn.bfhgooglefonts.noConflict=function(){return e.fn.bfhgooglefonts=n,this},e(document).ready(function(){e("form select.bfh-googlefonts, span.bfh-googlefonts, div.bfh-googlefonts").each(function(){var t;t=e(this),t.hasClass("bfh-selectbox")&&t.bfhselectbox(t.data()),t.bfhgooglefonts(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-languages.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 * Contribution 2013 Tomasz Kuter
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhlanguages.defaults,n),this.$element=e(t),this.$element.is("select")&&this.addLanguages(),this.$element.is("span")&&this.displayLanguage(),this.$element.hasClass("bfh-selectbox")&&this.addBootstrapLanguages()};t.prototype={constructor:t,getLanguages:function(){var e,t,n;if(this.options.available){n=[],this.options.available=this.options.available.split(",");for(t in this.options.available)this.options.available.hasOwnProperty(t)&&(this.options.available[t].indexOf("_")!==-1?(e=this.options.available[t].split("_"),n[e[0]]={name:BFHLanguagesList[e[0]],country:e[1]}):n[this.options.available[t]]=BFHLanguagesList[this.options.available[t]]);return n}return BFHLanguagesList},addLanguages:function(){var e,t,n;e=this.options.language,t=this.getLanguages(),this.$element.html(""),this.options.blank===!0&&this.$element.append('<option value=""></option>');for(n in t)t.hasOwnProperty(n)&&(t[n].hasOwnProperty("name")?this.$element.append('<option value="'+n+"_"+t[n].country+'">'+t[n].name.toProperCase()+" ("+BFHCountriesList[t[n].country]+")</option>"):this.$element.append('<option value="'+n+'">'+t[n].toProperCase()+"</option>"));this.$element.val(e)},addBootstrapLanguages:function(){var e,t,n,a,i,o;a=this.options.language,e=this.$element.find('input[type="hidden"]'),t=this.$element.find(".bfh-selectbox-option"),n=this.$element.find("[role=option]"),i=this.getLanguages(),n.html(""),this.options.blank===!0&&n.append('<li><a tabindex="-1" href="#" data-option=""></a></li>');for(o in i)i.hasOwnProperty(o)&&(i[o].hasOwnProperty("name")?this.options.flags===!0?n.append('<li><a tabindex="-1" href="#" data-option="'+o+"_"+i[o].country+'"><i class="glyphicon bfh-flag-'+i[o].country+'"></i>'+i[o].name.toProperCase()+"</a></li>"):n.append('<li><a tabindex="-1" href="#" data-option="'+o+"_"+i[o].country+'">'+i[o].name.toProperCase()+" ("+BFHCountriesList[i[o].country]+")</a></li>"):n.append('<li><a tabindex="-1" href="#" data-option="'+o+'">'+i[o]+"</a></li>"));this.$element.val(a)},displayLanguage:function(){var e;e=this.options.language,e.indexOf("_")!==-1?(e=e.split("_"),this.options.flags===!0?this.$element.html('<i class="glyphicon bfh-flag-'+e[1]+'"></i> '+BFHLanguagesList[e[0]].toProperCase()):this.$element.html(BFHLanguagesList[e[0]].toProperCase()+" ("+BFHCountriesList[e[1]]+")")):this.$element.html(BFHLanguagesList[e].toProperCase())}};var n=e.fn.bfhlanguages;e.fn.bfhlanguages=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhlanguages"),o="object"==typeof n&&n,i||a.data("bfhlanguages",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhlanguages.Constructor=t,e.fn.bfhlanguages.defaults={language:"",available:"",flags:!1,blank:!0},e.fn.bfhlanguages.noConflict=function(){return e.fn.bfhlanguages=n,this},e(document).ready(function(){e("form select.bfh-languages, span.bfh-languages, div.bfh-languages").each(function(){var t;t=e(this),t.hasClass("bfh-selectbox")&&t.bfhselectbox(t.data()),t.bfhlanguages(t.data())})}),String.prototype.toProperCase=function(){return this.replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-number.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhnumber.defaults,n),this.$element=e(t),this.initInput()};t.prototype={constructor:t,initInput:function(){this.options.buttons===!0&&(this.$element.wrap('<div class="input-group"></div>'),this.$element.parent().append('<span class="input-group-addon bfh-number-btn inc"><span class="glyphicon glyphicon-chevron-up"></span></span>'),this.$element.parent().append('<span class="input-group-addon bfh-number-btn dec"><span class="glyphicon glyphicon-chevron-down"></span></span>')),this.$element.on("change.bfhnumber.data-api",t.prototype.change),this.options.keyboard===!0&&this.$element.on("keydown.bfhnumber.data-api",t.prototype.keydown),this.options.buttons===!0&&this.$element.parent().on("mousedown.bfhnumber.data-api",".inc",t.prototype.btninc).on("mousedown.bfhnumber.data-api",".dec",t.prototype.btndec),this.formatNumber()},keydown:function(t){var n;if(n=e(this).data("bfhnumber"),n.$element.is(".disabled")||void 0!==n.$element.attr("disabled"))return!0;switch(t.which){case 38:n.increment();break;case 40:n.decrement()}return!0},mouseup:function(e){var t,n,a;t=e.data.btn,n=t.$element.data("timer"),a=t.$element.data("interval"),clearTimeout(n),clearInterval(a)},btninc:function(){var n,a;return n=e(this).parent().find(".bfh-number").data("bfhnumber"),!(!n.$element.is(".disabled")&&void 0===n.$element.attr("disabled"))||(n.increment(),a=setTimeout(function(){var e;e=setInterval(function(){n.increment()},80),n.$element.data("interval",e)},750),n.$element.data("timer",a),e(document).one("mouseup",{btn:n},t.prototype.mouseup),!0)},btndec:function(){var n,a;return n=e(this).parent().find(".bfh-number").data("bfhnumber"),!(!n.$element.is(".disabled")&&void 0===n.$element.attr("disabled"))||(n.decrement(),a=setTimeout(function(){var e;e=setInterval(function(){n.decrement()},80),n.$element.data("interval",e)},750),n.$element.data("timer",a),e(document).one("mouseup",{btn:n},t.prototype.mouseup),!0)},change:function(){var t;return t=e(this).data("bfhnumber"),!(!t.$element.is(".disabled")&&void 0===t.$element.attr("disabled"))||(t.formatNumber(),!0)},increment:function(){var e;e=this.getValue(),e+=1,this.$element.val(e).change()},decrement:function(){var e;e=this.getValue(),e-=1,this.$element.val(e).change()},getValue:function(){var e;return e=this.$element.val(),"-1"!==e&&(e=String(e).replace(/\D/g,"")),0===String(e).length&&(e=this.options.min),parseInt(e)},formatNumber:function(){var e,t,n,a;if(e=this.getValue(),e>this.options.max&&(e=this.options.wrap===!0?this.options.min:this.options.max),e<this.options.min&&(e=this.options.wrap===!0?this.options.max:this.options.min),this.options.zeros===!0)for(t=String(this.options.max).length,n=String(e).length,a=n;a<t;a+=1)e="0"+e;e!==this.$element.val()&&this.$element.val(e)}};var n=e.fn.bfhnumber;e.fn.bfhnumber=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhnumber"),o="object"==typeof n&&n,i||a.data("bfhnumber",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhnumber.Constructor=t,e.fn.bfhnumber.defaults={min:0,max:9999,zeros:!1,keyboard:!0,buttons:!0,wrap:!1},e.fn.bfhnumber.noConflict=function(){return e.fn.bfhnumber=n,this},e(document).ready(function(){e('form input[type="text"].bfh-number, form input[type="number"].bfh-number').each(function(){var t;t=e(this),t.bfhnumber(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-phone.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";function t(e,t){var n,a,i,o;for(n="",t=String(t).replace(/\D/g,""),a=0,i=0;a<e.length;a+=1)/\d/g.test(e.charAt(a))?e.charAt(a)===t.charAt(i)?(n+=t.charAt(i),i+=1):n+=e.charAt(a):"d"!==e.charAt(a)?""===t.charAt(i)&&"+"!==e.charAt(a)||(n+=e.charAt(a)):""===t.charAt(i)?n+="":(n+=t.charAt(i),i+=1);return o=e.charAt(n.length),"d"!==o&&(n+=o),n}function n(e){var t,n=0;return document.selection?(e.focus(),t=document.selection.createRange(),t.moveStart("character",-e.value.length),n=t.text.length):(e.selectionStart||0===e.selectionStart)&&(n=e.selectionStart),n}function a(e,t){var n;document.selection?(e.focus(),n=document.selection.createRange(),n.moveStart("character",-e.value.length),n.moveStart("character",t),n.moveEnd("character",0),n.select()):(e.selectionStart||0===e.selectionStart)&&(e.selectionStart=t,e.selectionEnd=t,e.focus())}var i=function(t,n){this.options=e.extend({},e.fn.bfhphone.defaults,n),this.$element=e(t),(this.$element.is('input[type="text"]')||this.$element.is('input[type="tel"]'))&&this.addFormatter(),this.$element.is("span")&&this.displayFormatter()};i.prototype={constructor:i,addFormatter:function(){var t;""!==this.options.country&&(t=e(document).find("#"+this.options.country),0!==t.length?(this.options.format=BFHPhoneFormatList[t.val()],t.on("change",{phone:this},this.changeCountry)):this.options.format=BFHPhoneFormatList[this.options.country]),this.$element.on("keyup.bfhphone.data-api",i.prototype.change),this.loadFormatter()},loadFormatter:function(){var e;e=t(this.options.format,this.$element.val()),this.$element.val(e)},displayFormatter:function(){var e;""!==this.options.country&&(this.options.format=BFHPhoneFormatList[this.options.country]),e=t(this.options.format,this.options.number),this.$element.html(e)},changeCountry:function(t){var n,a;n=e(this),a=t.data.phone,a.$element.val(String(a.$element.val()).replace(/\+\d*/g,"")),a.options.format=BFHPhoneFormatList[n.val()],a.loadFormatter()},change:function(i){var o,s,r,d;return o=e(this).data("bfhphone"),!(!o.$element.is(".disabled")&&void 0===o.$element.attr("disabled"))||(s=n(o.$element[0]),r=!1,s===o.$element.val().length&&(r=!0),8===i.which&&"d"!==o.options.format.charAt(o.$element.val().length)&&o.$element.val(String(o.$element.val()).substring(0,o.$element.val().length-1)),d=t(o.options.format,o.$element.val()),d===o.$element.val()||(o.$element.val(d),r&&(s=o.$element.val().length),a(o.$element[0],s),!0))}};var o=e.fn.bfhphone;e.fn.bfhphone=function(t){return this.each(function(){var n,a,o;n=e(this),a=n.data("bfhphone"),o="object"==typeof t&&t,a||n.data("bfhphone",a=new i(this,o)),"string"==typeof t&&a[t].call(n)})},e.fn.bfhphone.Constructor=i,e.fn.bfhphone.defaults={format:"",number:"",country:""},e.fn.bfhphone.noConflict=function(){return e.fn.bfhphone=o,this},e(document).ready(function(){e('form input[type="text"].bfh-phone, form input[type="tel"].bfh-phone, span.bfh-phone').each(function(){var t;t=e(this),t.bfhphone(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-selectbox.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";function t(){var t;e(a).each(function(a){return t=n(e(this)),!t.hasClass("open")||(t.trigger(a=e.Event("hide.bfhselectbox")),!!a.isDefaultPrevented()||void t.removeClass("open").trigger("hidden.bfhselectbox"))})}function n(e){return e.closest(".bfh-selectbox")}var a="[data-toggle=bfh-selectbox]",i=function(t,n){this.options=e.extend({},e.fn.bfhselectbox.defaults,n),this.$element=e(t),this.initSelectBox()};i.prototype={constructor:i,initSelectBox:function(){var t;t="",this.$element.find("div").each(function(){t=t+'<li><a tabindex="-1" href="#" data-option="'+e(this).data("value")+'">'+e(this).html()+"</a></li>"}),this.$element.html('<input type="hidden" name="'+this.options.name+'" value=""><a class="bfh-selectbox-toggle '+this.options.input+'" role="button" data-toggle="bfh-selectbox" href="#"><span class="bfh-selectbox-option"></span><span class="'+this.options.icon+' selectbox-caret"></span></a><div class="bfh-selectbox-options"><div role="listbox"><ul role="option"></ul></div></div>'),this.$element.find("[role=option]").html(t),this.options.filter===!0&&this.$element.find(".bfh-selectbox-options").prepend('<div class="bfh-selectbox-filter-container"><input type="text" class="bfh-selectbox-filter form-control"></div>'),this.$element.val(this.options.value),this.$element.on("click.bfhselectbox.data-api touchstart.bfhselectbox.data-api",a,i.prototype.toggle).on("keydown.bfhselectbox.data-api",a+", [role=option]",i.prototype.keydown).on("mouseenter.bfhselectbox.data-api","[role=option] > li > a",i.prototype.mouseenter).on("click.bfhselectbox.data-api","[role=option] > li > a",i.prototype.select).on("click.bfhselectbox.data-api",".bfh-selectbox-filter",function(){return!1}).on("propertychange.bfhselectbox.data-api change.bfhselectbox.data-api input.bfhselectbox.data-api paste.bfhselectbox.data-api",".bfh-selectbox-filter",i.prototype.filter)},toggle:function(a){var i,o,s;if(i=e(this),o=n(i),o.is(".disabled")||void 0!==o.attr("disabled"))return!0;if(s=o.hasClass("open"),t(),!s){if(o.trigger(a=e.Event("show.bfhselectbox")),a.isDefaultPrevented())return!0;o.toggleClass("open").trigger("shown.bfhselectbox").find('[role=option] > li > [data-option="'+o.val()+'"]').focus()}return!1},filter:function(){var t,a,i;t=e(this),a=n(t),i=e("[role=option] li a",a),i.hide().filter(function(){return e(this).text().toUpperCase().indexOf(t.val().toUpperCase())!==-1}).show()},keydown:function(t){var o,s,r,d,l;return!/(38|40|27)/.test(t.keyCode)||(o=e(this),t.preventDefault(),t.stopPropagation(),r=n(o),d=r.hasClass("open"),!d||d&&27===t.keyCode?(27===t.which&&r.find(a).focus(),o.click()):(s=e("[role=option] li:not(.divider) a:visible",r),!s.length||(e("body").off("mouseenter.bfh-selectbox.data-api","[role=option] > li > a",i.prototype.mouseenter),l=s.index(s.filter(":focus")),38===t.keyCode&&l>0&&(l-=1),40===t.keyCode&&l<s.length-1&&(l+=1),l||(l=0),s.eq(l).focus(),void e("body").on("mouseenter.bfh-selectbox.data-api","[role=option] > li > a",i.prototype.mouseenter))))},mouseenter:function(){var t;t=e(this),t.focus()},select:function(a){var i,o;return i=e(this),a.preventDefault(),a.stopPropagation(),!(!i.is(".disabled")&&void 0===i.attr("disabled"))||(o=n(i),o.val(i.data("option")),o.trigger("change.bfhselectbox"),void t())}};var o=e.fn.bfhselectbox;e.fn.bfhselectbox=function(t){return this.each(function(){var n,a,o;n=e(this),a=n.data("bfhselectbox"),o="object"==typeof t&&t,this.type="bfhselectbox",a||n.data("bfhselectbox",a=new i(this,o)),"string"==typeof t&&a[t].call(n)})},e.fn.bfhselectbox.Constructor=i,e.fn.bfhselectbox.defaults={icon:"caret",input:"form-control",name:"",value:"",filter:!1},e.fn.bfhselectbox.noConflict=function(){return e.fn.bfhselectbox=o,this};var s;e.valHooks.div&&(s=e.valHooks.div),e.valHooks.div={get:function(t){return e(t).hasClass("bfh-selectbox")?e(t).find('input[type="hidden"]').val():s?s.get(t):void 0},set:function(t,n){var a,i;if(e(t).hasClass("bfh-selectbox"))a=e(t),a.find("li a[data-option='"+n+"']").length>0?i=a.find("li a[data-option='"+n+"']").html():a.find("li a").length>0?i=a.find("li a").eq(0).html():(n="",i=""),a.find('input[type="hidden"]').val(n),a.find(".bfh-selectbox-option").html(i);else if(s)return s.set(t,n)}},e(document).ready(function(){e("div.bfh-selectbox").each(function(){var t;t=e(this),t.bfhselectbox(t.data())})}),e(document).on("click.bfhselectbox.data-api",t)}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-slider.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhslider.defaults,n),this.$element=e(t),this.initSlider()};t.prototype={constructor:t,initSlider:function(){""===this.options.value&&(this.options.value=this.options.min),this.$element.html('<input type="hidden" name="'+this.options.name+'" value=""><div class="bfh-slider-handle"><div class="bfh-slider-value"></div></div>'),this.$element.find('input[type="hidden"]').val(this.options.value),this.updateHandle(this.options.value),this.$element.on("mousedown.bfhslider.data-api",t.prototype.mouseDown)},updateHandle:function(e){var t,n,a,i;i=this.options.max-this.options.min,n=this.$element.width(),a=this.$element.position().left,t=Math.round((e-this.options.min)*(n-20)/i+a),this.$element.find(".bfh-slider-handle").css("left",t+"px"),this.$element.find(".bfh-slider-value").text(e)},updateVal:function(e){var t,n,a,i,o;return o=this.options.max-this.options.min,t=this.$element.width(),n=this.$element.offset().left,a=n+t,e<n&&(e=n),e+20>a&&(e=a),i=(e-n)/t,i=Math.ceil(i*o+this.options.min),i===this.$element.val()||(this.$element.val(i),void this.$element.trigger("change.bfhslider"))},mouseDown:function(){var n;return n=e(this),!(!n.is(".disabled")&&void 0===n.attr("disabled"))||void e(document).on("mousemove.bfhslider.data-api",{slider:n},t.prototype.mouseMove).one("mouseup.bfhslider.data-api",{slider:n},t.prototype.mouseUp)},mouseMove:function(e){var t;t=e.data.slider,t.data("bfhslider").updateVal(e.pageX)},mouseUp:function(t){var n;n=t.data.slider,n.data("bfhslider").updateVal(t.pageX),e(document).off("mousemove.bfhslider.data-api")}};var n=e.fn.bfhslider;e.fn.bfhslider=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhslider"),o="object"==typeof n&&n,this.type="bfhslider",i||a.data("bfhslider",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhslider.Constructor=t,e.fn.bfhslider.defaults={name:"",value:"",min:0,max:100},e.fn.bfhslider.noConflict=function(){return e.fn.bfhslider=n,this};var a;e.valHooks.div&&(a=e.valHooks.div),e.valHooks.div={get:function(t){return e(t).hasClass("bfh-slider")?e(t).find('input[type="hidden"]').val():a?a.get(t):void 0},set:function(t,n){if(e(t).hasClass("bfh-slider"))e(t).find('input[type="hidden"]').val(n),e(t).data("bfhslider").updateHandle(n);else if(a)return a.set(t,n)}},e(document).ready(function(){e("div.bfh-slider").each(function(){var t;t=e(this),t.bfhslider(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-states.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhstates.defaults,n),this.$element=e(t),this.$element.is("select")&&this.addStates(),this.$element.hasClass("bfh-selectbox")&&this.addBootstrapStates(),this.$element.is("span")&&this.displayState()};t.prototype={constructor:t,addStates:function(){var t,n;t=this.options.country,""!==t&&(n=e(document).find("#"+t),0!==n.length&&(t=n.val(),n.on("change",{state:this},this.changeCountry))),this.loadStates(t)},loadStates:function(e){var t,n;t=this.options.state,this.$element.html(""),this.options.blank===!0&&this.$element.append('<option value=""></option>');for(n in BFHStatesList[e])BFHStatesList[e].hasOwnProperty(n)&&this.$element.append('<option value="'+BFHStatesList[e][n].code+'">'+BFHStatesList[e][n].name+"</option>");this.$element.val(t)},changeCountry:function(t){var n,a,i;n=e(this),a=t.data.state,i=n.val(),a.loadStates(i)},addBootstrapStates:function(){var t,n;t=this.options.country,""!==t&&(n=e(document).find("#"+t),0!==n.length&&(t=n.find('input[type="hidden"]').val(),n.on("change.bfhselectbox",{state:this},this.changeBootstrapCountry))),this.loadBootstrapStates(t)},loadBootstrapStates:function(e){var t,n,a,i,o,s;i=this.options.state,o="",t=this.$element.find('input[type="hidden"]'),n=this.$element.find(".bfh-selectbox-option"),a=this.$element.find("[role=option]"),a.html(""),this.options.blank===!0&&a.append('<li><a tabindex="-1" href="#" data-option=""></a></li>');for(s in BFHStatesList[e])BFHStatesList[e].hasOwnProperty(s)&&(a.append('<li><a tabindex="-1" href="#" data-option="'+BFHStatesList[e][s].code+'">'+BFHStatesList[e][s].name+"</a></li>"),BFHStatesList[e][s].code===i&&(o=BFHStatesList[e][s].name));this.$element.val(i)},changeBootstrapCountry:function(t){var n,a,i;n=e(this),a=t.data.state,i=n.val(),a.loadBootstrapStates(i)},displayState:function(){var e,t,n,a;e=this.options.country,t=this.options.state,n="";for(a in BFHStatesList[e])if(BFHStatesList[e].hasOwnProperty(a)&&BFHStatesList[e][a].code===t){n=BFHStatesList[e][a].name;break}this.$element.html(n)}};var n=e.fn.bfhstates;e.fn.bfhstates=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhstates"),o="object"==typeof n&&n,i||a.data("bfhstates",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhstates.Constructor=t,e.fn.bfhstates.defaults={country:"",state:"",blank:!0},e.fn.bfhstates.noConflict=function(){return e.fn.bfhstates=n,this},e(document).ready(function(){e("form select.bfh-states, span.bfh-states, div.bfh-states").each(function(){var t;t=e(this),t.hasClass("bfh-selectbox")&&t.bfhselectbox(t.data()),t.bfhstates(t.data())})})}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-timepicker.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";function t(e,t){return e=String(e),1===e.length&&(e="0"+e),t=String(t),1===t.length&&(t="0"+t),e+BFHTimePickerDelimiter+t}function n(){var t;e(i).each(function(n){return t=a(e(this)),!t.hasClass("open")||(t.trigger(n=e.Event("hide.bfhtimepicker")),!!n.isDefaultPrevented()||void t.removeClass("open").trigger("hidden.bfhtimepicker"))})}function a(e){return e.closest(".bfh-timepicker")}var i="[data-toggle=bfh-timepicker]",o=function(t,n){this.options=e.extend({},e.fn.bfhtimepicker.defaults,n),this.$element=e(t),this.initPopover()};o.prototype={constructor:o,setTime:function(){var e,n,a,i,o,s,r;e=this.options.time,s="",r="",""===e||"now"===e||void 0===e?(n=new Date,i=n.getHours(),o=n.getMinutes(),"12h"===this.options.mode&&(i>12?(i-=12,s=" "+BFHTimePickerModes.pm,r="pm"):(s=" "+BFHTimePickerModes.am,r="am")),"now"===e&&this.$element.find('.bfh-timepicker-toggle > input[type="text"]').val(t(i,o)+s),this.$element.data("hour",i),this.$element.data("minute",o),this.$element.data("mode",r)):(a=String(e).split(BFHTimePickerDelimiter),i=a[0],o=a[1],"12h"===this.options.mode&&(a=String(o).split(" "),o=a[0],r=a[1]===BFHTimePickerModes.pm?"pm":"am"),this.$element.find('.bfh-timepicker-toggle > input[type="text"]').val(e),this.$element.data("hour",i),this.$element.data("minute",o),this.$element.data("mode",r))},initPopover:function(){var t,n,a,s,r;t="",n="",a="",""!==this.options.icon&&("right"===this.options.align?n='<span class="input-group-addon"><i class="'+this.options.icon+'"></i></span>':t='<span class="input-group-addon"><i class="'+this.options.icon+'"></i></span>',a="input-group"),s="",r="23","12h"===this.options.mode&&(s='<td><div class="bfh-selectbox" data-input="'+this.options.input+'" data-value="am"><div data-value="am">'+BFHTimePickerModes.am+'</div><div data-value="pm">'+BFHTimePickerModes.pm+"</div></div>",r="11"),this.$element.html('<div class="'+a+' bfh-timepicker-toggle" data-toggle="bfh-timepicker">'+t+'<input type="text" name="'+this.options.name+'" class="'+this.options.input+'" placeholder="'+this.options.placeholder+'" readonly>'+n+'</div><div class="bfh-timepicker-popover"><table class="table"><tbody><tr><td class="hour"><input type="text" class="'+this.options.input+' bfh-number"  data-min="0" data-max="'+r+'" data-zeros="true" data-wrap="true"></td><td class="separator">'+BFHTimePickerDelimiter+'</td><td class="minute"><input type="text" class="'+this.options.input+' bfh-number"  data-min="0" data-max="59" data-zeros="true" data-wrap="true"></td>'+s+"</tr></tbody></table></div>"),this.$element.on("click.bfhtimepicker.data-api touchstart.bfhtimepicker.data-api",i,o.prototype.toggle).on("click.bfhtimepicker.data-api touchstart.bfhtimepicker.data-api",".bfh-timepicker-popover > table",function(){return!1}),this.$element.find(".bfh-number").each(function(){var t;t=e(this),t.bfhnumber(t.data()),t.on("change",o.prototype.change)}),this.$element.find(".bfh-selectbox").each(function(){var t;t=e(this),t.bfhselectbox(t.data()),t.on("change.bfhselectbox",o.prototype.change)}),this.setTime(),this.updatePopover()},updatePopover:function(){var e,t,n;e=this.$element.data("hour"),t=this.$element.data("minute"),n=this.$element.data("mode"),this.$element.find(".hour input[type=text]").val(e).change(),this.$element.find(".minute input[type=text]").val(t).change(),this.$element.find(".bfh-selectbox").val(n)},change:function(){var t,n,i,o;return t=e(this),n=a(t),i=n.data("bfhtimepicker"),i&&"undefined"!==i&&(o="","12h"===i.options.mode&&(o=" "+BFHTimePickerModes[n.find(".bfh-selectbox").val()]),n.find('.bfh-timepicker-toggle > input[type="text"]').val(n.find(".hour input[type=text]").val()+BFHTimePickerDelimiter+n.find(".minute input[type=text]").val()+o),n.trigger("change.bfhtimepicker")),!1},toggle:function(t){var i,o,s;if(i=e(this),o=a(i),o.is(".disabled")||void 0!==o.attr("disabled"))return!0;if(s=o.hasClass("open"),n(),!s){if(o.trigger(t=e.Event("show.bfhtimepicker")),t.isDefaultPrevented())return!0;o.toggleClass("open").trigger("shown.bfhtimepicker"),i.focus()}return!1}};var s=e.fn.bfhtimepicker;e.fn.bfhtimepicker=function(t){return this.each(function(){var n,a,i;n=e(this),a=n.data("bfhtimepicker"),i="object"==typeof t&&t,this.type="bfhtimepicker",a||n.data("bfhtimepicker",a=new o(this,i)),"string"==typeof t&&a[t].call(n)})},e.fn.bfhtimepicker.Constructor=o,e.fn.bfhtimepicker.defaults={icon:"glyphicon glyphicon-time",align:"left",input:"form-control",placeholder:"",name:"",time:"now",mode:"24h"},e.fn.bfhtimepicker.noConflict=function(){return e.fn.bfhtimepicker=s,this};var r;e.valHooks.div&&(r=e.valHooks.div),e.valHooks.div={get:function(t){return e(t).hasClass("bfh-timepicker")?e(t).find('.bfh-timepicker-toggle > input[type="text"]').val():r?r.get(t):void 0},set:function(t,n){var a;if(e(t).hasClass("bfh-timepicker"))a=e(t).data("bfhtimepicker"),a.options.time=n,a.setTime(),a.updatePopover();else if(r)return r.set(t,n)}},e(document).ready(function(){e("div.bfh-timepicker").each(function(){var t;t=e(this),t.bfhtimepicker(t.data())})}),e(document).on("click.bfhtimepicker.data-api",n)}(window.jQuery),/* ==========================================================
 * bootstrap-formhelpers-timezones.js
 * https://github.com/vlamanna/BootstrapFormHelpers
 * ==========================================================
 * Copyright 2012 Vincent Lamanna
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
+function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.bfhtimezones.defaults,n),this.$element=e(t),this.$element.is("select")&&this.addTimezones(),this.$element.hasClass("bfh-selectbox")&&this.addBootstrapTimezones()};t.prototype={constructor:t,addTimezones:function(){var t,n;t=this.options.country,""!==t&&(n=e(document).find("#"+t),0!==n.length&&(t=n.val(),n.on("change",{timezone:this},this.changeCountry))),this.loadTimezones(t)},loadTimezones:function(e){var t,n;t=this.options.timezone,this.$element.html(""),this.options.blank===!0&&this.$element.append('<option value=""></option>');for(n in BFHTimezonesList[e])BFHTimezonesList[e].hasOwnProperty(n)&&this.$element.append('<option value="'+n+'">'+BFHTimezonesList[e][n]+"</option>");this.$element.val(t)},changeCountry:function(t){var n,a,i;n=e(this),a=t.data.timezone,i=n.val(),a.loadTimezones(i)},addBootstrapTimezones:function(){var t,n;t=this.options.country,""!==t&&(n=e(document).find("#"+t),0!==n.length&&(t=n.find('input[type="hidden"]').val(),n.on("change.bfhselectbox",{timezone:this},this.changeBootstrapCountry))),this.loadBootstrapTimezones(t)},loadBootstrapTimezones:function(e){var t,n,a,i,o;i=this.options.timezone,t=this.$element.find('input[type="hidden"]'),n=this.$element.find(".bfh-selectbox-option"),a=this.$element.find("[role=option]"),a.html(""),this.options.blank===!0&&a.append('<li><a tabindex="-1" href="#" data-option=""></a></li>');for(o in BFHTimezonesList[e])BFHTimezonesList[e].hasOwnProperty(o)&&a.append('<li><a tabindex="-1" href="#" data-option="'+o+'">'+BFHTimezonesList[e][o]+"</a></li>");this.$element.val(i)},changeBootstrapCountry:function(t){var n,a,i;n=e(this),a=t.data.timezone,i=n.val(),a.loadBootstrapTimezones(i)}};var n=e.fn.bfhtimezones;e.fn.bfhtimezones=function(n){return this.each(function(){var a,i,o;a=e(this),i=a.data("bfhtimezones"),o="object"==typeof n&&n,i||a.data("bfhtimezones",i=new t(this,o)),"string"==typeof n&&i[n].call(a)})},e.fn.bfhtimezones.Constructor=t,e.fn.bfhtimezones.defaults={country:"",timezone:"",blank:!0},e.fn.bfhtimezones.noConflict=function(){return e.fn.bfhtimezones=n,this},e(document).ready(function(){e("form select.bfh-timezones, div.bfh-timezones").each(function(){var t;t=e(this),t.hasClass("bfh-selectbox")&&t.bfhselectbox(t.data()),t.bfhtimezones(t.data())})})}(window.jQuery),/*!
 * Bootstrap-select v1.7.7 (http://silviomoreto.github.io/bootstrap-select)
 *
 * Copyright 2013-2015 bootstrap-select
 * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
 */
function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(e){!function(e){"use strict";function t(t){var n=[{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}];return e.each(n,function(){t=t.replace(this.re,this.ch)}),t}function n(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},n="(?:"+Object.keys(t).join("|")+")",a=new RegExp(n),i=new RegExp(n,"g"),o=null==e?"":""+e;return a.test(o)?o.replace(i,function(e){return t[e]}):o}function a(t,n){var a=arguments,o=t,s=n;[].shift.apply(a);var r,d=this.each(function(){var t=e(this);if(t.is("select")){var n=t.data("selectpicker"),d="object"==typeof o&&o;if(n){if(d)for(var l in d)d.hasOwnProperty(l)&&(n.options[l]=d[l])}else{var c=e.extend({},i.DEFAULTS,e.fn.selectpicker.defaults||{},t.data(),d);c.template=e.extend({},i.DEFAULTS.template,e.fn.selectpicker.defaults?e.fn.selectpicker.defaults.template:{},t.data().template,d.template),t.data("selectpicker",n=new i(this,c,s))}"string"==typeof o&&(r=n[o]instanceof Function?n[o].apply(n,a):n.options[o])}});return"undefined"!=typeof r?r:d}String.prototype.includes||!function(){var e={}.toString,t=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(a){}return n}(),n="".indexOf,a=function(t){if(null==this)throw new TypeError;var a=String(this);if(t&&"[object RegExp]"==e.call(t))throw new TypeError;var i=a.length,o=String(t),s=o.length,r=arguments.length>1?arguments[1]:void 0,d=r?Number(r):0;d!=d&&(d=0);var l=Math.min(Math.max(d,0),i);return!(s+l>i)&&n.call(a,o,d)!=-1};t?t(String.prototype,"includes",{value:a,configurable:!0,writable:!0}):String.prototype.includes=a}(),String.prototype.startsWith||!function(){var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(a){}return n}(),t={}.toString,n=function(e){if(null==this)throw new TypeError;var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw new TypeError;var a=n.length,i=String(e),o=i.length,s=arguments.length>1?arguments[1]:void 0,r=s?Number(s):0;r!=r&&(r=0);var d=Math.min(Math.max(r,0),a);if(o+d>a)return!1;for(var l=-1;++l<o;)if(n.charCodeAt(d+l)!=i.charCodeAt(l))return!1;return!0};e?e(String.prototype,"startsWith",{value:n,configurable:!0,writable:!0}):String.prototype.startsWith=n}(),Object.keys||(Object.keys=function(e,t,n){n=[];for(t in e)n.hasOwnProperty.call(e,t)&&n.push(t);return n}),e.fn.triggerNative=function(e){var t,n=this[0];n.dispatchEvent?("function"==typeof Event?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event"),t.initEvent(e,!0,!1)),n.dispatchEvent(t)):(n.fireEvent&&(t=document.createEventObject(),t.eventType=e,n.fireEvent("on"+e,t)),this.trigger(e))},e.expr[":"].icontains=function(t,n,a){var i=e(t),o=(i.data("tokens")||i.text()).toUpperCase();return o.includes(a[3].toUpperCase())},e.expr[":"].ibegins=function(t,n,a){var i=e(t),o=(i.data("tokens")||i.text()).toUpperCase();return o.startsWith(a[3].toUpperCase())},e.expr[":"].aicontains=function(t,n,a){var i=e(t),o=(i.data("tokens")||i.data("normalizedText")||i.text()).toUpperCase();return o.includes(a[3].toUpperCase())},e.expr[":"].aibegins=function(t,n,a){var i=e(t),o=(i.data("tokens")||i.data("normalizedText")||i.text()).toUpperCase();return o.startsWith(a[3].toUpperCase())};var i=function(t,n,a){a&&(a.stopPropagation(),a.preventDefault()),this.$element=e(t),this.$newElement=null,this.$button=null,this.$menu=null,this.$lis=null,this.options=n,null===this.options.title&&(this.options.title=this.$element.attr("title")),this.val=i.prototype.val,this.render=i.prototype.render,this.refresh=i.prototype.refresh,this.setStyle=i.prototype.setStyle,this.selectAll=i.prototype.selectAll,this.deselectAll=i.prototype.deselectAll,this.destroy=i.prototype.destroy,this.remove=i.prototype.remove,this.show=i.prototype.show,this.hide=i.prototype.hide,this.init()};i.VERSION="1.7.7",i.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:locale.custom.noResults,countSelectedText:function(e,t){return 1==e?"{0} item selected":"{0} items selected"},maxOptionsText:function(e,t){return[1==e?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==t?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:"glyphicon",tickIcon:"glyphicon-ok",template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1},i.prototype={constructor:i,init:function(){var t=this,n=this.$element.attr("id");this.$element.addClass("bs-select-hidden"),this.liObj={},this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createView(),this.$element.after(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(".dropdown-menu"),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.options.dropdownAlignRight&&this.$menu.addClass("dropdown-menu-right"),"undefined"!=typeof n&&(this.$button.attr("data-id",n),e('label[for="'+n+'"]').click(function(e){e.preventDefault(),t.$button.focus()})),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.setStyle(),this.setWidth(),this.options.container&&this.selectPosition(),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){t.$element.trigger("hide.bs.select",e)},"hidden.bs.dropdown":function(e){t.$element.trigger("hidden.bs.select",e)},"show.bs.dropdown":function(e){t.$element.trigger("show.bs.select",e)},"shown.bs.dropdown":function(e){t.$element.trigger("shown.bs.select",e)}}),setTimeout(function(){t.$element.trigger("loaded.bs.select")})},createDropdown:function(){var t=this.multiple?" show-tick":"",a=this.$element.parent().hasClass("input-group")?" input-group-btn":"",i=this.autofocus?" autofocus":"",o=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"",s=this.options.liveSearch?'<div class="bs-searchbox"><input type="text" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+n(this.options.liveSearchPlaceholder)+'"')+"></div>":"",r=this.multiple&&this.options.actionsBox?'<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn btn-default">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn btn-default">'+this.options.deselectAllText+"</button></div></div>":"",d=this.multiple&&this.options.doneButton?'<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm btn-default">'+this.options.doneButtonText+"</button></div></div>":"",l='<div class="btn-group bootstrap-select'+t+a+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" data-toggle="dropdown"'+i+'><span class="filter-option pull-left"></span>&nbsp;<span class="bs-caret">'+this.options.template.caret+'</span></button><div class="dropdown-menu open">'+o+s+r+'<ul class="dropdown-menu inner" role="menu"></ul>'+d+"</div></div>";return e(l)},createView:function(){var e=this.createDropdown(),t=this.createLi();return e.find("ul")[0].innerHTML=t,e},reloadLi:function(){this.destroyLi();var e=this.createLi();this.$menuInner[0].innerHTML=e},destroyLi:function(){this.$menu.find("li").remove()},createLi:function(){var a=this,i=[],o=0,s=document.createElement("option"),r=-1,d=function(e,t,n,a){return"<li"+("undefined"!=typeof n&""!==n?' class="'+n+'"':"")+("undefined"!=typeof t&null!==t?' data-original-index="'+t+'"':"")+("undefined"!=typeof a&null!==a?'data-optgroup="'+a+'"':"")+">"+e+"</li>"},l=function(e,i,o,s){return'<a tabindex="0"'+("undefined"!=typeof i?' class="'+i+'"':"")+("undefined"!=typeof o?' style="'+o+'"':"")+(a.options.liveSearchNormalize?' data-normalized-text="'+t(n(e))+'"':"")+("undefined"!=typeof s||null!==s?' data-tokens="'+s+'"':"")+">"+e+'<span class="'+a.options.iconBase+" "+a.options.tickIcon+' check-mark"></span></a>'};if(this.options.title&&!this.multiple&&(r--,!this.$element.find(".bs-title-option").length)){var c=this.$element[0];s.className="bs-title-option",s.appendChild(document.createTextNode(this.options.title)),s.value="",c.insertBefore(s,c.firstChild),void 0===e(c.options[c.selectedIndex]).attr("selected")&&(s.selected=!0)}return this.$element.find("option").each(function(t){var n=e(this);if(r++,!n.hasClass("bs-title-option")){var s=this.className||"",c=this.style.cssText,h=n.data("content")?n.data("content"):n.html(),u=n.data("tokens")?n.data("tokens"):null,m="undefined"!=typeof n.data("subtext")?'<small class="text-muted">'+n.data("subtext")+"</small>":"",p="undefined"!=typeof n.data("icon")?'<span class="'+a.options.iconBase+" "+n.data("icon")+'"></span> ':"",f=this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled;if(""!==p&&f&&(p="<span>"+p+"</span>"),a.options.hideDisabled&&f)return void r--;if(n.data("content")||(h=p+'<span class="text">'+h+m+"</span>"),"OPTGROUP"===this.parentNode.tagName&&n.data("divider")!==!0){var g=" "+this.parentNode.className||"";if(0===n.index()){o+=1;var v=this.parentNode.label,b="undefined"!=typeof n.parent().data("subtext")?'<small class="text-muted">'+n.parent().data("subtext")+"</small>":"",y=n.parent().data("icon")?'<span class="'+a.options.iconBase+" "+n.parent().data("icon")+'"></span> ':"";v=y+'<span class="text">'+v+b+"</span>",0!==t&&i.length>0&&(r++,i.push(d("",null,"divider",o+"div"))),r++,i.push(d(v,null,"dropdown-header"+g,o))}i.push(d(l(h,"opt "+s+g,c,u),t,"",o))}else n.data("divider")===!0?i.push(d("",t,"divider")):n.data("hidden")===!0?i.push(d(l(h,s,c,u),t,"hidden is-hidden")):(this.previousElementSibling&&"OPTGROUP"===this.previousElementSibling.tagName&&(r++,i.push(d("",null,"divider",o+"div"))),i.push(d(l(h,s,c,u),t)));a.liObj[t]=r}}),this.multiple||0!==this.$element.find("option:selected").length||this.options.title||this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),i.join("")},findLis:function(){return null==this.$lis&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(t){var n,a=this;t!==!1&&this.$element.find("option").each(function(e){var t=a.findLis().eq(a.liObj[e]);a.setDisabled(e,this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled,t),a.setSelected(e,this.selected,t)}),this.tabIndex();var i=this.$element.find("option").map(function(){if(this.selected){if(a.options.hideDisabled&&(this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled))return;var t,n=e(this),i=n.data("icon")&&a.options.showIcon?'<i class="'+a.options.iconBase+" "+n.data("icon")+'"></i> ':"";return t=a.options.showSubtext&&n.data("subtext")&&!a.multiple?' <small class="text-muted">'+n.data("subtext")+"</small>":"","undefined"!=typeof n.attr("title")?n.attr("title"):n.data("content")&&a.options.showContent?n.data("content"):i+n.html()+t}}).toArray(),o=this.multiple?i.join(this.options.multipleSeparator):i[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var s=this.options.selectedTextFormat.split(">");if(s.length>1&&i.length>s[1]||1==s.length&&i.length>=2){n=this.options.hideDisabled?", [disabled]":"";var r=this.$element.find("option").not('[data-divider="true"], [data-hidden="true"]'+n).length,d="function"==typeof this.options.countSelectedText?this.options.countSelectedText(i.length,r):this.options.countSelectedText;o=d.replace("{0}",i.length.toString()).replace("{1}",r.toString())}}void 0==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(o=this.options.title),o||(o="undefined"!=typeof this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",e.trim(o.replace(/<[^>]*>?/g,""))),this.$button.children(".filter-option").html(o),this.$element.trigger("rendered.bs.select")},setStyle:function(e,t){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));var n=e?e:this.options.style;"add"==t?this.$button.addClass(n):"remove"==t?this.$button.removeClass(n):(this.$button.removeClass(this.options.style),this.$button.addClass(n))},liHeight:function(t){if(t||this.options.size!==!1&&!this.sizeInfo){var n=document.createElement("div"),a=document.createElement("div"),i=document.createElement("ul"),o=document.createElement("li"),s=document.createElement("li"),r=document.createElement("a"),d=document.createElement("span"),l=this.options.header&&this.$menu.find(".popover-title").length>0?this.$menu.find(".popover-title")[0].cloneNode(!0):null,c=this.options.liveSearch?document.createElement("div"):null,h=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,u=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null;if(d.className="text",n.className=this.$menu[0].parentNode.className+" open",a.className="dropdown-menu open",i.className="dropdown-menu inner",o.className="divider",d.appendChild(document.createTextNode("Inner text")),r.appendChild(d),s.appendChild(r),i.appendChild(s),i.appendChild(o),l&&a.appendChild(l),c){var m=document.createElement("span");c.className="bs-searchbox",m.className="form-control",c.appendChild(m),a.appendChild(c)}h&&a.appendChild(h),a.appendChild(i),u&&a.appendChild(u),n.appendChild(a),document.body.appendChild(n);var p=r.offsetHeight,f=l?l.offsetHeight:0,g=c?c.offsetHeight:0,v=h?h.offsetHeight:0,b=u?u.offsetHeight:0,y=e(o).outerHeight(!0),w="function"==typeof getComputedStyle&&getComputedStyle(a),S=w?null:e(a),k=parseInt(w?w.paddingTop:S.css("paddingTop"))+parseInt(w?w.paddingBottom:S.css("paddingBottom"))+parseInt(w?w.borderTopWidth:S.css("borderTopWidth"))+parseInt(w?w.borderBottomWidth:S.css("borderBottomWidth")),A=k+parseInt(w?w.marginTop:S.css("marginTop"))+parseInt(w?w.marginBottom:S.css("marginBottom"))+2;document.body.removeChild(n),this.sizeInfo={liHeight:p,headerHeight:f,searchHeight:g,actionsHeight:v,doneButtonHeight:b,dividerHeight:y,menuPadding:k,menuExtras:A}}},setSize:function(){if(this.findLis(),this.liHeight(),this.options.header&&this.$menu.css("padding-top",0),this.options.size!==!1){var t,n,a,i,o=this,s=this.$menu,r=this.$menuInner,d=e(window),l=this.$newElement[0].offsetHeight,c=this.sizeInfo.liHeight,h=this.sizeInfo.headerHeight,u=this.sizeInfo.searchHeight,m=this.sizeInfo.actionsHeight,p=this.sizeInfo.doneButtonHeight,f=this.sizeInfo.dividerHeight,g=this.sizeInfo.menuPadding,v=this.sizeInfo.menuExtras,b=this.options.hideDisabled?".disabled":"",y=function(){a=o.$newElement.offset().top-d.scrollTop(),i=d.height()-a-l};if(y(),"auto"===this.options.size){var w=function(){var d,l=function(t,n){return function(a){return n?a.classList?a.classList.contains(t):e(a).hasClass(t):!(a.classList?a.classList.contains(t):e(a).hasClass(t))}},f=o.$menuInner[0].getElementsByTagName("li"),b=Array.prototype.filter?Array.prototype.filter.call(f,l("hidden",!1)):o.$lis.not(".hidden"),w=Array.prototype.filter?Array.prototype.filter.call(b,l("dropdown-header",!0)):b.filter(".dropdown-header");y(),t=i-v,o.options.container?(s.data("height")||s.data("height",s.height()),n=s.data("height")):n=s.height(),o.options.dropupAuto&&o.$newElement.toggleClass("dropup",a>i&&t-v<n),o.$newElement.hasClass("dropup")&&(t=a-v),d=b.length+w.length>3?3*c+v-2:0,s.css({"max-height":t+"px",overflow:"hidden","min-height":d+h+u+m+p+"px"}),r.css({"max-height":t-h-u-m-p-g+"px","overflow-y":"auto","min-height":Math.max(d-g,0)+"px"})};w(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",w),d.off("resize.getSize scroll.getSize").on("resize.getSize scroll.getSize",w)}else if(this.options.size&&"auto"!=this.options.size&&this.$lis.not(b).length>this.options.size){var S=this.$lis.not(".divider").not(b).children().slice(0,this.options.size).last().parent().index(),k=this.$lis.slice(0,S+1).filter(".divider").length;t=c*this.options.size+k*f+g,o.options.container?(s.data("height")||s.data("height",s.height()),n=s.data("height")):n=s.height(),o.options.dropupAuto&&this.$newElement.toggleClass("dropup",a>i&&t-v<n),s.css({"max-height":t+h+u+m+p+"px",overflow:"hidden","min-height":""}),r.css({"max-height":t-g+"px","overflow-y":"auto","min-height":""})}}},setWidth:function(){if("auto"===this.options.width){this.$menu.css("min-width","0");var e=this.$menu.parent().clone().appendTo("body"),t=this.options.container?this.$newElement.clone().appendTo("body"):e,n=e.children(".dropdown-menu").outerWidth(),a=t.css("width","auto").children("button").outerWidth();e.remove(),t.remove(),this.$newElement.css("width",Math.max(n,a)+"px")}else"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width",""));this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){this.$bsContainer=e('<div class="bs-container" />');var t,n,a=this,i=function(e){a.$bsContainer.addClass(e.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass("dropup",e.hasClass("dropup")),t=e.offset(),n=e.hasClass("dropup")?0:e[0].offsetHeight,a.$bsContainer.css({top:t.top+n,left:t.left,width:e[0].offsetWidth})};this.$newElement.on("click",function(){var t=e(this);a.isDisabled()||(i(t),a.$bsContainer.appendTo(a.options.container).toggleClass("open",!t.hasClass("open")).append(a.$menu))}),e(window).on("resize scroll",function(){i(a.$newElement)}),this.$element.on("hide.bs.select",function(){a.$menu.data("height",a.$menu.height()),a.$bsContainer.detach()})},setSelected:function(e,t,n){n||(n=this.findLis().eq(this.liObj[e])),n.toggleClass("selected",t)},setDisabled:function(e,t,n){n||(n=this.findLis().eq(this.liObj[e])),t?n.addClass("disabled").children("a").attr("href","#").attr("tabindex",-1):n.removeClass("disabled").children("a").removeAttr("href").attr("tabindex",0)},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){var e=this;this.isDisabled()?(this.$newElement.addClass("disabled"),this.$button.addClass("disabled").attr("tabindex",-1)):(this.$button.hasClass("disabled")&&(this.$newElement.removeClass("disabled"),this.$button.removeClass("disabled")),this.$button.attr("tabindex")!=-1||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.click(function(){return!e.isDisabled()})},tabIndex:function(){this.$element.is("[tabindex]")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex")))},clickListener:function(){var t=this,n=e(document);this.$newElement.on("touchstart.dropdown",".dropdown-menu",function(e){e.stopPropagation()}),n.data("spaceSelect",!1),this.$button.on("keyup",function(e){/(32)/.test(e.keyCode.toString(10))&&n.data("spaceSelect")&&(e.preventDefault(),n.data("spaceSelect",!1))}),this.$newElement.on("click",function(){t.setSize(),t.$element.on("shown.bs.select",function(){if(t.options.liveSearch||t.multiple){if(!t.multiple){var e=t.liObj[t.$element[0].selectedIndex];if("number"!=typeof e||t.options.size===!1)return;var n=t.$lis.eq(e)[0].offsetTop-t.$menuInner[0].offsetTop;n=n-t.$menuInner[0].offsetHeight/2+t.sizeInfo.liHeight/2,t.$menuInner[0].scrollTop=n}}else t.$menuInner.find(".selected a").focus()})}),this.$menuInner.on("click","li a",function(n){var a=e(this),i=a.parent().data("originalIndex"),o=t.$element.val(),s=t.$element.prop("selectedIndex");if(t.multiple&&n.stopPropagation(),n.preventDefault(),!t.isDisabled()&&!a.parent().hasClass("disabled")){var r=t.$element.find("option"),d=r.eq(i),l=d.prop("selected"),c=d.parent("optgroup"),h=t.options.maxOptions,u=c.data("maxOptions")||!1;if(t.multiple){if(d.prop("selected",!l),t.setSelected(i,!l),a.blur(),h!==!1||u!==!1){var m=h<r.filter(":selected").length,p=u<c.find("option:selected").length;if(h&&m||u&&p)if(h&&1==h)r.prop("selected",!1),d.prop("selected",!0),t.$menuInner.find(".selected").removeClass("selected"),t.setSelected(i,!0);else if(u&&1==u){c.find("option:selected").prop("selected",!1),d.prop("selected",!0);var f=a.parent().data("optgroup");t.$menuInner.find('[data-optgroup="'+f+'"]').removeClass("selected"),t.setSelected(i,!0)}else{var g="function"==typeof t.options.maxOptionsText?t.options.maxOptionsText(h,u):t.options.maxOptionsText,v=g[0].replace("{n}",h),b=g[1].replace("{n}",u),y=e('<div class="notify"></div>');g[2]&&(v=v.replace("{var}",g[2][h>1?0:1]),b=b.replace("{var}",g[2][u>1?0:1])),d.prop("selected",!1),t.$menu.append(y),h&&m&&(y.append(e("<div>"+v+"</div>")),t.$element.trigger("maxReached.bs.select")),u&&p&&(y.append(e("<div>"+b+"</div>")),t.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){t.setSelected(i,!1)},10),y.delay(750).fadeOut(300,function(){e(this).remove()})}}}else r.prop("selected",!1),d.prop("selected",!0),t.$menuInner.find(".selected").removeClass("selected"),t.setSelected(i,!0);t.multiple?t.options.liveSearch&&t.$searchbox.focus():t.$button.focus(),(o!=t.$element.val()&&t.multiple||s!=t.$element.prop("selectedIndex")&&!t.multiple)&&(t.$element.triggerNative("change"),t.$element.trigger("changed.bs.select",[i,d.prop("selected"),l]))}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(n){n.currentTarget==this&&(n.preventDefault(),n.stopPropagation(),t.options.liveSearch&&!e(n.target).hasClass("close")?t.$searchbox.focus():t.$button.focus())}),this.$menuInner.on("click",".divider, .dropdown-header",function(e){e.preventDefault(),e.stopPropagation(),t.options.liveSearch?t.$searchbox.focus():t.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){t.$button.click()}),this.$searchbox.on("click",function(e){e.stopPropagation()}),this.$menu.on("click",".actions-btn",function(n){t.options.liveSearch?t.$searchbox.focus():t.$button.focus(),n.preventDefault(),n.stopPropagation(),e(this).hasClass("bs-select-all")?t.selectAll():t.deselectAll(),t.$element.triggerNative("change")}),this.$element.change(function(){t.render(!1)})},liveSearchListener:function(){var a=this,i=e('<li class="no-results"></li>');this.$newElement.on("click.dropdown.data-api touchstart.dropdown.data-api",function(){a.$menuInner.find(".active").removeClass("active"),a.$searchbox.val()&&(a.$searchbox.val(""),a.$lis.not(".is-hidden").removeClass("hidden"),i.parent().length&&i.remove()),a.multiple||a.$menuInner.find(".selected").addClass("active"),setTimeout(function(){a.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(e){e.stopPropagation()}),this.$searchbox.on("input propertychange",function(){if(a.$searchbox.val()){var o=a.$lis.not(".is-hidden").removeClass("hidden").children("a");o=a.options.liveSearchNormalize?o.not(":a"+a._searchStyle()+'("'+t(a.$searchbox.val())+'")'):o.not(":"+a._searchStyle()+'("'+a.$searchbox.val()+'")'),o.parent().addClass("hidden"),a.$lis.filter(".dropdown-header").each(function(){var t=e(this),n=t.data("optgroup");0===a.$lis.filter("[data-optgroup="+n+"]").not(t).not(".hidden").length&&(t.addClass("hidden"),a.$lis.filter("[data-optgroup="+n+"div]").addClass("hidden"))});var s=a.$lis.not(".hidden");s.each(function(t){var n=e(this);n.hasClass("divider")&&(n.index()===s.first().index()||n.index()===s.last().index()||s.eq(t+1).hasClass("divider"))&&n.addClass("hidden")}),a.$lis.not(".hidden, .no-results").length?i.parent().length&&i.remove():(i.parent().length&&i.remove(),i.html(a.options.noneResultsText.replace("{0}",'"'+n(a.$searchbox.val())+'"')).show(),a.$menuInner.append(i))}else a.$lis.not(".is-hidden").removeClass("hidden"),i.parent().length&&i.remove();a.$lis.filter(".active").removeClass("active"),a.$searchbox.val()&&a.$lis.not(".hidden, .divider, .dropdown-header").eq(0).addClass("active").children("a").focus(),e(this).focus()})},_searchStyle:function(){var e={begins:"ibegins",startsWith:"ibegins"};return e[this.options.liveSearchStyle]||"icontains"},val:function(e){return"undefined"!=typeof e?(this.$element.val(e),this.render(),this.$element):this.$element.val()},changeAll:function(t){"undefined"==typeof t&&(t=!0),this.findLis();for(var n=this.$element.find("option"),a=this.$lis.not(".divider, .dropdown-header, .disabled, .hidden").toggleClass("selected",t),i=a.length,o=[],s=0;s<i;s++){var r=a[s].getAttribute("data-original-index");o[o.length]=n.eq(r)[0]}e(o).prop("selected",t),this.render(!1)},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},keydown:function(n){var a,i,o,s,r,d,l,c,h,u=e(this),m=u.is("input")?u.parent().parent():u.parent(),p=m.data("this"),f=":not(.disabled, .hidden, .dropdown-header, .divider)",g={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"};if(p.options.liveSearch&&(m=u.parent().parent()),p.options.container&&(m=p.$menu),a=e("[role=menu] li",m),h=p.$menu.parent().hasClass("open"),!h&&(n.keyCode>=48&&n.keyCode<=57||n.keyCode>=96&&n.keyCode<=105||n.keyCode>=65&&n.keyCode<=90)&&(p.options.container?p.$newElement.trigger("click"):(p.setSize(),p.$menu.parent().addClass("open"),h=!0),p.$searchbox.focus()),p.options.liveSearch&&(/(^9$|27)/.test(n.keyCode.toString(10))&&h&&0===p.$menu.find(".active").length&&(n.preventDefault(),p.$menu.parent().removeClass("open"),p.options.container&&p.$newElement.removeClass("open"),p.$button.focus()),a=e("[role=menu] li"+f,m),u.val()||/(38|40)/.test(n.keyCode.toString(10))||0===a.filter(".active").length&&(a=p.$menuInner.find("li"),a=p.options.liveSearchNormalize?a.filter(":a"+p._searchStyle()+"("+t(g[n.keyCode])+")"):a.filter(":"+p._searchStyle()+"("+g[n.keyCode]+")"))),a.length){if(/(38|40)/.test(n.keyCode.toString(10)))i=a.index(a.find("a").filter(":focus").parent()),s=a.filter(f).first().index(),r=a.filter(f).last().index(),o=a.eq(i).nextAll(f).eq(0).index(),d=a.eq(i).prevAll(f).eq(0).index(),l=a.eq(o).prevAll(f).eq(0).index(),p.options.liveSearch&&(a.each(function(t){e(this).hasClass("disabled")||e(this).data("index",t)}),i=a.index(a.filter(".active")),s=a.first().data("index"),r=a.last().data("index"),o=a.eq(i).nextAll().eq(0).data("index"),d=a.eq(i).prevAll().eq(0).data("index"),l=a.eq(o).prevAll().eq(0).data("index")),c=u.data("prevIndex"),38==n.keyCode?(p.options.liveSearch&&i--,i!=l&&i>d&&(i=d),i<s&&(i=s),i==c&&(i=r)):40==n.keyCode&&(p.options.liveSearch&&i++,i==-1&&(i=0),i!=l&&i<o&&(i=o),i>r&&(i=r),i==c&&(i=s)),u.data("prevIndex",i),p.options.liveSearch?(n.preventDefault(),u.hasClass("dropdown-toggle")||(a.removeClass("active").eq(i).addClass("active").children("a").focus(),u.focus())):a.eq(i).children("a").focus();else if(!u.is("input")){var v,b,y=[];a.each(function(){e(this).hasClass("disabled")||e.trim(e(this).children("a").text().toLowerCase()).substring(0,1)==g[n.keyCode]&&y.push(e(this).index())}),v=e(document).data("keycount"),v++,e(document).data("keycount",v),b=e.trim(e(":focus").text().toLowerCase()).substring(0,1),b!=g[n.keyCode]?(v=1,e(document).data("keycount",v)):v>=y.length&&(e(document).data("keycount",0),v>y.length&&(v=1)),a.eq(y[v-1]).children("a").focus()}if((/(13|32)/.test(n.keyCode.toString(10))||/(^9$)/.test(n.keyCode.toString(10))&&p.options.selectOnTab)&&h){if(/(32)/.test(n.keyCode.toString(10))||n.preventDefault(),p.options.liveSearch)/(32)/.test(n.keyCode.toString(10))||(p.$menuInner.find(".active a").click(),u.focus());else{var w=e(":focus");w.click(),w.focus(),n.preventDefault(),e(document).data("spaceSelect",!0)}e(document).data("keycount",0)}(/(^9$|27)/.test(n.keyCode.toString(10))&&h&&(p.multiple||p.options.liveSearch)||/(27)/.test(n.keyCode.toString(10))&&!h)&&(p.$menu.parent().removeClass("open"),p.options.container&&p.$newElement.removeClass("open"),p.$button.focus())}},mobile:function(){this.$element.addClass("mobile-device").appendTo(this.$newElement),this.options.container&&this.$menu.hide()},refresh:function(){this.$lis=null,this.liObj={},this.reloadLi(),this.render(),this.checkDisabled(),this.liHeight(!0),this.setStyle(),this.setWidth(),this.$lis&&this.$searchbox.trigger("propertychange"),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(".bs.select").removeData("selectpicker").removeClass("bs-select-hidden selectpicker")}};var o=e.fn.selectpicker;e.fn.selectpicker=a,e.fn.selectpicker.Constructor=i,e.fn.selectpicker.noConflict=function(){return e.fn.selectpicker=o,this},e(document).data("keycount",0).on("keydown.bs.select",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="menu"], .bs-searchbox input',i.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="menu"], .bs-searchbox input',function(e){e.stopPropagation()}),e(window).on("load.bs.select.data-api",function(){e(".selectpicker").each(function(){var t=e(this);a.call(t,t.data())})})}(e)}),/*!
 * Cropper v2.3.0
 * https://github.com/fengyuanchen/cropper
 *
 * Copyright (c) 2014-2016 Fengyuan Chen and contributors
 * Released under the MIT license
 *
 * Date: 2016-02-22T02:13:13.332Z
 */
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){"use strict";function t(e){return"number"==typeof e&&!isNaN(e)}function n(e){return"undefined"==typeof e}function a(e,n){var a=[];return t(n)&&a.push(n),a.slice.apply(e,a)}function i(e,t){var n=a(arguments,2);return function(){return e.apply(t,n.concat(a(arguments)))}}function o(e){var t=e.match(/^(https?:)\/\/([^\:\/\?#]+):?(\d*)/i);return t&&(t[1]!==w.protocol||t[2]!==w.hostname||t[3]!==w.port)}function s(e){var t="timestamp="+(new Date).getTime();return e+(-1===e.indexOf("?")?"?":"&")+t}function r(e){return e?' crossOrigin="'+e+'"':""}function d(e,t){var n;return e.naturalWidth&&!ge?t(e.naturalWidth,e.naturalHeight):(n=document.createElement("img"),n.onload=function(){t(this.width,this.height)},void(n.src=e.src))}function l(e){var n=[],a=e.rotate,i=e.scaleX,o=e.scaleY;return t(a)&&n.push("rotate("+a+"deg)"),t(i)&&t(o)&&n.push("scale("+i+","+o+")"),n.length?n.join(" "):"none"}function c(e,t){var n,a,i=we(e.degree)%180,o=(i>90?180-i:i)*Math.PI/180,s=Se(o),r=ke(o),d=e.width,l=e.height,c=e.aspectRatio;return t?(n=d/(r+s/c),a=n/c):(n=d*r+l*s,a=d*s+l*r),{width:n,height:a}}function h(n,a){var i,o,s,r=e("<canvas>")[0],d=r.getContext("2d"),l=0,h=0,u=a.naturalWidth,m=a.naturalHeight,p=a.rotate,f=a.scaleX,g=a.scaleY,v=t(f)&&t(g)&&(1!==f||1!==g),b=t(p)&&0!==p,y=b||v,w=u*we(f||1),S=m*we(g||1);return v&&(i=w/2,o=S/2),b&&(s=c({width:w,height:S,degree:p}),w=s.width,S=s.height,i=w/2,o=S/2),r.width=w,r.height=S,y&&(l=-u/2,h=-m/2,d.save(),d.translate(i,o)),b&&d.rotate(p*Math.PI/180),v&&d.scale(f,g),d.drawImage(n,xe(l),xe(h),xe(u),xe(m)),y&&d.restore(),r}function u(t){var n=t.length,a=0,i=0;return n&&(e.each(t,function(e,t){a+=t.pageX,i+=t.pageY}),a/=n,i/=n),{pageX:a,pageY:i}}function m(e,t,n){var a,i="";for(a=t,n+=t;n>a;a++)i+=Te(e.getUint8(a));return i}function p(e){var t,n,a,i,o,s,r,d,l,c,h=new C(e),u=h.byteLength;if(255===h.getUint8(0)&&216===h.getUint8(1))for(l=2;u>l;){if(255===h.getUint8(l)&&225===h.getUint8(l+1)){r=l;break}l++}if(r&&(n=r+4,a=r+10,"Exif"===m(h,n,4)&&(s=h.getUint16(a),o=18761===s,(o||19789===s)&&42===h.getUint16(a+2,o)&&(i=h.getUint32(a+4,o),i>=8&&(d=a+i)))),d)for(u=h.getUint16(d,o),c=0;u>c;c++)if(l=d+12*c+2,274===h.getUint16(l,o)){l+=8,t=h.getUint16(l,o),ge&&h.setUint16(l,1,o);break}return t}function f(e){var t,n=e.replace(X,""),a=atob(n),i=a.length,o=new k(i),s=new A(o);for(t=0;i>t;t++)s[t]=a.charCodeAt(t);return o}function g(e){var t,n=new A(e),a=n.length,i="";for(t=0;a>t;t++)i+=Te(n[t]);return"data:image/jpeg;base64,"+x(i)}function v(t,n){this.$element=e(t),this.options=e.extend({},v.DEFAULTS,e.isPlainObject(n)&&n),this.isLoaded=!1,this.isBuilt=!1,this.isCompleted=!1,this.isRotated=!1,this.isCropped=!1,this.isDisabled=!1,this.isReplaced=!1,this.isLimited=!1,this.wheeling=!1,this.isImg=!1,this.originalUrl="",this.canvas=null,this.cropBox=null,this.init()}var b=e(window),y=e(document),w=window.location,S=window.navigator,k=window.ArrayBuffer,A=window.Uint8Array,C=window.DataView,x=window.btoa,T="cropper",M="cropper-modal",E="cropper-hide",P="cropper-hidden",B="cropper-invisible",N="cropper-move",L="cropper-crop",_="cropper-disabled",I="cropper-bg",D="mousedown touchstart pointerdown MSPointerDown",$="mousemove touchmove pointermove MSPointerMove",R="mouseup touchend touchcancel pointerup pointercancel MSPointerUp MSPointerCancel",O="wheel mousewheel DOMMouseScroll",H="dblclick",z="load."+T,K="error."+T,F="resize."+T,G="build."+T,U="built."+T,j="cropstart."+T,V="cropmove."+T,W="cropend."+T,Y="crop."+T,q="zoom."+T,J=/e|w|s|n|se|sw|ne|nw|all|crop|move|zoom/,Z=/^data\:/,X=/^data\:([^\;]+)\;base64,/,Q=/^data\:image\/jpeg.*;base64,/,ee="preview",te="action",ne="e",ae="w",ie="s",oe="n",se="se",re="sw",de="ne",le="nw",ce="all",he="crop",ue="move",me="zoom",pe="none",fe=e.isFunction(e("<canvas>")[0].getContext),ge=S&&/safari/i.test(S.userAgent)&&/apple computer/i.test(S.vendor),ve=Number,be=Math.min,ye=Math.max,we=Math.abs,Se=Math.sin,ke=Math.cos,Ae=Math.sqrt,Ce=Math.round,xe=Math.floor,Te=String.fromCharCode;v.prototype={constructor:v,init:function(){var e,t=this.$element;if(t.is("img")){if(this.isImg=!0,this.originalUrl=e=t.attr("src"),!e)return;e=t.prop("src")}else t.is("canvas")&&fe&&(e=t[0].toDataURL());this.load(e)},trigger:function(t,n){var a=e.Event(t,n);return this.$element.trigger(a),a},load:function(t){var n,a,i=this.options,o=this.$element;if(t&&(o.one(G,i.build),!this.trigger(G).isDefaultPrevented())){if(this.url=t,this.image={},!i.checkOrientation||!k)return this.clone();if(n=e.proxy(this.read,this),Z.test(t))return Q.test(t)?n(f(t)):this.clone();a=new XMLHttpRequest,a.onerror=a.onabort=e.proxy(function(){this.clone()},this),a.onload=function(){n(this.response)},a.open("get",t),a.responseType="arraybuffer",a.send()}},read:function(e){var t,n,a,i=this.options,o=p(e),s=this.image;if(o>1)switch(this.url=g(e),o){case 2:n=-1;break;case 3:t=-180;break;case 4:a=-1;break;case 5:t=90,a=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90}i.rotatable&&(s.rotate=t),i.scalable&&(s.scaleX=n,s.scaleY=a),this.clone()},clone:function(){var t,n,a=this.options,i=this.$element,d=this.url,l="";a.checkCrossOrigin&&o(d)&&(l=i.prop("crossOrigin"),l?t=d:(l="anonymous",t=s(d))),this.crossOrigin=l,this.crossOriginUrl=t,this.$clone=n=e("<img"+r(l)+' src="'+(t||d)+'">'),this.isImg?i[0].complete?this.start():i.one(z,e.proxy(this.start,this)):n.one(z,e.proxy(this.start,this)).one(K,e.proxy(this.stop,this)).addClass(E).insertAfter(i)},start:function(){var t=this.$element,n=this.$clone;this.isImg||(n.off(K,this.stop),t=n),d(t[0],e.proxy(function(t,n){e.extend(this.image,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),this.isLoaded=!0,this.build()},this))},stop:function(){this.$clone.remove(),this.$clone=null},build:function(){var t,n,a,i=this.options,o=this.$element,s=this.$clone;this.isLoaded&&(this.isBuilt&&this.unbuild(),this.$container=o.parent(),this.$cropper=t=e(v.TEMPLATE),this.$canvas=t.find(".cropper-canvas").append(s),this.$dragBox=t.find(".cropper-drag-box"),this.$cropBox=n=t.find(".cropper-crop-box"),this.$viewBox=t.find(".cropper-view-box"),this.$face=a=n.find(".cropper-face"),o.addClass(P).after(t),this.isImg||s.removeClass(E),this.initPreview(),this.bind(),i.aspectRatio=ye(0,i.aspectRatio)||NaN,i.viewMode=ye(0,be(3,Ce(i.viewMode)))||0,i.autoCrop?(this.isCropped=!0,i.modal&&this.$dragBox.addClass(M)):n.addClass(P),i.guides||n.find(".cropper-dashed").addClass(P),i.center||n.find(".cropper-center").addClass(P),i.cropBoxMovable&&a.addClass(N).data(te,ce),i.highlight||a.addClass(B),i.background&&t.addClass(I),i.cropBoxResizable||n.find(".cropper-line, .cropper-point").addClass(P),this.setDragMode(i.dragMode),this.render(),this.isBuilt=!0,this.setData(i.data),o.one(U,i.built),setTimeout(e.proxy(function(){this.trigger(U),this.isCompleted=!0},this),0))},unbuild:function(){this.isBuilt&&(this.isBuilt=!1,this.isCompleted=!1,this.initialImage=null,this.initialCanvas=null,this.initialCropBox=null,this.container=null,this.canvas=null,this.cropBox=null,this.unbind(),this.resetPreview(),this.$preview=null,this.$viewBox=null,this.$cropBox=null,this.$dragBox=null,this.$canvas=null,this.$container=null,this.$cropper.remove(),this.$cropper=null)},render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.isCropped&&this.renderCropBox()},initContainer:function(){var e=this.options,t=this.$element,n=this.$container,a=this.$cropper;a.addClass(P),t.removeClass(P),a.css(this.container={width:ye(n.width(),ve(e.minContainerWidth)||200),height:ye(n.height(),ve(e.minContainerHeight)||100)}),t.addClass(P),a.removeClass(P)},initCanvas:function(){var t,n=this.options.viewMode,a=this.container,i=a.width,o=a.height,s=this.image,r=s.naturalWidth,d=s.naturalHeight,l=90===we(s.rotate),c=l?d:r,h=l?r:d,u=c/h,m=i,p=o;o*u>i?3===n?m=o*u:p=i/u:3===n?p=i/u:m=o*u,t={naturalWidth:c,naturalHeight:h,aspectRatio:u,width:m,height:p},t.oldLeft=t.left=(i-m)/2,t.oldTop=t.top=(o-p)/2,this.canvas=t,this.isLimited=1===n||2===n,this.limitCanvas(!0,!0),this.initialImage=e.extend({},s),this.initialCanvas=e.extend({},t)},limitCanvas:function(e,t){var n,a,i,o,s=this.options,r=s.viewMode,d=this.container,l=d.width,c=d.height,h=this.canvas,u=h.aspectRatio,m=this.cropBox,p=this.isCropped&&m;e&&(n=ve(s.minCanvasWidth)||0,a=ve(s.minCanvasHeight)||0,r&&(r>1?(n=ye(n,l),a=ye(a,c),3===r&&(a*u>n?n=a*u:a=n/u)):n?n=ye(n,p?m.width:0):a?a=ye(a,p?m.height:0):p&&(n=m.width,a=m.height,a*u>n?n=a*u:a=n/u)),n&&a?a*u>n?a=n/u:n=a*u:n?a=n/u:a&&(n=a*u),h.minWidth=n,h.minHeight=a,h.maxWidth=1/0,h.maxHeight=1/0),t&&(r?(i=l-h.width,o=c-h.height,h.minLeft=be(0,i),h.minTop=be(0,o),h.maxLeft=ye(0,i),h.maxTop=ye(0,o),p&&this.isLimited&&(h.minLeft=be(m.left,m.left+m.width-h.width),h.minTop=be(m.top,m.top+m.height-h.height),h.maxLeft=m.left,h.maxTop=m.top,2===r&&(h.width>=l&&(h.minLeft=be(0,i),h.maxLeft=ye(0,i)),h.height>=c&&(h.minTop=be(0,o),h.maxTop=ye(0,o))))):(h.minLeft=-h.width,h.minTop=-h.height,h.maxLeft=l,h.maxTop=c))},renderCanvas:function(e){var t,n,a=this.canvas,i=this.image,o=i.rotate,s=i.naturalWidth,r=i.naturalHeight;this.isRotated&&(this.isRotated=!1,n=c({width:i.width,height:i.height,degree:o}),t=n.width/n.height,t!==a.aspectRatio&&(a.left-=(n.width-a.width)/2,a.top-=(n.height-a.height)/2,a.width=n.width,a.height=n.height,a.aspectRatio=t,a.naturalWidth=s,a.naturalHeight=r,o%180&&(n=c({width:s,height:r,degree:o}),a.naturalWidth=n.width,a.naturalHeight=n.height),this.limitCanvas(!0,!1))),(a.width>a.maxWidth||a.width<a.minWidth)&&(a.left=a.oldLeft),(a.height>a.maxHeight||a.height<a.minHeight)&&(a.top=a.oldTop),a.width=be(ye(a.width,a.minWidth),a.maxWidth),a.height=be(ye(a.height,a.minHeight),a.maxHeight),this.limitCanvas(!1,!0),a.oldLeft=a.left=be(ye(a.left,a.minLeft),a.maxLeft),a.oldTop=a.top=be(ye(a.top,a.minTop),a.maxTop),this.$canvas.css({width:a.width,height:a.height,left:a.left,top:a.top}),this.renderImage(),this.isCropped&&this.isLimited&&this.limitCropBox(!0,!0),e&&this.output()},renderImage:function(t){var n,a=this.canvas,i=this.image;i.rotate&&(n=c({width:a.width,height:a.height,degree:i.rotate,aspectRatio:i.aspectRatio},!0)),e.extend(i,n?{width:n.width,height:n.height,left:(a.width-n.width)/2,top:(a.height-n.height)/2}:{width:a.width,height:a.height,left:0,top:0}),this.$clone.css({width:i.width,height:i.height,marginLeft:i.left,marginTop:i.top,transform:l(i)}),t&&this.output()},initCropBox:function(){var t=this.options,n=this.canvas,a=t.aspectRatio,i=ve(t.autoCropArea)||.8,o={width:n.width,height:n.height};a&&(n.height*a>n.width?o.height=o.width/a:o.width=o.height*a),this.cropBox=o,this.limitCropBox(!0,!0),o.width=be(ye(o.width,o.minWidth),o.maxWidth),o.height=be(ye(o.height,o.minHeight),o.maxHeight),o.width=ye(o.minWidth,o.width*i),o.height=ye(o.minHeight,o.height*i),o.oldLeft=o.left=n.left+(n.width-o.width)/2,o.oldTop=o.top=n.top+(n.height-o.height)/2,this.initialCropBox=e.extend({},o)},limitCropBox:function(e,t){var n,a,i,o,s=this.options,r=s.aspectRatio,d=this.container,l=d.width,c=d.height,h=this.canvas,u=this.cropBox,m=this.isLimited;e&&(n=ve(s.minCropBoxWidth)||0,a=ve(s.minCropBoxHeight)||0,n=be(n,l),a=be(a,c),i=be(l,m?h.width:l),o=be(c,m?h.height:c),r&&(n&&a?a*r>n?a=n/r:n=a*r:n?a=n/r:a&&(n=a*r),o*r>i?o=i/r:i=o*r),u.minWidth=be(n,i),u.minHeight=be(a,o),u.maxWidth=i,u.maxHeight=o),t&&(m?(u.minLeft=ye(0,h.left),u.minTop=ye(0,h.top),u.maxLeft=be(l,h.left+h.width)-u.width,u.maxTop=be(c,h.top+h.height)-u.height):(u.minLeft=0,u.minTop=0,u.maxLeft=l-u.width,u.maxTop=c-u.height))},renderCropBox:function(){var e=this.options,t=this.container,n=t.width,a=t.height,i=this.cropBox;(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=be(ye(i.width,i.minWidth),i.maxWidth),i.height=be(ye(i.height,i.minHeight),i.maxHeight),this.limitCropBox(!1,!0),i.oldLeft=i.left=be(ye(i.left,i.minLeft),i.maxLeft),i.oldTop=i.top=be(ye(i.top,i.minTop),i.maxTop),e.movable&&e.cropBoxMovable&&this.$face.data(te,i.width===n&&i.height===a?ue:ce),this.$cropBox.css({width:i.width,height:i.height,left:i.left,top:i.top}),this.isCropped&&this.isLimited&&this.limitCanvas(!0,!0),this.isDisabled||this.output()},output:function(){this.preview(),this.isCompleted?this.trigger(Y,this.getData()):this.isBuilt||this.$element.one(U,e.proxy(function(){this.trigger(Y,this.getData())},this))},initPreview:function(){var t,n=r(this.crossOrigin),a=n?this.crossOriginUrl:this.url;this.$preview=e(this.options.preview),this.$clone2=t=e("<img"+n+' src="'+a+'">'),this.$viewBox.html(t),this.$preview.each(function(){var t=e(this);t.data(ee,{width:t.width(),height:t.height(),html:t.html()}),t.html("<img"+n+' src="'+a+'" style="display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;">')})},resetPreview:function(){this.$preview.each(function(){var t=e(this),n=t.data(ee);t.css({width:n.width,height:n.height}).html(n.html).removeData(ee)})},preview:function(){var t=this.image,n=this.canvas,a=this.cropBox,i=a.width,o=a.height,s=t.width,r=t.height,d=a.left-n.left-t.left,c=a.top-n.top-t.top;this.isCropped&&!this.isDisabled&&(this.$clone2.css({width:s,height:r,marginLeft:-d,marginTop:-c,transform:l(t)}),this.$preview.each(function(){var n=e(this),a=n.data(ee),h=a.width,u=a.height,m=h,p=u,f=1;i&&(f=h/i,p=o*f),o&&p>u&&(f=u/o,m=i*f,p=u),n.css({width:m,height:p}).find("img").css({width:s*f,height:r*f,marginLeft:-d*f,marginTop:-c*f,transform:l(t)})}))},bind:function(){var t=this.options,n=this.$element,a=this.$cropper;e.isFunction(t.cropstart)&&n.on(j,t.cropstart),e.isFunction(t.cropmove)&&n.on(V,t.cropmove),e.isFunction(t.cropend)&&n.on(W,t.cropend),e.isFunction(t.crop)&&n.on(Y,t.crop),e.isFunction(t.zoom)&&n.on(q,t.zoom),a.on(D,e.proxy(this.cropStart,this)),t.zoomable&&t.zoomOnWheel&&a.on(O,e.proxy(this.wheel,this)),t.toggleDragModeOnDblclick&&a.on(H,e.proxy(this.dblclick,this)),y.on($,this._cropMove=i(this.cropMove,this)).on(R,this._cropEnd=i(this.cropEnd,this)),t.responsive&&b.on(F,this._resize=i(this.resize,this))},unbind:function(){var t=this.options,n=this.$element,a=this.$cropper;e.isFunction(t.cropstart)&&n.off(j,t.cropstart),e.isFunction(t.cropmove)&&n.off(V,t.cropmove),e.isFunction(t.cropend)&&n.off(W,t.cropend),e.isFunction(t.crop)&&n.off(Y,t.crop),e.isFunction(t.zoom)&&n.off(q,t.zoom),a.off(D,this.cropStart),t.zoomable&&t.zoomOnWheel&&a.off(O,this.wheel),t.toggleDragModeOnDblclick&&a.off(H,this.dblclick),y.off($,this._cropMove).off(R,this._cropEnd),t.responsive&&b.off(F,this._resize)},resize:function(){var t,n,a,i=this.options.restore,o=this.$container,s=this.container;!this.isDisabled&&s&&(a=o.width()/s.width,(1!==a||o.height()!==s.height)&&(i&&(t=this.getCanvasData(),n=this.getCropBoxData()),this.render(),i&&(this.setCanvasData(e.each(t,function(e,n){t[e]=n*a})),this.setCropBoxData(e.each(n,function(e,t){n[e]=t*a})))))},dblclick:function(){this.isDisabled||(this.$dragBox.hasClass(L)?this.setDragMode(ue):this.setDragMode(he))},wheel:function(t){var n=t.originalEvent||t,a=ve(this.options.wheelZoomRatio)||.1,i=1;this.isDisabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(e.proxy(function(){this.wheeling=!1},this),50),n.deltaY?i=n.deltaY>0?1:-1:n.wheelDelta?i=-n.wheelDelta/120:n.detail&&(i=n.detail>0?1:-1),this.zoom(-i*a,t)))},cropStart:function(t){var n,a,i=this.options,o=t.originalEvent,s=o&&o.touches,r=t;if(!this.isDisabled){if(s){if(n=s.length,n>1){if(!i.zoomable||!i.zoomOnTouch||2!==n)return;r=s[1],this.startX2=r.pageX,this.startY2=r.pageY,a=me}r=s[0]}if(a=a||e(r.target).data(te),J.test(a)){if(this.trigger(j,{originalEvent:o,action:a}).isDefaultPrevented())return;t.preventDefault(),this.action=a,this.cropping=!1,this.startX=r.pageX||o&&o.pageX,this.startY=r.pageY||o&&o.pageY,a===he&&(this.cropping=!0,this.$dragBox.addClass(M))}}},cropMove:function(e){var t,n=this.options,a=e.originalEvent,i=a&&a.touches,o=e,s=this.action;if(!this.isDisabled){if(i){if(t=i.length,t>1){if(!n.zoomable||!n.zoomOnTouch||2!==t)return;o=i[1],this.endX2=o.pageX,this.endY2=o.pageY}o=i[0]}if(s){if(this.trigger(V,{originalEvent:a,action:s}).isDefaultPrevented())return;e.preventDefault(),this.endX=o.pageX||a&&a.pageX,this.endY=o.pageY||a&&a.pageY,this.change(o.shiftKey,s===me?e:null)}}},cropEnd:function(e){var t=e.originalEvent,n=this.action;this.isDisabled||n&&(e.preventDefault(),this.cropping&&(this.cropping=!1,this.$dragBox.toggleClass(M,this.isCropped&&this.options.modal)),this.action="",this.trigger(W,{originalEvent:t,action:n}))},change:function(e,t){var n,a,i=this.options,o=i.aspectRatio,s=this.action,r=this.container,d=this.canvas,l=this.cropBox,c=l.width,h=l.height,u=l.left,m=l.top,p=u+c,f=m+h,g=0,v=0,b=r.width,y=r.height,w=!0;switch(!o&&e&&(o=c&&h?c/h:1),this.limited&&(g=l.minLeft,v=l.minTop,b=g+be(r.width,d.left+d.width),y=v+be(r.height,d.top+d.height)),a={x:this.endX-this.startX,y:this.endY-this.startY},o&&(a.X=a.y*o,a.Y=a.x/o),s){case ce:u+=a.x,m+=a.y;break;case ne:if(a.x>=0&&(p>=b||o&&(v>=m||f>=y))){w=!1;break}c+=a.x,o&&(h=c/o,m-=a.Y/2),0>c&&(s=ae,c=0);break;case oe:if(a.y<=0&&(v>=m||o&&(g>=u||p>=b))){w=!1;break}h-=a.y,m+=a.y,o&&(c=h*o,u+=a.X/2),0>h&&(s=ie,h=0);break;case ae:if(a.x<=0&&(g>=u||o&&(v>=m||f>=y))){w=!1;break}c-=a.x,u+=a.x,o&&(h=c/o,m+=a.Y/2),0>c&&(s=ne,c=0);break;case ie:if(a.y>=0&&(f>=y||o&&(g>=u||p>=b))){w=!1;break}h+=a.y,o&&(c=h*o,u-=a.X/2),0>h&&(s=oe,h=0);break;case de:if(o){if(a.y<=0&&(v>=m||p>=b)){w=!1;break}h-=a.y,m+=a.y,c=h*o}else a.x>=0?b>p?c+=a.x:a.y<=0&&v>=m&&(w=!1):c+=a.x,a.y<=0?m>v&&(h-=a.y,m+=a.y):(h-=a.y,m+=a.y);0>c&&0>h?(s=re,h=0,c=0):0>c?(s=le,c=0):0>h&&(s=se,h=0);break;case le:if(o){if(a.y<=0&&(v>=m||g>=u)){w=!1;break}h-=a.y,m+=a.y,c=h*o,u+=a.X}else a.x<=0?u>g?(c-=a.x,u+=a.x):a.y<=0&&v>=m&&(w=!1):(c-=a.x,u+=a.x),a.y<=0?m>v&&(h-=a.y,m+=a.y):(h-=a.y,m+=a.y);0>c&&0>h?(s=se,h=0,c=0):0>c?(s=de,c=0):0>h&&(s=re,h=0);break;case re:if(o){if(a.x<=0&&(g>=u||f>=y)){w=!1;break}c-=a.x,u+=a.x,h=c/o}else a.x<=0?u>g?(c-=a.x,u+=a.x):a.y>=0&&f>=y&&(w=!1):(c-=a.x,u+=a.x),a.y>=0?y>f&&(h+=a.y):h+=a.y;0>c&&0>h?(s=de,h=0,c=0):0>c?(s=se,c=0):0>h&&(s=le,h=0);break;case se:if(o){if(a.x>=0&&(p>=b||f>=y)){w=!1;break}c+=a.x,h=c/o}else a.x>=0?b>p?c+=a.x:a.y>=0&&f>=y&&(w=!1):c+=a.x,a.y>=0?y>f&&(h+=a.y):h+=a.y;0>c&&0>h?(s=le,h=0,c=0):0>c?(s=re,c=0):0>h&&(s=de,h=0);break;case ue:this.move(a.x,a.y),w=!1;break;case me:this.zoom(function(e,t,n,a){var i=Ae(e*e+t*t),o=Ae(n*n+a*a);return(o-i)/i}(we(this.startX-this.startX2),we(this.startY-this.startY2),we(this.endX-this.endX2),we(this.endY-this.endY2)),t),this.startX2=this.endX2,this.startY2=this.endY2,w=!1;break;case he:if(!a.x||!a.y){w=!1;break}n=this.$cropper.offset(),u=this.startX-n.left,m=this.startY-n.top,c=l.minWidth,h=l.minHeight,a.x>0?s=a.y>0?se:de:a.x<0&&(u-=c,s=a.y>0?re:le),a.y<0&&(m-=h),this.isCropped||(this.$cropBox.removeClass(P),this.isCropped=!0,this.limited&&this.limitCropBox(!0,!0))}w&&(l.width=c,l.height=h,l.left=u,l.top=m,this.action=s,this.renderCropBox()),this.startX=this.endX,this.startY=this.endY},crop:function(){this.isBuilt&&!this.isDisabled&&(this.isCropped||(this.isCropped=!0,this.limitCropBox(!0,!0),this.options.modal&&this.$dragBox.addClass(M),this.$cropBox.removeClass(P)),this.setCropBoxData(this.initialCropBox))},reset:function(){this.isBuilt&&!this.isDisabled&&(this.image=e.extend({},this.initialImage),this.canvas=e.extend({},this.initialCanvas),this.cropBox=e.extend({},this.initialCropBox),this.renderCanvas(),this.isCropped&&this.renderCropBox())},clear:function(){this.isCropped&&!this.isDisabled&&(e.extend(this.cropBox,{left:0,top:0,width:0,height:0}),this.isCropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),this.$dragBox.removeClass(M),this.$cropBox.addClass(P))},replace:function(e,t){!this.isDisabled&&e&&(this.isImg&&this.$element.attr("src",e),t?(this.url=e,this.$clone.attr("src",e),this.isBuilt&&this.$preview.find("img").add(this.$clone2).attr("src",e)):(this.isImg&&(this.isReplaced=!0),this.options.data=null,this.load(e)))},enable:function(){this.isBuilt&&(this.isDisabled=!1,this.$cropper.removeClass(_))},disable:function(){this.isBuilt&&(this.isDisabled=!0,this.$cropper.addClass(_))},destroy:function(){var e=this.$element;this.isLoaded?(this.isImg&&this.isReplaced&&e.attr("src",this.originalUrl),this.unbuild(),e.removeClass(P)):this.isImg?e.off(z,this.start):this.$clone&&this.$clone.remove(),e.removeData(T)},move:function(e,t){var a=this.canvas;this.moveTo(n(e)?e:a.left+ve(e),n(t)?t:a.top+ve(t))},moveTo:function(e,a){var i=this.canvas,o=!1;n(a)&&(a=e),e=ve(e),a=ve(a),this.isBuilt&&!this.isDisabled&&this.options.movable&&(t(e)&&(i.left=e,o=!0),t(a)&&(i.top=a,o=!0),o&&this.renderCanvas(!0))},zoom:function(e,t){var n=this.canvas;e=ve(e),e=0>e?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,t)},zoomTo:function(e,t){var n,a,i,o,s,r=this.options,d=this.canvas,l=d.width,c=d.height,h=d.naturalWidth,m=d.naturalHeight;if(e=ve(e),e>=0&&this.isBuilt&&!this.isDisabled&&r.zoomable){if(a=h*e,i=m*e,t&&(n=t.originalEvent),this.trigger(q,{originalEvent:n,oldRatio:l/h,ratio:a/h}).isDefaultPrevented())return;n?(o=this.$cropper.offset(),s=n.touches?u(n.touches):{pageX:t.pageX||n.pageX||0,pageY:t.pageY||n.pageY||0},d.left-=(a-l)*((s.pageX-o.left-d.left)/l),d.top-=(i-c)*((s.pageY-o.top-d.top)/c)):(d.left-=(a-l)/2,d.top-=(i-c)/2),d.width=a,d.height=i,this.renderCanvas(!0)}},rotate:function(e){this.rotateTo((this.image.rotate||0)+ve(e))},rotateTo:function(e){e=ve(e),t(e)&&this.isBuilt&&!this.isDisabled&&this.options.rotatable&&(this.image.rotate=e%360,this.isRotated=!0,this.renderCanvas(!0))},scale:function(e,a){var i=this.image,o=!1;n(a)&&(a=e),e=ve(e),a=ve(a),this.isBuilt&&!this.isDisabled&&this.options.scalable&&(t(e)&&(i.scaleX=e,o=!0),t(a)&&(i.scaleY=a,o=!0),o&&this.renderImage(!0))},scaleX:function(e){var n=this.image.scaleY;this.scale(e,t(n)?n:1)},scaleY:function(e){var n=this.image.scaleX;this.scale(t(n)?n:1,e)},getData:function(t){var n,a,i=this.options,o=this.image,s=this.canvas,r=this.cropBox;return this.isBuilt&&this.isCropped?(a={x:r.left-s.left,y:r.top-s.top,width:r.width,height:r.height},n=o.width/o.naturalWidth,e.each(a,function(e,i){i/=n,a[e]=t?Ce(i):i})):a={x:0,y:0,width:0,height:0},i.rotatable&&(a.rotate=o.rotate||0),i.scalable&&(a.scaleX=o.scaleX||1,a.scaleY=o.scaleY||1),a},setData:function(n){var a,i,o,s=this.options,r=this.image,d=this.canvas,l={};e.isFunction(n)&&(n=n.call(this.element)),this.isBuilt&&!this.isDisabled&&e.isPlainObject(n)&&(s.rotatable&&t(n.rotate)&&n.rotate!==r.rotate&&(r.rotate=n.rotate,this.isRotated=a=!0),s.scalable&&(t(n.scaleX)&&n.scaleX!==r.scaleX&&(r.scaleX=n.scaleX,i=!0),t(n.scaleY)&&n.scaleY!==r.scaleY&&(r.scaleY=n.scaleY,i=!0)),a?this.renderCanvas():i&&this.renderImage(),o=r.width/r.naturalWidth,t(n.x)&&(l.left=n.x*o+d.left),t(n.y)&&(l.top=n.y*o+d.top),t(n.width)&&(l.width=n.width*o),t(n.height)&&(l.height=n.height*o),this.setCropBoxData(l))},getContainerData:function(){return this.isBuilt?this.container:{}},getImageData:function(){return this.isLoaded?this.image:{}},getCanvasData:function(){var t=this.canvas,n={};return this.isBuilt&&e.each(["left","top","width","height","naturalWidth","naturalHeight"],function(e,a){n[a]=t[a]}),n},setCanvasData:function(n){var a=this.canvas,i=a.aspectRatio;e.isFunction(n)&&(n=n.call(this.$element)),this.isBuilt&&!this.isDisabled&&e.isPlainObject(n)&&(t(n.left)&&(a.left=n.left),t(n.top)&&(a.top=n.top),t(n.width)?(a.width=n.width,a.height=n.width/i):t(n.height)&&(a.height=n.height,a.width=n.height*i),this.renderCanvas(!0))},getCropBoxData:function(){var e,t=this.cropBox;return this.isBuilt&&this.isCropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(n){var a,i,o=this.cropBox,s=this.options.aspectRatio;e.isFunction(n)&&(n=n.call(this.$element)),this.isBuilt&&this.isCropped&&!this.isDisabled&&e.isPlainObject(n)&&(t(n.left)&&(o.left=n.left),t(n.top)&&(o.top=n.top),t(n.width)&&(a=!0,o.width=n.width),t(n.height)&&(i=!0,o.height=n.height),s&&(a?o.height=o.width/s:i&&(o.width=o.height*s)),this.renderCropBox())},getCroppedCanvas:function(t){var n,a,i,o,s,r,d,l,c,u,m;return this.isBuilt&&this.isCropped&&fe?(e.isPlainObject(t)||(t={}),m=this.getData(),n=m.width,a=m.height,l=n/a,e.isPlainObject(t)&&(s=t.width,r=t.height,s?(r=s/l,d=s/n):r&&(s=r*l,d=r/a)),i=xe(s||n),o=xe(r||a),c=e("<canvas>")[0],c.width=i,c.height=o,u=c.getContext("2d"),t.fillColor&&(u.fillStyle=t.fillColor,u.fillRect(0,0,i,o)),u.drawImage.apply(u,function(){var e,t,i,o,s,r,l=h(this.$clone[0],this.image),c=l.width,u=l.height,p=this.canvas,f=[l],g=m.x+p.naturalWidth*(we(m.scaleX||1)-1)/2,v=m.y+p.naturalHeight*(we(m.scaleY||1)-1)/2;return-n>=g||g>c?g=e=i=s=0:0>=g?(i=-g,g=0,e=s=be(c,n+g)):c>=g&&(i=0,e=s=be(n,c-g)),0>=e||-a>=v||v>u?v=t=o=r=0:0>=v?(o=-v,v=0,t=r=be(u,a+v)):u>=v&&(o=0,t=r=be(a,u-v)),f.push(xe(g),xe(v),xe(e),xe(t)),d&&(i*=d,o*=d,s*=d,r*=d),s>0&&r>0&&f.push(xe(i),xe(o),xe(s),xe(r)),f}.call(this)),c):void 0},setAspectRatio:function(e){var t=this.options;this.isDisabled||n(e)||(t.aspectRatio=ye(0,e)||NaN,this.isBuilt&&(this.initCropBox(),this.isCropped&&this.renderCropBox()))},setDragMode:function(e){var t,n,a=this.options;this.isLoaded&&!this.isDisabled&&(t=e===he,n=a.movable&&e===ue,e=t||n?e:pe,this.$dragBox.data(te,e).toggleClass(L,t).toggleClass(N,n),a.cropBoxMovable||this.$face.data(te,e).toggleClass(L,t).toggleClass(N,n))}},v.DEFAULTS={viewMode:0,dragMode:"crop",aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,build:null,built:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},v.setDefaults=function(t){e.extend(v.DEFAULTS,t)},v.TEMPLATE='<div class="cropper-container"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-action="e"></span><span class="cropper-line line-n" data-action="n"></span><span class="cropper-line line-w" data-action="w"></span><span class="cropper-line line-s" data-action="s"></span><span class="cropper-point point-e" data-action="e"></span><span class="cropper-point point-n" data-action="n"></span><span class="cropper-point point-w" data-action="w"></span><span class="cropper-point point-s" data-action="s"></span><span class="cropper-point point-ne" data-action="ne"></span><span class="cropper-point point-nw" data-action="nw"></span><span class="cropper-point point-sw" data-action="sw"></span><span class="cropper-point point-se" data-action="se"></span></div></div>',v.other=e.fn.cropper,e.fn.cropper=function(t){var i,o=a(arguments,1);return this.each(function(){var n,a,s=e(this),r=s.data(T);if(!r){if(/destroy/.test(t))return;n=e.extend({},s.data(),e.isPlainObject(t)&&t),s.data(T,r=new v(this,n))}"string"==typeof t&&e.isFunction(a=r[t])&&(i=a.apply(r,o))}),n(i)?this:i},e.fn.cropper.Constructor=v,e.fn.cropper.setDefaults=v.setDefaults,e.fn.cropper.noConflict=function(){return e.fn.cropper=v.other,this}}),/*=========================================
 * animatedModal.js: Version 1.0
 * author: Jo�o Pereira
 * website: http://www.joaopereira.pt
 * email: joaopereirawd@gmail.com
 * Licensed MIT 
=========================================*/
function(e){e.fn.animatedModal=function(t){function n(){d.css({"z-index":o.zIndexOut}),o.afterClose()}function a(){o.afterOpen()}var i=e(this),o=e.extend({modalTarget:"animatedModal",position:"fixed",width:"100%",height:"100%",top:"0px",left:"0px",zIndexIn:"9999",zIndexOut:"-9999",color:"#39BEB9",opacityIn:"1",opacityOut:"0",animatedIn:"zoomIn",animatedOut:"zoomOut",animationDuration:".6s",overflow:"auto",beforeOpen:function(){},afterOpen:function(){},beforeClose:function(){},afterClose:function(){}},t),s=e(".close-"+o.modalTarget),r=e(i).attr("href"),d=e("body").find("#"+o.modalTarget),l="#"+d.attr("id");d.addClass("animated"),d.addClass(o.modalTarget+"-off");var c={position:o.position,width:o.width,height:o.height,top:o.top,left:o.left,"background-color":o.color,"overflow-y":o.overflow,"z-index":o.zIndexOut,opacity:o.opacityOut,"-webkit-animation-duration":o.animationDuration,"-moz-animation-duration":o.animationDuration,"-ms-animation-duration":o.animationDuration,"animation-duration":o.animationDuration};d.css(c),i.click(function(t){t.preventDefault(),e("body, html").css({overflow:"hidden"}),r==l&&(d.hasClass(o.modalTarget+"-off")&&(d.removeClass(o.animatedOut),d.removeClass(o.modalTarget+"-off"),d.addClass(o.modalTarget+"-on")),d.hasClass(o.modalTarget+"-on")&&(o.beforeOpen(),d.css({opacity:o.opacityIn,"z-index":o.zIndexIn}),d.addClass(o.animatedIn),d.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",a)))}),s.click(function(t){t.preventDefault(),e("body, html").css({overflow:""}),o.beforeClose(),d.hasClass(o.modalTarget+"-on")&&(d.removeClass(o.modalTarget+"-on"),d.addClass(o.modalTarget+"-off")),d.hasClass(o.modalTarget+"-off")&&(d.removeClass(o.animatedIn),d.addClass(o.animatedOut),d.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",n))})}}(jQuery),!function(e,t,n,a){function i(t,n){this.settings=null,this.options=e.extend({},i.Defaults,n),this.$element=e(t),this.drag=e.extend({},u),this.state=e.extend({},m),this.e=e.extend({},p),this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._invalidated={},this._pipe=[],e.each(i.Plugins,e.proxy(function(e,t){this._plugins[e[0].toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(i.Pipe,e.proxy(function(t,n){this._pipe.push({filter:n.filter,run:e.proxy(n.run,this)})},this)),this.setup(),this.initialize()}function o(e){if(e.touches!==a)return{x:e.touches[0].pageX,y:e.touches[0].pageY};if(e.touches===a){if(e.pageX!==a)return{x:e.pageX,y:e.pageY};if(e.pageX===a)return{x:e.clientX,y:e.clientY}}}function s(e){var t,a,i=n.createElement("div"),o=e;for(t in o)if(a=o[t],"undefined"!=typeof i.style[a])return i=null,[a,t];return[!1]}function r(){return s(["transition","WebkitTransition","MozTransition","OTransition"])[1]}function d(){return s(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0]}function l(){return s(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0]}function c(){return"ontouchstart"in t||!!navigator.msMaxTouchPoints}function h(){return t.navigator.msPointerEnabled}var u,m,p;u={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},m={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},p={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null},i.Defaults={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"},i.Width={Default:"default",Inner:"inner",Outer:"outer"},i.Plugins={},i.Pipe=[{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var e=this._clones,t=this.$stage.children(".cloned");(t.length!==e.length||!this.settings.loop&&e.length>0)&&(this.$stage.children(".cloned").remove(),this._clones=[])}},{filter:["items","settings"],run:function(){var e,t,n=this._clones,a=this._items,i=this.settings.loop?n.length-Math.max(2*this.settings.items,4):0;for(e=0,t=Math.abs(i/2);t>e;e++)i>0?(this.$stage.children().eq(a.length+n.length-1).remove(),n.pop(),this.$stage.children().eq(0).remove(),n.pop()):(n.push(n.length/2),this.$stage.append(a[n[n.length-1]].clone().addClass("cloned")),n.push(a.length-1-(n.length-1)/2),this.$stage.prepend(a[n[n.length-1]].clone().addClass("cloned")))}},{filter:["width","items","settings"],run:function(){var e,t,n,a=this.settings.rtl?1:-1,i=(this.width()/this.settings.items).toFixed(3),o=0;for(this._coordinates=[],t=0,n=this._clones.length+this._items.length;n>t;t++)e=this._mergers[this.relative(t)],e=this.settings.mergeFit&&Math.min(e,this.settings.items)||e,o+=(this.settings.autoWidth?this._items[this.relative(t)].width()+this.settings.margin:i*e)*a,this._coordinates.push(o)}},{filter:["width","items","settings"],run:function(){var t,n,a=(this.width()/this.settings.items).toFixed(3),i={width:Math.abs(this._coordinates[this._coordinates.length-1])+2*this.settings.stagePadding,"padding-left":this.settings.stagePadding||"","padding-right":this.settings.stagePadding||""};if(this.$stage.css(i),i={width:this.settings.autoWidth?"auto":a-this.settings.margin},i[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin,!this.settings.autoWidth&&e.grep(this._mergers,function(e){return e>1}).length>0)for(t=0,n=this._coordinates.length;n>t;t++)i.width=Math.abs(this._coordinates[t])-Math.abs(this._coordinates[t-1]||0)-this.settings.margin,this.$stage.children().eq(t).css(i);else this.$stage.children().css(i)}},{filter:["width","items","settings"],run:function(e){e.current&&this.reset(this.$stage.children().index(e.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var e,t,n,a,i=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,s=this.coordinates(this.current())+o,r=s+this.width()*i,d=[];for(n=0,a=this._coordinates.length;a>n;n++)e=this._coordinates[n-1]||0,t=Math.abs(this._coordinates[n])+o*i,(this.op(e,"<=",s)&&this.op(e,">",r)||this.op(t,"<",s)&&this.op(t,">",r))&&d.push(n);this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass),this.$stage.children(":eq("+d.join("), :eq(")+")").addClass(this.settings.activeClass),this.settings.center&&(this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass),this.$stage.children().eq(this.current()).addClass(this.settings.centerClass))}}],i.prototype.initialize=function(){if(this.trigger("initialize"),this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl),this.browserSupport(),this.settings.autoWidth&&this.state.imagesLoaded!==!0){var t,n,i;if(t=this.$element.find("img"),n=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,i=this.$element.children(n).width(),t.length&&0>=i)return this.preloadAutoWidthImages(t),!1}this.$element.addClass("owl-loading"),this.$stage=e("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('<div class="owl-stage-outer">'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},i.prototype.setup=function(){var t=this.viewport(),n=this.options.responsive,a=-1,i=null;n?(e.each(n,function(e){t>=e&&e>a&&(a=Number(e))}),i=e.extend({},this.options,n[a]),delete i.responsive,i.responsiveClass&&this.$element.attr("class",function(e,t){return t.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+a)):i=e.extend({},this.options),(null===this.settings||this._breakpoint!==a)&&(this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=a,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},i.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center),this.settings.loop&&this._items.length<this.settings.items&&(this.settings.loop=!1),this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},i.prototype.prepare=function(t){var n=this.trigger("prepare",{content:t});return n.data||(n.data=e("<"+this.settings.itemElement+"/>").addClass(this.settings.itemClass).append(t)),this.trigger("prepared",{content:n.data}),n.data},i.prototype.update=function(){for(var t=0,n=this._pipe.length,a=e.proxy(function(e){return this[e]},this._invalidated),i={};n>t;)(this._invalidated.all||e.grep(this._pipe[t].filter,a).length>0)&&this._pipe[t].run(i),t++;this._invalidated={}},i.prototype.width=function(e){switch(e=e||i.Width.Default){case i.Width.Inner:case i.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},i.prototype.refresh=function(){return 0!==this._items.length&&((new Date).getTime(),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$stage.addClass("owl-refresh"),this.update(),this.$stage.removeClass("owl-refresh"),this.state.orientation=t.orientation,this.watchVisibility(),this.trigger("refreshed"),void 0)},i.prototype.eventsCall=function(){this.e._onDragStart=e.proxy(function(e){this.onDragStart(e)},this),this.e._onDragMove=e.proxy(function(e){this.onDragMove(e)},this),this.e._onDragEnd=e.proxy(function(e){this.onDragEnd(e)},this),this.e._onResize=e.proxy(function(e){this.onResize(e)},this),this.e._transitionEnd=e.proxy(function(e){this.transitionEnd(e)},this),this.e._preventClick=e.proxy(function(e){this.preventClick(e)},this)},i.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)},i.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!this.trigger("resize").isDefaultPrevented()&&(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized"))))},i.prototype.eventsRouter=function(e){var t=e.type;"mousedown"===t||"touchstart"===t?this.onDragStart(e):"mousemove"===t||"touchmove"===t?this.onDragMove(e):"mouseup"===t||"touchend"===t?this.onDragEnd(e):"touchcancel"===t&&this.onDragEnd(e)},i.prototype.internalEvents=function(){var n=(c(),h());this.settings.mouseDrag?(this.$stage.on("mousedown",e.proxy(function(e){this.eventsRouter(e)},this)),this.$stage.on("dragstart",function(){return!1}),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addClass("owl-text-select-on"),this.settings.touchDrag&&!n&&this.$stage.on("touchstart touchcancel",e.proxy(function(e){this.eventsRouter(e)},this)),this.transitionEndVendor&&this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,!1),this.settings.responsive!==!1&&this.on(t,"resize",e.proxy(this.onThrottledResize,this))},i.prototype.onDragStart=function(a){var i,s,r,d;if(i=a.originalEvent||a||t.event,3===i.which||this.state.isTouch)return!1;if("mousedown"===i.type&&this.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.speed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,s=o(i).x,r=o(i).y,this.drag.offsetX=this.$stage.position().left,this.drag.offsetY=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inMotion&&this.support3d)d=this.getTransformProperty(),this.drag.offsetX=d,this.animate(d),this.state.inMotion=!0;else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1,!1;this.drag.startX=s-this.drag.offsetX,this.drag.startY=r-this.drag.offsetY,this.drag.start=s-this.drag.startX,this.drag.targetEl=i.target||i.srcElement,this.drag.updatedX=this.drag.start,("IMG"===this.drag.targetEl.tagName||"A"===this.drag.targetEl.tagName)&&(this.drag.targetEl.draggable=!1),e(n).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",e.proxy(function(e){this.eventsRouter(e)},this))},i.prototype.onDragMove=function(e){var n,i,s,r,d,l;this.state.isTouch&&(this.state.isScrolling||(n=e.originalEvent||e||t.event,i=o(n).x,s=o(n).y,this.drag.currentX=i-this.drag.startX,this.drag.currentY=s-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(r=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),d=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),l=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,r+l),d+l)),(this.drag.distance>8||this.drag.distance<-8)&&(n.preventDefault!==a?n.preventDefault():n.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(this.drag.currentY>16||this.drag.currentY<-16)&&this.state.isSwiping===!1&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},i.prototype.onDragEnd=function(t){var a,i,o;if(this.state.isTouch){if("mouseup"===t.type&&this.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&this.state.inMotion!==!0)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime(),a=this.drag.endTime-this.drag.startTime,i=Math.abs(this.drag.distance),(i>3||a>300)&&this.removeClick(this.drag.targetEl),o=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(o),this.invalidate("position"),this.update(),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(o)||this.transitionEnd(),this.drag.distance=0,e(n).off(".owl.dragEvents")}},i.prototype.removeClick=function(n){this.drag.targetEl=n,e(n).on("click.preventClick",this.e._preventClick),t.setTimeout(function(){e(n).off("click.preventClick")},300)},i.prototype.preventClick=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),e(t.target).off("click.preventClick")},i.prototype.getTransformProperty=function(){var e,n;return e=t.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform"),e=e.replace(/matrix(3d)?\(|\)/g,"").split(","),n=16===e.length,n!==!0?e[4]:e[12]},i.prototype.closest=function(t){var n=-1,a=30,i=this.width(),o=this.coordinates();return this.settings.freeDrag||e.each(o,e.proxy(function(e,s){return t>s-a&&s+a>t?n=e:this.op(t,"<",s)&&this.op(t,">",o[e+1]||s-i)&&(n="left"===this.state.direction?e+1:e),-1===n},this)),this.settings.loop||(this.op(t,">",o[this.minimum()])?n=t=this.minimum():this.op(t,"<",o[this.maximum()])&&(n=t=this.maximum())),n},i.prototype.animate=function(t){this.trigger("translate"),this.state.inMotion=this.speed()>0,this.support3d?this.$stage.css({transform:"translate3d("+t+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.$stage.css({left:t+"px"}):this.$stage.animate({left:t},this.speed()/1e3,this.settings.fallbackEasing,e.proxy(function(){this.state.inMotion&&this.transitionEnd()},this))},i.prototype.current=function(e){if(e===a)return this._current;if(0===this._items.length)return a;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==a&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},i.prototype.invalidate=function(e){this._invalidated[e]=!0},i.prototype.reset=function(e){e=this.normalize(e),e!==a&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},i.prototype.normalize=function(t,n){var i=n?this._items.length:this._items.length+this._clones.length;return!e.isNumeric(t)||1>i?a:t=this._clones.length?(t%i+i)%i:Math.max(this.minimum(n),Math.min(this.maximum(n),t))},i.prototype.relative=function(e){return e=this.normalize(e),e-=this._clones.length/2,this.normalize(e,!0)},i.prototype.maximum=function(e){var t,n,a,i=0,o=this.settings;if(e)return this._items.length-1;if(!o.loop&&o.center)t=this._items.length-1;else if(o.loop||o.center)if(o.loop||o.center)t=this._items.length+o.items;else{if(!o.autoWidth&&!o.merge)throw"Can not detect maximum absolute position.";for(revert=o.rtl?1:-1,n=this.$stage.width()-this.$element.width();(a=this.coordinates(i))&&!(a*revert>=n);)t=++i}else t=this._items.length-o.items;return t},i.prototype.minimum=function(e){return e?0:this._clones.length/2},i.prototype.items=function(e){return e===a?this._items.slice():(e=this.normalize(e,!0),this._items[e])},i.prototype.mergers=function(e){return e===a?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},i.prototype.clones=function(t){var n=this._clones.length/2,i=n+this._items.length,o=function(e){return e%2===0?i+e/2:n-(e+1)/2};return t===a?e.map(this._clones,function(e,t){return o(t)}):e.map(this._clones,function(e,n){return e===t?o(n):null})},i.prototype.speed=function(e){return e!==a&&(this._speed=e),this._speed},i.prototype.coordinates=function(t){var n=null;return t===a?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(n=this._coordinates[t],n+=(this.width()-n+(this._coordinates[t-1]||0))/2*(this.settings.rtl?-1:1)):n=this._coordinates[t-1]||0,n)},i.prototype.duration=function(e,t,n){return Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(n||this.settings.smartSpeed)},i.prototype.to=function(n,a){if(this.settings.loop){var i=n-this.relative(this.current()),o=this.current(),s=this.current(),r=this.current()+i,d=0>s-r,l=this._clones.length+this._items.length;r<this.settings.items&&d===!1?(o=s+this._items.length,this.reset(o)):r>=l-this.settings.items&&d===!0&&(o=s-this._items.length,this.reset(o)),t.clearTimeout(this.e._goToLoop),this.e._goToLoop=t.setTimeout(e.proxy(function(){this.speed(this.duration(this.current(),o+i,a)),this.current(o+i),this.update()},this),30)}else this.speed(this.duration(this.current(),n,a)),this.current(n),this.update()},i.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},i.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},i.prototype.transitionEnd=function(e){return(e===a||(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)===this.$stage.get(0)))&&(this.state.inMotion=!1,void this.trigger("translated"))},i.prototype.viewport=function(){var a;if(this.options.responsiveBaseElement!==t)a=e(this.options.responsiveBaseElement).width();else if(t.innerWidth)a=t.innerWidth;else{if(!n.documentElement||!n.documentElement.clientWidth)throw"Can not detect viewport width.";a=n.documentElement.clientWidth}return a},i.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(e.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},i.prototype.add=function(e,t){t=t===a?this._items.length:this.normalize(t,!0),this.trigger("add",{content:e,position:t}),0===this._items.length||t===this._items.length?(this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[t].before(e),this._items.splice(t,0,e),this._mergers.splice(t,0,1*e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:e,position:t})},i.prototype.remove=function(e){e=this.normalize(e,!0),e!==a&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},i.prototype.addTriggerableEvents=function(){var t=e.proxy(function(t,n){return e.proxy(function(e){e.relatedTarget!==this&&(this.suppress([n]),t.apply(this,[].slice.call(arguments,1)),this.release([n]))},this)},this);e.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},e.proxy(function(e,n){this.$element.on(e+".owl.carousel",t(n,e+".owl.carousel"))},this))},i.prototype.watchVisibility=function(){function n(e){return e.offsetWidth>0&&e.offsetHeight>0}function a(){n(this.$element.get(0))&&(this.$element.removeClass("owl-hidden"),this.refresh(),t.clearInterval(this.e._checkVisibile))}n(this.$element.get(0))||(this.$element.addClass("owl-hidden"),t.clearInterval(this.e._checkVisibile),this.e._checkVisibile=t.setInterval(e.proxy(a,this),500))},i.prototype.preloadAutoWidthImages=function(t){var n,a,i,o;n=0,a=this,t.each(function(s,r){i=e(r),o=new Image,o.onload=function(){n++,i.attr("src",o.src),i.css("opacity",1),n>=t.length&&(a.state.imagesLoaded=!0,a.initialize())},o.src=i.attr("src")||i.attr("data-src")||i.attr("data-src-retina")})},i.prototype.destroy=function(){this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),this.settings.responsive!==!1&&e(t).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd);for(var a in this._plugins)this._plugins[a].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),e(n).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()},i.prototype.op=function(e,t,n){var a=this.settings.rtl;switch(t){case"<":return a?e>n:n>e;case">":return a?n>e:e>n;case">=":return a?n>=e:e>=n;case"<=":return a?e>=n:n>=e}},i.prototype.on=function(e,t,n,a){e.addEventListener?e.addEventListener(t,n,a):e.attachEvent&&e.attachEvent("on"+t,n)},i.prototype.off=function(e,t,n,a){e.removeEventListener?e.removeEventListener(t,n,a):e.detachEvent&&e.detachEvent("on"+t,n)},i.prototype.trigger=function(t,n,a){var i={item:{count:this._items.length,index:this.current()}},o=e.camelCase(e.grep(["on",t,a],function(e){return e}).join("-").toLowerCase()),s=e.Event([t,"owl",a||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},i,n));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(s)}),this.$element.trigger(s),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].apply(this,s)),s},i.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},i.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},i.prototype.browserSupport=function(){if(this.support3d=l(),this.support3d){this.transformVendor=d();var e=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"];this.transitionEndVendor=e[r()],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=t.orientation},e.fn.owlCarousel=function(t){return this.each(function(){e(this).data("owlCarousel")||e(this).data("owlCarousel",new i(this,t))})},e.fn.owlCarousel.Constructor=i}(window.Zepto||window.jQuery,window,document),function(e,t){var n=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var n=this._core.settings,a=n.center&&Math.ceil(n.items/2)||n.items,i=n.center&&-1*a||0,o=(t.property&&t.property.value||this._core.current())+i,s=this._core.clones().length,r=e.proxy(function(e,t){this.load(t)},this);i++<a;)this.load(s/2+this._core.relative(o)),s&&e.each(this._core.clones(this._core.relative(o++)),r)},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1},n.prototype.load=function(n){var a=this._core.$stage.children().eq(n),i=a&&a.find(".owl-lazy");!i||e.inArray(a.get(0),this._loaded)>-1||(i.each(e.proxy(function(n,a){var i,o=e(a),s=t.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:s},"lazy"),o.is("img")?o.one("load.owl.lazy",e.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:s},"lazy")},this)).attr("src",s):(i=new Image,i.onload=e.proxy(function(){o.css({"background-image":"url("+s+")",opacity:"1"}),this._core.trigger("loaded",{element:o,url:s},"lazy")},this),i.src=s)},this)),this._loaded.push(a.get(0)))},n.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(e){var t=function(n){this._core=n,this._handlers={"initialized.owl.carousel":e.proxy(function(){this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){this._core.settings.autoHeight&&"position"==e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())&&this.update()},this)},this._core.options=e.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)};t.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},t.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)},t.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=t}(window.Zepto||window.jQuery,window,document),function(e,t,n){var a=function(t){this._core=t,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":e.proxy(function(e){this._core.settings.video&&!this.isInFullScreen()&&e.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":e.proxy(function(){this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){var n=e(t.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,e(t.content)))},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};a.Defaults={video:!1,videoHeight:!1,videoWidth:!1},a.prototype.fetch=function(e,t){var n=e.attr("data-vimeo-id")?"vimeo":"youtube",a=e.attr("data-vimeo-id")||e.attr("data-youtube-id"),i=e.attr("data-width")||this._core.settings.videoWidth,o=e.attr("data-height")||this._core.settings.videoHeight,s=e.attr("href");if(!s)throw new Error("Missing video URL.");if(a=s.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),a[3].indexOf("youtu")>-1)n="youtube";else{if(!(a[3].indexOf("vimeo")>-1))throw new Error("Video URL not supported.");n="vimeo"}a=a[6],this._videos[s]={type:n,id:a,width:i,height:o},t.attr("data-video",s),this.thumbnail(e,this._videos[s])},a.prototype.thumbnail=function(t,n){var a,i,o,s=n.width&&n.height?'style="width:'+n.width+"px;height:"+n.height+'px;"':"",r=t.find("img"),d="src",l="",c=this._core.settings,h=function(e){i='<div class="owl-video-play-icon"></div>',a=c.lazyLoad?'<div class="owl-video-tn '+l+'" '+d+'="'+e+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+e+')"></div>',t.after(a),t.after(i)};return t.wrap('<div class="owl-video-wrapper"'+s+"></div>"),this._core.settings.lazyLoad&&(d="data-src",l="owl-lazy"),r.length?(h(r.attr(d)),r.remove(),!1):void("youtube"===n.type?(o="http://img.youtube.com/vi/"+n.id+"/hqdefault.jpg",h(o)):"vimeo"===n.type&&e.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){o=e[0].thumbnail_large,h(o)}}))},a.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},a.prototype.play=function(t){this._core.trigger("play",null,"video"),this._playing&&this.stop();var n,a,i=e(t.target||t.srcElement),o=i.closest("."+this._core.settings.itemClass),s=this._videos[o.attr("data-video")],r=s.width||"100%",d=s.height||this._core.$stage.height();"youtube"===s.type?n='<iframe width="'+r+'" height="'+d+'" src="http://www.youtube.com/embed/'+s.id+"?autoplay=1&v="+s.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===s.type&&(n='<iframe src="http://player.vimeo.com/video/'+s.id+'?autoplay=1" width="'+r+'" height="'+d+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),o.addClass("owl-video-playing"),this._playing=o,a=e('<div style="height:'+d+"px; width:"+r+'px" class="owl-video-frame">'+n+"</div>"),i.after(a)},a.prototype.isInFullScreen=function(){var a=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return a&&e(a).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),!(a&&this._fullscreen&&this._playing)&&(this._fullscreen?(this._fullscreen=!1,!1):!this._playing||this._core.state.orientation===t.orientation||(this._core.state.orientation=t.orientation,!1))},a.prototype.destroy=function(){var e,t;this._core.$element.off("click.owl.video");for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=a}(window.Zepto||window.jQuery,window,document),function(e,t,n,a){var i=function(t){this.core=t,this.core.options=e.extend({},i.Defaults,this.core.options),this.swapping=!0,this.previous=a,this.next=a,
this.handlers={"change.owl.carousel":e.proxy(function(e){"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){this.swapping="translated"==e.type},this),"translate.owl.carousel":e.proxy(function(){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};i.Defaults={animateOut:!1,animateIn:!1},i.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var t,n=e.proxy(this.clear,this),a=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),a.css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",n)),o&&i.addClass("animated owl-animated-in").addClass(o).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",n))}},i.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},i.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=i}(window.Zepto||window.jQuery,window,document),function(e,t,n){var a=function(t){this.core=t,this.core.options=e.extend({},a.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":e.proxy(function(){this.autoplay()},this),"play.owl.autoplay":e.proxy(function(e,t,n){this.play(t,n)},this),"stop.owl.autoplay":e.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};a.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},a.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(t.clearInterval(this.interval),this.interval=t.setInterval(e.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):t.clearInterval(this.interval)},a.prototype.play=function(){return n.hidden===!0||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:this.core.settings.autoplay===!1?void t.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},a.prototype.stop=function(){t.clearInterval(this.interval)},a.prototype.pause=function(){t.clearInterval(this.interval)},a.prototype.destroy=function(){var e,n;t.clearInterval(this.interval);for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=a}(window.Zepto||window.jQuery,window,document),function(e){"use strict";var t=function(n){this._core=n,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){this._core.settings.dotsData&&this._templates.push(e(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":e.proxy(function(t){this._core.settings.dotsData&&this._templates.splice(t.position,0,e(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":e.proxy(function(e){this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"change.owl.carousel":e.proxy(function(e){if("position"==e.property.name&&!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navRewind){var t=this._core.current(),n=this._core.maximum(),a=this._core.minimum();e.data=e.property.value>n?t>=n?a:n:e.property.value<a?n:e.property.value}},this),"changed.owl.carousel":e.proxy(function(e){"position"==e.property.name&&this.draw()},this),"refreshed.owl.carousel":e.proxy(function(){this._initialized||(this.initialize(),this._initialized=!0),this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation")},this)},this._core.options=e.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)};t.Defaults={nav:!1,navRewind:!0,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotData:!1,dotsSpeed:!1,dotsContainer:!1,controlsClass:"owl-controls"},t.prototype.initialize=function(){var t,n,a=this._core.settings;a.dotsData||(this._templates=[e("<div>").addClass(a.dotClass).append(e("<span>")).prop("outerHTML")]),a.navContainer&&a.dotsContainer||(this._controls.$container=e("<div>").addClass(a.controlsClass).appendTo(this.$element)),this._controls.$indicators=a.dotsContainer?e(a.dotsContainer):e("<div>").hide().addClass(a.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",e.proxy(function(t){var n=e(t.target).parent().is(this._controls.$indicators)?e(t.target).index():e(t.target).parent().index();t.preventDefault(),this.to(n,a.dotsSpeed)},this)),t=a.navContainer?e(a.navContainer):e("<div>").addClass(a.navContainerClass).prependTo(this._controls.$container),this._controls.$next=e("<"+a.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(a.navClass[0]).html(a.navText[0]).hide().prependTo(t).on("click",e.proxy(function(){this.prev(a.navSpeed)},this)),this._controls.$next.addClass(a.navClass[1]).html(a.navText[1]).hide().appendTo(t).on("click",e.proxy(function(){this.next(a.navSpeed)},this));for(n in this._overrides)this._core[n]=e.proxy(this[n],this)},t.prototype.destroy=function(){var e,t,n,a;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)this._controls[t].remove();for(a in this.overides)this._core[a]=this._overrides[a];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.prototype.update=function(){var e,t,n,a=this._core.settings,i=this._core.clones().length/2,o=i+this._core.items().length,s=a.center||a.autoWidth||a.dotData?1:a.dotsEach||a.items;if("page"!==a.slideBy&&(a.slideBy=Math.min(a.slideBy,a.items)),a.dots||"page"==a.slideBy)for(this._pages=[],e=i,t=0,n=0;o>e;e++)(t>=s||0===t)&&(this._pages.push({start:e-i,end:e-i+s-1}),t=0,++n),t+=this._core.mergers(this._core.relative(e))},t.prototype.draw=function(){var t,n,a="",i=this._core.settings,o=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!i.nav||i.loop||i.navRewind||(this._controls.$previous.toggleClass("disabled",0>=o),this._controls.$next.toggleClass("disabled",o>=this._core.maximum())),this._controls.$previous.toggle(i.nav),this._controls.$next.toggle(i.nav),i.dots){if(t=this._pages.length-this._controls.$indicators.children().length,i.dotData&&0!==t){for(n=0;n<this._controls.$indicators.children().length;n++)a+=this._templates[this._core.relative(n)];this._controls.$indicators.html(a)}else t>0?(a=new Array(t+1).join(this._templates[0]),this._controls.$indicators.append(a)):0>t&&this._controls.$indicators.children().slice(t).remove();this._controls.$indicators.find(".active").removeClass("active"),this._controls.$indicators.children().eq(e.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(i.dots)},t.prototype.onTrigger=function(t){var n=this._core.settings;t.page={index:e.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotData?1:n.dotsEach||n.items)}},t.prototype.current=function(){var t=this._core.relative(this._core.current());return e.grep(this._pages,function(e){return e.start<=t&&e.end>=t}).pop()},t.prototype.getPosition=function(t){var n,a,i=this._core.settings;return"page"==i.slideBy?(n=e.inArray(this.current(),this._pages),a=this._pages.length,t?++n:--n,n=this._pages[(n%a+a)%a].start):(n=this._core.relative(this._core.current()),a=this._core.items().length,t?n+=i.slideBy:n-=i.slideBy),n},t.prototype.next=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},t.prototype.prev=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},t.prototype.to=function(t,n,a){var i;a?e.proxy(this._overrides.to,this._core)(t,n):(i=this._pages.length,e.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,n))},e.fn.owlCarousel.Constructor.Plugins.Navigation=t}(window.Zepto||window.jQuery,window,document),function(e,t){"use strict";var n=function(a){this._core=a,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":e.proxy(function(){"URLHash"==this._core.settings.startPosition&&e(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":e.proxy(function(t){var n=e(t.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[n]=t.content},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),e(t).on("hashchange.owl.navigation",e.proxy(function(){var e=t.location.hash.substring(1),n=this._core.$stage.children(),a=this._hashes[e]&&n.index(this._hashes[e])||0;return!!e&&void this._core.to(a,!1,!0)},this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var n,a;e(t).off("hashchange.owl.navigation");for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(a in Object.getOwnPropertyNames(this))"function"!=typeof this[a]&&(this[a]=null)},e.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),/*! Embedly jQuery - v3.1.1 - 2013-06-05
 * https://github.com/embedly/embedly-jquery
 * Copyright (c) 2013 Sean Creeley
 * Licensed BSD
 */
function(e){var t={key:null,endpoint:"oembed",secure:null,query:{},method:"replace",addImageStyles:!0,wrapElement:"div",className:"embed",batch:20,urlRe:null},n=/(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/,a=function(e){return null===e||void 0===e},i=function(t,n){var a=[],i=[];return e.each(t,function(e,t){i.push(t),i.length===n&&(a.push(i),i=[])}),0!==i.length&&a.push(i),a},o=function(t){return a(t)?[]:e.isArray(t)?t:[t]},s=function(t){return e.map(t[0],function(n,a){return[e.map(t,function(e){return e[a]})]})},r=function(e,t,n){this.init(e,t,n)};r.prototype={init:function(t){this.urls=t,this.count=0,this.results={},this._deferred=e.Deferred()},notify:function(t){if(this.results[t.original_url]=t,this.count++,this._deferred.notify.apply(this._deferred,[t]),this.count===this.urls.length){var n=this,a=e.map(this.urls,function(e){return n.results[e]});this._deferred.resolve(a)}return this},state:function(){return this._deferred.state.apply(this._deferred,arguments)}},window.Keeper=r;var d=function(){};d.prototype={defaults:{},log:function(e,t){a(window.console)||a(window.console[e])||window.console[e].apply(window.console,[t])},build:function(t,n,i){i=a(i)?{}:i;var o=i.secure;a(o)&&(o="https:"===window.location.protocol);var s=(o?"https":"http")+"://api.embed.ly/"+("objectify"===t?"2/":"1/")+t,r=a(i.query)?{}:i.query;return r.key=i.key,s+="?"+e.param(r),s+="&urls="+e.map(n,encodeURIComponent).join(",")},ajax:function(d,l,c){if(c=e.extend({},t,e.embedly.defaults,"object"==typeof c&&c),a(c.key))return this.log("error","Embedly jQuery requires an API Key. Please sign up for one at http://embed.ly"),null;l=o(l);var h,u=new r(l),m=[],p=[];e.each(l,function(e,t){h=!1,n.test(t)&&(h=!0,null!==c.urlRe&&c.urlRe.test&&!c.urlRe.test(t)&&(h=!1)),h===!0?m.push(t):p.push({url:t,original_url:t,error:!0,invalid:!0,type:"error",error_message:'Invalid URL "'+t+'"'})});var f=i(m,c.batch),g=this;return e.each(f,function(t,n){e.ajax({url:g.build(d,n,c),dataType:"jsonp",success:function(t){e.each(s([n,t]),function(e,t){var n=t[1];n.original_url=t[0],n.invalid=!1,u.notify(n)})}})}),p.length&&setTimeout(function(){e.each(p,function(e,t){u.notify(t)})},1),u._deferred},oembed:function(e,t){return this.ajax("oembed",e,t)},preview:function(e,t){return this.ajax("preview",e,t)},objectify:function(e,t){return this.ajax("objectify",e,t)},extract:function(e,t){return this.ajax("extract",e,t)}};var l=function(){};l.prototype={build:function(t,n,i){i=e.extend({},e.embedly.defaults,"object"==typeof i&&i);var o=i.secure;a(o)&&(o="https:"===window.location.protocol);var s=(o?"https":"http")+"://i.embed.ly/"+("display"===t?"1/":"1/display/")+t,r=a(i.query)?{}:i.query;return r.key=i.key,s+="?"+e.param(r),s+="&url="+encodeURIComponent(n)},display:function(e,t){return this.build("display",e,t)},resize:function(e,t){return this.build("resize",e,t)},fill:function(e,t){return this.build("fill",e,t)},crop:function(e,t){return this.build("crop",e,t)}};var c=function(e,t,n){this.init(e,t,n)};c.prototype={init:function(t,n,a){this.elem=t,this.$elem=e(t),this.original_url=n,this.options=a,this.loaded=e.Deferred();var i=this;this.loaded.done(function(){i.$elem.trigger("loaded",[i])}),this.$elem.trigger("initialized",[this])},progress:function(t){e.extend(this,t),this.options.display?this.options.display.apply(this.elem,[this,this.elem]):"oembed"===this.options.endpoint&&this.display(),this.loaded.resolve(this)},imageStyle:function(){var e,t=[];return this.options.addImageStyles&&(this.options.query.maxwidth&&(e=isNaN(parseInt(this.options.query.maxwidth,10))?"":"px",t.push("max-width: "+this.options.query.maxwidth+e)),this.options.query.maxheight&&(e=isNaN(parseInt(this.options.query.maxheight,10))?"":"px",t.push("max-height: "+this.options.query.maxheight+e))),t.join(";")},display:function(){if("error"===this.type)return!1;this.style=this.imageStyle();var e;"photo"===this.type?(e="<a href='"+this.original_url+"' target='_blank'>",e+="<img style='"+this.style+"' src='"+this.url+"' alt='"+this.title+"' /></a>"):"video"===this.type||"rich"===this.type?e=this.html:(this.title=this.title||this.url,e=this.thumbnail_url?"<img src='"+this.thumbnail_url+"' class='thumb' style='"+this.style+"'/>":"",e+="<a href='"+this.original_url+"'>"+this.title+"</a>",e+=this.provider_name?"<a href='"+this.provider_url+"' class='provider'>"+this.provider_name+"</a>":"",e+=this.description?'<div class="description">'+this.description+"</div>":""),this.options.wrapElement&&(e="<"+this.options.wrapElement+' class="'+this.options.className+'">'+e+"</"+this.options.wrapElement+">"),this.code=e,"replace"===this.options.method?this.$elem.replaceWith(this.code):"after"===this.options.method?this.$elem.after(this.code):"afterParent"===this.options.method?this.$elem.parent().after(this.code):"replaceParent"===this.options.method&&this.$elem.parent().replaceWith(this.code),this.$elem.trigger("displayed",[this])}},e.embedly=new d,e.embedly.display=new l,e.fn.embedly=function(n){if(void 0===n||"object"==typeof n){if(n=e.extend({},t,e.embedly.defaults,"object"==typeof n&&n),a(n.key))return e.embedly.log("error","Embedly jQuery requires an API Key. Please sign up for one at http://embed.ly"),this.each(e.noop);var i={},o=function(t){if(!e.data(e(t),"embedly")){var a=e(t).attr("href"),o=new c(t,a,n);e.data(t,"embedly",o),i.hasOwnProperty(a)?i[a].push(o):i[a]=[o]}},s=this.each(function(){a(e(this).attr("href"))?e(this).find("a").each(function(){a(e(this).attr("href"))||o(this)}):o(this)}),r=e.embedly.ajax(n.endpoint,e.map(i,function(e,t){return t}),n).progress(function(t){e.each(i[t.original_url],function(e,n){n.progress(t)})});return n.progress&&r.progress(n.progress),n.done&&r.done(n.done),s}},e.expr[":"].embedly=function(t){return!a(e(t).data("embedly"))},e.fn.display=function(n,i){if(a(n)&&(n="display"),void 0===i||"object"==typeof i){if(i=e.extend({},t,e.embedly.defaults,"object"==typeof i&&i),a(i.key))return e.embedly.log("error","Embedly jQuery requires an API Key. Please sign up for one at http://embed.ly/display"),this.each(e.noop);var o=function(t){var a=e(t);if(!a.data("display")){var o=a.data("src")||a.attr("href"),s={original_url:o,url:e.embedly.display.build(n,o,i)};a.data("display",s),a.trigger("initialized",[t]);var r="<img src='"+s.url+"' />";a.is("a")?a.append(r):a.replaceWith(r)}},s=function(t){return!a(e(t).data("src"))||!a(e(t).attr("href"))},r=this.each(function(){s(this)?o(this):e(this).find("img,a").each(function(){s(this)&&o(this)})});return r}},e.expr[":"].display=function(t){return!a(e(t).data("display"))}}(jQuery,window),/*!
 * Masonry PACKAGED v4.0.0
 * Cascading grid layout library
 * http://masonry.desandro.com
 * MIT License
 * by David DeSandro
 */
!function(e,t){"use strict";"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(n){t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("jquery")):e.jQueryBridget=t(e,e.jQuery)}(window,function(e,t){"use strict";function n(n,o,r){function d(e,t,a){var i,o="$()."+n+'("'+t+'")';return e.each(function(e,d){var l=r.data(d,n);if(!l)return void s(n+" not initialized. Cannot call methods, i.e. "+o);var c=l[t];if(!c||"_"==t.charAt(0))return void s(o+" is not a valid method");var h=c.apply(l,a);i=void 0===i?h:i}),void 0!==i?i:e}function l(e,t){e.each(function(e,a){var i=r.data(a,n);i?(i.option(t),i._init()):(i=new o(a,t),r.data(a,n,i))})}r=r||t||e.jQuery,r&&(o.prototype.option||(o.prototype.option=function(e){r.isPlainObject(e)&&(this.options=r.extend(!0,this.options,e))}),r.fn[n]=function(e){if("string"==typeof e){var t=i.call(arguments,1);return d(this,e,t)}return l(this,e),this},a(r))}function a(e){!e||e&&e.bridget||(e.bridget=n)}var i=Array.prototype.slice,o=e.console,s="undefined"==typeof o?function(){}:function(e){o.error(e)};return a(t||e.jQuery),n}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}(this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},a=n[e]=n[e]||[];return-1==a.indexOf(t)&&a.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{},a=n[e]=n[e]||[];return a[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var a=n.indexOf(t);return-1!=a&&n.splice(a,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var a=0,i=n[a];t=t||[];for(var o=this._onceEvents&&this._onceEvents[e];i;){var s=o&&o[i];s&&(this.off(e,i),delete o[i]),i.apply(this,t),a+=s?0:1,i=n[a]}return this}},e}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return t()}):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,function(){"use strict";function e(e){var t=parseFloat(e),n=-1==e.indexOf("%")&&!isNaN(t);return n&&t}function t(){}function n(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;l>t;t++){var n=d[t];e[n]=0}return e}function a(e){var t=getComputedStyle(e);return t||r("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t}function i(){if(!c){c=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(t);var i=a(t);o.isBoxSizeOuter=s=200==e(i.width),n.removeChild(t)}}function o(t){if(i(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=a(t);if("none"==o.display)return n();var r={};r.width=t.offsetWidth,r.height=t.offsetHeight;for(var c=r.isBorderBox="border-box"==o.boxSizing,h=0;l>h;h++){var u=d[h],m=o[u],p=parseFloat(m);r[u]=isNaN(p)?0:p}var f=r.paddingLeft+r.paddingRight,g=r.paddingTop+r.paddingBottom,v=r.marginLeft+r.marginRight,b=r.marginTop+r.marginBottom,y=r.borderLeftWidth+r.borderRightWidth,w=r.borderTopWidth+r.borderBottomWidth,S=c&&s,k=e(o.width);k!==!1&&(r.width=k+(S?0:f+y));var A=e(o.height);return A!==!1&&(r.height=A+(S?0:g+w)),r.innerWidth=r.width-(f+y),r.innerHeight=r.height-(g+w),r.outerWidth=r.width+v,r.outerHeight=r.height+b,r}}var s,r="undefined"==typeof console?t:function(e){},d=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],l=d.length,c=!1;return o}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var e=function(){var e=Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var a=t[n],i=a+"MatchesSelector";if(e[i])return i}}();return function(t,n){return t[e](n)}}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["matches-selector/matches-selector"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("desandro-matches-selector")):e.fizzyUIUtils=t(e,e.matchesSelector)}(window,function(e,t){var n={};n.extend=function(e,t){for(var n in t)e[n]=t[n];return e},n.modulo=function(e,t){return(e%t+t)%t},n.makeArray=function(e){var t=[];if(Array.isArray(e))t=e;else if(e&&"number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e!=document.body;)if(e=e.parentNode,t(e,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,a){e=n.makeArray(e);var i=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!a)return void i.push(e);t(e,a)&&i.push(e);for(var n=e.querySelectorAll(a),o=0;o<n.length;o++)i.push(n[o])}}),i},n.debounceMethod=function(e,t,n){var a=e.prototype[t],i=t+"Timeout";e.prototype[t]=function(){var e=this[i];e&&clearTimeout(e);var t=arguments,o=this;this[i]=setTimeout(function(){a.apply(o,t),delete o[i]},n||100)}},n.docReady=function(e){"complete"==document.readyState?e():document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};var a=e.console;return n.htmlInit=function(t,i){n.docReady(function(){var o=n.toDashed(i),s="data-"+o,r=document.querySelectorAll("["+s+"]"),d=document.querySelectorAll(".js-"+o),l=n.makeArray(r).concat(n.makeArray(d)),c=s+"-options",h=e.jQuery;l.forEach(function(e){var n,o=e.getAttribute(s)||e.getAttribute(c);try{n=o&&JSON.parse(o)}catch(r){return void(a&&a.error("Error parsing "+s+" on "+e.className+": "+r))}var d=new t(e,n);h&&h.data(e,i,d)})})},n}),function(e,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],function(n,a){return t(e,n,a)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter"),require("get-size")):(e.Outlayer={},e.Outlayer.Item=t(e,e.EvEmitter,e.getSize))}(window,function(e,t,n){"use strict";function a(e){for(var t in e)return!1;return t=null,!0}function i(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}function o(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}var s=document.documentElement.style,r="string"==typeof s.transition?"transition":"WebkitTransition",d="string"==typeof s.transform?"transform":"WebkitTransform",l={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],c=[d,r,r+"Duration",r+"Property"],h=i.prototype=Object.create(t.prototype);h.constructor=i,h._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},h.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},h.getSize=function(){this.size=n(this.element)},h.css=function(e){var t=this.element.style;for(var n in e){var a=c[n]||n;t[a]=e[n]}},h.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),a=e[t?"left":"right"],i=e[n?"top":"bottom"],o=this.layout.size,s=-1!=a.indexOf("%")?parseFloat(a)/100*o.width:parseInt(a,10),r=-1!=i.indexOf("%")?parseFloat(i)/100*o.height:parseInt(i,10);s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=t?o.paddingLeft:o.paddingRight,r-=n?o.paddingTop:o.paddingBottom,this.position.x=s,this.position.y=r},h.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),a=this.layout._getOption("originTop"),i=n?"paddingLeft":"paddingRight",o=n?"left":"right",s=n?"right":"left",r=this.position.x+e[i];t[o]=this.getXValue(r),t[s]="";var d=a?"paddingTop":"paddingBottom",l=a?"top":"bottom",c=a?"bottom":"top",h=this.position.y+e[d];t[l]=this.getYValue(h),t[c]="",this.css(t),this.emitEvent("layout",[this])},h.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},h.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},h._transitionTo=function(e,t){this.getPosition();var n=this.position.x,a=this.position.y,i=parseInt(e,10),o=parseInt(t,10),s=i===this.position.x&&o===this.position.y;if(this.setPosition(e,t),s&&!this.isTransitioning)return void this.layoutPosition();var r=e-n,d=t-a,l={};l.transform=this.getTranslate(r,d),this.transition({to:l,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},h.getTranslate=function(e,t){var n=this.layout._getOption("originLeft"),a=this.layout._getOption("originTop");return e=n?e:-e,t=a?t:-t,"translate3d("+e+"px, "+t+"px, 0)"},h.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},h.moveTo=h._transitionTo,h.setPosition=function(e,t){this.position.x=parseInt(e,10),this.position.y=parseInt(t,10)},h._nonTransition=function(e){this.css(e.to),e.isCleaning&&this._removeStyles(e.to);for(var t in e.onTransitionEnd)e.onTransitionEnd[t].call(this)},h._transition=function(e){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(e);var t=this._transn;for(var n in e.onTransitionEnd)t.onEnd[n]=e.onTransitionEnd[n];for(n in e.to)t.ingProperties[n]=!0,e.isCleaning&&(t.clean[n]=!0);if(e.from){this.css(e.from);var a=this.element.offsetHeight;a=null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0};var u="opacity,"+o(c.transform||"transform");h.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:u,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(l,this,!1))},h.transition=i.prototype[r?"_transition":"_nonTransition"],h.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},h.onotransitionend=function(e){this.ontransitionend(e)};var m={"-webkit-transform":"transform"};h.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,n=m[e.propertyName]||e.propertyName;if(delete t.ingProperties[n],a(t.ingProperties)&&this.disableTransition(),n in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[n]),n in t.onEnd){var i=t.onEnd[n];i.call(this),delete t.onEnd[n]}this.emitEvent("transitionEnd",[this])}},h.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(l,this,!1),this.isTransitioning=!1},h._removeStyles=function(e){var t={};for(var n in e)t[n]="";this.css(t)};var p={transitionProperty:"",transitionDuration:""};return h.removeTransitionStyles=function(){this.css(p)},h.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},h.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},h.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={},n=this.getHideRevealTransitionEndProperty("visibleStyle");t[n]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},h.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},h.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var n in t)return n},h.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={},n=this.getHideRevealTransitionEndProperty("hiddenStyle");t[n]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},h.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},h.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(n,a,i,o){return t(e,n,a,i,o)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):e.Outlayer=t(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,e.Outlayer.Item)}(window,function(e,t,n,a,i){"use strict";function o(e,t){var n=a.getQueryElement(e);if(!n)return void(r&&r.error("Bad element for "+this.constructor.namespace+": "+(n||e)));this.element=n,d&&(this.$element=d(this.element)),this.options=a.extend({},this.constructor.defaults),this.option(t);var i=++c;this.element.outlayerGUID=i,h[i]=this,this._create();var o=this._getOption("initLayout");o&&this.layout()}function s(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}var r=e.console,d=e.jQuery,l=function(){},c=0,h={};o.namespace="outlayer",o.Item=i,o.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=o.prototype;return a.extend(u,t.prototype),u.option=function(e){a.extend(this.options,e)},u._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},o.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),a.extend(this.element.style,this.options.containerStyle);var e=this._getOption("resize");e&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,a=[],i=0;i<t.length;i++){var o=t[i],s=new n(o,this);a.push(s)}return a},u._filterFindItemElements=function(e){return a.filterFindElements(e,this.options.itemSelector)},u.getItemElements=function(){return this.items.map(function(e){return e.element})},u.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=n(this.element)},u._getMeasurement=function(e,t){var a,i=this.options[e];i?("string"==typeof i?a=this.element.querySelector(i):i instanceof HTMLElement&&(a=i),this[e]=a?n(a)[t]:i):this[e]=0},u.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},u._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},u._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var n=[];e.forEach(function(e){var a=this._getItemLayoutPosition(e);a.item=e,a.isInstant=t||e.isLayoutInstant,n.push(a)},this),this._processLayoutQueue(n)}},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(e){e.forEach(function(e){this._positionItem(e.item,e.x,e.y,e.isInstant)},this)},u._positionItem=function(e,t,n,a){a?e.goTo(t,n):e.moveTo(t,n)},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){var e=this._getOption("resizeContainer");if(e){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},u._getContainerSize=l,u._setContainerMeasure=function(e,t){if(void 0!==e){var n=this.size;n.isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},u._emitCompleteOnItems=function(e,t){function n(){i.dispatchEvent(e+"Complete",null,[t])}function a(){s++,s==o&&n()}var i=this,o=t.length;if(!t||!o)return void n();var s=0;t.forEach(function(t){t.once(e,a)})},u.dispatchEvent=function(e,t,n){var a=t?[t].concat(n):n;if(this.emitEvent(e,a),d)if(this.$element=this.$element||d(this.element),t){var i=d.Event(t);i.type=e,this.$element.trigger(i,n)}else this.$element.trigger(e,n)},u.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},u.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},u.stamp=function(e){e=this._find(e),e&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},u.unstamp=function(e){e=this._find(e),e&&e.forEach(function(e){a.removeFrom(this.stamps,e),this.unignore(e)},this)},u._find=function(e){return e?("string"==typeof e&&(e=this.element.querySelectorAll(e)),e=a.makeArray(e)):void 0},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},u._manageStamp=l,u._getElementOffset=function(e){var t=e.getBoundingClientRect(),a=this._boundingRect,i=n(e),o={left:t.left-a.left-i.marginLeft,top:t.top-a.top-i.marginTop,right:a.right-t.right-i.marginRight,bottom:a.bottom-t.bottom-i.marginBottom};return o},u.handleEvent=a.handleEvent,u.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},a.debounceMethod(o,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var e=n(this.element),t=this.size&&e;return t&&e.innerWidth!==this.size.innerWidth},u.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},u.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},u.prepended=function(e){var t=this._itemize(e);if(t.length){var n=this.items.slice(0);this.items=t.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(n)}},u.reveal=function(e){this._emitCompleteOnItems("reveal",e),e&&e.length&&e.forEach(function(e){e.reveal()})},u.hide=function(e){this._emitCompleteOnItems("hide",e),e&&e.length&&e.forEach(function(e){e.hide()})},u.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},u.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},u.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},u.getItems=function(e){e=a.makeArray(e);var t=[];return e.forEach(function(e){var n=this.getItem(e);n&&t.push(n)},this),t},u.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),a.removeFrom(this.items,e)},this)},u.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete h[t],delete this.element.outlayerGUID,d&&d.removeData(this.element,this.constructor.namespace)},o.data=function(e){e=a.getQueryElement(e);var t=e&&e.outlayerGUID;return t&&h[t]},o.create=function(e,t){var n=s(o);return n.defaults=a.extend({},o.defaults),a.extend(n.defaults,t),n.compatOptions=a.extend({},o.compatOptions),n.namespace=e,n.data=o.data,n.Item=s(i),a.htmlInit(n,e),d&&d.bridget&&d.bridget(e,n),n},o.Item=i,o}),function(e,t){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):e.Masonry=t(e.Outlayer,e.getSize)}(window,function(e,t){var n=e.create("masonry");return n.compatOptions.fitWidth="isFitWidth",n.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0},n.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],n=e&&e.element;this.columnWidth=n&&t(n).outerWidth||this.containerWidth}var a=this.columnWidth+=this.gutter,i=this.containerWidth+this.gutter,o=i/a,s=a-i%a,r=s&&1>s?"round":"floor";o=Math[r](o),this.cols=Math.max(o,1)},n.prototype.getContainerWidth=function(){var e=this._getOption("fitWidth"),n=e?this.element.parentNode:this.element,a=t(n);this.containerWidth=a&&a.innerWidth},n.prototype._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,n=t&&1>t?"round":"ceil",a=Math[n](e.size.outerWidth/this.columnWidth);a=Math.min(a,this.cols);for(var i=this._getColGroup(a),o=Math.min.apply(Math,i),s=i.indexOf(o),r={x:this.columnWidth*s,y:o},d=o+e.size.outerHeight,l=this.cols+1-i.length,c=0;l>c;c++)this.colYs[s+c]=d;return r},n.prototype._getColGroup=function(e){if(2>e)return this.colYs;for(var t=[],n=this.cols+1-e,a=0;n>a;a++){var i=this.colYs.slice(a,a+e);t[a]=Math.max.apply(Math,i)}return t},n.prototype._manageStamp=function(e){var n=t(e),a=this._getElementOffset(e),i=this._getOption("originLeft"),o=i?a.left:a.right,s=o+n.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var d=Math.floor(s/this.columnWidth);d-=s%this.columnWidth?0:1,d=Math.min(this.cols-1,d);for(var l=this._getOption("originTop"),c=(l?a.top:a.bottom)+n.outerHeight,h=r;d>=h;h++)this.colYs[h]=Math.max(c,this.colYs[h])},n.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},n.prototype._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},n.prototype.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n}),/* Project: Bootstrap Growl - v2.0.1 | Author: Mouse0270 aka Robert McIntosh | License: MIT License | Website: https://github.com/mouse0270/bootstrap-growl */
function(e,t,n,a){var i="growl",o={element:"body",type:"info",allow_dismiss:!0,placement:{from:"top",align:"right"},offset:20,spacing:10,z_index:1031,delay:5e3,timer:1e3,url_target:"_blank",mouse_over:!1,animate:{enter:"animated fadeInDown",exit:"animated fadeOutUp"},onShow:null,onShown:null,onHide:null,onHidden:null,icon_type:"class",template:'<div data-growl="container" class="alert" role="alert"><button type="button" aria-hidden="true" class="close" data-growl="dismiss">&times;</button><span data-growl="icon"></span><span data-growl="title"></span><span data-growl="message"></span><a href="#" data-growl="url"></a></div>'},s=function(t,n){o=e.extend(!0,{},o,n)},r=function(t){t?e('[data-growl="container"][data-growl-position="'+t+'"]').find('[data-growl="dismiss"]').trigger("click"):e('[data-growl="container"]').find('[data-growl="dismiss"]').trigger("click")},d=function(t,n,a){var n={content:{message:"object"==typeof n?n.message:n,title:n.title?n.title:null,icon:n.icon?n.icon:null,url:n.url?n.url:null}};a=e.extend(!0,{},n,a),this.settings=e.extend(!0,{},o,a),plugin=this,l(a,this.settings,plugin),this.$template=$template},l=function(e,t,n){var a={settings:t,element:t.element,template:t.template};"number"==typeof t.offset&&(t.offset={x:t.offset,y:t.offset}),$template=c(a),h($template,a.settings),u($template,a.settings),m($template,a.settings,n)},c=function(t){var n=e(t.settings.template);return n.addClass("alert-"+t.settings.type),n.attr("data-growl-position",t.settings.placement.from+"-"+t.settings.placement.align),n.find('[data-growl="dismiss"]').css("display","none"),n.removeClass("alert-dismissable"),t.settings.allow_dismiss&&(n.addClass("alert-dismissable"),n.find('[data-growl="dismiss"]').css("display","block")),n},h=function(e,t){e.find('[data-growl="dismiss"]').css({"z-index":t.z_index-1>=1?t.z_index-1:1}),t.content.icon&&("class"==t.icon_type.toLowerCase()?e.find('[data-growl="icon"]').addClass(t.content.icon):e.find('[data-growl="icon"]').is("img")?e.find('[data-growl="icon"]').attr("src",t.content.icon):e.find('[data-growl="icon"]').append('<img src="'+t.content.icon+'" />')),t.content.title&&e.find('[data-growl="title"]').html(t.content.title),t.content.message&&e.find('[data-growl="message"]').html(t.content.message),t.content.url&&(e.find('[data-growl="url"]').attr("href",t.content.url).attr("target",t.url_target),e.find('[data-growl="url"]').css({position:"absolute",top:0,left:0,width:"100%",height:"100%","z-index":t.z_index-2>=1?t.z_index-2:1}))},u=function(t,n){var a=n.offset.y,i={position:"body"===n.element?"fixed":"absolute",margin:0,"z-index":n.z_index,display:"inline-block"},o=!1;switch(e('[data-growl-position="'+n.placement.from+"-"+n.placement.align+'"]').each(function(){return a=Math.max(a,parseInt(e(this).css(n.placement.from))+e(this).outerHeight()+n.spacing)}),i[n.placement.from]=a+"px",t.css(i),n.onShow&&n.onShow(event),e(n.element).append(t),n.placement.align){case"center":t.css({left:"50%",marginLeft:-(t.outerWidth()/2)+"px"});break;case"left":t.css("left",n.offset.x+"px");break;case"right":t.css("right",n.offset.x+"px")}t.addClass("growl-animated"),t.one("webkitAnimationStart oanimationstart MSAnimationStart animationstart",function(e){o=!0}),t.one("webkitAnimationEnd oanimationend MSAnimationEnd animationend",function(e){n.onShown&&n.onShown(e)}),setTimeout(function(){o||n.onShown&&n.onShown(event)},600)},m=function(e,t,n){if(e.addClass(t.animate.enter),e.find('[data-growl="dismiss"]').on("click",function(){n.close()}),e.on("mouseover",function(t){e.addClass("hovering")}).on("mouseout",function(){e.removeClass("hovering")}),t.delay>=1){e.data("growl-delay",t.delay);var a=setInterval(function(){var i=parseInt(e.data("growl-delay"))-t.timer;(!e.hasClass("hovering")&&"pause"==t.mouse_over||"pause"!=t.mouse_over)&&e.data("growl-delay",i),i<=0&&(clearInterval(a),n.close())},t.timer)}};d.prototype={update:function(e,t){switch(e){case"icon":"class"==this.settings.icon_type.toLowerCase()?(this.$template.find('[data-growl="icon"]').removeClass(this.settings.content.icon),this.$template.find('[data-growl="icon"]').addClass(t)):this.$template.find('[data-growl="icon"]').is("img")?this.$template.find('[data-growl="icon"]'):this.$template.find('[data-growl="icon"]').find("img").attr().attr("src",t);break;case"url":this.$template.find('[data-growl="url"]').attr("href",t);break;case"type":this.$template.removeClass("alert-"+this.settings.type),this.$template.addClass("alert-"+t);break;default:this.$template.find('[data-growl="'+e+'"]').html(t)}return this},close:function(){var t=this.$template,n=this.settings,a=t.css(n.placement.from),i=!1;return n.onHide&&n.onHide(event),t.addClass(this.settings.animate.exit),t.nextAll('[data-growl-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]').each(function(){e(this).css(n.placement.from,a),a=parseInt(a)+n.spacing+e(this).outerHeight()}),t.one("webkitAnimationStart oanimationstart MSAnimationStart animationstart",function(e){i=!0}),t.one("webkitAnimationEnd oanimationend MSAnimationEnd animationend",function(t){e(this).remove(),n.onHidden&&n.onHidden(t)}),setTimeout(function(){i||(t.remove(),n.onHidden&&n.onHidden(event))},100),this}},e.growl=function(e,t){if(0==e&&"closeAll"==t.command)return r(t.position),!1;if(0==e)return s(this,t),!1;var n=new d(this,e,t);return n}}(jQuery,window,document);