(functione(t,n,r){functions(o,u){if(!n[o]){if(!t[o]){vara=typeofrequire=="function"&&require;if(!u&&a)returna(o,!0);if(i)returni(o,!0);varf=newError("Cannot find module '"+o+"'");throwf.code="MODULE_NOT_FOUND",f}varl=n[o]={exports:{}};t[o][0].call(l.exports,function(e){varn=t[o][1][e];returns(n?n:e)},l,l.exports,e,t,n,r)}returnn[o].exports}vari=typeofrequire=="function"&&require;for(varo=0;o<r.length;o++)s(r[o]);returns})({1:[function(require,module,exports){varFilterCSS=require("cssfilter").FilterCSS;var_=require("./util");functiongetDefaultWhiteList(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]}}vardefaultCSSFilter=newFilterCSS;functiononTag(tag,html,options){}functiononIgnoreTag(tag,html,options){}functiononTagAttr(tag,name,value){}functiononIgnoreTagAttr(tag,name,value){}functionescapeHtml(html){returnhtml.replace(REGEXP_LT,"<").replace(REGEXP_GT,">")}functionsafeAttrValue(tag,name,value,cssFilter){cssFilter=cssFilter||defaultCSSFilter;value=friendlyAttrValue(value);if(name==="href"||name==="src"){value=_.trim(value);if(value==="#")return"#";if(!(value.substr(0,7)==="http://"||value.substr(0,8)==="https://"||value.substr(0,7)==="mailto:"||value[0]==="#"||value[0]==="/")){return""}}elseif(name==="background"){REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex=0;if(REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)){return""}}elseif(name==="style"){REGEXP_DEFAULT_ON_TAG_ATTR_7.lastIndex=0;if(REGEXP_DEFAULT_ON_TAG_ATTR_7.test(value)){return""}REGEXP_DEFAULT_ON_TAG_ATTR_8.lastIndex=0;if(REGEXP_DEFAULT_ON_TAG_ATTR_8.test(value)){REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex=0;if(REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)){return""}}value=cssFilter.process(value)}value=escapeAttrValue(value);returnvalue}varREGEXP_LT=/</g;varREGEXP_GT=/>/g;varREGEXP_QUOTE=/"/g;varREGEXP_QUOTE_2=/"/g;varREGEXP_ATTR_VALUE_1=/&#([a-zA-Z0-9]*);?/gim;varREGEXP_ATTR_VALUE_COLON=/:?/gim;varREGEXP_ATTR_VALUE_NEWLINE=/&newline;?/gim;varREGEXP_DEFAULT_ON_TAG_ATTR_3=/\/\*|\*\//gm;varREGEXP_DEFAULT_ON_TAG_ATTR_4=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi;varREGEXP_DEFAULT_ON_TAG_ATTR_5=/^[\s"'`]*(d\s*a\s*t\s*a\s*)\:/gi;varREGEXP_DEFAULT_ON_TAG_ATTR_6=/^[\s"'`]*(d\s*a\s*t\s*a\s*)\:\s*image\//gi;varREGEXP_DEFAULT_ON_TAG_ATTR_7=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi;varREGEXP_DEFAULT_ON_TAG_ATTR_8=/u\s*r\s*l\s*\(.*/gi;functionescapeQuote(str){returnstr.replace(REGEXP_QUOTE,""")}functionunescapeQuote(str){returnstr.replace(REGEXP_QUOTE_2,'"')}functionescapeHtmlEntities(str){returnstr.replace(REGEXP_ATTR_VALUE_1,functionreplaceUnicode(str,code){returncode[0]==="x"||code[0]==="X"?String.fromCharCode(parseInt(code.substr(1),16)):String.fromCharCode(parseInt(code,10))})}functionescapeDangerHtml5Entities(str){returnstr.replace(REGEXP_ATTR_VALUE_COLON,":").replace(REGEXP_ATTR_VALUE_NEWLINE,"")}functionclearNonPrintableCharacter(str){varstr2="";for(vari=0,len=str.length;i<len;i++){str2+=str.charCodeAt(i)<32?"":str.charAt(i)}return_.trim(str2)}functionfriendlyAttrValue(str){str=unescapeQuote(str);str=escapeHtmlEntities(str);str=escapeDangerHtml5Entities(str);str=clearNonPrintableCharacter(str);returnstr}functionescapeAttrValue(str){str=escapeQuote(str);str=escapeHtml(str);returnstr}functiononIgnoreTagStripAll(){return""}functionStripTagBody(tags,next){if(typeofnext!=="function"){next=function(){}}varisRemoveAllTag=!Array.isArray(tags);functionisRemoveTag(tag){if(isRemoveAllTag)returntrue;return_.indexOf(tags,tag)!==-1}varremoveList=[];varposStart=false;return{onIgnoreTag:function(tag,html,options){if(isRemoveTag(tag)){if(options.isClosing){varret="[/removed]";varend=options.position+ret.length;removeList.push([posStart!==false?posStart:options.position,end]);posStart=false;returnret}else{if(!posStart){posStart=options.position}return"[removed]"}}else{returnnext(tag,html,options)}},remove:function(html){varrethtml="";varlastPos=0;_.forEach(removeList,function(pos){rethtml+=html.slice(lastPos,pos[0]);lastPos=pos[1]});rethtml+=html.slice(lastPos);returnrethtml}}}functionstripCommentTag(html){returnhtml.replace(STRIP_COMMENT_TAG_REGEXP,"")}varSTRIP_COMMENT_TAG_REGEXP=/<!--[\s\S]*?-->/g;functionstripBlankChar(html){varchars=html.split("");chars=chars.filter(function(char){varc=char.charCodeAt(0);if(c===127)returnfalse;if(c<=31){if(c===10||c===13)returntrue;returnfalse}returntrue});returnchars.join("")}exports.whiteList=getDefaultWhiteList();exports.getDefaultWhiteList=getDefaultWhiteList;exports.onTag=onTag;exports.onIgnoreTag=onIgnoreTag;exports.onTagAttr=onTagAttr;exports.onIgnoreTagAttr=onIgnoreTagAttr;exports.safeAttrValue=safeAttrValue;exports.escapeHtml=escapeHtml;exports.escapeQuote=escapeQuote;exports.unescapeQuote=unescapeQuote;exports.escapeHtmlEntities=escapeHtmlEntities;exports.escapeDangerHtml5Entities=escapeDangerHtml5Entities;exports.clearNonPrintableCharacter=clearNonPrintableCharacter;exports.friendlyAttrValue=friendlyAttrValue;exports.escapeAttrValue=escapeAttrValue;exports.onIgnoreTagStripAll=onIgnoreTagStripAll;exports.StripTagBody=StripTagBody;exports.stripCommentTag=stripCommentTag;exports.stripBlankChar=stripBlankChar;exports.cssFilter=defaultCSSFilter},{"./util":4,cssfilter:8}],2:[function(require,module,exports){varDEFAULT=require("./default");varparser=require("./parser");varFilterXSS=require("./xss");functionfilterXSS(html,options){varxss=newFilterXSS(options);returnxss.process(html)}exports=module.exports=filterXSS;exports.FilterXSS=FilterXSS;for(variinDEFAULT)exports[i]=DEFAULT[i];for(variinparser)exports[i]=parser[i];if(typeofwindow!=="undefined"){window.filterXSS=module.exports}},{"./default":1,"./parser":3,"./xss":5}],3:[function(require,module,exports){var_=require("./util");functiongetTagName(html){vari=html.indexOf("");if(i===-1){vartagName=html.slice(1,-1)}else{vartagName=html.slice(1,i+1)}tagName=_.trim(tagName).toLowerCase();if(tagName.slice(0,1)==="/")tagName=tagName.slice(1);if(tagName.slice(-1)==="/")tagName=tagName.slice(0,-1);returntagName}functionisClosing(html){returnhtml.slice(0,2)==="</"}functionparseTag(html,onTag,escapeHtml){"user strict";varrethtml="";varlastPos=0;vartagStart=false;varquoteStart=false;varcurrentPos=0;varlen=html.length;varcurrentHtml="";varcurrentTagName="";for(currentPos=0;currentPos<len;currentPos++){varc=html.charAt(currentPos);if(tagStart===false){if(c==="<"){tagStart=currentPos;continue}}else{if(quoteStart===false){if(c==="<"){rethtml+=escapeHtml(html.slice(lastPos,currentPos));tagStart=currentPos;lastPos=currentPos;continue}if(c===">"){rethtml+=escapeHtml(html.slice(lastPos,tagStart));currentHtml=html.slice(tagStart,currentPos+1);currentTagName=getTagName(currentHtml);rethtml+=onTag(tagStart,rethtml.length,currentTagName,currentHtml,isClosing(currentHtml));lastPos=currentPos+1;tagStart=false;continue}if((c==='"'||c==="'")&&html.charAt(currentPos-1)==="="){quoteStart=c;continue}}else{if(c===quoteStart){quoteStart=false;continue}}}}if(lastPos<html.length){rethtml+=escapeHtml(html.substr(lastPos))}returnrethtml}varREGEXP_ATTR_NAME=/[^a-zA-Z0-9_:\.\-]/gim;functionparseAttr(html,onAttr){"user strict";varlastPos=0;varretAttrs=[];vartmpName=false;varlen=html.length;functionaddAttr(name,value){name=_.trim(name);name=name.replace(REGEXP_ATTR_NAME,"").toLowerCase();if(name.length<1)return;varret=onAttr(name,value||"");if(ret)retAttrs.push(ret)}for(vari=0;i<len;i++){varc=html.charAt(i);varv,j;if(tmpName===false&&c==="="){tmpName=html.slice(lastPos,i);lastPos=i+1;continue}if(tmpName!==false){if(i===lastPos&&(c==='"'||c==="'")&&html.charAt(i-1)==="="){j=html.indexOf(c,i+1);if(j===-1){break}else{v=_.trim(html.slice(lastPos+1,j));addAttr(tmpName,v);tmpName=false;i=j;lastPos=i+1;continue}}}if(c===""){if(tmpName===false){j=findNextEqual(html,i);if(j===-1){v=_.trim(html.slice(lastPos,i));addAttr(v);tmpName=false;lastPos=i+1;continue}else{i=j-1;continue}}else{j=findBeforeEqual(html,i-1);if(j===-1){v=_.trim(html.slice(lastPos,i));v=stripQuoteWrap(v);addAttr(tmpName,v);tmpName=false;lastPos=i+1;continue}else{continue}}}}if(lastPos<html.length){if(tmpName===false){addAttr(html.slice(lastPos))}else{addAttr(tmpName,stripQuoteWrap(_.trim(html.slice(lastPos))))}}return_.trim(retAttrs.join(""))}functionfindNextEqual(str,i){for(;i<str.length;i++){varc=str[i];if(c==="")continue;if(c==="=")returni;return-1}}functionfindBeforeEqual(str,i){for(;i>0;i--){varc=str[i];if(c==="")continue;if(c==="=")returni;return-1}}functionisQuoteWrapString(text){if(text[0]==='"'&&text[text.length-1]==='"'||text[0]==="'"&&text[text.length-1]==="'"){returntrue}else{returnfalse}}functionstripQuoteWrap(text){if(isQuoteWrapString(text)){returntext.substr(1,text.length-2)}else{returntext}}exports.parseTag=parseTag;exports.parseAttr=parseAttr},{"./util":4}],4:[function(require,module,exports){module.exports={indexOf:function(arr,item){vari,j;if(Array.prototype.indexOf){returnarr.indexOf(item)}for(i=0,j=arr.length;i<j;i++){if(arr[i]===item){returni}}return-1},forEach:function(arr,fn,scope){vari,j;if(Array.prototype.forEach){returnarr.forEach(fn,scope)}for(i=0,j=arr.length;i<j;i++){fn.call(scope,arr[i],i,arr)}},trim:function(str){if(String.prototype.trim){returnstr.trim()}returnstr.replace(/(^\s*)|(\s*$)/g,"")}}},{}],5:[function(require,module,exports){varFilterCSS=require("cssfilter").FilterCSS;varDEFAULT=require("./default");varparser=require("./parser");varparseTag=parser.parseTag;varparseAttr=parser.parseAttr;var_=require("./util");functionisNull(obj){returnobj===undefined||obj===null}functiongetAttrs(html){vari=html.indexOf("");if(i===-1){return{html:"",closing:html[html.length-2]==="/"}}html=_.trim(html.slice(i+1,-1));varisClosing=html[html.length-1]==="/";if(isClosing)html=_.trim(html.slice(0,-1));return{html:html,closing:isClosing}}functionFilterXSS(options){options=options||{};if(options.stripIgnoreTag){if(options.onIgnoreTag){console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time')}options.onIgnoreTag=DEFAULT.onIgnoreTagStripAll}options.whiteList=options.whiteList||DEFAULT.whiteList;options.onTag=options.onTag||DEFAULT.onTag;options.onTagAttr=options.onTagAttr||DEFAULT.onTagAttr;options.onIgnoreTag=options.onIgnoreTag||DEFAULT.onIgnoreTag;options.onIgnoreTagAttr=options.onIgnoreTagAttr||DEFAULT.onIgnoreTagAttr;options.safeAttrValue=options.safeAttrValue||DEFAULT.safeAttrValue;options.escapeHtml=options.escapeHtml||DEFAULT.escapeHtml;options.css=options.css||{};this.options=options;this.cssFilter=newFilterCSS(options.css)}FilterXSS.prototype.process=function(html){html=html||"";html=html.toString();if(!html)return"";varme=this;varoptions=me.options;varwhiteList=options.whiteList;varonTag=options.onTag;varonIgnoreTag=options.onIgnoreTag;varonTagAttr=options.onTagAttr;varonIgnoreTagAttr=options.onIgnoreTagAttr;varsafeAttrValue=options.safeAttrValue;varescapeHtml=options.escapeHtml;varcssFilter=me.cssFilter;if(options.stripBlankChar){html=DEFAULT.stripBlankChar(html)}if(!options.allowCommentTag){html=DEFAULT.stripCommentTag(html)}varstripIgnoreTagBody=false;if(options.stripIgnoreTagBody){varstripIgnoreTagBody=DEFAULT.StripTagBody(options.stripIgnoreTagBody,onIgnoreTag);onIgnoreTag=stripIgnoreTagBody.onIgnoreTag}varretHtml=parseTag(html,function(sourcePosition,position,tag,html,isClosing){varinfo={sourcePosition:sourcePosition,position:position,isClosing:isClosing,isWhite:taginwhiteList};varret=onTag(tag,html,info);if(!isNull(ret))returnret;if(info.isWhite){if(info.isClosing){return"</"+tag+">"}varattrs=getAttrs(html);varwhiteAttrList=whiteList[tag];varattrsHtml=parseAttr(attrs.html,function(name,value){varisWhiteAttr=_.indexOf(whiteAttrList,name)!==-1;varret=onTagAttr(tag,name,value,isWhiteAttr);if(!isNull(ret))returnret;if(isWhiteAttr){value=safeAttrValue(tag,name,value,cssFilter);if(value){returnname+'="'+value+'"'}else{returnname}}else{varret=onIgnoreTagAttr(tag,name,value,isWhiteAttr);if(!isNull(ret))returnret;return}});varhtml="<"+tag;if(attrsHtml)html+=""+attrsHtml;if(attrs.closing)html+=" /";html+=">";returnhtml}else{varret=onIgnoreTag(tag,html,info);if(!isNull(ret))returnret;returnescapeHtml(html)}},escapeHtml);if(stripIgnoreTagBody){retHtml=stripIgnoreTagBody.remove(retHtml)}returnretHtml};module.exports=FilterXSS},{"./default":1,"./parser":3,"./util":4,cssfilter:8}],6:[function(require,module,exports){varDEFAULT=require("./default");varparseStyle=require("./parser");var_=require("./util");functionisNull(obj){returnobj===undefined||obj===null}functionFilterCSS(options){options=options||{};options.whiteList=options.whiteList||DEFAULT.whiteList;options.onAttr=options.onAttr||DEFAULT.onAttr;options.onIgnoreAttr=options.onIgnoreAttr||DEFAULT.onIgnoreAttr;this.options=options}FilterCSS.prototype.process=function(css){css=css||"";css=css.toString();if(!css)return"";varme=this;varoptions=me.options;varwhiteList=options.whiteList;varonAttr=options.onAttr;varonIgnoreAttr=options.onIgnoreAttr;varretCSS=parseStyle(css,function(sourcePosition,position,name,value,source){varcheck=whiteList[name];varisWhite=false;if(check===true)isWhite=check;elseif(typeofcheck==="function")isWhite=check(value);elseif(checkinstanceofRegExp)isWhite=check.test(value);if(isWhite!==true)isWhite=false;varopts={position:position,sourcePosition:sourcePosition,source:source,isWhite:isWhite};if(isWhite){varret=onAttr(name,value,opts);if(isNull(ret)){returnname+":"+value}else{returnret}}else{varret=onIgnoreAttr(name,value,opts);if(!isNull(ret)){returnret}}});returnretCSS};module.exports=FilterCSS},{"./default":7,"./parser":9,"./util":10}],7:[function(require,module,exports){functiongetDefaultWhiteList(){varwhiteList={};whiteList["align-content"]=false;whiteList["align-items"]=false;whiteList["align-self"]=false;whiteList["alignment-adjust"]=false;whiteList["alignment-baseline"]=false;whiteList["all"]=false;whiteList["anchor-point"]=false;whiteList["animation"]=false;whiteList["animation-delay"]=false;whiteList["animation-direction"]=false;whiteList["animation-duration"]=false;whiteList["animation-fill-mode"]=false;whiteList["animation-iteration-count"]=false;whiteList["animation-name"]=false;whiteList["animation-play-state"]=false;whiteList["animation-timing-function"]=false;whiteList["azimuth"]=false;whiteList["backface-visibility"]=false;whiteList["background"]=true;whiteList["background-attachment"]=true;whiteList["background-clip"]=true;whiteList["background-color"]=true;whiteList["background-image"]=true;whiteList["background-origin"]=true;whiteList["background-position"]=true;whiteList["background-repeat"]=true;whiteList["background-size"]=true;whiteList["baseline-shift"]=false;whiteList["binding"]=false;whiteList["bleed"]=false;whiteList["bookmark-label"]=false;whiteList["bookmark-level"]=false;whiteList["bookmark-state"]=false;whiteList["border"]=true;whiteList["border-bottom"]=true;whiteList["border-bottom-color"]=true;whiteList["border-bottom-left-radius"]=true;whiteList["border-bottom-right-radius"]=true;whiteList["border-bottom-style"]=true;whiteList["border-bottom-width"]=true;whiteList["border-collapse"]=true;whiteList["border-color"]=true;whiteList["border-image"]=true;whiteList["border-image-outset"]=true;whiteList["border-image-repeat"]=true;whiteList["border-image-slice"]=true;whiteList["border-image-source"]=true;whiteList["border-image-width"]=true;whiteList["border-left"]=true;whiteList["border-left-color"]=true;whiteList["border-left-style"]=true;whiteList["border-left-width"]=true;whiteList["border-radius"]=true;whiteList["border-right"]=true;whiteList["border-right-color"]=true;whiteList["border-right-style"]=true;whiteList["border-right-width"]=true;whiteList["border-spacing"]=true;whiteList["border-style"]=true;whiteList["border-top"]=true;whiteList["border-top-color"]=true;whiteList["border-top-left-radius"]=true;whiteList["border-top-right-radius"]=true;whiteList["border-top-style"]=true;whiteList["border-top-width"]=true;whiteList["border-width"]=true;whiteList["bottom"]=false;whiteList["box-decoration-break"]=true;whiteList["box-shadow"]=true;whiteList["box-sizing"]=true;whiteList["box-snap"]=true;whiteList["box-suppress"]=true;whiteList["break-after"]=true;whiteList["break-before"]=true;whiteList["break-inside"]=true;whiteList["caption-side"]=false;whiteList["chains"]=false;whiteList["clear"]=true;whiteList["clip"]=false;whiteList["clip-path"]=false;whiteList["clip-rule"]=false;whiteList["color"]=true;whiteList["color-interpolation-filters"]=true;whiteList["column-count"]=false;whiteList["column-fill"]=false;whiteList["column-gap"]=false;whiteList["column-rule"]=false;whiteList["column-rule-color"]=false;whiteList["column-rule-style"]=false;whiteList["column-rule-width"]=false;whiteList["column-span"]=false;whiteList["column-width"]=false;whiteList["columns"]=false;whiteList["contain"]=false;whiteList["content"]=false;whiteList["counter-increment"]=false;whiteList["counter-reset"]=false;whiteList["counter-set"]=false;whiteList["crop"]=false;whiteList["cue"]=false;whiteList["cue-after"]=false;whiteList["cue-before"]=false;whiteList["cursor"]=false;whiteList["direction"]=false;whiteList["display"]=true;whiteList["display-inside"]=true;whiteList["display-list"]=true;whiteList["display-outside"]=true;whiteList["dominant-baseline"]=false;whiteList["elevation"]=false;whiteList["empty-cells"]=false;whiteList["filter"]=false;whiteList["flex"]=false;whiteList["flex-basis"]=false;whiteList["flex-direction"]=false;whiteList["flex-flow"]=false;whiteList["flex-grow"]=false;whiteList["flex-shrink"]=false;whiteList["flex-wrap"]=false;whiteList["float"]=false;whiteList["float-offset"]=false;whiteList["flood-color"]=false;whiteList["flood-opacity"]=false;whiteList["flow-from"]=false;whiteList["flow-into"]=false;whiteList["font"]=true;whiteList["font-family"]=true;whiteList["font-feature-settings"]=true;whiteList["font-kerning"]=true;whiteList["font-language-override"]=true;whiteList["font-size"]=true;whiteList["font-size-adjust"]=true;whiteList["font-stretch"]=true;whiteList["font-style"]=true;whiteList["font-synthesis"]=true;whiteList["font-variant"]=true;whiteList["font-variant-alternates"]=true;whiteList["font-variant-caps"]=true;whiteList["font-variant-east-asian"]=true;whiteList["font-variant-ligatures"]=true;whiteList["font-variant-numeric"]=true;whiteList["font-variant-position"]=true;whiteList["font-weight"]=true;whiteList["grid"]=false;whiteList["grid-area"]=false;whiteList["grid-auto-columns"]=false;whiteList["grid-auto-flow"]=false;whiteList["grid-auto-rows"]=false;whiteList["grid-column"]=false;whiteList["grid-column-end"]=false;whiteList["grid-column-start"]=false;whiteList["grid-row"]=false;whiteList["grid-row-end"]=false;whiteList["grid-row-start"]=false;whiteList["grid-template"]=false;whiteList["grid-template-areas"]=false;whiteList["grid-template-columns"]=false;whiteList["grid-template-rows"]=false;whiteList["hanging-punctuation"]=false;whiteList["height"]=true;whiteList["hyphens"]=false;whiteList["icon"]=false;whiteList["image-orientation"]=false;whiteList["image-resolution"]=false;whiteList["ime-mode"]=false;whiteList["initial-letters"]=false;whiteList["inline-box-align"]=false;whiteList["justify-content"]=false;whiteList["justify-items"]=false;whiteList["justify-self"]=false;whiteList["left"]=false;whiteList["letter-spacing"]=true;whiteList["lighting-color"]=true;whiteList["line-box-contain"]=false;whiteList["line-break"]=false;whiteList["line-grid"]=false;whiteList["line-height"]=false;whiteList["line-snap"]=false;whiteList["line-stacking"]=false;whiteList["line-stacking-ruby"]=false;whiteList["line-stacking-shift"]=false;whiteList["line-stacking-strategy"]=false;whiteList["list-style"]=true;whiteList["list-style-image"]=true;whiteList["list-style-position"]=true;whiteList["list-style-type"]=true;whiteList["margin"]=true;whiteList["margin-bottom"]=true;whiteList["margin-left"]=true;whiteList["margin-right"]=true;whiteList["margin-top"]=true;whiteList["marker-offset"]=false;whiteList["marker-side"]=false;whiteList["marks"]=false;whiteList["mask"]=false;whiteList["mask-box"]=false;whiteList["mask-box-outset"]=false;whiteList["mask-box-repeat"]=false;whiteList["mask-box-slice"]=false;whiteList["mask-box-source"]=false;whiteList["mask-box-width"]=false;whiteList["mask-clip"]=false;whiteList["mask-image"]=false;whiteList["mask-origin"]=false;whiteList["mask-position"]=false;whiteList["mask-repeat"]=false;whiteList["mask-size"]=false;whiteList["mask-source-type"]=false;whiteList["mask-type"]=false;whiteList["max-height"]=true;whiteList["max-lines"]=false;whiteList["max-width"]=true;whiteList["min-height"]=true;whiteList["min-width"]=true;whiteList["move-to"]=false;whiteList["nav-down"]=false;whiteList["nav-index"]=false;whiteList["nav-left"]=false;whiteList["nav-right"]=false;whiteList["nav-up"]=false;whiteList["object-fit"]=false;whiteList["object-position"]=false;whiteList["opacity"]=false;whiteList["order"]=false;whiteList["orphans"]=false;whiteList["outline"]=false;whiteList["outline-color"]=false;whiteList["outline-offset"]=false;whiteList["outline-style"]=false;whiteList["outline-width"]=false;whiteList["overflow"]=false;whiteList["overflow-wrap"]=false;whiteList["overflow-x"]=false;whiteList["overflow-y"]=false;whiteList["padding"]=true;whiteList["padding-bottom"]=true;whiteList["padding-left"]=true;whiteList["padding-right"]=true;whiteList["padding-top"]=true;whiteList["page"]=false;whiteList["page-break-after"]=false;whiteList["page-break-before"]=false;whiteList["page-break-inside"]=false;whiteList["page-policy"]=false;whiteList["pause"]=false;whiteList["pause-after"]=false;whiteList["pause-before"]=false;whiteList["perspective"]=false;whiteList["perspective-origin"]=false;whiteList["pitch"]=false;whiteList["pitch-range"]=false;whiteList["play-during"]=false;whiteList["position"]=false;whiteList["presentation-level"]=false;whiteList["quotes"]=false;whiteList["region-fragment"]=false;whiteList["resize"]=false;whiteList["rest"]=false;whiteList["rest-after"]=false;whiteList["rest-before"]=false;whiteList["richness"]=false;whiteList["right"]=false;whiteList["rotation"]=false;whiteList["rotation-point"]=false;whiteList["ruby-align"]=false;whiteList["ruby-merge"]=false;whiteList["ruby-position"]=false;whiteList["shape-image-threshold"]=false;whiteList["shape-outside"]=false;whiteList["shape-margin"]=false;whiteList["size"]=false;whiteList["speak"]=false;whiteList["speak-as"]=false;whiteList["speak-header"]=false;whiteList["speak-numeral"]=false;whiteList["speak-punctuation"]=false;whiteList["speech-rate"]=false;whiteList["stress"]=false;whiteList["string-set"]=false;whiteList["tab-size"]=false;whiteList["table-layout"]=false;whiteList["text-align"]=true;whiteList["text-align-last"]=true;whiteList["text-combine-upright"]=true;whiteList["text-decoration"]=true;whiteList["text-decoration-color"]=true;whiteList["text-decoration-line"]=true;whiteList["text-decoration-skip"]=true;whiteList["text-decoration-style"]=true;whiteList["text-emphasis"]=true;whiteList["text-emphasis-color"]=true;whiteList["text-emphasis-position"]=true;whiteList["text-emphasis-style"]=true;whiteList["text-height"]=true;whiteList["text-indent"]=true;whiteList["text-justify"]=true;whiteList["text-orientation"]=true;whiteList["text-overflow"]=true;whiteList["text-shadow"]=true;whiteList["text-space-collapse"]=true;whiteList["text-transform"]=true;whiteList["text-underline-position"]=true;whiteList["text-wrap"]=true;whiteList["top"]=false;whiteList["transform"]=false;whiteList["transform-origin"]=false;whiteList["transform-style"]=false;whiteList["transition"]=false;whiteList["transition-delay"]=false;whiteList["transition-duration"]=false;whiteList["transition-property"]=false;whiteList["transition-timing-function"]=false;whiteList["unicode-bidi"]=false;whiteList["vertical-align"]=false;whiteList["visibility"]=false;whiteList["voice-balance"]=false;whiteList["voice-duration"]=false;whiteList["voice-family"]=false;whiteList["voice-pitch"]=false;whiteList["voice-range"]=false;whiteList["voice-rate"]=false;whiteList["voice-stress"]=false;whiteList["voice-volume"]=false;whiteList["volume"]=false;whiteList["white-space"]=false;whiteList["widows"]=false;whiteList["width"]=true;whiteList["will-change"]=false;whiteList["word-break"]=true;whiteList["word-spacing"]=true;whiteList["word-wrap"]=true;whiteList["wrap-flow"]=false;whiteList["wrap-through"]=false;whiteList["writing-mode"]=false;whiteList["z-index"]=false;returnwhiteList}functiononAttr(name,value,options){}functiononIgnoreAttr(name,value,options){}exports.whiteList=getDefaultWhiteList();exports.getDefaultWhiteList=getDefaultWhiteList;exports.onAttr=onAttr;exports.onIgnoreAttr=onIgnoreAttr},{}],8:[function(require,module,exports){varDEFAULT=require("./default");varFilterCSS=require("./css");functionfilterCSS(html,options){varxss=newFilterCSS(options);returnxss.process(html)}exports=module.exports=filterCSS;exports.FilterCSS=FilterCSS;for(variinDEFAULT)exports[i]=DEFAULT[i];if(typeofwindow!=="undefined"){window.filterCSS=module.exports}},{"./css":6,"./default":7}],9:[function(require,module,exports){var_=require("./util");functionparseStyle(css,onAttr){css=_.trimRight(css);if(css[css.length-1]!==";")css+=";";varcssLength=css.length;varisParenthesisOpen=false;varlastPos=0;vari=0;varretCSS="";functionaddNewAttr(){if(!isParenthesisOpen){varsource=_.trim(css.slice(lastPos,i));varj=source.indexOf(":");if(j!==-1){varname=_.trim(source.slice(0,j));varvalue=_.trim(source.slice(j+1));if(name){varret=onAttr(lastPos,retCSS.length,name,value,source);if(ret)retCSS+=ret+"; "}}}lastPos=i+1}for(;i<cssLength;i++){varc=css[i];if(c==="/"&&css[i+1]==="*"){varj=css.indexOf("*/",i+2);if(j===-1)break;i=j+1;lastPos=i+1;isParenthesisOpen=false}elseif(c==="("){isParenthesisOpen=true}elseif(c===")"){isParenthesisOpen=false}elseif(c===";"){if(isParenthesisOpen){}else{addNewAttr()}}elseif(c==="\n"){addNewAttr()}}return_.trim(retCSS)}module.exports=parseStyle},{"./util":10}],10:[function(require,module,exports){module.exports={indexOf:function(arr,item){vari,j;if(Array.prototype.indexOf){returnarr.indexOf(item)}for(i=0,j=arr.length;i<j;i++){if(arr[i]===item){returni}}return-1},forEach:function(arr,fn,scope){vari,j;if(Array.prototype.forEach){returnarr.forEach(fn,scope)}for(i=0,j=arr.length;i<j;i++){fn.call(scope,arr[i],i,arr)}},trim:function(str){if(String.prototype.trim){returnstr.trim()}returnstr.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(str){if(String.prototype.trimRight){returnstr.trimRight()}returnstr.replace(/(\s*$)/g,"")}}},{}]},{},[2]);
!function(p){"use strict";varc,t,f={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,unavailable:null,deactivated:null,overdue:null,ready:null},d={},u=null,r=0,h={},o=0,v={},e=function(){vare,t,a,r,n="ZeroClipboard.swf";if(!document.currentScript||!(r=document.currentScript.src)){vari=document.getElementsByTagName("script");if("readyState"ini[0])for(e=i.length;e--&&("interactive"!==i[e].readyState||!(r=i[e].src)););elseif("loading"===document.readyState)r=i[i.length-1].src;else{for(e=i.length;e--;){if(!(a=i[e].src)){t=null;break}if(a=(a=a.split("#")[0].split("?")[0]).slice(0,a.lastIndexOf("/")+1),null==t)t=a;elseif(t!==a){t=null;break}}null!==t&&(r=t)}}returnr&&(n=(r=r.split("#")[0].split("?")[0]).slice(0,r.lastIndexOf("/")+1)+n),n}(),y=(t=/\-([a-z])/g,function(e){returne.replace(t,a)});functiona(e,t){returnt.toUpperCase()}functiong(e){vart;e=e||p.event,this!==p?t=this:e.target?t=e.target:e.srcElement&&(t=e.srcElement),N.activate(t)}functionm(e,t){if(!e||1!==e.nodeType)returne;if(e.classList)returne.classList.contains(t)||e.classList.add(t),e;if(t&&"string"==typeoft){vara=(t||"").split(/\s+/);if(1===e.nodeType)if(e.className){for(varr=""+e.className+"",n=e.className,i=0,o=a.length;i<o;i++)r.indexOf(""+a[i]+"")<0&&(n+=""+a[i]);e.className=n.replace(/^\s+|\s+$/g,"")}elsee.className=t}returne}functionb(e,t){if(!e||1!==e.nodeType)returne;if(e.classList)returne.classList.contains(t)&&e.classList.remove(t),e;if(t&&"string"==typeoft||void0===t){vara=(t||"").split(/\s+/);if(1===e.nodeType&&e.className)if(t){for(varr=(""+e.className+"").replace(/[\n\t]/g,""),n=0,i=a.length;n<i;n++)r=r.replace(""+a[n]+"","");e.className=r.replace(/^\s+|\s+$/g,"")}elsee.className=""}returne}functionn(e,t){vara,r,n,i,o={left:0,top:0,width:0,height:0,zIndex:O(t)-1};if(e.getBoundingClientRect){varl,s,c,d=e.getBoundingClientRect();s="pageXOffset"inp&&"pageYOffset"inp?(l=p.pageXOffset,p.pageYOffset):(i=1,"function"==typeofdocument.body.getBoundingClientRect&&(r=(a=document.body.getBoundingClientRect()).right-a.left,n=document.body.offsetWidth,i=Math.round(r/n*100)/100),c=i,l=Math.round(document.documentElement.scrollLeft/c),Math.round(document.documentElement.scrollTop/c));varu=document.documentElement.clientLeft||0,f=document.documentElement.clientTop||0;o.left=d.left+l-u,o.top=d.top+s-f,o.width="width"ind?d.width:d.right-d.left,o.height="height"ind?d.height:d.bottom-d.top}returno}functionw(e,t,a){if("function"==typeoft.indexOf)returnt.indexOf(e,a);varr,n=t.length;for(void0===a?a=0:a<0&&(a=n+a),r=a;r<n;r++)if(t.hasOwnProperty(r)&&t[r]===e)returnr;return-1}functionx(e){if("string"==typeofe)thrownewTypeError("ZeroClipboard doesn't accept query strings.");return"number"!=typeofe.length?[e]:e}functionl(e,t,a,r){r?p.setTimeout(function(){e.apply(t,a)},0):e.apply(t,a)}functionC(){vare,t,a,r,n,i=arguments[0]||{};for(e=1,t=arguments.length;e<t;e++)if(null!=(a=arguments[e]))for(rina)if(a.hasOwnProperty(r)){if(i[r],i===(n=a[r]))continue;void0!==n&&(i[r]=n)}returni}varO=function(e){vart,a;returne&&("number"==typeofe&&0<e?t=e:"string"==typeofe&&(a=parseInt(e,10))&&!isNaN(a)&&0<a&&(t=a)),t||("number"==typeofE.zIndex&&0<E.zIndex?t=E.zIndex:"string"==typeofE.zIndex&&(a=parseInt(E.zIndex,10))&&!isNaN(a)&&0<a&&(t=a)),t||0},T=function(e){if(null==e||""===e)returnnull;if(""===(e=e.replace(/^\s+|\s+$/g,"")))returnnull;vart=e.indexOf("//"),a=(e=-1===t?e:e.slice(t+2)).indexOf("/");return(!(e=-1===a?e:-1===t||0===a?null:e.slice(0,a))||".swf"!==e.slice(-4).toLowerCase())&&e||null},D=function(e,t){vara=T(t.swfPath);null===a&&(a=e);varr=[];i(t.trustedOrigins,r),i(t.trustedDomains,r);varn=r.length;if(0<n){if(1===n&&"*"===r[0])return"always";if(-1!==w(e,r))return1===n&&e===a?"sameDomain":"always"}return"never"};functioni(e,t){vara,r,n;if(null!=e&&"*"!==t[0]&&("string"==typeofe&&(e=[e]),"object"==typeofe&&"number"==typeofe.length))for(a=0,r=e.length;a<r;a++)if(e.hasOwnProperty(a)&&(n=T(e[a]))){if("*"===n){t.length=0,t.push("*");break}-1===w(n,t)&&t.push(n)}}functionz(e){if(null==e)return[];if(Object.keys)returnObject.keys(e);vart=[];for(varaine)e.hasOwnProperty(a)&&t.push(a);returnt}vars,k=(s=p.Array.prototype.slice,function(e){returns.call(e,0)});!function(){vart,e,a=!1,r=!1,n=!1,i="";functiono(e){vart=e.match(/[\d]+/g);returnt.length=3,t.join(".")}functionl(e){vart;e&&(a=!0,e.version&&(i=o(e.version)),!i&&e.description&&(i=o(e.description)),e.filename&&(t=e.filename,n=!!t&&(t=t.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(t)||"chrome.plugin"===t.slice(-13))))}if(navigator.plugins&&navigator.plugins.length)l(navigator.plugins["Shockwave Flash"]),navigator.plugins["Shockwave Flash 2.0"]&&(a=!0,i="2.0.0.11");elseif(navigator.mimeTypes&&navigator.mimeTypes.length)l((e=navigator.mimeTypes["application/x-shockwave-flash"])&&e.enabledPlugin);elseif("undefined"!=typeofActiveXObject){r=!0;try{t=newActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),a=!0,i=o(t.GetVariable("$version"))}catch(e){try{t=newActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),a=!0,i="6.0.21"}catch(e){try{t=newActiveXObject("ShockwaveFlash.ShockwaveFlash"),a=!0,i=o(t.GetVariable("$version"))}catch(e){r=!1}}}}f.disabled=!0!==a,f.outdated=i&&parseFloat(i)<11,f.version=i||"0.0.0",f.pluginType=n?"pepper":r?"activex":a?"netscape":"unknown"}();varN=function(e){if(!(thisinstanceofN))returnnewN(e);if(this.id=""+r++,h[this.id]={instance:this,elements:[],handlers:{}},e&&this.clip(e),"boolean"!=typeoff.ready&&(f.ready=!1),!N.isFlashUnusable()&&null===f.bridge){vart=this,a=E.flashLoadTimeout;"number"==typeofa&&0<=a&&setTimeout(function(){"boolean"!=typeoff.deactivated&&(f.deactivated=!0),!0===f.deactivated&&N.emit({type:"error",name:"flash-deactivated",client:t})},a),f.overdue=!1,I()}};N.prototype.setText=function(e){returnN.setData("text/plain",e),this},N.prototype.setHtml=function(e){returnN.setData("text/html",e),this},N.prototype.setRichText=function(e){returnN.setData("application/rtf",e),this},N.prototype.setData=function(){returnN.setData.apply(N,k(arguments)),this},N.prototype.clearData=function(){returnN.clearData.apply(N,k(arguments)),this},N.prototype.setSize=function(e,t){returnS(e,t),this};N.prototype.destroy=function(){this.unclip(),this.off(),deleteh[this.id]};N.version="2.0.0-beta.5";varE={swfPath:e,trustedDomains:p.location.host?[p.location.host]:[],cacheBust:!0,forceHandCursor:!1,forceEnhancedClipboard:!1,zIndex:999999999,debug:!1,title:null,autoActivate:!0,flashLoadTimeout:3e4};N.isFlashUnusable=function(){return!!(f.disabled||f.outdated||f.unavailable||f.deactivated)},N.config=function(e){if("object"==typeofe&&null!==e&&C(E,e),"string"==typeofe&&e)returnE.hasOwnProperty(e)?E[e]:void0;vart={};for(varainE)E.hasOwnProperty(a)&&("object"==typeofE[a]&&null!==E[a]?"length"inE[a]?t[a]=E[a].slice(0):t[a]=C({},E[a]):t[a]=E[a]);returnt},N.destroy=function(){for(vareinN.deactivate(),h)if(h.hasOwnProperty(e)&&h[e]){vart=h[e].instance;t&&"function"==typeoft.destroy&&t.destroy()}vara=f.bridge;if(a){varr=j(a);r&&("activex"===f.pluginType&&"readyState"ina?(a.style.display="none",functione(){if(4===a.readyState){for(vartina)"function"==typeofa[t]&&(a[t]=null);a.parentNode.removeChild(a),r.parentNode&&r.parentNode.removeChild(r)}elsesetTimeout(e,10)}()):(a.parentNode.removeChild(a),r.parentNode&&r.parentNode.removeChild(r))),f.ready=null,f.bridge=null,f.deactivated=null}N.clearData()},N.activate=function(e){c&&(b(c,E.hoverClass),b(c,E.activeClass)),m(c=e,E.hoverClass),L();vart=E.title||e.getAttribute("title");if(t){vara=j(f.bridge);a&&a.setAttribute("title",t)}varr,n,i,o,l,s=!0===E.forceHandCursor||"pointer"===(r=e,n="cursor",i=p.getComputedStyle?p.getComputedStyle(r,null).getPropertyValue(n):(o=y(n),r.currentStyle?r.currentStyle[o]:r.style[o]),"cursor"!==n||i&&"auto"!==i||"a"!==r.tagName.toLowerCase()?i:"pointer");l=s,!0===f.ready&&f.bridge&&"function"==typeoff.bridge.setHandCursor?f.bridge.setHandCursor(l):f.ready=!1},N.deactivate=function(){vare=j(f.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",S(1,1)),c&&(b(c,E.hoverClass),b(c,E.activeClass),c=null)},N.state=function(){return{browser:function(e,t){for(vara={},r=0,n=t.length;r<n;r++)t[r]ine&&(a[t[r]]=e[t[r]]);returna}(p.navigator,["userAgent","platform","appName"]),flash:function(e,t){vara={};for(varrine)-1===w(r,t)&&(a[r]=e[r]);returna}(f,["bridge"]),zeroclipboard:{version:N.version,config:N.config()}}},N.setData=function(e,t){vara;if("object"==typeofe&&e&&void0===t)a=e,N.clearData();else{if("string"!=typeofe||!e)return;(a={})[e]=t}for(varrina)r&&a.hasOwnProperty(r)&&"string"==typeofa[r]&&a[r]&&(d[r]=a[r])},N.clearData=function(e){void0===e?(function(e){if(e)for(vartine)e.hasOwnProperty(t)&&deletee[t]}(d),u=null):"string"==typeofe&&d.hasOwnProperty(e)&&deleted[e]};varI=function(){vare,t,a,r,n=document.getElementById("global-zeroclipboard-html-bridge");if(!n){vari=D(p.location.host,E),o="never"===i?"none":"all",l=function(e){vart,a,r,n,i="",o=[];if(e.trustedDomains&&("string"==typeofe.trustedDomains?n=[e.trustedDomains]:"object"==typeofe.trustedDomains&&"length"ine.trustedDomains&&(n=e.trustedDomains)),n&&n.length)for(t=0,a=n.length;t<a;t++)if(n.hasOwnProperty(t)&&n[t]&&"string"==typeofn[t]){if(!(r=T(n[t])))continue;if("*"===r){o=[r];break}o.push.apply(o,[r,"//"+r,p.location.protocol+"//"+r])}returno.length&&(i+="trustedOrigins="+encodeURIComponent(o.join(","))),!0===e.forceEnhancedClipboard&&(i+=(i?"&":"")+"forceEnhancedClipboard=true"),i}(E),s=E.swfPath+(a=E.swfPath,null==(r=E)||r&&!0===r.cacheBust?(-1===a.indexOf("?")?"?":"&")+"noCache="+(newDate).getTime():"");n=P();varc=document.createElement("div");n.appendChild(c),document.body.appendChild(n);vard=document.createElement("div"),u="activex"===f.pluginType;d.innerHTML='<object id="global-zeroclipboard-flash-bridge" name="global-zeroclipboard-flash-bridge" width="100%" height="100%" '+(u?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+s+'"')+">"+(u?'<param name="movie" value="'+s+'"/>':"")+'<param name="allowScriptAccess" value="'+i+'"/><param name="allowNetworking" value="'+o+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+l+'"/></object>',e=d.firstChild,d=null,e.ZeroClipboard=N,n.replaceChild(e,c)}e||((e=document["global-zeroclipboard-flash-bridge"])&&(t=e.length)&&(e=e[t-1]),e=e||n.firstChild),f.bridge=e||null},P=function(){vare=document.createElement("div");returne.id="global-zeroclipboard-html-bridge",e.className="global-zeroclipboard-container",e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+O(E.zIndex),e},j=function(e){for(vart=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;returnt||null},L=function(){if(c){vare=n(c,E.zIndex),t=j(f.bridge);t&&(t.style.top=e.top+"px",t.style.left=e.left+"px",t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.zIndex=e.zIndex+1),S(e.width,e.height)}},S=function(e,t){vara=j(f.bridge);a&&(a.style.width=e+"px",a.style.height=t+"px")};N.emit=function(e){vart,a,r,n,i,o,l,s,c;if("string"==typeofe&&e&&(t=e),"object"==typeofe&&e&&"string"==typeofe.type&&e.type&&(t=e.type,a=e),t){if(e=B(t,a),M(e),"ready"===e.type&&!0===f.overdue)returnN.emit({type:"error",name:"flash-overdue"});if(r=!/^(before)?copy$/.test(e.type),e.client)A.call(e.client,e,r);elsefor(i=0,o=(n=e.target&&e.target!==p&&!0===E.autoActivate?$(e.target):function(){vare,t,a,r=[],n=z(h);for(e=0,t=n.length;e<t;e++)(a=h[n[e]].instance)&&ainstanceofN&&r.push(a);returnr}()).length;i<o;i++)l=C({},e,{client:n[i]}),A.call(n[i],l,r);return"copy"===e.type&&(s=(c=function(e){vart={},a={};if("object"==typeofe&&e){for(varrine)if(r&&e.hasOwnProperty(r)&&"string"==typeofe[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],a.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],a.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],a.rtf=r}return{data:t,formatMap:a}}}(d)).data,u=c.formatMap),s}};varA=function(e,t){vara=h[this.id]&&h[this.id].handlers[e.type];if(a&&a.length){varr,n,i,o;for(r=0,n=a.length;r<n;r++)o=this,"string"==typeof(i=a[r])&&"function"==typeofp[i]&&(i=p[i]),"object"==typeofi&&i&&"function"==typeofi.handleEvent&&(i=(o=i).handleEvent),"function"==typeofi&&l(i,o,[e],t)}returnthis},F={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate","flash-overdue":"Flash communication was established but NOT within the acceptable time limit"}},B=function(e,t){if(e||t&&t.type){t=t||{},e=(e||t.type).toLowerCase(),C(t,{type:e,target:t.target||c||null,relatedTarget:t.relatedTarget||null,currentTarget:f&&f.bridge||null});vara=F[t.type];return"error"===t.type&&t.name&&a&&(a=a[t.name]),a&&(t.message=a),"ready"===t.type&&C(t,{target:null,version:f.version}),"error"===t.type&&(t.target=null,/^flash-(outdated|unavailable|deactivated|overdue)$/.test(t.name)&&C(t,{version:f.version,minimumVersion:"11.0.0"})),"copy"===t.type&&(t.clipboardData={setData:N.setData,clearData:N.clearData}),"aftercopy"===t.type&&(t=function(e,t){if("object"!=typeofe||!e||"object"!=typeoft||!t)returne;vara={};for(varrine)if(e.hasOwnProperty(r)){if("success"!==r&&"data"!==r){a[r]=e[r];continue}a[r]={};varn=e[r];for(variinn)i&&n.hasOwnProperty(i)&&t.hasOwnProperty(i)&&(a[r][t[i]]=n[i])}returna}(t,u)),t.target&&!t.relatedTarget&&(t.relatedTarget=H(t.target)),t}},H=function(e){vart=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");returnt?document.getElementById(t):null},M=function(e){vart=e.target||c;switch(e.type){case"error":w(e.name,["flash-disabled","flash-outdated","flash-deactivated","flash-overdue"])&&C(f,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1});break;case"ready":vara=!0===f.deactivated;C(f,{disabled:!1,outdated:!1,unavailable:!1,deactivated:!1,overdue:a,ready:!a});break;case"copy":varr,n,i=e.relatedTarget;!d["text/html"]&&!d["text/plain"]&&i&&(n=i.value||i.outerHTML||i.innerHTML)&&(r=i.value||i.textContent||i.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",r),n!==r&&e.clipboardData.setData("text/html",n)):!d["text/plain"]&&e.target&&(r=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",r));break;case"aftercopy":N.clearData(),t&&t!==function(){try{returndocument.activeElement}catch(e){}returnnull}()&&t.focus&&t.focus();break;case"mouseover":m(t,E.hoverClass);break;case"mouseout":!0===E.autoActivate&&N.deactivate();break;case"mousedown":m(t,E.activeClass);break;case"mouseup":b(t,E.activeClass)}};N.prototype.on=function(e,t){vara,r,n,i={},o=h[this.id]&&h[this.id].handlers;if("string"==typeofe&&e)n=e.toLowerCase().split(/\s+/);elseif("object"==typeofe&&e&&void0===t)for(aine)e.hasOwnProperty(a)&&"string"==typeofa&&a&&"function"==typeofe[a]&&this.on(a,e[a]);if(n&&n.length){for(a=0,r=n.length;a<r;a++)i[e=n[a].replace(/^on/,"")]=!0,o[e]||(o[e]=[]),o[e].push(t);if(i.ready&&f.ready&&N.emit({type:"ready",client:this}),i.error){varl=["disabled","outdated","unavailable","deactivated","overdue"];for(a=0,r=l.length;a<r;a++)if(f[l[a]]){N.emit({type:"error",name:"flash-"+l[a],client:this});break}}}returnthis},N.prototype.off=function(e,t){vara,r,n,i,o,l=h[this.id]&&h[this.id].handlers;if(0===arguments.length)i=z(l);elseif("string"==typeofe&&e)i=e.split(/\s+/);elseif("object"==typeofe&&e&&void0===t)for(aine)e.hasOwnProperty(a)&&"string"==typeofa&&a&&"function"==typeofe[a]&&this.off(a,e[a]);if(i&&i.length)for(a=0,r=i.length;a<r;a++)if((o=l[e=i[a].toLowerCase().replace(/^on/,"")])&&o.length)if(t)for(n=w(t,o);-1!==n;)o.splice(n,1),n=w(t,o,n);elsel[e].length=0;returnthis},N.prototype.handlers=function(e){vart,a=null,r=h[this.id]&&h[this.id].handlers;if(r){if("string"==typeofe&&e)returnr[e]?r[e].slice(0):null;for(tina={},r)r.hasOwnProperty(t)&&r[t]&&(a[t]=r[t].slice(0))}returna},N.prototype.clip=function(e){e=x(e);for(vart=0;t<e.length;t++)if(e.hasOwnProperty(t)&&e[t]&&1===e[t].nodeType){e[t].zcClippingId?-1===w(this.id,v[e[t].zcClippingId])&&v[e[t].zcClippingId].push(this.id):(e[t].zcClippingId="zcClippingId_"+o++,v[e[t].zcClippingId]=[this.id],!0===E.autoActivate&&(r=e[t],n="mouseover",i=g,r&&1===r.nodeType&&(r.addEventListener?r.addEventListener(n,i,!1):r.attachEvent&&r.attachEvent("on"+n,i))));vara=h[this.id].elements;-1===w(e[t],a)&&a.push(e[t])}varr,n,i;returnthis},N.prototype.unclip=function(e){vart=h[this.id];if(!t)returnthis;for(vara,r,n,i,o=t.elements,l=(e=void0===e?o.slice(0):x(e)).length;l--;)if(e.hasOwnProperty(l)&&e[l]&&1===e[l].nodeType){for(a=0;-1!==(a=w(e[l],o,a));)o.splice(a,1);vars=v[e[l].zcClippingId];if(s){for(a=0;-1!==(a=w(this.id,s,a));)s.splice(a,1);0===s.length&&(!0===E.autoActivate&&(r=e[l],n="mouseover",i=g,r&&1===r.nodeType&&(r.removeEventListener?r.removeEventListener(n,i,!1):r.detachEvent&&r.detachEvent("on"+n,i))),deletee[l].zcClippingId)}}returnthis},N.prototype.elements=function(){vare=h[this.id];returne&&e.elements?e.elements.slice(0):[]};var$=function(e){vart,a,r,n,i,o=[];if(e&&1===e.nodeType&&(t=e.zcClippingId)&&v.hasOwnProperty(t)&&(a=v[t])&&a.length)for(r=0,n=a.length;r<n;r++)(i=h[a[r]].instance)&&iinstanceofN&&o.push(i);returno};E.hoverClass="zeroclipboard-is-hover",E.activeClass="zeroclipboard-is-active","function"==typeofdefine&&define.amd?define(function(){returnN}):"object"==typeofmodule&&module&&"object"==typeofmodule.exports&&module.exports?module.exports=N:p.ZeroClipboard=N}(function(){returnthis}());
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
* Copyright (c) 2014 Jon Rohan, James M. Greene
* Licensed MIT
* http://zeroclipboard.org/
* v2.0.0-beta.5
*/
!function(a){"use strict";varb,c={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,unavailable:null,deactivated:null,overdue:null,ready:null},d={},e=null,f=0,g={},h=0,i={},j=function(){vara,b,c,d,e="ZeroClipboard.swf";if(!document.currentScript||!(d=document.currentScript.src)){varf=document.getElementsByTagName("script");if("readyState"inf[0])for(a=f.length;a--&&("interactive"!==f[a].readyState||!(d=f[a].src)););elseif("loading"===document.readyState)d=f[f.length-1].src;else{for(a=f.length;a--;){if(c=f[a].src,!c){b=null;break}if(c=c.split("#")[0].split("?")[0],c=c.slice(0,c.lastIndexOf("/")+1),null==b)b=c;elseif(b!==c){b=null;break}}null!==b&&(d=b)}}returnd&&(d=d.split("#")[0].split("?")[0],e=d.slice(0,d.lastIndexOf("/")+1)+e),e}(),k=function(){vara=/\-([a-z])/g,b=function(a,b){returnb.toUpperCase()};returnfunction(c){returnc.replace(a,b)}}(),l=function(b,c){vard,e,f;returna.getComputedStyle?d=a.getComputedStyle(b,null).getPropertyValue(c):(e=k(c),d=b.currentStyle?b.currentStyle[e]:b.style[e]),"cursor"!==c||d&&"auto"!==d||(f=b.tagName.toLowerCase(),"a"!==f)?d:"pointer"},m=function(b){b||(b=a.event);varc;this!==a?c=this:b.target?c=b.target:b.srcElement&&(c=b.srcElement),L.activate(c)},n=function(a,b,c){a&&1===a.nodeType&&(a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c))},o=function(a,b,c){a&&1===a.nodeType&&(a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c))},p=function(a,b){if(!a||1!==a.nodeType)returna;if(a.classList)returna.classList.contains(b)||a.classList.add(b),a;if(b&&"string"==typeofb){varc=(b||"").split(/\s+/);if(1===a.nodeType)if(a.className){for(vard=""+a.className+"",e=a.className,f=0,g=c.length;g>f;f++)d.indexOf(""+c[f]+"")<0&&(e+=""+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}elsea.className=b}returna},q=function(a,b){if(!a||1!==a.nodeType)returna;if(a.classList)returna.classList.contains(b)&&a.classList.remove(b),a;if(b&&"string"==typeofb||void0===b){varc=(b||"").split(/\s+/);if(1===a.nodeType&&a.className)if(b){for(vard=(""+a.className+"").replace(/[\n\t]/g,""),e=0,f=c.length;f>e;e++)d=d.replace(""+c[e]+"","");a.className=d.replace(/^\s+|\s+$/g,"")}elsea.className=""}returna},r=function(){vara,b,c,d=1;return"function"==typeofdocument.body.getBoundingClientRect&&(a=document.body.getBoundingClientRect(),b=a.right-a.left,c=document.body.offsetWidth,d=Math.round(b/c*100)/100),d},s=function(b,c){vard={left:0,top:0,width:0,height:0,zIndex:y(c)-1};if(b.getBoundingClientRect){vare,f,g,h=b.getBoundingClientRect();"pageXOffset"ina&&"pageYOffset"ina?(e=a.pageXOffset,f=a.pageYOffset):(g=r(),e=Math.round(document.documentElement.scrollLeft/g),f=Math.round(document.documentElement.scrollTop/g));vari=document.documentElement.clientLeft||0,j=document.documentElement.clientTop||0;d.left=h.left+e-i,d.top=h.top+f-j,d.width="width"inh?h.width:h.right-h.left,d.height="height"inh?h.height:h.bottom-h.top}returnd},t=function(a,b){varc=null==b||b&&b.cacheBust===!0;returnc?(-1===a.indexOf("?")?"?":"&")+"noCache="+(newDate).getTime():""},u=function(b){varc,d,e,f,g="",h=[];if(b.trustedDomains&&("string"==typeofb.trustedDomains?f=[b.trustedDomains]:"object"==typeofb.trustedDomains&&"length"inb.trustedDomains&&(f=b.trustedDomains)),f&&f.length)for(c=0,d=f.length;d>c;c++)if(f.hasOwnProperty(c)&&f[c]&&"string"==typeoff[c]){if(e=A(f[c]),!e)continue;if("*"===e){h=[e];break}h.push.apply(h,[e,"//"+e,a.location.protocol+"//"+e])}returnh.length&&(g+="trustedOrigins="+encodeURIComponent(h.join(","))),b.forceEnhancedClipboard===!0&&(g+=(g?"&":"")+"forceEnhancedClipboard=true"),g},v=function(a,b,c){if("function"==typeofb.indexOf)returnb.indexOf(a,c);vard,e=b.length;for("undefined"==typeofc?c=0:0>c&&(c=e+c),d=c;e>d;d++)if(b.hasOwnProperty(d)&&b[d]===a)returnd;return-1},w=function(a){if("string"==typeofa)thrownewTypeError("ZeroClipboard doesn't accept query strings.");return"number"!=typeofa.length?[a]:a},x=function(b,c,d,e){e?a.setTimeout(function(){b.apply(c,d)},0):b.apply(c,d)},y=function(a){varb,c;returna&&("number"==typeofa&&a>0?b=a:"string"==typeofa&&(c=parseInt(a,10))&&!isNaN(c)&&c>0&&(b=c)),b||("number"==typeofO.zIndex&&O.zIndex>0?b=O.zIndex:"string"==typeofO.zIndex&&(c=parseInt(O.zIndex,10))&&!isNaN(c)&&c>0&&(b=c)),b||0},z=function(){vara,b,c,d,e,f,g=arguments[0]||{};for(a=1,b=arguments.length;b>a;a++)if(null!=(c=arguments[a]))for(dinc)if(c.hasOwnProperty(d)){if(e=g[d],f=c[d],g===f)continue;void0!==f&&(g[d]=f)}returng},A=function(a){if(null==a||""===a)returnnull;if(a=a.replace(/^\s+|\s+$/g,""),""===a)returnnull;varb=a.indexOf("//");a=-1===b?a:a.slice(b+2);varc=a.indexOf("/");returna=-1===c?a:-1===b||0===c?null:a.slice(0,c),a&&".swf"===a.slice(-4).toLowerCase()?null:a||null},B=function(){vara=function(a,b){varc,d,e;if(null!=a&&"*"!==b[0]&&("string"==typeofa&&(a=[a]),"object"==typeofa&&"number"==typeofa.length))for(c=0,d=a.length;d>c;c++)if(a.hasOwnProperty(c)&&(e=A(a[c]))){if("*"===e){b.length=0,b.push("*");break}-1===v(e,b)&&b.push(e)}};returnfunction(b,c){vard=A(c.swfPath);null===d&&(d=b);vare=[];a(c.trustedOrigins,e),a(c.trustedDomains,e);varf=e.length;if(f>0){if(1===f&&"*"===e[0])return"always";if(-1!==v(b,e))return1===f&&b===d?"sameDomain":"always"}return"never"}}(),C=function(a){if(null==a)return[];if(Object.keys)returnObject.keys(a);varb=[];for(varcina)a.hasOwnProperty(c)&&b.push(c);returnb},D=function(a){if(a)for(varbina)a.hasOwnProperty(b)&&deletea[b];returna},E=function(){try{returndocument.activeElement}catch(a){}returnnull},F=function(a,b){for(varc={},d=0,e=b.length;e>d;d++)b[d]ina&&(c[b[d]]=a[b[d]]);returnc},G=function(a,b){varc={};for(vardina)-1===v(d,b)&&(c[d]=a[d]);returnc},H=function(a){varb={},c={};if("object"==typeofa&&a){for(vardina)if(d&&a.hasOwnProperty(d)&&"string"==typeofa[d]&&a[d])switch(d.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":b.text=a[d],c.text=d;break;case"text/html":case"html":case"air:html":case"flash:html":b.html=a[d],c.html=d;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":b.rtf=a[d],c.rtf=d}return{data:b,formatMap:c}}},I=function(a,b){if("object"!=typeofa||!a||"object"!=typeofb||!b)returna;varc={};for(vardina)if(a.hasOwnProperty(d)){if("success"!==d&&"data"!==d){c[d]=a[d];continue}c[d]={};vare=a[d];for(varfine)f&&e.hasOwnProperty(f)&&b.hasOwnProperty(f)&&(c[d][b[f]]=e[f])}returnc},J=function(a){returnfunction(b){returna.call(b,0)}}(a.Array.prototype.slice),K=function(){functiona(a){varb=a.match(/[\d]+/g);returnb.length=3,b.join(".")}functionb(a){return!!a&&(a=a.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(a)||"chrome.plugin"===a.slice(-13))}functiond(c){c&&(h=!0,c.version&&(k=a(c.version)),!k&&c.description&&(k=a(c.description)),c.filename&&(j=b(c.filename)))}vare,f,g,h=!1,i=!1,j=!1,k="";if(navigator.plugins&&navigator.plugins.length)e=navigator.plugins["Shockwave Flash"],d(e),navigator.plugins["Shockwave Flash 2.0"]&&(h=!0,k="2.0.0.11");elseif(navigator.mimeTypes&&navigator.mimeTypes.length)g=navigator.mimeTypes["application/x-shockwave-flash"],e=g&&g.enabledPlugin,d(e);elseif("undefined"!=typeofActiveXObject){i=!0;try{f=newActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),h=!0,k=a(f.GetVariable("$version"))}catch(l){try{f=newActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),h=!0,k="6.0.21"}catch(m){try{f=newActiveXObject("ShockwaveFlash.ShockwaveFlash"),h=!0,k=a(f.GetVariable("$version"))}catch(n){i=!1}}}}c.disabled=h!==!0,c.outdated=k&&parseFloat(k)<11,c.version=k||"0.0.0",c.pluginType=j?"pepper":i?"activex":h?"netscape":"unknown"};K();varL=function(a){if(!(thisinstanceofL))returnnewL(a);if(this.id=""+f++,g[this.id]={instance:this,elements:[],handlers:{}},a&&this.clip(a),"boolean"!=typeofc.ready&&(c.ready=!1),!L.isFlashUnusable()&&null===c.bridge){varb=this,d=O.flashLoadTimeout;"number"==typeofd&&d>=0&&setTimeout(function(){"boolean"!=typeofc.deactivated&&(c.deactivated=!0),c.deactivated===!0&&L.emit({type:"error",name:"flash-deactivated",client:b})},d),c.overdue=!1,P()}};L.prototype.setText=function(a){returnL.setData("text/plain",a),this},L.prototype.setHtml=function(a){returnL.setData("text/html",a),this},L.prototype.setRichText=function(a){returnL.setData("application/rtf",a),this},L.prototype.setData=function(){returnL.setData.apply(L,J(arguments)),this},L.prototype.clearData=function(){returnL.clearData.apply(L,J(arguments)),this},L.prototype.setSize=function(a,b){returnT(a,b),this};varM=function(a){c.ready===!0&&c.bridge&&"function"==typeofc.bridge.setHandCursor?c.bridge.setHandCursor(a):c.ready=!1};L.prototype.destroy=function(){this.unclip(),this.off(),deleteg[this.id]};varN=function(){vara,b,c,d=[],e=C(g);for(a=0,b=e.length;b>a;a++)c=g[e[a]].instance,c&&cinstanceofL&&d.push(c);returnd};L.version="2.0.0-beta.5";varO={swfPath:j,trustedDomains:a.location.host?[a.location.host]:[],cacheBust:!0,forceHandCursor:!1,forceEnhancedClipboard:!1,zIndex:999999999,debug:!1,title:null,autoActivate:!0,flashLoadTimeout:3e4};L.isFlashUnusable=function(){return!!(c.disabled||c.outdated||c.unavailable||c.deactivated)},L.config=function(a){"object"==typeofa&&null!==a&&z(O,a);{if("string"!=typeofa||!a){varb={};for(varcinO)O.hasOwnProperty(c)&&(b[c]="object"==typeofO[c]&&null!==O[c]?"length"inO[c]?O[c].slice(0):z({},O[c]):O[c]);returnb}if(O.hasOwnProperty(a))returnO[a]}},L.destroy=function(){L.deactivate();for(varaing)if(g.hasOwnProperty(a)&&g[a]){varb=g[a].instance;b&&"function"==typeofb.destroy&&b.destroy()}vard=c.bridge;if(d){vare=R(d);e&&("activex"===c.pluginType&&"readyState"ind?(d.style.display="none",functionf(){if(4===d.readyState){for(varaind)"function"==typeofd[a]&&(d[a]=null);d.parentNode.removeChild(d),e.parentNode&&e.parentNode.removeChild(e)}elsesetTimeout(f,10)}()):(d.parentNode.removeChild(d),e.parentNode&&e.parentNode.removeChild(e))),c.ready=null,c.bridge=null,c.deactivated=null}L.clearData()},L.activate=function(a){b&&(q(b,O.hoverClass),q(b,O.activeClass)),b=a,p(a,O.hoverClass),S();vard=O.title||a.getAttribute("title");if(d){vare=R(c.bridge);e&&e.setAttribute("title",d)}varf=O.forceHandCursor===!0||"pointer"===l(a,"cursor");M(f)},L.deactivate=function(){vara=R(c.bridge);a&&(a.removeAttribute("title"),a.style.left="0px",a.style.top="-9999px",T(1,1)),b&&(q(b,O.hoverClass),q(b,O.activeClass),b=null)},L.state=function(){return{browser:F(a.navigator,["userAgent","platform","appName"]),flash:G(c,["bridge"]),zeroclipboard:{version:L.version,config:L.config()}}},L.setData=function(a,b){varc;if("object"==typeofa&&a&&"undefined"==typeofb)c=a,L.clearData();else{if("string"!=typeofa||!a)return;c={},c[a]=b}for(vareinc)e&&c.hasOwnProperty(e)&&"string"==typeofc[e]&&c[e]&&(d[e]=c[e])},L.clearData=function(a){"undefined"==typeofa?(D(d),e=null):"string"==typeofa&&d.hasOwnProperty(a)&&deleted[a]};varP=function(){varb,d,e=document.getElementById("global-zeroclipboard-html-bridge");if(!e){varf=B(a.location.host,O),g="never"===f?"none":"all",h=u(O),i=O.swfPath+t(O.swfPath,O);e=Q();varj=document.createElement("div");e.appendChild(j),document.body.appendChild(e);vark=document.createElement("div"),l="activex"===c.pluginType;k.innerHTML='<object id="global-zeroclipboard-flash-bridge" name="global-zeroclipboard-flash-bridge" width="100%" height="100%" '+(l?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+i+'"')+">"+(l?'<param name="movie" value="'+i+'"/>':"")+'<param name="allowScriptAccess" value="'+f+'"/><param name="allowNetworking" value="'+g+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+h+'"/></object>',b=k.firstChild,k=null,b.ZeroClipboard=L,e.replaceChild(b,j)}b||(b=document["global-zeroclipboard-flash-bridge"],b&&(d=b.length)&&(b=b[d-1]),b||(b=e.firstChild)),c.bridge=b||null},Q=function(){vara=document.createElement("div");returna.id="global-zeroclipboard-html-bridge",a.className="global-zeroclipboard-container",a.style.position="absolute",a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.height="1px",a.style.zIndex=""+y(O.zIndex),a},R=function(a){for(varb=a&&a.parentNode;b&&"OBJECT"===b.nodeName&&b.parentNode;)b=b.parentNode;returnb||null},S=function(){if(b){vara=s(b,O.zIndex),d=R(c.bridge);d&&(d.style.top=a.top+"px",d.style.left=a.left+"px",d.style.width=a.width+"px",d.style.height=a.height+"px",d.style.zIndex=a.zIndex+1),T(a.width,a.height)}},T=function(a,b){vard=R(c.bridge);d&&(d.style.width=a+"px",d.style.height=b+"px")};L.emit=function(b){varf,g,h,i,j,k,l,m,n;if("string"==typeofb&&b&&(f=b),"object"==typeofb&&b&&"string"==typeofb.type&&b.type&&(f=b.type,g=b),f){if(b=W(f,g),Y(b),"ready"===b.type&&c.overdue===!0)returnL.emit({type:"error",name:"flash-overdue"});if(h=!/^(before)?copy$/.test(b.type),b.client)U.call(b.client,b,h);elsefor(i=b.target&&b.target!==a&&O.autoActivate===!0?Z(b.target):N(),j=0,k=i.length;k>j;j++)l=z({},b,{client:i[j]}),U.call(i[j],l,h);return"copy"===b.type&&(n=H(d),m=n.data,e=n.formatMap),m}};varU=function(b,c){vard=g[this.id]&&g[this.id].handlers[b.type];if(d&&d.length){vare,f,h,i,j=this;for(e=0,f=d.length;f>e;e++)h=d[e],i=j,"string"==typeofh&&"function"==typeofa[h]&&(h=a[h]),"object"==typeofh&&h&&"function"==typeofh.handleEvent&&(i=h,h=h.handleEvent),"function"==typeofh&&x(h,i,[b],c)}returnthis},V={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate","flash-overdue":"Flash communication was established but NOT within the acceptable time limit"}},W=function(a,d){if(a||d&&d.type){d=d||{},a=(a||d.type).toLowerCase(),z(d,{type:a,target:d.target||b||null,relatedTarget:d.relatedTarget||null,currentTarget:c&&c.bridge||null});varf=V[d.type];return"error"===d.type&&d.name&&f&&(f=f[d.name]),f&&(d.message=f),"ready"===d.type&&z(d,{target:null,version:c.version}),"error"===d.type&&(d.target=null,/^flash-(outdated|unavailable|deactivated|overdue)$/.test(d.name)&&z(d,{version:c.version,minimumVersion:"11.0.0"})),"copy"===d.type&&(d.clipboardData={setData:L.setData,clearData:L.clearData}),"aftercopy"===d.type&&(d=I(d,e)),d.target&&!d.relatedTarget&&(d.relatedTarget=X(d.target)),d}},X=function(a){varb=a&&a.getAttribute&&a.getAttribute("data-clipboard-target");returnb?document.getElementById(b):null},Y=function(a){vare=a.target||b;switch(a.type){case"error":v(a.name,["flash-disabled","flash-outdated","flash-deactivated","flash-overdue"])&&z(c,{disabled:"flash-disabled"===a.name,outdated:"flash-outdated"===a.name,unavailable:"flash-unavailable"===a.name,deactivated:"flash-deactivated"===a.name,overdue:"flash-overdue"===a.name,ready:!1});break;case"ready":varf=c.deactivated===!0;z(c,{disabled:!1,outdated:!1,unavailable:!1,deactivated:!1,overdue:f,ready:!f});break;case"copy":varg,h,i=a.relatedTarget;!d["text/html"]&&!d["text/plain"]&&i&&(h=i.value||i.outerHTML||i.innerHTML)&&(g=i.value||i.textContent||i.innerText)?(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",g),h!==g&&a.clipboardData.setData("text/html",h)):!d["text/plain"]&&a.target&&(g=a.target.getAttribute("data-clipboard-text"))&&(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",g));break;case"aftercopy":L.clearData(),e&&e!==E()&&e.focus&&e.focus();break;case"mouseover":p(e,O.hoverClass);break;case"mouseout":O.autoActivate===!0&&L.deactivate();break;case"mousedown":p(e,O.activeClass);break;case"mouseup":q(e,O.activeClass)}};L.prototype.on=function(a,b){vard,e,f,h={},i=g[this.id]&&g[this.id].handlers;if("string"==typeofa&&a)f=a.toLowerCase().split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofb)for(dina)a.hasOwnProperty(d)&&"string"==typeofd&&d&&"function"==typeofa[d]&&this.on(d,a[d]);if(f&&f.length){for(d=0,e=f.length;e>d;d++)a=f[d].replace(/^on/,""),h[a]=!0,i[a]||(i[a]=[]),i[a].push(b);if(h.ready&&c.ready&&L.emit({type:"ready",client:this}),h.error){varj=["disabled","outdated","unavailable","deactivated","overdue"];for(d=0,e=j.length;e>d;d++)if(c[j[d]]){L.emit({type:"error",name:"flash-"+j[d],client:this});break}}}returnthis},L.prototype.off=function(a,b){varc,d,e,f,h,i=g[this.id]&&g[this.id].handlers;if(0===arguments.length)f=C(i);elseif("string"==typeofa&&a)f=a.split(/\s+/);elseif("object"==typeofa&&a&&"undefined"==typeofb)for(cina)a.hasOwnProperty(c)&&"string"==typeofc&&c&&"function"==typeofa[c]&&this.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),h=i[a],h&&h.length)if(b)for(e=v(b,h);-1!==e;)h.splice(e,1),e=v(b,h,e);elsei[a].length=0;returnthis},L.prototype.handlers=function(a){varb,c=null,d=g[this.id]&&g[this.id].handlers;if(d){if("string"==typeofa&&a)returnd[a]?d[a].slice(0):null;c={};for(bind)d.hasOwnProperty(b)&&d[b]&&(c[b]=d[b].slice(0))}returnc},L.prototype.clip=function(a){a=w(a);for(varb=0;b<a.length;b++)if(a.hasOwnProperty(b)&&a[b]&&1===a[b].nodeType){a[b].zcClippingId?-1===v(this.id,i[a[b].zcClippingId])&&i[a[b].zcClippingId].push(this.id):(a[b].zcClippingId="zcClippingId_"+h++,i[a[b].zcClippingId]=[this.id],O.autoActivate===!0&&n(a[b],"mouseover",m));varc=g[this.id].elements;-1===v(a[b],c)&&c.push(a[b])}returnthis},L.prototype.unclip=function(a){varb=g[this.id];if(!b)returnthis;varc,d=b.elements;a="undefined"==typeofa?d.slice(0):w(a);for(vare=a.length;e--;)if(a.hasOwnProperty(e)&&a[e]&&1===a[e].nodeType){for(c=0;-1!==(c=v(a[e],d,c));)d.splice(c,1);varf=i[a[e].zcClippingId];if(f){for(c=0;-1!==(c=v(this.id,f,c));)f.splice(c,1);0===f.length&&(O.autoActivate===!0&&o(a[e],"mouseover",m),deletea[e].zcClippingId)}}returnthis},L.prototype.elements=function(){vara=g[this.id];returna&&a.elements?a.elements.slice(0):[]};varZ=function(a){varb,c,d,e,f,h=[];if(a&&1===a.nodeType&&(b=a.zcClippingId)&&i.hasOwnProperty(b)&&(c=i[b],c&&c.length))for(d=0,e=c.length;e>d;d++)f=g[c[d]].instance,f&&finstanceofL&&h.push(f);returnh};O.hoverClass="zeroclipboard-is-hover",O.activeClass="zeroclipboard-is-active","function"==typeofdefine&&define.amd?define(function(){returnL}):"object"==typeofmodule&&module&&"object"==typeofmodule.exports&&module.exports?module.exports=L:a.ZeroClipboard=L}(function(){returnthis}());
})()</script><linkhref="static/css/chunk-06a280cd.a958cf1b.css"rel="prefetch"><linkhref="static/css/chunk-0ffa56f0.d650a2aa.css"rel="prefetch"><linkhref="static/css/chunk-1068de0c.c8588555.css"rel="prefetch"><linkhref="static/css/chunk-22c2a89e.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-3071721c.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-3b7817a1.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-3f21a632.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-41c3a950.ee265b23.css"rel="prefetch"><linkhref="static/css/chunk-5c04caf2.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-5ddf2900.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-681bebab.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-6ec1d454.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-794d8528.89936c18.css"rel="prefetch"><linkhref="static/css/chunk-e81d5cb2.c306629d.css"rel="prefetch"><linkhref="static/css/chunk-fc8742d6.c306629d.css"rel="prefetch"><linkhref="static/js/chunk-06a280cd.288ee933.js"rel="prefetch"><linkhref="static/js/chunk-0ffa56f0.e5d1a8a9.js"rel="prefetch"><linkhref="static/js/chunk-1068de0c.863bb461.js"rel="prefetch"><linkhref="static/js/chunk-16f9edc1.dedce978.js"rel="prefetch"><linkhref="static/js/chunk-22c2a89e.2e19420a.js"rel="prefetch"><linkhref="static/js/chunk-2d0c138b.7b5c2e26.js"rel="prefetch"><linkhref="static/js/chunk-2d221bd2.77082cce.js"rel="prefetch"><linkhref="static/js/chunk-2d2300ef.c1f3e8e6.js"rel="prefetch"><linkhref="static/js/chunk-2d230fe7.5659f722.js"rel="prefetch"><linkhref="static/js/chunk-3071721c.7579812f.js"rel="prefetch"><linkhref="static/js/chunk-3b7817a1.4d209fce.js"rel="prefetch"><linkhref="static/js/chunk-3f21a632.545bb05a.js"rel="prefetch"><linkhref="static/js/chunk-41c3a950.c1b1088d.js"rel="prefetch"><linkhref="static/js/chunk-5c04caf2.d306b01e.js"rel="prefetch"><linkhref="static/js/chunk-5ddf2900.d706c45c.js"rel="prefetch"><linkhref="static/js/chunk-681bebab.56aede22.js"rel="prefetch"><linkhref="static/js/chunk-6ec1d454.b9be2835.js"rel="prefetch"><linkhref="static/js/chunk-733c35b2.43a53680.js"rel="prefetch"><linkhref="static/js/chunk-75f11c77.334902b8.js"rel="prefetch"><linkhref="static/js/chunk-78234ca2.eb2ad1a9.js"rel="prefetch"><linkhref="static/js/chunk-794d8528.e150de20.js"rel="prefetch"><linkhref="static/js/chunk-8f716b14.04876ed8.js"rel="prefetch"><linkhref="static/js/chunk-d0753fda.361867a0.js"rel="prefetch"><linkhref="static/js/chunk-e81d5cb2.c9f658ef.js"rel="prefetch"><linkhref="static/js/chunk-fc8742d6.1cc21375.js"rel="prefetch"><linkhref="static/css/chunk-vendors.ee57d822.css"rel="preload"as="style"><linkhref="static/css/index.43eab9b6.css"rel="preload"as="style"><linkhref="static/js/chunk-vendors.307aea43.js"rel="preload"as="script"><linkhref="static/js/index.af4f96f6.js"rel="preload"as="script"><linkhref="static/css/chunk-vendors.ee57d822.css"rel="stylesheet"><linkhref="static/css/index.43eab9b6.css"rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><divid="app"></div><script src="static/js/chunk-vendors.307aea43.js"></script><script src="static/js/index.af4f96f6.js"></script></body></html>