"),$("#login_errors").slideDown(),$("#login_button").removeAttr("disabled")}),function(e){e.fn.eip=function(t,n){var o={save_url:t,save_on_enter:!0,cancel_on_esc:!0,focus_edit:!0,select_text:!1,edit_event:"click",select_options:!1,data:!1,form_type:"text",size:!1,max_size:60,rows:!1,max_rows:10,cols:60,savebutton_text:"SAVE",savebutton_class:"jeip-savebutton",cancelbutton_text:"CANCEL",cancelbutton_class:"jeip-cancelbutton",mouseover_class:"jeip-mouseover",editor_class:"jeip-editor",editfield_class:"jeip-editfield",saving_text:"Saving ...",saving_class:"jeip-saving",saving:'#{saving_text}',start_form:'',form_buttons:' OR ',stop_form:"",text_form:' ',textarea_form:' ',start_select_form:'",after_save:function(t){for(var n=0;2>n;n++)e(t).fadeOut("fast"),e(t).fadeIn("fast")},on_error:function(e){alert("Error: "+e)},after_success:function(){}};n&&e.extend(o,n),this.each(function(){e(this).bind("mouseenter mouseleave",function(){e(this).toggleClass(o.mouseover_class)}),e(this).bind(o.edit_event,function(){a(this)})});var a=function(t){e(t).unbind(o.edit_event),e(t).removeClass(o.mouseover_class),e(t).fadeOut("fast",function(){var n=(t.id,e(t).html()),a=n.replace(//g,">"),a=n.replace(/"/g,"&qout;");var l=!1,c=r(o.start_form,{id:t.id,editor_class:o.editor_class});if("text"==o.form_type)c+=r(o.text_form,{id:t.id,editfield_class:o.editfield_class,value:n});else if("textarea"==o.form_type){for(var u=n.length,d=u/o.cols+2,f=0;u>f;f++)"\n"==n.charAt(f)&&d++;d>o.max_rows&&(d=o.max_rows),0!=o.rows&&(d=o.rows),d=parseInt(d),c+=r(o.textarea_form,{id:t.id,cols:o.cols,rows:d,editfield_class:o.editfield_class,value:n})}else"select"==o.form_type&&(c+=r(o.start_select_form,{id:t.id,editfield_class:o.editfield_class}),e.each(o.select_options,function(e,a){var i="";a==n&&(i='selected="selected"'),n==a&&(l=e),c+=r(o.select_option_form,{id:t.id,option_value:e,option_text:a,selected:i})}),c+=r(o.stop_select_form,{}));c+=r(o.form_buttons,{id:t.id,savebutton_class:o.savebutton_class,savebutton_text:o.savebutton_text,cancelbutton_class:o.cancelbutton_class,cancelbutton_text:o.cancelbutton_text}),c+=r(o.stop_form,{}),e(t).after(c),e("#editor-"+t.id).fadeIn("fast"),o.focus_edit&&e("#edit-"+t.id).focus(),o.select_text&&e("#edit-"+t.id).select(),e("#cancel-"+t.id).bind("click",function(){i(t)}),e("#edit-"+t.id).keydown(function(e){27==e.which&&i(t),"textarea"!=o.form_type&&13==e.which&&s(t,l)}),e("#save-"+t.id).bind("click",function(){return s(t,l)})})},r=function(e,t){var n=function(e,n){return"string"==typeof t[n]||"number"==typeof t[n]?t[n]:e};return e.replace(/#\{([^{}]*)}/g,n)},i=function(t){e("#editor-"+t.id).fadeOut("fast"),e("#editor-"+t.id).remove(),e(t).bind(o.edit_event,function(){a(t)}),e(t).removeClass(o.mouseover_class),e(t).fadeIn("fast")},s=function(t,n){var i=e(t).html(),s=e("#edit-"+t.id).prop("value");if(i==s)return e("#editor-"+t.id).fadeOut("fast"),e("#editor-"+t.id).remove(),e(t).bind(o.edit_event,function(){a(t)}),e(t).removeClass(o.mouseover_class),e(t).fadeIn("fast"),!0;e("#editor-"+t.id).after(r(o.saving,{id:t.id,saving_class:o.saving_class,saving_text:o.saving_text})),e("#editor-"+t.id).fadeOut("fast",function(){e("#saving-"+t.id).fadeIn("fast")});var l={url:location.href,id:t.id,form_type:o.form_type,orig_value:i,new_value:e("#edit-"+t.id).prop("value"),data:o.data};"select"==o.form_type&&(l.orig_option_value=n,l.orig_option_text=i,l.new_option_text=e("#edit-option-"+t.id+"-"+s).html()),e.ajax({url:o.save_url,type:"POST",dataType:"json",data:l,success:function(n){e("#editor-"+t.id).fadeOut("fast"),e("#editor-"+t.id).remove(),1==n.is_error?o.on_error(n.error_text):(e(t).html(n.html),o.after_success(t)),e("#saving-"+t.id).fadeOut("fast"),e("#saving-"+t.id).remove(),e(t).bind(o.edit_event,function(){a(t)}),e(t).addClass(o.mouseover_class),e(t).fadeIn("fast"),0!=o.after_save&&o.after_save(t),e(t).removeClass(o.mouseover_class)}})}}}(jQuery),function(e,t){"use strict";var n,o,a,r=e,i=r.document,s=r.navigator,l=r.setTimeout,c=r.clearTimeout,u=r.setInterval,d=r.clearInterval,f=r.getComputedStyle,p=r.encodeURIComponent,h=r.ActiveXObject,m=r.Error,v=r.Number.parseInt||r.parseInt,b=r.Number.parseFloat||r.parseFloat,g=r.Number.isNaN||r.isNaN,y=r.Date.now,w=r.Object.keys,_=r.Object.defineProperty,x=r.Object.prototype.hasOwnProperty,C=r.Array.prototype.slice,$=function(){var e=function(e){return e};if("function"==typeof r.wrap&&"function"==typeof r.unwrap)try{var t=i.createElement("div"),n=r.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=r.unwrap)}catch(o){}return e}(),k=function(e){return C.call(e,0)},j=function(){var e,n,o,a,r,i,s=k(arguments),l=s[0]||{};for(e=1,n=s.length;n>e;e++)if(null!=(o=s[e]))for(a in o)x.call(o,a)&&(r=l[a],i=o[a],l!==i&&i!==t&&(l[a]=i));return l},E=function(e){var t,n,o,a;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,o=e.length;o>n;n++)x.call(e,n)&&(t[n]=E(e[n]));else{t={};for(a in e)x.call(e,a)&&(t[a]=E(e[a]))}return t},T=function(e,t){for(var n={},o=0,a=t.length;a>o;o++)t[o]in e&&(n[t[o]]=e[t[o]]);return n},O=function(e,t){var n={};for(var o in e)-1===t.indexOf(o)&&(n[o]=e[o]);return n},I=function(e){if(e)for(var t in e)x.call(e,t)&&delete e[t];return e},D=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},A=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},S=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},N=function(){var e,t;try{throw new m}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||S(t.stack)),e},L=function(){var e,n,o;if(i.currentScript&&(e=i.currentScript.src))return e;if(n=i.getElementsByTagName("script"),1===n.length)return n[0].src||t;if("readyState"in n[0])for(o=n.length;o--;)if("interactive"===n[o].readyState&&(e=n[o].src))return e;return"loading"===i.readyState&&(e=n[n.length-1].src)?e:(e=N())?e:t},z=function(){var e,n,o,a=i.getElementsByTagName("script");for(e=a.length;e--;){if(!(o=a[e].src)){n=null;break}if(o=A(o),null==n)n=o;else if(n!==o){n=null;break}}return n||t},F=function(){A(L())||z()||"";return"/ZeroClipboard.swf"},B=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),Z={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},H="11.0.0",V={},Y={},R=null,M=0,P=0,X={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},U=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Q=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],J=new RegExp("^flash-("+Q.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),q=new RegExp("^flash-("+Q.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),K={swfPath:F(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},W=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(x.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))K[t]=e[t];else if(null==Z.bridge)if("containerId"===t||"swfObjectId"===t){if(!pt(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");K[t]=e[t]}else K[t]=e[t];{if("string"!=typeof e||!e)return E(K);if(x.call(K,e))return K[e]}},G=function(){return Pt(),{browser:T(s,["userAgent","platform","appName"]),flash:O(Z,["bridge"]),zeroclipboard:{version:Ut.version,config:Ut.config()}}},et=function(){return!!(Z.disabled||Z.outdated||Z.sandboxed||Z.unavailable||Z.degraded||Z.deactivated)},tt=function(e,o){var a,r,i,s={};if("string"==typeof e&&e)i=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof o)for(a in e)x.call(e,a)&&"string"==typeof a&&a&&"function"==typeof e[a]&&Ut.on(a,e[a]);if(i&&i.length){for(a=0,r=i.length;r>a;a++)e=i[a].replace(/^on/,""),s[e]=!0,V[e]||(V[e]=[]),V[e].push(o);if(s.ready&&Z.ready&&Ut.emit({type:"ready"}),s.error){for(a=0,r=Q.length;r>a;a++)if(Z[Q[a].replace(/^flash-/,"")]===!0){Ut.emit({type:"error",name:Q[a]});break}n!==t&&Ut.version!==n&&Ut.emit({type:"error",name:"version-mismatch",jsVersion:Ut.version,swfVersion:n})}}return Ut},nt=function(e,t){var n,o,a,r,i;if(0===arguments.length)r=w(V);else if("string"==typeof e&&e)r=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)x.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ut.off(n,e[n]);if(r&&r.length)for(n=0,o=r.length;o>n;n++)if(e=r[n].toLowerCase().replace(/^on/,""),i=V[e],i&&i.length)if(t)for(a=i.indexOf(t);-1!==a;)i.splice(a,1),a=i.indexOf(t,a);else i.length=0;return Ut},ot=function(e){var t;return t="string"==typeof e&&e?E(V[e])||null:E(V)},at=function(e){var t,n,o;return e=ht(e),e&&!_t(e)?"ready"===e.type&&Z.overdue===!0?Ut.emit({type:"error",name:"flash-overdue"}):(t=j({},e),yt.call(this,t),"copy"===e.type&&(o=Ot(Y),n=o.data,R=o.formatMap),n):void 0},rt=function(){var e=Z.sandboxed;if(Pt(),"boolean"!=typeof Z.ready&&(Z.ready=!1),Z.sandboxed!==e&&Z.sandboxed===!0)Z.ready=!1,Ut.emit({type:"error",name:"flash-sandboxed"});else if(!Ut.isFlashUnusable()&&null===Z.bridge){var t=K.flashLoadTimeout;"number"==typeof t&&t>=0&&(M=l(function(){"boolean"!=typeof Z.deactivated&&(Z.deactivated=!0),Z.deactivated===!0&&Ut.emit({type:"error",name:"flash-deactivated"})},t)),Z.overdue=!1,Et()}},it=function(){Ut.clearData(),Ut.blur(),Ut.emit("destroy"),Tt(),Ut.off()},st=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ut.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var o in n)"string"==typeof o&&o&&x.call(n,o)&&"string"==typeof n[o]&&n[o]&&(Y[o]=n[o])},lt=function(e){"undefined"==typeof e?(I(Y),R=null):"string"==typeof e&&x.call(Y,e)&&delete Y[e]},ct=function(e){return"undefined"==typeof e?E(Y):"string"==typeof e&&x.call(Y,e)?Y[e]:void 0},ut=function(e){if(e&&1===e.nodeType){o&&(Ft(o,K.activeClass),o!==e&&Ft(o,K.hoverClass)),o=e,zt(e,K.hoverClass);var t=e.getAttribute("title")||K.title;if("string"==typeof t&&t){var n=jt(Z.bridge);n&&n.setAttribute("title",t)}var a=K.forceHandCursor===!0||"pointer"===Bt(e,"cursor");Rt(a),Yt()}},dt=function(){var e=jt(Z.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),o&&(Ft(o,K.hoverClass),Ft(o,K.activeClass),o=null)},ft=function(){return o||null},pt=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},ht=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=a),j(e,{type:t,target:e.target||o||null,relatedTarget:e.relatedTarget||null,currentTarget:Z&&Z.bridge||null,timeStamp:e.timeStamp||y()||null});var n=X[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&j(e,{target:null,version:Z.version}),"error"===e.type&&(J.test(e.name)&&j(e,{target:null,minimumVersion:H}),q.test(e.name)&&j(e,{version:Z.version})),"copy"===e.type&&(e.clipboardData={setData:Ut.setData,clearData:Ut.clearData}),"aftercopy"===e.type&&(e=It(e,R)),e.target&&!e.relatedTarget&&(e.relatedTarget=mt(e.target)),vt(e)}},mt=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?i.getElementById(t):null},vt=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var n=e.target,o="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:t,a="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:t,s=Zt(n),l=r.screenLeft||r.screenX||0,c=r.screenTop||r.screenY||0,u=i.body.scrollLeft+i.documentElement.scrollLeft,d=i.body.scrollTop+i.documentElement.scrollTop,f=s.left+("number"==typeof e._stageX?e._stageX:0),p=s.top+("number"==typeof e._stageY?e._stageY:0),h=f-u,m=p-d,v=l+h,b=c+m,g="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,j(e,{srcElement:n,fromElement:o,toElement:a,screenX:v,screenY:b,pageX:f,pageY:p,clientX:h,clientY:m,x:h,y:m,movementX:g,movementY:y,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},bt=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},gt=function(e,t,n,o){o?l(function(){e.apply(t,n)},0):e.apply(t,n)},yt=function(e){if("object"==typeof e&&e&&e.type){var t=bt(e),n=V["*"]||[],o=V[e.type]||[],a=n.concat(o);if(a&&a.length){var i,s,l,c,u,d=this;for(i=0,s=a.length;s>i;i++)l=a[i],c=d,"string"==typeof l&&"function"==typeof r[l]&&(l=r[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(u=j({},e),gt(l,c,[u],t))}return this}},wt=function(e){var t=null;return(B===!1||e&&"error"===e.type&&e.name&&-1!==U.indexOf(e.name))&&(t=!1),t},_t=function(e){var t=e.target||o||null,r="swf"===e._source;switch(delete e._source,e.type){case"error":var i="flash-sandboxed"===e.name||wt(e);"boolean"==typeof i&&(Z.sandboxed=i),-1!==Q.indexOf(e.name)?j(Z,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(n=e.swfVersion,j(Z,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),Vt();break;case"ready":n=e.swfVersion;var s=Z.deactivated===!0;j(Z,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),Vt();break;case"beforecopy":a=t;break;case"copy":var l,c,u=e.relatedTarget;!Y["text/html"]&&!Y["text/plain"]&&u&&(c=u.value||u.outerHTML||u.innerHTML)&&(l=u.value||u.textContent||u.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l),c!==l&&e.clipboardData.setData("text/html",c)):!Y["text/plain"]&&e.target&&(l=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l));break;case"aftercopy":xt(e),Ut.clearData(),t&&t!==Lt()&&t.focus&&t.focus();break;case"_mouseover":Ut.focus(t),K.bubbleEvents===!0&&r&&(t&&t!==e.relatedTarget&&!D(e.relatedTarget,t)&&Ct(j({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ct(j({},e,{type:"mouseover"})));break;case"_mouseout":Ut.blur(),K.bubbleEvents===!0&&r&&(t&&t!==e.relatedTarget&&!D(e.relatedTarget,t)&&Ct(j({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ct(j({},e,{type:"mouseout"})));break;case"_mousedown":zt(t,K.activeClass),K.bubbleEvents===!0&&r&&Ct(j({},e,{type:e.type.slice(1)}));break;case"_mouseup":Ft(t,K.activeClass),K.bubbleEvents===!0&&r&&Ct(j({},e,{type:e.type.slice(1)}));break;case"_click":a=null,K.bubbleEvents===!0&&r&&Ct(j({},e,{type:e.type.slice(1)}));break;case"_mousemove":K.bubbleEvents===!0&&r&&Ct(j({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},xt=function(e){if(e.errors&&e.errors.length>0){var t=E(e);j(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ut.emit(t)},0)}},Ct=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,o=n&&n.ownerDocument||i,a={view:o.defaultView||r,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:o.createEvent?0:1},s=j(a,e);n&&o.createEvent&&n.dispatchEvent&&(s=[s.type,s.canBubble,s.cancelable,s.view,s.detail,s.screenX,s.screenY,s.clientX,s.clientY,s.ctrlKey,s.altKey,s.shiftKey,s.metaKey,s.button,s.relatedTarget],t=o.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,s),t._source="js",n.dispatchEvent(t)))}},$t=function(){var e=K.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=K.swfObjectId+"_fallbackContent";P=u(function(){var e=i.getElementById(n);Ht(e)&&(Vt(),Z.deactivated=null,Ut.emit({type:"error",name:"swf-not-found"}))},t)}},kt=function(){var e=i.createElement("div");return e.id=K.containerId,e.className=K.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Mt(K.zIndex),e},jt=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Et=function(){var e,t=Z.bridge,n=jt(t);if(!t){var o=Nt(r.location.host,K),a="never"===o?"none":"all",s=At(j({jsVersion:Ut.version},K)),l=K.swfPath+Dt(K.swfPath,K);n=kt();var c=i.createElement("div");n.appendChild(c),i.body.appendChild(n);var u=i.createElement("div"),d="activex"===Z.pluginType;u.innerHTML='',t=u.firstChild,u=null,$(t).ZeroClipboard=Ut,n.replaceChild(t,c),$t()}return t||(t=i[K.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),Z.bridge=t||null,t},Tt=function(){var e=Z.bridge;if(e){var o=jt(e);o&&("activex"===Z.pluginType&&"readyState"in e?(e.style.display="none",function a(){if(4===e.readyState){for(var t in e)"function"==typeof e[t]&&(e[t]=null);e.parentNode&&e.parentNode.removeChild(e),o.parentNode&&o.parentNode.removeChild(o)}else l(a,10)}()):(e.parentNode&&e.parentNode.removeChild(e),o.parentNode&&o.parentNode.removeChild(o))),Vt(),Z.ready=null,Z.bridge=null,Z.deactivated=null,n=t}},Ot=function(e){var t={},n={};if("object"==typeof e&&e){for(var o in e)if(o&&x.call(e,o)&&"string"==typeof e[o]&&e[o])switch(o.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[o],n.text=o;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[o],n.html=o;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[o],n.rtf=o}return{data:t,formatMap:n}}},It=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var o in e)if(x.call(e,o))if("errors"===o){n[o]=e[o]?e[o].slice():[];for(var a=0,r=n[o].length;r>a;a++)n[o][a].format=t[n[o][a].format]}else if("success"!==o&&"data"!==o)n[o]=e[o];else{n[o]={};var i=e[o];for(var s in i)s&&x.call(i,s)&&x.call(t,s)&&(n[o][t[s]]=i[s])}return n},Dt=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+y():""},At=function(e){var t,n,o,a,i="",s=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?a=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(a=e.trustedDomains)),a&&a.length)for(t=0,n=a.length;n>t;t++)if(x.call(a,t)&&a[t]&&"string"==typeof a[t]){if(o=St(a[t]),!o)continue;if("*"===o){s.length=0,s.push(o);break}s.push.apply(s,[o,"//"+o,r.location.protocol+"//"+o])}return s.length&&(i+="trustedOrigins="+p(s.join(","))),e.forceEnhancedClipboard===!0&&(i+=(i?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(i+=(i?"&":"")+"swfObjectId="+p(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(i+=(i?"&":"")+"jsVersion="+p(e.jsVersion)),i},St=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Nt=function(){var e=function(e){var t,n,o,a=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return a;for(t=0,n=e.length;n>t;t++)if(x.call(e,t)&&(o=St(e[t]))){if("*"===o){a.length=0,a.push("*");break}-1===a.indexOf(o)&&a.push(o)}return a};return function(t,n){var o=St(n.swfPath);null===o&&(o=t);var a=e(n.trustedDomains),r=a.length;if(r>0){if(1===r&&"*"===a[0])return"always";if(-1!==a.indexOf(t))return 1===r&&t===o?"sameDomain":"always"}return"never"}}(),Lt=function(){try{return i.activeElement}catch(e){return null}},zt=function(e,t){var n,o,a,r=[];if("string"==typeof t&&t&&(r=t.split(/\s+/)),e&&1===e.nodeType&&r.length>0)if(e.classList)for(n=0,o=r.length;o>n;n++)e.classList.add(r[n]);else if(e.hasOwnProperty("className")){for(a=" "+e.className+" ",n=0,o=r.length;o>n;n++)-1===a.indexOf(" "+r[n]+" ")&&(a+=r[n]+" ");e.className=a.replace(/^\s+|\s+$/g,"")}return e},Ft=function(e,t){var n,o,a,r=[];if("string"==typeof t&&t&&(r=t.split(/\s+/)),e&&1===e.nodeType&&r.length>0)if(e.classList&&e.classList.length>0)for(n=0,o=r.length;o>n;n++)e.classList.remove(r[n]);else if(e.className){for(a=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,o=r.length;o>n;n++)a=a.replace(" "+r[n]+" "," ");e.className=a.replace(/^\s+|\s+$/g,"")}return e},Bt=function(e,t){var n=f(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},Zt=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),o=r.pageXOffset,a=r.pageYOffset,s=i.documentElement.clientLeft||0,l=i.documentElement.clientTop||0,c=0,u=0;if("relative"===Bt(i.body,"position")){var d=i.body.getBoundingClientRect(),f=i.documentElement.getBoundingClientRect();c=d.left-f.left||0,u=d.top-f.top||0}t.left=n.left+o-s-c,t.top=n.top+a-l-u,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Ht=function(e){if(!e)return!1;var t=f(e,null),n=b(t.height)>0,o=b(t.width)>0,a=b(t.top)>=0,r=b(t.left)>=0,i=n&&o&&a&&r,s=i?null:Zt(e),l="none"!==t.display&&"collapse"!==t.visibility&&(i||!!s&&(n||s.height>0)&&(o||s.width>0)&&(a||s.top>=0)&&(r||s.left>=0));return l},Vt=function(){c(M),M=0,d(P),P=0},Yt=function(){var e;if(o&&(e=jt(Z.bridge))){var t=Zt(o);j(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Mt(K.zIndex)})}},Rt=function(e){Z.ready===!0&&(Z.bridge&&"function"==typeof Z.bridge.setHandCursor?Z.bridge.setHandCursor(e):Z.ready=!1)},Mt=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||g(e)?"string"==typeof e&&(t=Mt(v(e,10))):t=e,"number"==typeof t?t:"auto"},Pt=function(t){var n,o,a,r=Z.sandboxed,i=null;if(t=t===!0,B===!1)i=!1;else{try{o=e.frameElement||null}catch(s){a={name:s.name,message:s.message}}if(o&&1===o.nodeType&&"IFRAME"===o.nodeName)try{i=o.hasAttribute("sandbox")}catch(s){i=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||a&&"SecurityError"===a.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(a.message.toLowerCase()))&&(i=!0)}}return Z.sandboxed=i,r===i||t||Xt(h),i},Xt=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function o(e){e&&(l=!0,e.version&&(d=t(e.version)),!d&&e.description&&(d=t(e.description)),e.filename&&(u=n(e.filename)))}var a,r,i,l=!1,c=!1,u=!1,d="";if(s.plugins&&s.plugins.length)a=s.plugins["Shockwave Flash"],o(a),s.plugins["Shockwave Flash 2.0"]&&(l=!0,d="2.0.0.11");else if(s.mimeTypes&&s.mimeTypes.length)i=s.mimeTypes["application/x-shockwave-flash"],a=i&&i.enabledPlugin,o(a);
else if("undefined"!=typeof e){c=!0;try{r=new e("ShockwaveFlash.ShockwaveFlash.7"),l=!0,d=t(r.GetVariable("$version"))}catch(f){try{r=new e("ShockwaveFlash.ShockwaveFlash.6"),l=!0,d="6.0.21"}catch(p){try{r=new e("ShockwaveFlash.ShockwaveFlash"),l=!0,d=t(r.GetVariable("$version"))}catch(h){c=!1}}}}Z.disabled=l!==!0,Z.outdated=d&&b(d)a;a++)e=i[a].replace(/^on/,""),s[e]=!0,c[e]||(c[e]=[]),c[e].push(o);if(s.ready&&Z.ready&&this.emit({type:"ready",client:this}),s.error){for(a=0,r=Q.length;r>a;a++)if(Z[Q[a].replace(/^flash-/,"")]){this.emit({type:"error",name:Q[a],client:this});break}n!==t&&Ut.version!==n&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ut.version,swfVersion:n})}}return this},tn=function(e,t){var n,o,a,r,i,s=Jt[this.id],l=s&&s.handlers;if(!l)return this;if(0===arguments.length)r=w(l);else if("string"==typeof e&&e)r=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)x.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(r&&r.length)for(n=0,o=r.length;o>n;n++)if(e=r[n].toLowerCase().replace(/^on/,""),i=l[e],i&&i.length)if(t)for(a=i.indexOf(t);-1!==a;)i.splice(a,1),a=i.indexOf(t,a);else i.length=0;return this},nn=function(e){var t=null,n=Jt[this.id]&&Jt[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:E(n)),t},on=function(e){if(cn.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=j({},e));var t=j({},ht(e),{client:this});un.call(this,t)}return this},an=function(e){if(!Jt[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=dn(e);for(var t=0;t0,a=!e.target||o&&-1!==n.indexOf(e.target),r=e.relatedTarget&&o&&-1!==n.indexOf(e.relatedTarget),i=e.client&&e.client===this;return t&&(a||r||i)?!0:!1},un=function(e){var t=Jt[this.id];if("object"==typeof e&&e&&e.type&&t){var n=bt(e),o=t&&t.handlers["*"]||[],a=t&&t.handlers[e.type]||[],i=o.concat(a);if(i&&i.length){var s,l,c,u,d,f=this;for(s=0,l=i.length;l>s;s++)c=i[s],u=f,"string"==typeof c&&"function"==typeof r[c]&&(c=r[c]),"object"==typeof c&&c&&"function"==typeof c.handleEvent&&(u=c,c=c.handleEvent),"function"==typeof c&&(d=j({},e),gt(c,u,[d],n))}}},dn=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},fn=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=r.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=r.event))&&(t(n),Ut.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Wt[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},pn=function(e){if(e&&1===e.nodeType){var t=Wt[e.zcClippingId];if("object"==typeof t&&t){for(var n,o,a=["move","leave","enter","out","over"],r=0,i=a.length;i>r;r++)n="mouse"+a[r],o=t[n],"function"==typeof o&&e.removeEventListener(n,o,!1);delete Wt[e.zcClippingId]}}};Ut._createClient=function(){Gt.apply(this,k(arguments))},Ut.prototype.on=function(){return en.apply(this,k(arguments))},Ut.prototype.off=function(){return tn.apply(this,k(arguments))},Ut.prototype.handlers=function(){return nn.apply(this,k(arguments))},Ut.prototype.emit=function(){return on.apply(this,k(arguments))},Ut.prototype.clip=function(){return an.apply(this,k(arguments))},Ut.prototype.unclip=function(){return rn.apply(this,k(arguments))},Ut.prototype.elements=function(){return sn.apply(this,k(arguments))},Ut.prototype.destroy=function(){return ln.apply(this,k(arguments))},Ut.prototype.setText=function(e){if(!Jt[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ut.setData("text/plain",e),this},Ut.prototype.setHtml=function(e){if(!Jt[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ut.setData("text/html",e),this},Ut.prototype.setRichText=function(e){if(!Jt[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ut.setData("application/rtf",e),this},Ut.prototype.setData=function(){if(!Jt[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ut.setData.apply(this,k(arguments)),this},Ut.prototype.clearData=function(){if(!Jt[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ut.clearData.apply(this,k(arguments)),this},Ut.prototype.getData=function(){if(!Jt[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ut.getData.apply(this,k(arguments))},"function"==typeof define&&define.amd?define(function(){return Ut}):"object"==typeof module&&module&&"object"==typeof module.exports&&module.exports?module.exports=Ut:e.ZeroClipboard=Ut}(function(){return this||window}()),!function(e,t){"function"==typeof define&&define.amd?define([],t(e)):"object"==typeof exports?module.exports=t(e):e.smoothScroll=t(e)}(this,function(e){"use strict";var t,n,o,a,r={},i=!!document.querySelector&&!!e.addEventListener,s={speed:500,easing:"easeInOutCubic",offset:0,updateURL:!0,callbackBefore:function(){},callbackAfter:function(){}},l=function(e,t,n){if("[object Object]"===Object.prototype.toString.call(e))for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(n,e[o],o,e);else for(var a=0,r=e.length;r>a;a++)t.call(n,e[a],a,e)},c=function(e,t){var n={};return l(e,function(t,o){n[o]=e[o]}),l(t,function(e,o){n[o]=t[o]}),n},u=function(e,t){for(var n=t.charAt(0);e&&e!==document;e=e.parentNode)if("."===n){if(e.classList.contains(t.substr(1)))return e}else if("#"===n){if(e.id===t.substr(1))return e}else if("["===n&&e.hasAttribute(t.substr(1,t.length-2)))return e;return!1},d=function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},f=function(e){for(var t,n=String(e),o=n.length,a=-1,r="",i=n.charCodeAt(0);++a=1&&31>=t||127==t||0===a&&t>=48&&57>=t||1===a&&t>=48&&57>=t&&45===i?"\\"+t.toString(16)+" ":t>=128||45===t||95===t||t>=48&&57>=t||t>=65&&90>=t||t>=97&&122>=t?n.charAt(a):"\\"+n.charAt(a)}return r},p=function(e,t){var n;return"easeInQuad"===e&&(n=t*t),"easeOutQuad"===e&&(n=t*(2-t)),"easeInOutQuad"===e&&(n=.5>t?2*t*t:-1+(4-2*t)*t),"easeInCubic"===e&&(n=t*t*t),"easeOutCubic"===e&&(n=--t*t*t+1),"easeInOutCubic"===e&&(n=.5>t?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1),"easeInQuart"===e&&(n=t*t*t*t),"easeOutQuart"===e&&(n=1- --t*t*t*t),"easeInOutQuart"===e&&(n=.5>t?8*t*t*t*t:1-8*--t*t*t*t),"easeInQuint"===e&&(n=t*t*t*t*t),"easeOutQuint"===e&&(n=1+--t*t*t*t*t),"easeInOutQuint"===e&&(n=.5>t?16*t*t*t*t*t:1+16*--t*t*t*t*t),n||t},h=function(e,t,n){var o=0;if(e.offsetParent)do o+=e.offsetTop,e=e.offsetParent;while(e);return o=o-t-n,o>=0?o:0},m=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},v=function(e){return e&&"object"==typeof JSON&&"function"==typeof JSON.parse?JSON.parse(e):{}},b=function(t,n){history.pushState&&(n||"true"===n)&&history.pushState(null,null,[e.location.protocol,"//",e.location.host,e.location.pathname,e.location.search,t].join(""))},g=function(e){return null===e?0:d(e)+e.offsetTop};r.animateScroll=function(t,n,r){var i=c(i||s,r||{}),l=v(t?t.getAttribute("data-options"):null);i=c(i,l),n="#"+f(n.substr(1));var u="#"===n?document.documentElement:document.querySelector(n),d=e.pageYOffset;o||(o=document.querySelector("[data-scroll-header]")),a||(a=g(o));var y,w,_,x=h(u,a,parseInt(i.offset,10)),C=x-d,$=m(),k=0;b(n,i.updateURL);var j=function(o,a,r){var s=e.pageYOffset;(o==a||s==a||e.innerHeight+s>=$)&&(clearInterval(r),u.focus(),i.callbackAfter(t,n))},E=function(){k+=16,w=k/parseInt(i.speed,10),w=w>1?1:w,_=d+C*p(i.easing,w),e.scrollTo(0,Math.floor(_)),j(_,x,y)},T=function(){i.callbackBefore(t,n),y=setInterval(E,16)};0===e.pageYOffset&&e.scrollTo(0,0),T()};var y=function(e){var n=u(e.target,"[data-scroll]");n&&"a"===n.tagName.toLowerCase()&&(e.preventDefault(),r.animateScroll(n,n.hash,t))},w=function(){n||(n=setTimeout(function(){n=null,a=g(o)},66))};return r.destroy=function(){t&&(document.removeEventListener("click",y,!1),e.removeEventListener("resize",w,!1),t=null,n=null,o=null,a=null)},r.init=function(n){i&&(r.destroy(),t=c(s,n||{}),o=document.querySelector("[data-scroll-header]"),a=g(o),document.addEventListener("click",y,!1),o&&e.addEventListener("resize",w,!1))},r});