PageSourceSearch

http://hkh.haiwainet.cn/static/js/app.18072999.js

js haiwainet.cn collected 2026-09-24 19:38:06 UTC 629,156 bytes, 12 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+08c":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-play",use:"icon-play-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-play"><defs><style type="text/css"></style></defs><path d="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m0-42.666667c259.2 0 469.333333-210.133333 469.333333-469.333333S771.2 42.666667 512 42.666667 42.666667 252.8 42.666667 512s210.133333 469.333333 469.333333 469.333333zM405.930667 294.784l301.098666 180.650667a42.666667 42.666667 0 0 1 0 73.130666l-301.098666 180.650667A42.666667 42.666667 0 0 1 341.333333 692.650667V331.349333a42.666667 42.666667 0 0 1 64.597334-36.565333z" p-id="3805" /></symbol>'});r.a.add(s);t.default=s},"+fnC":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shangpin",use:"icon-shangpin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-shangpin"><defs><style type="text/css"></style></defs><path d="M370.623 767.638c10.55 0 20.542 1.942 29.98 5.83a79.322 79.322 0 0 1 24.978 16.234c7.22 6.943 12.77 15.131 16.654 24.562 3.888 9.442 5.83 19.436 5.83 29.983 0 10.544-1.942 20.541-5.83 29.973-3.888 9.44-9.438 17.626-16.654 24.562-7.216 6.936-15.544 12.493-24.979 16.654-9.437 4.167-19.428 6.243-29.979 6.243-11.1 0-21.23-2.076-30.392-6.243a87.262 87.262 0 0 1-24.563-16.654c-7.219-6.936-12.769-15.125-16.653-24.562-3.888-9.435-5.83-19.43-5.83-29.973 0-10.547 1.942-20.545 5.83-29.983a71.417 71.417 0 0 1 16.653-24.562 80.719 80.719 0 0 1 24.563-16.234c9.161-3.888 19.292-5.83 30.392-5.83z m346.399 1.67c10.547 0 20.678 1.938 30.389 5.816 9.714 3.89 18.04 9.304 24.979 16.24 6.939 6.943 12.489 15.135 16.657 24.566 4.164 9.441 6.243 19.422 6.243 29.97 0 10.56-2.08 20.544-6.243 29.982-4.168 9.434-9.718 17.626-16.657 24.569-6.94 6.932-15.268 12.486-24.98 16.654-9.714 4.16-19.84 6.243-30.388 6.243s-20.545-2.083-29.98-6.243c-9.437-4.168-17.626-9.722-24.562-16.654-6.936-6.943-12.49-15.138-16.653-24.57-4.165-9.44-6.243-19.421-6.243-29.982 0-10.547 2.078-20.531 6.243-29.969 4.164-9.434 9.717-17.623 16.653-24.566 6.936-6.936 15.128-12.35 24.563-16.24 9.437-3.878 19.435-5.817 29.979-5.817zM856.91 248.544c15.55 0 27.62 2.082 36.222 6.247 8.605 4.164 14.715 9.301 18.323 15.407 3.604 6.107 5.273 12.63 4.993 19.57-0.273 6.942-1.249 12.905-2.915 17.902s-59.122 241.828-62.453 252.375c-7.216 22.204-16.378 37.615-27.481 46.213-11.1 8.605-24.703 12.906-40.803 12.906H349.054l12.49 47.633h416.26c26.647 0 40.597 11.397 39.97 34.137-0.564 20.415-23.594 30.566-39.141 30.566h-436.32c-11.1 0-20.398-2.495-27.894-7.499-7.492-4.994-13.738-11.516-18.736-19.562a118.873 118.873 0 0 1-12.073-26.231c-3.054-9.438-5.41-18.313-7.079-26.641-0.553-3.338-2.082-11.387-4.577-24.153-2.499-12.766-5.554-28.727-9.161-47.879L250.72 515.42a35860.07 35860.07 0 0 1-13.326-71.195c-10.547-56.068-25.894-173.131-39.216-241.968h-62.454c-8.325 0-15.267-2.082-20.818-6.246a54.374 54.374 0 0 1-13.742-14.988c-4.67-7.55-3.96-7.127-4.952-11.903-1.386-6.659-1.209-5.946-1.209-11.503 0-11.1 3.748-13.434 11.24-20.65s17.623-10.824 30.393-10.824h84.1c11.104 0 19.986 1.662 26.649 4.994 6.66 3.335 11.936 7.496 15.82 12.49 3.885 4.996 6.663 10.27 8.33 15.823 1.661 5.55 3.054 10.271 4.163 14.152 1.11 4.444 2.219 10.69 3.332 18.736a4996.735 4996.735 0 0 1 3.331 24.566 1926.545 1926.545 0 0 1 4.994 31.638H856.91z" fill="#000000" p-id="4719" /></symbol>'});r.a.add(s);t.default=s},"+spp":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-gerenzhongxin",use:"icon-gerenzhongxin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-gerenzhongxin"><path d="M515.892 592.377c-128.545 0-232.754-104.177-232.754-232.688C283.138 231.177 387.348 127 515.892 127c128.545 0 232.754 104.177 232.754 232.689 0 128.511-104.209 232.688-232.754 232.688z m0-36c108.666 0 196.754-88.062 196.754-196.688C712.646 251.062 624.558 163 515.892 163c-108.665 0-196.754 88.062-196.754 196.689 0 108.626 88.089 196.688 196.754 196.688z" fill="#333333" /><path d="M860 903.277c0 9.941-8.059 18-18 18s-18-8.059-18-18c0-171.704-139.238-310.9-311-310.9s-311 139.196-311 310.9c0 9.941-8.059 18-18 18s-18-8.059-18-18c0-191.589 155.358-346.9 347-346.9s347 155.311 347 346.9z" fill="#333333" /><path d="M185 924.75c-9.941 0-18-8.058-18-18 0-9.94 8.059-18 18-18h656.608c9.94 0 18 8.06 18 18 0 9.942-8.06 18-18 18H185z" fill="#333333" />
1<path d="M428.306 434.48c-7.996-5.907-9.691-17.177-3.785-25.174 5.906-7.996 17.176-9.691 25.173-3.785 29.684 21.924 51.618 32.556 63.73 32.556 12.112 0 34.046-10.632 63.73-32.556 7.997-5.906 19.267-4.211 25.173 3.785 5.906 7.997 4.211 19.267-3.785 25.173-35.446 26.179-63.129 39.598-85.118 39.598-21.99 0-49.672-13.42-85.118-39.598z" fill="#007BFF" /></symbol>'});r.a.add(s);t.default=s},"/s5+":function(module,__webpack_exports__,__webpack_require__){"use strict";var _utils_request__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("t3Un");
2/*!
3 * UEditor
4 * version: ueditor
5 * build: Sun Sep 25 2016 11:06:46 GMT+0800 (CST)
6 */
7/*!
8 * UEditor
9 * version: ueditor
10 * build: Sun Sep 25 2016 11:06:46 GMT+0800 (CST)
11 */
12!function(){UEDITOR_CONFIG=window.UEDITOR_CONFIG||{};var baidu=window.baidu||{};window.baidu=baidu,window.UE=baidu.editor=window.UE||{},UE.plugins={},UE.commands={},UE.instants={},UE.I18N={},UE._customizeUI={},UE.version="1.4.3";var dom=UE.dom={},browser=UE.browser=function(){var e=navigator.userAgent.toLowerCase(),t=window.opera,n={ie:/(msie\s|trident.*rv:)([\w.]+)/.test(e),opera:!!t&&t.version,webkit:e.indexOf(" applewebkit/")>-1,mac:e.indexOf("macintosh")>-1,quirks:"BackCompat"==document.compatMode};n.gecko="Gecko"==navigator.product&&!n.webkit&&!n.opera&&!n.ie;var i=0;if(n.ie){var o=e.match(/(?:msie\s([\w.]+))/),a=e.match(/(?:trident.*rv:([\w.]+))/);i=o&&a&&o[1]&&a[1]?Math.max(1*o[1],1*a[1]):o&&o[1]?1*o[1]:a&&a[1]?1*a[1]:0,n.ie11Compat=11==document.documentMode,n.ie9Compat=9==document.documentMode,n.ie8=!!document.documentMode,n.ie8Compat=8==document.documentMode,n.ie7Compat=7==i&&!document.documentMode||7==document.documentMode,n.ie6Compat=i<7||n.quirks,n.ie9above=i>8,n.ie9below=i<9,n.ie11above=i>10,n.ie11below=i<11}if(n.gecko){var r=e.match(/rv:([\d\.]+)/);r&&(i=1e4*(r=r[1].split("."))[0]+100*(r[1]||0)+1*(r[2]||0))}return/chrome\/(\d+\.\d)/i.test(e)&&(n.chrome=+RegExp.$1),/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(e)&&!/chrome/i.test(e)&&(n.safari=+(RegExp.$1||RegExp.$2)),n.opera&&(i=parseFloat(t.version())),n.webkit&&(i=parseFloat(e.match(/ applewebkit\/(\d+)/)[1])),n.version=i,n.isCompatible=!n.mobile&&(n.ie&&i>=6||n.gecko&&i>=10801||n.opera&&i>=9.5||n.air&&i>=1||n.webkit&&i>=522||!1),n}(),ie=browser.ie,webkit=browser.webkit,gecko=browser.gecko,opera=browser.opera,utils=UE.utils={each:function(e,t,n){if(null!=e)if(e.length===+e.length){for(var i=0,o=e.length;i<o;i++)if(!1===t.call(n,e[i],i,e))return!1}else for(var a in e)if(e.hasOwnProperty(a)&&!1===t.call(n,e[a],a,e))return!1},makeInstance:function(e){var t=new Function;return t.prototype=e,e=new t,t.prototype=null,e},extend:function(e,t,n){if(t)for(var i in t)n&&e.hasOwnProperty(i)||(e[i]=t[i]);return e},extend2:function(e){for(var t=arguments,n=1;n<t.length;n++){var i=t[n];for(var o in i)e.hasOwnProperty(o)||(e[o]=i[o])}return e},inherits:function(e,t){var n=e.prototype,i=utils.makeInstance(t.prototype);return utils.extend(i,n,!0),e.prototype=i,i.constructor=e},bind:function(e,t){return function(){return e.apply(t,arguments)}},defer:function(e,t,n){var i;return function(){n&&clearTimeout(i),i=setTimeout(e,t)}},indexOf:function(e,t,n){var i=-1;return n=this.isNumber(n)?n:0,this.each(e,function(e,o){if(o>=n&&e===t)return i=o,!1}),i},removeItem:function(e,t){for(var n=0,i=e.length;n<i;n++)e[n]===t&&(e.splice(n,1),n--)},trim:function(e){return e.replace(/(^[ \t\n\r]+)|([ \t\n\r]+$)/g,"")},listToMap:function(e){if(!e)return{};e=utils.isArray(e)?e:e.split(",");for(var t,n=0,i={};t=e[n++];)i[t.toUpperCase()]=i[t]=1;return i},unhtml:function(e,t){return e?e.replace(t||/[&<">'](?:(amp|lt|quot|gt|#39|nbsp|#\d+);)?/g,function(e,t){return t?e:{"<":"&lt;","&":"&amp;",'"':"&quot;",">":"&gt;","'":"&#39;"}[e]}):""},unhtmlForUrl:function(e,t){return e?e.replace(t||/[<">']/g,function(e){return{"<":"&lt;","&":"&amp;",'"':"&quot;",">":"&gt;","'":"&#39;"}[e]}):""},html:function(e){return e?e.replace(/&((g|l|quo)t|amp|#39|nbsp);/g,function(e){return{"&lt;":"<","&amp;":"&","&quot;":'"',"&gt;":">","&#39;":"'","&nbsp;":" "}[e]}):""},cssStyleToDomStyle:function(){var e=document.createElement("div").style,t={float:void 0!=e.cssFloat?"cssFloat":void 0!=e.styleFloat?"styleFloat":"float"};return function(e){return t[e]||(t[e]=e.toLowerCase().replace(/-./g,function(e){return e.charAt(1).toUpperCase()}))}}(),loadFile:function(){var e=[];function t(t,n){try{for(var i,o=0;i=e[o++];)if(i.doc===t&&i.url==(n.src||n.href))return i}catch(e){return null}}return function(n,i,o){var a=t(n,i);if(a)a.ready?o&&o():a.funs.push(o);else if(e.push({doc:n,url:i.src||i.href,funs:[o]}),n.body){if(!i.id||!n.getElementById(i.id)){var r=n.createElement(i.tag);for(var s in delete i.tag,i)r.setAttribute(s,i[s]);r.onload=r.onreadystatechange=function(){if(!this.readyState||/loaded|complete/.test(this.readyState)){if((a=t(n,i)).funs.length>0){a.ready=1;for(var e;e=a.funs.pop();)e()}r.onload=r.onreadystatechange=null}},r.onerror=function(){throw Error("The load "+(i.href||i.src)+" fails,check the url settings of file ueditor.config.js ")},n.getElementsByTagName("head")[0].appendChild(r)}}else{var l=[];for(var s in i)"tag"!=s&&l.push(s+'="'+i[s]+'"');n.write("<"+i.tag+" "+l.join(" ")+" ></"+i.tag+">")}}}(),isEmptyObject:function(e){if(null==e)return!0;
12if(this.isArray(e)||this.isString(e))return 0===e.length;for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},fixColor:function(e,t){if(/color/i.test(e)&&/rgba?/.test(t)){var n=t.split(",");if(n.length>3)return"";t="#";for(var i,o=0;i=n[o++];)t+=1==(i=parseInt(i.replace(/[^\d]/gi,""),10).toString(16)).length?"0"+i:i;t=t.toUpperCase()}return t},optCss:function(e){var t,n;function i(e,t){if(!e)return"";var n=e.top,i=e.bottom,o=e.left,a=e.right,r="";if(n&&o&&i&&a)r+=";"+t+":"+(n==i&&i==o&&o==a?n:n==i&&o==a?n+" "+o:o==a?n+" "+o+" "+i:n+" "+a+" "+i+" "+o)+";";else for(var s in e)r+=";"+t+"-"+s+":"+e[s]+";";return r}return e=e.replace(/(padding|margin|border)\-([^:]+):([^;]+);?/gi,function(e,i,o,a){if(1==a.split(" ").length)switch(i){case"padding":return!t&&(t={}),t[o]=a,"";case"margin":return!n&&(n={}),n[o]=a,"";case"border":return"initial"==a?"":e}return e}),(e+=i(t,"padding")+i(n,"margin")).replace(/^[ \n\r\t;]*|[ \n\r\t]*$/,"").replace(/;([ \n\r\t]+)|\1;/g,";").replace(/(&((l|g)t|quot|#39))?;{2,}/g,function(e,t){return t?t+";;":";"})},clone:function(e,t){var n;for(var i in t=t||{},e)e.hasOwnProperty(i)&&("object"==typeof(n=e[i])?(t[i]=utils.isArray(n)?[]:{},utils.clone(e[i],t[i])):t[i]=n);return t},transUnitToPx:function(e){if(!/(pt|cm)/.test(e))return e;var t;switch(e.replace(/([\d.]+)(\w+)/,function(n,i,o){e=i,t=o}),t){case"cm":e=25*parseFloat(e);break;case"pt":e=Math.round(96*parseFloat(e)/72)}return e+(e?"px":"")},domReady:function(){var e=[];function t(t){t.isReady=!0;for(var n;n=e.pop();n());}return function(n,i){var o=(i=i||window).document;n&&e.push(n),"complete"===o.readyState?t(o):(o.isReady&&t(o),browser.ie&&11!=browser.version?(!function(){if(!o.isReady){try{o.documentElement.doScroll("left")}catch(e){return void setTimeout(arguments.callee,0)}t(o)}}(),i.attachEvent("onload",function(){t(o)})):(o.addEventListener("DOMContentLoaded",function(){o.removeEventListener("DOMContentLoaded",arguments.callee,!1),t(o)},!1),i.addEventListener("load",function(){t(o)},!1)))}}(),cssRule:browser.ie&&11!=browser.version?function(e,t,n){var i,o;return void 0===t||t&&t.nodeType&&9==t.nodeType?void 0!==(o=(i=(n=t&&t.nodeType&&9==t.nodeType?t:n||document).indexList||(n.indexList={}))[e])?n.styleSheets[o].cssText:void 0:(o=(i=(n=n||document).indexList||(n.indexList={}))[e],""===t?void 0!==o&&(n.styleSheets[o].cssText="",delete i[e],!0):(void 0!==o?sheetStyle=n.styleSheets[o]:(sheetStyle=n.createStyleSheet("",o=n.styleSheets.length),i[e]=o),void(sheetStyle.cssText=t)))}:function(e,t,n){var i;return void 0===t||t&&t.nodeType&&9==t.nodeType?(i=(n=t&&t.nodeType&&9==t.nodeType?t:n||document).getElementById(e))?i.innerHTML:void 0:(i=(n=n||document).getElementById(e),""===t?!!i&&(i.parentNode.removeChild(i),!0):void(i?i.innerHTML=t:((i=n.createElement("style")).id=e,i.innerHTML=t,n.getElementsByTagName("head")[0].appendChild(i))))},sort:function(e,t){t=t||function(e,t){return e.localeCompare(t)};for(var n=0,i=e.length;n<i;n++)for(var o=n,a=e.length;o<a;o++)if(t(e[n],e[o])>0){var r=e[n];
12e[n]=e[o],e[o]=r}return e},serializeParam:function(e){var t=[];for(var n in e)if("method"!=n&&"timeout"!=n&&"async"!=n)if("function"!=(typeof e[n]).toLowerCase()&&"object"!=(typeof e[n]).toLowerCase())t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));else if(utils.isArray(e[n]))for(var i=0;i<e[n].length;i++)t.push(encodeURIComponent(n)+"[]="+encodeURIComponent(e[n][i]));return t.join("&")},formatUrl:function(e){var t=e.replace(/&&/g,"&");return t=(t=(t=(t=t.replace(/\?&/g,"?")).replace(/&$/g,"")).replace(/&#/g,"#")).replace(/&+/g,"&")},isCrossDomainUrl:function(e){var t=document.createElement("a");return t.href=e,browser.ie&&(t.href=t.href),!(t.protocol==location.protocol&&t.hostname==location.hostname&&(t.port==location.port||"80"==t.port&&""==location.port||""==t.port&&"80"==location.port))},clearEmptyAttrs:function(e){for(var t in e)""===e[t]&&delete e[t];return e},str2json:function(e){return utils.isString(e)?window.JSON?JSON.parse(e):new Function("return "+utils.trim(e||""))():null},json2str:function(){if(window.JSON)return JSON.stringify;{var e={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function t(e){return e<10?"0"+e:e}return function(n){switch(typeof n){case"undefined":return"undefined";case"number":return isFinite(n)?String(n):"null";case"string":return function(t){return/["\\\x00-\x1f]/.test(t)&&(t=t.replace(/["\\\x00-\x1f]/g,function(t){var n=e[t];return n||(n=t.charCodeAt(),"\\u00"+Math.floor(n/16).toString(16)+(n%16).toString(16))})),'"'+t+'"'}(n);case"boolean":return String(n);default:if(null===n)return"null";if(utils.isArray(n))return function(e){var t,n,i,o=["["],a=e.length;for(n=0;n<a;n++)switch(typeof(i=e[n])){case"undefined":case"function":case"unknown":break;default:t&&o.push(","),o.push(utils.json2str(i)),t=1}return o.push("]"),o.join("")}(n);if(utils.isDate(n))return function(e){return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}(n);var i,o,a=["{"],r=utils.json2str;for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s))switch(typeof(o=n[s])){case"undefined":case"unknown":case"function":break;default:i&&a.push(","),i=1,a.push(r(s)+":"+r(o))}return a.push("}"),a.join("")}}}}()};utils.each(["String","Function","Array","Number","RegExp","Object","Date"],function(e){UE.utils["is"+e]=function(t){return Object.prototype.toString.apply(t)=="[object "+e+"]"}});var EventBase=UE.EventBase=function(){};function getListener(e,t,n){var i;return t=t.toLowerCase(),(i=e.__allListeners||n&&(e.__allListeners={}))&&(i[t]||n&&(i[t]=[]))}EventBase.prototype={addListener:function(e,t){e=utils.trim(e).split(/\s+/);for(var n,i=0;n=e[i++];)getListener(this,n,!0).push(t)},on:function(e,t){return this.addListener(e,t)},off:function(e,t){return this.removeListener(e,t)},trigger:function(){return this.fireEvent.apply(this,arguments)},removeListener:function(e,t){e=utils.trim(e).split(/\s+/);for(var n,i=0;n=e[i++];)utils.removeItem(getListener(this,n)||[],t)},fireEvent:function(){var e=arguments[0];e=utils.trim(e).split(" ");for(var t,n=0;t=e[n++];){var i,o,a,r=getListener(this,t);if(r)for(a=r.length;a--;)if(r[a]){if(!0===(o=r[a].apply(this,arguments)))return o;void 0!==o&&(i=o)}(o=this["on"+t.toLowerCase()])&&(i=o.apply(this,arguments))}return i}};var dtd=dom.dtd=function(){function e(e){for(var t in e)e[t.toUpperCase()]=e[t];return e}var t=utils.extend2,n=e({isindex:1,fieldset:1}),i=e({input:1,button:1,select:1,textarea:1,label:1}),o=t(e({a:1}),i),a=t({iframe:1},o),r=e({hr:1,ul:1,menu:1,div:1,blockquote:1,noscript:1,table:1,center:1,address:1,dir:1,pre:1,h5:1,dl:1,h4:1,noframes:1,h6:1,ol:1,h1:1,h3:1,h2:1}),s=e({ins:1,del:1,script:1,style:1}),l=t(e({b:1,acronym:1,bdo:1,var:1,"#":1,abbr:1,code:1,br:1,i:1,cite:1,kbd:1,u:1,strike:1,s:1,tt:1,strong:1,q:1,samp:1,em:1,dfn:1,span:1}),s),d=t(e({sub:1,img:1,embed:1,object:1,sup:1,basefont:1,map:1,applet:1,font:1,big:1,small:1}),l),c=t(e({p:1}),d),u=t(e({iframe:1}),d,i),m=e({img:1,embed:1,noscript:1,br:1,kbd:1,center:1,button:1,basefont:1,h5:1,h4:1,samp:1,h6:1,ol:1,h1:1,h3:1,h2:1,form:1,font:1,"#":1,select:1,menu:1,ins:1,abbr:1,label:1,code:1,table:1,script:1,cite:1,input:1,iframe:1,strong:1,textarea:1,noframes:1,big:1,small:1,span:1,hr:1,sub:1,bdo:1,var:1,div:1,object:1,sup:1,strike:1,dir:1,map:1,dl:1,applet:1,del:1,isindex:1,fieldset:1,ul:1,b:1,acronym:1,a:1,blockquote:1,i:1,u:1,s:1,tt:1,address:1,q:1,pre:1,p:1,em:1,dfn:1}),p=t(e({a:0}),u),h=e({tr:1}),g=e({"#":1}),f=t(e({param:1}),m),v=t(e({form:1}),n,a,r,c),b=e({li:1,ol:1,ul:1}),y=e({style:1,script:1}),w=e({base:1,link:1,meta:1,title:1}),x=t(w,y),C=e({head:1,body:1}),_=e({html:1}),N=e({address:1,blockquote:1,center:1,dir:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,isindex:1,menu:1,noframes:1,ol:1,p:1,pre:1,table:1,ul:1}),k=e({area:1,base:1,basefont:1,br:1,col:1,command:1,dialog:1,embed:1,hr:1,img:1,input:1,isindex:1,keygen:1,link:1,meta:1,param:1,source:1,track:1,wbr:1});return e({$nonBodyContent:t(_,C,w),$block:N,$inline:p,$inlineWithA:t(e({a:1}),p),$body:t(e({script:1,style:1}),N),$cdata:e({script:1,style:1}),$empty:k,$nonChild:e({iframe:1,textarea:1}),$listItem:e({dd:1,dt:1,li:1}),$list:e({ul:1,ol:1,dl:1}),$isNotEmpty:e({table:1,ul:1,ol:1,dl:1,iframe:1,area:1,base:1,col:1,hr:1,img:1,embed:1,input:1,link:1,meta:1,param:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1}),$removeEmpty:e({a:1,abbr:1,acronym:1,address:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,s:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,var:1}
12),$removeEmptyBlock:e({p:1,div:1}),$tableContent:e({caption:1,col:1,colgroup:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1,table:1}),$notTransContent:e({pre:1,script:1,style:1,textarea:1}),html:C,head:x,style:g,script:g,body:v,base:{},link:{},meta:{},title:g,col:{},tr:e({td:1,th:1}),img:{},embed:{},colgroup:e({thead:1,col:1,tbody:1,tr:1,tfoot:1}),noscript:v,td:v,br:{},th:v,center:v,kbd:p,button:t(c,r),basefont:{},h5:p,h4:p,samp:p,h6:p,ol:b,h1:p,h3:p,option:g,h2:p,form:t(n,a,r,c),select:e({optgroup:1,option:1}),font:p,ins:p,menu:b,abbr:p,label:p,table:e({thead:1,col:1,tbody:1,tr:1,colgroup:1,caption:1,tfoot:1}),code:p,tfoot:h,cite:p,li:v,input:{},iframe:v,strong:p,textarea:g,noframes:v,big:p,small:p,span:e({"#":1,br:1,b:1,strong:1,u:1,i:1,em:1,sub:1,sup:1,strike:1,span:1}),hr:p,dt:p,sub:p,optgroup:e({option:1}),param:{},bdo:p,var:p,div:v,object:f,sup:p,dd:v,strike:p,area:{},dir:b,map:t(e({area:1,form:1,p:1}),n,s,r),applet:f,dl:e({dt:1,dd:1}),del:p,isindex:{},fieldset:t(e({legend:1}),m),thead:h,ul:b,acronym:p,b:p,a:t(e({a:1}),u),blockquote:t(e({td:1,tr:1,tbody:1,li:1}),v),caption:p,i:p,u:p,tbody:h,s:p,address:t(a,c),tt:p,legend:p,q:p,pre:t(l,o),p:t(e({a:1}),p),em:p,dfn:p})}();function getDomNode(e,t,n,i,o,a){var r,s=i&&e[t];for(!s&&(s=e[n]);!s&&(r=(r||e).parentNode);){if("BODY"==r.tagName||a&&!a(r))return null;s=r[n]}return s&&o&&!o(s)?getDomNode(s,t,n,!1,o):s}var attrFix=ie&&browser.version<9?{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder"}:{tabindex:"tabIndex",readonly:"readOnly"},styleBlock=utils.listToMap(["-webkit-box","-moz-box","block","list-item","table","table-row-group","table-header-group","table-footer-group","table-row","table-column-group","table-column","table-cell","table-caption"]),domUtils=dom.domUtils={NODE_ELEMENT:1,NODE_DOCUMENT:9,NODE_TEXT:3,NODE_COMMENT:8,NODE_DOCUMENT_FRAGMENT:11,POSITION_IDENTICAL:0,POSITION_DISCONNECTED:1,POSITION_FOLLOWING:2,POSITION_PRECEDING:4,POSITION_IS_CONTAINED:8,POSITION_CONTAINS:16,fillChar:ie&&"6"==browser.version?"\ufeff":"​",keys:{8:1,46:1,16:1,17:1,18:1,37:1,38:1,39:1,40:1,13:1},getPosition:function(e,t){if(e===t)return 0;var n,i=[e],o=[t];for(n=e;n=n.parentNode;){if(n===t)return 10;i.push(n)}for(n=t;n=n.parentNode;){if(n===e)return 20;o.push(n)}if(i.reverse(),o.reverse(),i[0]!==o[0])return 1;for(var a=-1;i[++a]===o[a];);for(e=i[a],t=o[a];e=e.nextSibling;)if(e===t)return 4;return 2},getNodeIndex:function(e,t){for(var n=e,i=0;n=n.previousSibling;)t&&3==n.nodeType?n.nodeType!=n.nextSibling.nodeType&&i++:i++;return i},inDoc:function(e,t){return 10==domUtils.getPosition(e,t)},findParent:function(e,t,n){if(e&&!domUtils.isBody(e))for(e=n?e:e.parentNode;e;){if(!t||t(e)||domUtils.isBody(e))return t&&!t(e)&&domUtils.isBody(e)?null:e;e=e.parentNode}return null},findParentByTagName:function(e,t,n,i){return t=utils.listToMap(utils.isArray(t)?t:[t]),domUtils.findParent(e,function(e){return t[e.tagName]&&!(i&&i(e))},n)},findParents:function(e,t,n,i){for(var o=t&&(n&&n(e)||!n)?[e]:[];e=domUtils.findParent(e,n);)o.push(e);return i?o:o.reverse()},insertAfter:function(e,t){return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t)},remove:function(e,t){var n,i=e.parentNode;if(i){if(t&&e.hasChildNodes())for(;n=e.firstChild;)i.insertBefore(n,e);i.removeChild(e)}return e},getNextDomNode:function(e,t,n,i){return getDomNode(e,"firstChild","nextSibling",t,n,i)},getPreDomNode:function(e,t,n,i){return getDomNode(e,"lastChild","previousSibling",t,n,i)},isBookmarkNode:function(e){return 1==e.nodeType&&e.id&&/^_baidu_bookmark_/i.test(e.id)},getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getCommonAncestor:function(e,t){if(e===t)return e;for(var n=[e],i=[t],o=e,a=-1;o=o.parentNode;){if(o===t)return o;n.push(o)}for(o=t;o=o.parentNode;){if(o===e)return o;i.push(o)}for(n.reverse(),i.reverse();n[++a]===i[a];);return 0==a?null:n[a-1]},clearEmptySibling:function(e,t,n){function i(e,t){for(var n;
12e&&!domUtils.isBookmarkNode(e)&&(domUtils.isEmptyInlineElement(e)||!new RegExp("[^\t\n\r"+domUtils.fillChar+"]").test(e.nodeValue));)n=e[t],domUtils.remove(e),e=n}!t&&i(e.nextSibling,"nextSibling"),!n&&i(e.previousSibling,"previousSibling")},split:function(e,t){var n=e.ownerDocument;if(browser.ie&&t==e.nodeValue.length){var i=n.createTextNode("");return domUtils.insertAfter(e,i)}var o=e.splitText(t);if(browser.ie8){var a=n.createTextNode("");domUtils.insertAfter(o,a),domUtils.remove(a)}return o},isWhitespace:function(e){return!new RegExp("[^ \t\n\r"+domUtils.fillChar+"]").test(e.nodeValue)},getXY:function(e){for(var t=0,n=0;e.offsetParent;)n+=e.offsetTop,t+=e.offsetLeft,e=e.offsetParent;return{x:t,y:n}},on:function(e,t,n){var i=utils.isArray(t)?t:utils.trim(t).split(/\s+/),o=i.length;if(o)for(;o--;)if(t=i[o],e.addEventListener)e.addEventListener(t,n,!1);else{n._d||(n._d={els:[]});var a=t+n.toString(),r=utils.indexOf(n._d.els,e);n._d[a]&&-1!=r||(-1==r&&n._d.els.push(e),n._d[a]||(n._d[a]=function(e){return n.call(e.srcElement,e||window.event)}),e.attachEvent("on"+t,n._d[a]))}e=null},un:function(e,t,n){var i=utils.isArray(t)?t:utils.trim(t).split(/\s+/),o=i.length;if(o)for(;o--;)if(t=i[o],e.removeEventListener)e.removeEventListener(t,n,!1);else{var a=t+n.toString();try{e.detachEvent("on"+t,n._d?n._d[a]:n)}catch(e){}if(n._d&&n._d[a]){var r=utils.indexOf(n._d.els,e);-1!=r&&n._d.els.splice(r,1),0==n._d.els.length&&delete n._d[a]}}},isSameElement:function(e,t){if(e.tagName!=t.tagName)return!1;var n=e.attributes,i=t.attributes;if(!ie&&n.length!=i.length)return!1;for(var o,a,r=0,s=0,l=0;o=n[l++];){if("style"==o.nodeName){if(o.specified&&r++,domUtils.isSameStyle(e,t))continue;return!1}if(ie){if(!o.specified)continue;r++,a=i.getNamedItem(o.nodeName)}else a=t.attributes[o.nodeName];if(!a.specified||o.nodeValue!=a.nodeValue)return!1}if(ie){for(l=0;a=i[l++];)a.specified&&s++;if(r!=s)return!1}return!0},isSameStyle:function(e,t){var n=e.style.cssText.replace(/( ?; ?)/g,";").replace(/( ?: ?)/g,":"),i=t.style.cssText.replace(/( ?; ?)/g,";").replace(/( ?: ?)/g,":");if(browser.opera){if(n=e.style,i=t.style,n.length!=i.length)return!1;for(var o in n)if(!/^(\d+|csstext)$/i.test(o)&&n[o]!=i[o])return!1;return!0}if(!n||!i)return n==i;if(n=n.split(";"),i=i.split(";"),n.length!=i.length)return!1;for(var a,r=0;a=n[r++];)if(-1==utils.indexOf(i,a))return!1;return!0},isBlockElm:function(e){return 1==e.nodeType&&(dtd.$block[e.tagName]||styleBlock[domUtils.getComputedStyle(e,"display")])&&!dtd.$nonChild[e.tagName]},isBody:function(e){return e&&1==e.nodeType&&"body"==e.tagName.toLowerCase()},breakParent:function(e,t){var n,i,o,a=e,r=e;do{for(a=a.parentNode,i?((n=a.cloneNode(!1)).appendChild(i),i=n,(n=a.cloneNode(!1)).appendChild(o),o=n):o=(i=a.cloneNode(!1)).cloneNode(!1);n=r.previousSibling;)i.insertBefore(n,i.firstChild);for(;n=r.nextSibling;)o.appendChild(n);r=a}while(t!==a);return(n=t.parentNode).insertBefore(i,t),n.insertBefore(o,t),n.insertBefore(e,o),domUtils.remove(t),e},isEmptyInlineElement:function(e){if(1!=e.nodeType||!dtd.$removeEmpty[e.tagName])return 0;for(e=e.firstChild;e;){if(domUtils.isBookmarkNode(e))return 0;if(1==e.nodeType&&!domUtils.isEmptyInlineElement(e)||3==e.nodeType&&!domUtils.isWhitespace(e))return 0;e=e.nextSibling}return 1},trimWhiteTextNode:function(e){function t(t){for(var n;(n=e[t])&&3==n.nodeType&&domUtils.isWhitespace(n);)e.removeChild(n)}t("firstChild"),t("lastChild")},mergeChild:function(e,t,n){for(var i,o=domUtils.getElementsByTagName(e,e.tagName.toLowerCase()),a=0;i=o[a++];)if(i.parentNode&&!domUtils.isBookmarkNode(i))if("span"!=i.tagName.toLowerCase())domUtils.isSameElement(e,i)&&domUtils.remove(i,!0);else{if(e===i.parentNode&&(domUtils.trimWhiteTextNode(e),1==e.childNodes.length)){e.style.cssText=i.style.cssText+";"+e.style.cssText,domUtils.remove(i,!0);continue}if(i.style.cssText=e.style.cssText+";"+i.style.cssText,n){var r=n.style;if(r){r=r.split(";");for(var s,l=0;s=r[l++];)i.style[utils.cssStyleToDomStyle(s.split(":")[0])]=s.split(":")[1]}}domUtils.isSameStyle(i,e)&&domUtils.remove(i,!0)}},getElementsByTagName:function(e,t,n){if(n&&utils.isString(n)){var i=n;n=function(e){return domUtils.hasClass(e,i)}}t=utils.trim(t).replace(/[ ]{2,}/g," ").split(" ");for(var o,a=[],r=0;o=t[r++];)for(var s,l=e.getElementsByTagName(o),d=0;s=l[d++];)n&&!n(s)||a.push(s);return a},mergeToParent:function(e){for(var t=e.parentNode;t&&dtd.$removeEmpty[t.tagName];){if(t.tagName==e.tagName||"A"==t.tagName){if(domUtils.trimWhiteTextNode(t),"SPAN"==t.tagName&&!domUtils.isSameStyle(t,e)||"A"==t.tagName&&"SPAN"==e.tagName){if(t.childNodes.length>1||t!==e.parentNode){e.style.cssText=t.style.cssText+";"+e.style.cssText,t=t.parentNode;continue}t.style.cssText+=";"+e.style.cssText,"A"==t.tagName&&(t.style.textDecoration="underline")}if("A"!=t.tagName){t===e.parentNode&&domUtils.remove(e,!0);break}}t=t.parentNode}},mergeSibling:function(e,t,n){function i(e,t,n){var i;if((i=n[e])&&!domUtils.isBookmarkNode(i)&&1==i.nodeType&&domUtils.isSameElement(n,i)){for(;i.firstChild;)"firstChild"==t?n.insertBefore(i.lastChild,n.firstChild):n.appendChild(i.firstChild);domUtils.remove(i)}}!t&&i("previousSibling","firstChild",e),!n&&i("nextSibling","lastChild",e)},unSelectable:ie&&browser.ie9below||browser.opera?function(e){e.onselectstart=function(){return!1},e.onclick=e.onkeyup=e.onkeydown=function(){return!1},e.unselectable="on",e.setAttribute("unselectable","on");for(var t,n=0;t=e.all[n++];)switch(t.tagName.toLowerCase()){case"iframe":case"textarea":case"input":case"select":break;default:t.unselectable="on",e.setAttribute("unselectable","on")}}:function(e){e.style.MozUserSelect=e.style.webkitUserSelect=e.style.msUserSelect=e.style.KhtmlUserSelect="none"},removeAttributes:function(e,t){t=utils.isArray(t)?t:utils.trim(t).replace(/[ ]{2,}/g," ").split(" ");for(var n,i=0;n=t[i++];){switch(n=attrFix[n]||n){case"className":e[n]="";break;case"style":e.style.cssText="";var o=e.getAttributeNode("style");!browser.ie&&o&&e.removeAttributeNode(o)}e.removeAttribute(n)}},createElement:function(e,t,n){return domUtils.setAttributes(e.createElement(t),n)},setAttributes:function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];switch(n){case"class":e.className=i;break;case"style":e.style.cssText=e.style.cssText+";"+i;break;case"innerHTML":e[n]=i;break;case"value":e.value=i;break;default:e.setAttribute(attrFix[n]||n,i)}}return e},getComputedStyle:function(e,t){if("width height top left".indexOf(t)>-1)return e["offset"+t.replace(/^\w/,function(e){return e.toUpperCase()})]+"px";if(3==e.nodeType&&(e=e.parentNode),browser.ie&&browser.version<9&&"font-size"==t&&!e.style.fontSize&&!dtd.$empty[e.tagName]&&!dtd.$nonChild[e.tagName]){var n=e.ownerDocument.createElement("span");n.style.cssText="padding:0;border:0;font-family:simsun;",n.innerHTML=".",e.appendChild(n);var i=n.offsetHeight;return e.removeChild(n),n=null,i+"px"}try{var o=domUtils.getStyle(e,t)||(window.getComputedStyle?domUtils.getWindow(e).getComputedStyle(e,"").getPropertyValue(t):(e.currentStyle||e.style)[utils.cssStyleToDomStyle(t)])}catch(e){return""}
12return utils.transUnitToPx(utils.fixColor(t,o))},removeClasses:function(e,t){t=utils.isArray(t)?t:utils.trim(t).replace(/[ ]{2,}/g," ").split(" ");for(var n,i=0,o=e.className;n=t[i++];)o=o.replace(new RegExp("\\b"+n+"\\b"),"");(o=utils.trim(o).replace(/[ ]{2,}/g," "))?e.className=o:domUtils.removeAttributes(e,["class"])},addClass:function(e,t){if(e){t=utils.trim(t).replace(/[ ]{2,}/g," ").split(" ");for(var n,i=0,o=e.className;n=t[i++];)new RegExp("\\b"+n+"\\b").test(o)||(o+=" "+n);e.className=utils.trim(o)}},hasClass:function(e,t){if(utils.isRegExp(t))return t.test(e.className);t=utils.trim(t).replace(/[ ]{2,}/g," ").split(" ");for(var n,i=0,o=e.className;n=t[i++];)if(!new RegExp("\\b"+n+"\\b","i").test(o))return!1;return i-1==t.length},preventDefault:function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},removeStyle:function(e,t){browser.ie?("color"==t&&(t="(^|;)"+t),e.style.cssText=e.style.cssText.replace(new RegExp(t+"[^:]*:[^;]+;?","ig"),"")):e.style.removeProperty?e.style.removeProperty(t):e.style.removeAttribute(utils.cssStyleToDomStyle(t)),e.style.cssText||domUtils.removeAttributes(e,["style"])},getStyle:function(e,t){var n=e.style[utils.cssStyleToDomStyle(t)];return utils.fixColor(t,n)},setStyle:function(e,t,n){e.style[utils.cssStyleToDomStyle(t)]=n,utils.trim(e.style.cssText)||this.removeAttributes(e,"style")},setStyles:function(e,t){for(var n in t)t.hasOwnProperty(n)&&domUtils.setStyle(e,n,t[n])},removeDirtyAttr:function(e){for(var t,n=0,i=e.getElementsByTagName("*");t=i[n++];)t.removeAttribute("_moz_dirty");e.removeAttribute("_moz_dirty")},getChildCount:function(e,t){var n=0,i=e.firstChild;for(t=t||function(){return 1};i;)t(i)&&n++,i=i.nextSibling;return n},isEmptyNode:function(e){return!e.firstChild||0==domUtils.getChildCount(e,function(e){return!domUtils.isBr(e)&&!domUtils.isBookmarkNode(e)&&!domUtils.isWhitespace(e)})},clearSelectedArr:function(e){for(var t;t=e.pop();)domUtils.removeAttributes(t,["class"])},scrollToView:function(e,t,n){var i=function(){var e=t.document,n="CSS1Compat"==e.compatMode;return{width:(n?e.documentElement.clientWidth:e.body.clientWidth)||0,height:(n?e.documentElement.clientHeight:e.body.clientHeight)||0}}().height,o=-1*i+n;o+=e.offsetHeight||0,o+=domUtils.getXY(e).y;var a=function(e){if("pageXOffset"in e)return{x:e.pageXOffset||0,y:e.pageYOffset||0};var t=e.document;return{x:t.documentElement.scrollLeft||t.body.scrollLeft||0,y:t.documentElement.scrollTop||t.body.scrollTop||0}}(t).y;(o>a||o<a-i)&&t.scrollTo(0,o+(o<0?-20:20))},isBr:function(e){return 1==e.nodeType&&"BR"==e.tagName},isFillChar:function(e,t){if(3!=e.nodeType)return!1;var n=e.nodeValue;return t?new RegExp("^"+domUtils.fillChar).test(n):!n.replace(new RegExp(domUtils.fillChar,"g"),"").length},isStartInblock:function(e){var t,n=e.cloneRange(),i=0,o=n.startContainer;if(1==o.nodeType&&o.childNodes[n.startOffset])for(var a=(o=o.childNodes[n.startOffset]).previousSibling;a&&domUtils.isFillChar(a);)o=a,a=a.previousSibling;for(this.isFillChar(o,!0)&&1==n.startOffset&&(n.setStartBefore(o),o=n.startContainer);o&&domUtils.isFillChar(o);)t=o,o=o.previousSibling;for(t&&(n.setStartBefore(t),o=n.startContainer),1==o.nodeType&&domUtils.isEmptyNode(o)&&1==n.startOffset&&n.setStart(o,0).collapse(!0);!n.startOffset;){if(o=n.startContainer,domUtils.isBlockElm(o)||domUtils.isBody(o)){i=1;break}var r;if(a=n.startContainer.previousSibling){for(;a&&domUtils.isFillChar(a);)r=a,a=a.previousSibling;r?n.setStartBefore(r):n.setStartBefore(n.startContainer)}else n.setStartBefore(n.startContainer)}return i&&!domUtils.isBody(n.startContainer)?1:0},isEmptyBlock:function(e,t){if(1!=e.nodeType)return 0;if(t=t||new RegExp("[  \t\r\n"+domUtils.fillChar+"]","g"),e[browser.ie?"innerText":"textContent"].replace(t,"").length>0)return 0;for(var n in dtd.$isNotEmpty)if(e.getElementsByTagName(n).length)return 0;return 1},setViewportOffset:function(e,t){var n=0|parseInt(e.style.left),i=0|parseInt(e.style.top),o=e.getBoundingClientRect(),a=t.left-o.left,r=t.top-o.top;a&&(e.style.left=n+a+"px"),r&&(e.style.top=i+r+"px")},fillNode:function(e,t){var n=browser.ie?e.createTextNode(domUtils.fillChar):e.createElement("br");t.innerHTML="",t.appendChild(n)},moveChild:function(e,t,n){for(;e.firstChild;)n&&t.firstChild?t.insertBefore(e.lastChild,t.firstChild):t.appendChild(e.firstChild)},hasNoAttributes:function(e){return browser.ie?/^<\w+\s*?>/.test(e.outerHTML):0==e.attributes.length},isCustomeNode:function(e){return 1==e.nodeType&&e.getAttribute("_ue_custom_node_")},isTagNode:function(e,t){return 1==e.nodeType&&new RegExp("\\b"+e.tagName+"\\b","i").test(t)},filterNodeList:function(e,t,n){var i=[];if(!utils.isFunction(t)){var o=t;t=function(e){return-1!=utils.indexOf(utils.isArray(o)?o:o.split(" "),e.tagName.toLowerCase())}}return utils.each(e,function(e){t(e)&&i.push(e)}),0==i.length?null:1!=i.length&&n?i:i[0]},isInNodeEndBoundary:function(e,t){var n=e.startContainer;if(3==n.nodeType&&e.startOffset!=n.nodeValue.length)return 0;if(1==n.nodeType&&e.startOffset!=n.childNodes.length)return 0;for(;n!==t;){if(n.nextSibling)return 0;n=n.parentNode}return 1},isBoundaryNode:function(e,t){for(;!domUtils.isBody(e);)if(e!==(e=e.parentNode)[t])return!1;return!0},fillHtml:browser.ie11below?"&nbsp;":"<br/>"},fillCharReg=new RegExp(domUtils.fillChar,"g");!function(){var e,t=0,n=domUtils.fillChar;function i(e){return!e.collapsed&&1==e.startContainer.nodeType&&e.startContainer===e.endContainer&&e.endOffset-e.startOffset==1}function o(e,t,n,i){return 1==t.nodeType&&(dtd.$empty[t.tagName]||dtd.$nonChild[t.tagName])&&(n=domUtils.getNodeIndex(t)+(e?0:1),t=t.parentNode),e?(i.startContainer=t,i.startOffset=n,i.endContainer||i.collapse(!0)):(i.endContainer=t,i.endOffset=n,i.startContainer||i.collapse(!1)),function(e){e.collapsed=e.startContainer&&e.endContainer&&e.startContainer===e.endContainer&&e.startOffset==e.endOffset}(i),i}function a(e,t){var n,i,o=e.startContainer,a=e.endContainer,r=e.startOffset,s=e.endOffset,l=e.document,d=l.createDocumentFragment();if(1==o.nodeType&&(o=o.childNodes[r]||(n=o.appendChild(l.createTextNode("")))
12),1==a.nodeType&&(a=a.childNodes[s]||(i=a.appendChild(l.createTextNode("")))),o===a&&3==o.nodeType)return d.appendChild(l.createTextNode(o.substringData(r,s-r))),t&&(o.deleteData(r,s-r),e.collapse(!0)),d;for(var c,u,m=d,p=domUtils.findParents(o,!0),h=domUtils.findParents(a,!0),g=0;p[g]==h[g];)g++;for(var f,v=g;f=p[v];v++){for(c=f.nextSibling,f==o?n||(3==e.startContainer.nodeType?(m.appendChild(l.createTextNode(o.nodeValue.slice(r))),t&&o.deleteData(r,o.nodeValue.length-r)):m.appendChild(t?o:o.cloneNode(!0))):(u=f.cloneNode(!1),m.appendChild(u));c&&c!==a&&c!==h[v];)f=c.nextSibling,m.appendChild(t?c:c.cloneNode(!0)),c=f;m=u}m=d,p[g]||(m.appendChild(p[g-1].cloneNode(!1)),m=m.firstChild);var b;for(v=g;b=h[v];v++){if(c=b.previousSibling,b==a?i||3!=e.endContainer.nodeType||(m.appendChild(l.createTextNode(a.substringData(0,s))),t&&a.deleteData(0,s)):(u=b.cloneNode(!1),m.appendChild(u)),v!=g||!p[g])for(;c&&c!==o;)b=c.previousSibling,m.insertBefore(t?c:c.cloneNode(!0),m.firstChild),c=b;m=u}return t&&e.setStartBefore(h[g]?p[g]?h[g]:p[g-1]:h[g-1]).collapse(!0),n&&domUtils.remove(n),i&&domUtils.remove(i),d}var r=dom.Range=function(e){var t=this;t.startContainer=t.startOffset=t.endContainer=t.endOffset=null,t.document=e,t.collapsed=!0};function s(t,n){try{if(e&&domUtils.inDoc(e,t))if(e.nodeValue.replace(fillCharReg,"").length)e.nodeValue=e.nodeValue.replace(fillCharReg,"");else{var i=e.parentNode;for(domUtils.remove(e);i&&domUtils.isEmptyInlineElement(i)&&(browser.safari?!(domUtils.getPosition(i,n)&domUtils.POSITION_CONTAINS):!i.contains(n));)e=i.parentNode,domUtils.remove(i),i=e}}catch(e){}}function l(e,t){var n;for(e=e[t];e&&domUtils.isFillChar(e);)n=e[t],domUtils.remove(e),e=n}r.prototype={cloneContents:function(){return this.collapsed?null:a(this,0)},deleteContents:function(){var e;return this.collapsed||a(this,1),browser.webkit&&(3!=(e=this.startContainer).nodeType||e.nodeValue.length||(this.setStartBefore(e).collapse(!0),domUtils.remove(e))),this},extractContents:function(){return this.collapsed?null:a(this,2)},setStart:function(e,t){return o(!0,e,t,this)},setEnd:function(e,t){return o(!1,e,t,this)},setStartAfter:function(e){return this.setStart(e.parentNode,domUtils.getNodeIndex(e)+1)},setStartBefore:function(e){return this.setStart(e.parentNode,domUtils.getNodeIndex(e))},setEndAfter:function(e){return this.setEnd(e.parentNode,domUtils.getNodeIndex(e)+1)},setEndBefore:function(e){return this.setEnd(e.parentNode,domUtils.getNodeIndex(e))},setStartAtFirst:function(e){return this.setStart(e,0)},setStartAtLast:function(e){return this.setStart(e,3==e.nodeType?e.nodeValue.length:e.childNodes.length)},setEndAtFirst:function(e){return this.setEnd(e,0)},setEndAtLast:function(e){return this.setEnd(e,3==e.nodeType?e.nodeValue.length:e.childNodes.length)},selectNode:function(e){return this.setStartBefore(e).setEndAfter(e)},selectNodeContents:function(e){return this.setStart(e,0).setEndAtLast(e)},cloneRange:function(){var e=this;return new r(e.document).setStart(e.startContainer,e.startOffset).setEnd(e.endContainer,e.endOffset)},collapse:function(e){var t=this;return e?(t.endContainer=t.startContainer,t.endOffset=t.startOffset):(t.startContainer=t.endContainer,t.startOffset=t.endOffset),t.collapsed=!0,t},shrinkBoundary:function(e){var t,n=this,i=n.collapsed;function o(e){return 1==e.nodeType&&!domUtils.isBookmarkNode(e)&&!dtd.$empty[e.tagName]&&!dtd.$nonChild[e.tagName]}for(;1==n.startContainer.nodeType&&(t=n.startContainer.childNodes[n.startOffset])&&o(t);)n.setStart(t,0);if(i)return n.collapse(!0);if(!e)for(;1==n.endContainer.nodeType&&n.endOffset>0&&(t=n.endContainer.childNodes[n.endOffset-1])&&o(t);)n.setEnd(t,t.childNodes.length);return n},getCommonAncestor:function(e,t){var n=this.startContainer,o=this.endContainer;return n===o?e&&i(this)&&1==(n=n.childNodes[this.startOffset]).nodeType?n:t&&3==n.nodeType?n.parentNode:n:domUtils.getCommonAncestor(n,o)},trimBoundary:function(e){this.txtToElmBoundary();var t=this.startContainer,n=this.startOffset,i=this.collapsed,o=this.endContainer;if(3==t.nodeType){if(0==n)this.setStartBefore(t);else if(n>=t.nodeValue.length)this.setStartAfter(t);else{var a=domUtils.split(t,n);t===o?this.setEnd(a,this.endOffset-n):t.parentNode===o&&(this.endOffset+=1),this.setStartBefore(a)}if(i)return this.collapse(!0)}return e||(n=this.endOffset,3==(o=this.endContainer).nodeType&&(0==n?this.setEndBefore(o):(n<o.nodeValue.length&&domUtils.split(o,n),this.setEndAfter(o)))),this},txtToElmBoundary:function(e){function t(e,t){var n=e[t+"Container"],i=e[t+"Off
12set"];3==n.nodeType&&(i?i>=n.nodeValue.length&&e["set"+t.replace(/(\w)/,function(e){return e.toUpperCase()})+"After"](n):e["set"+t.replace(/(\w)/,function(e){return e.toUpperCase()})+"Before"](n))}return!e&&this.collapsed||(t(this,"start"),t(this,"end")),this},insertNode:function(e){var t=e,n=1;11==e.nodeType&&(t=e.firstChild,n=e.childNodes.length),this.trimBoundary(!0);var i=this.startContainer,o=this.startOffset,a=i.childNodes[o];return a?i.insertBefore(e,a):i.appendChild(e),t.parentNode===this.endContainer&&(this.endOffset=this.endOffset+n),this.setStartBefore(t)},setCursor:function(e,t){return this.collapse(!e).select(t)},createBookmark:function(e,n){var i,o=this.document.createElement("span");return o.style.cssText="display:none;line-height:0px;",o.appendChild(this.document.createTextNode("‍")),o.id="_baidu_bookmark_start_"+(n?"":t++),this.collapsed||((i=o.cloneNode(!0)).id="_baidu_bookmark_end_"+(n?"":t++)),this.insertNode(o),i&&this.collapse().insertNode(i).setEndBefore(i),this.setStartAfter(o),{start:e?o.id:o,end:i?e?i.id:i:null,id:e}},moveToBookmark:function(e){var t=e.id?this.document.getElementById(e.start):e.start,n=e.end&&e.id?this.document.getElementById(e.end):e.end;return this.setStartBefore(t),domUtils.remove(t),n?(this.setEndBefore(n),domUtils.remove(n)):this.collapse(!0),this},enlarge:function(e,t){var n,i,o=domUtils.isBody,a=this.document.createTextNode("");if(e){for(1==(i=this.startContainer).nodeType?i.childNodes[this.startOffset]?n=i=i.childNodes[this.startOffset]:(i.appendChild(a),n=i=a):n=i;;){if(domUtils.isBlockElm(i)){for(i=n;(n=i.previousSibling)&&!domUtils.isBlockElm(n);)i=n;this.setStartBefore(i);break}n=i,i=i.parentNode}for(1==(i=this.endContainer).nodeType?((n=i.childNodes[this.endOffset])?i.insertBefore(a,n):i.appendChild(a),n=i=a):n=i;;){if(domUtils.isBlockElm(i)){for(i=n;(n=i.nextSibling)&&!domUtils.isBlockElm(n);)i=n;this.setEndAfter(i);break}n=i,i=i.parentNode}a.parentNode===this.endContainer&&this.endOffset--,domUtils.remove(a)}if(!this.collapsed){for(;!(0!=this.startOffset||t&&t(this.startContainer)||o(this.startContainer));)this.setStartBefore(this.startContainer);for(;!(this.endOffset!=(1==this.endContainer.nodeType?this.endContainer.childNodes.length:this.endContainer.nodeValue.length)||t&&t(this.endContainer)||o(this.endContainer));)this.setEndAfter(this.endContainer)}return this},enlargeToBlockElm:function(e){for(;!domUtils.isBlockElm(this.startContainer);)this.setStartBefore(this.startContainer);if(!e)for(;!domUtils.isBlockElm(this.endContainer);)this.setEndAfter(this.endContainer);return this},adjustmentBoundary:function(){if(!this.collapsed){for(;!domUtils.isBody(this.startContainer)&&this.startOffset==this.startContainer[3==this.startContainer.nodeType?"nodeValue":"childNodes"].length&&this.startContainer[3==this.startContainer.nodeType?"nodeValue":"childNodes"].length;)this.setStartAfter(this.startContainer);for(;!domUtils.isBody(this.endContainer)&&!this.endOffset&&this.endContainer[3==this.endContainer.nodeType?"nodeValue":"childNodes"].length;)this.setEndBefore(this.endContainer)}return this},applyInlineStyle:function(e,t,n){if(this.collapsed)return this;this.trimBoundary().enlarge(!1,function(e){return 1==e.nodeType&&domUtils.isBlockElm(e)}).adjustmentBoundary();for(var i,o,a=this.createBookmark(),r=a.end,s=function(e){return 1==e.nodeType?"br"!=e.tagName.toLowerCase():!domUtils.isWhitespace(e)},l=domUtils.getNextDomNode(a.start,!1,s),d=this.cloneRange();l&&domUtils.getPosition(l,r)&domUtils.POSITION_PRECEDING;)if(3==l.nodeType||dtd[e][l.tagName]){for(d.setStartBefore(l),i=l;i&&(3==i.nodeType||dtd[e][i.tagName])&&i!==r;)o=i,i=domUtils.getNextDomNode(i,1==i.nodeType,null,function(t){return dtd[e][t.tagName]});var c,u,m=d.setEndAfter(o).extractContents();if(n&&n.length>0){var p,h;h=p=n[0].cloneNode(!1);for(var g,f=1;g=n[f++];)p.appendChild(g.cloneNode(!1)),p=p.firstChild;c=p}else c=d.document.createElement(e);if(t&&domUtils.setAttributes(c,t),c.appendChild(m),d.insertNode(n?h:c),"span"==e&&t.style&&/text\-decoration/.test(t.style)&&(u=domUtils.findParentByTagName(c,"a",!0))?(domUtils.setAttributes(u,t),domUtils.remove(c,
12!0),c=u):(domUtils.mergeSibling(c),domUtils.clearEmptySibling(c)),domUtils.mergeChild(c,t),l=domUtils.getNextDomNode(c,!1,s),domUtils.mergeToParent(c),i===r)break}else l=domUtils.getNextDomNode(l,!0,s);return this.moveToBookmark(a)},removeInlineStyle:function(e){if(this.collapsed)return this;e=utils.isArray(e)?e:[e],this.shrinkBoundary().adjustmentBoundary();for(var t=this.startContainer,n=this.endContainer;;){if(1==t.nodeType){if(utils.indexOf(e,t.tagName.toLowerCase())>-1)break;if("body"==t.tagName.toLowerCase()){t=null;break}}t=t.parentNode}for(;;){if(1==n.nodeType){if(utils.indexOf(e,n.tagName.toLowerCase())>-1)break;if("body"==n.tagName.toLowerCase()){n=null;break}}n=n.parentNode}var i,o,a=this.createBookmark();t&&(i=(o=this.cloneRange().setEndBefore(a.start).setStartBefore(t)).extractContents(),o.insertNode(i),domUtils.clearEmptySibling(t,!0),t.parentNode.insertBefore(a.start,t)),n&&(i=(o=this.cloneRange().setStartAfter(a.end).setEndAfter(n)).extractContents(),o.insertNode(i),domUtils.clearEmptySibling(n,!1,!0),n.parentNode.insertBefore(a.end,n.nextSibling));for(var r,s=domUtils.getNextDomNode(a.start,!1,function(e){return 1==e.nodeType});s&&s!==a.end;)r=domUtils.getNextDomNode(s,!0,function(e){return 1==e.nodeType}),utils.indexOf(e,s.tagName.toLowerCase())>-1&&domUtils.remove(s,!0),s=r;return this.moveToBookmark(a)},getClosedNode:function(){var e;if(!this.collapsed){var t=this.cloneRange().adjustmentBoundary().shrinkBoundary();if(i(t)){var n=t.startContainer.childNodes[t.startOffset];n&&1==n.nodeType&&(dtd.$empty[n.tagName]||dtd.$nonChild[n.tagName])&&(e=n)}}return e},select:browser.ie?function(t,i){var o;this.collapsed||this.shrinkBoundary();var a=this.getClosedNode();if(a&&!i){try{(o=this.document.body.createControlRange()).addElement(a),o.select()}catch(e){}return this}var r,d=this.createBookmark(),c=d.start;if((o=this.document.body.createTextRange()).moveToElementText(c),o.moveStart("character",1),this.collapsed){if(!t&&3!=this.startContainer.nodeType){var u=this.document.createTextNode(n),m=this.document.createElement("span");m.appendChild(this.document.createTextNode(n)),c.parentNode.insertBefore(m,c),c.parentNode.insertBefore(u,c),s(this.document,u),e=u,l(m,"previousSibling"),l(c,"nextSibling"),o.moveStart("character",-1),o.collapse(!0)}}else{var p=this.document.body.createTextRange();r=d.end,p.moveToElementText(r),o.setEndPoint("EndToEnd",p)}this.moveToBookmark(d),m&&domUtils.remove(m);try{o.select()}catch(e){}return this}:function(t){var i,o=domUtils.getWindow(this.document),a=o.getSelection();if(browser.gecko?this.document.body.focus():o.focus(),a){if(a.removeAllRanges(),this.collapsed&&!t){var r=this.startContainer,d=r;1==r.nodeType&&(d=r.childNodes[this.startOffset]),3==r.nodeType&&this.startOffset||(d?d.previousSibling&&3==d.previousSibling.nodeType:r.lastChild&&3==r.lastChild.nodeType)||(i=this.document.createTextNode(n),this.insertNode(i),s(this.document,i),l(i,"previousSibling"),l(i,"nextSibling"),e=i,this.setStart(i,browser.webkit?1:0).collapse(!0))}var c=this.document.createRange();if(this.collapsed&&browser.opera&&1==this.startContainer.nodeType)if(d=this.startContainer.childNodes[this.startOffset]){for(;d&&domUtils.isBlockElm(d)&&1==d.nodeType&&d.childNodes[0];)d=d.childNodes[0];d&&this.setStartBefore(d).collapse(!0)}else(d=this.startContainer.lastChild)&&domUtils.isBr(d)&&this.setStartBefore(d).collapse(!0);!function(e){function t(t,n,i){3==t.nodeType&&t.nodeValue.length<n&&(e[i+"Offset"]=t.nodeValue.length)}t(e.startContainer,e.startOffset,"start"),t(e.endContainer,e.endOffset,"end")}(this),c.setStart(this.startContainer,this.startOffset),c.setEnd(this.endContainer,this.endOffset),a.addRange(c)}return this},scrollToView:function(e,t){e=e?window:domUtils.getWindow(this.document);var n=this.document.createElement("span");return n.innerHTML="&nbsp;",this.cloneRange().insertNode(n),domUtils.scrollToView(n,e,t),domUtils.remove(n),this},inFillChar:function(){var e=this.startContainer;return!(!this.collapsed||3!=e.nodeType||e.nodeValue.replace(new RegExp("^"+domUtils.fillChar),"").length+1!=e.nodeValue.length)},createAddress:function(e,t){var n={},i=this;function o(e){for(var n,o=e?i.startContainer:i.endContainer,a=domUtils.findParents(o,!0,function(e){return!domUtils.isBody(e)}),r=[],s=0;n=a[s++];)r.push(domUtils.getNodeIndex(n,t));var l=0;if(t)if(3==o.nodeType){for(var d=o.previousSibling;d&&3==d.nodeType;)l+=d.nodeValue.replace(fillCharReg,"").length,d=d.previousSibling;l+=e?i.startOffset:i.endOffset}else if(o=o.childNodes[e?i.startOffset:i.endOffset])l=domUtils.getNodeIndex(o,t);else for(var c=(o=e?i.startContainer:i.endContainer).firstChild;c;)if(domUtils.isFillChar(c))c=c.nextSibling;else if(l++,3==c.nodeType)for(;c&&3==c.nodeType;)c=c.nextSibling;else c=c.nextSibling;else l=e?domUtils.isFillChar(o)?0:i.startOffset:i.endOffset;return l<0&&(l=0),r.push(l),r}return n.startAddress=o(!0),e||(n.endAddress=i.collapsed?[].concat(n.startAddress):o()),n},moveToAddress:function(e,t){var n=this;function i(e,t){for(var i,o,a,r=n.document.body,s=0,l=e.length;s<l;s++)if(a=e[s],i=r,!(r=r.childNodes[a])){o=a;break}t?r?n.setStartBefore(r):n.setStart(i,o):r?n.setEndBefore(r):n.setEnd(i,o)}return i(e.startAddress,!0),!t&&e.endAddress&&i(e.endAddress),n},equals:function(e){for(var t in this)if(this.hasOwnProperty(t)&&this[t]!==e[t])return!1;return!0},traversal:function(e,t){if(this.collapsed)return this;for(var n=this.createBookmark(),i=n.end,o=domUtils.getNextDomNode(n.start,!1,t);o&&o!==i&&domUtils.getPosition(o,i)&domUtils.POSITION_PRECEDING;){var a=domUtils.getNextDomNode(o,!1,t);e(o),o=a}return this.moveToBookmark(n)}}}(),function(){function e(e,t){var n=domUtils.getNodeIndex;(e=e.duplicate()).collapse(t);var i=e.parentElement();if(!i.hasChildNodes())return{container:i,offset:0};for(var o,a,r=i.children,s=e.duplicate(),l=0,d=r.length-1,c=-1;l<=d;){o=r[c=Math.floor((l+d)/2)],s.moveToElementText(o);var u=s.compareEndPoints("StartToStart",e);if(u>0)d=c-1;else{if(!(u<0))return{container:i,offset:n(o)};l=c+1}}if(-1==c){if(s.moveToElementText(i),s.setEndPoint("StartToStart",e),a=s.text.replace(/(\r\n|\r)/g,"\n").length,r=i.childNodes,!a)return{container:o=r[r.length-1],offset:o.nodeValue.length};for(var m=r.length;a>0;)a-=r[--m].nodeValue.length;return{container:r[m],offset:-a}}if(s.collapse(u>0),s.setEndPoint(u>0?"StartToStart":"EndToStart",e),!(a=s.text.replace(/(\r\n|\r)/g,"\n").length))return dtd.$empty[o.tagName]||dtd.$nonChild[o.tagName]?{container:i,offset:n(o)+(u>0?0:1)}:{container:o,offset:u>0?0:o.childNodes.length};for(;a>0;)try{var p=o;a-=(o=o[u>0?"previousSibling":"nextSibling"]).nodeValue.length}catch(e){return{container:i,offset:n(p)}}return{container:o,offset:u>0?-a:o.nodeValue.length+a}}function t(e){var t;try{t=e.getNative().createRange()}catch(e){return null}var n=t.item?t.item(0):t.parentElement();return(n.ownerDocument||n)===e.document?t:null}(dom.Selection=function(e){var n,i=this;i.document=e,browser.ie9below&&(n=domUtils.getWindow(e).frameElement,domUtils.on(n,"beforedeactivate",function(){i._bakIERange=i.getIERange()}),domUtils.on(n,"activate",function(){try{!t(i)&&i._bakIERange&&i._bakIERange.select()}catch(e){}i._bakIERange=null})),n=e=null}).prototype={rangeInBody:function(e,t){var n=browser.ie9below||t?e.item?e.item():e.parentElement():e.startContainer;return n===this.document.body||domUtils.inDoc(n,this.document)},getNative:function(){var e=this.document;try{return e?browser.ie9below?e.selection:domUtils.getWindow(e).getSelection():null}catch(e){return null}},getIERange:function(){var e=t(this);return!e&&this._bakIERange?this._bakIERange:e},cache:function(){this.clear(),this._cachedRange=this.getRange(),this._cachedStartElement=this.getStart(),this._cachedStartElementPath=this.getStartElementPath()},getStartElementPath:function(){if(this._cachedStartElementPath)return this._cachedStartElementPath;var e=this.getStart();return e?domUtils.findParents(e,!0,null,!0):[]},clear:function(){this._cachedStartElementPath=this._cachedRange=this._cachedStartElement=null},isFocus:function(){try{if(browser.ie9below){var e=t(this);return!(!e||!this.rangeInBody(e))}return!!this.getNative().rangeCount}catch(e){return!1}},getRange:function(){var t=this;function n(e){for(var n=t.document.body.firstChild,i=e.collapsed;n&&n.firstChild;)e.setStart(n,0),n=n.firstChild;e.startContainer||e.setStart(t.document.body,0),i&&e.collapse(!0)}if(null!=t._cachedRange)return this._cachedRange;var i=new baidu.editor.dom.Range(t.document);if(browser.ie9below){var o=t.getIERange();if(o)try{!function(t,n){if(t.item)n.selectNode(t.item(0));else{var i=e(t,!0);n.setStart(i.container,i.offset),0!=t.compareEndPoints("StartToEnd",t)&&(i=e(t,!1),n.setEnd(i.container,i.offset))}}(o,i)}catch(e){n(i)}else n(i)}else{var a=t.getNative();if(a&&a.rangeCount){var r=a.getRangeAt(0),s=a.getRangeAt(a.rangeCount-1);i.setStart(r.startContainer,r.startOffset).setEnd(s.endContainer,s.endOffset),i.collapsed&&domUtils.isBody(i.startContainer)&&!i.startOffset&&n(i)}else{if(this._bakRange&&domUtils.inDoc(this._bakRange.startContainer,this.document))return this._bakRange;n(i)}}return this._bakRange=i},getStart:function(){if(this._cachedStartElement)return this._cachedStartElement;var e,t,n,i,o=browser.ie9below?this.getIERange():this.getRange();if(browser.ie9below){if(!o)return this.document.body.firstChild;if(o.item)return o.item(0);for((e=o.duplicate()).text.length>0&&e.moveStart("character",1),e.collapse(1),t=e.parentElement(),i=n=o.parentElement();n=n.parentNode;)if(n==t){t=i;break}}else if(o.shrinkBoundary(),1==(t=o.startContainer).nodeType&&t.hasChildNodes()&&(t=t.childNodes[Math.min(t.childNodes.length-1,o.startOffset)]),3==t.nodeType)return t.parentNode;return t},getText:function(){var e,t;return this.isFocus()&&(e=this.getNative())?(t=browser.ie9below?e.createRange():e.getRangeAt(0),browser.ie9below?t.text:t.toString()):""},clearRange:function(){this.getNative()[browser.ie9below?"empty":"removeAllRanges"]()}}}(),function(){var e,t=0;function n(e,t){var n;if(t.textarea)if(utils.isString(t.textarea)){for(var i,o=0,a=domUtils.getElementsByTagName(e,"textarea");i=a[o++];)if(i.id=="ueditor_textarea_"+t.options.textarea){n=i;break}}else n=t.textarea;n||(e.appendChild(n=domUtils.createElement(document,"textarea",{name:t.options.textarea,id:"ueditor_textarea_"+t.options.textarea,style:"display:none"})),t.textarea=n),!n.getAttribute("name")&&n.setAttribute("name",t.options.textarea),n.value=t.hasContents()?t.options.allHtmlEnabled?t.getAllHtml():t.getContent(null,null,!0):""}function i(e){e.langIsReady=!0,e.fireEvent("langReady")}var o=UE.Editor=function(e){var n=this;n.uid=t++,EventBase.call(n),n.commands={},n.options=utils.extend(utils.clone(e||{}),UEDITOR_CONFIG,!0),n.shortcutkeys={},n.inputRules=[],n.outputRules=[],n.setOpt(o.defaultOptions(n)),n.loadServerConfig(),utils.isEmptyObject(UE.I18N)?utils.loadFile(document,{src:n.options.langPath+n.options.lang+"/"+n.options.lang+".js",tag:"script",type:"text/javascript",defer:"defer"},function(){UE.plugin.load(n),i(n)}):(n.options.lang=function(e){for(var t in e)return t}(UE.I18N),UE.plugin.load(n),i(n)),UE.instants["ueditorInstant"+n.uid]=n};o.prototype={registerCommand:function(e,t){this.commands[e]=t},ready:function(e){e&&(this.isReady?e.apply(this):this.addListener("ready",e))},setOpt:function(e,t){var n={};utils.isString(e)?n[e]=t:n=e,utils.extend(this.options,n,!0)},getOpt:function(e){return this.options[e]},destroy:function(){var e=this;e.fireEvent("destroy");var t=e.container.parentNode,n=e.textarea;n?n.style.display="":(n=document.createElement("textarea"),t.parentNode.insertBefore(n,t)),n.style.width=e.iframe.offsetWidth+"px",n.style.height=e.iframe.offsetHeight+"px",n.value=e.getContent(),n.id=e.key,t.innerHTML="",domUtils.remove(t);var i=e.key;for(var o in e)e.hasOwnProperty(o)&&delete this[o];UE.delEditor(i)},render:function(e){var t=this.options,n=function(t){return parseInt(domUtils.getComputedStyle(e,t))};if(utils.isString(e)&&(e=document.getElementById(e)),e){t.initialFrameWidth?t.minFrameWidth=t.initialFrameWidth:t.minFrameWidth=t.initialFrameWidth=e.offsetWidth,t.initialFrameHeight?t.minFrameHeight=t.initialFrameHeight:t.initialFrameHeight=t.minFrameHeight=e.offsetHeight,e.style.width=/%$/.test(t.initialFrameWidth)?"100%":t.initialFrameWidth-n("padding-left")-n("padding-right")+"px",e.style.height=/%$/.test(t.initialFrameHeight)?"100%":t.initialFrameHeight-n("padding-top")-n("padding-bottom")+"px",e.style.zIndex=t.zIndex;var i=(ie&&browser.version<9?"":"<!DOCTYPE html>")+"<html xmlns='http://www.w3.org/1999/xhtml' class='view' ><head><style type='text/css'>.view{padding:0;word-wrap:break-word;cursor:text;height:90%;}\nbody{margin:8px;font-family:sans-serif;font-size:16px;}p{margin:5px 0;}</style>"+(t.iframeCssUrl?"<link rel='stylesheet' type='text/css' href='"+utils.unhtml(t.iframeCssUrl)+"'/>":"")+(t.initialStyle?"<style>"+t.initialStyle+"</style>":"")+"</head><body class='view' ></body><script type='text/javascript' "+(ie?"defer='defer'":"")+" id='_initialScript'>setTimeout(function(){editor = window.parent.UE.instants['ueditorInstant"+this.uid+"'];editor._setup(document);},0);var _tmpScript = document.getElementById('_initialScript');_tmpScript.parentNode.removeChild(_tmpScript);<\/script></html>";e.appendChild(domUtils.createElement(document,"iframe",{id:"ueditor_"+this.uid,width:"100%",height:"100%",frameborder:"0",src:"javascript:void(function(){document.open();"+(t.customDomain&&document.domain!=location.hostname?'document.domain="'+document.domain+'";':"")+'document.write("'+i+'");document.close();}())'})),e.style.overflow="hidden",setTimeout(function(){/%$/.test(t.initialFrameWidth)&&(t.minFrameWidth=t.initialFrameWidth=e.offsetWidth),/%$/.test(t.initialFrameHeight)&&(t.minFrameHeight=t.initialFrameHeight=e.offsetHeight,e.style.height=t.initialFrameHeight+"px")})}},_setup:function(e){var t,i=this,o=i.options;ie?(e.body.disabled=!0,e.body.contentEditable=!0,e.body.disabled=!1):e.body.contentEditable=!0,e.body.spellcheck=!1,i.document=e,i.window=e.defaultView||e.parentWindow,i.iframe=i.window.frameElement,i.body=e.body,i.selection=new dom.Selection(e),browser.gecko&&(t=this.selection.getNative())&&t.removeAllRanges(),this._initEvents();for(var a=this.iframe.parentNode;!domUtils.isBody(a);a=a.parentNode)if("FORM"==a.tagName){i.form=a,i.options.autoSyncData?domUtils.on(i.window,"blur",function(){n(a,i)}):domUtils.on(a,"submit",function(){n(this,i)});break}if(o.initialContent)if(o.autoClearinitialContent){var r=i.execCommand;i.execCommand=function(){return i.fireEvent("firstBeforeExecCommand"),r.apply(i,arguments)},this._setDefaultContent(o.initialContent)}else this.setContent(o.initialContent,!1,!0);domUtils.isEmptyNode(i.body)&&(i.body.innerHTML="<p>"+(browser.ie?"":"<br/>")+"</p>"),o.focus&&setTimeout(function(){i.focus(i.options.focusInEnd),!i.options.autoClearinitialContent&&i._selectionChange()},0),i.container||(i.container=this.iframe.parentNode),o.fullscreen&&i.ui&&i.ui.setFullScreen(!0);try{i.document.execCommand("2D-position",!1,!1)}catch(e){}try{i.document.execCommand("enableInlineTableEditing",!1,!1)}catch(e){}try{i.document.execCommand("enableObjectResizing",!1,!1)}catch(e){}i._bindshortcutKeys(),i.isReady=1,i.fireEvent("ready"),o.onready&&o.onready.call(i),browser.ie9below||domUtils.on(i.window,["blur","focus"],function(e){if("blur"==e.type){i._bakRange=i.selection.getRange();try{i._bakNativeRange=i.selection.getNative().getRangeAt(0),i.selection.getNative().removeAllRanges()}catch(e){i._bakNativeRange=null}}else try{i._bakRange&&i._bakRange.select()}catch(e){}}),browser.gecko&&browser.version<=10902&&(i.body.contentEditable=!1,setTimeout(function(){i.body.contentEditable=!0},100),setInterval(function(){i.body.style.height=i.iframe.offsetHeight-20+"px"},100)),!o.isShow&&i.setHide(),o.readonly&&i.setDisabled()},sync:function(e){var t=e?document.getElementById(e):domUtils.findParent(this.iframe.parentNode,function(e){return"FORM"==e.tagName},!0);t&&n(t,this)},setHeight:function(e,t){e!==parseInt(this.iframe.parentNode.style.height)&&(this.iframe.parentNode.style.height=e+"px"),!t&&(this.options.minFrameHeight=this.options.initialFrameHeight=e),this.body.style.height=e+"px",!t&&this.trigger("setHeight")},addshortcutkey:function(e,t){var n={};t?n[e]=t:n=e,utils.extend(this.shortcutkeys,n)},_bindshortcutKeys:function()
12{var e=this,t=this.shortcutkeys;e.addListener("keydown",function(n,i){var o=i.keyCode||i.which;for(var a in t)for(var r,s=t[a].split(","),l=0;r=s[l++];){var d=(r=r.split(":"))[0],c=r[1];(/^(ctrl)(\+shift)?\+(\d+)$/.test(d.toLowerCase())||/^(\d+)$/.test(d))&&("ctrl"==RegExp.$1&&(i.ctrlKey||i.metaKey)&&(""==RegExp.$2||i[RegExp.$2.slice(1)+"Key"])&&o==RegExp.$3||o==RegExp.$1)&&(-1!=e.queryCommandState(a,c)&&e.execCommand(a,c),domUtils.preventDefault(i))}})},getContent:function(e,t,n,i,o){if(e&&utils.isFunction(e)&&(t=e,e=""),t?!t():!this.hasContents())return"";this.fireEvent("beforegetcontent");var a=UE.htmlparser(this.body.innerHTML,i);return this.filterOutputRule(a),this.fireEvent("aftergetcontent",e,a),a.toHtml(o)},getAllHtml:function(){var e=this,t=[];if(e.fireEvent("getAllHtml",t),browser.ie&&browser.version>8){var n="";utils.each(e.document.styleSheets,function(e){n+=e.href?'<link rel="stylesheet" type="text/css" href="'+e.href+'" />':"<style>"+e.cssText+"</style>"}),utils.each(e.document.getElementsByTagName("script"),function(e){n+=e.outerHTML})}return"<html><head>"+(e.options.charset?'<meta http-equiv="Content-Type" content="text/html; charset='+e.options.charset+'"/>':"")+(n||e.document.getElementsByTagName("head")[0].innerHTML)+t.join("\n")+"</head><body "+(ie&&browser.version<9?'class="view"':"")+">"+e.getContent(null,null,!0)+"</body></html>"},getPlainTxt:function(){var e=new RegExp(domUtils.fillChar,"g"),t=this.body.innerHTML.replace(/[\n\r]/g,"");return(t=t.replace(/<(p|div)[^>]*>(<br\/?>|&nbsp;)<\/\1>/gi,"\n").replace(/<br\/?>/gi,"\n").replace(/<[^>/]+>/g,"").replace(/(\n)?<\/([^>]+)>/g,function(e,t,n){return dtd.$block[n]?"\n":t||""})).replace(e,"").replace(/\u00a0/g," ").replace(/&nbsp;/g," ")},getContentTxt:function(){var e=new RegExp(domUtils.fillChar,"g");return this.body[browser.ie?"innerText":"textContent"].replace(e,"").replace(/\u00a0/g," ")},setContent:function(e,t,i){var o,a=this;if(a.fireEvent("beforesetcontent",e),a.body.innerHTML=(t?a.body&&a.body.innerHTML:"")+e,"p"==a.options.enterTag){var r,s=this.body.firstChild;if(!s||1==s.nodeType&&(dtd.$cdata[s.tagName]||function(e){return"DIV"==e.tagName&&e.getAttribute("cdata_tag")}(s)||domUtils.isCustomeNode(s))&&s===this.body.lastChild)this.body.innerHTML="<p>"+(browser.ie?"&nbsp;":"<br/>")+"</p>"+this.body.innerHTML;else for(var l=a.document.createElement("p");s;){for(;s&&(3==s.nodeType||1==s.nodeType&&dtd.p[s.tagName]&&!dtd.$cdata[s.tagName]);)r=s.nextSibling,l.appendChild(s),s=r;if(l.firstChild){if(!s){a.body.appendChild(l);break}s.parentNode.insertBefore(l,s),l=a.document.createElement("p")}s=s.nextSibling}}a.fireEvent("aftersetcontent"),a.fireEvent("contentchange"),!i&&a._selectionChange(),a._bakRange=a._bakIERange=a._bakNativeRange=null,browser.gecko&&(o=this.selection.getNative())&&o.removeAllRanges(),a.options.autoSyncData&&a.form&&n(a.form,a)},focus:function(e){try{var t=this.selection.getRange();if(e){(n=this.body.lastChild)&&1==n.nodeType&&!dtd.$empty[n.tagName]&&(domUtils.isEmptyBlock(n)?t.setStartAtFirst(n):t.setStartAtLast(n),t.collapse(!0)),t.setCursor(!0)}else{var n;if(!t.collapsed&&domUtils.isBody(t.startContainer)&&0==t.startOffset)(n=this.body.firstChild)&&1==n.nodeType&&!dtd.$empty[n.tagName]&&t.setStartAtFirst(n).collapse(!0);t.select(!0)}this.fireEvent("focus selectionchange")}catch(e){}},isFocus:function(){return this.selection.isFocus()},blur:function(){var e=this.selection.getNative();if(e.empty&&browser.ie){var t=document.body.createTextRange();t.moveToElementText(document.body),t.collapse(!0),t.select(),e.empty()}else e.removeAllRanges()},_initEvents:function(){var e=this,t=e.document,n=e.window;e._proxyDomEvent=utils.bind(e._proxyDomEvent,e),domUtils.on(t,["click","contextmenu","mousedown","keydown","keyup","keypress","mouseup","mouseover","mouseout","selectstart"],e._proxyDomEvent),domUtils.on(n,["focus","blur"],e._proxyDomEvent),domUtils.on(e.body,"drop",function(t){browser.gecko&&t.stopPropagation&&t.stopPropagation(),e.fireEvent("contentchange")}),domUtils.on(t,["mouseup","keydown"],function(t){"keydown"==t.type&&(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)||2!=t.button&&e._selectionChange(250,t)})},_proxyDomEvent:function(e){return!1!==this.fireEvent("before"+e.type.replace(/^on/,"").toLowerCase())&&(!1!==this.fireEvent(e.type.replace(/^on/,""),e)&&this.fireEvent("after"+e.type.replace(/^on/,"").toLowerCase()))},_selectionChange:function(t,n){var i,o,a=this,r=!1;browser.ie&&browser.version<9&&n&&"mouseup"==n.type&&(this.selection.getRange().collapsed||(r=!0,i=n.clientX,o=n.clientY));clearTimeout(e),e=setTimeout(function(){if(a.selection&&a.selection.getNative()){var e,t;if(r&&"None"==a.selection.getNative().type){e=a.document.body.createTextRange();try{e.moveToPoint(i,o)}catch(t){e=null}}e&&(t=a.selection.getIERange,a.selection.getIERange=function(){return e}),a.selection.cache(),t&&(a.selection.getIERange=t),a.selection._cachedRange&&a.selection._cachedStartElement&&(a.fireEvent("beforeselectionchange"),a.fireEvent("selectionchange",!!n),a.fireEvent("afterselectionchange"),a.selection.clear())}},t||50)}
12,_callCmdFn:function(e,t){var n,i,o=t[0].toLowerCase();return i=(n=this.commands[o]||UE.commands[o])&&n[e],n&&i||"queryCommandState"!=e?i?i.apply(this,t):void 0:0},execCommand:function(e){e=e.toLowerCase();var t,n=this,i=n.commands[e]||UE.commands[e];return i&&i.execCommand?(i.notNeedUndo||n.__hasEnterExecCommand?(t=this._callCmdFn("execCommand",arguments),!n.__hasEnterExecCommand&&!i.ignoreContentChange&&!n._ignoreContentChange&&n.fireEvent("contentchange")):(n.__hasEnterExecCommand=!0,-1!=n.queryCommandState.apply(n,arguments)&&(n.fireEvent("saveScene"),n.fireEvent.apply(n,["beforeexeccommand",e].concat(arguments)),t=this._callCmdFn("execCommand",arguments),n.fireEvent.apply(n,["afterexeccommand",e].concat(arguments)),n.fireEvent("saveScene")),n.__hasEnterExecCommand=!1),!n.__hasEnterExecCommand&&!i.ignoreContentChange&&!n._ignoreContentChange&&n._selectionChange(),t):null},queryCommandState:function(e){return this._callCmdFn("queryCommandState",arguments)},queryCommandValue:function(e){return this._callCmdFn("queryCommandValue",arguments)},hasContents:function(e){if(e)for(var t,n=0;t=e[n++];)if(this.document.getElementsByTagName(t).length>0)return!0;if(!domUtils.isEmptyBlock(this.body))return!0;for(e=["div"],n=0;t=e[n++];)for(var i,o=domUtils.getElementsByTagName(this.document,t),a=0;i=o[a++];)if(domUtils.isCustomeNode(i))return!0;return!1},reset:function(){this.fireEvent("reset")},setEnabled:function(){var e,t=this;if("false"==t.body.contentEditable){t.body.contentEditable=!0,e=t.selection.getRange();try{e.moveToBookmark(t.lastBk),delete t.lastBk}catch(n){e.setStartAtFirst(t.body).collapse(!0)}e.select(!0),t.bkqueryCommandState&&(t.queryCommandState=t.bkqueryCommandState,delete t.bkqueryCommandState),t.bkqueryCommandValue&&(t.queryCommandValue=t.bkqueryCommandValue,delete t.bkqueryCommandValue),t.fireEvent("selectionchange")}},enable:function(){return this.setEnabled()},setDisabled:function(e){var t=this;e=e?utils.isArray(e)?e:[e]:[],"true"==t.body.contentEditable&&(t.lastBk||(t.lastBk=t.selection.getRange().createBookmark(!0)),t.body.contentEditable=!1,t.bkqueryCommandState=t.queryCommandState,t.bkqueryCommandValue=t.queryCommandValue,t.queryCommandState=function(n){return-1!=utils.indexOf(e,n)?t.bkqueryCommandState.apply(t,arguments):-1},t.queryCommandValue=function(n){return-1!=utils.indexOf(e,n)?t.bkqueryCommandValue.apply(t,arguments):null},t.fireEvent("selectionchange"))},disable:function(e){return this.setDisabled(e)},_setDefaultContent:function(){function e(){var t=this;t.document.getElementById("initContent")&&(t.body.innerHTML="<p>"+(ie?"":"<br/>")+"</p>",t.removeListener("firstBeforeExecCommand focus",e),setTimeout(function(){t.focus(),t._selectionChange()},0))}return function(t){this.body.innerHTML='<p id="initContent">'+t+"</p>",this.addListener("firstBeforeExecCommand focus",e)}}(),setShow:function(){var e=this,t=e.selection.getRange();if("none"==e.container.style.display){try{t.moveToBookmark(e.lastBk),delete e.lastBk}catch(n){t.setStartAtFirst(e.body).collapse(!0)}setTimeout(function(){t.select(!0)},100),e.container.style.display=""}},show:function(){return this.setShow()},setHide:function(){this.lastBk||(this.lastBk=this.selection.getRange().createBookmark(!0)),this.container.style.display="none"},hide:function(){return this.setHide()},getLang:function(e){try{var t=UE.I18N[this.options.lang];if(!t)throw Error("not import language file");e=(e||"").split(".");for(var n,i=0;(n=e[i++])&&(t=t[n]););return t}catch(e){console.log(e)}},getContentLength:function(e,t){var n=this.getContent(!1,!1,!0).length;if(e){t=(t||[]).concat(["hr","img","iframe"]),n=this.getContentTxt().replace(/[\t\r\n]+/g,"").length;for(var i,o=0;i=t[o++];)n+=this.document.getElementsByTagName(i).length}return n},addInputRule:function(e){this.inputRules.push(e)},filterInputRule:function(e){for(var t,n=0;t=this.inputRules[n++];)t.call(this,e)},addOutputRule:function(e){this.outputRules.push(e)},filterOutputRule:function(e){for(var t,n=0;t=this.outputRules[n++];)t.call(this,e)},getActionUrl:function(e){var t=this.getOpt(e)||e,n=this.getOpt("imageUrl"),i=this.getOpt("serverUrl");return!i&&n&&(i=n.replace(/^(.*[\/]).+([\.].+)$/,"$1controller$2")),i?(i=i+(-1==i.indexOf("?")?"?":"&")+"action="+(t||""),utils.formatUrl(i)):""}},utils.inherits(o,EventBase)}(),UE.Editor.defaultOptions=function(e){var t=e.options.UEDITOR_HOME_URL;return{isShow:!0,initialContent:"",initialStyle:"",autoClearinitialContent:!1,iframeCssUrl:t+"themes/iframe.css",textarea:"editorValue",focus:!1,focusInEnd:!0,autoClearEmptyNode:!0,fullscreen:!1,readonly:!1,zIndex:999,imagePopup:!0,enterTag:"p",customDomain:!1,lang:"zh-cn",langPath:t+"lang/",theme:"default",themePath:t+"themes/",allHtmlEnabled:!1,scaleEnabled:!1,tableNativeEditInFF:!1,autoSyncData:!0,fileNameFormat:"{time}{rand:6}"}},function(){UE.Editor.prototype.loadServerConfig=function(){var me=this;function showErrorMsg(e){console&&console.error(e)}setTimeout(function(){try{me.options.imageUrl&&me.setOpt("serverUrl",me.options.imageUrl.replace(/^(.*[\/]).+([\.].+)$/,"$1controller$2"));var configUrl="/static/UE/ueditorconfig.json",isJsonp=utils.isCrossDomainUrl(configUrl);me._serverConfigLoaded=!1,configUrl&&UE.ajax.request(configUrl,{method:"get",dataType:isJsonp?"jsonp":"",onsuccess:function(r){try{var config=isJsonp?r:eval("("+r.responseText+")");utils.extend(me.options,config),me.fireEvent("serverConfigLoaded"),me._serverConfigLoaded=!0}catch(e){showErrorMsg(me.getLang("loadconfigFormatError"))}},onerror:function(){showErrorMsg(me.getLang("loadconfigHttpError"))}})}catch(e){showErrorMsg(me.getLang("loadconfigError"))}})},UE.Editor.prototype.isServerConfigLoaded=function(){return this._serverConfigLoaded||!1},UE.Editor.prototype.afterConfigReady=function(e){if(e&&utils.isFunction(e)){var t=this,n=function(){e.apply(t,arguments),t.removeListener("serverConfigLoaded",n)};t.isServerConfigLoaded()?e.call(t,"serverConfigLoaded"):t.addListener("serverConfigLoaded",n)}}}(),UE.ajax=function(){var e="XMLHttpRequest()";try{new ActiveXObject("Msxml2.XMLHTTP"),e="ActiveXObject('Msxml2.XMLHTTP')"}catch(t){try{new ActiveXObject("Microsoft.XMLHTTP"),e="ActiveXObject('Microsoft.XMLHTTP')"}catch(e){}}var t=new Function("return new "+e);function n(e){var t=[];for(var n in e)if("method"!=n&&"timeout"!=n&&"async"!=n&&"dataType"!=n&&"callback"!=n&&void 0!=e[n]&&null!=e[n])if("function"!=(typeof e[n]).toLowerCase()&&"object"!=(typeof e[n]).toLowerCase())t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));else if(utils.isArray(e[n]))for(var i=0;i<e[n].length;i++)t.push(encodeURIComponent(n)+"[]="+encodeURIComponent(e[n][i]));return t.join("&")}function i(e,t){var i,o,a,r=t.onsuccess||function(){},s=document.createElement("SCRIPT"),l=t||{},d=l.charset,c=l.jsonp||"callback",u=l.timeOut||0,m=new RegExp("(\\?|&)"+c+"=([^&]*)");utils.isFunction(r)?(i="bd__editor__"+Math.floor(2147483648*Math.random()).toString(36),window[i]=h(0)):utils.isString(r)?
12i=r:(a=m.exec(e))&&(i=a[2]),(e=e.replace(m,"$1"+c+"="+i)).search(m)<0&&(e+=(e.indexOf("?")<0?"?":"&")+c+"="+i);var p=n(t);function h(e){return function(){try{if(e)l.onerror&&l.onerror();else try{clearTimeout(o),r.apply(window,arguments)}catch(e){}}catch(e){l.onerror&&l.onerror.call(window,e)}finally{l.oncomplete&&l.oncomplete.apply(window,arguments),s.parentNode&&s.parentNode.removeChild(s),window[i]=null;try{delete window[i]}catch(e){}}}}utils.isEmptyObject(t.data)||(p+=(p?"&":"")+n(t.data)),p&&(e=e.replace(/\?/,"?"+p+"&")),s.onerror=h(1),u&&(o=setTimeout(h(1),u)),function(e,t,n){e.setAttribute("type","text/javascript"),e.setAttribute("defer","defer"),n&&e.setAttribute("charset",n),e.setAttribute("src",t),document.getElementsByTagName("head")[0].appendChild(e)}(s,e,d)}return{request:function(e,o){o&&"jsonp"==o.dataType?i(e,o):function(e,i){var o=t(),a=!1,r={method:"POST",timeout:5e3,async:!0,data:{},onsuccess:function(){},onerror:function(){}};if("object"==typeof e&&(e=(i=e).url),o&&e){var s=i?utils.extend(r,i):r,l=n(s);utils.isEmptyObject(s.data)||(l+=(l?"&":"")+n(s.data));var d=setTimeout(function(){4!=o.readyState&&(a=!0,o.abort(),clearTimeout(d))},s.timeout),c=s.method.toUpperCase(),u=e;if(o.open(c,u,s.async),o.onreadystatechange=function(){4==o.readyState&&(a||200!=o.status?s.onerror(o):s.onsuccess(o))},"POST"==c){function m(e){var t,n=new RegExp("(^| )"+e+"=([^;]*)(;|$)");return(t=document.cookie.match(n))?unescape(t[2]):null}o.setRequestHeader("Accept","application/json, text/plain, */*"),o.setRequestHeader("Authorization",m("hkh-Token")),o.setRequestHeader("secret","ViEL1JR+FvKr8Vbo/Dq8v69VoigfFGZ5XgREL5ymi6TnWgGOT7Aw9P4my1vEcPWo6a0Vrgt97oif0QBVRMrSlGKQGQA6CWfcPoYARP8nNYjqrLtae/3qNKNRZP4Oam282VDcB5sCZbsPOJgYSCz9xAZLihERBCnel/mE7sE6ciQ="),o.setRequestHeader("autograph","12345678")}else{function m(e){var t,n=new RegExp("(^| )"+e+"=([^;]*)(;|$)");return(t=document.cookie.match(n))?unescape(t[2]):null}o.setRequestHeader("Authorization",m("hkh-Token")),o.send(null)}}}(e,o)},getJSONP:function(e,t,n){i(e,{data:t,oncomplete:n})}}}();var filterWord=UE.filterWord=function(){function e(e){return e=e.replace(/[\d.]+\w+/g,function(e){return utils.transUnitToPx(e)})}return function(t){return function(e){return/(class="?Mso|style="[^"]*\bmso\-|w:WordDocument|<(v|o):|lang=)/gi.test(e)}(t)?function(t){return t.replace(/[\t\r\n]+/g," ").replace(/<!--[\s\S]*?-->/gi,"").replace(/<v:shape [^>]*>[\s\S]*?.<\/v:shape>/gi,function(t){if(browser.opera)return"";try{if(/Bitmap/i.test(t))return"";var n=t.match(/width:([ \d.]*p[tx])/i)[1],i=t.match(/height:([ \d.]*p[tx])/i)[1],o=t.match(/src=\s*"([^"]*)"/i)[1];return'<img width="'+e(n)+'" height="'+e(i)+'" src="'+o+'" />'}catch(e){return""}}).replace(/<\/?div[^>]*>/g,"").replace(/v:\w+=(["']?)[^'"]+\1/g,"").replace(/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|xml|meta|link|style|\w+:\w+)(?=[\s\/>]))[^>]*>/gi,"").replace(/<p [^>]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi,"<p><strong>$1</strong></p>").replace(/\s+(class|lang|align)\s*=\s*(['"]?)([\w-]+)\2/gi,function(e,t,n,i){return"class"==t&&"MsoListParagraph"==i?e:""}).replace(/<(font|span)[^>]*>(\s*)<\/\1>/gi,function(e,t,n){return n.replace(/[\t\r\n ]+/g," ")}).replace(/(<[a-z][^>]*)\sstyle=(["'])([^\2]*?)\2/gi,function(t,n,i,o){for(var a,r=[],s=o.replace(/^\s+|\s+$/,"").replace(/&#39;/g,"'").replace(/&quot;/gi,"'").replace(/[\d.]+(cm|pt)/g,function(e){return utils.transUnitToPx(e)}).split(/;\s*/g),l=0;a=s[l];l++){var d,c,u=a.split(":");if(2==u.length){if(d=u[0].toLowerCase(),c=u[1].toLowerCase(),/^(background)\w*/.test(d)&&0==c.replace(/(initial|\s)/g,"").length||/^(margin)\w*/.test(d)&&/^0\w+$/.test(c))continue;switch(d){case"mso-padding-alt":case"mso-padding-top-alt":case"mso-padding-right-alt":case"mso-padding-bottom-alt":case"mso-padding-left-alt":case"mso-margin-alt":case"mso-margin-top-alt":case"mso-margin-right-alt":case"mso-margin-bottom-alt":case"mso-margin-left-alt":case"mso-height":case"mso-width":case"mso-vertical-align-alt":/<table/.test(n)||(r[l]=d.replace(/^mso-|-alt$/g,"")+":"+e(c));continue;case"horiz-align":r[l]="text-align:"+c;continue;case"vert-align":r[l]="vertical-align:"+c;continue;case"font-color":case"mso-foreground":r[l]="color:"+c;continue;case"mso-background":case"mso-highlight":r[l]="background:"+c;continue;case"mso-default-height":r[l]="min-height:"+e(c);continue;case"mso-default-width":r[l]="min-width:"+e(c);continue;
12case"mso-padding-between-alt":r[l]="border-collapse:separate;border-spacing:"+e(c);continue;case"text-line-through":"single"!=c&&"double"!=c||(r[l]="text-decoration:line-through");continue;case"mso-zero-height":"yes"==c&&(r[l]="display:none");continue;case"margin":if(!/[1-9]/.test(c))continue}if(/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?:decor|trans)|top-bar|version|vnd|word-break)/.test(d)||/text\-indent|padding|margin/.test(d)&&/\-[\d.]+/.test(c))continue;r[l]=d+":"+u[1]}}return n+(r.length?' style="'+r.join(";").replace(/;{2,}/g,";")+'"':"")})}(t):t}}();!function(){var e=UE.uNode=function(e){this.type=e.type,this.data=e.data,this.tagName=e.tagName,this.parentNode=e.parentNode,this.attrs=e.attrs||{},this.children=e.children},t={href:1,src:1,_src:1,_href:1,cdata_data:1},n={style:1,script:1},i="    ",o="\n";function a(e,t,n){return e.push(o),t+(n?1:-1)}function r(e,t){for(var n=0;n<t;n++)e.push(i)}function s(e,i,o,l){switch(e.type){case"root":for(var d,c=0;d=e.children[c++];)o&&"element"==d.type&&!dtd.$inlineWithA[d.tagName]&&c>1&&(a(i,l,!0),r(i,l)),s(d,i,o,l);break;case"text":!function(e,t){"pre"==e.parentNode.tagName?t.push(e.data):t.push(n[e.parentNode.tagName]?utils.html(e.data):e.data.replace(/[ ]{2}/g," &nbsp;"))}(e,i);break;case"element":!function(e,n,i,o){var l="";if(e.attrs){l=[];var d=e.attrs;for(var c in d)l.push(c+(void 0!==d[c]?'="'+(t[c]?utils.html(d[c]).replace(/["]/g,function(e){return"&quot;"}):utils.unhtml(d[c]))+'"':""));l=l.join(" ")}n.push("<"+e.tagName+(l?" "+l:"")+(dtd.$empty[e.tagName]?"/":"")+">"),i&&!dtd.$inlineWithA[e.tagName]&&"pre"!=e.tagName&&e.children&&e.children.length&&(o=a(n,o,!0),r(n,o));if(e.children&&e.children.length)for(var u,m=0;u=e.children[m++];)i&&"element"==u.type&&!dtd.$inlineWithA[u.tagName]&&m>1&&(a(n,o),r(n,o)),s(u,n,i,o);dtd.$empty[e.tagName]||(i&&!dtd.$inlineWithA[e.tagName]&&"pre"!=e.tagName&&e.children&&e.children.length&&(o=a(n,o),r(n,o)),n.push("</"+e.tagName+">"))}(e,i,o,l);break;case"comment":!function(e,t){t.push("\x3c!--"+e.data+"--\x3e")}(e,i)}return i}function l(e,t){var n;if("element"==e.type&&e.getAttr("id")==t)return e;if(e.children&&e.children.length)for(var i,o=0;i=e.children[o++];)if(n=l(i,t))return n}function d(e,t,n){if("element"==e.type&&e.tagName==t&&n.push(e),e.children&&e.children.length)for(var i,o=0;i=e.children[o++];)d(i,t,n)}e.createElement=function(t){return/[<>]/.test(t)?UE.htmlparser(t).children[0]:new e({type:"element",children:[],tagName:t})},e.createText=function(e,t){return new UE.uNode({type:"text",data:t?e:utils.unhtml(e||"")})},e.prototype={toHtml:function(e){var t=[];return s(this,t,e,0),t.join("")},innerHTML:function(e){if("element"!=this.type||dtd.$empty[this.tagName])return this;if(utils.isString(e)){if(this.children)for(var t=0;n=this.children[t++];)n.parentNode=null;this.children=[];var n,i=UE.htmlparser(e);for(t=0;n=i.children[t++];)this.children.push(n),n.parentNode=this;return this}return(i=new UE.uNode({type:"root",children:this.children})).toHtml()},innerText:function(t,n){if("element"!=this.type||dtd.$empty[this.tagName])return this;if(t){if(this.children)for(var i,o=0;i=this.children[o++];)i.parentNode=null;return this.children=[],this.appendChild(e.createText(t,n)),this}return this.toHtml().replace(/<[^>]+>/g,"")},getData:function(){return"element"==this.type?"":this.data},firstChild:function(){return this.children?this.children[0]:null},lastChild:function(){return this.children?this.children[this.children.length-1]:null},previousSibling:function(){for(var e,t=this.parentNode,n=0;e=t.children[n];n++)if(e===this)return 0==n?null:t.children[n-1]},nextSibling:function(){for(var e,t=this.parentNode,n=0;e=t.children[n++];)if(e===this)return t.children[n]},replaceChild:function(e,t){if(this.children){e.parentNode&&e.parentNode.removeChild(e);for(var n,i=0;n=this.children[i];i++)if(n===t)return this.children.splice(i,1,e),t.parentNode=null,e.parentNode=this,e}},appendChild:function(e){if("root"==this.type||"element"==this.type&&!dtd.$empty[this.tagName]){this.children||(this.children=[]),e.parentNode&&e.parentNode.removeChild(e);for(var t,n=0;t=this.children[n];n++)if(t===e){this.children.splice(n,1);break}return this.children.push(e),e.parentNode=this,e}},insertBefore:function(e,t){if(this.children){e.parentNode&&e.parentNode.removeChild(e);for(var n,i=0;n=this.children[i];i++)if(n===t)return this.children.splice(i,0,e),e.parentNode=this,e}},insertAfter:function(e,t){if(this.children){e.parentNode&&e.parentNode.removeChild(e);for(var n,i=0;n=this.children[i];i++)if(n===t)return this.children.splice(i+1,0,e),e.parentNode=this,e}},removeChild:function(e,t){if(this.children)for(var n,i=0;n=this.children[i];i++)if(n===e){if(this.children.splice(i,1),n.parentNode=null,t&&n.children&&n.children.length)for(var o,a=0;o=n.children[a];a++)this.children.splice(i+a,0,o),o.parentNode=this;return n}},getAttr:function(e){return this.attrs&&this.attrs[e.toLowerCase()]},setAttr:function(e,t){if(e)if(this.attrs||(this.attrs={}),utils.isObject(e))for(var n in e)e[n]?this.attrs[n.toLowerCase()]=e[n]:delete this.attrs[n];else t?this.attrs[e.toLowerCase()]=t:delete this.attrs[e];else delete this.attrs},getIndex:function(){for(var e,t=this.parentNode,n=0;e=t.children[n];n++)if(e===this)return n;return-1},getNodeById:function(e){var t;if(this.children&&this.children.length)for(var n,i=0;n=this.children[i++];)if(t=l(n,e))return t},getNodesByTagName:function(e){e=utils.trim(e).replace(/[ ]{2,}/g," ").split(" ");var t=[],n=this;return utils.each(e,function(e){if(n.children&&n.children.length)for(var i,o=0;i=n.children[o++];)d(i,e,t)}),t}
12,getStyle:function(e){var t=this.getAttr("style");if(!t)return"";var n=new RegExp("(^|;)\\s*"+e+":([^;]+)","i"),i=t.match(n);return i&&i[0]?i[2]:""},setStyle:function(e,t){function n(e,t){var n=new RegExp("(^|;)\\s*"+e+":([^;]+;?)","gi");i=i.replace(n,"$1"),t&&(i=e+":"+utils.unhtml(t)+";"+i)}var i=this.getAttr("style");if(i||(i=""),utils.isObject(e))for(var o in e)n(o,e[o]);else n(e,t);this.setAttr("style",utils.trim(i))},traversal:function(e){return this.children&&this.children.length&&function e(t,n){if(t.children&&t.children.length)for(var i,o=0;i=t.children[o];)e(i,n),i.parentNode&&(i.children&&i.children.length&&n(i),i.parentNode&&o++);else n(t)}(this,e),this}}}();var htmlparser=UE.htmlparser=function(e,t){var n=/<(?:(?:\/([^>]+)>)|(?:!--([\S|\s]*?)-->)|(?:([^\s\/<>]+)\s*((?:(?:"[^"]*")|(?:'[^']*')|[^"'<>])*)\/?>))/g,i=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,o={b:1,code:1,i:1,u:1,strike:1,s:1,tt:1,strong:1,q:1,samp:1,em:1,span:1,sub:1,img:1,sup:1,font:1,big:1,small:1,iframe:1,a:1,br:1,pre:1};e=e.replace(new RegExp(domUtils.fillChar,"g"),""),t||(e=e.replace(new RegExp("[\\r\\t\\n"+(t?"":" ")+"]*</?(\\w+)\\s*(?:[^>]*)>[\\r\\t\\n"+(t?"":" ")+"]*","g"),function(e,n){return n&&o[n.toLowerCase()]?e.replace(/(^[\n\r]+)|([\n\r]+$)/g,""):e.replace(new RegExp("^[\\r\\n"+(t?"":" ")+"]+"),"").replace(new RegExp("[\\r\\n"+(t?"":" ")+"]+$"),"")}));var a={href:1,src:1},r=UE.uNode,s={td:"tr",tr:["tbody","thead","tfoot"],tbody:"table",th:"tr",thead:"table",tfoot:"table",caption:"table",li:["ul","ol"],dt:"dl",dd:"dl",option:"select"},l={ol:"li",ul:"li"};function d(e,t){if(l[e.tagName]){var n=r.createElement(l[e.tagName]);e.appendChild(n),n.appendChild(r.createText(t)),e=n}else e.appendChild(r.createText(t))}function c(e,t,n){var o;if(o=s[t]){for(var l,d=e;"root"!=d.type;){if(utils.isArray(o)?-1!=utils.indexOf(o,d.tagName):o==d.tagName){e=d,l=!0;break}d=d.parentNode}l||(e=c(e,utils.isArray(o)?o[0]:o))}var u=new r({parentNode:e,type:"element",tagName:t.toLowerCase(),children:dtd.$empty[t]?null:[]});if(n){for(var m,p={};m=i.exec(n);)p[m[1].toLowerCase()]=a[m[1].toLowerCase()]?m[2]||m[3]||m[4]:utils.unhtml(m[2]||m[3]||m[4]);u.attrs=p}return e.children.push(u),dtd.$empty[t]?e:u}function u(e,t){e.children.push(new r({type:"comment",data:t,parentNode:e}))}for(var m,p=0,h=0,g=new r({type:"root",children:[]}),f=g;m=n.exec(e);){p=m.index;try{if(p>h&&d(f,e.slice(h,p)),m[3])dtd.$cdata[f.tagName]?d(f,m[0]):f=c(f,m[3].toLowerCase(),m[4]);else if(m[1]){if("root"!=f.type)if(dtd.$cdata[f.tagName]&&!dtd.$cdata[m[1]])d(f,m[0]);else{for(var v=f;"element"==f.type&&f.tagName!=m[1].toLowerCase();)if("root"==(f=f.parentNode).type)throw f=v,"break";f=f.parentNode}}else m[2]&&u(f,m[2])}catch(e){}h=n.lastIndex}return h<e.length&&d(f,e.slice(h)),g},filterNode=UE.filterNode=function(){function e(t,n){switch(t.type){case"text":break;case"element":var i;if(i=n[t.tagName])if("-"===i)t.parentNode.removeChild(t);else if(utils.isFunction(i)){var o=t.parentNode,a=t.getIndex();if(i(t),t.parentNode){if(t.children)for(var r=0;m=t.children[r];)e(m,n),m.parentNode&&r++}else for(r=a;m=o.children[r];)e(m,n),m.parentNode&&r++}else{var s=i.$;if(s&&t.attrs){var l,d={};for(var c in s){if(l=t.getAttr(c),"style"==c&&utils.isArray(s[c])){var u=[];utils.each(s[c],function(e){var n;(n=t.getStyle(e))&&u.push(e+":"+n)}),l=u.join(";")}l&&(d[c]=l)}t.attrs=d}if(t.children)for(r=0;m=t.children[r];)e(m,n),m.parentNode&&r++}else if(dtd.$cdata[t.tagName])t.parentNode.removeChild(t);else{o=t.parentNode,a=t.getIndex();t.parentNode.removeChild(t,!0);var m;for(r=a;m=o.children[r];)e(m,n),m.parentNode&&r++}break;case"comment":t.parentNode.removeChild(t)}}return function(t,n){if(utils.isEmptyObject(n))return t;var i;(i=n["-"])&&utils.each(i.split(" "),function(e){n[e]="-"});for(var o,a=0;o=t.children[a];)e(o,n),o.parentNode&&a++;return t}}();UE.plugin=function(){var e={};return{register:function(t,n,i,o){i&&utils.isFunction(i)&&(o=i,i=null),e[t]={optionName:i||t,execFn:n,afterDisabled:o}},load:function(t){utils.each(e,function(e){var n=e.execFn.call(t);!1!==t.options[e.optionName]?n&&utils.each(n,function(e,n){switch(n.toLowerCase()){case"shortcutkey":t.addshortcutkey(e);break;case"bindevents":utils.each(e,function(e,n){t.addListener(n,e)});break;case"bindmultievents":utils.each(utils.isArray(e)?e:[e],function(e){var n=utils.trim(e.type).split(/\s+/);utils.each(n,function(n){t.addListener(n,e.handler)})});break;case"commands":utils.each(e,function(e,n){t.commands[n]=e});break;case"outputrule":t.addOutputRule(e);break;case"inputrule":t.addInputRule(e);break;case"defaultoptions":t.setOpt(e)}}):e.afterDisabled&&e.afterDisabled.call(t)}),utils.each(UE.plugins,function(e){e.call(t)})},run:function(t,n){var i=e[t];i&&i.exeFn.call(n)}}}();var keymap=UE.keymap={Backspace:8,Tab:9,Enter:13,Shift:16,Control:17,Alt:18,CapsLock:20,Esc:27,Spacebar:32,PageUp:33,PageDown:34,End:35,Home:36,Left:37,Up:38,Right:39,Down:40,Insert:45,Del:46,NumLock:144,Cmd:91,"=":187,"-":189,b:66,i:73,z:90,y:89,v:86,x:88,s:83,n:78},LocalStorage=UE.LocalStorage=function(){var e=window.localStorage||function(){var e=document.createElement("div");if(e.style.display="none",!e.addBehavior)return null;return e.addBehavior("#default#userdata"),{getItem:function(n){var i=null;try{document.body.appendChild(e),e.load(t),i=e.getAttribute(n),document.body.removeChild(e)}catch(e){}return i},setItem:function(n,i){document.body.appendChild(e),e.setAttribute(n,i),e.save(t),document.body.removeChild(e)},removeItem:function(n){document.body.appendChild(e),e.removeAttribute(n),e.save(t),document.body.removeChild(e)}}}()||null,t="localStorage";return{saveLocalData:function(t,n){return!(!e||!n)&&(e.setItem(t,n),!0)},getLocalData:function(t){return e?e.getItem(t):null},removeItem:function(t){e&&e.removeItem(t)}}}();!function(){var e="ueditor_preference";UE.Editor.prototype.setPreferences=function(t,n){var i={};utils.isString(t)?i[t]=n:i=t;var o=LocalStorage.getLocalData(e);o&&(o=utils.str2json(o))?utils.extend(o,i):o=i,o&&LocalStorage.saveLocalData(e,utils.json2str(o))},UE.Editor.prototype.getPreferences=function(t){var n=LocalStorage.getLocalData(e);return n&&(n=utils.str2json(n))?t?n[t]:n:null},UE.Editor.prototype.removePreferences=function(t){var n=LocalStorage.getLocalData(e);n&&(n=utils.str2json(n))&&(n[t]=void 0,delete n[t]),n&&LocalStorage.saveLocalData(e,utils.json2str(n))}}(),UE.plugins.defaultfilter=function(){var e=this;e.setOpt({allowDivTransToP:!0,disabledTableInTable:!0}),e.addInputRule(function(t){var n,i=this.options.allowDivTransToP;t.traversal(function(t){if("element"==t.type){if(!dtd.$cdata[t.tagName]&&e.options.autoClearEmptyNode&&dtd.$inline[t.tagName]&&!dtd.$empty[t.tagName]&&(!t.attrs||utils.isEmptyObject(t.attrs)))return void(t.firstChild()?"span"!=t.tagName||t.attrs&&!utils.isEmptyObject(t.attrs)||t.parentNode.removeChild(t,!0):t.parentNode.removeChild(t));switch(t.tagName){case"style":case"script":t.setAttr({cdata_tag:t.tagName,cdata_data:t.innerHTML()||"",_ue_custom_node_:"true"}),t.tagName="div",t.innerHTML("");break;case"a":(n=t.getAttr("href"))&&t.setAttr("_href",n);break;case"span":browser.webkit&&(n=t.getStyle("white-space"))&&/nowrap|normal/.test(n)&&(t.setStyle("white-space",""),e.options.autoClearEmptyNode&&utils.isEmptyObject(t.attrs)&&t.parentNode.removeChild(t,!0)),(n=t.getAttr("id"))&&/^_baidu_bookmark_/i.test(n)&&t.parentNode.removeChild(t);break;case"p":(n=t.getAttr("align"))&&(t.setAttr("align"),t.setStyle("text-align",n)),utils.each(t.children,function(e){if("element"==e.type&&"p"==e.tagName){var n=e.nextSibling();t.parentNode.insertAfter(e,t);for(var i=e;n;){var o=n.nextSibling();t.parentNode.insertAfter(n,i),i=n,n=o}return!1}}),t.firstChild()||t.innerHTML(browser.ie?"&nbsp;":"<br/>");break;case"div":if(t.getAttr("cdata_tag"))break;if((n=t.getAttr("class"))&&/^line number\d+/.test(n))break;if(!i)break;for(var o,a=UE.uNode.createElement("p");o=t.firstChild();)"text"!=o.type&&UE.dom.dtd.$block[o.tagName]?a.firstChild()?(t.parentNode.insertBefore(a,t),a=UE.uNode.createElement("p")):t.parentNode.insertBefore(o,t):a.appendChild(o);a.firstChild()&&t.parentNode.insertBefore(a,t),t.parentNode.removeChild(t);break;
12case"dl":t.tagName="ul";break;case"dt":case"dd":t.tagName="li";break;case"li":var r=t.getAttr("class");r&&/list\-/.test(r)||t.setAttr();var s=t.getNodesByTagName("ol ul");UE.utils.each(s,function(e){t.parentNode.insertAfter(e,t)});break;case"td":case"th":case"caption":t.children&&t.children.length||t.appendChild(browser.ie11below?UE.uNode.createText(" "):UE.uNode.createElement("br"));break;case"table":e.options.disabledTableInTable&&function(e){for(;e&&"element"==e.type;){if("td"==e.tagName)return!0;e=e.parentNode}return!1}(t)&&(t.parentNode.insertBefore(UE.uNode.createText(t.innerText()),t),t.parentNode.removeChild(t))}}})}),e.addOutputRule(function(t){var n;t.traversal(function(t){if("element"==t.type){if(e.options.autoClearEmptyNode&&dtd.$inline[t.tagName]&&!dtd.$empty[t.tagName]&&(!t.attrs||utils.isEmptyObject(t.attrs)))return void(t.firstChild()?"span"!=t.tagName||t.attrs&&!utils.isEmptyObject(t.attrs)||t.parentNode.removeChild(t,!0):t.parentNode.removeChild(t));switch(t.tagName){case"div":(n=t.getAttr("cdata_tag"))&&(t.tagName=n,t.appendChild(UE.uNode.createText(t.getAttr("cdata_data"))),t.setAttr({cdata_tag:"",cdata_data:"",_ue_custom_node_:""}));break;case"a":(n=t.getAttr("_href"))&&t.setAttr({href:utils.html(n),_href:""});break;case"span":(n=t.getAttr("id"))&&/^_baidu_bookmark_/i.test(n)&&t.parentNode.removeChild(t);break;case"img":(n=t.getAttr("_src"))&&t.setAttr({src:t.getAttr("_src"),_src:""})}}})})},UE.commands.inserthtml={execCommand:function(e,t,n){var i,o,a=this;if(t&&!0!==a.fireEvent("beforeinserthtml",t)){if((o=(i=a.selection.getRange()).document.createElement("div")).style.display="inline",!n){var r=UE.htmlparser(t);a.options.filterRules&&UE.filterNode(r,a.options.filterRules),a.filterInputRule(r),t=r.toHtml()}if(o.innerHTML=utils.trim(t),!i.collapsed){var s=i.startContainer;if(domUtils.isFillChar(s)&&i.setStartBefore(s),s=i.endContainer,domUtils.isFillChar(s)&&i.setEndAfter(s),i.txtToElmBoundary(),i.endContainer&&1==i.endContainer.nodeType&&(s=i.endContainer.childNodes[i.endOffset])&&domUtils.isBr(s)&&i.setEndAfter(s),0==i.startOffset&&(s=i.startContainer,domUtils.isBoundaryNode(s,"firstChild")&&(s=i.endContainer,i.endOffset==(3==s.nodeType?s.nodeValue.length:s.childNodes.length)&&domUtils.isBoundaryNode(s,"lastChild")&&(a.body.innerHTML="<p>"+(browser.ie?"":"<br/>")+"</p>",i.setStart(a.body.firstChild,0).collapse(!0)))),!i.collapsed&&i.deleteContents(),1==i.startContainer.nodeType)if((l=i.startContainer.childNodes[i.startOffset])&&domUtils.isBlockElm(l)&&(v=l.previousSibling)&&domUtils.isBlockElm(v)){for(i.setEnd(v,v.childNodes.length).collapse();l.firstChild;)v.appendChild(l.firstChild);domUtils.remove(l)}}var l,d,c,u,m=0;i.inFillChar()&&(l=i.startContainer,domUtils.isFillChar(l)?(i.setStartBefore(l).collapse(!0),domUtils.remove(l)):domUtils.isFillChar(l,!0)&&(l.nodeValue=l.nodeValue.replace(fillCharReg,""),i.startOffset--,i.collapsed&&i.collapse(!0)));var p=domUtils.findParentByTagName(i.startContainer,"li",!0);if(p){for(var h;l=o.firstChild;){for(;l&&(3==l.nodeType||!domUtils.isBlockElm(l)||"HR"==l.tagName);)b=l.nextSibling,i.insertNode(l).collapse(),h=l,l=b;if(l)if(/^(ol|ul)$/i.test(l.tagName)){for(;l.firstChild;)h=l.firstChild,domUtils.insertAfter(p,l.firstChild),p=p.nextSibling;domUtils.remove(l)}else{var g;b=l.nextSibling,g=a.document.createElement("li"),domUtils.insertAfter(p,g),g.appendChild(l),h=l,l=b,p=g}}p=domUtils.findParentByTagName(i.startContainer,"li",!0),domUtils.isEmptyBlock(p)&&domUtils.remove(p),h&&i.setStartAfter(h).collapse(!0).select(!0)}else{for(;l=o.firstChild;){if(m){for(var f=a.document.createElement("p");l&&(3==l.nodeType||!dtd.$block[l.tagName]);)u=l.nextSibling,f.appendChild(l),l=u;f.firstChild&&(l=f)}if(i.insertNode(l),u=l.nextSibling,!m&&l.nodeType==domUtils.NODE_ELEMENT&&domUtils.isBlockElm(l)&&(d=domUtils.findParent(l,function(e){return domUtils.isBlockElm(e)}))&&"body"!=d.tagName.toLowerCase()&&(!dtd[d.tagName][l.nodeName]||l.parentNode!==d)){if(dtd[d.tagName][l.nodeName])for(c=l.parentNode;c!==d;)v=c,c=c.parentNode;else v=d;domUtils.breakParent(l,v||c);var v=l.previousSibling;domUtils.trimWhiteTextNode(v),v.childNodes.length||domUtils.remove(v),!browser.ie&&(b=l.nextSibling)&&domUtils.isBlockElm(b)&&b.lastChild&&!
12domUtils.isBr(b.lastChild)&&b.appendChild(a.document.createElement("br")),m=1}var b=l.nextSibling;if(!o.firstChild&&b&&domUtils.isBlockElm(b)){i.setStart(b,0).collapse(!0);break}i.setEndAfter(l).collapse()}if(l=i.startContainer,u&&domUtils.isBr(u)&&domUtils.remove(u),domUtils.isBlockElm(l)&&domUtils.isEmptyNode(l))if(u=l.nextSibling)domUtils.remove(l),1==u.nodeType&&dtd.$block[u.tagName]&&i.setStart(u,0).collapse(!0).shrinkBoundary();else try{l.innerHTML=browser.ie?domUtils.fillChar:"<br/>"}catch(e){i.setStartBefore(l),domUtils.remove(l)}try{i.select(!0)}catch(e){}}setTimeout(function(){(i=a.selection.getRange()).scrollToView(a.autoHeightEnabled,a.autoHeightEnabled?domUtils.getXY(a.iframe).y:0),a.fireEvent("afterinserthtml",t)},200)}}},UE.plugins.autotypeset=function(){this.setOpt({autotypeset:{mergeEmptyline:!0,removeClass:!0,removeEmptyline:!1,textAlign:"left",imageBlockLine:"center",pasteFilter:!1,clearFontSize:!1,clearFontFamily:!1,removeEmptyNode:!1,removeTagNames:utils.extend({div:1},dtd.$removeEmpty),indent:!1,indentValue:"2em",bdc2sb:!1,tobdc:!1}});var e,t=this,n=t.options.autotypeset,i={selectTdClass:1,pagebreak:1,anchorclass:1},o={li:1},a={div:1,p:1,blockquote:1,center:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,span:1};function r(t,n){return t&&3!=t.nodeType?domUtils.isBr(t)?1:t&&t.parentNode&&a[t.tagName.toLowerCase()]?e&&e.contains(t)||t.getAttribute("pagebreak")?0:n?!domUtils.isEmptyBlock(t):domUtils.isEmptyBlock(t,new RegExp("[\\s"+domUtils.fillChar+"]","g")):void 0:0}function s(e){e.style.cssText||(domUtils.removeAttributes(e,["style"]),"span"==e.tagName.toLowerCase()&&domUtils.hasNoAttributes(e)&&domUtils.remove(e,!0))}function l(t,a){var l,d=this;if(a){if(!n.pasteFilter)return;(l=d.document.createElement("div")).innerHTML=a.html}else l=d.document.body;for(var c,u,m=domUtils.getElementsByTagName(l,"*"),p=0;c=m[p++];)if(!0!==d.fireEvent("excludeNodeinautotype",c)){if(n.clearFontSize&&c.style.fontSize&&(domUtils.removeStyle(c,"font-size"),s(c)),n.clearFontFamily&&c.style.fontFamily&&(domUtils.removeStyle(c,"font-family"),s(c)),r(c)){if(n.mergeEmptyline)for(var h=c.nextSibling,g=domUtils.isBr(c);r(h)&&(h=(v=h).nextSibling,!g||h&&(!h||domUtils.isBr(h)));)domUtils.remove(v);if(n.removeEmptyline&&domUtils.inDoc(c,l)&&!o[c.parentNode.tagName.toLowerCase()]){if(domUtils.isBr(c)&&(h=c.nextSibling)&&!domUtils.isBr(h))continue;domUtils.remove(c);continue}}if(r(c,!0)&&"SPAN"!=c.tagName&&(n.indent&&(c.style.textIndent=n.indentValue),n.textAlign&&(c.style.textAlign=n.textAlign)),n.removeClass&&c.className&&!i[c.className.toLowerCase()]){if(e&&e.contains(c))continue;domUtils.removeAttributes(c,["class"])}if(n.imageBlockLine&&"img"==c.tagName.toLowerCase()&&!c.getAttribute("emotion"))if(a){var f=c;switch(n.imageBlockLine){case"left":case"right":case"none":for(var v,b,y=f.parentNode;dtd.$inline[y.tagName]||"A"==y.tagName;)y=y.parentNode;if("P"==(v=y).tagName&&"center"==domUtils.getStyle(v,"text-align")&&!domUtils.isBody(v)&&1==domUtils.getChildCount(v,function(e){return!domUtils.isBr(e)&&!domUtils.isWhitespace(e)}))if(b=v.previousSibling,h=v.nextSibling,b&&h&&1==b.nodeType&&1==h.nodeType&&b.tagName==h.tagName&&domUtils.isBlockElm(b)){for(b.appendChild(v.firstChild);h.firstChild;)b.appendChild(h.firstChild);domUtils.remove(v),domUtils.remove(h)}else domUtils.setStyle(v,"text-align","");domUtils.setStyle(f,"float",n.imageBlockLine);break;case"center":if("center"!=d.queryCommandValue("imagefloat")){for(y=f.parentNode,domUtils.setStyle(f,"float","none"),v=f;y&&1==domUtils.getChildCount(y,function(e){return!domUtils.isBr(e)&&!domUtils.isWhitespace(e)})&&(dtd.$inline[y.tagName]||"A"==y.tagName);)v=y,y=y.parentNode;var w=d.document.createElement("p");domUtils.setAttributes(w,{style:"text-align:center"}),v.parentNode.insertBefore(w,v),w.appendChild(v),domUtils.setStyle(v,"float","")}}}else{d.selection.getRange().selectNode(c).select(),d.execCommand("imagefloat",n.imageBlockLine)}n.removeEmptyNode&&n.removeTagNames[c.tagName.toLowerCase()]&&domUtils.hasNoAttributes(c)&&domUtils.isEmptyBlock(c)&&domUtils.remove(c)}n.tobdc&&((u=UE.htmlparser(l.innerHTML)).traversal(function(e){"text"==e.type&&(e.data=function(e){e=utils.html(e);for(var t="",n=0;n<e.length;n++)32==e.charCodeAt(n)?t+=String.fromCharCode(12288):e.charCodeAt(n)<127?t+=String.fromCharCode(e.charCodeAt(n)+65248):t+=e.charAt(n);return t}(e.data))}),l.innerHTML=u.toHtml());n.bdc2sb&&((u=UE.htmlparser(l.innerHTML)).traversal(function(e){"text"==e.type&&(e.data=function(e){for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);t+=i>=65281&&i<=65373?String.fromCharCode(e.charCodeAt(n)-65248):12288==i?String.fromCharCode(e.charCodeAt(n)-12288+32):e.charAt(n)}return t}(e.data))}),l.innerHTML=u.toHtml());a&&(a.html=l.innerHTML)}n&&(!function(){var e=t.getPreferences("autotypeset");utils.extend(t.options.autotypeset,e)}(),n.pasteFilter&&t.addListener("beforepaste",l),t.commands.autotypeset={execCommand:function(){t.removeListener("beforepaste",l),n.pasteFilter&&t.addListener("beforepaste",l),l.call(t)}})},UE.plugin.register("autosubmit",function(){return{shortcutkey:{autosubmit:"ctrl+13"},commands:{autosubmit:{execCommand:function(){var e=domUtils.findParentByTagName(this.iframe,"form",!1);if(e){if(!1===this.fireEvent("beforesubmit"))return;this.sync(),e.submit()}}}}}}),UE.plugin.register("background",function(){var e,t=this,n="editor_background",i=new RegExp("body[\\s]*\\{(.+)\\}","i");function o(e){var t={},n=e.split(";");return utils.each(n,function(e){var n=e.indexOf(":"),i=utils.trim(e.substr(0,n)).toLowerCase();i&&(t[i]=utils.trim(e.substr(n+1)||""))}),t}function a(e){if(e){var i=[];for(var o in e)e.hasOwnProperty(o)&&i.push(o+":"+e[o]+"; ");utils.cssRule(n,i.length?"body{"+i.join("")+"}":"",t.document)}else utils.cssRule(n,"",t.document)}var r=t.hasContents;return t.hasContents=function(){return!!t.queryCommandValue("background")||r.apply(t,arguments)},{bindEvents:{getAllHtml:function(e,n){var i=this.body,o=domUtils.getComputedStyle(i,"background-image"),a="";a=o.indexOf(t.options.imagePath)>0?o.substring(o.indexOf(t.options.imagePath),o.length-1).replace(/"|\(|\)/gi,""):"none"!=o?o.replace(/url\("?|"?\)/gi,""):"";var r='<style type="text/css">body{',s={"background-color":domUtils.getComputedStyle(i,"background-color")||"#ffffff","background-image":a?"url("+a+")":"","background-repeat":domUtils.getComputedStyle(i,"background-repeat")||"","background-position":browser.ie?domUtils.getComputedStyle(i,"background-position-x")+" "+domUtils.getComputedStyle(i,"background-position-y"):domUtils.getComputedStyle(i,"background-position"),height:domUtils.getComputedStyle(i,"height")};for(var l in s)s.hasOwnProperty(l)&&(r+=l+":"+s[l]+"; ");r+="}</style> ",n.push(r)},aftersetcontent:function(){0==e&&a()}},inputRule:function(t){e=!1,utils.each(t.getNodesByTagName("p"),function(t){var n=t.getAttr("data-background");n&&(e=!0,a(o(n)),t.parentNode.removeChild(t))})},outputRule:function(e){var t=(utils.cssRule(n,this.document)||"").replace(/[\n\r]+/g,"").match(i);t&&e.appendChild(UE.uNode.createElement('<p style="display:none;" data-background="'+utils.trim(t[1].replace(/"/g,"").replace(/[\s]+/g," "))+'"><br/></p>'))},commands:{background:{execCommand:function(e,t){a(t)},queryCommandValue:function(){var e=(utils.cssRule(n,this.document)||"").replace(/[\n\r]+/g,"").match(i);return e?o(e[1]):null},notNeedUndo:!0}}}}),UE.commands.imagefloat={execCommand:function(e,t){var n=this,i=n.selection.getRange();if(!i.collapsed){var o=i.getClosedNode();if(o&&"IMG"==o.tagName)switch(t){case"left":case"right":case"none":for(var a,r,s,l=o.parentNode;dtd.$inline[l.tagName]||"A"==l.tagName;)l=l.parentNode;if("P"==(a=l).tagName&&"center"==domUtils.getStyle(a,"text-align")){if(!domUtils.isBody(a)&&1==domUtils.getChildCount(a,function(e){return!domUtils.isBr(e)&&!domUtils.isWhitespace(e)}))if(r=a.previousSibling,s=a.nextSibling,r&&s&&1==r.nodeType&&1==s.nodeType&&r.tagName==s.tagName&&dom
12Utils.isBlockElm(r)){for(r.appendChild(a.firstChild);s.firstChild;)r.appendChild(s.firstChild);domUtils.remove(a),domUtils.remove(s)}else domUtils.setStyle(a,"text-align","");i.selectNode(o).select()}domUtils.setStyle(o,"float","none"==t?"":t),"none"==t&&domUtils.removeAttributes(o,"align");break;case"center":if("center"!=n.queryCommandValue("imagefloat")){for(l=o.parentNode,domUtils.setStyle(o,"float",""),domUtils.removeAttributes(o,"align"),a=o;l&&1==domUtils.getChildCount(l,function(e){return!domUtils.isBr(e)&&!domUtils.isWhitespace(e)})&&(dtd.$inline[l.tagName]||"A"==l.tagName);)a=l,l=l.parentNode;i.setStartBefore(a).setCursor(!1),(l=n.document.createElement("div")).appendChild(a),domUtils.setStyle(a,"float",""),n.execCommand("insertHtml",'<p id="_img_parent_tmp" style="text-align:center">'+l.innerHTML+"</p>"),(a=n.document.getElementById("_img_parent_tmp"))&&(a.removeAttribute("id"),a=a.firstChild,i.selectNode(a).select(),(s=a.parentNode.nextSibling)&&domUtils.isEmptyNode(s)&&domUtils.remove(s))}}}},queryCommandValue:function(){var e,t,n=this.selection.getRange();return n.collapsed?"none":(e=n.getClosedNode())&&1==e.nodeType&&"IMG"==e.tagName?("none"==(t=domUtils.getComputedStyle(e,"float")||e.getAttribute("align"))&&(t="center"==domUtils.getComputedStyle(e.parentNode,"text-align")?"center":t),{left:1,right:1,center:1}[t]?t:"none"):"none"},queryCommandState:function(){var e,t=this.selection.getRange();return t.collapsed?-1:(e=t.getClosedNode())&&1==e.nodeType&&"IMG"==e.tagName?0:-1}},UE.commands.insertimage={execCommand:function(e,t){if((t=utils.isArray(t)?t:[t]).length){var n=this,i=n.selection.getRange(),o=i.getClosedNode();if(!0!==n.fireEvent("beforeinsertimage",t)){if(!o||!/img/i.test(o.tagName)||"edui-faked-video"==o.className&&-1==o.className.indexOf("edui-upload-video")||o.getAttribute("word_img")){var a,r=[],s="";if(a=t[0],1==t.length)u(a),s='<img src="'+a.src+'" '+(a._src?' _src="'+a._src+'" ':"")+(a.width?'width="'+a.width+'" ':"")+(a.height?' height="'+a.height+'" ':"")+("left"==a.floatStyle||"right"==a.floatStyle?' style="float:'+a.floatStyle+';"':"")+(a.title&&""!=a.title?' title="'+a.title+'"':"")+(a.border&&"0"!=a.border?' border="'+a.border+'"':"")+(a.alt&&""!=a.alt?' alt="'+a.alt+'"':"")+(a.hspace&&"0"!=a.hspace?' hspace = "'+a.hspace+'"':"")+(a.vspace&&"0"!=a.vspace?' vspace = "'+a.vspace+'"':"")+"/>","center"==a.floatStyle&&(s='<p style="text-align: center">'+s+"</p>"),r.push(s);else for(var l=0;a=t[l++];)u(a),s="<p "+("center"==a.floatStyle?'style="text-align: center" ':"")+'><img src="'+a.src+'" '+(a.width?'width="'+a.width+'" ':"")+(a._src?' _src="'+a._src+'" ':"")+(a.height?' height="'+a.height+'" ':"")+' style="'+(a.floatStyle&&"center"!=a.floatStyle?"float:"+a.floatStyle+";":"")+(a.border||"")+'" '+(a.title?' title="'+a.title+'"':"")+" /></p>",r.push(s);n.execCommand("insertHtml",r.join(""))}else{var d=t.shift(),c=d.floatStyle;delete d.floatStyle,domUtils.setAttributes(o,d),n.execCommand("imagefloat",c),t.length>0&&(i.setStartAfter(o).setCursor(!1,!0),n.execCommand("insertimage",t))}n.fireEvent("afterinsertimage",t)}}function u(e){utils.each("width,height,border,hspace,vspace".split(","),function(t){e[t]&&(e[t]=parseInt(e[t],10)||0)}),utils.each("src,_src".split(","),function(t){e[t]&&(e[t]=utils.unhtmlForUrl(e[t]))}),utils.each("title,alt".split(","),function(t){e[t]&&(e[t]=utils.unhtml(e[t]))})}}},UE.plugins.justify=function(){var e=domUtils.isBlockElm,t={left:1,right:1,center:1,justify:1};UE.commands.justify={execCommand:function(t,n){var i,o=this.selection.getRange();return o.collapsed&&(i=this.document.createTextNode("p"),o.insertNode(i)),function(t,n){var i=t.createBookmark(),o=function(e){return 1==e.nodeType?"br"!=e.tagName.toLowerCase()&&!domUtils.isBookmarkNode(e):!domUtils.isWhitespace(e)};t.enlarge(!0);for(var a,r=t.createBookmark(),s=domUtils.getNextDomNode(r.start,!1,o),l=t.cloneRange();s&&!(domUtils.getPosition(s,r.end)&domUtils.POSITION_FOLLOWING);)if(3!=s.nodeType&&e(s))s=domUtils.getNextDomNode(s,!0,o);else{for(l.setStartBefore(s);s&&s!==r.end&&!e(s);)a=s,s=domUtils.getNextDomNode(s,!1,null,function(t){return!e(t)});l.setEndAfter(a);var d=l.getCommonAncestor();if(!domUtils.isBody(d)&&e(d))domUtils.setStyles(d,utils.isString(n)?{"text-align":n}:n),s=d;else{var c=t.document.createElement("p");domUtils.setStyles(c,utils.isString(n)?{"text-align":n}:n);var u=l.extractContents();
12c.appendChild(u),l.insertNode(c),s=c}s=domUtils.getNextDomNode(s,!1,o)}t.moveToBookmark(r).moveToBookmark(i)}(o,n),i&&(o.setStartBefore(i).collapse(!0),domUtils.remove(i)),o.select(),!0},queryCommandValue:function(){var e=this.selection.getStart(),n=domUtils.getComputedStyle(e,"text-align");return t[n]?n:"left"},queryCommandState:function(){var e=this.selection.getStart();return e&&domUtils.findParentByTagName(e,["td","th","caption"],!0)?-1:0}}},UE.plugins.font=function(){var e={forecolor:"color",backcolor:"background-color",fontsize:"font-size",fontfamily:"font-family",underline:"text-decoration",strikethrough:"text-decoration",fontborder:"border"},t={underline:1,strikethrough:1,fontborder:1},n={forecolor:"color",backcolor:"background-color",fontsize:"font-size",fontfamily:"font-family"};function i(e,t,i){var o,a=e.collapsed,r=e.createBookmark();if(a)for(o=r.start.parentNode;dtd.$inline[o.tagName];)o=o.parentNode;else o=domUtils.getCommonAncestor(r.start,r.end);utils.each(domUtils.getElementsByTagName(o,"span"),function(e){if(e.parentNode&&!domUtils.isBookmarkNode(e))if(/\s*border\s*:\s*none;?\s*/i.test(e.style.cssText))/^\s*border\s*:\s*none;?\s*$/.test(e.style.cssText)?domUtils.remove(e,!0):domUtils.removeStyle(e,"border");else{if(/border/i.test(e.style.cssText)&&"SPAN"==e.parentNode.tagName&&/border/i.test(e.parentNode.style.cssText)&&(e.style.cssText=e.style.cssText.replace(/border[^:]*:[^;]+;?/gi,"")),"fontborder"!=t||"none"!=i)for(var n=e.nextSibling;n&&1==n.nodeType&&"SPAN"==n.tagName;)if(domUtils.isBookmarkNode(n)&&"fontborder"==t)e.appendChild(n),n=e.nextSibling;else{if(n.style.cssText==e.style.cssText&&(domUtils.moveChild(n,e),domUtils.remove(n)),e.nextSibling===n)break;n=e.nextSibling}if(function(e){for(var t;(t=e.parentNode)&&"SPAN"==t.tagName&&1==domUtils.getChildCount(t,function(e){return!domUtils.isBookmarkNode(e)&&!domUtils.isBr(e)});)t.style.cssText+=e.style.cssText,domUtils.remove(e,!0),e=t}(e),browser.ie&&browser.version>8){var o=domUtils.findParent(e,function(e){return"SPAN"==e.tagName&&/background-color/.test(e.style.cssText)});o&&!/background-color/.test(e.style.cssText)&&(e.style.backgroundColor=o.style.backgroundColor)}}}),e.moveToBookmark(r),function(e,t,i){if(n[t]&&(e.adjustmentBoundary(),!e.collapsed&&1==e.startContainer.nodeType)){var o=e.startContainer.childNodes[e.startOffset];if(o&&domUtils.isTagNode(o,"span")){var a=e.createBookmark();utils.each(domUtils.getElementsByTagName(o,"span"),function(e){e.parentNode&&!domUtils.isBookmarkNode(e)&&("backcolor"==t&&domUtils.getComputedStyle(e,"background-color").toLowerCase()===i||(domUtils.removeStyle(e,n[t]),0==e.style.cssText.replace(/^\s+$/,"").length&&domUtils.remove(e,!0)))}),e.moveToBookmark(a)}}}(e,t,i)}for(var o in this.setOpt({fontfamily:[{name:"songti",val:"宋体,SimSun"},{name:"yahei",val:"微软雅黑,Microsoft YaHei"},{name:"kaiti",val:"楷体,楷体_GB2312, SimKai"},{name:"heiti",val:"黑体, SimHei"},{name:"lishu",val:"隶书, SimLi"},{name:"andaleMono",val:"andale mono"},{name:"arial",val:"arial, helvetica,sans-serif"},{name:"arialBlack",val:"arial black,avant garde"},{name:"comicSansMs",val:"comic sans ms"},{name:"impact",val:"impact,chicago"},{name:"timesNewRoman",val:"times new roman"}],fontsize:[10,11,12,14,16,18,20,24,36]}),this.addInputRule(function(e){utils.each(e.getNodesByTagName("u s del font strike"),function(e){if("font"==e.tagName){var t=[];for(var n in e.attrs)switch(n){case"size":t.push("font-size:"+({1:"10",2:"12",3:"16",4:"18",5:"24",6:"32",7:"48"}[e.attrs[n]]||e.attrs[n])+"px");break;case"color":t.push("color:"+e.attrs[n]);break;case"face":t.push("font-family:"+e.attrs[n]);break;case"style":t.push(e.attrs[n])}e.attrs={style:t.join(";")}}else{var i="u"==e.tagName?"underline":"line-through";e.attrs={style:(e.getAttr("style")||"")+"text-decoration:"+i+";"}}e.tagName="span"})}),e)!function(e,n){UE.commands[e]={execCommand:function(o,a){a=a||(this.queryCommandState(o)?"none":"underline"==o?"underline":"fontborder"==o?"1px solid #000":"line-through");var r,s=this,l=this.selection.getRange();if("default"==a)l.collapsed&&(r=s.document.createTextNode("font"),l.insertN
12ode(r).select()),s.execCommand("removeFormat","span,a",n),r&&(l.setStartBefore(r).collapse(!0),domUtils.remove(r)),i(l,o,a),l.select();else if(l.collapsed){var d=domUtils.findParentByTagName(l.startContainer,"span",!0);if(r=s.document.createTextNode("font"),!d||d.children.length||d[browser.ie?"innerText":"textContent"].replace(fillCharReg,"").length){if(l.insertNode(r),l.selectNode(r).select(),d=l.document.createElement("span"),t[e]){if(domUtils.findParentByTagName(r,"a",!0))return l.setStartBefore(r).setCursor(),void domUtils.remove(r);s.execCommand("removeFormat","span,a",n)}if(d.style.cssText=n+":"+a,r.parentNode.insertBefore(d,r),!browser.ie||browser.ie&&9==browser.version)for(var c=d.parentNode;!domUtils.isBlockElm(c);)"SPAN"==c.tagName&&(d.style.cssText=c.style.cssText+";"+d.style.cssText),c=c.parentNode;opera?setTimeout(function(){l.setStart(d,0).collapse(!0),i(l,o,a),l.select()}):(l.setStart(d,0).collapse(!0),i(l,o,a),l.select())}else l.insertNode(r),t[e]&&(l.selectNode(r).select(),s.execCommand("removeFormat","span,a",n,null),d=domUtils.findParentByTagName(r,"span",!0),l.setStartBefore(r)),d&&(d.style.cssText+=";"+n+":"+a),l.collapse(!0).select();domUtils.remove(r)}else t[e]&&s.queryCommandValue(e)&&s.execCommand("removeFormat","span,a",n),(l=s.selection.getRange()).applyInlineStyle("span",{style:n+":"+a}),i(l,o,a),l.select();return!0},queryCommandValue:function(e){var t=this.selection.getStart();if("underline"==e||"strikethrough"==e){for(var i,o=t;o&&!domUtils.isBlockElm(o)&&!domUtils.isBody(o);){if(1==o.nodeType&&"none"!=(i=domUtils.getComputedStyle(o,n)))return i;o=o.parentNode}return"none"}if("fontborder"==e){for(var a,r=t;r&&dtd.$inline[r.tagName];){if((a=domUtils.getComputedStyle(r,"border"))&&/1px/.test(a)&&/solid/.test(a))return a;r=r.parentNode}return""}if("FontSize"==e){var s=domUtils.getComputedStyle(t,n);return(r=/^([\d\.]+)(\w+)$/.exec(s))?Math.floor(r[1])+r[2]:s}return domUtils.getComputedStyle(t,n)},queryCommandState:function(e){if(!t[e])return 0;var n=this.queryCommandValue(e);return"fontborder"==e?/1px/.test(n)&&/solid/.test(n):"underline"==e?/underline/.test(n):/line\-through/.test(n)}}}(o,e[o])},UE.plugins.link=function(){function e(e){var t=e.startContainer,n=e.endContainer;(t=domUtils.findParentByTagName(t,"a",!0))&&e.setStartBefore(t),(n=domUtils.findParentByTagName(n,"a",!0))&&e.setEndAfter(n)}UE.commands.unlink={execCommand:function(){var t,n=this.selection.getRange();n.collapsed&&!domUtils.findParentByTagName(n.startContainer,"a",!0)||(t=n.createBookmark(),e(n),n.removeInlineStyle("a").moveToBookmark(t).select())},queryCommandState:function(){return!this.highlight&&this.queryCommandValue("link")?0:-1}},UE.commands.link={execCommand:function(t,n){var i;n._href&&(n._href=utils.unhtml(n._href,/[<">]/g)),n.href&&(n.href=utils.unhtml(n.href,/[<">]/g)),n.textValue&&(n.textValue=utils.unhtml(n.textValue,/[<">]/g)),function(t,n,i){var o=t.cloneRange(),a=i.queryCommandValue("link");e(t=t.adjustmentBoundary());var r=t.startContainer;if(1==r.nodeType&&a&&(r=r.childNodes[t.startOffset])&&1==r.nodeType&&"A"==r.tagName&&/^(?:https?|ftp|file)\s*:\s*\/\//.test(r[browser.ie?"innerText":"textContent"])&&(r[browser.ie?"innerText":"textContent"]=utils.html(n.textValue||n.href)),o.collapsed&&!a||(t.removeInlineStyle("a"),o=t.cloneRange()),o.collapsed){var s=t.document.createElement("a"),l="";n.textValue?(l=utils.html(n.textValue),delete n.textValue):l=utils.html(n.href),domUtils.setAttributes(s,n),(r=domUtils.findParentByTagName(o.startContainer,"a",!0))&&domUtils.isInNodeEndBoundary(o,r)&&t.setStartAfter(r).collapse(!0),s[browser.ie?"innerText":"textContent"]=l,t.insertNode(s).selectNode(s)}else t.applyInlineStyle("a",n)}(i=this.selection.getRange(),n,this),i.collapse().select(!0)},queryCommandValue:function(){var e,t=this.selection.getRange();if(!t.collapsed){t.shrinkBoundary();var n=3!=t.startContainer.nodeType&&t.startContainer.childNodes[t.startOffset]?t.startContainer.childNodes[t.startOffset]:t.startContainer,i=3==t.endContainer.nodeType||0==t.endOffset?t.endContainer:t.endContainer.childNodes[t.endOffset-1],o=t.getCommonAncestor();if(!(e=domUtils.findParentByTagName(o,"a",!0))&&1==o.nodeType)for(var a,r,s,l=o.getElementsByTagName("a"),d=0;s=l[d++];)if(a=domUtils.getPosition(s,n),r=domUtils.getPosition(s,i),(a&domUtils.POSITION_FOLLOWING||a&domUtils.POSITION_CONTAINS)&&(r&domUtils.POSITION_PRECEDING||r&domUtils.POSITION_CONTAINS)){e=s;break}return e}if((e=1==(e=t.startContainer).nodeType?e:e.parentNode)&&(e=domUtils.findParentByTagName(e,"a",!0))&&!domUtils.isInNodeEndBoundary(t,e))return e},queryCommandState:function(){var e=this.selection.getRange().getClosedNode();return e&&("edui-faked-video"==e.className||-1!=e.className.indexOf("edui-upload-video"))?-1:0}}},UE.plugins.insertframe=function(){var e=this;e.addListener("selectionchange",function(){e._iframe&&delete e._iframe})},UE.commands.scrawl={queryCommandState:function(){return browser.ie&&browser.version<=8?-1:0}},UE.plugins.removeformat=function(){this.setOpt({removeFormatTags:"b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var",removeFormatAttributes:"class,style,lang,width,height,align,hspace,valign"}),this.commands.removeformat={execCommand:function(e,t,n,i,o){var a,r,s=new RegExp("^(?:"+(t||this.options.removeFormatTags).replace(/,/g,"|")+")$","i"),l=n?[]:(i||this.options.removeFormatAttributes).split(","),d=new dom.Range(this.document),c=function(e){return 1==e.nodeType};function u(e){if(3==e.nodeType||"span"!=e.tagName.toLowerCase())return 0;if(browser.ie){var t=e.attributes;if(t.length){for(var n=0,i=t.length;n<i;n++)if(t[n].specified)return 0;return 1}}return!e.attributes.length}(function(e){var t=e.createBookmark();if(e.collapsed&&e.enlarge(!0),!o){var i=domUtils.findParentByTagName(e.startContainer,"a",!0);i&&e.setStartBefore(i),(i=domUtils.findParentByTagName(e.endContainer,"a",!0))&&e.setEndAfter(i)}for(g=(a=e.createBookmark()).start;(r=g.parentNode)&&!domUtils.isBlockElm(r);)domUtils.breakParent(g,r),domUtils.clearEmptySibling(g);if(a.end){for(g=a.end;(r=g.parentNode)&&!domUtils.isBlockElm(r);)domUtils.breakParent(g,r),domUtils.clearEmptySibling(g);for(var d,m=domUtils.getNextDomNode(a.start,!1,c);m&&m!=a.end;)d=domUtils.getNextDomNode(m,!0,c),dtd.$empty[m.tagName.toLowerCase()]||domUtils.isBookmarkNode(m)||(s.test(m.tagName)?n?(domUtils.removeStyle(m,n),u(m)&&"text-decoration"!=n&&domUtils.remove(m,!0)):domUtils.remove(m,!0):dtd.$tableContent[m.tagName]||dtd.$list[m.tagName]||(domUtils.removeAttributes(m,l),u(m)&&domUtils.remove(m,!0))),m=d}var p=a.start.parentNode;!domUtils.isBlockElm(p)||dtd.$tableContent[p.tagName]||dtd.$list[p.tagName]||domUtils.removeAttributes(p,l),p=a.end.parentNode,a.end&&domUtils.isBlockElm(p)&&!dtd.$tableContent[p.tagName]&&!dtd.$list[p.tagName]&&domUtils.removeAttributes(p,l),e.moveToBookmark(a).moveToBookmark(t);for(var h,g=e.startContainer,f=e.collapsed;1==g.nodeType&&domUtils.isEmptyNode(g)&&dtd.$removeEmpty[g.tagName];)h=g.parentNode,e.setStartBefore(g),e.startContainer===e.endContainer&&e.endOffset--,domUtils.remove(g),g=h;if(!f)for(g=e.endContainer;1==g.nodeType&&domUtils.isEmptyNode(g)&&dtd.$removeEmpty[g.tagName];)h=g.parentNode,e.setEndBefore(g),domUtils.remove(g),g=h})(d=this.selection.getRange()),d.select()}}},UE.plugins.blockquote=function(){function e(e){return domUtils.filterNodeList(e.selection.getStartElementPath(),"blockquote")}this.commands.blockquote={execCommand:function(t,n){var i=this.selection.getRange(),o=e(this),a=dtd.blockquote,r=i.createBookmark();if(o){var s=i.startContainer,l=domUtils.isBlockElm(s)?s:domUtils.findParent(s,function(e){return domUtils.isBlockElm(e)}),d=i.endContainer,c=domUtils.isBlockElm(d)?d:domUtils.findParent(d,function(e){return domUtils.isBlockElm(e)});l=domUtils.findParentByTagName(l,"li",!0)||l,c=domUtils.findParentByTagName(c,"li",!0)||c,"LI"==l.tagName||"TD"==l.tagName||l===o||domUtils.isBody(l)?domUtils.remove(o,!0):domUtils.breakParent(l,o),l!==c&&(o=domUtils.findParentByTagName(c,"blockquote"))&&("LI"==c.tagName||"TD"==c.tagName||domUtils.isBody(c)?o.parentNode&&domUtils.remove(o,!0):domUtils.breakParent(c,o));for(var u,m=domUtils.getElementsByTagName(this.document,"blockquote"),p=0;u=m[p++];)u.childNodes.length?domUtils.getPosition(u,l)&domUtils.POSITION_FOLLOWING&&domUtils.getPosition(u,c)&domUtils.POSITION_PRECEDING&&domUtils.remove(u,!0):domUtils.remove(u)}else{for(var h=i.cloneRange(),g=1==h.startContainer.nodeType?h.startContainer:h.startContainer.parentNode,f=g,v=1;;){if(domUtils.isBody(g)){f!==g?i.collapsed?(h.selectNode(f),v=0):h.setStartBefore(f):h.setStart(g,0);break}if(!a[g.tagName]){i.collapsed?h.selectNode(f):h.setStartBefore(f);break}f=g,g=g.parentNode}if(v)for(f=g=g=1==h.endContainer.nodeType?h.endContainer:h.endContainer.parentNode;;){if(domUtils.isBody(g)){f!==g?h.setEndAfter(f):h.setEnd(g,g.childNodes.length);break}if(!a[g.tagName]){h.setEndAfter(f);break}f=g,g=g.parentNode}g=i.document.createElement("blockquote"),domUtils.setAttributes(g,n),g.appendChild(h.extractContents()),h.insertNode(g);var b,y=domUtils.getElementsByTagName(g,"blockquote");for(p=0;b=y[p++];)b.parentNode&&domUtils.remove(b,!0)}i.moveToBookmark(r).select()},queryCommandState:function(){return e(this)?1:0}}},UE.commands.touppercase=UE.commands.tolowercase={execCommand:function(e){var t=this.selection.getRange();if(t.collapsed)return t;for(var n=t.createBookmark(),i=n.end,o=function(e){return!domUtils.isBr(e)&&!domUtils.isWhitespace(e)},a=domUtils.getNextDomNode(n.start,!1,o);a&&domUtils.getPosition(a,i)&domUtils.POSITION_PRECEDING&&(3==a.nodeType&&(a.nodeValue=a.nodeValue["touppercase"==e?"toUpperCase":"toLowerCase"]()),(a=domUtils.getNextDomNode(a,!0,o))!==i););t.moveToBookmark(n).select()}},UE.commands.indent={execCommand:function(){var e=this.queryCommandState("indent")?"0em":this.options.indentValue||"2em";this.execCommand("Paragraph","p",{style:"text-indent:"+e})},queryCommandState:function(){var e=domUtils.filterNodeList(this.selection.getStartElementPath(),"p h1 h2 h3 h4 h5 h6");return e&&e.style.textIndent&&parseInt(e.style.textIndent)?1:0}},UE.commands.print={execCommand:function(){this.window.print()},notNeedUndo:1},UE.commands.preview={execCommand:function(){var e=window.open("","_blank","").document;
12e.open(),e.write('<!DOCTYPE html><html><head><meta charset="utf-8"/><script src="'+this.options.UEDITOR_HOME_URL+"ueditor.parse.js\"><\/script><script>setTimeout(function(){uParse('div',{rootPath: '"+this.options.UEDITOR_HOME_URL+"'})},300)<\/script></head><body><div>"+this.getContent(null,null,!0)+"</div></body></html>"),e.close()},notNeedUndo:1},UE.plugins.selectall=function(){this.commands.selectall={execCommand:function(){var e=this.body,t=this.selection.getRange();t.selectNodeContents(e),domUtils.isEmptyBlock(e)&&(browser.opera&&e.firstChild&&1==e.firstChild.nodeType&&t.setStartAtFirst(e.firstChild),t.collapse(!0)),t.select(!0)},notNeedUndo:1},this.addshortcutkey({selectAll:"ctrl+65"})},UE.plugins.paragraph=function(){var e=domUtils.isBlockElm,t=["TD","LI","PRE"];this.setOpt("paragraph",{p:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:""}),this.commands.paragraph={execCommand:function(n,i,o,a){var r=this.selection.getRange();if(r.collapsed){var s=this.document.createTextNode("p");if(r.insertNode(s),browser.ie){var l=s.previousSibling;l&&domUtils.isWhitespace(l)&&domUtils.remove(l),(l=s.nextSibling)&&domUtils.isWhitespace(l)&&domUtils.remove(l)}}if(r=function(n,i,o,a){var r,s=n.createBookmark(),l=function(e){return 1==e.nodeType?"br"!=e.tagName.toLowerCase()&&!domUtils.isBookmarkNode(e):!domUtils.isWhitespace(e)};n.enlarge(!0);for(var d,c=n.createBookmark(),u=domUtils.getNextDomNode(c.start,!1,l),m=n.cloneRange();u&&!(domUtils.getPosition(u,c.end)&domUtils.POSITION_FOLLOWING);)if(3!=u.nodeType&&e(u))u=domUtils.getNextDomNode(u,!0,l);else{for(m.setStartBefore(u);u&&u!==c.end&&!e(u);)d=u,u=domUtils.getNextDomNode(u,!1,null,function(t){return!e(t)});m.setEndAfter(d),r=n.document.createElement(i),o&&(domUtils.setAttributes(r,o),a&&"customstyle"==a&&o.style&&(r.style.cssText=o.style)),r.appendChild(m.extractContents()),domUtils.isEmptyNode(r)&&domUtils.fillChar(n.document,r),m.insertNode(r);var p=r.parentNode;e(p)&&!domUtils.isBody(r.parentNode)&&-1==utils.indexOf(t,p.tagName)&&(a&&"customstyle"==a||(p.getAttribute("dir")&&r.setAttribute("dir",p.getAttribute("dir")),p.style.cssText&&(r.style.cssText=p.style.cssText+";
12"+r.style.cssText),p.style.textAlign&&!r.style.textAlign&&(r.style.textAlign=p.style.textAlign),p.style.textIndent&&!r.style.textIndent&&(r.style.textIndent=p.style.textIndent),p.style.padding&&!r.style.padding&&(r.style.padding=p.style.padding)),o&&/h\d/i.test(p.tagName)&&!/h\d/i.test(r.tagName)?(domUtils.setAttributes(p,o),a&&"customstyle"==a&&o.style&&(p.style.cssText=o.style),domUtils.remove(r,!0),r=p):domUtils.remove(r.parentNode,!0)),u=-1!=utils.indexOf(t,p.tagName)?p:r,u=domUtils.getNextDomNode(u,!1,l)}return n.moveToBookmark(c).moveToBookmark(s)}(r,i,o,a),s&&(r.setStartBefore(s).collapse(!0),pN=s.parentNode,domUtils.remove(s),domUtils.isBlockElm(pN)&&domUtils.isEmptyNode(pN)&&domUtils.fillNode(this.document,pN)),browser.gecko&&r.collapsed&&1==r.startContainer.nodeType){var d=r.startContainer.childNodes[r.startOffset];d&&1==d.nodeType&&d.tagName.toLowerCase()==i&&r.setStart(d,0).collapse(!0)}return r.select(),!0},queryCommandValue:function(){var e=domUtils.filterNodeList(this.selection.getStartElementPath(),"p h1 h2 h3 h4 h5 h6");return e?e.tagName.toLowerCase():""}}},function(){var e=domUtils.isBlockElm,t=function(e){return domUtils.filterNodeList(e.selection.getStartElementPath(),function(e){return e&&1==e.nodeType&&e.getAttribute("dir")})};UE.commands.directionality={execCommand:function(n,i){var o=this.selection.getRange();if(o.collapsed){var a=this.document.createTextNode("d");o.insertNode(a)}return function(n,i,o){var a,r=function(e){return 1==e.nodeType?!domUtils.isBookmarkNode(e):!domUtils.isWhitespace(e)},s=t(i);if(s&&n.collapsed)return s.setAttribute("dir",o),n;a=n.createBookmark(),n.enlarge(!0);for(var l,d=n.createBookmark(),c=domUtils.getNextDomNode(d.start,!1,r),u=n.cloneRange();c&&!(domUtils.getPosition(c,d.end)&domUtils.POSITION_FOLLOWING);)if(3!=c.nodeType&&e(c))c=domUtils.getNextDomNode(c,!0,r);else{for(u.setStartBefore(c);c&&c!==d.end&&!e(c);)l=c,c=domUtils.getNextDomNode(c,!1,null,function(t){return!e(t)});u.setEndAfter(l);var m=u.getCommonAncestor();if(!domUtils.isBody(m)&&e(m))m.setAttribute("dir",o),c=m;else{var p=n.document.createElement("p");p.setAttribute("dir",o);var h=u.extractContents();p.appendChild(h),u.insertNode(p),c=p}c=domUtils.getNextDomNode(c,!1,r)}n.moveToBookmark(d).moveToBookmark(a)}(o,this,i),a&&(o.setStartBefore(a).collapse(!0),domUtils.remove(a)),o.select(),!0},queryCommandValue:function(){var e=t(this);return e?e.getAttribute("dir"):"ltr"}}}(),UE.plugins.horizontal=function(){this.commands.horizontal={execCommand:function(e){var t=this;if(-1!==t.queryCommandState(e)){t.execCommand("insertHtml","<hr>");var n,i=t.selection.getRange(),o=i.startContainer;if(1==o.nodeType&&!o.childNodes[i.startOffset])(n=o.childNodes[i.startOffset-1])&&1==n.nodeType&&"HR"==n.tagName&&("p"==t.options.enterTag?(n=t.document.createElement("p"),i.insertNode(n),i.setStart(n,0).setCursor()):(n=t.document.createElement("br"),i.insertNode(n),i.setStartBefore(n).setCursor()));return!0}},queryCommandState:function(){return domUtils.filterNodeList(this.selection.getStartElementPath(),"table")?-1:0}},this.addListener("delkeydown",function(e,t){var n=this.selection.getRange();if(n.txtToElmBoundary(!0),domUtils.isStartInblock(n)){var i=n.startContainer.previousSibling;if(i&&domUtils.isTagNode(i,"hr"))return domUtils.remove(i),n.select(),domUtils.preventDefault(t),!0}})},UE.commands.time=UE.commands.date={execCommand:function(e,t){var n=new Date;this.execCommand("insertHtml","time"==e?function(e,t){var n=("0"+e.getHours()).slice(-2),i=("0"+e.getMinutes()).slice(-2),o=("0"+e.getSeconds()).slice(-2);return(t=t||"hh:ii:ss").replace(/hh/gi,n).replace(/ii/gi,i).replace(/ss/gi,o)}(n,t):function(e,t){var n=("000"+e.getFullYear()).slice(-4),i=n.slice(-2),o=("0"+(e.getMonth()+1)).slice(-2),a=("0"+e.getDate()).slice(-2);return(t=t||"yyyy-mm-dd").replace(/yyyy/gi,n).replace(/yy/gi,i).replace(/mm/gi,o).replace(/dd/gi,a)}(n,t))}},UE.plugins.rowspacing=function(){this.setOpt({rowspacingtop:["5","10","15","20","25"],rowspacingbottom:["5","10","15","20","25"]}),this.commands.rowspacing={execCommand:function(e,t,n){return this.execCommand("paragraph","p",{style:"margin-"+n+":"+t+"px"}),!0},queryCommandValue:function(e,t){var n=domUtils.filterNodeList(this.selection.getStartElementPath(),function(e){return domUtils.isBlockElm(e)});return n&&domUtils.getComputedStyle(n,"margin-"+t).replace(/[^\d]/g,"")||0}}},UE.plugins.lineheight=function(){this.setOpt({lineheight:["1","1.5","1.75","2","3","4","5"]}),this.commands.lineheight={execCommand:function(e,t){return this.execCommand("paragraph","p",{style:"line-height:"+("1"==t?"normal":t+"em")}),!0},queryCommandValue:function(){var e=domUtils.filterNodeList(this.selection.getStartElementPath(),function(e){return domUtils.isBlockElm(e)});if(e){var t=domUtils.getComputedStyle(e,"line-height");return"normal"==t?1:t.replace(/[^\d.]*/gi,"")}}}},UE.plugins.insertcode=function(){var e=this;e.ready(function(){utils.cssRule("pre","pre{margin:.5em 0;padding:.4em .6em;border-radius:8px;background:#f8f8f8;}",e.document)}),e.setOpt("insertcode",{as3:"ActionScript3",bash:"Bash/Shell",cpp:"C/C++",css:"Css",cf:"CodeFunction","c#":"C#",delphi:"Delphi",diff:"Diff",erlang:"Erlang",groovy:"Groovy",html:"Html",java:"Java",jfx:"JavaFx",js:"Javascript",pl:"Perl",php:"Php",plain:"Plain Text",ps:"PowerShell",python:"Python",ruby:"Ruby",scala:"Scala",sql:"Sql",vb:"Vb",xml:"Xml"}),e.commands.insertcode={execCommand:function(e,t){var n=this,i=n.selection.getRange(),o=domUtils.findParentByTagName(i.startContainer,"pre",!0);if(o)o.className="brush:"+t+";toolbar:false;";else{var a="";if(i.collapsed)a=browser.ie&&browser.ie11below?browser.version<=8?"&nbsp;":"":"<br/>";else{var r=i.extractContents(),s=n.document.createElement("div");s.appendChild(r),utils.each(UE.filterNode(UE.htmlparser(s.innerHTML.replace(/[\r\t]/g,"")),n.options.filterTxtRules).children,function(e){if(browser.ie&&browser.ie11below&&browser.version>8)"element"==e.type?"br"==e.tagName?a+="\n":dtd.$empty[e.tagName]||(utils.each(e.children,function(t){"element"==t.type?"br"==t.tagName?a+="\n":dtd.$empty[e.tagName]||(a+=t.innerText()):a+=t.data}),/\n$/.test(a)||(a+="\n")):a+=e.data+"\n",!e.nextSibling()&&/\n$/.test(a)&&(a=a.replace(/\n$/,""));else if(browser.ie&&browser.ie11below)"element"==e.type?"br"==e.tagName?a+="<br>":dtd.$empty[e.tagName]||(utils.each(e.children,function(t){"element"==t.type?"br"==t.tagName?a+="<br>":dtd.$empty[e.tagName]||(a+=t.innerText()):a+=t.data}),/br>$/.test(a)||(a+="<br>")):a+=e.data+"<br>",!e.nextSibling()&&/<br>$/.test(a)&&(a=a.replace(/<br>$/,""));else if(a+="element"==e.type?dtd.$empty[e.tagName]?"":e.innerText():e.data,!/br\/?\s*>$/.test(a)){if(!e.nextSibling())return;a+="<br>"}})}n.execCommand("inserthtml",'<pre id="coder"class="brush:'+t+';toolbar:false">'+a+"</pre>",!0),o=n.document.getElementById("coder"),domUtils.removeAttributes(o,"id");var l=o.previousSibling;
12l&&(3==l.nodeType&&1==l.nodeValue.length&&browser.ie&&6==browser.version||domUtils.isEmptyBlock(l))&&domUtils.remove(l);i=n.selection.getRange();domUtils.isEmptyBlock(o)?i.setStart(o,0).setCursor(!1,!0):i.selectNodeContents(o).select()}},queryCommandValue:function(){var e=this.selection.getStartElementPath(),t="";return utils.each(e,function(e){if("PRE"==e.nodeName){var n=e.className.match(/brush:([^;]+)/);return t=n&&n[1]?n[1]:"",!1}}),t}},e.addInputRule(function(e){utils.each(e.getNodesByTagName("pre"),function(e){var t=e.getNodesByTagName("br");if(t.length)browser.ie&&browser.ie11below&&browser.version>8&&utils.each(t,function(e){var t=UE.uNode.createText("\n");e.parentNode.insertBefore(t,e),e.parentNode.removeChild(e)});else if(!(browser.ie&&browser.ie11below&&browser.version>8)){var n=e.innerText().split(/\n/);e.innerHTML(""),utils.each(n,function(t){t.length&&e.appendChild(UE.uNode.createText(t)),e.appendChild(UE.uNode.createElement("br"))})}})}),e.addOutputRule(function(e){utils.each(e.getNodesByTagName("pre"),function(e){var t="";utils.each(e.children,function(e){"text"==e.type?t+=e.data.replace(/[ ]/g,"&nbsp;").replace(/\n$/,""):"br"==e.tagName?t+="\n":t+=dtd.$empty[e.tagName]?e.innerText():""}),e.innerText(t.replace(/(&nbsp;|\n)+$/,""))})}),e.notNeedCodeQuery={help:1,undo:1,redo:1,source:1,print:1,searchreplace:1,fullscreen:1,preview:1,insertparagraph:1,elementpath:1,insertcode:1,inserthtml:1,selectall:1};e.queryCommandState;e.queryCommandState=function(e){return!this.notNeedCodeQuery[e.toLowerCase()]&&this.selection&&this.queryCommandValue("insertcode")?-1:UE.Editor.prototype.queryCommandState.apply(this,arguments)},e.addListener("beforeenterkeydown",function(){var t=e.selection.getRange();if(n=domUtils.findParentByTagName(t.startContainer,"pre",!0)){if(e.fireEvent("saveScene"),t.collapsed||t.deleteContents(),!browser.ie||browser.ie9above){var n,i=e.document.createElement("br");for(t.insertNode(i).setStartAfter(i).collapse(!0),i.nextSibling||browser.ie&&!(browser.version>10)?t.setStartAfter(i):t.insertNode(i.cloneNode(!1)),n=i.previousSibling;n;)if(l=n,!(n=n.previousSibling)||"BR"==n.nodeName){n=l;break}if(n){for(var o="";n&&"BR"!=n.nodeName&&new RegExp("^[\\s"+domUtils.fillChar+"]*$").test(n.nodeValue);)o+=n.nodeValue,n=n.nextSibling;if("BR"!=n.nodeName)(d=n.nodeValue.match(new RegExp("^([\\s"+domUtils.fillChar+"]+)")))&&d[1]&&(o+=d[1]);o&&(o=e.document.createTextNode(o),t.insertNode(o).setStartAfter(o))}t.collapse(!0).select(!0)}else if(browser.version>8){var a=e.document.createTextNode("\n"),r=t.startContainer;if(0==t.startOffset){if(r.previousSibling){t.insertNode(a);var s=e.document.createTextNode(" ");t.setStartAfter(a).insertNode(s).setStart(s,0).collapse(!0).select(!0)}}else{t.insertNode(a).setStartAfter(a);s=e.document.createTextNode(" ");(r=t.startContainer.childNodes[t.startOffset])&&!/^\n/.test(r.nodeValue)&&t.setStartBefore(a),t.insertNode(s).setStart(s,0).collapse(!0).select(!0)}}else{var l;i=e.document.createElement("br");
12for(t.insertNode(i),t.insertNode(e.document.createTextNode(domUtils.fillChar)),t.setStartAfter(i),n=i.previousSibling;n;)if(l=n,!(n=n.previousSibling)||"BR"==n.nodeName){n=l;break}if(n){var d;for(o="";n&&"BR"!=n.nodeName&&new RegExp("^[ "+domUtils.fillChar+"]*$").test(n.nodeValue);)o+=n.nodeValue,n=n.nextSibling;if("BR"!=n.nodeName)(d=n.nodeValue.match(new RegExp("^([ "+domUtils.fillChar+"]+)")))&&d[1]&&(o+=d[1]);o=e.document.createTextNode(o),t.insertNode(o).setStartAfter(o)}t.collapse(!0).select()}return e.fireEvent("saveScene"),!0}}),e.addListener("tabkeydown",function(t,n){var i=e.selection.getRange(),o=domUtils.findParentByTagName(i.startContainer,"pre",!0);if(o){if(e.fireEvent("saveScene"),n.shiftKey);else if(i.collapsed){var a=e.document.createTextNode("    ");i.insertNode(a).setStartAfter(a).collapse(!0).select(!0)}else{for(var r=i.createBookmark(),s=r.start.previousSibling;s;){if(o.firstChild===s&&!domUtils.isBr(s)){o.insertBefore(e.document.createTextNode("    "),s);break}if(domUtils.isBr(s)){o.insertBefore(e.document.createTextNode("    "),s.nextSibling);break}s=s.previousSibling}var l=r.end;for(s=r.start.nextSibling,o.firstChild===r.start&&o.insertBefore(e.document.createTextNode("    "),s.nextSibling);s&&s!==l;){if(domUtils.isBr(s)&&s.nextSibling){if(s.nextSibling===l)break;o.insertBefore(e.document.createTextNode("    "),s.nextSibling)}s=s.nextSibling}i.moveToBookmark(r).select()}return e.fireEvent("saveScene"),!0}}),e.addListener("beforeinserthtml",function(e,t){var n=this,i=n.selection.getRange();if(domUtils.findParentByTagName(i.startContainer,"pre",!0)){i.collapsed||i.deleteContents();var o="";if(browser.ie&&browser.version>8){utils.each(UE.filterNode(UE.htmlparser(t),n.options.filterTxtRules).children,function(e){"element"==e.type?"br"==e.tagName?o+="\n":dtd.$empty[e.tagName]||(utils.each(e.children,function(t){"element"==t.type?"br"==t.tagName?o+="\n":dtd.$empty[e.tagName]||(o+=t.innerText()):o+=t.data}),/\n$/.test(o)||(o+="\n")):o+=e.data+"\n",!e.nextSibling()&&/\n$/.test(o)&&(o=o.replace(/\n$/,""))});var a=n.document.createTextNode(utils.html(o.replace(/&nbsp;/g," ")));i.insertNode(a).selectNode(a).select()}else{var r=n.document.createDocumentFragment();utils.each(UE.filterNode(UE.htmlparser(t),n.options.filterTxtRules).children,function(e){"element"==e.type?"br"==e.tagName?r.appendChild(n.document.createElement("br")):dtd.$empty[e.tagName]||(utils.each(e.children,function(t){"element"==t.type?"br"==t.tagName?r.appendChild(n.document.createElement("br")):dtd.$empty[e.tagName]||r.appendChild(n.document.createTextNode(utils.html(t.innerText().replace(/&nbsp;/g," ")))):r.appendChild(n.document.createTextNode(utils.html(t.data.replace(/&nbsp;/g," "))))}),"BR"!=r.lastChild.nodeName&&r.appendChild(n.document.createElement("br"))):r.appendChild(n.document.createTextNode(utils.html(e.data.replace(/&nbsp;/g," ")))),e.nextSibling()||"BR"!=r.lastChild.nodeName||r.removeChild(r.lastChild)}),i.insertNode(r).select()}return!0}}),e.addListener("keydown",function(e,t){if(40==(t.keyCode||t.which)){var n,i=this.selection.getRange(),o=i.startContainer;if(i.collapsed&&(n=domUtils.findParentByTagName(i.startContainer,"pre",!0))&&!n.nextSibling){for(var a=n.lastChild;a&&"BR"==a.nodeName;)a=a.previousSibling;(a===o||i.startContainer===n&&i.startOffset==n.childNodes.length)&&(this.execCommand("insertparagraph"),domUtils.preventDefault(t))}}}),e.addListener("delkeydown",function(t,n){var i=this.selection.getRange();i.txtToElmBoundary(!0);var o=i.startContainer;if(domUtils.isTagNode(o,"pre")&&i.collapsed&&domUtils.isStartInblock(i)){var a=e.document.createElement("p");return domUtils.fillNode(e.document,a),o.parentNode.insertBefore(a,o),domUtils.remove(o),i.setStart(a,0).setCursor(!1,!0),domUtils.preventDefault(n),!0}})},UE.commands.cleardoc={execCommand:function(e){var t=this,n=t.options.enterTag,i=t.selection.getRange();"br"==n?(t.body.innerHTML="<br/>",i.setStart(t.body,0).setCursor()):(t.body.innerHTML="<p>"+(ie?"":"<br/>")+"</p>",i.setStart(t.body.firstChild,0).setCursor(!1,!0)),setTimeout(function(){t.fireEvent("clearDoc")},0)}},UE.plugin.register("anchor",function(){return{bindEvents:{ready:function(){utils.cssRule("anch
12or",".anchorclass{background: url('"+this.options.themePath+this.options.theme+"/images/anchor.gif') no-repeat scroll left center transparent;cursor: auto;display: inline-block;height: 16px;width: 15px;}",this.document)}},outputRule:function(e){utils.each(e.getNodesByTagName("img"),function(e){var t;(t=e.getAttr("anchorname"))&&(e.tagName="a",e.setAttr({anchorname:"",name:t,class:""}))})},inputRule:function(e){utils.each(e.getNodesByTagName("a"),function(e){e.getAttr("name")&&!e.getAttr("href")&&(e.tagName="img",e.setAttr({anchorname:e.getAttr("name"),class:"anchorclass"}),e.setAttr("name"))})},commands:{anchor:{execCommand:function(e,t){var n=this.selection.getRange(),i=n.getClosedNode();if(i&&i.getAttribute("anchorname"))t?i.setAttribute("anchorname",t):(n.setStartBefore(i).setCursor(),domUtils.remove(i));else if(t){var o=this.document.createElement("img");n.collapse(!0),domUtils.setAttributes(o,{anchorname:t,class:"anchorclass"}),n.insertNode(o).setStartAfter(o).setCursor(!1,!0)}}}}}}),UE.plugins.wordcount=function(){var e,t=this;t.setOpt("wordCount",!0),t.addListener("contentchange",function(){t.fireEvent("wordcount")}
12),t.addListener("ready",function(){var t=this;domUtils.on(t.body,"keyup",function(n){(n.keyCode||n.which)in{16:1,18:1,20:1,37:1,38:1,39:1,40:1}||(clearTimeout(e),e=setTimeout(function(){t.fireEvent("wordcount")},200))})})},UE.plugins.pagebreak=function(){var e=this,t=["td"];function n(t){if(domUtils.isEmptyBlock(t)){for(var n,i=t.firstChild;i&&1==i.nodeType&&domUtils.isEmptyBlock(i);)n=i,i=i.firstChild;!n&&(n=t),domUtils.fillNode(e.document,n)}}function i(e){return e&&1==e.nodeType&&"HR"==e.tagName&&"pagebreak"==e.className}e.setOpt("pageBreakTag","_ueditor_page_break_tag_"),e.ready(function(){utils.cssRule("pagebreak",".pagebreak{display:block;clear:both !important;cursor:default !important;width: 100% !important;margin:0;}",e.document)}),e.addInputRule(function(t){t.traversal(function(t){if("text"==t.type&&t.data==e.options.pageBreakTag){var n=UE.uNode.createElement('<hr class="pagebreak" noshade="noshade" size="5" style="-webkit-user-select: none;">');t.parentNode.insertBefore(n,t),t.parentNode.removeChild(t)}})}),e.addOutputRule(function(t){utils.each(t.getNodesByTagName("hr"),function(t){if("pagebreak"==t.getAttr("class")){var n=UE.uNode.createText(e.options.pageBreakTag);t.parentNode.insertBefore(n,t),t.parentNode.removeChild(t)}})}),e.commands.pagebreak={execCommand:function(){var o=e.selection.getRange(),a=e.document.createElement("hr");domUtils.setAttributes(a,{class:"pagebreak",noshade:"noshade",size:"5"}),domUtils.unSelectable(a);var r=domUtils.findParentByTagName(o.startContainer,t,!0),s=[];if(r)switch(r.tagName){case"TD":if((u=r.parentNode).previousSibling)u.parentNode.insertBefore(a,u),s=domUtils.findParents(a);else{var l=domUtils.findParentByTagName(u,"table");l.parentNode.insertBefore(a,l),s=domUtils.findParents(a,!0)}a!==(u=s[1])&&domUtils.breakParent(a,u),e.fireEvent("afteradjusttable",e.document)}else{if(!o.collapsed){o.deleteContents();for(var d=o.startContainer;!domUtils.isBody(d)&&domUtils.isBlockElm(d)&&domUtils.isEmptyNode(d);)o.setStartBefore(d).collapse(!0),domUtils.remove(d),d=o.startContainer}o.insertNode(a);for(var c,u=a.parentNode;!domUtils.isBody(u);)domUtils.breakParent(a,u),(c=a.nextSibling)&&domUtils.isEmptyBlock(c)&&domUtils.remove(c),u=a.parentNode;c=a.nextSibling;var m=a.previousSibling;if(i(m)?domUtils.remove(m):m&&n(m),c)i(c)?domUtils.remove(c):n(c),o.setEndAfter(a).collapse(!1);else{var p=e.document.createElement("p");a.parentNode.appendChild(p),domUtils.fillNode(e.document,p),o.setStart(p,0).collapse(!0)}o.select(!0)}}}},UE.plugin.register("wordimage",function(){var e=this,t=[];return{commands:{wordimage:{execCommand:function(){for(var t,n=domUtils.getElementsByTagName(e.body,"img"),i=[],o=0;t=n[o++];){var a=t.getAttribute("word_img");a&&i.push(a)}return i},queryCommandState:function(){t=domUtils.getElementsByTagName(e.body,"img");for(var n,i=0;n=t[i++];)if(n.getAttribute("word_img"))return 1;return-1},notNeedUndo:!0}},inputRule:function(t){utils.each(t.getNodesByTagName("img"),function(t){var n=t.attrs,i=parseInt(n.width)<128||parseInt(n.height)<43,o=e.options,a=o.UEDITOR_HOME_URL+"themes/default/images/spacer.gif";n.src&&/^(?:(file:\/+))/.test(n.src)&&t.setAttr({width:n.width,height:n.height,alt:n.alt,word_img:n.src,src:a,style:"background:url("+(i?o.themePath+o.theme+"/images/word.gif":o.langPath+o.lang+"/images/localimage.png")+") no-repeat center center;border:1px solid #ddd"})})}}}),UE.plugins.dragdrop=function(){var e=this;e.ready(function(){domUtils.on(this.body,"dragend",function(){var t=e.selection.getRange(),n=t.getClosedNode()||e.selection.getStart();if(n&&"IMG"==n.tagName){for(var i,o=n.previousSibling;(i=n.nextSibling)&&1==i.nodeType&&"SPAN"==i.tagName&&!i.firstChild;)domUtils.remove(i);(!o||1!=o.nodeType||domUtils.isEmptyBlock(o))&&o||i&&(!i||domUtils.isEmptyBlock(i))||(o&&"P"==o.tagName&&!domUtils.isEmptyBlock(o)?(o.appendChild(n),domUtils.moveChild(i,o),domUtils.remove(i)):i&&"P"==i.tagName&&!domUtils.isEmptyBlock(i)&&i.insertBefore(n,i.firstChild),o&&"P"==o.tagName&&domUtils.isEmptyBlock(o)&&domUtils.remove(o),i&&"P"==i.tagName&&domUtils.isEmptyBlock(i)&&domUtils.remove(i),t.selectNode(n).select(),e.fireEvent("saveScene"))}})}),e.addListener("keyup",function(t,n){if(13==(n.keyCode||n.which)){var i,o=e.selection.getRange();(i=domUtils.findParentByTagName(o.startContainer,"p",!0))&&"center"==domUtils.getComputedStyle(i,"text-align")&&domUtils.removeStyle(i,"text-align")}})},UE.plugins.undo=function(){var e,t=this,n=t.options.maxUndoCount||20,i=t.options.maxInputCount||20,o=new RegExp(domUtils.fillChar+"|</hr>","gi"),a={ol:1,ul:1,table:1,tbody:1,tr:1,body:1},r=t.options.autoClearEmptyNode;function s(e,t){if(e.length!=t.length)return 0;for(var n=0,i=e.length;n<i;n++)if(e[n]!=t[n])return 0;return 1}t.undoManger=new function(){this.list=[],this.index=0,this.hasUndo=!1,this.hasRedo=!1,this.undo=function(){if(this.hasUndo){if(!this.list[this.index-1]&&1==this.list.length)return void this.reset();for(;this.list[this.index].content==this.list[this.index-1].content;)if(this.index--,0==this.index)return this.restore(0);this.restore(--this.index)}},this.redo=function(){if(this.hasRedo){for(;this.list[this.index].content==this.list[this.index+1].content;)if(this.index++,this.index==this.list.length-1)return this.restore(this.index);this.restore(++this.index)}},this.restore=function(){var e=this.editor,t=this.list[this.index],n=UE.htmlparser(t.content.replace(o,""));e.options.autoClearEmptyNode=!1,e.filterInputRule(n),e.options.autoClearEmptyNode=r,e.document.body.innerHTML=n.toHtml(),e.fireEvent("afterscencerestore"),browser.ie&&utils.each(domUtils.getElementsByTagName(e.document,"td th caption p"),function(t){domUtils.isEmptyNode(t)&&domUtils.fillNode(e.document,t)});try{var i=new dom.Range(e.document).moveToAddress(t.address);i.select(a[i.startContainer.nodeName.toLowerCase()])}catch(e){}this.update(),this.clearKey(),e.fireEvent("reset",!0)}
12,this.getScene=function(){var e=this.editor,t=e.selection.getRange().createAddress(!1,!0);e.fireEvent("beforegetscene");var n=UE.htmlparser(e.body.innerHTML);e.options.autoClearEmptyNode=!1,e.filterOutputRule(n),e.options.autoClearEmptyNode=r;var i=n.toHtml();return e.fireEvent("aftergetscene"),{address:t,content:i}},this.save=function(i,o){clearTimeout(e);var a=this.getScene(o),r=this.list[this.index];r&&r.content!=a.content&&t.trigger("contentchange"),r&&r.content==a.content&&(i||function(e,t){return e.collapsed!=t.collapsed?0:s(e.startAddress,t.startAddress)&&s(e.endAddress,t.endAddress)?1:0}(r.address,a.address))||(this.list=this.list.slice(0,this.index+1),this.list.push(a),this.list.length>n&&this.list.shift(),this.index=this.list.length-1,this.clearKey(),this.update())},this.update=function(){this.hasRedo=!!this.list[this.index+1],this.hasUndo=!!this.list[this.index-1]},this.reset=function(){this.list=[],this.index=0,this.hasUndo=!1,this.hasRedo=!1,this.clearKey()},this.clearKey=function(){d=0,null}},t.undoManger.editor=t,t.addListener("saveScene",function(){var e=Array.prototype.splice.call(arguments,1);this.undoManger.save.apply(this.undoManger,e)}),t.addListener("reset",function(e,t){t||this.undoManger.reset()}),t.commands.redo=t.commands.undo={execCommand:function(e){this.undoManger[e]()},queryCommandState:function(e){return this.undoManger["has"+("undo"==e.toLowerCase()?"Undo":"Redo")]?0:-1},notNeedUndo:1};var l={16:1,17:1,18:1,37:1,38:1,39:1,40:1},d=0,c=!1;t.addListener("ready",function(){domUtils.on(this.body,"compositionstart",function(){c=!0}),domUtils.on(this.body,"compositionend",function(){c=!1})}),t.addshortcutkey({Undo:"ctrl+90",Redo:"ctrl+89"});var u=!0;t.addListener("keydown",function(t,n){var o=this,a=n.keyCode||n.which;if(!(l[a]||n.ctrlKey||n.metaKey||n.shiftKey||n.altKey)){if(c)return;if(!o.selection.getRange().collapsed)return o.undoManger.save(!1,!0),void(u=!1);function r(e){e.undoManger.save(!1,!0),e.fireEvent("selectionchange")}
120==o.undoManger.list.length&&o.undoManger.save(!0),clearTimeout(e),e=setTimeout(function(){if(c)var e=setInterval(function(){c||(r(o),clearInterval(e))},300);else r(o)},200),a,++d>=i&&r(o)}}),t.addListener("keyup",function(e,t){var n=t.keyCode||t.which;if(!(l[n]||t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){if(c)return;u||(this.undoManger.save(!1,!0),u=!0)}}),t.stopCmdUndo=function(){t.__hasEnterExecCommand=!0},t.startCmdUndo=function(){t.__hasEnterExecCommand=!1}},UE.plugin.register("copy",function(){var e=this;function t(){ZeroClipboard.config({debug:!1,swfPath:e.options.UEDITOR_HOME_URL+"third-party/zeroclipboard/ZeroClipboard.swf"});var t=e.zeroclipboard=new ZeroClipboard;t.on("copy",function(t){var n=t.client,i=e.selection.getRange(),o=document.createElement("div");o.appendChild(i.cloneContents()),n.setText(o.innerText||o.textContent),n.setHtml(o.innerHTML),i.select()}),t.on("mouseover mouseout",function(e){var t=e.target;"mouseover"==e.type?domUtils.addClass(t,"edui-state-hover"):"mouseout"==e.type&&domUtils.removeClasses(t,"edui-state-hover")}),t.on("wrongflash noflash",function(){ZeroClipboard.destroy()})}return{bindEvents:{ready:function(){browser.ie||(window.ZeroClipboard?t():utils.loadFile(document,{src:e.options.UEDITOR_HOME_URL+"third-party/zeroclipboard/ZeroClipboard.js",tag:"script",type:"text/javascript",defer:"defer"},function(){t()}))}},commands:{copy:{execCommand:function(t){e.document.execCommand("copy")||alert(e.getLang("copymsg"))}}}}}),UE.plugins.paste=function(){function e(e){var t=this.document;if(!t.getElementById("baidu_pastebin")){var n=this.selection.getRange(),i=n.createBookmark(),o=t.createElement("div");o.id="baidu_pastebin",browser.webkit&&o.appendChild(t.createTextNode(domUtils.fillChar+domUtils.fillChar)),t.body.appendChild(o),i.start.style.display="",o.style.cssText="position:absolute;width:1px;height:1px;overflow:hidden;left:-1000px;white-space:nowrap;top:"+domUtils.getXY(i.start).y+"px",n.selectNodeContents(o).select(!0),setTimeout(function(){if(browser.webkit)for(var a,r=0,s=t.querySelectorAll("#baidu_pastebin");a=s[r++];){if(!domUtils.isEmptyNode(a)){o=a;break}domUtils.remove(a)}try{o.parentNode.removeChild(o)}catch(e){}n.moveToBookmark(i).select(!0),e(o)},0)}}var t,n,i,o=this;function a(e){return e.replace(/<(\/?)([\w\-]+)([^>]*)>/gi,function(e,t,n,i){return{img:1}[n=n.toLowerCase()]?e:(i=i.replace(/([\w\-]*?)\s*=\s*(("([^"]*)")|('([^']*)')|([^\s>]+))/gi,function(e,t,n){return{src:1,href:1,name:1}[t.toLowerCase()]?t+"="+n+" ":""}),{span:1,div:1}[n]?"":"<"+t+n+" "+utils.trim(i)+">")})}function r(e){var r;if(e.firstChild){for(var s,l=domUtils.getElementsByTagName(e,"span"),d=0;s=l[d++];)"_baidu_cut_start"!=s.id&&"_baidu_cut_end"!=s.id||domUtils.remove(s);if(browser.webkit){var c,u=e.querySelectorAll("div br");for(d=0;c=u[d++];){var m=c.parentNode;"DIV"==m.tagName&&1==m.childNodes.length&&(m.innerHTML="<p><br/></p>",domUtils.remove(m))}var p,h=e.querySelectorAll("#baidu_pastebin");for(d=0;p=h[d++];){var g=o.document.createElement("p");for(p.parentNode.insertBefore(g,p);p.firstChild;)g.appendChild(p.firstChild);domUtils.remove(p)}var f=e.querySelectorAll("meta");for(d=0;b=f[d++];)domUtils.remove(b);u=e.querySelectorAll("br");for(d=0;b=u[d++];)/^apple-/i.test(b.className)&&domUtils.remove(b)}if(browser.gecko){var v=e.querySelectorAll("[_moz_dirty]");for(d=0;b=v[d++];)b.removeAttribute("_moz_dirty")}if(!browser.ie){var b,y=e.querySelectorAll("span.Apple-style-span");for(d=0;b=y[d++];)domUtils.remove(b,!0)}r=e.innerHTML,r=UE.filterWord(r);var w=UE.htmlparser(r);if(o.options.filterRules&&UE.filterNode(w,o.options.filterRules),o.filterInputRule(w),browser.webkit){var x=w.lastChild();x&&"element"==x.type&&"br"==x.tagName&&w.removeChild(x),utils.each(o.body.querySelectorAll("div"),function(e){domUtils.isEmptyBlock(e)&&domUtils.remove(e,!0)})}if(r={html:w.toHtml()},o.fireEvent("beforepaste",r,w),!r.html)return;w=UE.htmlparser(r.html,!0),1===o.queryCommandState("pasteplain")?o.execCommand("insertHtml",UE.filterNode(w,o.options.filterTxtRules).toHtml(),!0):(UE.filterNode(w,o.options.filterTxtRules),t=w.toHtml(),n=r.html,i=o.selection.getRange().createAddress(!0),o.execCommand("insertHtml",!0===o.getOpt("retainOnlyLabelPasted")?a(n):n,!0)),o.fireEvent("afterpaste",r)}}o.setOpt({retainOnlyLabelPasted:!1}),o.addListener("pasteTransfer",function(e,r){if(i&&t&&n&&t!=n){var s=o.selection.getRange();if(s.moveToAddress(i,!0),!s.collapsed){for(;!domUtils.isBody(s.startContainer);){var l=s.startContainer;if(1==l.nodeType){if(!(l=l.childNodes[s.startOffset])){s.setStartBefore(s.startContainer);continue}var d=l.previousSibling;d&&3==d.nodeType&&new RegExp("^[\n\r\t "+domUtils.fillChar+"]*$").test(d.nodeValue)&&s.setStartBefore(d)}if(0!=s.startOffset)break;s.setStartBefore(s.startContainer)}for(;!domUtils.isBody(s.endContainer);){var c=s.endContainer;if(1==c.nodeType){if(!(c=c.childNodes[s.endOffset])){s.setEndAfter(s.endContainer);continue}var u=c.nextSibling;u&&3==u.nodeType&&new RegExp("^[\n\r\t"+domUtils.fillChar+"]*$").test(u.nodeValue)&&s.setEndAfter(u)}if(s.endOffset!=s.endContainer[3==s.endContainer.nodeType?"nodeValue":"childNodes"].length)break;s.setEndAfter(s.endContainer)}}s.deleteContents(),s.select(!0),o.__hasEnterExecCommand=!0;var m=n;2===r?m=a(m):r&&(m=t),o.execCommand("inserthtml",m,!0),o.__hasEnterExecCommand=!1;for(var p=o.selection.getRange();!domUtils.isBody(p.startContainer)&&!p.startOffset&&p.startContainer[3==p.startContainer.nodeType?"nodeValue":"childNodes"].length;)p.setStartBefore(p.startContainer);var h=p.createAddress(!0);i.endAddress=h.startAddress}}),o.addListener("ready",function(){domUtils.on(o.body,"cut",function(){!o.selection.getRange().collapsed&&o.undoManger&&o.undoManger.save()}),domUtils.on(o.body,browser.ie||browser.opera?"keydown":"paste",function(t){(!browser.ie&&!browser.opera||(t.ctrlKey||t.metaKey)&&"86"==t.keyCode)&&e.call(o,function(e){r(e)})})}),o.commands.paste={execCommand:function(t){browser.ie?(e.call(o,function(e){r(e)}),o.document.execCommand("paste")):alert(o.getLang("pastemsg"))}}},UE.plugins.pasteplain=function(){this.setOpt({pasteplain:!1,filterTxtRules:function(){function e(e){e.tagName="p",e.setStyle()}function t(e){e.parentNode.removeChild(e,!0)}return{"-":"script style object iframe embed input select",p:{$:{}},br:{$:{}},div:function(e){for(var t,n=UE.uNode.createElement("p");t=e.firstChild();)"text"!=t.type&&UE.dom.dtd.$block[t.tagName]?n.firstChild()?(e.parentNode.insertBefore(n,e),n=UE.uNode.createElement("p")):e.parentNode.insertBefore(t,e):n.appendChild(t);n.firstChild()&&e.parentNode.insertBefore(n,e),e.parentNode.removeChild(e)},ol:t,ul:t,dl:t,dt:t,dd:t,li:t,caption:e,th:e,tr:e,h1:e,h2:e,h3:e,h4:e,h5:e,h6:e,td:function(e){!!e.innerText()&&e.parentNode.insertAfter(UE.uNode.createText(" &nbsp; &nbsp;"),e),e.parentNode.removeChild(e,e.innerText())}}}()});var e=this.options.pasteplain;this.commands.pasteplain={queryCommandState:function(){return e?1:0},execCommand:function(){e=0|!e},notNeedUndo:1}},UE.plugins.list=function(){var e=this,t={TD:1,PRE:1,BLOCKQUOTE:1}
12,n={cn:"cn-1-",cn1:"cn-2-",cn2:"cn-3-",num:"num-1-",num1:"num-2-",num2:"num-3-",dash:"dash",dot:"dot"};function i(e){var t=[];for(var n in e)t.push(n);return t}e.setOpt({autoTransWordToList:!1,insertorderedlist:{decimal:"","lower-alpha":"","lower-roman":"","upper-alpha":"","upper-roman":""},insertunorderedlist:{circle:"",disc:"",square:""},listDefaultPaddingLeft:"30",listiconpath:"http://bs.baidu.com/listicon/",maxListLevel:-1,disablePInList:!1});var o={OL:i(e.options.insertorderedlist),UL:i(e.options.insertunorderedlist)},a=e.options.listiconpath;for(var r in n)e.options.insertorderedlist.hasOwnProperty(r)||e.options.insertunorderedlist.hasOwnProperty(r)||delete n[r];function s(e){var t=e.className;return domUtils.hasClass(e,/custom_/)?t.match(/custom_(\w+)/)[1]:domUtils.getStyle(e,"list-style-type")}function l(e,t){utils.each(domUtils.getElementsByTagName(e,"ol ul"),function(i){if(domUtils.inDoc(i,e)){var a=i.parentNode;if(a.tagName==i.tagName){var r=s(i)||("OL"==i.tagName?"decimal":"disc");if(r==(s(a)||("OL"==a.tagName?"decimal":"disc"))){var l=utils.indexOf(o[i.tagName],r);l=l+1==o[i.tagName].length?0:l+1,c(i,o[i.tagName][l])}}var u=0,m=2;domUtils.hasClass(i,/custom_/)?/[ou]l/i.test(a.tagName)&&domUtils.hasClass(a,/custom_/)||(m=1):/[ou]l/i.test(a.tagName)&&domUtils.hasClass(a,/custom_/)&&(m=3);var p=domUtils.getStyle(i,"list-style-type");p&&(i.style.cssText="list-style-type:"+p),i.className=utils.trim(i.className.replace(/list-paddingleft-\w+/,""))+" list-paddingleft-"+m,utils.each(domUtils.getElementsByTagName(i,"li"),function(e){if(e.style.cssText&&(e.style.cssText=""),e.firstChild){if(e.parentNode===i){if(u++,domUtils.hasClass(i,/custom_/)){var t=1,o=s(i);if("OL"==i.tagName){if(o)switch(o){case"cn":case"cn1":case"cn2":u>10&&(u%10==0||u>10&&u<20)?t=2:u>20&&(t=3);break;case"num2":u>9&&(t=2)}e.className="list-"+n[o]+u+" list-"+o+"-paddingleft-"+t}else e.className="list-"+n[o]+" list-"+o+"-paddingleft"}else e.className=e.className.replace(/list-[\w\-]+/gi,"");var a=e.getAttribute("class");null===a||a.replace(/\s/g,"")||domUtils.removeAttributes(e,"class")}}else domUtils.remove(e)}),!t&&d(i,i.tagName.toLowerCase(),s(i)||domUtils.getStyle(i,"list-style-type"),!0)}})}function d(e,t,n,i){var o=e.nextSibling;o&&1==o.nodeType&&o.tagName.toLowerCase()==t&&(s(o)||domUtils.getStyle(o,"list-style-type")||("ol"==t?"decimal":"disc"))==n&&(domUtils.moveChild(o,e),0==o.childNodes.length&&domUtils.remove(o)),o&&domUtils.isFillChar(o)&&domUtils.remove(o);var a=e.previousSibling;a&&1==a.nodeType&&a.tagName.toLowerCase()==t&&(s(a)||domUtils.getStyle(a,"list-style-type")||("ol"==t?"decimal":"disc"))==n&&domUtils.moveChild(e,a),a&&domUtils.isFillChar(a)&&domUtils.remove(a),!i&&domUtils.isEmptyBlock(e)&&domUtils.remove(e),s(e)&&l(e.ownerDocument,!0)}function c(e,t){n[t]&&(e.className="custom_"+t);try{domUtils.setStyle(e,"list-style-type",t)}catch(e){}}function u(e){var t=e.previousSibling;t&&domUtils.isEmptyBlock(t)&&domUtils.remove(t),(t=e.nextSibling)&&domUtils.isEmptyBlock(t)&&domUtils.remove(t)}function m(e){for(;e&&!domUtils.isBody(e);){if("TABLE"==e.nodeName)return null;if("LI"==e.nodeName)return e;e=e.parentNode}}e.ready(function(){var t=[];for(var i in n){if("dash"==i||"dot"==i)t.push("li.list-"+n[i]+"{background-image:url("+a+n[i]+".gif)}"),t.push("ul.custom_"+i+"{list-style:none;}ul.custom_"+i+" li{background-position:0 3px;background-repeat:no-repeat}");else{for(var o=0;o<99;o++)t.push("li.list-"+n[i]+o+"{background-image:url("+a+"list-"+n[i]+o+".gif)}");t.push("ol.custom_"+i+"{list-style:none;}ol.custom_"+i+" li{background-position:0 3px;background-repeat:no-repeat}")}switch(i){case"cn":t.push("li.list-"+i+"-paddingleft-1{padding-left:25px}"),t.push("li.list-"+i+"-paddingleft-2{padding-left:40px}"),t.push("li.list-"+i+"-paddingleft-3{padding-left:55px}");break;case"cn1":t.push("li.list-"+i+"-paddingleft-1{padding-left:30px}"),t.push("li.list-"+i+"-paddingleft-2{padding-left:40px}"),t.push("li.list-"+i+"-paddingleft-3{padding-left:55px}");break;case"cn2":t.push("li.list-"+i+"-paddingleft-1{padding-left:40px}"),t.push("li.list-"+i+"-paddingleft-2{padding-left:55px}"),t.push("li.list-"+i+"-paddingleft-3{padding-left:68px}");break;case"num":case"num1":t.push("li.list-"+i+"-paddingleft-1{padding-left:25px}");break;case"num2":t.push("li.list-"+i+"-paddingleft-1{padding-left:35px}"),t.push("li.list-"+i+"-paddingleft-2{padding-left:40px}");break;case"dash":t.push("li.list-"+i+"-paddingleft{padding-left:35px}");break;case"dot":t.push("li.list-"+i+"-paddingleft{padding-left:20px}")}}t.push(".list-paddingleft-1{padding-left:0}"),t.push(".list-paddingleft-2{padding-left:"+e.options.listDefaultPaddingLeft+"px}"),t.push(".list-paddingleft-3{padding-left:"+2*e.options.listDefaultPaddingLeft+"px}"),utils.cssRule("list","ol,ul{margin:0;pading:0;"+(browser.ie?"":"width:95%")+"}li{clear:both;}"+t.join("\n"),e.document)}),e.ready(function(){domUtils.on(e.body,"cut",function(){setTimeout(function(){var t,n=e.selection.getRange();if(!n.collapsed&&(t=domUtils.findParentByTagName(n.startContainer,"li",!0))&&!t.nextSibling&&domUtils.isEmptyBlock(t)){var i,o=t.parentNode;if(i=o.previousSibling)domUtils.remove(o),n.setStartAtLast(i).collapse(!0),n.select(!0);else if(i=o.nextSibling)domUtils.remove(o),n.setStartAtFirst(i).c
12ollapse(!0),n.select(!0);else{var a=e.document.createElement("p");domUtils.fillNode(e.document,a),o.parentNode.insertBefore(a,o),domUtils.remove(o),n.setStart(a,0).collapse(!0),n.select(!0)}}})})}),e.addListener("beforepaste",function(e,t){var i,a=this.selection.getRange(),r=UE.htmlparser(t.html,!0);if(i=domUtils.findParentByTagName(a.startContainer,"li",!0)){var l=i.parentNode,d="OL"==l.tagName?"ul":"ol";utils.each(r.getNodesByTagName(d),function(t){if(t.tagName=l.tagName,t.setAttr(),t.parentNode===r)e=s(l)||("OL"==l.tagName?"decimal":"disc");else{var i=t.parentNode.getAttr("class");(e=i&&/custom_/.test(i)?i.match(/custom_(\w+)/)[1]:t.parentNode.getStyle("list-style-type"))||(e="OL"==l.tagName?"decimal":"disc")}var a=utils.indexOf(o[l.tagName],e);t.parentNode!==r&&(a=a+1==o[l.tagName].length?0:a+1);var d=o[l.tagName][a];n[d]?t.setAttr("class","custom_"+d):t.setStyle("list-style-type",d)})}t.html=r.toHtml()}),!0===e.getOpt("disablePInList")&&e.addOutputRule(function(e){utils.each(e.getNodesByTagName("li"),function(e){var t=[],n=0;utils.each(e.children,function(i){if("p"==i.tagName){for(var o;o=i.children.pop();)t.splice(n,0,o),o.parentNode=e,lastNode=o;if(!(o=t[t.length-1])||"element"!=o.type||"br"!=o.tagName){var a=UE.uNode.createElement("br");a.parentNode=e,t.push(a)}n=t.length}}),t.length&&(e.children=t)})}),e.addInputRule(function(t){if(utils.each(t.getNodesByTagName("li"),function(e){for(var t,n=UE.uNode.createElement("p"),i=0;t=e.children[i];)"text"==t.type||dtd.p[t.tagName]?n.appendChild(t):n.firstChild()?(e.insertBefore(n,t),n=UE.uNode.createElement("p"),i+=2):i++;(n.firstChild()&&!n.parentNode||!e.firstChild())&&e.appendChild(n),n.firstChild()||n.innerHTML(browser.ie?"&nbsp;":"<br/>");var o=e.firstChild(),a=o.lastChild();a&&"text"==a.type&&/^\s*$/.test(a.data)&&o.removeChild(a)}),e.options.autoTransWordToList){var i={num1:/^\d+\)/,decimal:/^\d+\./,"lower-alpha":/^[a-z]+\)/,"upper-alpha":/^[A-Z]+\./,cn:/^[\u4E00\u4E8C\u4E09\u56DB\u516d\u4e94\u4e03\u516b\u4e5d]+[\u3001]/,cn2:/^\([\u4E00\u4E8C\u4E09\u56DB\u516d\u4e94\u4e03\u516b\u4e5d]+\)/},o={square:"n"};function a(e,t){var n=t.firstChild();if(n&&"element"==n.type&&"span"==n.tagName&&/Wingdings|Symbol/.test(n.getStyle("font-family"))){for(var a in o)if(o[a]==n.data)return a;return"disc"}for(var a in i)if(i[a].test(e))return a}utils.each(t.getNodesByTagName("p"),function(t){if("MsoListParagraph"==t.getAttr("class")){t.setStyle("margin",""),t.setStyle("margin-left",""),t.setAttr("class","");var o,r=t,s=t;if("li"!=t.parentNode.tagName&&(o=a(t.innerText(),t))){var l=UE.uNode.createElement(e.options.insertorderedlist.hasOwnProperty(o)?"ol":"ul");for(n[o]?l.setAttr("class","custom_"+o):l.setStyle("list-style-type",o);t&&"li"!=t.parentNode.tagName&&a(t.innerText(),t);)(r=t.nextSibling())||t.parentNode.insertBefore(l,t),c(l,t,o),t=r;!l.parentNode&&t&&t.parentNode&&t.parentNode.insertBefore(l,t)}var d=s.firstChild();d&&"element"==d.type&&"span"==d.tagName&&/^\s*(&nbsp;)+\s*$/.test(d.innerText())&&d.parentNode.removeChild(d)}function c(e,t,n){if("ol"==e.tagName)if(browser.ie){var o=t.firstChild();"element"==o.type&&"span"==o.tagName&&i[n].test(o.innerText())&&t.removeChild(o)}else t.innerHTML(t.innerHTML().replace(i[n],""));else t.removeChild(t.firstChild());var a=UE.uNode.createElement("li");a.appendChild(t),e.appendChild(a)}})}}),e.addListener("contentchange",function(){l(e.document)}),e.addListener("keydown",function(t,n){function i(){n.preventDefault?n.preventDefault():n.returnValue=!1,e.fireEvent("contentchange"),e.undoManger&&e.undoManger.save()}function o(e,t){for(;e&&!domUtils.isBody(e);){if(t(e))return null;if(1==e.nodeType&&/[ou]l/i.test(e.tagName))return e;e=e.parentNode}return null}var a=n.keyCode||n.which;if(13==a&&!n.shiftKey){var r=e.selection.getRange(),s=domUtils.findParent(r.startContainer,function(e){return domUtils.isBlockElm(e)},!0),l=domUtils.findParentByTagName(r.startContainer,"li",!0);if(s&&"PRE"!=s.tagName&&!l){var d=s.innerHTML.replace(new RegExp(domUtils.fillChar,"g"),"");/^\s*1\s*\.[^\d]/.test(d)&&(s.innerHTML=d.replace(/^\s*1\s*\./,""),r.setStartAtLast(s).collapse(!0).select(),e.__hasEnterExecCommand=!0,e.execCommand("insertorderedlist"),e.__hasEnterExecCommand=!1)}var c=e.selection.getRange(),m=o(c.startContainer,function(e){return"TABLE"==e.tagName}),p=c.collapsed?m:o(c.endContainer,function(e){return"TABLE"==e.tagName});if(m&&p&&m===p){if(!c.collapsed){if(m=domUtils.findParentByTagName(c.startContainer,"li",!0),p=domUtils.findParentByTagName(c.endContainer,"li",!0),!m||!p||m!==p){var h=c.cloneRange(),g=h.collapse(!1).createBookmark();return c.deleteContents(),h.moveToBookmark(g),u(l=domUtils.findParentByTagName(h.startContainer,"li",!0)),h.select(),void i()}if(c.deleteContents(),(l=domUtils.findParentByTagName(c.startContainer,"li",!0))&&domUtils.isEmptyBlock(l))return w=l.previousSibling,next=l.nextSibling,v=e.document.createElement("p"),domUtils.fillNode(e.document,v),x=l.parentNode,w&&next?(c.setStart(next,0).collapse(!0).select(!0),domUtils.remove(l)):((w||next)&&w?l.parentNode.parentNode.insertBefore(v,x.nextSibling):x.parentNode.insertBefore(v,x),domUtils.remove(l),x.firstChild||domUtils.remove(x),c.setStart(v,0).setCursor()),void i()}if(l=domUtils.findParentByTagName(c.startContainer,"li",!0)){if(domUtils.isEmptyBlock(l)){if(g=c.createBookmark(),l!==(x=l.parentNode).lastChild?(domUtils.breakParent(l,x),u(l)):(x.parentNode.insertBefore(l,x.nextSibling),domUtils.isEmptyNode(x)&&domUtils.remove(x)),!dtd.$list[l.parentNode.tagName])if(domUtils.isBlockElm(l.firstChild))domUtils.remove(l,!0);else{for(v=e.document.createElement("p"),l.parentNode.insertBefore(v,l);l.firstChild;)v.appendChild(l.firstChild);domUtils.remove(l)}c.moveToBookmark(g).select()}else{var f=l.firstChild;if(!f||!domUtils.isBlockElm(f)){var v=e.document.createElement("p");for(!l.firstChild&&domUtils.fillNode(e.document,v);l.firstChild;)v.appendChild(l.firstChild);l.appendChild(v),f=v}var b=e.document.createElement("span");c.insertNode(b),domUtils.breakParent(b,l);var y=b.nextSibling;(f=y.firstChild)||(v=e.document.createElement("p"),domUtils.fillNode(e.document,v),y.appendChild(v),f=v),domUtils.isEmptyNode(f)&&(f.innerHTML="",domUtils.fillNode(e.document,f)),c.setStart(f,0).collapse(!0).shrinkBoundary().select(),domUtils.remove(b);var w=y.previousSibling;w&&domUtils.isEmptyBlock(w)&&(w.innerHTML="<p></p>",domUtils.fillNode(e.document,w.firstChild))}i()}}}if(8==a&&(c=e.selection.getRange()).collapsed&&domUtils.isStartInblock(c)&&(h=c.cloneRange().trimBoundary(),(l=domUtils.findParentByTagName(c.startContainer,"li",!0))&&domUtils.isStartInblock(h))){if((m=domUtils.findParentByTagName(c.startContainer,"p",!0))&&m!==l.firstChild){var x=domUtils.findParentByTagName(m,["ol","ul"]);return domUtils.breakParent(m,x),u(m),e.fireEvent("contentchange"),c.setStart(m,0).setCursor(!1,!0),e.fireEvent("saveScene"),void domUtils.preventDefault(n)}if(l&&(w=l.previousSibling)){if(46==a&&l.childNodes.length)return;if(dtd.$list[w.tagName]&&(w=w.lastChild),e.undoManger&&e.undoManger.save(),f=l.firstChild,domUtils.isBlockElm(f))if(domUtils.isEmptyNode(f))for(w.appendChild(f),c.setStart(f,0).setCursor(!1,!0);l.firstChild;)w.appendChild(l.firstChild);else b=e.document.createElement("span"),c.insertNode(b),domUtils.isEmptyBlock(w)&&(w.innerHTML=""),domUtils.moveChild(l,w),c.setStartBefore(b).collapse(!0).select(!0),domUtils.remove(b);else if(domUtils.isEmptyNode(l)){v=e.document.createElement("p");w.appendChild(v),c.setStart(v,0).setCursor()}else for(c.setEnd(w,w.childNodes.length).collapse().select(!0);l.firstChild;)w.appendChild(l.firstChild);return domUtils.remove(l),e.fireEvent("contentchange"),e.fireEvent("saveScene"),void domUtils.preventDefault(n)}if(l&&!l.previousSibling){x=l.parentNode,g=c.createBookmark();
12if(domUtils.isTagNode(x.parentNode,"ol ul"))x.parentNode.insertBefore(l,x),domUtils.isEmptyNode(x)&&domUtils.remove(x);else{for(;l.firstChild;)x.parentNode.insertBefore(l.firstChild,x);domUtils.remove(l),domUtils.isEmptyNode(x)&&domUtils.remove(x)}return c.moveToBookmark(g).setCursor(!1,!0),e.fireEvent("contentchange"),e.fireEvent("saveScene"),void domUtils.preventDefault(n)}}}),e.addListener("keyup",function(t,n){if(8==(n.keyCode||n.which)){var i,o=e.selection.getRange();(i=domUtils.findParentByTagName(o.startContainer,["ol","ul"],!0))&&d(i,i.tagName.toLowerCase(),s(i)||domUtils.getComputedStyle(i,"list-style-type"),!0)}}),e.addListener("tabkeydown",function(){var t=e.selection.getRange();function n(t){if(-1!=e.options.maxListLevel){for(var n=t.parentNode,i=0;/[ou]l/i.test(n.tagName);)i++,n=n.parentNode;if(i>=e.options.maxListLevel)return!0}}var i=domUtils.findParentByTagName(t.startContainer,"li",!0);if(i){var a;if(!t.collapsed){e.fireEvent("saveScene"),a=t.createBookmark();for(var r,l,u=0,m=domUtils.findParents(i);l=m[u++];)if(domUtils.isTagNode(l,"ol ul")){r=l;break}var p=i;if(a.end)for(;p&&!(domUtils.getPosition(p,a.end)&domUtils.POSITION_FOLLOWING);)if(n(p))p=domUtils.getNextDomNode(p,!1,null,function(e){return e!==r});else{v=p.parentNode,b=e.document.createElement(v.tagName);var h=(g=utils.indexOf(o[b.tagName],s(v)||domUtils.getComputedStyle(v,"list-style-type")))+1==o[b.tagName].length?0:g+1;for(c(b,f=o[b.tagName][h]),v.insertBefore(b,p);p&&!(domUtils.getPosition(p,a.end)&domUtils.POSITION_FOLLOWING);){if(i=p.nextSibling,b.appendChild(p),!i||domUtils.isTagNode(i,"ol ul")){if(i)for(;(i=i.firstChild)&&"LI"!=i.tagName;);else i=domUtils.getNextDomNode(p,!1,null,function(e){return e!==r});break}p=i}d(b,b.tagName.toLowerCase(),f),p=i}return e.fireEvent("contentchange"),t.moveToBookmark(a).select(),!0}if(n(i))return!0;var g,f,v=i.parentNode,b=e.document.createElement(v.tagName);if(g=(g=utils.indexOf(o[b.tagName],s(v)||domUtils.getComputedStyle(v,"list-style-type")))+1==o[b.tagName].length?0:g+1,c(b,f=o[b.tagName][g]),domUtils.isStartInblock(t))return e.fireEvent("saveScene"),a=t.createBookmark(),v.insertBefore(b,i),b.appendChild(i),d(b,b.tagName.toLowerCase(),f),e.fireEvent("contentchange"),t.moveToBookmark(a).select(!0),!0}}),e.commands.insertorderedlist=e.commands.insertunorderedlist={execCommand:function(e,n){
12n||(n="insertorderedlist"==e.toLowerCase()?"decimal":"disc");var i=this,o=this.selection.getRange(),a=function(e){return 1==e.nodeType?"br"!=e.tagName.toLowerCase():!domUtils.isWhitespace(e)},r="insertorderedlist"==e.toLowerCase()?"ol":"ul",l=i.document.createDocumentFragment();o.adjustmentBoundary().shrinkBoundary();var u,p,h,g,f=o.createBookmark(!0),v=m(i.document.getElementById(f.start)),b=0,y=m(i.document.getElementById(f.end)),w=0;if(v||y){if(v&&(u=v.parentNode),f.end||(y=v),y&&(p=y.parentNode),u===p){for(;v!==y;){if(g=v,v=v.nextSibling,!domUtils.isBlockElm(g.firstChild)){for(var x=i.document.createElement("p");g.firstChild;)x.appendChild(g.firstChild);g.appendChild(x)}l.appendChild(g)}if(g=i.document.createElement("span"),u.insertBefore(g,y),!domUtils.isBlockElm(y.firstChild)){for(x=i.document.createElement("p");y.firstChild;)x.appendChild(y.firstChild);y.appendChild(x)}l.appendChild(y),domUtils.breakParent(g,u),domUtils.isEmptyNode(g.previousSibling)&&domUtils.remove(g.previousSibling),domUtils.isEmptyNode(g.nextSibling)&&domUtils.remove(g.nextSibling);var C=s(u)||domUtils.getComputedStyle(u,"list-style-type")||("insertorderedlist"==e.toLowerCase()?"decimal":"disc");if(u.tagName.toLowerCase()==r&&C==n){for(var _=0,N=i.document.createDocumentFragment();M=l.firstChild;)if(domUtils.isTagNode(M,"ol ul"))N.appendChild(M);else for(;M.firstChild;)N.appendChild(M.firstChild),domUtils.remove(M);g.parentNode.insertBefore(N,g)}else c(h=i.document.createElement(r),n),h.appendChild(l),g.parentNode.insertBefore(h,g);return domUtils.remove(g),h&&d(h,r,n),void o.moveToBookmark(f).select()}if(v){for(;v;){if(g=v.nextSibling,domUtils.isTagNode(v,"ol ul"))l.appendChild(v);else{for(var k=i.document.createDocumentFragment(),U=0;v.firstChild;)domUtils.isBlockElm(v.firstChild)&&(U=1),k.appendChild(v.firstChild);if(U)l.appendChild(k);else{var E=i.document.createElement("p");E.appendChild(k),l.appendChild(E)}domUtils.remove(v)}v=g}u.parentNode.insertBefore(l,u.nextSibling),domUtils.isEmptyNode(u)?(o.setStartBefore(u),domUtils.remove(u)):o.setStartAfter(u),b=1}if(y&&domUtils.inDoc(p,i.document)){for(v=p.firstChild;v&&v!==y;){if(g=v.nextSibling,domUtils.isTagNode(v,"ol ul"))l.appendChild(v);else{for(k=i.document.createDocumentFragment(),U=0;v.firstChild;)domUtils.isBlockElm(v.firstChild)&&(U=1),k.appendChild(v.firstChild);U?l.appendChild(k):((E=i.document.createElement("p")).appendChild(k),l.appendChild(E)),domUtils.remove(v)}v=g}var T=domUtils.createElement(i.document,"div",{tmpDiv:1});domUtils.moveChild(y,T),l.appendChild(T),domUtils.remove(y),p.parentNode.insertBefore(l,p),o.setEndBefore(p),domUtils.isEmptyNode(p)&&domUtils.remove(p),w=1}}b||o.setStartBefore(i.document.getElementById(f.start)),f.end&&!w&&o.setEndAfter(i.document.getElementById(f.end)),o.enlarge(!0,function(e){return t[e.tagName]}),l=i.document.createDocumentFragment();for(var S=o.createBookmark(),B=domUtils.getNextDomNode(S.start,!1,a),I=o.cloneRange(),L=domUtils.isBlockElm;B&&B!==S.end&&domUtils.getPosition(B,S.end)&domUtils.POSITION_PRECEDING;)if(3==B.nodeType||dtd.li[B.tagName]){if(1==B.nodeType&&dtd.$list[B.tagName]){for(;B.firstChild;)l.appendChild(B.firstChild);R=domUtils.getNextDomNode(B,!1,a),domUtils.remove(B),B=R;continue}for(R=B,I.setStartBefore(B);B&&B!==S.end&&(!L(B)||domUtils.isBookmarkNode(B));)R=B,B=domUtils.getNextDomNode(B,!1,null,function(e){return!t[e.tagName]});B&&L(B)&&(g=domUtils.getNextDomNode(R,!1,a))&&domUtils.isBookmarkNode(g)&&(B=domUtils.getNextDomNode(g,!1,a),R=g),I.setEndAfter(R),B=domUtils.getNextDomNode(R,!1,a);var A=o.document.createElement("li");if(A.appendChild(I.extractContents()),domUtils.isEmptyNode(A)){for(var R=o.document.createElement("p");A.firstChild;)R.appendChild(A.firstChild);A.appendChild(R)}l.appendChild(A)}else B=domUtils.getNextDomNode(B,!0,a);o.moveToBookmark(S).collapse(!0),c(h=i.document.createElement(r),n),h.appendChild(l),o.insertNode(h),d(h,r,n);_=0;for(var M,O=domUtils.getElementsByTagName(h,"div");M=O[_++];)M.getAttribute("tmpDiv")&&domUtils.remove(M,!0);o.moveToBookmark(f).select()},queryCommandState:function(e){for(var t,n="insertorderedlist"==e.toLowerCase()?"ol":"ul",i=this.selection.getStartElementPath(),o=0;t=i[o++];){if("TABLE"==t.nodeName)return 0;if(n==t.nodeName.toLowerCase())return 1}return 0},queryCommandValue:function(e){for(var t,n,i="insertorderedlist"==e.toLowerCase()?"ol":"ul",o=this.selection.getStartElementPath(),a=0;n=o[a++];){if("TABLE"==n.nodeName){t=null;break}if(i==n.nodeName.toLowerCase()){t=n;break}}return t?s(t)||domUtils.getComputedStyle(t,"list-style-type"):null}}},function(){var e={textarea:function(e,t){var n=t.ownerDocument.createElement("textarea");return n.style.cssText="position:absolute;resize:none;width:100%;height:100%;border:0;padding:0;margin:0;overflow-y:auto;",browser.ie&&browser.version<8&&(n.style.width=t.offsetWidth+"px",n.style.height=t.offsetHeight+"px",t.onresize=function(){n.style.width=t.offsetWidth+"px",n.style.height=t.offsetHeight+"px"}),t.appendChild(n),{setContent:function(e){n.value=e},getContent:function(){return n.value},select:function(){var e;browser.ie?((e=n.createTextRange()).collapse(!0),e.select()):(n.setSelectionRange(0,0),n.focus())},dispose:function(){t.removeChild(n),t.onresize=null,n=null,t=null}}},codemirror:function(e,t){var n=window.CodeMirror(t,{mode:"text/html",tabMode:"indent",lineNumbers:!0,lineWrapping:!0}),i=n.getWrapperElement();return i.style.cssText='position:absolute;
12left:0;top:0;width:100%;height:100%;font-family:consolas,"Courier new",monospace;font-size:13px;',n.getScrollerElement().style.cssText="position:absolute;left:0;top:0;width:100%;height:100%;",n.refresh(),{getCodeMirror:function(){return n},setContent:function(e){n.setValue(e)},getContent:function(){return n.getValue()},select:function(){n.focus()},dispose:function(){t.removeChild(i),i=null,n=null}}}};UE.plugins.source=function(){var t,n,i,o,a,r=this,s=this.options,l=!1;s.sourceEditor=browser.ie?"textarea":s.sourceEditor||"codemirror",r.setOpt({sourceEditorFirst:!1}),r.commands.source={execCommand:function(){if(l=!l){a=r.selection.getRange().createAddress(!1,!0),r.undoManger&&r.undoManger.save(!0),browser.gecko&&(r.body.contentEditable=!1),i=r.iframe.style.cssText,r.iframe.style.cssText+="position:absolute;left:-32768px;top:-32768px;",r.fireEvent("beforegetcontent");var d=UE.htmlparser(r.body.innerHTML);r.filterOutputRule(d),d.traversal(function(e){if("element"==e.type)switch(e.tagName){case"td":case"th":case"caption":e.children&&1==e.children.length&&"br"==e.firstChild().tagName&&e.removeChild(e.firstChild());break;case"pre":e.innerText(e.innerText().replace(/&nbsp;/g," "))}}),r.fireEvent("aftergetcontent");var c=d.toHtml(!0);(t=function(t){return e["codemirror"==s.sourceEditor&&window.CodeMirror?"codemirror":"textarea"](r,t)}(r.iframe.parentNode)).setContent(c),n=r.setContent,r.setContent=function(e){var n=UE.htmlparser(e);r.filterInputRule(n),e=n.toHtml(),t.setContent(e)},setTimeout(function(){t.select(),r.addListener("fullscreenchanged",function(){try{t.getCodeMirror().refresh()}catch(e){}})}),o=r.getContent,r.getContent=function(){return t.getContent()||"<p>"+(browser.ie?"":"<br/>")+"</p>"}}else{r.iframe.style.cssText=i;var u=t.getContent()||"<p>"+(browser.ie?"":"<br/>")+"</p>";u=u.replace(new RegExp("[\\r\\t\\n ]*</?(\\w+)\\s*(?:[^>]*)>","g"),function(e,t){return t&&!dtd.$inlineWithA[t.toLowerCase()]?e.replace(/(^[\n\r\t ]*)|([\n\r\t ]*$)/g,""):e.replace(/(^[\n\r\t]*)|([\n\r\t]*$)/g,"")}),r.setContent=n,r.setContent(u),t.dispose(),t=null,r.getContent=o;var m=r.body.firstChild;if(m||(r.body.innerHTML="<p>"+(browser.ie?"":"<br/>")+"</p>",m=r.body.firstChild),r.undoManger&&r.undoManger.save(!0),browser.gecko){var p=document.createElement("input");p.style.cssText="position:absolute;left:0;top:-32768px",document.body.appendChild(p),r.body.contentEditable=!1,setTimeout(function(){domUtils.setViewportOffset(p,{left:-32768,top:0}),p.focus(),setTimeout(function(){r.body.contentEditable=!0,r.selection.getRange().moveToAddress(a).select(!0),domUtils.remove(p)})})}else try{r.selection.getRange().moveToAddress(a).select(!0)}catch(e){}}this.fireEvent("sourcemodechanged",l)},queryCommandState:function(){return 0|l},notNeedUndo:1};var d=r.queryCommandState;r.queryCommandState=function(e){return e=e.toLowerCase(),l?e in{source:1,fullscreen:1}?1:-1:d.apply(this,arguments)},"codemirror"==s.sourceEditor&&r.addListener("ready",function(){utils.loadFile(document,{src:s.codeMirrorJsUrl||s.UEDITOR_HOME_URL+"third-party/codemirror/codemirror.js",tag:"script",type:"text/javascript",defer:"defer"},function(){s.sourceEditorFirst&&setTimeout(function(){r.execCommand("source")},0)}),utils.loadFile(document,{tag:"link",rel:"stylesheet",type:"text/css",href:s.codeMirrorCssUrl||s.UEDITOR_HOME_URL+"third-party/codemirror/codemirror.css"})})}}(),UE.plugins.enterkey=function(){var e,t=this,n=t.options.enterTag;t.addListener("keyup",function(n,i){if(13==(i.keyCode||i.which)){var o,a=t.selection.getRange(),r=a.startContainer;if(browser.ie)t.fireEvent("saveScene",!0,!0);else{if(/h\d/i.test(e)){if(browser.gecko)domUtils.findParentByTagName(r,["h1","h2","h3","h4","h5","h6","blockquote","caption","table"],!0)||(t.document.execCommand("formatBlock",!1,"<p>"),o=1);else if(1==r.nodeType){var s,l=t.document.createTextNode("");if(a.insertNode(l),s=domUtils.findParentByTagName(l,"div",!0)){for(var d=t.document.createElement("p");s.firstChild;)d.appendChild(s.firstChild);s.parentNode.insertBefore(d,s),domUtils.remove(s),a.setStartBefore(l).setCursor(),o=1}domUtils.remove(l)}t.undoManger&&o&&t.undoManger.save()}browser.opera&&a.select()}}}),t.addListener("keydown",function(i,o){if(13==(o.keyCode||o.which)){if(t.fireEvent("beforeenterkeydown"))return void domUtils.preventDefault(o);t.fireEvent("saveScene",!0,!0),e="";var a=t.selection.getRange();if(!a.collapsed){var r=a.startContainer,s=a.endContainer,l=domUtils.findParentByTagName(r,"td",!0),d=domUtils.findParentByTagName(s,"td",!0);if(l&&d&&l!==d||!l&&d||l&&!d)return void(o.preventDefault?o.preventDefault():o.returnValue=!1)}if("p"==n)browser.ie||((r=domUtils.findParentByTagName(a.startContainer,["ol","ul","p","h1","h2","h3","h4","h5","h6","blockquote","caption"],!0))||browser.opera?(e=r.tagName,"p"==r.tagName.toLowerCase()&&browser.gecko&&domUtils.removeDirtyAttr(r)):(t.document.execCommand("formatBlock",!1,"<p>"),browser.gecko&&(a=t.selection.getRange(),(r=domUtils.findParentByTagName(a.startContainer,"p",!0))&&domUtils.removeDirtyAttr(r))));else if(o.preventDefault?o.preventDefault():o.returnValue=!1,a.collapsed)c=a.document.createElement("br"),a.insertNode(c),c.parentNode.lastChild===c?(c.parentNode.insertBefore(c.cloneNode(!0),c),a.setStartBefore(c)):a.setStartAfter(c),a.setCursor();else if(a.deleteContents(),1==(r=a.startContainer).nodeType&&(r=r.childNodes[a.startOffset])){for(;1==r.nodeType;){if(dtd.$empty[r.tagName])return a.setStartBefore(r).setCursor(),t.undoManger&&t.undoManger.save(),!1;if(!r.firstChild){var c=a.document.createElement("br");return r.appendChild(c),a.setStart(r,0).setCursor(),t.undoManger&&t.undoManger.save(),!1}r=r.firstChild}r===a.startContainer.childNodes[a.startOffset]?(c=a.document.createElement("br"),a.insertNode(c).setCursor()):a.setStart(r,0).setCursor()}else c=a.document.createElement("br"),a.insertNode(c).setStartAfter(c).setCursor()}})},UE.plugins.keystrokes=function(){var e=this,t=!0;e.addListener("keydown",function(n,i){var o=i.keyCode||i.which,a=e.selection.getRange();if(!a.collapsed&&!(i.ctrlKey||i.shiftKey||i.altKey||i.metaKey)&&(o>=65&&o<=90||o>=48&&o<=57||o>=96&&o<=111||{13:1,8:1,46:1}[o])){var r=a.startContainer;if(domUtils.isFillChar(r)&&a.setStartBefore(r),r=a.endContainer,domUtils.isFillChar(r)&&a.setEndAfter(r),a.txtToElmBoundary(),a.endContainer&&1==a.endContainer.nodeType&&(r=a.endContainer.childNodes[a.endOffset])&&domUtils.isBr(r)&&a.setEndAfter(r),0==a.startOffset&&(r=a.startContainer,domUtils.isBoundaryNode(r,"firstChild")&&(r=a.endContainer,a.endOffset==(3==r.nodeType?r.nodeValue.length:r.childNodes.length)&&domUtils.isBoundaryNode(r,"lastChild"))))return e.fireEvent("saveScene"),e.body.innerHTML="<p>"+(browser.ie?"":"<br/>")+"</p>",a.setStart(e.body.firstChild,0).setCursor(!1,!0),void e._selectionChange()}if(o==keymap.Backspace){if(a=e.selection.getRange(),t=a.collapsed,e.fireEvent("delkeydown",i))return;var s,l;if(a.collapsed&&a.inFillChar()&&(s=a.startContainer,domUtils.isFillChar(s)?(a.setStartBefore(s).shrinkBoundary(!0).collapse(!0),domUtils.remove(s)):(s.nodeValue=s.nodeValue.replace(new RegExp("^"+domUtils.fillChar),""),a.startOffset--,a.collapse(!0).select(!0))),s=a.getClosedNode())return e.fireEvent("saveScene"),a.setStartBefore(s),domUtils.remove(s),a.setCursor(),e.fireEvent("saveScene"),void domUtils.preventDefault(i);if(!browser.ie&&(s=domUtils.findParentByTagName(a.startContainer,"table",!0),l=domUtils.findParentByTagName(a.endContainer,"table",!0),s&&!l||!s&&l||s!==l))return void i.preventDefault()}if(o==keymap.Tab){var d={ol:1,ul:1,table:1};if(e.fireEvent("tabkeydown",i))return void domUtils.preventDefault(i);var c=e.selection.getRange();e.fireEvent("saveScene");for(var u=0,m="",p=e.options.tabSize||4,h=e.options.tabNode||"&nbsp;";u<p;u++)m+=h;var g=e.document.createElement("span");if(g.innerHTML=m+domUtils.fillChar,c.collapsed)c.insertNode(g.cloneNode(!0).firstChild).setCursor(!0);else{var f=function(e){return domUtils.isBlockElm(e)&&!d[e.tagName.toLowerCase()]};if(s=domUtils.findParent(c.startContainer,f,!0),l=domUtils.findParent(c.endContainer,f,!0),s&&l&&s===l)c.deleteContents(),c.insertNode(g.cloneNode(!0).firstChild).setCursor(!0);else{var v=c.createBookmark();c.enlarge(!0);for(var b=c.createBookmark(),y=domUtils.getNextDomNode(b.start,!1,f);y&&!(domUtils.getPosition(y,b.end)&domUtils.POSITION_FOLLOWING);)y.insertBefore(g.cloneNode(!0).firstChild,y.firstChild),y=domUtils.getNextDomNode(y,!1,f);c.moveToBookmark(b).moveToBookmark(v).select()}}domUtils.preventDefault(i)}if(browser.gecko&&46==o&&(c=e.selection.getRange()).collapsed&&(s=c.startContainer,domUtils.isEmptyBlock(s))){for(var w=s.parentNode;1==domUtils.getChildCount(w)&&!domUtils.isBody(w);)s=w,w=w.parentNode;s===w.lastChild&&i.preventDefault()}else;}),e.addListener("keyup",function(e,n){var i;if((n.keyCode||n.which)==keymap.Backspace){if(this.fireEvent("delkeyup"))return;if((i=this.selection.getRange()).collapsed){if((r=domUtils.findParentByTagName(i.startContainer,["h1","h2","h3","h4","h5","h6"],!0))&&domUtils.isEmptyBlock(r)){var o=r.previousSibling;if(o&&"TABLE"!=o.nodeName)return domUtils.remove(r),void i.setStartAtLast(o).setCursor(!1,!0);
12var a=r.nextSibling;if(a&&"TABLE"!=a.nodeName)return domUtils.remove(r),void i.setStartAtFirst(a).setCursor(!1,!0)}if(domUtils.isBody(i.startContainer)){var r=domUtils.createElement(this.document,"p",{innerHTML:browser.ie?domUtils.fillChar:"<br/>"});i.insertNode(r).setStart(r,0).setCursor(!1,!0)}}if(!t&&(3==i.startContainer.nodeType||1==i.startContainer.nodeType&&domUtils.isEmptyBlock(i.startContainer)))if(browser.ie){var s=i.document.createElement("span");i.insertNode(s).setStartBefore(s).collapse(!0),i.select(),domUtils.remove(s)}else i.select()}})},UE.plugins.fiximgclick=function(){var e=!1;function t(){this.editor=null,this.resizer=null,this.cover=null,this.doc=document,this.prePos={x:0,y:0},this.startPos={x:0,y:0}}return function(){var n=[[0,0,-1,-1],[0,0,0,-1],[0,0,1,-1],[0,0,-1,0],[0,0,1,0],[0,0,-1,1],[0,0,0,1],[0,0,1,1]];t.prototype={init:function(e){var t=this;t.editor=e,t.startPos=this.prePos={x:0,y:0},t.dragId=-1;var n=[],o=t.cover=document.createElement("div"),a=t.resizer=document.createElement("div");for(o.id=t.editor.ui.id+"_imagescale_cover",o.style.cssText="position:absolute;display:none;z-index:"+t.editor.options.zIndex+";filter:alpha(opacity=0); opacity:0;background:#CCC;",domUtils.on(o,"mousedown click",function(){t.hide()}),i=0;i<8;i++)n.push('<span class="edui-editor-imagescale-hand'+i+'"></span>');a.id=t.editor.ui.id+"_imagescale",a.className="edui-editor-imagescale",a.innerHTML=n.join(""),a.style.cssText+=";display:none;border:1px solid #3b77ff;z-index:"+t.editor.options.zIndex+";",t.editor.ui.getDom().appendChild(o),t.editor.ui.getDom().appendChild(a),t.initStyle(),t.initEvents()},initStyle:function(){utils.cssRule("imagescale",".edui-editor-imagescale{display:none;position:absolute;border:1px solid #38B2CE;cursor:hand;-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}.edui-editor-imagescale span{position:absolute;width:6px;height:6px;overflow:hidden;font-size:0px;display:block;background-color:#3C9DD0;}.edui-editor-imagescale .edui-editor-imagescale-hand0{cursor:nw-resize;top:0;margin-top:-4px;left:0;margin-left:-4px;}.edui-editor-imagescale .edui-editor-imagescale-hand1{cursor:n-resize;top:0;margin-top:-4px;left:50%;margin-left:-4px;}.edui-editor-imagescale .edui-editor-imagescale-hand2{cursor:ne-resize;top:0;margin-top:-4px;left:100%;margin-left:-3px;}.edui-editor-imagescale .edui-editor-imagescale-hand3{cursor:w-resize;top:50%;margin-top:-4px;left:0;margin-left:-4px;}.edui-editor-imagescale .edui-editor-imagescale-hand4{cursor:e-resize;top:50%;margin-top:-4px;left:100%;margin-left:-3px;}.edui-editor-imagescale .edui-editor-imagescale-hand5{cursor:sw-resize;top:100%;margin-top:-3px;left:0;margin-left:-4px;}.edui-editor-imagescale .edui-editor-imagescale-hand6{cursor:s-resize;top:100%;margin-top:-3px;left:50%;margin-left:-4px;}.edui-editor-imagescale .edui-editor-imagescale-hand7{cursor:se-resize;top:100%;margin-top:-3px;left:100%;margin-left:-3px;}")},initEvents:function(){this.startPos.x=this.startPos.y=0,this.isDraging=!1},_eventHandler:function(t){var n=this;switch(t.type){case"mousedown":var i;-1!=(i=t.target||t.srcElement).className.indexOf("edui-editor-imagescale-hand")&&-1==n.dragId&&(n.dragId=i.className.slice(-1),n.startPos.x=n.prePos.x=t.clientX,n.startPos.y=n.prePos.y=t.clientY,domUtils.on(n.doc,"mousemove",n.proxy(n._eventHandler,n)));break;case"mousemove":-1!=n.dragId&&(n.updateContainerStyle(n.dragId,{x:t.clientX-n.prePos.x,y:t.clientY-n.prePos.y}),n.prePos.x=t.clientX,n.prePos.y=t.clientY,e=!0,n.updateTargetElement());break;case"mouseup":-1!=n.dragId&&(n.updateContainerStyle(n.dragId,{x:t.clientX-n.prePos.x,y:t.clientY-n.prePos.y}),n.updateTargetElement(),n.target.parentNode&&n.attachTo(n.target),n.dragId=-1),domUtils.un(n.doc,"mousemove",n.proxy(n._eventHandler,n)),e&&(e=!1,n.editor.fireEvent("contentchange"))}},updateTargetElement:function(){var e=this;domUtils.setStyles(e.target,{width:e.resizer.style.width,height:e.resizer.style.height}),e.target.width=parseInt(e.resizer.style.width),e.target.height=parseInt(e.resizer.style.height),e.attachTo(e.target)},updateContainerStyle:function(e,t){var i,o=this,a=o.resizer;0!=n[e][0]&&(i=parseInt(a.style.left)+t.x,a.style.left=o._validScaledProp("left",i)+"px"),0!=n[e][1]&&(i=parseInt(a.style.top)+t.y,a.style.top=o._validScaledProp("top",i)+"px"),0!=n[e][2]&&(i=a.clientWidth+n[e][2]*t.x,a.style.width=o._validScaledProp("width",i)+"px"),0!=n[e][3]&&(i=a.clientHeight+n[e][3]*t.y,a.style.height=o._validScaledProp("height",i)+"px")},_validScaledProp:function(e,t){var n=this.resizer,i=document;switch(t=isNaN(t)?0:t,e){case"left":return t<0?0:t+n.clientWidth>i.clientWidth?i.clientWidth-n.clientWidth:t;case"top":return t<0?0:t+n.clientHeight>i.clientHeight?i.clientHeight-n.clientHeight:t;case"width":return t<=0?1:t+n.offsetLeft>i.clientWidth?i.clientWidth-n.offsetLeft:t;case"height":return t<=0?1:t+n.offsetTop>i.clientHeight?i.clientHeight-n.offsetTop:t}},hideCover:function(){this.cover.style.display="none"},showCover:function(){var e=this,t=domUtils.getXY(e.editor.ui.getDom()),n=domUtils.getXY(e.editor.iframe);domUtils.setStyles(e.cover,{width:e.editor.iframe.offsetWidth+"px",height:e.editor.iframe.offsetHeight+"px",to
12p:n.y-t.y+"px",left:n.x-t.x+"px",position:"absolute",display:""})},show:function(e){var t=this;t.resizer.style.display="block",e&&t.attachTo(e),domUtils.on(this.resizer,"mousedown",t.proxy(t._eventHandler,t)),domUtils.on(t.doc,"mouseup",t.proxy(t._eventHandler,t)),t.showCover(),t.editor.fireEvent("afterscaleshow",t),t.editor.fireEvent("saveScene")},hide:function(){var e=this;e.hideCover(),e.resizer.style.display="none",domUtils.un(e.resizer,"mousedown",e.proxy(e._eventHandler,e)),domUtils.un(e.doc,"mouseup",e.proxy(e._eventHandler,e)),e.editor.fireEvent("afterscalehide",e)},proxy:function(e,t){return function(n){return e.apply(t||this,arguments)}},attachTo:function(e){var t=this.target=e,n=this.resizer,i=domUtils.getXY(t),o=domUtils.getXY(this.editor.iframe),a=domUtils.getXY(n.parentNode);domUtils.setStyles(n,{width:t.width+"px",height:t.height+"px",left:o.x+i.x-this.editor.document.body.scrollLeft-a.x-parseInt(n.style.borderLeftWidth)+"px",top:o.y+i.y-this.editor.document.body.scrollTop-a.y-parseInt(n.style.borderTopWidth)+"px"})}}}(),function(){var e,n=this;n.setOpt("imageScaleEnabled",!0),!browser.ie&&n.options.imageScaleEnabled&&n.addListener("click",function(i,o){var a=n.selection.getRange().getClosedNode();if(a&&"IMG"==a.tagName&&"false"!=n.body.contentEditable){if(-1!=a.className.indexOf("edui-faked-music")||a.getAttribute("anchorname")||domUtils.hasClass(a,"loadingclass")||domUtils.hasClass(a,"loaderrorclass"))return;if(!e){(e=new t).init(n),n.ui.getDom().appendChild(e.resizer);var r,s=function(t){e.hide(),e.target&&n.selection.getRange().selectNode(e.target).select()},l=function(e){var t=e.target||e.srcElement;!t||void 0!==t.className&&-1!=t.className.indexOf("edui-editor-imagescale")||s()};n.addListener("afterscaleshow",function(e){n.addListener("beforekeydown",s),n.addListener("beforemousedown",l),domUtils.on(document,"keydown",s),domUtils.on(document,"mousedown",l),n.selection.getNative().removeAllRanges()}),n.addListener("afterscalehide",function(t){n.removeListener("beforekeydown",s),n.removeListener("beforemousedown",l),domUtils.un(document,"keydown",s),domUtils.un(document,"mousedown",l);var i=e.target;i.parentNode&&n.selection.getRange().selectNode(i).select()}),domUtils.on(e.resizer,"mousedown",function(t){n.selection.getNative().removeAllRanges();var i=t.target||t.srcElement;i&&-1==i.className.indexOf("edui-editor-imagescale-hand")&&(r=setTimeout(function(){e.hide(),e.target&&n.selection.getRange().selectNode(i).select()},200))}),domUtils.on(e.resizer,"mouseup",function(e){var t=e.target||e.srcElement;t&&-1==t.className.indexOf("edui-editor-imagescale-hand")&&clearTimeout(r)})}e.show(a)}else e&&"none"!=e.resizer.style.display&&e.hide()}),browser.webkit&&n.addListener("click",function(e,t){"IMG"==t.target.tagName&&"false"!=n.body.contentEditable&&new dom.Range(n.document).selectNode(t.target).select()})}}(),UE.plugin.register("autolink",function(){return browser.ie?{}:{bindEvents:{reset:function(){0},keydown:function(e,t){var n=this,i=t.keyCode||t.which;if(32==i||13==i){for(var o,a,r=n.selection.getNative(),s=r.getRangeAt(0).cloneRange(),l=s.startContainer;1==l.nodeType&&s.startOffset>0&&(l=s.startContainer.childNodes[s.startOffset-1]);)s.setStart(l,1==l.nodeType?l.childNodes.length:l.nodeValue.length),s.collapse(!0),l=s.startContainer;do{if(0==s.startOffset){for(l=s.startContainer.previousSibling;l&&1==l.nodeType;)l=l.lastChild;if(!l||domUtils.isFillChar(l))break;o=l.nodeValue.length}else l=s.startContainer,o=s.startOffset;s.setStart(l,o-1),a=s.toString().charCodeAt(0)}while(160!=a&&32!=a);if(s.toString().replace(new RegExp(domUtils.fillChar,"g"),"").match(/(?:https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.)/i)){for(;s.toString().length&&!/^(?:https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.)/i.test(s.toString());)try{s.setStart(s.startContainer,s.startOffset+1)}catch(e){for(l=s.startContainer;!(next=l.nextSibling);){if(domUtils.isBody(l))return;l=l.parentNode}s.setStart(next,0)}if(domUtils.findParentByTagName(s.startContainer,"a",!0))return;var d,c=n.document.createElement("a"),u=n.document.createTextNode(" ");n.undoManger&&n.undoManger.save(),c.appendChild(s.extractContents()),c.href=c.innerHTML=c.innerHTML.replace(/<[^>]+>/g,""),d=c.getAttribute("href").replace(new RegExp(domUtils.fillChar,"g"),""),d=/^(?:https?:\/\/)/gi.test(d)?d:"http://"+d,c.setAttribute("_src",utils.html(d)),c.href=utils.html(d),s.insertNode(c),c.parentNode.insertBefore(u,c.nextSibling),s.setStart(u,0),s.collapse(!0),r.removeAllRanges(),r.addRange(s),n.undoManger&&n.undoManger.save()}}}}}},function(){var e={37:1,38:1,39:1,40:1,13:1,32:1};browser.ie&&this.addListener("keyup",function(t,n){var i=n.keyCode;if(e[i]){var o=this.selection.getRange(),a=o.startContainer;if(13==i){for(;a&&!domUtils.isBody(a)&&!domUtils.isBlockElm(a);)a=a.parentNode;var r;if(a&&!domUtils.isBody(a)&&"P"==a.nodeName)if((r=a.previousSibling)&&1==r.nodeType)(r=function(e){if(3==e.nodeType)return null;if("A"==e.nodeName)return e;for(var t=e.lastChild;t;){if("A"==t.nodeName)return t;if(3==t.nodeType){if(domUtils.isWhitespace(t)){t=t.previousSibling;continue}return null}t=t.lastChild}}(r))&&!r.getAttribute("_href")&&domUtils.remove(r,!0)}else if(32==i)3==a.nodeType&&/^\s$/.test(a.nodeValue)&&(a=a.previousSibling)&&"A"==a.nodeName&&!
12a.getAttribute("_href")&&domUtils.remove(a,!0);else if((a=domUtils.findParentByTagName(a,"a",!0))&&!a.getAttribute("_href")){var s=o.createBookmark();domUtils.remove(a,!0),o.moveToBookmark(s).select(!0)}}})}),UE.plugins.autoheight=function(){var e=this;if(e.autoHeightEnabled=!1!==e.options.autoHeightEnabled,e.autoHeightEnabled){var t,n,i,o,a=0,r=e.options;e.addListener("fullscreenchanged",function(e,t){o=t}),e.addListener("destroy",function(){e.removeListener("contentchange afterinserthtml keyup mouseup",s)}),e.enableAutoHeight=function(){var e=this;if(e.autoHeightEnabled){var n=e.document;e.autoHeightEnabled=!0,t=n.body.style.overflowY,n.body.style.overflowY="hidden",e.addListener("contentchange afterinserthtml keyup mouseup",s),setTimeout(function(){s.call(e)},browser.gecko?100:0),e.fireEvent("autoheightchanged",e.autoHeightEnabled)}},e.disableAutoHeight=function(){e.body.style.overflowY=t||"",e.removeListener("contentchange",s),e.removeListener("keyup",s),e.removeListener("mouseup",s),e.autoHeightEnabled=!1,e.fireEvent("autoheightchanged",e.autoHeightEnabled)},e.on("setHeight",function(){e.disableAutoHeight()}),e.addListener("ready",function(){var t,n;e.enableAutoHeight(),domUtils.on(browser.ie?e.body:e.document,browser.webkit?"dragover":"drop",function(){clearTimeout(t),t=setTimeout(function(){s.call(e)},100)}),window.onscroll=function(){null===n?n=this.scrollY:0==this.scrollY&&0!=n&&(e.window&&e.window.scrollTo(0,0),n=null)}})}function s(){var e=this;clearTimeout(i),o||(!e.queryCommandState||e.queryCommandState&&1!=e.queryCommandState("source"))&&(i=setTimeout(function(){for(var t=e.body.lastChild;t&&1!=t.nodeType;)t=t.previousSibling;t&&1==t.nodeType&&(t.style.clear="both",(n=Math.max(domUtils.getXY(t).y+t.offsetHeight+25,Math.max(r.minFrameHeight,r.initialFrameHeight)))!=a&&(n!==parseInt(e.iframe.parentNode.style.height)&&(e.iframe.parentNode.style.height=n+"px"),e.body.style.height=n+"px",a=n),domUtils.removeStyle(t,"clear"))},50))}},UE.plugins.autofloat=function(){var e=this,t=e.getLang();e.setOpt({topOffset:0});var n=!1!==e.options.autoFloatEnabled,i=e.options.topOffset;if(n){var o,a,r,s,l=UE.ui.uiUtils,d=browser.ie&&browser.version<=6,c=browser.quirks,u=document.createElement("div"),m=!0,p=utils.defer(function(){g()},browser.ie?200:100,!0);e.addListener("destroy",function(){domUtils.un(window,["scroll","resize"],g),e.removeListener("keydown",p)}),e.addListener("ready",function(){if(UE.ui||(alert(t.autofloatMsg),0)){if(!e.ui)return;s=l.getClientRect,a=e.ui.getDom("toolbarbox"),r=s(a).top,o=a.style.cssText,u.style.height=a.offsetHeight+"px",d&&function(){var e=document.body.style;e.backgroundImage='url("about:blank")',e.backgroundAttachment="fixed"}(),domUtils.on(window,["scroll","resize"],g),e.addListener("keydown",p),e.addListener("beforefullscreenchange",function(e,t){t&&h()}),e.addListener("fullscreenchanged",function(e,t){t||g()}),e.addListener("sourcemodechanged",function(e,t){setTimeout(function(){g()},0)}),e.addListener("clearDoc",function(){setTimeout(function(){g()},0)})}})}function h(){m=!0,u.parentNode&&u.parentNode.removeChild(u),a.style.cssText=o}function g(){var t=s(e.container),n=e.options.toolbarTopOffset||0;t.top<0&&t.bottom-a.offsetHeight>n?function(){var t=domUtils.getXY(a),n=domUtils.getComputedStyle(a,"position"),o=domUtils.getComputedStyle(a,"left");a.style.width=a.offsetWidth+"px",a.style.zIndex=1*e.options.zIndex+1,a.parentNode.insertBefore(u,a),d||c&&browser.ie?("absolute"!=a.style.position&&(a.style.position="absolute"),a.style.top=(document.body.scrollTop||document.documentElement.scrollTop)-r+i+"px"):(browser.ie7Compat&&m&&(m=!1,a.style.left=domUtils.getXY(a).x-document.documentElement.getBoundingClientRect().left+2+"px"),"fixed"!=a.style.position&&(a.style.position="fixed",a.style.top=i+"px",("absolute"==n||"relative"==n)&&parseFloat(o)&&(a.style.left=t.x+"px")))}():h()}},UE.plugins.video=function(){var e=this;function t(t,n,i,o,a,r,s,l){var d;switch(t=utils.unhtmlForUrl(t),a=utils.unhtml(a),r=utils.unhtml(r),n=parseInt(n,10)||0,i=parseInt(i,10)||0,s){case"image":d="<img "+(o?'id="'+o+'"':"")+' width="'+n+'" height="'+i+'" _url="'+t+'" class="'+r.replace(/\bvideo-js\b/,"")+'" src="'+e.options.UEDITOR_HOME_URL+'themes/default/images/spacer.gif" style="background:url('+e.options.UEDITOR_HOME_URL+"themes/default/images/videologo.gif) no-repeat center center; border:1px solid gray;"+(a?"float:"+a+";":"")+'" />';break;case"embed":d='<embed src="'+utils.html(t)+'" width="'+n+'" height="'+i+'"'+(a?' style="float:'+a+'"':"")+' wmode="transparent" play="true" loop="false" menu="false" allowscriptaccess="never" allowfullscreen="true" >';break;case"video":var c=t.substr(t.lastIndexOf(".")+1);"ogv"==c&&(c="ogg"),d='<video x5-playsinline="" playsinline="" webkit-playsinline=""'+(o?' id="'+o+'"':"")+' class="'+r+' video-js" '+(a?' style="float:'+a+'"':"")+' controls preload="none" poster = "'+l+'" width="'+n+'" height="'+i+'" src="'+t+'"><source src="'+t+'" type="video/'+c+'" /></video>'}return d}function n(e,n){utils.each(e.getNodesByTagName(n?"img":"embed video"),function(e){var i=e.getAttr("class");if(i&&-1!=i.indexOf("edui-faked-video")){var o=t(n?e.getAttr("_url"):e.getAttr("src"),e.getAttr("width"),e.getAttr("height"),null,e.getStyle("float")||"",i,n?"embed":"image");e.parentNode.replaceChild(UE.uNode.createElement(o),e)}if(i&&-1!=i.indexOf("edui-upload-video")){o=t(n?e.getAttr("_url"):e.getAttr("src"),e.getAttr("width"),e.getAttr("height"),null,e.getStyle("float")||"",i,n?"video":"image");e.parentNode.replaceChild(UE.uNode.createElement(o),e)}})}e.addOutputRule(function(e){n(e,!0)}),e.addInputRule(function(e){n(e)}),e.commands.insertvideo={execCommand:function(n,i,o){for(var a,r,s=[],l=0,d=(i=utils.isArray(i)?i:[i]).length;l<d;l++)r=i[l],a="upload"==o?"edui-upload-video video-js vjs-default-skin":"edui-faked-video",s.push(t(r.url,r.width||420,r.height||280,"tmpVedio"+l,null,a,"video",r.poster));e.execCommand("inserthtml",s.join(""),!0);this.selection.getRange()},queryCommandState:function(){var t=e.selection.getRange().getClosedNode();return t&&("edui-faked-video"==t.className||-1!=t.className.indexOf("edui-upload-video"))?1:0}}},function(){var e=UE.UETable=function(e){this.table=e,this.indexTable=[],this.selectedTds=[],this.cellsRange={},this.update(e)};e.removeSelectedClass=function(e){utils.each(e,function(e){domUtils.removeClasses(e,"selectTdClass")})},e.addSelectedClass=function(e){utils.each(e,function(e){domUtils.addClass(e,"selectTdClass")})},e.isEmptyBlock=function(e){var t=new RegExp(domUtils.fillChar,"g");if(e[browser.ie?"innerText":"textContent"].replace(/^\s*$/,"").replace(t,"").length>0)return 0;for(var n in dtd.$isNotEmpty)if(dtd.$isNotEmpty.hasOwnProperty(n)&&e.getElementsByTagName(n).length)return 0;return 1},e.getWidth=function(e){return e?parseInt(domUtils.getComputedStyle(e,"width"),10):0},e.getTableCellAlignState=function(e){!utils.isArray(e)&&(e=[e]);var t={},n=["align","valign"],i=null,o=!0;return utils.each(e,function(e){return utils.each(n,function(n){if(i=e.getAttribute(n),!t[n]&&i)t[n]=i;else if(!t[n]||i!==t[n])return o=!1,!1}),o}),o?t:null},e.getTableItemsByRange=function(e){var t=e.selection.getStart();t&&t.id&&0===t.id.indexOf("_baidu_bookmark_start_")&&t.nextSibling&&(t=t.nextSibling);var n=t&&domUtils.findParentByTagName(t,["td","th"],!0),i=n&&n.parentNode,o=t&&domUtils.findParentByTagName(t,"caption",!0);return{cell:n,tr:i,table:o?o.parentNode:i&&i.parentNode.parentNode,caption:o}},e.getUETableBySelected=function(t){var n=e.getTableItemsByRange(t).table;return n&&n.ueTable&&n.ueTable.selectedTds.length?n.ueTable:null},e.getDefaultValue=function(e,t){var n,i,o,a,r={thin:"0px",medium:"1px",thick:"2px"};if(t)return s=t.getElementsByTagName("td")[0],a=domUtils.getComputedStyle(t,"border-left-width"),n=parseInt(r[a]||a,10),a=domUtils.getComputedStyle(s,"padding-left"),i=parseInt(r[a]||a,10),a=domUtils.getComputedStyle(s,"border-left-width"),{tableBorder:n,tdPadding:i,tdBorder:o=parseInt(r[a]||a,10)};(t=e.document.createElement("table")).insertRow(0).insertCell(0).innerHTML="xxx",e.body.appendChild(t);var s=t.getElementsByTagName("td")[0];return a=domUtils.getComputedStyle(t,"border-left-width"),n=parseInt(r[a]||a,10),a=domUtils.getComputedStyle(s,"padding-left"),i=parseInt(r[a]||a,10),a=domUtils.getComputedStyle(s,"border-left-width"),o=parseInt(r[a]||a,10),domUtils.remove(t),{tableBorder:n,tdPadding:i,tdBorder:o}},e.getUETable=function(t){var n=t.tagName.toLowerCase();return(t="td"==n||"th"==n||"caption"==n?domUtils.findParentByTagName(t,"table",!0):t).ueTable||(t.ueTable=new e(t)),t.ueTable},e.cloneCell=function(e,t,n){if(!e||utils.isString(e))return this.table.ownerDocument.createElement(e||"td");var i=domUtils.hasClass(e,"selectTdClass");i&&domUtils.removeClasses(e,"selectTdClass");var o=e.cloneNode(!0);return t&&(o.rowSpan=o.colSpan=1),!n&&domUtils.removeAttributes(o,"width height"),!n&&domUtils.removeAttributes(o,"style"),o.style.borderLeftStyle="",o.style.borderTopStyle="",o.style.borderLeftColor=e.style.borderRightColor,o.style.borderLeftWidth=e.style.borderRightWidth,o.style.borderTopColor=e.style.borderBottomColor,o.style.borderTopWidth=e.style.borderBottomWidth,i&&domUtils.addClass(e,"selectTdClass"),o},e.prototype={getMaxRows:function(){for(var e,t=this.table.rows,n=1,i=0;e=t[i];i++){for(var o,a=1,r=0;o=e.cells[r++];)a=Math.max(o.rowSpan||1,a);n=Math.max(a+i,n)}return n},getMaxCols:function(){for(var e,t=this.table.rows,n=0,i={},o=0;e=t[o];o++){for(var a,r=0,s=0;a=e.cells[s++];)if(r+=a.colSpan||1,a.rowSpan&&a.rowSpan>1)for(var l=1;l<a.rowSpan;l++)i["row_"+(o+l)]?i["row_"+(o+l)]++:i["row_"+(o+l)]=a.colSpan||1;r+=i["row_"+o]||0,n=Math.max(r,n)}return n},getCellColIndex:function(e){},getHSideCell:function(e,t){try{var n,i,o=this.getCellInfo(e),a=this.selectedTds.length,r=this.cellsRange;return!t&&(a?!r.beginColIndex:!o.colIndex)||t&&(a?r.endColIndex==this.colsNum-1:o.colIndex==this.colsNum-1)?null:(n=a?r.beginRowIndex:o.rowIndex,i=t?a?r.endColIndex+1:o.colIndex+1:a?r.beginColIndex-1:o.colIndex<1?0:o.colIndex-1,this.getCell(this.indexTable[n][i].rowIndex,this.indexTable[n][i].cellIndex))}catch(e){}},getTabNextCell:function(e,t){var n,i=this.getCellInfo(e),o=t||i.rowIndex,a=i.colIndex+1+(i.colSpan-1);try{n=this.getCell(this.indexTable[o][a].rowIndex,this.indexTable[o][a].cellIndex)}catch(e){try{o=1*o+1,a=0,n=this.getCell(this.indexTable[o][a].rowIndex,this.indexTable[o][a].cellIndex)}catch(e){}}return n},getVSideCell:function(e,t,n){try{var i,o,a=this.getCellInfo(e),r=this.selectedTds.length&&!n,s=this.cellsRange;return!t&&0==a.rowIndex||t&&(r?s.endRowIndex==this.rowsNum-1:a.rowIndex+a.rowSpan>this.rowsNum-1)?null:(i=t?r?s.endRowIndex+1:a.rowIndex+a.rowSpan:r?s.beginRowIndex-1:a.rowIndex-1,o=r?s.beginColIndex:a.colIndex,this.getCell(this.indexTable[i][o].rowIndex,this.indexTable[i][o].cellIndex))}catch(e){}},getSameEndPosCells:function(e,t){try{for(var n="x"===t.toLowerCase(),i=domUtils.getXY(e)[n?"x":"y"]+e["offset"+(n?"Wi
12dth":"Height")],o=this.table.rows,a=null,r=[],s=0;s<this.rowsNum;s++){a=o[s].cells;for(var l,d=0;l=a[d++];){var c=domUtils.getXY(l)[n?"x":"y"]+l["offset"+(n?"Width":"Height")];if(c>i&&n)break;if((e==l||i==c)&&(1==l[n?"colSpan":"rowSpan"]&&r.push(l),n))break}}return r}catch(e){}},setCellContent:function(e,t){e.innerHTML=t||(browser.ie?domUtils.fillChar:"<br />")},cloneCell:e.cloneCell,getSameStartPosXCells:function(e){try{for(var t,n=domUtils.getXY(e).x+e.offsetWidth,i=this.table.rows,o=[],a=0;a<this.rowsNum;a++){t=i[a].cells;for(var r,s=0;r=t[s++];){var l=domUtils.getXY(r).x;if(l>n)break;if(l==n&&1==r.colSpan){o.push(r);break}}}return o}catch(e){}},update:function(e){this.table=e||this.table,this.selectedTds=[],this.cellsRange={},this.indexTable=[];for(var t=this.table.rows,n=this.getMaxRows(),i=n-t.length,o=this.getMaxCols();i--;)this.table.insertRow(t.length);this.rowsNum=n,this.colsNum=o;for(var a=0,r=t.length;a<r;a++)this.indexTable[a]=new Array(o);for(var s,l=0;s=t[l];l++)for(var d,c=0,u=s.cells;d=u[c];c++){d.rowSpan>n&&(d.rowSpan=n);for(var m=c,p=d.rowSpan||1,h=d.colSpan||1;this.indexTable[l][m];)m++;for(var g=0;g<p;g++)for(var f=0;f<h;f++)this.indexTable[l+g][m+f]={rowIndex:l,cellIndex:c,colIndex:m,rowSpan:p,colSpan:h}}for(g=0;g<n;g++)for(f=0;f<o;f++)void 0===this.indexTable[g][f]&&(d=(d=(s=t[g]).cells[s.cells.length-1])?d.cloneNode(!0):this.table.ownerDocument.createElement("td"),this.setCellContent(d),1!==d.colSpan&&(d.colSpan=1),1!==d.rowSpan&&(d.rowSpan=1),s.appendChild(d),this.indexTable[g][f]={rowIndex:g,cellIndex:d.cellIndex,colIndex:f,rowSpan:1,colSpan:1});var v=domUtils.getElementsByTagName(this.table,"td"),b=[];if(utils.each(v,function(e){domUtils.hasClass(e,"selectTdClass")&&b.push(e)}),b.length){var y=b[0],w=b[b.length-1],x=this.getCellInfo(y),C=this.getCellInfo(w);this.selectedTds=b,this.cellsRange={beginRowIndex:x.rowIndex,beginColIndex:x.colIndex,endRowIndex:C.rowIndex+C.rowSpan-1,endColIndex:C.colIndex+C.colSpan-1}}if(!domUtils.hasClass(this.table.rows[0],"firstRow")){domUtils.addClass(this.table.rows[0],"firstRow");for(a=1;a<this.table.rows.length;a++)domUtils.removeClasses(this.table.rows[a],"firstRow")}},getCellInfo:function(e){if(e)for(var t=e.cellIndex,n=e.parentNode.rowIndex,i=this.indexTable[n],o=this.colsNum,a=t;a<o;a++){var r=i[a];if(r.rowIndex===n&&r.cellIndex===t)return r}},getCell:function(e,t){return e<this.rowsNum&&this.table.rows[e].cells[t]||null},deleteCell:function(e,t){t="number"==typeof t?t:e.parentNode.rowIndex,this.table.rows[t].deleteCell(e.cellIndex)},getCellsRange:function(e,t){try{var n=this,i=n.getCellInfo(e);if(e===t)return{beginRowIndex:i.rowIndex,beginColIndex:i.colIndex,endRowIndex:i.rowIndex+i.rowSpan-1,endColIndex:i.colIndex+i.colSpan-1};var o=n.getCellInfo(t);return function e(t,i,o,a){var r,s,l,d=t,c=i,u=o,m=a;if(t>0)for(s=i;s<a;s++)(l=(r=n.indexTable[t][s]).rowIndex)<t&&(d=Math.min(l,d));if(a<n.colsNum)for(l=t;l<o;l++)(s=(r=n.indexTable[l][a]).colIndex+r.colSpan-1)>a&&(m=Math.max(s,m));if(o<n.rowsNum)for(s=i;s<a;s++)(l=(r=n.indexTable[o][s]).rowIndex+r.rowSpan-1)>o&&(u=Math.max(l,u));if(i>0)for(l=t;l<o;l++)(s=(r=n.indexTable[l][i]).colIndex)<i&&(c=Math.min(r.colIndex,c));return d!=t||c!=i||u!=o||m!=a?e(d,c,u,m):{beginRowIndex:t,beginColIndex:i,endRowIndex:o,endColIndex:a}}(Math.min(i.rowIndex,o.rowIndex),Math.min(i.colIndex,o.colIndex),Math.max(i.rowIndex+i.rowSpan-1,o.rowIndex+o.rowSpan-1),Math.max(i.colIndex+i.colSpan-1,o.colIndex+o.colSpan-1))}catch(e){}},getCells:function(e){this.clearSelected();for(var t,n,i,o=e.beginRowIndex,a=e.beginColIndex,r=e.endRowIndex,s=e.endColIndex,l={},d=[],c=o;c<=r;c++)for(var u=a;u<=s;u++){var m=(n=(t=this.indexTable[c][u]).rowIndex)+"|"+(i=t.colIndex);if(!l[m]){if(l[m]=1,n<c||i<u||n+t.rowSpan-1>r||i+t.colSpan-1>s)return null;d.push(this.getCell(n,t.cellIndex))}}return d},clearSelected:function(){e.removeSelectedClass(this.selectedTds),this.selectedTds=[],this.cellsRange={}},setSelected:function(t){var n=this.getCells(t);e.addSelectedClass(n),this.selectedTds=n,this.cellsRange=t},isFullRow:function(){var e=this.cellsRange;return e.endColIndex-e.beginColIndex+1==this.colsNum}
12,isFullCol:function(){var e=this.cellsRange,t=this.table.getElementsByTagName("th"),n=e.endRowIndex-e.beginRowIndex+1;return t.length?n==this.rowsNum||n==this.rowsNum-1:n==this.rowsNum},getNextCell:function(e,t,n){try{var i,o,a=this.getCellInfo(e),r=this.selectedTds.length&&!n,s=this.cellsRange;return!t&&0==a.rowIndex||t&&(r?s.endRowIndex==this.rowsNum-1:a.rowIndex+a.rowSpan>this.rowsNum-1)?null:(i=t?r?s.endRowIndex+1:a.rowIndex+a.rowSpan:r?s.beginRowIndex-1:a.rowIndex-1,o=r?s.beginColIndex:a.colIndex,this.getCell(this.indexTable[i][o].rowIndex,this.indexTable[i][o].cellIndex))}catch(e){}},getPreviewCell:function(e,t){try{var n,i,o=this.getCellInfo(e),a=this.selectedTds.length,r=this.cellsRange;return!t&&(a?!r.beginColIndex:!o.colIndex)||t&&(a?r.endColIndex==this.colsNum-1:o.rowIndex>this.colsNum-1)?null:(n=t?a?r.beginRowIndex:o.rowIndex<1?0:o.rowIndex-1:a?r.beginRowIndex:o.rowIndex,i=t?a?r.endColIndex+1:o.colIndex:a?r.beginColIndex-1:o.colIndex<1?0:o.colIndex-1,this.getCell(this.indexTable[n][i].rowIndex,this.indexTable[n][i].cellIndex))}catch(e){}},moveContent:function(t,n){if(!e.isEmptyBlock(n))if(e.isEmptyBlock(t))t.innerHTML=n.innerHTML;else{var i=t.lastChild;for(3!=i.nodeType&&dtd.$block[i.tagName]||t.appendChild(t.ownerDocument.createElement("br"));i=n.firstChild;)t.appendChild(i)}},mergeRight:function(e){var t=this.getCellInfo(e),n=t.colIndex+t.colSpan,i=this.indexTable[t.rowIndex][n],o=this.getCell(i.rowIndex,i.cellIndex);e.colSpan=t.colSpan+i.colSpan,e.removeAttribute("width"),this.moveContent(e,o),this.deleteCell(o,i.rowIndex),this.update()},mergeDown:function(e){var t=this.getCellInfo(e),n=t.rowIndex+t.rowSpan,i=this.indexTable[n][t.colIndex],o=this.getCell(i.rowIndex,i.cellIndex);e.rowSpan=t.rowSpan+i.rowSpan,e.removeAttribute("height"),this.moveContent(e,o),this.deleteCell(o,i.rowIndex),this.update()},mergeRange:function(){var e=this.cellsRange,t=this.getCell(e.beginRowIndex,this.indexTable[e.beginRowIndex][e.beginColIndex].cellIndex);if("TH"==t.tagName&&e.endRowIndex!==e.beginRowIndex){var n=this.indexTable,i=this.getCellInfo(t);t=this.getCell(1,n[1][i.colIndex].cellIndex),e=this.getCellsRange(t,this.getCell(n[this.rowsNum-1][i.colIndex].rowIndex,n[this.rowsNum-1][i.colIndex].cellIndex))}for(var o,a=this.getCells(e),r=0;o=a[r++];)o!==t&&(this.moveContent(t,o),this.deleteCell(o));if(t.rowSpan=e.endRowIndex-e.beginRowIndex+1,t.rowSpan>1&&t.removeAttribute("height"),t.colSpan=e.endColIndex-e.beginColIndex+1,t.colSpan>1&&t.removeAttribute("width"),t.rowSpan==this.rowsNum&&1!=t.colSpan&&(t.colSpan=1),t.colSpan==this.colsNum&&1!=t.rowSpan){var s=t.parentNode.rowIndex;if(this.table.deleteRow){r=s+1;for(var l=s+1,d=t.rowSpan;r<d;r++)this.table.deleteRow(l)}else for(r=0,d=t.rowSpan-1;r<d;r++){var c=this.table.rows[s+1];c.parentNode.removeChild(c)}t.rowSpan=1}this.update()},insertRow:function(e,t){var n,i=this.colsNum,o=this.table.insertRow(e),a="string"==typeof t&&"TH"==t.toUpperCase();function r(e,t,n){if(0==e){var i=(n.nextSibling||n.previousSibling).cells[e];"TH"==i.tagName&&((i=t.ownerDocument.createElement("th")).appendChild(t.firstChild),n.insertBefore(i,t),domUtils.remove(t))}else if("TH"==t.tagName){var o=t.ownerDocument.createElement("td");o.appendChild(t.firstChild),n.insertBefore(o,t),domUtils.remove(t)}}if(0==e||e==this.rowsNum)for(var s=0;s<i;s++)n=this.cloneCell(t,!0),this.setCellContent(n),n.getAttribute("vAlign")&&n.setAttribute("vAlign",n.getAttribute("vAlign")),o.appendChild(n),a||r(s,n,o);else{var l=this.indexTable[e];for(s=0;s<i;s++){var d=l[s];d.rowIndex<e?(n=this.getCell(d.rowIndex,d.cellIndex)).rowSpan=d.rowSpan+1:(n=this.cloneCell(t,!0),this.setCellContent(n),o.appendChild(n)),a||r(s,n,o)}}return this.update(),o},deleteRow:function(e){for(var t=this.table.rows[e],n=this.indexTable[e],i=this.colsNum,o=0,a=0;a<i;){var r=n[a],s=this.getCell(r.rowIndex,r.cellIndex);if(s.rowSpan>1&&r.rowIndex==e){var l=s.cloneNode(!0);l.rowSpan=s.rowSpan-1,l.innerHTML="",s.rowSpan=1;var d,c=e+1,u=this.table.rows[c],m=this.getPreviewMergedCellsNum(c,a)-o;m<a?(d=a-m-1,domUtils.insertAfter(u.cells[d],l)):u.cells.length&&u.insertBefore(l,u.cells[0]),o+=1}a+=s.colSpan||1}var p=[],h={};for(a=0;a<i;a++){var g=n[a].rowIndex,f=n[a].cellIndex,v=g+"_"+f;h[v]||(h[v]=1,s=this.getCell(g,f),p.push(s))}var b=[];utils.each(p,function(e){1==e.rowSpan?e.parentNode.removeChild(e):b.push(e)}),utils.each(b,function(e){e.rowSpan--}),t.parentNode.removeChild(t),this.update()},insertCol:function(e,t,n){var i,o,a,r=this.rowsNum,s=0,l=parseInt((this.table.offsetWidth-20*(this.colsNum+1)-(this.colsNum+1))/(this.colsNum+1),10),d="string"==typeof t&&"TH"==t.toUpperCase();
12function c(e,t,n){if(0==e){var i=t.nextSibling||t.previousSibling;"TH"==i.tagName&&((i=t.ownerDocument.createElement("th")).appendChild(t.firstChild),n.insertBefore(i,t),domUtils.remove(t))}else if("TH"==t.tagName){var o=t.ownerDocument.createElement("td");o.appendChild(t.firstChild),n.insertBefore(o,t),domUtils.remove(t)}}if(0==e||e==this.colsNum)for(;s<r;s++)a=(i=this.table.rows[s]).cells[0==e?e:i.cells.length],o=this.cloneCell(t,!0),this.setCellContent(o),o.setAttribute("vAlign",o.getAttribute("vAlign")),a&&o.setAttribute("width",a.getAttribute("width")),e?domUtils.insertAfter(i.cells[i.cells.length-1],o):i.insertBefore(o,i.cells[0]),d||c(s,o,i);else for(;s<r;s++){var u=this.indexTable[s][e];u.colIndex<e?(o=this.getCell(u.rowIndex,u.cellIndex)).colSpan=u.colSpan+1:(a=(i=this.table.rows[s]).cells[u.cellIndex],o=this.cloneCell(t,!0),this.setCellContent(o),o.setAttribute("vAlign",o.getAttribute("vAlign")),a&&o.setAttribute("width",a.getAttribute("width")),a?i.insertBefore(o,a):i.appendChild(o)),d||c(s,o,i)}this.update(),this.updateWidth(l,n||{tdPadding:10,tdBorder:1})},updateWidth:function(t,n){var i=this.table,o=e.getWidth(i)-2*n.tdPadding-n.tdBorder+t;if(o<i.ownerDocument.body.offsetWidth)i.setAttribute("width",o);else{var a=domUtils.getElementsByTagName(this.table,"td th");utils.each(a,function(e){e.setAttribute("width",t)})}},deleteCol:function(e){for(var t=this.indexTable,n=this.table.rows,i=this.table.getAttribute("width"),o=0,a=this.rowsNum,r={},s=0;s<a;){var l=t[s][e],d=l.rowIndex+"_"+l.colIndex;if(!r[d]){r[d]=1;var c=this.getCell(l.rowIndex,l.cellIndex);o||(o=c&&parseInt(c.offsetWidth/c.colSpan,10).toFixed(0)),c.colSpan>1?c.colSpan--:n[s].deleteCell(l.cellIndex),s+=l.rowSpan||1}}this.table.setAttribute("width",i-o),this.update()},splitToCells:function(e){var t=this,n=this.splitToRows(e);utils.each(n,function(e){t.splitToCols(e)})},splitToRows:function(e){var t=this.getCellInfo(e),n=t.rowIndex,i=t.colIndex,o=[];e.rowSpan=1,o.push(e);for(var a=n,r=n+t.rowSpan;a<r;a++)if(a!=n){var s=this.table.rows[a].insertCell(i-this.getPreviewMergedCellsNum(a,i));s.colSpan=t.colSpan,this.setCellContent(s),s.setAttribute("vAlign",e.getAttribute("vAlign")),s.setAttribute("align",e.getAttribute("align")),e.style.cssText&&(s.style.cssText=e.style.cssText),o.push(s)}return this.update(),o},getPreviewMergedCellsNum:function(e,t){for(var n=this.indexTable[e],i=0,o=0;o<t;){var a=n[o].colSpan;i+=a-(n[o].rowIndex==e?1:0),o+=a}return i},splitToCols:function(e){var t=(e.offsetWidth/e.colSpan-22).toFixed(0),n=this.getCellInfo(e),i=n.rowIndex,o=n.colIndex,a=[];e.colSpan=1,e.setAttribute("width",t),a.push(e);for(var r=o,s=o+n.colSpan;r<s;r++)if(r!=o){var l=this.table.rows[i],d=l.insertCell(this.indexTable[i][r].cellIndex+1);if(d.rowSpan=n.rowSpan,this.setCellContent(d),d.setAttribute("vAlign",e.getAttribute("vAlign")),d.setAttribute("align",e.getAttribute("align")),d.setAttribute("width",t),e.style.cssText&&(d.style.cssText=e.style.cssText),"TH"==e.tagName){var c=e.ownerDocument.createElement("th");c.appendChild(d.firstChild),c.setAttribute("vAlign",e.getAttribute("vAlign")),c.rowSpan=d.rowSpan,l.insertBefore(c,d),domUtils.remove(d)}a.push(d)}return this.update(),a},isLastCell:function(e,t,n){t=t||this.rowsNum,n=n||this.colsNum;var i=this.getCellInfo(e);return i.rowIndex+i.rowSpan==t&&i.colIndex+i.colSpan==n},getLastCell:function(e){e=e||this.table.getElementsByTagName("td");this.getCellInfo(e[0]);var t,n=this,i=e[0],o=i.parentNode,a=0,r=0;return utils.each(e,function(e){e.parentNode==o&&(r+=e.colSpan||1),a+=e.rowSpan*e.colSpan||1}),t=a/r,utils.each(e,function(e){if(n.isLastCell(e,t,r))return i=e,!1}),i},selectRow:function(e){var t=this.indexTable[e],n=this.getCell(t[0].rowIndex,t[0].cellIndex),i=this.getCell(t[this.colsNum-1].rowIndex,t[this.colsNum-1].cellIndex),o=this.getCellsRange(n,i);this.setSelected(o)},selectTable:function(){var e=this.table.getElementsByTagName("td"),t=this.getCellsRange(e[0],e[e.length-1]);this.setSelected(t)},setBackground:function(e,t){if("string"==typeof t)utils.each(e,function(e){e.style.backgroundColor=t});else if("object"==typeof t){t=utils.extend({repeat:!0,colorList:["#ddd","#fff"]},t);for(var n,i=this.getCellInfo(e[0]).rowIndex,o=0,a=t.colorList,r=function(e,t,n){return e[t]?e[t]:n?e[t%e.length]:""},s=0;n=e[s++];){var l=this.getCellInfo(n);n.style.backgroundColor=r(a,i+o==l.rowIndex?o:++o,t.repeat)}}}
12,removeBackground:function(e){utils.each(e,function(e){e.style.backgroundColor=""})}}}(),function(){var e=UE.UETable,t=function(t){return e.getTableItemsByRange(t)},n=function(t){return e.getUETableBySelected(t)},i=function(t,n){return e.getDefaultValue(t,n)},o=function(t){return e.getUETable(t)};function a(e,t){var n=domUtils.getElementsByTagName(e,"td th");utils.each(n,function(e){e.removeAttribute("width")}),e.setAttribute("width",function(e,t,n){var i=e.body;return i.offsetWidth-(t?2*parseInt(domUtils.getComputedStyle(i,"margin-left"),10):0)-2*n.tableBorder-(e.options.offsetWidth||0)}(t,!0,i(t,e)));var o=[];setTimeout(function(){utils.each(n,function(e){1==e.colSpan&&o.push(e.offsetWidth)}),utils.each(n,function(e,t){1==e.colSpan&&e.setAttribute("width",o[t]+"")})},0)}function r(e){var n=t(e).cell;if(n){var i=o(n);return i.selectedTds.length?i.selectedTds:[n]}return[]}UE.commands.inserttable={queryCommandState:function(){return t(this).table?-1:0},execCommand:function(e,t){t||(t=utils.extend({},{numCols:this.options.defaultCols,numRows:this.options.defaultRows,tdvalign:this.options.tdvalign}));var n=this.selection.getRange().startContainer,o=domUtils.findParent(n,function(e){return domUtils.isBlockElm(e)},!0)||this.body,a=i(this),r=o.offsetWidth,s=Math.floor(r/t.numCols-2*a.tdPadding-a.tdBorder);!t.tdvalign&&(t.tdvalign=this.options.tdvalign),this.execCommand("inserthtml",function(e,t){for(var n=[],i=e.numRows,o=e.numCols,a=0;a<i;a++){n.push("<tr"+(0==a?' class="firstRow"':"")+">");for(var r=0;r<o;r++)n.push('<td width="'+t+'"  vAlign="'+e.tdvalign+'" >'+(browser.ie&&browser.version<11?domUtils.fillChar:"<br/>")+"</td>");n.push("</tr>")}return"<table><tbody>"+n.join("")+"</tbody></table>"}(t,s))}},UE.commands.insertparagraphbeforetable={queryCommandState:function(){return t(this).cell?0:-1},execCommand:function(){var e=t(this).table;if(e){var n=this.document.createElement("p");n.innerHTML=browser.ie?"&nbsp;":"<br />",e.parentNode.insertBefore(n,e),this.selection.getRange().setStart(n,0).setCursor()}}},UE.commands.deletetable={queryCommandState:function(){var e=this.selection.getRange();return domUtils.findParentByTagName(e.startContainer,"table",!0)?0:-1},execCommand:function(e,t){var n=this.selection.getRange();if(t=t||domUtils.findParentByTagName(n.startContainer,"table",!0)){var i=t.nextSibling;i||(i=domUtils.createElement(this.document,"p",{innerHTML:browser.ie?domUtils.fillChar:"<br/>"}),t.parentNode.insertBefore(i,t)),domUtils.remove(t),n=this.selection.getRange(),3==i.nodeType?n.setStartBefore(i):n.setStart(i,0),n.setCursor(!1,!0),this.fireEvent("tablehasdeleted")}}},UE.commands.cellalign={queryCommandState:function(){return r(this).length?0:-1},execCommand:function(e,t){var n=r(this);if(n.length)for(var i,o=0;i=n[o++];)i.setAttribute("align",t)}},UE.commands.cellvalign={queryCommandState:function(){return r(this).length?0:-1},execCommand:function(e,t){var n=r(this);if(n.length)for(var i,o=0;i=n[o++];)i.setAttribute("vAlign",t)}},UE.commands.insertcaption={queryCommandState:function(){var e=t(this).table;return e&&0==e.getElementsByTagName("caption").length?1:-1},execCommand:function(){var e=t(this).table;if(e){var n=this.document.createElement("caption");n.innerHTML=browser.ie?domUtils.fillChar:"<br/>",e.insertBefore(n,e.firstChild),this.selection.getRange().setStart(n,0).setCursor()}}},UE.commands.deletecaption={queryCommandState:function(){var e=this.selection.getRange(),t=domUtils.findParentByTagName(e.startContainer,"table");return t?0==t.getElementsByTagName("caption").length?-1:1:-1},execCommand:function(){var e=this.selection.getRange(),t=domUtils.findParentByTagName(e.startContainer,"table");t&&(domUtils.remove(t.getElementsByTagName("caption")[0]),this.selection.getRange().setStart(t.rows[0].cells[0],0).setCursor())}},UE.commands.inserttitle={queryCommandState:function(){var e=t(this).table;if(e){var n=e.rows[0];return"th"!=n.cells[n.cells.length-1].tagName.toLowerCase()?0:-1}return-1},execCommand:function(){var e=t(this).table;e&&o(e).insertRow(0,"th");var n=e.getElementsByTagName("th")[0];this.selection.getRange().setStart(n,0).setCursor(!1,!0)}},UE.commands.deletetitle={queryCommandState:function(){var e=t(this).table;if(e){var n=e.rows[0];return"th"==n.cells[n.cells.length-1].tagName.toLowerCase()?0:-1}return-1},execCommand:function(){var e=t(this).table;e&&domUtils.remove(e.rows[0]);var n=e.getElementsByTagName("td")[0];this.selection.getRange().setStart(n,0).setCursor(!1,!0)}},UE.commands.inserttitlecol={queryCommandState:function(){var e=t(this).table;return e?e.rows[e.rows.length-1].getElementsByTagName("th").length?-1:0:-1},execCommand:function(e){var n=t(this).table;n&&o(n).insertCol(0,"th"),a(n,this);var i=n.getElementsByTagName("th")[0];this.selection.getRange().setStart(i,0).setCursor(!1,!0)}},UE.commands.deletetitlecol={queryCommandState:function(){var e=t(this).table;return e&&e.rows[e.rows.length-1].getElementsByTagName("th").length?0:-1},execCommand:function(){var e=t(this).table;if(e)for(var n=0;n<e.rows.length;n++)domUtils.remove(e.rows[n].children[0]);a(e,this);var i=e.getElementsByTagName("td")[0];this.selection.getRange().setStart(i,0).setCursor(!1,!0)}},UE.commands.mergeright={queryCommandState:function(e){var n=t(this),i=n.table,a=n.cell;if(!i||!a)return-1;var r=o(i);if(r.selectedTds.length)return-1;var s=r.getCellInfo(a),l=s.colIndex+s.colSpan;if(l>=r.colsNum)return-1;var d=r.indexTable[s.rowIndex][l],c=i.rows[d.rowIndex].cells[d.cellIndex];return c&&a.tagName==c.tagName&&d.rowIndex==s.rowIndex&&d.rowSpan==s.rowSpan?0:-1},execCommand:function(e){var n=this.selection.getRange(),i=n.createBookmark(!0),a=t(this).cell;o(a).mergeRight(a),n.moveToBookmark(i).select()}},UE.commands.mergedown={queryCommandState:function(e){var n=t(this),i=n.table,a=n.cell;if(!i||!a)return-1;var r=o(i);if(r.selectedTds.length)return-1;var s=r.getCellInfo(a),l=s.rowIndex+s.rowSpan;if(l>=r.rowsNum)return-1;var d=r.indexTable[l][s.colIndex],c=i.rows[d.rowIndex].cells[d.cellIndex];return c&&a.tagName==c.tagName&&d.colIndex==s.colIndex&&d.colSpan==s.colSpan?0:-1},execCommand:function(){var e=this.selection.getRange(),n=e.createBookmark(!0),i=t(this).cell;o(i).mergeDown(i),e.moveToBookmark(n).select()}},UE.commands.mergecells={queryCommandState:function(){return n(this)?0:-1},execCommand:function(){var e=n(this);if(e&&e.selectedTds.length){var t=e.selectedTds[0];e.mergeRange();var i=this.selection.getRange();domUtils.isEmptyBlock(t)?i.setStart(t,0).collapse(!0):i.selectNodeContents(t),i.select()}}},UE.commands.insertrow={queryCommandState:function(){var e=t(this),n=e.cell;return n&&("TD"==n.tagName||"TH"==n.tagName&&e.tr!==e.table.rows[0])&&o(e.table).rowsNum<this.options.maxRowNum?0:-1},execCommand:function(){var e=this.selection.getRange(),n=e.createBookmark(!0),i=t(this),a=i.cell,r=i.table,s=o(r),l=s.getCellInfo(a);if(s.selectedTds.length)for(var d=s.cellsRange,c=0,u=d.endRowIndex-d.beginRowIndex+1;c<u;c++)s.insertRow(d.beginRowIndex,a);else s.insertRow(l.rowIndex,a);e.moveToBookmark(n).select(),"enabled"===r.getAttribute("interlaced")&&this.fireEvent("interlacetable",r)}},UE.commands.insertrownext={queryCommandState:function(){var e=t(this),n=e.cell;return n&&"TD"==n.tagName&&o(e.table).rowsNum<this.options.maxRowNum?0:-1},execCommand:function(){var e=this.selection.getRange(),n=e.createBookmark(!0),i=t(this),a=i.cell,r=i.table,s=o(r),l=s.getCellInfo(a);if(s.selectedTds.length)for(var d=s.cellsRange,c=0,u=d.endRowIndex-d.beginRowIndex+1;c<u;c++)s.insertRow(d.endRowIndex+1,a);else s.insertRow(l.rowIndex+l.rowSpan,a);e.moveToBookmark(n).select(),"enabled"===r.getAttribute("interlaced")&&this.fireEvent("interlacetable",r)}},UE.commands.deleterow={queryCommandState:function(){return t(this).cell?0:-1},execCommand:function(){var e=t(this).cell,n=o(e),i=n.cellsRange,a=n.getCellInfo(e),r=n.getVSideCell(e),s=n.getVSideCell(e,!0),l=this.selection.getRange();if(utils.isEmptyObject(i))n.deleteRow(a.rowIndex);else for(var d=i.beginRowIndex;d<i.endRowIndex+1;d++)n.deleteRow(i.beginRowIndex);var c=n.table;if(c.getElementsByTagName("td").length)if(1==a.rowSpan||a.rowSpan==i.endRowIndex-i.beginRowIndex+1)(s||r)&&l.selectNodeContents(s||r).setCursor(!1,!0);else{var u=n.getCell(a.rowIndex,n.indexTable[a.rowIndex][a.colIndex].cellIndex);u&&l.selectNodeContents(u).setCursor(!1,!0)}else{var m=c.nextSibling;domUtils.remove(c),m&&l.setStart(m,0).setCursor(!1,!0)}"enabled"===c.getAttribute("interlaced")&&this.fireEvent("interlacetable",c)}},UE.commands.insertcol={queryCommandState:function(e){var n=t(this),i=n.cell;return i&&("TD"==i.tagName||"TH"==i.tagName&&i!==n.tr.cells[0])&&o(n.table).colsNum<this.options.maxColNum?0:-1},execCommand:function(e){var n=this.selection.getRange(),i=n.createBookmark(!0);if(-1!=this.queryCommandState(e)){var a=t(this).cell,r=o(a),s=r.getCellInfo(a);if(r.selectedTds.length)for(var l=r.cellsRange,d=0,c=l.endColIndex-l.beginColIndex+1;d<c;d++)r.insertCol(l.beginColIndex,a);else r.insertCol(s.colIndex,a);n.moveToBookmark(i).select(!0)}}},UE.commands.insertcolnext={queryCommandState:function(){var e=t(this);return e.cell&&o(e.table).colsNum<this.options.maxColNum?0:-1},execCommand:function(){var e=this.selection.getRange(),n=e.createBookmark(!0),i=t(this).cell,a=o(i),r=a.getCellInfo(i);if(a.selectedTds.length)for(var s=a.cellsRange,l=0,d=s.endColIndex-s.beginColIndex+1;l<d;l++)a.insertCol(s.endColIndex+1,i);else a.insertCol(r.colIndex+r.colSpan,i);e.moveToBookmark(n).select()}},UE.commands.deletecol={queryCommandState:function(){return t(this).cell?0:-1},execCommand:function(){var e=t(this).cell,n=o(e),i=n.cellsRange,a=n.getCellInfo(e),r=n.getHSideCell(e),s=n.getHSideCell(e,!0);if(utils.isEmptyObject(i))n.deleteCol(a.colIndex);else for(var l=i.beginColIndex;l<i.endColIndex+1;l++)n.deleteCol(i.beginColIndex);var d=n.table,c=this.selection.getRange();if(d.getElementsByTagName("td").length)domUtils.inDoc(e,this.document)?c.setStart(e,0).setCursor(!1,!0):s&&domUtils.inDoc(s,this.document)?c.selectNodeContents(s).setCursor(!1,!0):r&&dom
12Utils.inDoc(r,this.document)&&c.selectNodeContents(r).setCursor(!0,!0);else{var u=d.nextSibling;domUtils.remove(d),u&&c.setStart(u,0).setCursor(!1,!0)}}},UE.commands.splittocells={queryCommandState:function(){var e=t(this),n=e.cell;return n?o(e.table).selectedTds.length>0?-1:n&&(n.colSpan>1||n.rowSpan>1)?0:-1:-1},execCommand:function(){var e=this.selection.getRange(),n=e.createBookmark(!0),i=t(this).cell;o(i).splitToCells(i),e.moveToBookmark(n).select()}},UE.commands.splittorows={queryCommandState:function(){var e=t(this),n=e.cell;return n?o(e.table).selectedTds.length>0?-1:n&&n.rowSpan>1?0:-1:-1},execCommand:function(){var e=this.selection.getRange(),n=e.createBookmark(!0),i=t(this).cell;o(i).splitToRows(i),e.moveToBookmark(n).select()}},UE.commands.splittocols={queryCommandState:function(){var e=t(this),n=e.cell;return n?o(e.table).selectedTds.length>0?-1:n&&n.colSpan>1?0:-1:-1},execCommand:function(){var e=this.selection.getRange(),n=e.createBookmark(!0),i=t(this).cell;o(i).splitToCols(i),e.moveToBookmark(n).select()}},UE.commands.adaptbytext=UE.commands.adaptbywindow={queryCommandState:function(){return t(this).table?0:-1},execCommand:function(e){var n=t(this).table;if(n)if("adaptbywindow"==e)a(n,this);else{var i=domUtils.getElementsByTagName(n,"td th");utils.each(i,function(e){e.removeAttribute("width")}),n.removeAttribute("width")}}},UE.commands.averagedistributecol={queryCommandState:function(){var e=n(this);return e&&(e.isFullRow()||e.isFullCol())?0:-1},execCommand:function(e){var t=this,o=n(t);o&&o.selectedTds.length&&function(e){utils.each(domUtils.getElementsByTagName(o.table,"th"),function(e){e.setAttribute("width","")});var t=o.isFullRow()?domUtils.getElementsByTagName(o.table,"td"):o.selectedTds;utils.each(t,function(t){1==t.colSpan&&t.setAttribute("width",e)})}(function(){var e=o.table,n=0,a=0,r=i(t,e);if(o.isFullRow())n=e.offsetWidth,a=o.colsNum;else for(var s,l=o.cellsRange.beginColIndex,d=o.cellsRange.endColIndex,c=l;c<=d;)n+=(s=o.selectedTds[c]).offsetWidth,c+=s.colSpan,a+=1;return Math.ceil(n/a)-2*r.tdBorder-2*r.tdPadding}())}},UE.commands.averagedistributerow={queryCommandState:function(){var e=n(this);return e?e.selectedTds&&/th/gi.test(e.selectedTds[0].tagName)?-1:e.isFullRow()||e.isFullCol()?0:-1:-1},execCommand:function(e){var t=this,o=n(t);o&&o.selectedTds.length&&function(e){var t=o.isFullCol()?domUtils.getElementsByTagName(o.table,"td"):o.selectedTds;utils.each(t,function(t){1==t.rowSpan&&t.setAttribute("height",e)})}(function(){var e,n=0,a=o.table,r=i(t,a),s=parseInt(domUtils.getComputedStyle(a.getElementsByTagName("td")[0],"padding-top"));if(o.isFullCol()){var l,d,c=domUtils.getElementsByTagName(a,"caption"),u=domUtils.getElementsByTagName(a,"th");c.length>0&&(l=c[0].offsetHeight),u.length>0&&(d=u[0].offsetHeight),n=a.offsetHeight-(l||0)-(d||0),e=0==u.length?o.rowsNum:o.rowsNum-1}else{for(var m=o.cellsRange.beginRowIndex,p=o.cellsRange.endRowIndex,h=0,g=domUtils.getElementsByTagName(a,"tr"),f=m;f<=p;f++)n+=g[f].offsetHeight,h+=1;e=h}return browser.ie&&browser.version<9?Math.ceil(n/e):Math.ceil(n/e)-2*r.tdBorder-2*s}())}},UE.commands.cellalignment={queryCommandState:function(){return t(this).table?0:-1},execCommand:function(e,t){var i=n(this);if(i)utils.each(i.selectedTds,function(e){domUtils.setAttributes(e,t)});else{var o=this.selection.getStart(),a=o&&domUtils.findParentByTagName(o,["td","th","caption"],!0);/caption/gi.test(a.tagName)?(a.style.textAlign=t.align,a.style.verticalAlign=t.vAlign):domUtils.setAttributes(a,t),this.selection.getRange().setCursor(!0)}},queryCommandValue:function(e){var n=t(this).cell;if(n||(n=r(this)[0]),n){var i=UE.UETable.getUETable(n).selectedTds;return!i.length&&(i=n),UE.UETable.getTableCellAlignState(i)}return null}},UE.commands.tablealignment={queryCommandState:function(){return browser.ie&&browser.version<8?-1:t(this).table?0:-1},execCommand:function(e,t){var n=this.selection.getStart(),i=n&&domUtils.findParentByTagName(n,["table"],!0);i&&i.setAttribute("align",t)}},UE.commands.edittable={queryCommandState:function(){return t(this).table?0:-1},execCommand:function(e,t){var n=this.selection.getRange(),i=domUtils.findParentByTagName(n.startContainer,"table");if(i){var o=domUtils.getElementsByTagName(i,"td").concat(domUtils.getElementsByTagName(i,"th"),domUtils.getElementsByTagName(i,"caption"));utils.each(o,function(e){e.style.borderColor=t})}}},UE.commands.edittd={queryCommandState:function(){return t(this).table?0:-1},execCommand:function(e,t){var i=n(this);if(i)utils.each(i.selectedTds,function(e){e.style.backgroundColor=t});else{var o=this.selection.getStart(),a=o&&domUtils.findParentByTagName(o,["td","th","caption"],!0);a&&(a.style.backgroundColor=t)}}},UE.commands.settablebackground={queryCommandState:function(){return r(this).length>1?0:-1},execCommand:function(e,t){var n;
12n=r(this),o(n[0]).setBackground(n,t)}},UE.commands.cleartablebackground={queryCommandState:function(){var e=r(this);if(!e.length)return-1;for(var t,n=0;t=e[n++];)if(""!==t.style.backgroundColor)return 0;return-1},execCommand:function(){var e=r(this);o(e[0]).removeBackground(e)}},UE.commands.interlacetable=UE.commands.uninterlacetable={queryCommandState:function(e){var n=t(this).table;if(!n)return-1;var i=n.getAttribute("interlaced");return"interlacetable"==e?"enabled"===i?-1:0:i&&"disabled"!==i?0:-1},execCommand:function(e,n){var i=t(this).table;"interlacetable"==e?(i.setAttribute("interlaced","enabled"),this.fireEvent("interlacetable",i,n)):(i.setAttribute("interlaced","disabled"),this.fireEvent("uninterlacetable",i))}},UE.commands.setbordervisible={queryCommandState:function(e){return t(this).table?0:-1},execCommand:function(){var e=t(this).table;utils.each(domUtils.getElementsByTagName(e,"td"),function(e){e.style.borderWidth="1px",e.style.borderStyle="solid"})}}}(),UE.plugins.table=function(){var e=this,t=null,n=5,i=!1,o=5,a=10,r=0,s=null,l=360,d=UE.UETable,c=function(e){return d.getUETable(e)},u=function(e){return d.getUETableBySelected(e)},m=function(e,t){return d.getDefaultValue(e,t)},p=function(e){return d.removeSelectedClass(e)};e.ready(function(){var e=this,t=e.selection.getText;e.selection.getText=function(){var n=u(e);if(n){var i="";return utils.each(n.selectedTds,function(e){i+=e[browser.ie?"innerText":"textContent"]}),i}return t.call(e.selection)}});var h=null,g=null,f="",v=!1,b=null,y=!1,w=null,x=null,C=!1;e.setOpt({maxColNum:20,maxRowNum:100,defaultCols:5,defaultRows:5,tdvalign:"top",cursorpath:e.options.UEDITOR_HOME_URL+"themes/default/images/cursor_",tableDragable:!1,classList:["ue-table-interlace-color-single","ue-table-interlace-color-double"]}),e.getUETable=c;var _={deletetable:1,inserttable:1,cellvalign:1,insertcaption:1,deletecaption:1,inserttitle:1,deletetitle:1,mergeright:1,mergedown:1,mergecells:1,insertrow:1,insertrownext:1,deleterow:1,insertcol:1,insertcolnext:1,deletecol:1,splittocells:1,splittorows:1,splittocols:1,adaptbytext:1,adaptbywindow:1,adaptbycustomer:1,insertparagraph:1,insertparagraphbeforetable:1,averagedistributecol:1,averagedistributerow:1};function N(e,t){k(e,"width",!0),k(e,"height",!0)}function k(e,t,n){e.style[t]&&(n&&e.setAttribute(t,parseInt(e.style[t],10)),e.style[t]="")}function U(e){return"TD"==e.tagName||"TH"==e.tagName?e:(t=domUtils.findParentByTagName(e,"td",!0)||domUtils.findParentByTagName(e,"th",!0))?t:null;var t}function E(e){var t=new RegExp(domUtils.fillChar,"g");if(e[browser.ie?"innerText":"textContent"].replace(/^\s*$/,"").replace(t,"").length>0)return 0;for(var n in dtd.$isNotEmpty)if(e.getElementsByTagName(n).length)return 0;return 1}function T(t){return t.pageX||t.pageY?{x:t.pageX,y:t.pageY}:{x:t.clientX+e.document.body.scrollLeft-e.document.body.clientLeft,y:t.clientY+e.document.body.scrollTop-e.document.body.clientTop}}function S(t){if(!q())try{var o,l=U(t.target||t.srcElement);if(i&&(e.body.style.webkitUserSelect="none",(Math.abs(s.x-t.clientX)>a||Math.abs(s.y-t.clientY)>a)&&(D(),i=!1,r=0,z(t))),f&&x)return r=0,e.body.style.webkitUserSelect="none",e.selection.getNative()[browser.ie9below?"empty":"removeAllRanges"](),o=T(t),L(e,!0,f,o,l),void("h"==f?w.style.left=function(t,i){var o=c(t);if(o){var a=o.getSameEndPosCells(t,"x")[0],r=o.getSameStartPosXCells(t)[0],s=T(i).x,l=(a?domUtils.getXY(a).x:domUtils.getXY(o.table).x)+20,d=r?domUtils.getXY(r).x+r.offsetWidth-20:e.body.offsetWidth+5||parseInt(domUtils.getComputedStyle(e.body,"width"),10);return d-=n,s<(l+=n)?l:s>d?d:s}}(x,t)+"px":"v"==f&&(w.style.top=function(e,t){try{var n=domUtils.getXY(e).y,i=T(t).y;return i<n?n:i}catch(e){}}(x,t)+"px"));if(l){if(!0===e.fireEvent("excludetable",l))return;var d=A(l,o=T(t)),u=domUtils.findParentByTagName(l,"table",!0);if(I(u,l,t,!0)){if(!0===e.fireEvent("excludetable",u))return;e.body.style.cursor="url("+e.options.cursorpath+"h.png),pointer"}else if(I(u,l,t)){if(!0===e.fireEvent("excludetable",u))return;e.body.style.cursor="url("+e.options.cursorpath+"v.png),pointer"}else{e.body.style.cursor="text";/\d/.test(d)&&(d=d.replace(/\d/,""),l=c(l).getPreviewCell(l,"v"==d)),L(e,!!l&&!!d,l?d:"",o,l)}}else B(!1,u,e)}catch(e){}}function B(e,t,n){if(e)!function(e,t){var n,i=domUtils.getXY(e),o=e.ownerDocument;if(b&&b.parentNode)return b;(b=o.createElement("div")).contentEditable=!1,b.innerHTML="",b.style.cssText="width:15px;height:15px;background-image:url("+t.options.UEDITOR_HOME_URL+"dialogs/table/dragicon.png);position: absolute;cursor:move;top:"+(i.y-15)+"px;left:"+i.x+"px;",domUtils.unSelectable(b),b.onmouseover=function(e){y=!0},b.onmouseout=function(e){y=!1},domUtils.on(b,"click",function(i,o){!function(i,o){clearTimeout(n),n=setTimeout(function(){t.fireEvent("tableClicked",e,o)},300)}(0,this)}
12),domUtils.on(b,"dblclick",function(i,o){!function(i){clearTimeout(n);var o=c(e),a=e.rows[0].cells[0],r=o.getLastCell(),s=o.getCellsRange(a,r);t.selection.getRange().setStart(a,0).setCursor(!1,!0),o.setSelected(s)}()}),domUtils.on(b,"dragstart",function(e,t){domUtils.preventDefault(t)}),o.body.appendChild(b)}(t,n);else{if(y)return;setTimeout(function(){!y&&b&&b.parentNode&&b.parentNode.removeChild(b)},2e3)}}function I(e,t,n,i){var o=T(n),a=A(t,o);if(i){var r=e.getElementsByTagName("caption")[0],s=r?r.offsetHeight:0;return"v1"==a&&o.y-domUtils.getXY(e).y-s<8}return"h1"==a&&o.x-domUtils.getXY(e).x<8}function L(e,t,n,i,o){try{e.body.style.cursor="h"==n?"col-resize":"v"==n?"row-resize":"text",browser.ie&&(!n||C||u(e)?W(e):(Y(e,e.document),X(n,o))),v=t}catch(e){}}function A(e,t){var n=domUtils.getXY(e);return n?n.x+e.offsetWidth-t.x<o?"h":t.x-n.x<o?"h1":n.y+e.offsetHeight-t.y<o?"v":t.y-n.y<o?"v1":"":""}function R(t,n){if(!q())if(s={x:n.clientX,y:n.clientY},2==n.button){var i=u(e),o=!1;if(i){var a=G(e,n);utils.each(i.selectedTds,function(e){e===a&&(o=!0)}),o?(a=i.selectedTds[0],setTimeout(function(){e.selection.getRange().setStart(a,0).setCursor(!1,!0)},0)):(p(domUtils.getElementsByTagName(e.body,"th td")),i.clearSelected())}}else O(n)}function M(t){r=0;var n,i=U((t=t||e.window.event).target||t.srcElement);if(i&&(n=A(i,T(t)))){if(W(e),"h1"==n)if(n="h",I(domUtils.findParentByTagName(i,"table"),i,t))e.execCommand("adaptbywindow");else if(i=c(i).getPreviewCell(i))e.selection.getRange().selectNodeContents(i).setCursor(!0,!0);if("h"==n){var o=c(i),a=V(i,o.table,!0);a=function(e,t){for(var n=[],i=null,o=0,a=e.length;o<a;o++)(i=e[o][t])&&n.push(i);return n}(a,"left"),o.width=o.offsetWidth;var s=[],l=[];utils.each(a,function(e){s.push(e.offsetWidth)}),utils.each(a,function(e){e.removeAttribute("width")}),window.setTimeout(function(){var e=!0;utils.each(a,function(t,n){var i=t.offsetWidth;if(i>s[n])return e=!1,!1;l.push(i)});var t=e?l:s;utils.each(a,function(e,n){e.width=t[n]-$()})},0)}}}function O(n){if(p(domUtils.getElementsByTagName(e.body,"td th")),utils.each(e.document.getElementsByTagName("table"),function(e){e.ueTable=null}),h=G(e,n)){var o=domUtils.findParentByTagName(h,"table",!0);ut=c(o),ut&&ut.clearSelected(),v?function(e){browser.ie&&(e=function(e){var t=["pageX","pageY","clientX","clientY","srcElement","target"],n={};if(e)for(var i,o,a=0;i=t[a];a++)(o=e[i])&&(n[i]=o);return n}(e));D(),i=!0,t=setTimeout(function(){z(e)},l)}(n):(e.document.body.style.webkitUserSelect="",C=!0,e.addListener("mouseover",H))}}function D(){t&&clearTimeout(t),t=null}function z(t){if(i=!1,h=t.target||t.srcElement){var n=A(h,T(t));/\d/.test(n)&&(n=n.replace(/\d/,""),h=c(h).getPreviewCell(h,"v"==n)),W(e),Y(e,e.document),e.fireEvent("saveScene"),X(n,h),C=!0,f=n,x=h}}function P(e,t){if(!q()){if(D(),i=!1,v&&(r=++r%3,s={x:t.clientX,y:t.clientY},setTimeout(function(){r>0&&r--},l),2===r))return r=0,void M(t);if(2!=t.button){var o=this,a=o.selection.getRange(),d=domUtils.findParentByTagName(a.startContainer,"table",!0),u=domUtils.findParentByTagName(a.endContainer,"table",!0);if((d||u)&&(d===u?(d=domUtils.findParentByTagName(a.startContainer,["td","th","caption"],!0))!==(u=domUtils.findParentByTagName(a.endContainer,["td","th","caption"],!0))&&o.selection.clearRange():o.selection.clearRange()),C=!1,o.document.body.style.webkitUserSelect="",f&&x&&(o.selection.getNative()[browser.ie9below?"empty":"removeAllRanges"](),r=0,w=o.document.getElementById("ue_tableDragLine"))){var m=domUtils.getXY(x),p=domUtils.getXY(w);switch(f){case"h":!function(e,t){var i=c(e);if(i){var o=i.table,a=V(e,o);if(o.style.width="",o.removeAttribute("width"),t=function(e,t,i){if((e-=$())<0)return 0;var o=(e-=j(t))<0?"left":"right";return e=Math.abs(e),utils.each(i,function(t){var i=t[o];i&&(e=Math.min(e,j(i)-n))}),e=e<0?0:e,"left"===o?-e:e}(t,e,a),e.nextSibling){utils.each(a,function(e){e.left.width=+e.left.width+t,e.right&&(e.right.width=+e.right.width-t)})}else utils.each(a,function(e){e.left.width-=-t})}}(x,p.x-m.x);break;case"v":!function(e,t){if(Math.abs(t)<10)return;var n=c(e);
12if(n)for(var i,o=n.getSameEndPosCells(e,"y"),a=o[0]?o[0].offsetHeight:0,r=0;i=o[r++];)F(i,t,a)}(x,p.y-m.y-x.offsetHeight)}return f="",x=null,W(o),void o.fireEvent("saveScene")}if(h){var g=c(h),b=g?g.selectedTds[0]:null;if(b)a=new dom.Range(o.document),domUtils.isEmptyBlock(b)?a.setStart(b,0).setCursor(!1,!0):a.selectNodeContents(b).shrinkBoundary().setCursor(!1,!0);else if(!(a=o.selection.getRange().shrinkBoundary()).collapsed){d=domUtils.findParentByTagName(a.startContainer,["td","th"],!0),u=domUtils.findParentByTagName(a.endContainer,["td","th"],!0);(d&&!u||!d&&u||d&&u&&d!==u)&&a.setCursor(!1,!0)}h=null,o.removeListener("mouseover",H)}else{var y=domUtils.findParentByTagName(t.target||t.srcElement,"td",!0);if(y||(y=domUtils.findParentByTagName(t.target||t.srcElement,"th",!0)),y&&("TD"==y.tagName||"TH"==y.tagName)){if(!0===o.fireEvent("excludetable",y))return;(a=new dom.Range(o.document)).setStart(y,0).setCursor(!1,!0)}}o._selectionChange(250,t)}}}function H(e,t){if(!q()){var n=t.target||t.srcElement;if(g=domUtils.findParentByTagName(n,"td",!0)||domUtils.findParentByTagName(n,"th",!0),h&&g&&("TD"==h.tagName&&"TD"==g.tagName||"TH"==h.tagName&&"TH"==g.tagName)&&domUtils.findParentByTagName(h,"table")==domUtils.findParentByTagName(g,"table")){var i=c(g);if(h!=g){this.document.body.style.webkitUserSelect="none",this.selection.getNative()[browser.ie9below?"empty":"removeAllRanges"]();var o=i.getCellsRange(h,g);i.setSelected(o)}else this.document.body.style.webkitUserSelect="",i.clearSelected()}t.preventDefault?t.preventDefault():t.returnValue=!1}}function F(e,t,n){var i=parseInt(domUtils.getComputedStyle(e,"line-height"),10),o=n+t;t=o<i?i:o,e.style.height&&(e.style.height=""),1==e.rowSpan?e.setAttribute("height",t):e.removeAttribute&&e.removeAttribute("height")}function q(){return"false"===e.body.contentEditable}function V(e,t,n){if(t||(t=domUtils.findParentByTagName(e,"table")),!t)return null;domUtils.getNodeIndex(e);for(var i=e,o=t.rows,a=0;i;)1===i.nodeType&&(a+=i.colSpan||1),i=i.previousSibling;i=null;var r=[];return utils.each(o,function(e){var t=e.cells,i=0;utils.each(t,function(e){return(i+=e.colSpan||1)===a?(r.push({left:e,right:e.nextSibling||null}),!1):i>a?(n&&r.push({left:e}),!1):void 0})}),r}function j(e){var t=0;t=e.offsetWidth-$();e.nextSibling||(t-=function(e){if(tab=domUtils.findParentByTagName(e,"table",!1),void 0===tab.offsetVal){var t=e.previousSibling;tab.offsetVal=t&&e.offsetWidth-t.offsetWidth===d.borderWidth?d.borderWidth:0}return tab.offsetVal}(e)),t=t<0?0:t;try{e.width=t}catch(e){}return t}function $(){if(void 0===d.tabcellSpace){var t=e.document.createElement("table"),n=e.document.createElement("tbody"),i=e.document.createElement("tr"),o=e.document.createElement("td"),a=null;o.style.cssText="border: 0;",o.width=1,i.appendChild(o),i.appendChild(a=o.cloneNode(!1)),n.appendChild(i),t.appendChild(n),t.style.cssText="visibility: hidden;",e.body.appendChild(t),d.paddingSpace=o.offsetWidth-1;var r=t.offsetWidth;o.style.cssText="",a.style.cssText="",d.borderWidth=(t.offsetWidth-r)/3,d.tabcellSpace=d.paddingSpace+d.borderWidth,e.body.removeChild(t)}return $=function(){return d.tabcellSpace},d.tabcellSpace}function Y(e,t){C||(w=e.document.createElement("div"),domUtils.setAttributes(w,{id:"ue_tableDragLine",unselectable:"on",contenteditable:!1,onresizestart:"return false",ondragstart:"return false",onselectstart:"return false",style:"background-color:blue;position:absolute;padding:0;margin:0;background-image:none;border:0px none;opacity:0;filter:alpha(opacity=0)"}),e.body.appendChild(w))}function W(e){if(!C)for(var t;t=e.document.getElementById("ue_tableDragLine");)domUtils.remove(t)}function X(e,t){if(t){var n,i=domUtils.findParentByTagName(t,"table"),o=i.getElementsByTagName("caption"),a=i.offsetWidth,r=i.offsetHeight-(o.length>0?o[0].offsetHeight:0),s=domUtils.getXY(i),l=domUtils.getXY(t);switch(e){case"h":n="height:"+r+"px;top:"+(s.y+(o.length>0?o[0].offsetHeight:0))+"px;left:"+(l.x+t.offsetWidth),w.style.cssText=n+"px;position: absolute;display:block;background-color:blue;width:1px;border:0; color:blue;opacity:.3;filter:alpha(opacity=30)";break;case"v":n="width:"+a+"px;left:"+s.x+"px;top:"+(l.y+t.offsetHeight),w.style.cssText=n+"px;overflow:hidden;position: absolute;display:block;background-color:blue;height:1px;border:0;color:blue;opacity:.2;filter:alpha(opacity=20)"}}}function K(e,t){for(var n,i,o=domUtils.getElementsByTagName(e.body,"table"),a=0;i=o[a++];){var r=domUtils.getElementsByTagName(i,"td");r[0]&&(t?(n=r[0].style.borderColor.replace(/\s/g,""),/(#ffffff)|(rgb\(255,255,255\))/gi.test(n)&&domUtils.addClass(i,"noBorderTable")):domUtils.removeClasses(i,"noBorderTable"))}}function G(e,t){var n,i=domUtils.findParentByTagName(t.target||t.srcElement,["td","th"],!0);if(!i)return null;if(n=A(i,T(t)),!i)return null;if("h1"===n&&i.previousSibling){var o=domUtils.getXY(i),a=i.offsetWidth;Math.abs(o.x+a-t.clientX)>a/3&&(i=i.previousSibling)}else if("v1"===n&&i.parentNode.previousSibling){o=domUtils.getXY(i);var r=i.offsetHeight;Math.abs(o.y+r-t.clientY)>r/3&&(i=i.parentNode.previousSibling.firstChild)}return i&&!0!==e.fireEvent("excludetable",i)?i:null}e.ready(function(){var t,n,i,o;utils.cssRule("table",".selectTdClass{background-color:#edf5fa !important}table.noBorderTable td,table.noBorderTable th,table.noBorderTable caption{border:1px dashed #ddd !important}table{margin-bottom:10px;border-collapse:collapse;display:table;}td,th{padding: 5px 10px;border: 1px solid #DDD;}caption{border:1px dashed #DDD;border-bottom:0;padding:3px;text-align:center;}th{border-top:1px solid #BBB;background-color:#F7F7F7;}table tr.firstRow th{border-top-width:2px;}.ue-table-interlace-color-single{ background-color: #fcfcfc; } .ue-table-interlace-color-double{ background-color: #f7faff; }td p{margin:0;padding:0;}",e.document),e.addListener("keydown",function(e,o){var a=this,r=o.keyCode||o.which;if(8==r){var s;
12(s=u(a))&&s.selectedTds.length&&(s.isFullCol()?a.execCommand("deletecol"):s.isFullRow()?a.execCommand("deleterow"):a.fireEvent("delcells"),domUtils.preventDefault(o));var l=domUtils.findParentByTagName(a.selection.getStart(),"caption",!0),d=a.selection.getRange();if(d.collapsed&&l&&E(l)){a.fireEvent("saveScene");var c=l.parentNode;domUtils.remove(l),c&&d.setStart(c.rows[0].cells[0],0).setCursor(!1,!0),a.fireEvent("saveScene")}}if(46==r&&(s=u(a))){a.fireEvent("saveScene");for(var m=0;y=s.selectedTds[m++];)domUtils.fillNode(a.document,y);a.fireEvent("saveScene"),domUtils.preventDefault(o)}if(13==r){var p=a.selection.getRange();if(l=domUtils.findParentByTagName(p.startContainer,"caption",!0)){var c=domUtils.findParentByTagName(l,"table");return p.collapsed?l&&p.setStart(c.rows[0].cells[0],0).setCursor(!1,!0):(p.deleteContents(),a.fireEvent("saveScene")),void domUtils.preventDefault(o)}if(p.collapsed)if(c=domUtils.findParentByTagName(p.startContainer,"table")){var h=c.rows[0].cells[0],g=domUtils.findParentByTagName(a.selection.getStart(),["td","th"],!0),f=c.previousSibling;if(h===g&&(!f||1==f.nodeType&&"TABLE"==f.tagName)&&domUtils.isStartInblock(p)){var v=domUtils.findParent(a.selection.getStart(),function(e){return domUtils.isBlockElm(e)},!0);v&&(/t(h|d)/i.test(v.tagName)||v===g.firstChild)&&(a.execCommand("insertparagraphbeforetable"),domUtils.preventDefault(o))}}}if((o.ctrlKey||o.metaKey)&&"67"==o.keyCode&&(t=null,s=u(a))){var b=s.selectedTds;n=s.isFullCol(),i=s.isFullRow(),t=[[s.cloneCell(b[0],null,!0)]];var y;for(m=1;y=b[m];m++)y.parentNode!==b[m-1].parentNode?t.push([s.cloneCell(y,null,!0)]):t[t.length-1].push(s.cloneCell(y,null,!0))}}),e.addListener("tablehasdeleted",function(){L(this,!1,"",null),b&&domUtils.remove(b)}),e.addListener("beforepaste",function(e,o){var a=this,r=a.selection.getRange();if(domUtils.findParentByTagName(r.startContainer,"caption",!0))return(s=a.document.createElement("div")).innerHTML=o.html,void(o.html=s[browser.ie9below?"innerText":"textContent"]);var s,l,p=u(a);if(t){a.fireEvent("saveScene");r=a.selection.getRange();var h,g,f=domUtils.findParentByTagName(r.startContainer,["td","th"],!0);if(f){var v=c(f);if(i){var b=v.getCellInfo(f).rowIndex;"TH"==f.tagName&&b++;for(var y=0;k=t[y++];){for(var w=v.insertRow(b++,"td"),x=0;S=k[x];x++){var C=w.cells[x];C||(C=w.insertCell(x)),C.innerHTML=S.innerHTML,S.getAttribute("width")&&C.setAttribute("width",S.getAttribute("width")),S.getAttribute("vAlign")&&C.setAttribute("vAlign",S.getAttribute("vAlign")),S.getAttribute("align")&&C.setAttribute("align",S.getAttribute("align")),S.style.cssText&&(C.style.cssText=S.style.cssText)}for(x=0;(S=w.cells[x])&&k[x];x++)S.innerHTML=k[x].innerHTML,k[x].getAttribute("width")&&S.setAttribute("width",k[x].getAttribute("width")),k[x].getAttribute("vAlign")&&S.setAttribute("vAlign",k[x].getAttribute("vAlign")),k[x].getAttribute("align")&&S.setAttribute("align",k[x].getAttribute("align")),k[x].style.cssText&&(S.style.cssText=k[x].style.cssText)}}else{if(n){T=v.getCellInfo(f);for(var _=0,k=(x=0,t[0]);S=k[x++];)_+=S.colSpan||1;for(a.__hasEnterExecCommand=!0,y=0;y<_;y++)a.execCommand("insertcol");a.__hasEnterExecCommand=!1,"TH"==(f=v.table.rows[0].cells[T.cellIndex]).tagName&&(f=v.table.rows[1].cells[T.cellIndex])}for(y=0;k=t[y++];){h=f;for(x=0;S=k[x++];)if(f)f.innerHTML=S.innerHTML,S.getAttribute("width")&&f.setAttribute("width",S.getAttribute("width")),S.getAttribute("vAlign")&&f.setAttribute("vAlign",S.getAttribute("vAlign")),S.getAttribute("align")&&f.setAttribute("align",S.getAttribute("align")),S.style.cssText&&(f.style.cssText=S.style.cssText),g=f,f=f.nextSibling;else{var U=S.cloneNode(!0);domUtils.removeAttributes(U,["class","rowSpan","colSpan"]),g.parentNode.appendChild(U)}if(f=v.getNextCell(h,!0,!0),!t[y])break;if(!f){var T=v.getCellInfo(h);v.table.insertRow(v.table.rows.length),v.update(),f=v.getVSideCell(h,!0)}}}v.update()}else{p=a.document.createElement("table");for(y=0;k=t[y++];){var S;for(w=p.insertRow(p.rows.length),x=0;S=k[x++];)U=d.cloneCell(S,null,!0),domUtils.removeAttributes(U,["class"]),w.appendChild(U);2==x&&U.rowSpan>1&&(U.rowSpan=1)}var B=m(a),I=a.body.offsetWidth-2*parseInt(domUtils.getComputedStyle(a.body,"margin-left"),10)-2*B.tableBorder-(a.options.offsetWidth||0);a.execCommand("insertHTML","<table  "+(n&&i?'width="'+I+'"':"")+">"+p.innerHTML.replace(/>\s*</g,"><").replace(/\bth\b/gi,"td")+"</table>")}return a.fireEvent("contentchange"),a.fireEvent("saveScene"),o.html="",!0}(s=a.document.createElement("div")).innerHTML=o.html,l=s.getElementsByTagName("table"),domUtils.findParentByTagName(a.selection.getStart(),"table")?(utils.each(l,function(e){domUtils.remove(e)}),domUtils.findParentByTagName(a.selection.getStart(),"caption",!0)&&(s.innerHTML=s[browser.ie?"innerText":"textContent"])):utils.each(l,function(e){N(e,!0),domUtils.removeAttributes(e,["style","border"]),utils.each(domUtils.getElementsByTagName(e,"td"),function(e){E(e)&&domUtils.fillNode(a.document,e),N(e,!0)})}),o.html=s.innerHTML}),e.addListener("afterpaste",function(){utils.each(domUtils.getElementsByTagName(e.body,"table"),function(t){if(t.offsetWidth>e.body.offsetWidth){var n=m(e,t);t.style.width=e.body.offsetWidth-2*parseInt(domUtils.getComputedStyle(e.body,"margin-left"),10)-2*n.tableBorder-(e.options.offsetWidth||0)+"px"}})}),e.addListener("blur",function(){t=null}),e.addListener("keydown",function(){clearTimeout(o),o=setTimeout(function(){var t=e.selection.getRange(),n=domUtils.findParentByTagName(t.startContainer,["th","td"],!0);if(n){var i=n.parentNode.parentNode.parentNode;i.offsetWidth>i.getAttribute("width")&&(n.style.wordBreak="break-all")}},100)}),e.addListener("selectionchange",function(){L(e,!1,"",null)}),e.addListener("contentchange",function(){var e=this;if(W(e),!u(e)){var t=e.selection.getRange().startContainer;t=domUtils.findParentByTagName(t,["td","th"],!0),utils.each(domUtils.getElementsByTagName(e.document,"table"),function(t){!0!==e.fireEvent("excludetable",t)&&(t.ueTable=new d(t),t.onmouseover=function(){e.fireEvent("tablemouseover",t)},t.onmousemove=function(){e.fireEvent("tablemousemove",t),e.options.tableDragable&&B(!0,this,e),utils.defer(function(){e.fireEvent("contentchange",50)},!0)},t.onmouseout=function(){e.fireEvent("tablemouseout",t),L(e,!1,"",null),W(e)},t.onclick=function(t){var n=U((t=e.window.event||t).target||t.srcElement);if(n){var i,o=c(n),a=o.table,r=o.getCellInfo(n),s=e.selection.getRange();if(I(a,n,t,!0)){var l=o.getCell(o.indexTable[o.rowsNum-1][r.colIndex].rowIndex,o.indexTable[o.rowsNum-1][r.colIndex].cellIndex);t.shiftKey&&o.selectedTds.length?o.selectedTds[0]!==l?(i=o.getCellsRange(o.selectedTds[0],l),o.setSelected(i)):s&&s.selectNodeContents(l).select():n!==l?
12(i=o.getCellsRange(n,l),o.setSelected(i)):s&&s.selectNodeContents(l).select()}else if(I(a,n,t)){var d=o.getCell(o.indexTable[r.rowIndex][o.colsNum-1].rowIndex,o.indexTable[r.rowIndex][o.colsNum-1].cellIndex);t.shiftKey&&o.selectedTds.length?o.selectedTds[0]!==d?(i=o.getCellsRange(o.selectedTds[0],d),o.setSelected(i)):s&&s.selectNodeContents(d).select():n!==d?(i=o.getCellsRange(n,d),o.setSelected(i)):s&&s.selectNodeContents(d).select()}}})}),K(e,!0)}}),domUtils.on(e.document,"mousemove",S),domUtils.on(e.document,"mouseout",function(t){"TABLE"==(t.target||t.srcElement).tagName&&L(e,!1,"",null)}),e.addListener("interlacetable",function(e,t,n){if(t)for(var i=t.rows,o=i.length,a=function(e,t,n){return e[t]?e[t]:n?e[t%e.length]:""},r=0;r<o;r++)i[r].className=a(n||this.options.classList,r,!0)}),e.addListener("uninterlacetable",function(e,t){if(t)for(var n=t.rows,i=this.options.classList,o=n.length,a=0;a<o;a++)domUtils.removeClasses(n[a],i)}),e.addListener("mousedown",R),e.addListener("mouseup",P),domUtils.on(e.body,"dragstart",function(t){P.call(e,"dragstart",t)}),e.addOutputRule(function(e){utils.each(e.getNodesByTagName("div"),function(e){"ue_tableDragLine"==e.getAttr("id")&&e.parentNode.removeChild(e)})});var a=0;e.addListener("mousedown",function(){a=0}),e.addListener("tabkeydown",function(){var t=this.selection.getRange(),n=t.getCommonAncestor(!0,!0),i=domUtils.findParentByTagName(n,"table");if(i){if(domUtils.findParentByTagName(n,"caption",!0)){(o=domUtils.getElementsByTagName(i,"th td"))&&o.length&&t.setStart(o[0],0).setCursor(!1,!0)}else{var o=domUtils.findParentByTagName(n,["td","th"],!0),r=c(o);a=o.rowSpan>1?a:r.getCellInfo(o).rowIndex;var s=r.getTabNextCell(o,a);s?E(s)?t.setStart(s,0).setCursor(!1,!0):t.selectNodeContents(s).select():(e.fireEvent("saveScene"),e.__hasEnterExecCommand=!0,this.execCommand("insertrownext"),e.__hasEnterExecCommand=!1,(t=this.selection.getRange()).setStart(i.rows[i.rows.length-1].cells[0],0).setCursor(),e.fireEvent("saveScene"))}return!0}}),browser.ie&&e.addListener("selectionchange",function(){L(this,!1,"",null)}),e.addListener("keydown",function(e,t){var n=t.keyCode||t.which;if(8!=n&&46!=n){var i=!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey);i&&p(domUtils.getElementsByTagName(this.body,"td"));var o=u(this);o&&i&&o.clearSelected()}}),e.addListener("beforegetcontent",function(){K(this,!1),browser.ie&&utils.each(this.document.getElementsByTagName("caption"),function(e){domUtils.isEmptyNode(e)&&(e.innerHTML="&nbsp;")})}),e.addListener("aftergetcontent",function(){K(this,!0)}),e.addListener("getAllHtml",function(){p(e.document.getElementsByTagName("td"))}),e.addListener("fullscreenchanged",function(t,n){if(!n){var i=this.body.offsetWidth/document.body.offsetWidth,o=domUtils.getElementsByTagName(this.body,"table");utils.each(o,function(t){if(t.offsetWidth<e.body.offsetWidth)return!1;var n=domUtils.getElementsByTagName(t,"td"),o=[];utils.each(n,function(e){o.push(e.offsetWidth)});for(var a,r=0;a=n[r];r++)a.setAttribute("width",Math.floor(o[r]*i));t.setAttribute("width",Math.floor(function(e,t,n){var i=e.body;return i.offsetWidth-(t?2*parseInt(domUtils.getComputedStyle(i,"margin-left"),10):0)-2*n.tableBorder-(e.options.offsetWidth||0)}(e,!0,m(e))))})}});var r=e.execCommand;e.execCommand=function(e,t){var n=this;e=e.toLowerCase();var i,o,a=u(n),s=new dom.Range(n.document),l=n.commands[e]||UE.commands[e];if(l){if(!a||_[e]||l.notNeedUndo||n.__hasEnterExecCommand)o=r.apply(n,arguments);else{n.__hasEnterExecCommand=!0,n.fireEvent("beforeexeccommand",e),i=a.selectedTds;for(var d,c,m,p=-2,h=-2,g=0;m=i[g];g++)E(m)?s.setStart(m,0).setCursor(!1,!0):s.selectNode(m).select(!0),c=n.queryCommandState(e),d=n.queryCommandValue(e),-1!=c&&(p===c&&h===d||(n._ignoreContentChange=!0,o=r.apply(n,arguments),n._ignoreContentChange=!1),p=n.queryCommandState(e),h=n.queryCommandValue(e),domUtils.isEmptyBlock(m)&&domUtils.fillNode(n.document,m));s.setStart(i[0],0).shrinkBoundary(!0).setCursor(!1,!0),n.fireEvent("contentchange"),n.fireEvent("afterexeccommand",e),n.__hasEnterExecCommand=!1,n._selectionChange()}return o}}})},UE.UETable.prototype.sortTable=function(e,t){var n=this.table,i=n.rows,o=[],a="TH"===i[0].cells[0].tagName,r=0;if(this.selectedTds.length){for(var s=this.cellsRange,l=s.endRowIndex+1,d=s.beginRowIndex;d<l;d++)o[d]=i[d];o.splice(0,s.beginRowIndex),r=s.endRowIndex+1===this.rowsNum?0:s.endRowIndex+1}else for(d=0,l=i.length;d<l;d++)o[d]=i[d];var c={reversecurrent:function(e,t){return 1},orderbyasc:function(e,t){var n=e.innerText||e.textContent,i=t.innerText||t.textContent;return n.localeCompare(i)},reversebyasc:function(e,t){var n=e.innerHTML;return t.innerHTML.localeCompare(n)},orderbynum:function(e,t){var n=e[browser.ie?"innerText":"textContent"].match(/\d+/),i=t[browser.ie?"innerText":"textContent"].match(/\d+/);return n&&(n=+n[0]),i&&(i=+i[0]),(n||0)-(i||0)},reversebynum:function(e,t){var n=e[browser.ie?"innerText":"textContent"].match(/\d+/),i=t[browser.ie?"innerText":"textContent"].match(/\d+/);return n&&(n=+n[0]),i&&(i=+i[0]),(i||0)-(n||0)}};n.setAttribute("data-sort-type",t&&"string"==typeof t&&c[t]?t:""),a&&o.splice(0,1),o=utils.sort(o,function(n,i){return t&&"function"==typeof t?t.call(this,n.cells[e],i.cells[e]):t&&"number"==typeof t?1:t&&"string"==typeof t&&c[t]?c[t].call(this,n.cells[e],i.cells[e]):c.orderbyasc.call(this,n.cells[e],i.cells[e])});var u=n.ownerDocument.createDocumentFragment(),m=0;for(l=o.length;m<l;m++)u.appendChild(o[m]);var p=n.getElementsByTagName("tbody")[0];r?p.insertBefore(u,i[r-s.endRowIndex+s.beginRowIndex-1]):p.appendChild(u)},UE.plugins.tablesort=function(){var e=this,t=UE.UETable,n=function(e){return t.getTableItemsByRange(e)};e.ready(function(){utils.cssRule("tablesort","table.sortEnabled tr.firstRow th,table.sortEnabled tr.firstRow td{padding-right:20px;background-repeat: no-repeat;background-position: center right;   background-image:url("+e.options.themePath+e.options.theme+"/images/sortable.png);}",e.document),e.addListener("afterexeccommand",function(e,t){"mergeright"!=t&&"mergedown"!=t&&"mergecells"!=t||this.execCommand("disablesort")})}),UE.commands.sorttable={queryCommandState:function(){var e=n(this);if(!e.cell)return-1;for(var t,i=e.table.getElementsByTagName("td"),o=0;t=i[o++];)if(1!=t.rowSpan||1!=t.colSpan)return-1;return 0},execCommand:function(e,i){var o=this.selection.getRange(),a=o.createBookmark(!0),r=n(this),s=r.cell,l=function(e){return t.getUETable(e)}(r.table),d=l.getCellInfo(s);l.sortTable(d.cellIndex,i),o.moveToBookmark(a);try{o.select()}catch(e){}}}
12,UE.commands.enablesort=UE.commands.disablesort={queryCommandState:function(e){var t=n(this).table;if(t&&"enablesort"==e)for(var i=domUtils.getElementsByTagName(t,"th td"),o=0;o<i.length;o++)if(i[o].getAttribute("colspan")>1||i[o].getAttribute("rowspan")>1)return-1;return t?"enablesort"==e^"sortEnabled"!=t.getAttribute("data-sort")?-1:0:-1},execCommand:function(e){var t=n(this).table;t.setAttribute("data-sort","enablesort"==e?"sortEnabled":"sortDisabled"),"enablesort"==e?domUtils.addClass(t,"sortEnabled"):domUtils.removeClasses(t,"sortEnabled")}}},UE.plugins.contextmenu=function(){var e=this;if(e.setOpt("enableContextMenu",!0),!1!==e.getOpt("enableContextMenu")){var t,n=e.getLang("contextMenu"),i=e.options.contextMenu||[{label:n.selectall,cmdName:"selectall"},{label:n.cleardoc,cmdName:"cleardoc",exec:function(){confirm(n.confirmclear)&&this.execCommand("cleardoc")}},"-",{label:n.unlink,cmdName:"unlink"},"-",{group:n.paragraph,icon:"justifyjustify",subMenu:[{label:n.justifyleft,cmdName:"justify",value:"left"},{label:n.justifyright,cmdName:"justify",value:"right"},{label:n.justifycenter,cmdName:"justify",value:"center"},{label:n.justifyjustify,cmdName:"justify",value:"justify"}]},"-",{group:n.table,icon:"table",subMenu:[{label:n.inserttable,cmdName:"inserttable"},{label:n.deletetable,cmdName:"deletetable"},"-",{label:n.deleterow,cmdName:"deleterow"},{label:n.deletecol,cmdName:"deletecol"},{label:n.insertcol,cmdName:"insertcol"},{label:n.insertcolnext,cmdName:"insertcolnext"},{label:n.insertrow,cmdName:"insertrow"},{label:n.insertrownext,cmdName:"insertrownext"},"-",{label:n.insertcaption,cmdName:"insertcaption"},{label:n.deletecaption,cmdName:"deletecaption"},{label:n.inserttitle,cmdName:"inserttitle"},{label:n.deletetitle,cmdName:"deletetitle"},{label:n.inserttitlecol,cmdName:"inserttitlecol"},{label:n.deletetitlecol,cmdName:"deletetitlecol"},"-",{label:n.mergecells,cmdName:"mergecells"},{label:n.mergeright,cmdName:"mergeright"},{label:n.mergedown,cmdName:"mergedown"},"-",{label:n.splittorows,cmdName:"splittorows"},{label:n.splittocols,cmdName:"splittocols"},{label:n.splittocells,cmdName:"splittocells"},"-",{label:n.averageDiseRow,cmdName:"averagedistributerow"},{label:n.averageDisCol,cmdName:"averagedistributecol"},"-",{label:n.edittd,cmdName:"edittd",exec:function(){UE.ui.edittd&&new UE.ui.edittd(this),this.getDialog("edittd").open()}},{label:n.edittable,cmdName:"edittable",exec:function(){UE.ui.edittable&&new UE.ui.edittable(this),this.getDialog("edittable").open()}},{label:n.setbordervisible,cmdName:"setbordervisible"}]},{group:n.tablesort,icon:"tablesort",subMenu:[{label:n.enablesort,cmdName:"enablesort"},{label:n.disablesort,cmdName:"disablesort"},"-",{label:n.reversecurrent,cmdName:"sorttable",value:"reversecurrent"},{label:n.orderbyasc,cmdName:"sorttable",value:"orderbyasc"},{label:n.reversebyasc,cmdName:"sorttable",value:"reversebyasc"},{label:n.orderbynum,cmdName:"sorttable",value:"orderbynum"},{label:n.reversebynum,cmdName:"sorttable",value:"reversebynum"}]},{group:n.borderbk,icon:"borderBack",subMenu:[{label:n.setcolor,cmdName:"interlacetable",exec:function(){this.execCommand("interlacetable")}},{label:n.unsetcolor,cmdName:"uninterlacetable",exec:function(){this.execCommand("uninterlacetable")}},{label:n.setbackground,cmdName:"settablebackground",exec:function(){this.execCommand("settablebackground",{repeat:!0,colorList:["#bbb","#ccc"]})}},{label:n.unsetbackground,cmdName:"cleartablebackground",exec:function(){this.execCommand("cleartablebackground")}},{label:n.redandblue,cmdName:"settablebackground",exec:function(){this.execCommand("settablebackground",{repeat:!0,colorList:["red","blue"]})}},{label:n.threecolorgradient,cmdName:"settablebackground",exec:function(){this.execCommand("settablebackground",{repeat:!0,colorList:["#aaa","#bbb","#ccc"]})}}]},{group:n.aligntd,icon:"aligntd",subMenu:[{cmdName:"cellalignment",value:{align:"left",vAlign:"top"}},{cmdName:"cellalignment",value:{align:"center",vAlign:"top"}},{cmdName:"cellalignment",value:{align:"right",vAlign:"top"}},{cmdName:"cellalignment",value:{align:"left",vAlign:"middle"}},{cmdName:"cellalignment",value:{align:"center",vAlign:"middle"}},{cmdName:"cellalignment",value:{align:"right",vAlign:"middle"}},{cmdName:"cellalignment",value:{align:"left",vAlign:"bottom"}},{cmdName:"cellalignment",value:{align:"center",vAlign:"bottom"}},{cmdName:"cellalignment",value:{align:"right",vAlign:"bottom"}}]},{group:n.aligntable,icon:"aligntable",subMenu:[{cmdName:"tablealignment",className:"left",label:n.tableleft,value:"left"},{cmdName:"tablealignment",className:"center",label:n.tablecenter,value:"center"},{cmdName:"tablealignment",className:"right",label:n.tableright,value:"right"}]},"-",{label:n.insertparagraphbefore,cmdName:"insertparagraph",value:!0},{label:n.insertparagraphafter,cmdName:"insertparagraph"},{label:n.copy,cmdName:"copy"},{label:n.paste,cmdName:"paste"}];if(i.length){var o=UE.ui.uiUtils;e.addListener("contextmenu",function(a,r){var s=o.getViewportOffsetByEvent(r);e.fireEvent("beforeselectionchange"),t&&t.destroy();for(var l,d=0,c=[];l=i[d];d++){var u;!function(t){if("-"==t)(u=c[c.length-1])&&"-"!==u&&c.push("-");else if(t.hasOwnProperty("group")){for(var i,o=0,a=[];i=t.subMenu[o];o++)!function(t){"-"==t?(u=a[a.length-1])&&"-"!==u?a.push("-"):a.splice(a.length-1):(e.commands[t.cmdName]||UE.commands[t.cmdName]||t.query)&&(t.query?t.query():e.queryCommandState(t.cmdName))>-1&&a.push({label:t.label||e.getLang("contextMenu."+t.cmdName+(t.value||""))||"",className:"edui-for-"+t.cmdName+(t.className?" edui-for-"+t.cmdName+"-"+t.className:""),onclick:t.exec?function(){t.exec.call(e)}:function(){e.execCommand(t.cmdName,t.value)}})}(i);if(a.length){c.push({label:function(){switch(t.icon){case"table":return e.getLang("contextMenu.table");case"justifyjustify":return e.getLang("contextMenu.paragraph");case"aligntd":return e.getLang("contextMenu.aligntd");case"aligntable":return e.getLang("contextMenu.aligntable");case"tablesort":return n.tablesort;case"borderBack":return n.borderbk;default:return""}}(),className:"edui-for-"+t.icon,subMenu:{items:a,editor:e}})}}else(e.commands[t.cmdName]||UE.commands[t.cmdName]||t.query)&&(t.query?t.query.call(e):e.queryCommandState(t.cmdName))>-1&&c.push({label:t.label||e.getLang("contextMenu."+t.cmdName),className:"edui-for-"+(t.icon?t.icon:t.cmdName+(t.value||"")),onclick:t.exec?function(){t.exec.call(e)}:function(){e.execCommand(t.cmdName,t.value)}})}(l)}if("-"==c[c.length-1]&&c.pop(),(t=new UE.ui.Menu({items:c,className:"edui-contextmenu",editor:e})).render(),t.showAt(s),e.fireEvent("aftershowcontextmenu",t),domUtils.preventDefault(r),browser.ie){var m;try{m=e.selection.getNative().createRange()}catch(e){return}if(m.item)new dom.Range(e.document).selectNode(m.item(0)).select(!0,!0)}}),e.addListener("aftershowcontextmenu",function(t,n){if(e.zeroclipboard){var i=n.items;for(var o in i)"edui-for-copy"==i[o].className&&e.zeroclipboard.clip(i[o].getDom())}})}}},UE.plugins.shortcutmenu=function(){var e,t=this.options.shortcutMenu||[];t.length&&(this.addListener("contextmenu mouseup",function(n,i){var o=this,a={type:n,target:i.target||i.srcElement,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY};if(setTimeout(function(){!1!==o.selection.getRange().collapsed&&"contextmenu"!=n||(e||((e=new baidu.editor.ui.ShortCutMenu({editor:o,items:t,theme:o.options.theme,className:"edui-shortcutmenu"})).render(),o.fireEvent("afterrendershortcutmenu",e)),e.show(a,!!UE.plugins.contextmenu))}),"contextmenu"==n&&(domUtils.preventDefault(i),browser.ie9below)){var r;try{r=o.selection.getNative().createRange()}catch(i){return}if(r.item)new dom.Range(o.document).selectNode(r.item(0)).select(!0,!0)}}),this.addListener("keydown",function(t){"keydown"==t&&e&&!e.isHidden&&e.hide()}))},UE.plugins.basestyle=function(){var e={bold:["strong","b"],italic:["em","i"],subscript:["sub"],superscript:["sup"]},t=function(e,t){return domUtils.filterNodeList(e.selection.getStartElementPath(),t)},n=this;for(var i in n.addshortcutkey({Bold:"ctrl+66",Italic:"ctrl+73",Underline:"ctrl+85"}),n.addInputRule(function(e){utils.each(e.getNodesByTagName("b i"),function(e){switch(e.tagName){case"b":e.tagName="strong";break;case"i":e.tagName="em"}})}),e)!function(e,i){n.commands[e]={execCommand:function(e){var o=n.selection.getRange(),a=t(this,i);if(o.collapsed){if(a){var r=n.document.createTextNode("");o.insertNode(r).removeInlineStyle(i),o.setStartBefore(r),domUtils.remove(r)}else{var s=o.document.createElement(i[0]);"superscript"!=e&&"subscript"!=e||(r=n.document.createTextNode(""),o.insertNode(r).removeInlineStyle(["sub","sup"]).setStartBefore(r).collapse(!0)),o.insertNode(s).setStart(s,0)}o.collapse(!0)}else"superscript"!=e&&"subscript"!=e||a&&a.tagName.toLowerCase()==e||o.removeInlineStyle(["sub","sup"]),a?o.removeInlineStyle(i):o.applyInlineStyle(i[0]);o.select()},queryCommandState:function(){return t(this,i)?1:0}
12}}(i,e[i])},UE.plugins.elementpath=function(){var e,t,n=this;n.setOpt("elementPathEnabled",!0),n.options.elementPathEnabled&&(n.commands.elementpath={execCommand:function(i,o){var a=t[o],r=n.selection.getRange();e=1*o,r.selectNode(a).select()},queryCommandValue:function(){var n=[].concat(this.selection.getStartElementPath()).reverse(),i=[];t=n;for(var o,a=0;o=n[a];a++)if(3!=o.nodeType){var r=o.tagName.toLowerCase();if("img"==r&&o.getAttribute("anchorname")&&(r="anchor"),i[a]=r,e==a){e=-1;break}}return i}})},UE.plugins.formatmatch=function(){var e,t=this,n=[],i=0;function o(a,r){if(browser.webkit)var s="IMG"==r.target.tagName?r.target:null;t.undoManger&&t.undoManger.save();var l=t.selection.getRange(),d=s||l.getClosedNode();if(e&&d&&"IMG"==d.tagName)d.style.cssText+=";float:"+(e.style.cssFloat||e.style.styleFloat||"none")+";display:"+(e.style.display||"inline"),e=null;else if(!e){if(l.collapsed){var c=t.document.createTextNode("match");l.insertNode(c).select()}t.__hasEnterExecCommand=!0;var u=t.options.removeFormatAttributes;t.options.removeFormatAttributes="",t.execCommand("removeformat"),t.options.removeFormatAttributes=u,t.__hasEnterExecCommand=!1,l=t.selection.getRange(),n.length&&function(e){c&&e.selectNode(c),e.applyInlineStyle(n[n.length-1].tagName,null,n)}(l),c&&l.setStartBefore(c).collapse(!0),l.select(),c&&domUtils.remove(c)}t.undoManger&&t.undoManger.save(),t.removeListener("mouseup",o),i=0}t.addListener("reset",function(){n=[],i=0}),t.commands.formatmatch={execCommand:function(a){if(i)return i=0,n=[],void t.removeListener("mouseup",o);var r=t.selection.getRange();if(!(e=r.getClosedNode())||"IMG"!=e.tagName){r.collapse(!0).shrinkBoundary();var s=r.startContainer;n=domUtils.findParents(s,!0,function(e){return!domUtils.isBlockElm(e)&&1==e.nodeType});for(var l,d=0;l=n[d];d++)if("A"==l.tagName){n.splice(d,1);break}}t.addListener("mouseup",o),i=1},queryCommandState:function(){return i},notNeedUndo:1}},UE.plugin.register("searchreplace",function(){var e=this,t={table:1,tbody:1,tr:1,ol:1,ul:1};function n(e,t,n){var i=t.searchStr;-1==t.dir&&(e=e.split("").reverse().join(""),i=i.split("").reverse().join(""),n=e.length-n);for(var o,a=new RegExp(i,"g"+(t.casesensitive?"":"i"));o=a.exec(e);)if(o.index>=n)return-1==t.dir?e.length-o.index-t.searchStr.length:o.index;return-1}function i(e,t,n){for(var o,a=0,r=e.firstChild,s=0;r;){if(3==r.nodeType){if((a+=s=r.nodeValue.replace(/(^[\t\r\n]+)|([\t\r\n]+$)/,"").length)>=t)return{node:r,index:s-(a-t)}}else if(!dtd.$empty[r.tagName]&&(a+=s=r[browser.ie?"innerText":"textContent"].replace(/(^[\t\r\n]+)|([\t\r\n]+$)/,"").length)>=t&&(o=i(r,s-(a-t),n)))return o;r=domUtils.getNextDomNode(r)}}function o(e,o){var r,s=e.selection.getRange(),l=o.searchStr,d=e.document.createElement("span");if(d.innerHTML="$$ueditor_searchreplace_key$$",s.shrinkBoundary(!0),!s.collapsed){s.select();var c=e.selection.getText();if(new RegExp("^"+o.searchStr+"$",o.casesensitive?"":"i").test(c)){if(void 0!=o.replaceStr)return a(s,o.replaceStr),s.select(),!0;s.collapse(-1==o.dir)}}s.insertNode(d),s.enlargeToBlockElm(!0);var u=(r=s.startContainer)[browser.ie?"innerText":"textContent"].indexOf("$$ueditor_searchreplace_key$$");s.setStartBefore(d),domUtils.remove(d);var m=function(e,i,o){var a,r=o.all||1==o.dir?"getNextDomNode":"getPreDomNode";for(domUtils.isBody(e)&&(e=e.firstChild);e;){if(-1!=(a=n(3==e.nodeType?e.nodeValue:e[browser.ie?"innerText":"textContent"],o,i)))return{node:e,index:a};for(e=domUtils[r](e);e&&t[e.nodeName.toLowerCase()];)e=domUtils[r](e,!0);e&&(i=-1==o.dir?(3==e.nodeType?e.nodeValue:e[browser.ie?"innerText":"textContent"]).length:0)}}(r,u,o);if(m){var p=i(m.node,m.index,l),h=i(m.node,m.index+l.length,l);return s.setStart(p.node,p.index).setEnd(h.node,h.index),void 0!==o.replaceStr&&a(s,o.replaceStr),s.select(),!0}s.setCursor()}function a(t,n){n=e.document.createTextNode(n),t.deleteContents().insertNode(n)}return{commands:{searchreplace:{execCommand:function(t,n){utils.extend(n,{all:!1,casesensitive:!1,dir:1},!0);var i=0;if(n.all){var a=e.selection.getRange(),r=e.body.firstChild;for(r&&1==r.nodeType?(a.setStart(r,0),a.shrinkBoundary(!0)):3==r.nodeType&&a.setStartBefore(r),a.collapse(!0).select(!0),void 0!==n.replaceStr&&e.fireEvent("saveScene");o(this,n);)i++;
12i&&e.fireEvent("saveScene")}else void 0!==n.replaceStr&&e.fireEvent("saveScene"),o(this,n)&&i++,i&&e.fireEvent("saveScene");return i},notNeedUndo:1}}}}),UE.plugins.customstyle=function(){var e=this;e.setOpt({customstyle:[{tag:"h1",name:"tc",style:"font-size:32px;font-weight:bold;border-bottom:#ccc 2px solid;padding:0 4px 0 0;text-align:center;margin:0 0 20px 0;"},{tag:"h1",name:"tl",style:"font-size:32px;font-weight:bold;border-bottom:#ccc 2px solid;padding:0 4px 0 0;text-align:left;margin:0 0 10px 0;"},{tag:"span",name:"im",style:"font-size:16px;font-style:italic;font-weight:bold;line-height:18px;"},{tag:"span",name:"hi",style:"font-size:16px;font-style:italic;font-weight:bold;color:rgb(51, 153, 204);line-height:18px;"}]}),e.commands.customstyle={execCommand:function(e,t){var n,i,o=this,a=t.tag,r=domUtils.findParent(o.selection.getStart(),function(e){return e.getAttribute("label")},!0),s={};for(var l in t)void 0!==t[l]&&(s[l]=t[l]);if(delete s.tag,r&&r.getAttribute("label")==t.label){if(i=(n=this.selection.getRange()).createBookmark(),n.collapsed)if(dtd.$block[r.tagName]){var d=o.document.createElement("p");domUtils.moveChild(r,d),r.parentNode.insertBefore(d,r),domUtils.remove(r)}else domUtils.remove(r,!0);else{var c=domUtils.getCommonAncestor(i.start,i.end),u=domUtils.getElementsByTagName(c,a);new RegExp(a,"i").test(c.tagName)&&u.push(c);for(var m,p=0;m=u[p++];)if(m.getAttribute("label")==t.label){var h=domUtils.getPosition(m,i.start),g=domUtils.getPosition(m,i.end);if((h&domUtils.POSITION_FOLLOWING||h&domUtils.POSITION_CONTAINS)&&(g&domUtils.POSITION_PRECEDING||g&domUtils.POSITION_CONTAINS)&&dtd.$block[a]){d=o.document.createElement("p");domUtils.moveChild(m,d),m.parentNode.insertBefore(d,m)}domUtils.remove(m,!0)}(r=domUtils.findParent(c,function(e){return e.getAttribute("label")==t.label},!0))&&domUtils.remove(r,!0)}n.moveToBookmark(i).select()}else if(dtd.$block[a]){if(this.execCommand("paragraph",a,s,"customstyle"),!(n=o.selection.getRange()).collapsed){n.collapse(),r=domUtils.findParent(o.selection.getStart(),function(e){return e.getAttribute("label")==t.label},!0);var f=o.document.createElement("p");domUtils.insertAfter(r,f),domUtils.fillNode(o.document,f),n.setStart(f,0).setCursor()}}else{if((n=o.selection.getRange()).collapsed)return r=o.document.createElement(a),domUtils.setAttributes(r,s),void n.insertNode(r).setStart(r,0).setCursor();i=n.createBookmark(),n.applyInlineStyle(a,s).moveToBookmark(i).select()}},queryCommandValue:function(){var e=domUtils.filterNodeList(this.selection.getStartElementPath(),function(e){return e.getAttribute("label")});return e?e.getAttribute("label"):""}},e.addListener("keyup",function(t,n){var i=n.keyCode||n.which;if(32==i||13==i){var o=e.selection.getRange();if(o.collapsed){var a=domUtils.findParent(e.selection.getStart(),function(e){return e.getAttribute("label")},!0);if(a&&dtd.$block[a.tagName]&&domUtils.isEmptyNode(a)){var r=e.document.createElement("p");domUtils.insertAfter(a,r),domUtils.fillNode(e.document,r),domUtils.remove(a),o.setStart(r,0).setCursor()}}}})},UE.plugins.catchremoteimage=function(){var e=this;!1!==e.options.catchRemoteImageEnable&&(e.setOpt({catchRemoteImageEnable:!0}),e.addListener("afterpaste",function(){e.fireEvent("catchRemoteImage")}),e.addListener("catchRemoteImage",function(){for(var t,n=["127.0.0.1","localhost","haiwainet.cn"],i=(e.getOpt("catcherUrlPrefix"),e.getOpt("catcherFieldName"),[]),o=domUtils.getElementsByTagName(e.document,"img"),a=function(e,t){if(-1!=e.indexOf(location.host)||/(^\.)|(^\/)/.test(e))return!0;if(t)for(var n,i=0;n=t[i++];)if(-1!==e.indexOf(n))return!0;return!1},r=0;t=o[r++];)if(!t.getAttribute("word_img")){var s=t.getAttribute("_src")||t.src||"";/^(https?|ftp):/i.test(s)&&!a(s,n)&&i.push(s)}i.length&&function(e){let t={url:e,source:"MS01"};return Object(_utils_request__WEBPACK_IMPORTED_MODULE_0__.a)({url:"/material/batch/every/upload",method:"post",data:t})}(i).then(e=>{var t,n,i,a,r,s,l,d=e.data.data;if(o.length){for(t=0;i=o[t++];)for(s=i.getAttribute("_src")||i.src||"",n=0;a=d[n++];){if(s==a.origin&&"OK"==a.status){l=a.url,domUtils.setAttributes(i,{src:l,_src:l});break}
12"OK"!==a.status&&(domUtils.setAttributes(i,{src:null,_src:null}),r=!0)}r&&Message.error("存在无法本地化的外链图片,请手动保存后上传!")}})}))},UE.plugin.register("snapscreen",function(){var me=this,snapplugin;function getLocation(e){var t,n=document.createElement("a"),i=utils.serializeParam(me.queryCommandValue("serverparam"))||"";return n.href=e,browser.ie&&(n.href=n.href),t=n.search,i&&(t=(t=t+(-1==t.indexOf("?")?"?":"&")+i).replace(/[&]+/gi,"&")),{port:n.port,hostname:n.hostname,path:n.pathname+t||+n.hash}}return{commands:{snapscreen:{execCommand:function(cmd){var url,local,res,lang=me.getLang("snapScreen_plugin");if(!snapplugin){var container=me.container,doc=me.container.ownerDocument||me.container.document;snapplugin=doc.createElement("object");try{snapplugin.type="application/x-pluginbaidusnap"}catch(e){return}snapplugin.style.cssText="position:absolute;left:-9999px;width:0;height:0;",snapplugin.setAttribute("width","0"),snapplugin.setAttribute("height","0"),container.appendChild(snapplugin)}function onSuccess(rs){try{if(rs=eval("("+rs+")"),"SUCCESS"==rs.state){var opt=me.options;me.execCommand("insertimage",{src:opt.snapscreenUrlPrefix+rs.url,_src:opt.snapscreenUrlPrefix+rs.url,alt:rs.title||"",floatStyle:opt.snapscreenImgAlign})}else alert(rs.state)}catch(e){alert(lang.callBackErrorMsg)}}url=me.getActionUrl(me.getOpt("snapscreenActionName")),local=getLocation(url),setTimeout(function(){try{res=snapplugin.saveSnapshot(local.hostname,local.path,local.port)}catch(e){return void me.ui._dialogs.snapscreenDialog.open()}onSuccess(res)},50)},queryCommandState:function(){return-1!=navigator.userAgent.indexOf("Windows",0)?0:-1}}}}}),UE.commands.insertparagraph={execCommand:function(e,t){for(var n,i=this.selection.getRange(),o=i.startContainer;o&&!domUtils.isBody(o);)n=o,o=o.parentNode;if(n){var a=this.document.createElement("p");t?n.parentNode.insertBefore(a,n):n.parentNode.insertBefore(a,n.nextSibling),domUtils.fillNode(this.document,a),i.setStart(a,0).setCursor(!1,!0)}}},UE.plugin.register("webapp",function(){var e=this;function t(t,n){return n?'<iframe class="edui-faked-webapp" title="'+t.title+'" '+(t.align&&!t.cssfloat?'align="'+t.align+'"':"")+(t.cssfloat?'style="float:'+t.cssfloat+'"':"")+'width="'+t.width+'" height="'+t.height+'"  scrolling="no" frameborder="0" src="'+t.url+'" logo_url = "'+t.logo+'"></iframe>':'<img title="'+t.title+'" width="'+t.width+'" height="'+t.height+'" src="'+e.options.UEDITOR_HOME_URL+'themes/default/images/spacer.gif" _logo_url="'+t.logo+'" style="background:url('+t.logo+') no-repeat center center; border:1px solid gray;" class="edui-faked-webapp" _url="'+t.url+'" '+(t.align&&!t.cssfloat?'align="'+t.align+'"':"")+(t.cssfloat?'style="float:'+t.cssfloat+'"':"")+"/>"}return{outputRule:function(e){utils.each(e.getNodesByTagName("img"),function(e){var n;if("edui-faked-webapp"==e.getAttr("class")){n=t({title:e.getAttr("title"),width:e.getAttr("width"),height:e.getAttr("height"),align:e.getAttr("align"),cssfloat:e.getStyle("float"),url:e.getAttr("_url"),logo:e.getAttr("_logo_url")},!0);var i=UE.uNode.createElement(n);e.parentNode.replaceChild(i,e)}})},inputRule:function(e){utils.each(e.getNodesByTagName("iframe"),function(e){if("edui-faked-webapp"==e.getAttr("class")){var n=UE.uNode.createElement(t({title:e.getAttr("title"),width:e.getAttr("width"),height:e.getAttr("height"),align:e.getAttr("align"),cssfloat:e.getStyle("float"),url:e.getAttr("src"),logo:e.getAttr("logo_url")}));e.parentNode.replaceChild(n,e)}})},commands:{webapp:{execCommand:function(e,n){var i=t(utils.extend(n,{align:"none"}),!1);this.execCommand("inserthtml",i)},queryCommandState:function(){var e=this.selection.getRange().getClosedNode();return e&&"edui-faked-webapp"==e.className?1:0}}}}}),UE.plugins.template=function(){UE.commands.template={execCommand:function(e,t){t.html&&this.execCommand("inserthtml",t.html)}},this.addListener("click",function(e,t){var n=t.target||t.srcElement,i=this.selection.getRange(),o=domUtils.findParent(n,function(e){if(e.className&&domUtils.hasClass(e,"ue_t"))return e},!0);o&&i.selectNode(o).shrinkBoundary().select()}),this.addListener("keydown",function(e,t){var n=this.selection.getRange();if(!n.collapsed&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var i=domUtils.findParent(n.startContainer,function(e){if(e.className&&dom
12Utils.hasClass(e,"ue_t"))return e},!0);i&&domUtils.removeClasses(i,["ue_t"])}})},UE.plugin.register("music",function(){var e=this;function t(t,n,i,o,a,r){return r?'<embed type="application/x-shockwave-flash" class="edui-faked-music" pluginspage="http://www.macromedia.com/go/getflashplayer" src="'+t+'" width="'+n+'" height="'+i+'" '+(o&&!a?'align="'+o+'"':"")+(a?'style="float:'+a+'"':"")+' wmode="transparent" play="true" loop="false" menu="false" allowscriptaccess="never" allowfullscreen="true" >':"<img "+(o&&!a?'align="'+o+'"':"")+(a?'style="float:'+a+'"':"")+' width="'+n+'" height="'+i+'" _url="'+t+'" class="edui-faked-music" src="'+e.options.langPath+e.options.lang+'/images/music.png" />'}return{outputRule:function(e){utils.each(e.getNodesByTagName("img"),function(e){var n;if("edui-faked-music"==e.getAttr("class")){var i=e.getStyle("float"),o=e.getAttr("align");n=t(e.getAttr("_url"),e.getAttr("width"),e.getAttr("height"),o,i,!0);var a=UE.uNode.createElement(n);e.parentNode.replaceChild(a,e)}})},inputRule:function(e){utils.each(e.getNodesByTagName("embed"),function(e){if("edui-faked-music"==e.getAttr("class")){var n=e.getStyle("float"),i=e.getAttr("align");html=t(e.getAttr("src"),e.getAttr("width"),e.getAttr("height"),i,n,!1);var o=UE.uNode.createElement(html);e.parentNode.replaceChild(o,e)}})},commands:{music:{execCommand:function(e,n){var i=t(n.url,n.width||400,n.height||95,"none",!1);this.execCommand("inserthtml",i)},queryCommandState:function(){var e=this.selection.getRange().getClosedNode();return e&&"edui-faked-music"==e.className?1:0}}}}}),UE.plugin.register("autoupload",function(){function e(e,t){var n,i,o,a,r,s,l,d,c=t,u=/image\/\w+/i.test(e.type)?"image":"file",m="loading_"+(+new Date).toString(36);if(n=c.getOpt(u+"FieldName"),i=c.getOpt(u+"UrlPrefix"),o=c.getOpt(u+"MaxSize"),a=c.getOpt(u+"AllowFiles"),r=c.getActionUrl(c.getOpt(u+"ActionName")),l=function(e){var t=c.document.getElementById(m);t&&domUtils.remove(t),c.fireEvent("showmessage",{id:m,content:e,type:"error",timeout:4e3})},"image"==u?(s='<img class="loadingclass" id="'+m+'" src="'+c.options.themePath+c.options.theme+'/images/spacer.gif" title="'+(c.getLang("autoupload.loading")||"")+'" >',d=function(e){var t=i+e.url,n=c.document.getElementById(m);n&&(n.setAttribute("src",t),n.setAttribute("_src",t),n.setAttribute("title",e.title||""),n.setAttribute("alt",e.original||""),n.removeAttribute("id"),domUtils.removeClasses(n,"loadingclass"))}):(s='<p><img class="loadingclass" id="'+m+'" src="'+c.options.themePath+c.options.theme+'/images/spacer.gif" title="'+(c.getLang("autoupload.loading")||"")+'" ></p>',d=function(e){var t=i+e.url,n=c.document.getElementById(m),o=c.selection.getRange(),a=o.createBookmark();o.selectNode(n).select(),c.execCommand("insertfile",{url:t}),o.moveToBookmark(a).select()}),c.execCommand("inserthtml",s),c.getOpt(u+"ActionName"))if(e.size>o)l(c.getLang("autoupload.exceedSizeError"));else{var p=e.name?e.name.substr(e.name.lastIndexOf(".")):"";if(p&&"image"!=u||a&&-1==(a.join("")+".").indexOf(p.toLowerCase()+"."))l(c.getLang("autoupload.exceedTypeError"));else{var h=new XMLHttpRequest,g=new FormData,f=utils.serializeParam(c.queryCommandValue("serverparam"))||"",v=utils.formatUrl(r+(-1==r.indexOf("?")?"?":"&")+f);g.append(n,e,e.name||"blob."+e.type.substr("image/".length)),g.append("type","ajax"),h.open("post",v,!0),h.setRequestHeader("X-Requested-With","XMLHttpRequest"),h.addEventListener("load",function(e){try{var t=new Function("return "+utils.trim(e.target.response))();"SUCCESS"==t.state&&t.url?d(t):l(t.state)}catch(e){l(c.getLang("autoupload.loadError"))}}),h.send(g)}}else l(c.getLang("autoupload.errorLoadConfig"))}return{outputRule:function(e){utils.each(e.getNodesByTagName("img"),function(e){/\b(loaderrorclass)|(bloaderrorclass)\b/.test(e.getAttr("class"))&&e.parentNode.removeChild(e)}),utils.each(e.getNodesByTagName("p"),function(e){/\bloadpara\b/.test(e.getAttr("class"))&&e.parentNode.removeChild(e)})},bindEvents:{ready:function(t){var n=this;window.FormData&&window.FileReader&&(domUtils.on(n.body,"paste drop",function(t){var i,o=!1;if(i="paste"==t.type?function(e){return e.clipboardData&&e.clipboardData.items&&1==e.clipboardData.items.length&&/^image\//.test(e.clipboardData.items[0].type)?e.clipboardData.items:null}(t):function(e){return e.dataTransfer&&e.dataTransfer.files?e.dataTransfer.files:null}(t)){for(var a,r=i.length;r--;)(a=i[r]).getAsFile&&(a=a.getAsFile()),a&&a.size>0&&(e(a,n),o=!0);o&&t.preventDefault()}}
12),domUtils.on(n.body,"dragover",function(e){"Files"==e.dataTransfer.types[0]&&e.preventDefault()}),utils.cssRule("loading",".loadingclass{display:inline-block;cursor:default;background: url('"+this.options.themePath+this.options.theme+"/images/loading.gif') no-repeat center center transparent;border:1px solid #cccccc;margin-left:1px;height: 22px;width: 22px;}\n.loaderrorclass{display:inline-block;cursor:default;background: url('"+this.options.themePath+this.options.theme+"/images/loaderror.png') no-repeat center center transparent;border:1px solid #cccccc;margin-right:1px;height: 22px;width: 22px;}",this.document))}}}}),UE.plugin.register("autosave",function(){var e=this,t=new Date,n=20,i=null;function o(o){var a;new Date-t<n||(o.hasContents()?(t=new Date,o._saveFlag=null,a=e.body.innerHTML,!1!==o.fireEvent("beforeautosave",{content:a})&&(e.setPreferences(i,a),o.fireEvent("afterautosave",{content:a}))):i&&e.removePreferences(i))}return{defaultOptions:{saveInterval:500},bindEvents:{ready:function(){var t=null;t=e.key?e.key+"-drafts-data":(e.container.parentNode.id||"ue-common")+"-drafts-data",i=(location.protocol+location.host+location.pathname).replace(/[.:\/]/g,"_")+t},contentchange:function(){i&&(e._saveFlag&&window.clearTimeout(e._saveFlag),e.options.saveInterval>0?e._saveFlag=window.setTimeout(function(){o(e)},e.options.saveInterval):o(e))}},commands:{clearlocaldata:{execCommand:function(t,n){i&&e.getPreferences(i)&&e.removePreferences(i)},notNeedUndo:!0,ignoreContentChange:!0},getlocaldata:{execCommand:function(t,n){return i&&e.getPreferences(i)||""},notNeedUndo:!0,ignoreContentChange:!0},drafts:{execCommand:function(t,n){i&&(e.body.innerHTML=e.getPreferences(i)||"<p>"+domUtils.fillHtml+"</p>",e.focus(!0))},queryCommandState:function(){return i?null===e.getPreferences(i)?-1:0:-1},notNeedUndo:!0,ignoreContentChange:!0}}}}),UE.plugin.register("charts",function(){var e=this;return{bindEvents:{chartserror:function(){}},commands:{charts:{execCommand:function(n,i){var o=domUtils.findParentByTagName(this.selection.getRange().startContainer,"table",!0),a=[],r={};if(!o)return!1;if(!t(o))return e.fireEvent("chartserror"),!1;for(var s in r.title=i.title||"",r.subTitle=i.subTitle||"",r.xTitle=i.xTitle||"",r.yTitle=i.yTitle||"",r.suffix=i.suffix||"",r.tip=i.tip||"",r.dataFormat=i.tableDataFormat||"",r.chartType=i.chartType||0,r)r.hasOwnProperty(s)&&a.push(s+":"+r[s]);o.setAttribute("data-chart",a.join(";")),domUtils.addClass(o,"edui-charts-table")},queryCommandState:function(e,n){var i=domUtils.findParentByTagName(this.selection.getRange().startContainer,"table",!0);return i&&t(i)?0:-1}}},inputRule:function(e){utils.each(e.getNodesByTagName("table"),function(e){void 0!==e.getAttr("data-chart")&&e.setAttr("style")})},outputRule:function(e){utils.each(e.getNodesByTagName("table"),function(e){void 0!==e.getAttr("data-chart")&&e.setAttr("style","display: none;")})}};function t(e){var t,n;if(e.rows.length<2)return!1;if(e.rows[0].cells.length<2)return!1;n=(t=e.rows[0].cells).length;for(var i=0;a=t[i];i++)if("th"!==a.tagName.toLowerCase())return!1;var o;for(i=1;o=e.rows[i];i++){if(o.cells.length!=n)return!1;if("th"!==o.cells[0].tagName.toLowerCase())return!1;for(var a,r=1;a=o.cells[r];r++){var s=utils.trim(a.innerText||a.textContent||"");if(s=s.replace(new RegExp(UE.dom.domUtils.fillChar,"g"),"").replace(/^\s+|\s+$/g,""),!/^\d*\.?\d+$/.test(s))return!1}}return!0}}),UE.plugin.register("section",function(){function e(e){var t=new function(e){this.tag="",this.level=-1,this.dom=null,this.nextSection=null,this.previousSection=null,this.parentSection=null,this.startAddress=[],this.endAddress=[],this.children=[]};return utils.extend(t,e)}function t(e,t){for(var n=t,i=0;i<e.length;i++){if(!n.childNodes)return null;n=n.childNodes[e[i]]}return n}var n=this;return{bindMultiEvents:{type:"aftersetcontent afterscencerestore",handler:function(){n.fireEvent("updateSections")}},bindEvents:{ready:function(){n.fireEvent("updateSections"),domUtils.on(n.body,"drop paste",function(){n.fireEvent("updateSections")})},afterexeccommand:function(e,t){"paragraph"==t&&n.fireEvent("updateSections")},keyup:function(e,t){if(1!=this.selection.getRange().collapsed)this.fireEvent("updateSections");else{var n=t.keyCode||t.which;13!=n&&8!=n&&46!=n||this.fireEvent("updateSections")}}},commands:{getsections:{execCommand:function(t,n){for(var i=n||["h1","h2","h3","h4","h5","h6"],o=0;o<i.length;o++)"string"==typeof i[o]?i[o]=function(e){return function(t){return t.tagName==e.toUpperCase()}}(i[o]):"function"!=typeof i[o]&&(i[o]=function(e){return null});function a(e){for(var t=0;t<i.length;t++)if(i[t](e))return t;return-1}var r=this,s=e({level:-1,title:"root"}),l=s;
12return function t(n,i){for(var o,s,d,c=null,u=n.childNodes,m=0,p=u.length;m<p;m++)if((o=a(d=u[m]))>=0){var h=r.selection.getRange().selectNode(d).createAddress(!0).startAddress,g=e({tag:d.tagName,title:d.innerText||d.textContent||"",level:o,dom:d,startAddress:utils.clone(h,[]),endAddress:utils.clone(h,[]),children:[]});for(l.nextSection=g,g.previousSection=l,s=l;o<=s.level;)s=s.parentSection;g.parentSection=s,s.children.push(g),c=l=g}else 1===d.nodeType&&t(d,i),c&&c.endAddress[c.endAddress.length-1]++}(r.body,s),s},notNeedUndo:!0},movesection:{execCommand:function(e,n,i,o){var a,r;if(n&&i&&-1!=i.level&&(r=t(a=o?i.endAddress:i.startAddress,this.body),a&&r&&!function(e,t,n){for(var i=!1,o=!1,a=0;a<e.length&&!(a>=n.length);a++){if(n[a]>e[a]){i=!0;break}if(n[a]<e[a])break}for(var a=0;a<t.length&&!(a>=n.length);a++){if(n[a]<e[a]){o=!0;break}if(n[a]>e[a])break}return i&&o}(n.startAddress,n.endAddress,a))){var s,l,d=t(n.startAddress,this.body),c=t(n.endAddress,this.body);if(o)for(s=c;s&&!(domUtils.getPosition(d,s)&domUtils.POSITION_FOLLOWING)&&(l=s.previousSibling,domUtils.insertAfter(r,s),s!=d);)s=l;else for(s=d;s&&!(domUtils.getPosition(s,c)&domUtils.POSITION_FOLLOWING)&&(l=s.nextSibling,r.parentNode.insertBefore(s,r),s!=c);)s=l;this.fireEvent("updateSections")}}},deletesection:{execCommand:function(e,t,n){var i=this;if(t){var o,a=l(t.startAddress),r=l(t.endAddress),s=a;if(n)domUtils.remove(s);else for(;s&&domUtils.inDoc(r,i.document)&&!(domUtils.getPosition(s,r)&domUtils.POSITION_FOLLOWING);)o=s.nextSibling,domUtils.remove(s),s=o;i.fireEvent("updateSections")}function l(e){for(var t=i.body,n=0;n<e.length;n++){if(!t.childNodes)return null;t=t.childNodes[e[n]]}return t}}},selectsection:{execCommand:function(e,t){if(!t&&!t.dom)return!1;var n=this.selection.getRange(),i={startAddress:utils.clone(t.startAddress,[]),endAddress:utils.clone(t.endAddress,[])};return i.endAddress[i.endAddress.length-1]++,n.moveToAddress(i).select().scrollToView(),!0},notNeedUndo:!0},scrolltosection:{execCommand:function(e,t){if(!t&&!t.dom)return!1;var n=this.selection.getRange(),i={startAddress:t.startAddress,endAddress:t.endAddress};return i.endAddress[i.endAddress.length-1]++,n.moveToAddress(i).scrollToView(),!0},notNeedUndo:!0}}}}),UE.plugin.register("simpleupload",function(){var e,t=this,n=!1;function i(){var i=e.offsetWidth||20,o=e.offsetHeight||20,a=document.createElement("iframe"),r="display:block;width:"+i+"px;height:"+o+"px;overflow:hidden;border:0;margin:0;padding:0;position:absolute;top:0;left:0;filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity: 0;opacity: 0;cursor:pointer;";domUtils.on(a,"load",function(){var e,s,l,d=(+new Date).toString(36);l=(s=a.contentDocument||a.contentWindow.document).body,(e=s.createElement("div")).innerHTML='<form id="edui_form_'+d+'" target="edui_iframe_'+d+'" method="POST" enctype="multipart/form-data" action="'+t.getOpt("serverUrl")+'" style="'+r+'"><input id="edui_input_'+d+'" type="file" accept="image/gif,image/jpeg,image/png,image/jpg,image/bmp" name="'+t.options.imageFieldName+'" style="'+r+'"></form><iframe id="edui_iframe_'+d+'" name="edui_iframe_'+d+'" style="display:none;width:0;height:0;border:0;margin:0;padding:0;position:absolute;"></iframe>',e.className="edui-"+t.options.theme,e.id=t.ui.id+"_iframeupload",l.style.cssText=r,l.style.width=i+"px",l.style.height=o+"px",l.appendChild(e),l.parentNode&&(l.parentNode.style.width=i+"px",l.parentNode.style.height=i+"px");var c,u=s.getElementById("edui_form_"+d),m=s.getElementById("edui_input_"+d),p=s.getElementById("edui_iframe_"+d);domUtils.on(m,"change",function(){if(m.value){var e="loading_"+(+new Date).toString(36),n=utils.serializeParam(t.queryCommandValue("serverparam"))||"",i=t.getActionUrl(t.getOpt("imageActionName")),o=t.getOpt("imageAllowFiles");if(t.focus(),t.execCommand("inserthtml",'<img class="loadingclass" id="'+e+'" src="'+t.options.themePath+t.options.theme+'/images/spacer.gif" title="'+(t.getLang("simpleupload.loading")||"")+'" >'),t.getOpt("imageActionName")){var a=m.value,r=a?a.substr(a.lastIndexOf(".")):"";!r||o&&-1==(o.join("")+".").indexOf(r.toLowerCase()+".")?s(t.getLang("simpleupload.exceedTypeError")):(domUtils.on(p,"load",function n(){try{var i,o,a,r=(p.contentDocument||p.contentWindow.document).body,l=r.innerText||r.textContent||"";o=new Function("return "+l)(),i=t.options.imageUrlPrefix+o.url,"SUCCESS"==o.state&&o.url?((a=t.document.getElementById(e)).setAttribute("src",i),a.setAttribute("_src",i),a.setAttribute("title",o.title||""),a.setAttribute("alt",o.original||""),a.removeAttribute("id"),domUtils.removeClasses(a,"loadingclass")):s&&s(o.state)}catch(e){s&&s(t.getLang("simpleupload.loadError"))}u.reset(),domUtils.un(p,"load",n)}),u.action=utils.formatUrl(i+(-1==i.indexOf("?")?"?":"&")+n),u.submit())}else errorHandler(t.getLang("autoupload.errorLoadConfig"))}
12function s(n){if(e){var i=t.document.getElementById(e);i&&domUtils.remove(i),t.fireEvent("showmessage",{id:e,content:n,type:"error",timeout:4e3})}}}),t.addListener("selectionchange",function(){clearTimeout(c),c=setTimeout(function(){var e=t.queryCommandState("simpleupload");m.disabled=-1==e&&"disabled"},400)}),n=!0}),a.style.cssText=r,e.appendChild(a)}return{bindEvents:{ready:function(){utils.cssRule("loading",".loadingclass{display:inline-block;cursor:default;background: url('"+this.options.themePath+this.options.theme+"/images/loading.gif') no-repeat center center transparent;border:1px solid #cccccc;margin-right:1px;height: 22px;width: 22px;}\n.loaderrorclass{display:inline-block;cursor:default;background: url('"+this.options.themePath+this.options.theme+"/images/loaderror.png') no-repeat center center transparent;border:1px solid #cccccc;margin-right:1px;height: 22px;width: 22px;}",this.document)},simpleuploadbtnready:function(n,o){e=o,t.afterConfigReady(i)}},outputRule:function(e){utils.each(e.getNodesByTagName("img"),function(e){/\b(loaderrorclass)|(bloaderrorclass)\b/.test(e.getAttr("class"))&&e.parentNode.removeChild(e)})},commands:{simpleupload:{queryCommandState:function(){return n?0:-1}}}}}),UE.plugin.register("serverparam",function(){var e={};return{commands:{serverparam:{execCommand:function(t,n,i){void 0===n||null===n?e={}:utils.isString(n)?void 0===i||null===i?delete e[n]:e[n]=i:utils.isObject(n)?utils.extend(e,n,!0):utils.isFunction(n)&&utils.extend(e,n(),!0)},queryCommandValue:function(){return e||{}}}}}}),UE.plugin.register("insertfile",function(){var e=this;function t(e){var t=e.substr(e.lastIndexOf(".")+1).toLowerCase(),n={rar:"icon_rar.gif",zip:"icon_rar.gif",tar:"icon_rar.gif",gz:"icon_rar.gif",bz2:"icon_rar.gif",doc:"icon_doc.gif",docx:"icon_doc.gif",pdf:"icon_pdf.gif",mp3:"icon_mp3.gif",xls:"icon_xls.gif",chm:"icon_chm.gif",ppt:"icon_ppt.gif",pptx:"icon_ppt.gif",avi:"icon_mv.gif",rmvb:"icon_mv.gif",wmv:"icon_mv.gif",flv:"icon_mv.gif",swf:"icon_mv.gif",rm:"icon_mv.gif",exe:"icon_exe.gif",psd:"icon_psd.gif",txt:"icon_txt.gif",jpg:"icon_jpg.gif",png:"icon_jpg.gif",jpeg:"icon_jpg.gif",g
12if:"icon_jpg.gif",ico:"icon_jpg.gif",bmp:"icon_jpg.gif"};return n[t]?n[t]:n.txt}return{commands:{insertfile:{execCommand:function(n,i){i=utils.isArray(i)?i:[i];var o,a,r,s,l="",d=e.getOpt("UEDITOR_HOME_URL"),c=d+("/"==d.substr(d.length-1)?"":"/")+"dialogs/attachment/fileTypeImages/";for(o=0;o<i.length;o++)r=c+t((a=i[o]).url),s=a.title||a.url.substr(a.url.lastIndexOf("/")+1),l+='<p style="line-height: 16px;"><img style="vertical-align: middle; margin-right: 2px;" src="'+r+'" _src="'+r+'" /><a style="font-size:12px; color:#0066cc;" href="'+a.url+'" title="'+s+'">'+s+"</a></p>";e.execCommand("insertHtml",l)}}}}}),UE.plugins.xssFilter=function(){var e=UEDITOR_CONFIG,t=e.whitList;function n(e){var n=e.tagName,i=e.attrs;if(!t.hasOwnProperty(n))return e.parentNode.removeChild(e),!1;UE.utils.each(i,function(i,o){-1===t[n].indexOf(o)&&e.setAttr(o)})}t&&e.xssFilterRules&&(this.options.filterRules=function(){var e={};return UE.utils.each(t,function(t,i){e[i]=function(e){return n(e)}}),e}());var i=[];UE.utils.each(t,function(e,t){i.push(t)}),t&&e.inputXssFilter&&this.addInputRule(function(e){e.traversal(function(e){if("element"!==e.type)return!1;n(e)})}),t&&e.outputXssFilter&&this.addOutputRule(function(e){e.traversal(function(e){if("element"!==e.type)return!1;n(e)})})};var baidu=baidu||{};baidu.editor=baidu.editor||{},UE.ui=baidu.editor.ui={},function(){var e=baidu.editor.browser,t=baidu.editor.dom.domUtils,n=window.$EDITORUI={},i=0,o=baidu.editor.ui.uiUtils={uid:function(e){return e?e.ID$EDITORUI||(e.ID$EDITORUI=++i):++i},hook:function(e,t){var n;return e&&e._callbacks?n=e:(n=function(){var t;e&&(t=e.apply(this,arguments));for(var i=n._callbacks,o=i.length;o--;){var a=i[o].apply(this,arguments);void 0===t&&(t=a)}return t})._callbacks=[],n._callbacks.push(t),n},createElementByHtml:function(e){var t=document.createElement("div");return t.innerHTML=e,(t=t.firstChild).parentNode.removeChild(t),t},getViewportElement:function(){return e.ie&&e.quirks?document.body:document.documentElement},getClientRect:function(e){var n;try{n=e.getBoundingClientRect()}catch(e){n={left:0,top:0,height:0,width:0}}for(var i,o={left:Math.round(n.left),top:Math.round(n.top),height:Math.round(n.bottom-n.top),width:Math.round(n.right-n.left)};(i=e.ownerDocument)!==document&&(e=t.getWindow(i).frameElement);)n=e.getBoundingClientRect(),o.left+=n.left,o.top+=n.top;return o.bottom=o.top+o.height,o.right=o.left+o.width,o},getViewportRect:function(){var e=o.getViewportElement(),t=0|(window.innerWidth||e.clientWidth),n=0|(window.innerHeight||e.clientHeight);return{left:0,top:0,height:n,width:t,bottom:n,right:t}},setViewportOffset:function(e,n){var i=o.getFixedLayer();e.parentNode===i?(e.style.left=n.left+"px",e.style.top=n.top+"px"):t.setViewportOffset(e,n)},getEventOffset:function(e){var t=e.target||e.srcElement,n=o.getClientRect(t),i=o.getViewportOffsetByEvent(e);return{left:i.left-n.left,top:i.top-n.top}},getViewportOffsetByEvent:function(e){var n=e.target||e.srcElement,i=t.getWindow(n).frameElement,a={left:e.clientX,top:e.clientY};if(i&&n.ownerDocument!==document){var r=o.getClientRect(i);a.left+=r.left,a.top+=r.top}return a},setGlobal:function(e,t){return n[e]=t,'$EDITORUI["'+e+'"]'},unsetGlobal:function(e){delete n[e]},copyAttributes:function(n,i){for(var o=i.attributes,a=o.length;a--;){var r=o[a];
12"style"==r.nodeName||"class"==r.nodeName||e.ie&&!r.specified||n.setAttribute(r.nodeName,r.nodeValue)}i.className&&t.addClass(n,i.className),i.style.cssText&&(n.style.cssText+=";"+i.style.cssText)},removeStyle:function(e,t){if(e.style.removeProperty)e.style.removeProperty(t);else{if(!e.style.removeAttribute)throw"";e.style.removeAttribute(t)}},contains:function(e,t){return e&&t&&e!==t&&(e.contains?e.contains(t):16&e.compareDocumentPosition(t))},startDrag:function(e,t,n){n=n||document;var i=e.clientX,o=e.clientY;function a(e){var n=e.clientX-i,a=e.clientY-o;t.ondragmove(n,a,e),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}if(n.addEventListener){function r(e){n.removeEventListener("mousemove",a,!0),n.removeEventListener("mouseup",r,!0),window.removeEventListener("mouseup",r,!0),t.ondragstop()}n.addEventListener("mousemove",a,!0),n.addEventListener("mouseup",r,!0),window.addEventListener("mouseup",r,!0),e.preventDefault()}else{var s=e.srcElement;function l(){s.releaseCapture(),s.detachEvent("onmousemove",a),s.detachEvent("onmouseup",l),s.detachEvent("onlosecaptrue",l),t.ondragstop()}s.setCapture(),s.attachEvent("onmousemove",a),s.attachEvent("onmouseup",l),s.attachEvent("onlosecaptrue",l),e.returnValue=!1}t.ondragstart()},getFixedLayer:function(){var n=document.getElementById("edui_fixedlayer");return null==n&&((n=document.createElement("div")).id="edui_fixedlayer",document.body.appendChild(n),e.ie&&e.version<=8?(n.style.position="absolute",t.on(window,"scroll",a),t.on(window,"resize",baidu.editor.utils.defer(a,0,!0)),setTimeout(a)):n.style.position="fixed",n.style.left="0",n.style.top="0",n.style.width="0",n.style.height="0"),n},makeUnselectable:function(t){if(e.opera||e.ie&&e.version<9){if(t.unselectable="on",t.hasChildNodes())for(var n=0;n<t.childNodes.length;n++)1==t.childNodes[n].nodeType&&o.makeUnselectable(t.childNodes[n])}else void 0!==t.style.MozUserSelect?t.style.MozUserSelect="none":void 0!==t.style.WebkitUserSelect?t.style.WebkitUserSelect="none":void 0!==t.style.KhtmlUserSelect&&(t.style.KhtmlUserSelect="none")}};function a(){var e=document.getElementById("edui_fixedlayer");o.setViewportOffset(e,{left:0,top:0})}}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.uiUtils,n=baidu.editor.EventBase,i=baidu.editor.ui.UIBase=function(){};i.prototype={className:"",uiName:"",initOptions:function(e){for(var n in e)this[n]=e[n];this.id=this.id||"edui"+t.uid()},initUIBase:function(){this._globalKey=e.unhtml(t.setGlobal(this.id,this))},render:function(e){for(var n,i=this.renderHtml(),o=t.createElementByHtml(i),a=domUtils.getElementsByTagName(o,"*"),r="edui-"+(this.theme||this.editor.options.theme),s=document.getElementById("edui_fixedlayer"),l=0;n=a[l++];)domUtils.addClass(n,r);domUtils.addClass(o,r),s&&(s.className="",domUtils.addClass(s,r));var d=this.getDom();null!=d?(d.parentNode.replaceChild(o,d),t.copyAttributes(o,d)):("string"==typeof e&&(e=document.getElementById(e)),e=e||t.getFixedLayer(),domUtils.addClass(e,r),e.appendChild(o)),this.postRender()},getDom:function(e){return e?document.getElementById(this.id+"_"+e):document.getElementById(this.id)},postRender:function(){this.fireEvent("postrender")}
12,getHtmlTpl:function(){return""},formatHtml:function(e){var t="edui-"+this.uiName;return e.replace(/##/g,this.id).replace(/%%-/g,this.uiName?t+"-":"").replace(/%%/g,(this.uiName?t:"")+" "+this.className).replace(/\$\$/g,this._globalKey)},renderHtml:function(){return this.formatHtml(this.getHtmlTpl())},dispose:function(){var e=this.getDom();e&&baidu.editor.dom.domUtils.remove(e),t.unsetGlobal(this.id)}},e.inherits(i,n)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.UIBase,n=baidu.editor.ui.Separator=function(e){this.initOptions(e),this.initSeparator()};n.prototype={uiName:"separator",initSeparator:function(){this.initUIBase()},getHtmlTpl:function(){return'<div id="##" class="edui-box %%"></div>'}},e.inherits(n,t)}(),function(){var e=baidu.editor.utils,t=baidu.editor.dom.domUtils,n=baidu.editor.ui.UIBase,i=baidu.editor.ui.uiUtils,o=baidu.editor.ui.Mask=function(e){this.initOptions(e),this.initUIBase()};o.prototype={getHtmlTpl:function(){return'<div id="##" class="edui-mask %%" onclick="return $$._onClick(event, this);" onmousedown="return $$._onMouseDown(event, this);"></div>'},postRender:function(){var e=this;t.on(window,"resize",function(){setTimeout(function(){e.isHidden()||e._fill()})})},show:function(e){this._fill(),this.getDom().style.display="",this.getDom().style.zIndex=e},hide:function(){this.getDom().style.display="none",this.getDom().style.zIndex=""},isHidden:function(){return"none"==this.getDom().style.display},_onMouseDown:function(){return!1},_onClick:function(e,t){this.fireEvent("click",e,t)},_fill:function(){var e=this.getDom(),t=i.getViewportRect();e.style.width=t.width+"px",e.style.height=t.height+"px"}},e.inherits(o,n)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.uiUtils,n=baidu.editor.dom.domUtils,i=baidu.editor.ui.UIBase,o=baidu.editor.ui.Popup=function(e){this.initOptions(e),this.initPopup()},a=[];function r(e,t){for(var n=0;n<a.length;n++){var i=a[n];if(!i.isHidden()&&!1!==i.queryAutoHide(t)){if(e&&/scroll/gi.test(e.type)&&"edui-wordpastepop"==i.className)return;i.hide()}}a.length&&i.editor.fireEvent("afterhidepop")}o.postHide=r;var s=["edui-anchor-topleft","edui-anchor-topright","edui-anchor-bottomleft","edui-anchor-bottomright"];o.prototype={SHADOW_RADIUS:5,content:null,_hidden:!1,autoRender:!0,canSideLeft:!0,canSideUp:!0,initPopup:function(){this.initUIBase(),a.push(this)}
12,getHtmlTpl:function(){return'<div id="##" class="edui-popup %%" onmousedown="return false;"> <div id="##_body" class="edui-popup-body"> <iframe style="position:absolute;z-index:-1;left:0;top:0;background-color: transparent;" frameborder="0" width="100%" height="100%" src="about:blank"></iframe> <div class="edui-shadow"></div> <div id="##_content" class="edui-popup-content">'+this.getContentHtmlTpl()+"  </div> </div></div>"},getContentHtmlTpl:function(){return this.content?"string"==typeof this.content?this.content:this.content.renderHtml():""},_UIBase_postRender:i.prototype.postRender,postRender:function(){if(this.content instanceof i&&this.content.postRender(),this.captureWheel&&!this.captured){this.captured=!0;var e=(document.documentElement.clientHeight||document.body.clientHeight)-80,o=this.getDom().offsetHeight,a=t.getClientRect(this.combox.getDom()).top,r=this.getDom("content"),s=this.getDom("body").getElementsByTagName("iframe"),l=this;for(s.length&&(s=s[0]);a+o>e;)o-=30;r.style.height=o+"px",s&&(s.style.height=o+"px"),window.XMLHttpRequest?n.on(r,"onmousewheel"in document.body?"mousewheel":"DOMMouseScroll",function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,e.wheelDelta?r.scrollTop-=e.wheelDelta/120*60:r.scrollTop-=e.detail/-3*60}):n.on(this.getDom(),"mousewheel",function(e){e.returnValue=!1,l.getDom("content").scrollTop-=e.wheelDelta/120*60})}this.fireEvent("postRenderAfter"),this.hide(!0),this._UIBase_postRender()},_doAutoRender:function(){!this.getDom()&&this.autoRender&&this.render()},mesureSize:function(){var e=this.getDom("content");return t.getClientRect(e)},fitSize:function(){if(this.captureWheel&&this.sized)return this.__size;this.sized=!0;var e=this.getDom("body");e.style.width="",e.style.height="";var t=this.mesureSize();if(this.captureWheel){e.style.width=-(-20-t.width)+"px";var n=parseInt(this.getDom("content").style.height,10);!window.isNaN(n)&&(t.height=n)}else e.style.width=t.width+"px";return e.style.height=t.height+"px",this.__size=t,this.captureWheel&&(this.getDom("content").style.overflow="auto"),t},showAnchor:function(e,n){this.showAnchorRect(t.getClientRect(e),n)},showAnchorRect:function(e,i,o){this._doAutoRender();var a=t.getViewportRect();this.getDom().style.visibility="hidden",this._show();var r,l,d,c,u=this.fitSize();i?(r=this.canSideLeft&&e.right+u.width>a.right&&e.left>u.width,l=this.canSideUp&&e.top+u.height>a.bottom&&e.bottom>u.height,d=r?e.left-u.width:e.right,c=l?e.bottom-u.height:e.top):(r=this.canSideLeft&&e.right+u.width>a.right&&e.left>u.width,l=this.canSideUp&&e.top+u.height>a.bottom&&e.bottom>u.height,d=r?e.right-u.width:e.left,c=l?e.top-u.height:e.bottom);var m=this.getDom();t.setViewportOffset(m,{left:d,top:c}),n.removeClasses(m,s),m.className+=" "+s[2*(l?1:0)+(r?1:0)],this.editor&&(m.style.zIndex=1*this.editor.container.style.zIndex+10,baidu.editor.ui.uiUtils.getFixedLayer().style.zIndex=m.style.zIndex-1),this.getDom().style.visibility="visible"},showAt:function(e){var t=e.left,n=e.top,i={left:t,top:n,right:t,bottom:n,height:0,width:0};this.showAnchorRect(i,!1,!0)},_show:function(){this._hidden&&(this.getDom().style.display="",this._hidden=!1,this.fireEvent("show"))},isHidden:function(){return this._hidden},show:function(){this._doAutoRender(),this._show()},hide:function(e){!this._hidden&&this.getDom()&&(this.getDom().style.display="none",this._hidden=!0,e||this.fireEvent("hide"))},queryAutoHide:function(e){return!e||!t.contains(this.getDom(),e)}},e.inherits(o,i),n.on(document,"mousedown",function(e){r(e,e.target||e.srcElement)}),n.on(window,"scroll",function(e,t){r(e,t)})}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.UIBase,n=baidu.editor.ui.ColorPicker=function(e){this.initOptions(e),this.noColorText=this.noColorText||this.editor.getLang("clearColor"),this.initUIBase()};n.prototype={getHtmlTpl:function(){return function(e,t){for(var n='<div id="##" class="edui-colorpicker %%"><div class="edui-colorpicker-topbar edui-clearfix"><div unselectable="on"  style="box-sizing: content-box;" id="##_preview" class="edui-colorpicker-preview"></div><div unselectable="on" style="box-sizing: content-box;" class="edui-colorpicker-nocolor" onclick="$$._onPickNoColor(event, this);">'+e+'</div></div><table  class="edui-box" style="border-collapse: collapse;" onmouseover="$$._onTableOver(event, this);" onmouseout="$$._onTableOut(event, this);" onclick="return $$._onTableClick(event, this);" cellspacing="0" cellpadding="0"><tr style="border-bottom: 1px solid #ddd;font-size: 13px;line-height: 25px;color:#39C;padding-top: 2px"><td colspan="10">'+t.getLang("themeColor")+'</td> </tr><tr class="edui-colorpicker-tablefirstrow" >',o=0;o<i.length;o++)o&&o%10==0&&(n+="</tr>"+(60==o?'<tr style="border-bottom: 1px solid #ddd;font-size: 13px;line-height: 25px;color:#39C;"><td colspan="10">'+t.getLang("standardColor")+"</td></tr>":"")+"<tr"+(60==o?' class="edui-colorpicker-tablefirstrow"':"")+">"),n+=o<70?'<td style="padding: 0 2px;"><a hidefocus title="'+i[o]+'" onclick="return false;" href="javascript:" unselectable="on" class="edui-box edui-colorpicker-colorcell" data-color="#'+i[o]+'" style="background-color:#'+i[o]+";border:solid #ccc;"+(o<10||o>=60?"border-width:1px;":o>=10&&o<20?"border-width:1px 1px 0 1px;":"border-width:0 1px 0 1px;")+'"></a></td>':"";return n+="</tr></table></div>"}(this.noColorText,this.editor)},_onTableClick:function(e){var t=(e.target||e.srcElement).getAttribute("data-color");t&&this.fireEvent("pickcolor",t)},_onTableOver:function(e){var t=(e.target||e.srcElement).getAttribute("data-color");t&&(this.getDom("preview").style.backgroundColor=t)},_onTableOut:function(){this.getDom("preview").style.backgroundColor=""},_onPickNoColor:function(){this.fireEvent("picknocolor")}},e.inherits(n,t);var i="ffffff,000000,eeece1,1f497d,4f81bd,c0504d,9bbb59,8064a2,4bacc6,f79646,f2f2f2,7f7f7f,ddd9c3,c6d9f0,dbe5f1,f2dcdb,ebf1dd,e5e0ec,dbeef3,fdeada,d8d8d8,595959,c4bd97,8db3e2,b8cce4,e5b9b7,d7e3bc,ccc1d9,b7dde8,fbd5b5,bfbfbf,3f3f3f,938953,548dd4,95b3d7,d99694,c3d69b,b2a2c7,92cddc,fac08f,a5a5a5,262626,494429,17365d,366092,953734,76923c,5f497a,31859b,e36c09,7f7f7f,0c0c0c,1d1b10,0f243e,244061,632423,4f6128,3f3151,205867,974806,c00000,ff0000,ffc000,ffff00,92d050,00b050,00b0f0,0070c0,002060,7030a0,".split(",")}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.uiUtils,n=baidu.editor.ui.UIBase,i=baidu.editor.ui.TablePicker=function(e){this.initOptions(e),this.initTablePicker()};i.prototype={defaultNumRows:10,defaultNumCols:10,maxNumRows:20,maxNumCols:20,numRows:10,numCols:10,lengthOfCellSide:22,initTablePicker:function(){this.initUIBase()}
12,getHtmlTpl:function(){return'<div id="##" class="edui-tablepicker %%"><div class="edui-tablepicker-body"><div class="edui-infoarea"><span id="##_label" class="edui-label"></span></div><div class="edui-pickarea" onmousemove="$$._onMouseMove(event, this);" onmouseover="$$._onMouseOver(event, this);" onmouseout="$$._onMouseOut(event, this);" onclick="$$._onClick(event, this);"><div id="##_overlay" class="edui-overlay"></div></div></div></div>'},_UIBase_render:n.prototype.render,render:function(e){this._UIBase_render(e),this.getDom("label").innerHTML="0"+this.editor.getLang("t_row")+" x 0"+this.editor.getLang("t_col")},_track:function(e,t){var n=this.getDom("overlay").style,i=this.lengthOfCellSide;n.width=e*i+"px",n.height=t*i+"px",this.getDom("label").innerHTML=e+this.editor.getLang("t_col")+" x "+t+this.editor.getLang("t_row"),this.numCols=e,this.numRows=t},_onMouseOver:function(e,n){var i=e.relatedTarget||e.fromElement;t.contains(n,i)||n===i||(this.getDom("label").innerHTML="0"+this.editor.getLang("t_col")+" x 0"+this.editor.getLang("t_row"),this.getDom("overlay").style.visibility="")},_onMouseOut:function(e,n){var i=e.relatedTarget||e.toElement;t.contains(n,i)||n===i||(this.getDom("label").innerHTML="0"+this.editor.getLang("t_col")+" x 0"+this.editor.getLang("t_row"),this.getDom("overlay").style.visibility="hidden")},_onMouseMove:function(e,n){this.getDom("overlay").style;var i=t.getEventOffset(e),o=this.lengthOfCellSide,a=Math.ceil(i.left/o),r=Math.ceil(i.top/o);this._track(a,r)},_onClick:function(){this.fireEvent("picktable",this.numCols,this.numRows)}},e.inherits(i,n)}(),function(){var e=baidu.editor.browser,t=baidu.editor.dom.domUtils,n=baidu.editor.ui.uiUtils,i='onmousedown="$$.Stateful_onMouseDown(event, this);" onmouseup="$$.Stateful_onMouseUp(event, this);"'+(e.ie?' onmouseenter="$$.Stateful_onMouseEnter(event, this);" onmouseleave="$$.Stateful_onMouseLeave(event, this);"':' onmouseover="$$.Stateful_onMouseOver(event, this);" onmouseout="$$.Stateful_onMouseOut(event, this);"');baidu.editor.ui.Stateful={alwalysHoverable:!1,target:null,Stateful_init:function(){this._Stateful_dGetHtmlTpl=this.getHtmlTpl,this.getHtmlTpl=this.Stateful_getHtmlTpl}
12,Stateful_getHtmlTpl:function(){return this._Stateful_dGetHtmlTpl().replace(/stateful/g,function(){return i})},Stateful_onMouseEnter:function(e,t){this.target=t,this.isDisabled()&&!this.alwalysHoverable||(this.addState("hover"),this.fireEvent("over"))},Stateful_onMouseLeave:function(e,t){this.isDisabled()&&!this.alwalysHoverable||(this.removeState("hover"),this.removeState("active"),this.fireEvent("out"))},Stateful_onMouseOver:function(e,t){var i=e.relatedTarget;n.contains(t,i)||t===i||this.Stateful_onMouseEnter(e,t)},Stateful_onMouseOut:function(e,t){var i=e.relatedTarget;n.contains(t,i)||t===i||this.Stateful_onMouseLeave(e,t)},Stateful_onMouseDown:function(e,t){this.isDisabled()||this.addState("active")},Stateful_onMouseUp:function(e,t){this.isDisabled()||this.removeState("active")},Stateful_postRender:function(){this.disabled&&!this.hasState("disabled")&&this.addState("disabled")},hasState:function(e){return t.hasClass(this.getStateDom(),"edui-state-"+e)},addState:function(e){this.hasState(e)||(this.getStateDom().className+=" edui-state-"+e)},removeState:function(e){this.hasState(e)&&t.removeClasses(this.getStateDom(),["edui-state-"+e])},getStateDom:function(){return this.getDom("state")},isChecked:function(){return this.hasState("checked")},setChecked:function(e){!this.isDisabled()&&e?this.addState("checked"):this.removeState("checked")},isDisabled:function(){return this.hasState("disabled")},setDisabled:function(e){e?(this.removeState("hover"),this.removeState("checked"),this.removeState("active"),this.addState("disabled")):this.removeState("disabled")}}}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.UIBase,n=baidu.editor.ui.Stateful,i=baidu.editor.ui.Button=function(e){if(e.name){var t=e.name,n=e.cssRules;e.className||(e.className="edui-for-"+t),e.cssRules=".edui-default  .edui-for-"+t+" .edui-icon {"+n+"}"}this.initOptions(e),this.initButton()};i.prototype={uiName:"button",label:"",title:"",showIcon:!0,showText:!0,cssRules:"",initButton:function(){this.initUIBase(),this.Stateful_init(),this.cssRules&&e.cssRule("edui-customize-"+this.name+"-style",this.cssRules)}
12,getHtmlTpl:function(){return'<div id="##" class="edui-box %%"><div id="##_state" stateful><div class="%%-wrap"><div id="##_body" unselectable="on" '+(this.title?'title="'+this.title+'"':"")+' class="%%-body" onmousedown="return $$._onMouseDown(event, this);" onclick="return $$._onClick(event, this);">'+(this.showIcon?'<div class="edui-box edui-icon"></div>':"")+(this.showText?'<div class="edui-box edui-label">'+this.label+"</div>":"")+"</div></div></div></div>"},postRender:function(){this.Stateful_postRender(),this.setDisabled(this.disabled)},_onMouseDown:function(e){var t=e.target||e.srcElement,n=t&&t.tagName&&t.tagName.toLowerCase();if("input"==n||"object"==n||"object"==n)return!1},_onClick:function(){this.isDisabled()||this.fireEvent("click")},setTitle:function(e){this.getDom("label").innerHTML=e}},e.inherits(i,t),e.extend(i.prototype,n)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.uiUtils,n=(baidu.editor.dom.domUtils,baidu.editor.ui.UIBase),i=baidu.editor.ui.Stateful,o=baidu.editor.ui.SplitButton=function(e){this.initOptions(e),this.initSplitButton()};o.prototype={popup:null,uiName:"splitbutton",title:"",initSplitButton:function(){this.initUIBase(),this.Stateful_init();if(null!=this.popup){var e=this.popup;this.popup=null,this.setPopup(e)}},_UIBase_postRender:n.prototype.postRender,postRender:function(){this.Stateful_postRender(),this._UIBase_postRender()},setPopup:function(n){this.popup!==n&&(null!=this.popup&&this.popup.dispose(),n.addListener("show",e.bind(this._onPopupShow,this)),n.addListener("hide",e.bind(this._onPopupHide,this)),n.addListener("postrender",e.bind(function(){n.getDom("body").appendChild(t.createElementByHtml('<div id="'+this.popup.id+'_bordereraser" class="edui-bordereraser edui-background" style="width:'+(t.getClientRect(this.getDom()).width+20)+'px"></div>')),n.getDom().className+=" "+this.className},this)),this.popup=n)},_onPopupShow:function(){this.addState("opened")},_onPopupHide:function(){this.removeState("opened")}
12,getHtmlTpl:function(){return'<div id="##" class="edui-box %%"><div '+(this.title?'title="'+this.title+'"':"")+' id="##_state" stateful><div class="%%-body"><div id="##_button_body" class="edui-box edui-button-body" onclick="$$._onButtonClick(event, this);"><div class="edui-box edui-icon"></div></div><div class="edui-box edui-splitborder"></div><div class="edui-box edui-arrow" onclick="$$._onArrowClick();"></div></div></div></div>'},showPopup:function(){var e=t.getClientRect(this.getDom());e.top-=this.popup.SHADOW_RADIUS,e.height+=this.popup.SHADOW_RADIUS,this.popup.showAnchorRect(e)},_onArrowClick:function(e,t){this.isDisabled()||this.showPopup()},_onButtonClick:function(){this.isDisabled()||this.fireEvent("buttonclick")}},e.inherits(o,n),e.extend(o.prototype,i,!0)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.uiUtils,n=baidu.editor.ui.ColorPicker,i=baidu.editor.ui.Popup,o=baidu.editor.ui.SplitButton,a=baidu.editor.ui.ColorButton=function(e){this.initOptions(e),this.initColorButton()};a.prototype={initColorButton:function(){var e=this;this.popup=new i({content:new n({noColorText:e.editor.getLang("clearColor"),editor:e.editor,onpickcolor:function(t,n){e._onPickColor(n)},onpicknocolor:function(t,n){e._onPickNoColor(n)}}),editor:e.editor}),this.initSplitButton()},_SplitButton_postRender:o.prototype.postRender,postRender:function(){this._SplitButton_postRender(),this.getDom("button_body").appendChild(t.createElementByHtml('<div id="'+this.id+'_colorlump" class="edui-colorlump"></div>')),this.getDom().className+=" edui-colorbutton"},setColor:function(e){this.getDom("colorlump").style.backgroundColor=e,this.color=e},_onPickColor:function(e){!1!==this.fireEvent("pickcolor",e)&&(this.setColor(e),this.popup.hide())},_onPickNoColor:function(e){!1!==this.fireEvent("picknocolor")&&this.popup.hide()}},e.inherits(a,o)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.Popup,n=baidu.editor.ui.TablePicker,i=baidu.editor.ui.SplitButton,o=baidu.editor.ui.TableButton=function(e){this.initOptions(e),this.initTableButton()};o.prototype={initTableButton:function(){var e=this;this.popup=new t({content:new n({editor:e.editor,onpicktable:function(t,n,i){e._onPickTable(n,i)}}),editor:e.editor}),this.initSplitButton()},_onPickTable:function(e,t){!1!==this.fireEvent("picktable",e,t)&&this.popup.hide()}},e.inherits(o,i)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.UIBase,n=baidu.editor.ui.AutoTypeSetPicker=function(e){this.initOptions(e),this.initAutoTypeSetPicker()};n.prototype={initAutoTypeSetPicker:function(){this.initUIBase()}
12,getHtmlTpl:function(){var e=this.editor,t=e.options.autotypeset,n=e.getLang("autoTypeSet"),i="textAlignValue"+e.uid,o="imageBlockLineValue"+e.uid,a="symbolConverValue"+e.uid;return'<div id="##" class="edui-autotypesetpicker %%"><div class="edui-autotypesetpicker-body"><table ><tr><td nowrap><input type="checkbox" name="mergeEmptyline" '+(t.mergeEmptyline?"checked":"")+">"+n.mergeLine+'</td><td colspan="2"><input type="checkbox" name="removeEmptyline" '+(t.removeEmptyline?"checked":"")+">"+n.delLine+'</td></tr><tr><td nowrap><input type="checkbox" name="removeClass" '+(t.removeClass?"checked":"")+">"+n.removeFormat+'</td><td colspan="2"><input type="checkbox" name="indent" '+(t.indent?"checked":"")+">"+n.indent+'</td></tr><tr><td nowrap><input type="checkbox" name="textAlign" '+(t.textAlign?"checked":"")+">"+n.alignment+'</td><td colspan="2" id="'+i+'"><input type="radio" name="'+i+'" value="left" '+(t.textAlign&&"left"==t.textAlign?"checked":"")+">"+e.getLang("justifyleft")+'<input type="radio" name="'+i+'" value="center" '+(t.textAlign&&"center"==t.textAlign?"checked":"")+">"+e.getLang("justifycenter")+'<input type="radio" name="'+i+'" value="right" '+(t.textAlign&&"right"==t.textAlign?"checked":"")+">"+e.getLang("justifyright")+'</td></tr><tr><td nowrap><input type="checkbox" name="imageBlockLine" '+(t.imageBlockLine?"checked":"")+">"+n.imageFloat+'</td><td nowrap id="'+o+'"><input type="radio" name="'+o+'" value="none" '+(t.imageBlockLine&&"none"==t.imageBlockLine?"checked":"")+">"+e.getLang("default")+'<input type="radio" name="'+o+'" value="left" '+(t.imageBlockLine&&"left"==t.imageBlockLine?"checked":"")+">"+e.getLang("justifyleft")+'<input type="radio" name="'+o+'" value="center" '+(t.imageBlockLine&&"center"==t.imageBlockLine?"checked":"")+">"+e.getLang("justifycenter")+'<input type="radio" name="'+o+'" value="right" '+(t.imageBlockLine&&"right"==t.imageBlockLine?"checked":"")+">"+e.getLang("justifyright")+'</td></tr><tr><td nowrap><input type="checkbox" name="clearFontSize" '+(t.clearFontSize?"checked":"")+">"+n.removeFontsize+'</td><td colspan="2"><input type="checkbox" name="clearFontFamily" '+(t.clearFontFamily?"checked":"")+">"+n.removeFontFamily+'</td></tr><tr><td nowrap colspan="3"><input type="checkbox" name="removeEmptyNode" '+(t.removeEmptyNode?"checked":"")+">"+n.removeHtml+'</td></tr><tr><td nowrap colspan="3"><input type="checkbox" name="pasteFilter" '+(t.pasteFilter?"checked":"")+">"+n.pasteFilter+'</td></tr><tr><td nowrap><input type="checkbox" name="symbolConver" '+(t.bdc2sb||t.tobdc?"checked":"")+">"+n.symbol+'</td><td id="'+a+'"><input type="radio" name="bdc" value="bdc2sb" '+(t.bdc2sb?"checked":"")+">"+n.bdc2sb+'<input type="radio" name="bdc" value="tobdc" '+(t.tobdc?"checked":"")+">"+n.tobdc+'</td><td nowrap align="right"><button >'+n.run+"</button></td></tr></table></div></div>"},_UIBase_render:t.prototype.render},e.inherits(n,t)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.Popup,n=baidu.editor.ui.AutoTypeSetPicker,i=baidu.editor.ui.SplitButton,o=baidu.editor.ui.AutoTypeSetButton=function(e){this.initOptions(e),this.initAutoTypeSetButton()};function a(t){for(var n,i={},o=t.getDom(),a=t.editor.uid,r=null,s=domUtils.getElementsByTagName(o,"input"),l=s.length-1;n=s[l--];)if("checkbox"==n.getAttribute("type"))if(i[r=n.getAttribute("name")]&&delete i[r],n.checked){var d=document.getElementById(r+"Value"+a);if(d){if(/input/gi.test(d.tagName))i[r]=d.value;else for(var c,u=d.getElementsByTagName("input"),m=u.length-1;c=u[m--];)if(c.checked){i[r]=c.value;break}}else i[r]=!0}else i[r]=!1;else i[n.getAttribute("value")]=n.checked;var p,h=domUtils.getElementsByTagName(o,"select");for(l=0;p=h[l++];){var g=p.getAttribute("name");i[g]=i[g]?p.value:""}e.extend(t.editor.options.autotypeset,i),t.editor.setPreferences("autotypeset",i)}o.prototype={initAutoTypeSetButton:function(){var e=this;this.popup=new t({content:new n({editor:e.editor}),editor:e.editor,hide:function(){!this._hidden&&this.getDom()&&(a(this),this.getDom().style.display="none",this._hidden=!0,this.fireEvent("hide"))}});var i=0;this.popup.addListener("postRenderAfter",function(){var t=this;if(!i){var n=this.getDom();n.getElementsByTagName("button")[0].onclick=function(){a(t),e.editor.execCommand("autotypeset"),t.hide()},domUtils.on(n,"click",function(n){var i=n.target||n.srcElement,o=e.editor.uid;
12if(i&&"INPUT"==i.tagName){if("imageBlockLine"==i.name||"textAlign"==i.name||"symbolConver"==i.name)for(var r=i.checked,s=document.getElementById(i.name+"Value"+o).getElementsByTagName("input"),l={imageBlockLine:"none",textAlign:"left",symbolConver:"tobdc"},d=0;d<s.length;d++)r?s[d].value==l[i.name]&&(s[d].checked="checked"):s[d].checked=!1;if(i.name=="imageBlockLineValue"+o||i.name=="textAlignValue"+o||"bdc"==i.name){var c=i.parentNode.previousSibling.getElementsByTagName("input");c&&(c[0].checked=!0)}a(t)}}),i=1}}),this.initSplitButton()}},e.inherits(o,i)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.Popup,n=baidu.editor.ui.Stateful,i=baidu.editor.ui.UIBase,o=baidu.editor.ui.CellAlignPicker=function(e){this.initOptions(e),this.initSelected(),this.initCellAlignPicker()};o.prototype={initSelected:function(){var e={top:0,middle:1,bottom:2},t={left:0,center:1,right:2},n=3;this.selected&&(this.selectedIndex=e[this.selected.valign]*n+t[this.selected.align])},initCellAlignPicker:function(){this.initUIBase(),this.Stateful_init()}
12,getHtmlTpl:function(){for(var e=["left","center","right"],t=null,n=-1,i=[],o=0;o<9;o++)t=this.selectedIndex===o?' class="edui-cellalign-selected" ':"",0===(n=o%3)&&i.push("<tr>"),i.push('<td index="'+o+'" '+t+' stateful><div class="edui-icon edui-'+e[n]+'"></div></td>'),2===n&&i.push("</tr>");return'<div id="##" class="edui-cellalignpicker %%"><div class="edui-cellalignpicker-body"><table onclick="$$._onClick(event);">'+i.join("")+"</table></div></div>"},getStateDom:function(){return this.target},_onClick:function(e){var n=e.target||e.srcElement;/icon/.test(n.className)&&(this.items[n.parentNode.getAttribute("index")].onclick(),t.postHide(e))},_UIBase_render:i.prototype.render},e.inherits(o,i),e.extend(o.prototype,n,!0)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.Stateful,n=baidu.editor.ui.uiUtils,i=baidu.editor.ui.UIBase,o=baidu.editor.ui.PastePicker=function(e){this.initOptions(e),this.initPastePicker()};o.prototype={initPastePicker:function(){this.initUIBase(),this.Stateful_init()},getHtmlTpl:function(){return'<div class="edui-pasteicon" onclick="$$._onClick(this)"></div><div class="edui-pastecontainer"><div class="edui-title">'+this.editor.getLang("pasteOpt")+'</div><div class="edui-button"><div title="'+this.editor.getLang("pasteSourceFormat")+'" onclick="$$.format(false)" stateful><div class="edui-richtxticon"></div></div><div title="'+this.editor.getLang("tagFormat")+'" onclick="$$.format(2)" stateful><div class="edui-tagicon"></div></div><div title="'+this.editor.getLang("pasteTextFormat")+'" onclick="$$.format(true)" stateful><div class="edui-plaintxticon"></div></div></div></div></div>'},getStateDom:function(){return this.target},format:function(e){this.editor.ui._isTransfer=!0,this.editor.fireEvent("pasteTransfer",e)},_onClick:function(e){var t=domUtils.getNextDomNode(e),i=n.getViewportRect().height,o=n.getClientRect(t);o.top+o.height>i?t.style.top=-o.height-e.offsetHeight+"px":t.style.top="",/hidden/gi.test(domUtils.getComputedStyle(t,"visibility"))?(t.style.visibility="visible",domUtils.addClass(e,"edui-state-opened")):(t.style.visibility="hidden",domUtils.removeClasses(e,"edui-state-opened"))},_UIBase_render:i.prototype.render},e.inherits(o,i),e.extend(o.prototype,t,!0)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.uiUtils,n=baidu.editor.ui.UIBase,i=baidu.editor.ui.Toolbar=function(e){this.initOptions(e),this.initToolbar()};i.prototype={items:null,initToolbar:function(){this.items=this.items||[],this.initUIBase()},add:function(e,t){void 0===t?this.items.push(e):this.items.splice(t,0,e)}
12,getHtmlTpl:function(){for(var e=[],t=0;t<this.items.length;t++)e[t]=this.items[t].renderHtml();return'<div id="##" class="edui-toolbar %%" onselectstart="return false;" onmousedown="return $$._onMouseDown(event, this);">'+e.join("")+"</div>"},postRender:function(){for(var e=this.getDom(),n=0;n<this.items.length;n++)this.items[n].postRender();t.makeUnselectable(e)},_onMouseDown:function(e){var t=e.target||e.srcElement,n=t&&t.tagName&&t.tagName.toLowerCase();if("input"==n||"object"==n||"object"==n)return!1}},e.inherits(i,n)}(),function(){var e=baidu.editor.utils,t=baidu.editor.dom.domUtils,n=baidu.editor.ui.uiUtils,i=baidu.editor.ui.UIBase,o=baidu.editor.ui.Popup,a=baidu.editor.ui.Stateful,r=baidu.editor.ui.CellAlignPicker,s=baidu.editor.ui.Menu=function(e){this.initOptions(e),this.initMenu()},l={renderHtml:function(){return'<div class="edui-menuitem edui-menuseparator"><div class="edui-menuseparator-inner"></div></div>'},postRender:function(){},queryAutoHide:function(){return!0}};s.prototype={items:null,uiName:"menu",initMenu:function(){this.items=this.items||[],this.initPopup(),this.initItems()},initItems:function(){for(var e=0;e<this.items.length;e++){var t=this.items[e];"-"==t?this.items[e]=this.getSeparator():t instanceof d||(t.editor=this.editor,t.theme=this.editor.options.theme,this.items[e]=this.createItem(t))}},getSeparator:function(){return l},createItem:function(e){return e.menu=this,new d(e)},_Popup_getContentHtmlTpl:o.prototype.getContentHtmlTpl,getContentHtmlTpl:function(){if(0==this.items.length)return this._Popup_getContentHtmlTpl();for(var e=[],t=0;t<this.items.length;t++){var n=this.items[t];e[t]=n.renderHtml()}return'<div class="%%-body">'+e.join("")+"</div>"},_Popup_postRender:o.prototype.postRender,postRender:function(){for(var e=this,i=0;i<this.items.length;i++){var o=this.items[i];o.ownerMenu=this,o.postRender()}t.on(this.getDom(),"mouseover",function(t){var i=(t=t||event).relatedTarget||t.fromElement,o=e.getDom();n.contains(o,i)||o===i||e.fireEvent("over")}),this._Popup_postRender()},queryAutoHide:function(e){if(e){if(n.contains(this.getDom(),e))return!1;for(var t=0;t<this.items.length;t++){if(!1===this.items[t].queryAutoHide(e))return!1}}},clearItems:function(){for(var e=0;e<this.items.length;e++){var t=this.items[e];clearTimeout(t._showingTimer),clearTimeout(t._closingTimer),t.subMenu&&t.subMenu.destroy()}this.items=[]},destroy:function(){this.getDom()&&t.remove(this.getDom()),this.clearItems()},dispose:function(){this.destroy()}},e.inherits(s,o);var d=baidu.editor.ui.MenuItem=function(e){if(this.initOptions(e),this.initUIBase(),this.Stateful_init(),this.subMenu&&!(this.subMenu instanceof s))if(e.className&&-1!=e.className.indexOf("aligntd")){var n=this;this.subMenu.selected=this.editor.queryCommandValue("cellalignment"),this.subMenu=new o({content:new r(this.subMenu),parentMenu:n,editor:n.editor,destroy:function(){this.getDom()&&t.remove(this.getDom())}}),this.subMenu.addListener("postRenderAfter",function(){t.on(this.getDom(),"mouseover",function(){n.addState("opened")})})}else this.subMenu=new s(this.subMenu)};d.prototype={label:"",subMenu:null,ownerMenu:null,uiName:"menuitem",alwalysHoverable:!0,getHtmlTpl:function(){return'<div id="##" class="%%" stateful onclick="$$._onClick(event, this);"><div class="%%-body">'+this.renderLabelHtml()+"</div></div>"},postRender:function(){var e=this;this.addListener("over",function(){e.ownerMenu.fireEvent("submenuover",e),e.subMenu&&e.delayShowSubMenu()}),this.subMenu&&(this.getDom().className+=" edui-hassubmenu",this.subMenu.render(),this.addListener("out",function(){e.delayHideSubMenu()}),this.subMenu.addListener("over",function(){clearTimeout(e._closingTimer),e._closingTimer=null,e.addState("opened")}),this.ownerMenu.addListener("hide",function(){e.hideSubMenu()}),this.ownerMenu.addListener("submenuover",function(t,n){n!==e&&e.delayHideSubMenu()}),this.subMenu._bakQueryAutoHide=this.subMenu.queryAutoHide,this.subMenu.queryAutoHide=function(t){return(!t||!n.contains(e.getDom(),t))&&this._bakQueryAutoHide(t)}),this.getDom().style.tabIndex="-1",n.makeUnselectable(this.getDom()),this.Stateful_postRender()},delayShowSubMenu:function(){var e=this;e.isDisabled()||(e.addState("opened"),clearTimeout(e._showingTimer),clearTimeout(e._closingTimer),e._closingTimer=null,e._showingTimer=setTimeout(function(){e.showSubMenu()},250))},delayHideSubMenu:function(){var e=this;e.isDisabled()||(e.removeState("opened"),clearTimeout(e._showingTimer),e._closingTimer||(e._closingTimer=setTimeout(function(){e.hasState("opened")||e.hideSubMenu(),e._closingTimer=null},400)))},renderLabelHtml:function(){return'<div class="edui-arrow"></div><div class="edui-box edui-icon"></div><div class="edui-box edui-label %%-label">'+(this.label||"")+"</div>"},getStateDom:function(){return this.getDom()},queryAutoHide:function(e){if(this.subMenu&&this.hasState("opened"))return this.subMenu.queryAutoHide(e)},_onClick:function(e,t){this.hasState("disabled")||!1!==this.fireEvent("click",e,t)&&(this.subMenu?this.showSubMenu():o.postHide(e))},showSubMenu:function(){var e=n.getClientRect(this.getDom());e.right-=5,e.left+=2,e.width-=7,e.top-=4,e.bottom+=4,e.height+=8,this.subMenu.showAnchorRect(e,!0,!0)},hideSubMenu:function(){this.subMenu.hide()}},e.inherits(d,i),e.extend(d.prototype,a,!0)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.uiUtils,n=baidu.editor.ui.Menu,i=baidu.editor.ui.SplitButton,o=baidu.editor.ui.Combox=function(e){this.initOptions(e),this.initCombox()};o.prototype={uiName:"combox",onbuttonclick:function(){this.showPopup()},initCombox:function(){var e=this;this.items=this.items||[];for(var t=0;t<this.items.length;t++){var i=this.items[t];i.uiName="listitem",i.index=t,i.onclick=function(){e.selectByIndex(this.index)}}this.popup=new n({items:this.items,uiName:"list",editor:this.editor,captureWheel:!0,combox:this}),this.initSplitButton()},_SplitButton_postRender:i.prototype.postRender,postRender:function(){this._SplitButton_postRender(),this.setLabel(this.label||""),this.setValue(this.initValue||"")},showPopup:function(){var e=t.getClientRect(this.getDom());e.top+=1,e.bottom-=1,e.height-=2,this.popup.showAnchorRect(e)},getValue:function(){return this.value},setValue:function(e){var t=this.indexByValue(e);-1!=t?(this.selectedIndex=t,this.setLabel(this.items[t].label),this.value=this.items[t].value):(this.selectedIndex=-1,this.setLabel(this.getLabelForUnknowValue(e)),this.value=e)},setLabel:function(e){this.getDom("button_body").innerHTML=e,this.label=e},getLabelForUnknowValue:function(e){return e},indexByValue:function(e){for(var t=0;t<this.items.length;t++)if(e==this.items[t].value)return t;return-1},getItem:function(e){return this.items[e]},selectByIndex:function(e){e<this.items.length&&!1!==this.fireEvent("select",e)&&(this.selectedIndex=e,this.value=this.items[e].value,this.setLabel(this.items[e].label))}},e.inherits(o,i)}(),function(){var e,t,n,i=baidu.editor.utils,o=baidu.editor.dom.domUtils,a=baidu.editor.ui.uiUtils,r=baidu.editor.ui.Mask,s=baidu.editor.ui.UIBase,l=baidu.editor.ui.Button,d=baidu.editor.ui.Dialog=function(e){if(e.name){var t=e.name,n=e.cssRules;e.className||(e.className="edui-for-"+t),n&&(e.cssRules=".edui-default .edui-for-"+t+" .edui-dialog-content  {"+n+"}")}this.initOptions(i.extend({autoReset:!0,draggable:!0,onok:function(){},oncancel:function(){},onclose:function(e,t){return t?this.onok():this.oncancel()},holdScroll:!1},e)),this.initDialog()};d.prototype={draggable:!1,uiName:"dialog",initDialog:function(){var o=this,a=this.editor.options.theme;if(this.cssRules&&i.cssRule("edui-customize-"+this.name+"-style",this.cssRules),this.initUIBase(),this.modalMask=e||(e=new r({className:"edui-dialog-modalmask",theme:a,onclick:function(){n&&n.close(!1)}})),this.dragMask=t||(t=new r({className:"edui-dialog-dragmask",theme:a})),this.closeButton=new l({className:"edui-dialog-closebutton",title:o.closeDialog,theme:a,onclick:function(){o.close(!1)}}),this.fullscreen&&this.initResizeEvent(),this.buttons)for(var s=0;s<this.buttons.length;s++)this.buttons[s]instanceof l||(this.buttons[s]=new l(i.extend(this.buttons[s],{editor:this.editor},!0)))},initResizeEvent:function(){var e=this;o.on(window,"resize",function(){e._hidden||void 0===e._hidden||(e.__resizeTimer&&window.clearTimeout(e.__resizeTimer),e.__resizeTimer=window.setTimeout(function(){e.__resizeTimer=null;var t=e.getDom(),n=e.getDom("content"),i=UE.ui.uiUtils.getClientRect(t),o=UE.ui.uiUtils.getClientRect(n),r=a.getViewportRect();n.style.width=r.width-i.width+o.width+"px",n.style.height=r.height-i.height+o.height+"px",t.style.width=r.width+"px",t.style.height=r.height+"px",e.fireEvent("resize")},100))})},fitSize:function(){var e=this.getDom("body"),t=this.mesureSize();return e.style.width=t.width+"px",e.style.height=t.height+"px",t},safeSetOffset:function(e){var t=this.getDom(),n=a.getViewportRect(),i=a.getClientRect(t),o=e.left;o+i.width>n.right&&(o=n.right-i.width);var r=e.top;r+i.height>n.bottom&&(r=n.bottom-i.height),t.style.left=Math.max(o,0)+"px",t.style.top=Math.max(r,0)+"px"},showAtCenter:function(){var e=a.getViewportRect();if(this.fullscreen){var t=this.getDom(),n=this.getDom("content");t.style.display="block";var i=UE.ui.uiUtils.getClientRect(t),r=UE.ui.uiUtils.getClientRect(n);t.style.left="-100000px",n.style.width=e.width-i.width+r.width+"px",n.style.height=e.height-i.height+r.height+"px",t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.left=0,this._originalContext={html:{overflowX:document.documentElement.style.overflowX,overflowY:document.documentElement.style.overflowY},body:{overflowX:document.body.style.overflowX,overflowY:document.body.style.overflowY}},document.documentElement.style.overflowX="hidden",document.documentElement.style.overflowY="hidden",document.body.style.overflowX="hidden",document.body.style.overflowY="hidden"}else{this.getDom().style.display="";var s=this.fitSize(),l=0|this.getDom("titlebar").offsetHeight,d=e.width/2-s.width/2,c=e.height/2-(s.height-l)/2-l,u=this.getDom();
12this.safeSetOffset({left:Math.max(0|d,0),top:Math.max(0|c,0)}),o.hasClass(u,"edui-state-centered")||(u.className+=" edui-state-centered")}this._show()},getContentHtml:function(){var e="";return"string"==typeof this.content?e=this.content:this.iframeUrl&&(e='<span id="'+this.id+'_contmask" class="dialogcontmask"></span><iframe id="'+this.id+'_iframe" class="%%-iframe" height="100%" width="100%" frameborder="0" src="'+this.iframeUrl+'"></iframe>'),e},getHtmlTpl:function(){var e="";if(this.buttons){for(var t=[],n=0;n<this.buttons.length;n++)t[n]=this.buttons[n].renderHtml();e='<div class="%%-foot"><div id="##_buttons" class="%%-buttons">'+t.join("")+"</div></div>"}return'<div id="##" class="%%"><div '+(this.fullscreen?'class="%%-wrap edui-dialog-fullscreen-flag"':'class="%%"')+'><div id="##_body" class="%%-body"><div class="%%-shadow"></div><div id="##_titlebar" class="%%-titlebar"><div class="%%-draghandle" onmousedown="$$._onTitlebarMouseDown(event, this);"><span class="%%-caption">'+(this.title||"")+"</span></div>"+this.closeButton.renderHtml()+'</div><div id="##_content" class="%%-content">'+(this.autoReset?"":this.getContentHtml())+"</div>"+e+"</div></div></div>"},postRender:function(){this.modalMask.getDom()||(this.modalMask.render(),this.modalMask.hide()),this.dragMask.getDom()||(this.dragMask.render(),this.dragMask.hide());var e=this;if(this.addListener("show",function(){e.modalMask.show(this.getDom().style.zIndex-2)}),this.addListener("hide",function(){e.modalMask.hide()}),this.buttons)for(var t=0;t<this.buttons.length;t++)this.buttons[t].postRender();o.on(window,"resize",function(){setTimeout(function(){e.isHidden()||e.safeSetOffset(a.getClientRect(e.getDom()))})}),this._hide()},mesureSize:function(){var e=this.getDom("body"),t=a.getClientRect(this.getDom("content")).width;return e.style.width=t,a.getClientRect(e)},_onTitlebarMouseDown:function(e,t){if(this.draggable){a.getViewportRect();var n,i=this;a.startDrag(e,{ondragstart:function(){n=a.getClientRect(i.getDom()),i.getDom("contmask").style.visibility="visible",i.dragMask.show(i.getDom().style.zIndex-1)},ondragmove:function(e,t){var o=n.left+e,a=n.top+t;i.safeSetOffset({left:o,top:a})},ondragstop:function(){i.getDom("contmask").style.visibility="hidden",o.removeClasses(i.getDom(),["edui-state-centered"]),i.dragMask.hide()}})}},reset:function(){this.getDom("content").innerHTML=this.getContentHtml(),this.fireEvent("dialogafterreset")},_show:function(){this._hidden&&(this.getDom().style.display="",this.editor.container.style.zIndex&&(this.getDom().style.zIndex=1*this.editor.container.style.zIndex+10),this._hidden=!1,this.fireEvent("show"),baidu.editor.ui.uiUtils.getFixedLayer().style.zIndex=this.getDom().style.zIndex-4)},isHidden:function(){return this._hidden},_hide:function(){if(!this._hidden){var e=this.getDom();e.style.display="none",e.style.zIndex="",e.style.width="",e.style.height="",this._hidden=!0,this.fireEvent("hide")}},open:function(){if(this.autoReset)try{this.reset()}catch(e){this.render(),this.open()}if(this.showAtCenter(),this.iframeUrl)try{this.getDom("iframe").focus()}catch(e){}n=this},_onCloseButtonClick:function(e,t){this.close(!1)},close:function(e){if(!1!==this.fireEvent("close",e)){this.fullscreen&&(document.documentElement.style.overflowX=this._originalContext.html.overflowX,document.documentElement.style.overflowY=this._originalContext.html.overflowY,document.body.style.overflowX=this._originalContext.body.overflowX,document.body.style.overflowY=this._originalContext.body.overflowY,delete this._originalContext),this._hide();var t=this.getDom("content"),n=this.getDom("iframe");if(t&&n){var i=n.contentDocument||n.contentWindow.document;i&&(i.body.innerHTML=""),o.remove(t)}}}},i.inherits(d,s)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.Menu,n=baidu.editor.ui.SplitButton,i=baidu.editor.ui.MenuButton=function(e){this.initOptions(e),this.initMenuButton()};i.prototype={initMenuButton:function(){var e=this;this.uiName="menubutton",this.popup=new t({items:e.items,className:e.className,editor:e.editor}),this.popup.addListener("show",function(){for(var t=0;t<this.items.length;t++)this.items[t].removeState("checked"),this.items[t].value==e._value&&(this.items[t].addState("checked"),this.value=e._value)}),this.initSplitButton()},setValue:function(e){this._value=e}},e.inherits(i,n)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.Popup,n=baidu.editor.ui.SplitButton,i=baidu.editor.ui.MultiMenuPop=function(e){this.initOptions(e),this.initMultiMenu()};i.prototype={initMultiMenu:function(){var e=this;this.popup=new t({content:"",editor:e.editor,iframe_rendered:!1,onshow:function(){this.iframe_rendered||(this.iframe_rendered=!0,this.getDom("content").innerHTML='<iframe id="'+e.id+'_iframe" src="'+e.iframeUrl+'" frameborder="0"></iframe>',e.editor.container.style.zIndex&&(this.getDom().style.zIndex=1*e.editor.container.style.zIndex+1))}}),this.onbuttonclick=function(){this.showPopup()},this.initSplitButton()}},e.inherits(i,n)}(),function(){var e,t=baidu.editor.ui,n=t.UIBase,i=t.uiUtils,o=baidu.editor.utils,a=baidu.editor.dom.domUtils,r
12=[],s=!1,l=t.ShortCutMenu=function(e){this.initOptions(e),this.initShortCutMenu()};function d(e){var t=e.target||e.srcElement;if(!a.findParent(t,function(e){return a.hasClass(e,"edui-shortcutmenu")||a.hasClass(e,"edui-popup")},!0))for(var n,i=0;n=r[i++];)n.hide()}l.postHide=d,l.prototype={isHidden:!0,SPACE:5,initShortCutMenu:function(){this.items=this.items||[],this.initUIBase(),this.initItems(),this.initEvent(),r.push(this)},initEvent:function(){var t=this,n=t.editor.document;a.on(n,"mousemove",function(n){if(!1===t.isHidden){if(t.getSubMenuMark()||"contextmenu"==t.eventType)return;var i=!0,o=t.getDom(),a=o.offsetWidth,r=o.offsetHeight,s=a/2+t.SPACE,l=r/2,d=Math.abs(n.screenX-t.left),c=Math.abs(n.screenY-t.top);clearTimeout(e),e=setTimeout(function(){c>0&&c<l?t.setOpacity(o,"1"):c>l&&c<l+70?(t.setOpacity(o,"0.5"),i=!1):c>l+70&&c<l+140&&t.hide(),i&&d>0&&d<s?t.setOpacity(o,"1"):d>s&&d<s+70?t.setOpacity(o,"0.5"):d>s+70&&d<s+140&&t.hide()})}}),browser.chrome&&a.on(n,"mouseout",function(e){var n=e.relatedTarget||e.toElement;null!=n&&"HTML"!=n.tagName||t.hide()}),t.editor.addListener("afterhidepop",function(){t.isHidden||(s=!0)})},initItems:function(){if(o.isArray(this.items))for(var e=0,n=this.items.length;e<n;e++){var i=this.items[e].toLowerCase();t[i]&&(this.items[e]=new t[i](this.editor),this.items[e].className+=" edui-shortcutsubmenu ")}},setOpacity:function(e,t){browser.ie&&browser.version<9?e.style.filter="alpha(opacity = "+100*parseFloat(t)+");":e.style.opacity=t},getSubMenuMark:function(){s=!1;for(var e,t=i.getFixedLayer(),n=a.getElementsByTagName(t,"div",function(e){return a.hasClass(e,"edui-shortcutsubmenu edui-popup")}),o=0;e=n[o++];)"none"!=e.style.display&&(s=!0);return s},show:function(e,t){var n=this,o={},r=this.getDom(),s=i.getFixedLayer();function l(e){e.left<0&&(e.left=0),e.top<0&&(e.top=0),r.style.cssText="position:absolute;left:"+e.left+"px;top:"+e.top+"px;"}function d(e){e.tagName||(e=e.getDom()),o.left=parseInt(e.style.left),o.top=parseInt(e.style.top),o.top-=r.offsetHeight+15,l(o)}if(n.eventType=e.type,r.style.cssText="display:block;left:-9999px","contextmenu"==e.type&&t){var c=a.getElementsByTagName(s,"div","edui-contextmenu")[0];c?d(c):n.editor.addListener("aftershowcontextmenu",function(e,t){d(t)})}else(o=i.getViewportOffsetByEvent(e)).top-=r.offsetHeight+n.SPACE,o.left+=n.SPACE+20,l(o),n.setOpacity(r,.2);n.isHidden=!1,n.left=e.screenX+r.offsetWidth/2-n.SPACE,n.top=e.screenY-r.offsetHeight/2-n.SPACE,n.editor&&(r.style.zIndex=1*n.editor.container.style.zIndex+10,s.style.zIndex=r.style.zIndex-1)},hide:function(){this.getDom()&&(this.getDom().style.display="none"),this.isHidden=!0},postRender:function(){if(o.isArray(this.items))for(var e,t=0;e=this.items[t++];)e.postRender()}
12,getHtmlTpl:function(){var e;if(o.isArray(this.items)){e=[];for(var t=0;t<this.items.length;t++)e[t]=this.items[t].renderHtml();e=e.join("")}else e=this.items;return'<div id="##" class="%% edui-toolbar" data-src="shortcutmenu" onmousedown="return false;" onselectstart="return false;" >'+e+"</div>"}},o.inherits(l,n),a.on(document,"mousedown",function(e){d(e)}),a.on(window,"scroll",function(e){d(e)})}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.UIBase,n=baidu.editor.ui.Breakline=function(e){this.initOptions(e),this.initSeparator()};n.prototype={uiName:"Breakline",initSeparator:function(){this.initUIBase()},getHtmlTpl:function(){return"<br/>"}},e.inherits(n,t)}(),function(){var e=baidu.editor.utils,t=baidu.editor.dom.domUtils,n=baidu.editor.ui.UIBase,i=baidu.editor.ui.Message=function(e){this.initOptions(e),this.initMessage()};i.prototype={initMessage:function(){this.initUIBase()},getHtmlTpl:function(){return'<div id="##" class="edui-message %%"> <div id="##_closer" class="edui-message-closer">×</div> <div id="##_body" class="edui-message-body edui-message-type-info"> <iframe style="position:absolute;z-index:-1;left:0;top:0;background-color: transparent;" frameborder="0" width="100%" height="100%" src="about:blank"></iframe> <div class="edui-shadow"></div> <div id="##_content" class="edui-message-content">  </div> </div></div>'},reset:function(e){var t=this;e.keepshow||(clearTimeout(this.timer),t.timer=setTimeout(function(){t.hide()},e.timeout||4e3)),void 0!==e.content&&t.setContent(e.content),void 0!==e.type&&t.setType(e.type),t.show()},postRender:function(){var e=this,n=this.getDom("closer");n&&t.on(n,"click",function(){e.hide()})},setContent:function(e){this.getDom("content").innerHTML=e},setType:function(e){e=e||"info";var t=this.getDom("body");t.className=t.className.replace(/edui-message-type-[\w-]+/,"edui-message-type-"+e)},getContent:function(){return this.getDom("content").innerHTML},getType:function(){var e=this.getDom("body").match(/edui-message-type-([\w-]+)/);return e?e[1]:""},show:function(){this.getDom().style.display="block"},hide:function(){var e=this.getDom();e&&(e.style.display="none",e.parentNode&&e.parentNode.removeChild(e))}},e.inherits(i,n)}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui,n=t.Dialog;t.buttons={},t.Dialog=function(e){var t=new n(e);return t.addListener("hide",function(){if(t.editor){var e=t.editor;try{if(browser.gecko){var n=e.window.scrollY,i=e.window.scrollX;e.body.focus(),e.window.scrollTo(i,n)}else e.focus()}catch(e){}}}),t};for(var i={anchor:"~/dialogs/anchor/anchor.html",insertimage:"~/dialogs/image/image.html",link:"~/dialogs/link/link.html",spechars:"~/dialogs/spechars/spechars.html",searchreplace:"~/dialogs/searchreplace/searchreplace.html",map:"~/dialogs/map/map.html",gmap:"~/dialogs/gmap/gmap.html",insertvideo:"~/dialogs/video/video.html",help:"~/dialogs/help/help.html",preview:"~/dialogs/preview/preview.html",emotion:"~/dialogs/emotion/emotion.html",wordimage:"~/dialogs/wordimage/wordimage.html",attachment:"~/dialogs/attachment/attachment.html",insertframe:"~/dialogs/insertframe/insertframe.html",edittip:"~/dialogs/table/edittip.html",edittable:"~/dialogs/table/edittable.html",edittd:"~/dialogs/table/edittd.html",webapp:"~/dialogs/webapp/webapp.html",snapscreen:"~/dialogs/snapscreen/snapscreen.html",scrawl:"~/dialogs/scrawl/scrawl.html",music:"~/dialogs/music/music.html",template:"~/dialogs/template/template.html",background:"~/dialogs/background/background.html",charts:"~/dialogs/charts/charts.html"},o=["undo","redo","formatmatch","bold","italic","underline","fontborder","touppercase","tolowercase","strikethrough","subscript","superscript","source","indent","outdent","blockquote","pasteplain","pagebreak","selectall","print","horizontal","removeformat","time","date","unlink","insertparagraphbeforetable","insertrow","insertcol","mergeright","mergedown","deleterow","deletecol","splittorows","splittocols","splittocells","mergecells","deletetable","drafts"],a=0;l=o[a++];)l=l.toLowerCase(),t[l]=function(e){return function(n){var i=new t.Button({className:"edui-for-"+e,title:n.options.labelMap[e]||n.getLang("labelMap."+e)||"",onclick:function(){n.execCommand(e)},theme:n.options.theme,showText:!1});return t.buttons[e]=i,n.addListener("selectionchange",function(t,o,a){var r=n.queryCommandState(e);-1==r?(i.setDisabled(!0),i.setChecked(!1)):a||(i.setDisabled(!1),i.setChecked(r))}),i}}(l);t.cleardoc=function(e){var n=new t.Button({className:"edui-for-cleardoc",title:e.options.labelMap.cleardoc||e.getLang("labelMap.cleardoc")||"",theme:e.options.theme,onclick:function(){confirm(e.getLang("confirmClear"))&&e.execCommand("cleardoc")}});return t.buttons.cleardoc=n,e.addListener("selectionchange",function(){n.setDisabled(-1==e.queryCommandState("cleardoc"))}),n};
12var r={justify:["left","right","center","justify"],imagefloat:["none","left","center","right"],directionality:["ltr","rtl"]};for(var s in r)!function(e,n){for(var i,o=0;i=n[o++];)!function(n){t[e.replace("float","")+n]=function(i){var o=new t.Button({className:"edui-for-"+e.replace("float","")+n,title:i.options.labelMap[e.replace("float","")+n]||i.getLang("labelMap."+e.replace("float","")+n)||"",theme:i.options.theme,onclick:function(){i.execCommand(e,n)}});return t.buttons[e]=o,i.addListener("selectionchange",function(t,a,r){o.setDisabled(-1==i.queryCommandState(e)),o.setChecked(i.queryCommandValue(e)==n&&!r)}),o}}(i)}(s,r[s]);var l;for(a=0;l=["backcolor","forecolor"][a++];)t[l]=function(e){return function(n){var i=new t.ColorButton({className:"edui-for-"+e,color:"default",title:n.options.labelMap[e]||n.getLang("labelMap."+e)||"",editor:n,onpickcolor:function(t,i){n.execCommand(e,i)},onpicknocolor:function(){n.execCommand(e,"default"),this.setColor("transparent"),this.color="default"},onbuttonclick:function(){n.execCommand(e,this.color)}});return t.buttons[e]=i,n.addListener("selectionchange",function(){i.setDisabled(-1==n.queryCommandState(e))}),i}}(l);var d={noOk:["searchreplace","help","spechars","webapp","preview"],ok:["attachment","anchor","link","insertimage","map","gmap","insertframe","wordimage","insertvideo","insertframe","edittip","edittable","edittd","scrawl","template","music","background","charts"]};for(var s in d)!function(n,o){for(var a,r=0;a=o[r++];)browser.opera&&"searchreplace"===a||function(o){t[o]=function(a,r,s){var l;r=r||(a.options.iframeUrlMap||{})[o]||i[o],s=a.options.labelMap[o]||a.getLang("labelMap."+o)||"",r&&(l=new t.Dialog(e.extend({iframeUrl:a.ui.mapUrl(r),editor:a,className:"edui-for-"+o,title:s,holdScroll:"insertimage"===o,fullscreen:/charts|preview/.test(o),closeDialog:a.getLang("closeDialog")},"ok"==n?{buttons:[{className:"edui-okbutton",label:a.getLang("ok"),editor:a,onclick:function(){l.close(!0)}},{className:"edui-cancelbutton",label:a.getLang("cancel"),editor:a,onclick:function(){l.close(!1)}}]}:{})),a.ui._dialogs[o+"Dialog"]=l);var d=new t.Button({className:"edui-for-"+o,title:s,onclick:function(){if(l)switch(o){case"wordimage":var e=a.execCommand("wordimage");e&&e.length&&(l.render(),l.open());break;case"scrawl":-1!=a.queryCommandState("scrawl")&&(l.render(),l.open());break;default:l.render(),l.open()}},theme:a.options.theme,disabled:"scrawl"==o&&-1==a.queryCommandState("scrawl")||"charts"==o});return t.buttons[o]=d,a.addListener("selectionchange",function(){if(!(o in{edittable:1})){var e=a.queryCommandState(o);d.getDom()&&(d.setDisabled(-1==e),d.setChecked(e))}}),d}}(a.toLowerCase())}(s,d[s]);t.snapscreen=function(e,n,o){o=e.options.labelMap.snapscreen||e.getLang("labelMap.snapscreen")||"";var a=new t.Button({className:"edui-for-snapscreen",title:o,onclick:function(){e.execCommand("snapscreen")},theme:e.options.theme});if(t.buttons.snapscreen=a,n=n||(e.options.iframeUrlMap||{}).snapscreen||i.snapscreen){var r=new t.Dialog({iframeUrl:e.ui.mapUrl(n),editor:e,className:"edui-for-snapscreen",title:o,buttons:[{className:"edui-okbutton",label:e.getLang("ok"),editor:e,onclick:function(){r.close(!0)}},{className:"edui-cancelbutton",label:e.getLang("cancel"),editor:e,onclick:function(){r.close(!1)}}]});r.render(),e.ui._dialogs.snapscreenDialog=r}return e.addListener("selectionchange",function(){a.setDisabled(-1==e.queryCommandState("snapscreen"))}),a},t.insertcode=function(n,i,o){i=n.options.insertcode||[],o=n.options.labelMap.insertcode||n.getLang("labelMap.insertcode")||"";var a=[];e.each(i,function(e,t){a.push({label:e,value:t,theme:n.options.theme,renderLabelHtml:function(){return'<div class="edui-label %%-label" >'+(this.label||"")+"</div>"}})});var r=new t.Combox({editor:n,items:a,onselect:function(e,t){n.execCommand("insertcode",this.items[t].value)},onbuttonclick:function(){this.showPopup()},title:o,initValue:o,className:"edui-for-insertcode",indexByValue:function(e){if(e)for(var t,n=0;t=this.items[n];n++)if(-1!=t.value.indexOf(e))return n;return-1}});return t.buttons.insertcode=r,n.addListener("selectionchange",function(e,t,i){if(!i)if(-1==n.queryCommandState("insertcode"))r.setDisabled(!0);else{r.setDisabled(!1);var a=n.queryCommandValue("insertcode");if(!a)return void r.setValue(o);a&&(a=a.replace(/['"]/g,"").split(",")[0]),r.setValue(a)}}),r},t.fontfamily=function(n,i,o){if(i=n.options.fontfamily||[],o=n.options.labelMap.fontfamily||n.getLang("labelMap.fontfamily")||"",i.length){for(var a,r=0,s=[];a=i[r];r++){var l=n.getLang("fontfamily")[a.name]||"";!function(t,i){s.push({label:t,value:i,theme:n.options.theme,renderLabelHtml:function(){return'<div class="edui-label %%-label" style="font-family:'+e.unhtml(this.value)+'">'+(this.label||"")+"</div>"}})}(a.label||l,a.val)}var d=new t.Combox({editor:n,items:s,onselect:function(e,t){n.execCommand("FontFamily",this.items[t].value)},onbuttonclick:function(){this.showPopup()},title:o,initValue:o,className:"edui-for-fontfamily",indexByValue:function(e){if(e)for(var t,n=0;t=this.items[n];n++)if(-1!=t.value.indexOf(e))return n;return-1}});return t.buttons.fontfamily=d,n.addListener("selectionchange",function(e,t,i){if(!i)if(-1==n.queryCommandState("FontFamily"))d.setDisabled(!0);else{d.setDisabled(!1);var o=n.queryCommandValue("FontFamily");o&&(o=o.replace(/['"]/g,"").split(",")[0]),d.setValue(o)}}),d}},t.fontsize=function(e,n,i){if(i=e.options.labelMap.fontsize||e.getLang("labelMap.fontsize")||"",(n=n||e.options.fontsize||[]).length){for(var o=[],a=0;a<n.length;a++){var r=n[a]+"px";o.push({label:r,value:r,theme:e.options.theme,renderLabelHtml:function(){return'<div class="edui-label %%-label" style="line-height:1;font-size:'+this.value+'">'+(this.label||"")+"</div>"}})}var s=new t.Combox({editor:e,items:o,title:i,initValue:i,onselect:function(t,n){e.execCommand("FontSize",this.items[n].value)},onbuttonclick:function(){this.showPopup()},className:"edui-for-fontsize"});return t.buttons.fontsize=s,e.addListener("selectionchange",function(t,n,i){i||(-1==e.queryCommandState("FontSize")?s.setDisabled(!0):(s.setDisabled(!1),s.setValue(e.queryCommandValue("FontSize"))))}),s}},t.paragraph=function(n,i,o){if(o=n.options.labelMap.paragraph||n.getLang("labelMap.paragraph")||"",i=n.options.paragraph||[],!e.isEmptyObject(i)){var a=[];for(var r in i)a.push({value:r,label:i[r]||n.getLang("paragraph")[r],theme:n.options.theme,renderLabelHtml:function(){return'<div class="edui-label %%-label"><span class="edui-for-'+this.value+'">'+(this.label||"")+"</span></div>"}});var s=new t.Combox({editor:n,items:a,title:o,initValue:o,className:"edui-for-paragraph",onselect:function(e,t){n.execCommand("Paragraph",this.items[t].value)},onbuttonclick:function(){this.showPopup()}});return t.buttons.paragraph=s,n.addListener("selectionchange",function(e,t,i){if(!i)if(-1==n.queryCommandState("Paragraph"))s.setDisabled(!0);else{s.setDisabled(!1);var o=n.queryCommandValue("Paragraph");-1!=s.indexByValue(o)?s.setValue(o):s.setValue(s.initValue)}}),s}},t.customstyle=function(e){var n=e.options.customstyle||[],i=e.options.labelMap.customstyle||e.getLang("labelMap.customstyle")||"";if(n.length){for(var o,a=e.getLang("customstyle"),r=0,s=[];o=n[r++];)!function(t){var n={};n.label=t.label?t.label:a[t.name],n.style=t.style,n.className=t.className,n.tag=t.tag,s.push({label:n.label,value:n,theme:e.options.theme,renderLabelHtml:function(){return'<div class="edui-label %%-label"><'+n.tag+" "+(n.className?' class="'+n.className+'"':"")+(n.style?' style="'+n.style+'"':"")+">"+n.label+"</"+n.tag+"></div>"}})}(o);var l=new t.Combox({editor:e,items:s,title:i,initValue:i,className:"edui-for-customstyle",onselect:function(t,n){e.execCommand("customstyle",this.items[n].value)},onbuttonclick:function(){this.showPopup()},indexByValue:function(e){for(var t,n=0;t=this.items[n++];)if(t.label==e)return n-1;return-1}});return t.buttons.customstyle=l,e.addListener("selectionchange",function(t,n,i){if(!i)if(-1==e.queryCommandState("customstyle"))l.setDisabled(!0);else{l.setDisabled(!1);var o=e.queryCommandValue("customstyle");-1!=l.indexByValue(o)?l.setValue(o):l.setValue(l.initValue)}}),l}},t.inserttable=function(e,n,i){i=e.options.labelMap.inserttable||e.getLang("labelMap.inserttable")||"";var o=new t.TableButton({editor:e,title:i,className:"edui-for-inserttable",onpicktable:function(t,n,i){e.execCommand("InsertTable",{numRows:i,numCols:n,border:1})},onbuttonclick:function(){this.showPopup()}});return t.buttons.inserttable=o,e.addListener("selectionchange",function(){o.setDisabled(-1==e.queryCommandState("inserttable"))}),o},t.lineheight=function(e){var n=e.options.lineheight||[];if(n.length){for(var i,o=0,a=[];i=n[o++];)a.push({label:i,value:i,theme:e.options.theme,onclick:function(){e.execCommand("lineheight",this.value)}});var r=new t.MenuButton({editor:e,className:"edui-for-lineheight",title:e.options.labelMap.lineheight||e.getLang("labelMap.lineheight")||"",items:a,onbuttonclick:function(){var t=e.queryCommandValue("LineHeight")||this.value;e.execCommand("LineHeight",t)}});return t.buttons.lineheight=r,e.addListener("selectionchange",function(){var t=e.queryCommandState("LineHeight");if(-1==t)r.setDisabled(!0);else{r.setDisabled(!1);var n=e.queryCommandValue("LineHeight");n&&r.setValue((n+"").replace(/cm/,"")),r.setChecked(t)}}),r}};for(var c,u=["top","bottom"],m=0;c=u[m++];)!function(e){t["rowspacing"+e]=function(n){var i=n.options["rowspacing"+e]||[];if(!i.length)return null;for(var o,a=0,r=[];o=i[a++];)r.push({label:o,value:o,theme:n.options.theme,onclick:function(){n.execCommand("rowspacing",this.value,e)}});var s=new t.MenuButton({editor:n,className:"edui-for-rowspacing"+e,title:n.options.labelMap["rowspacing"+e]||n.getLang("labelMap.rowspacing"+e)||"",items:r,onbuttonclick:function(){var t=n.queryCommandValue("rowspacing",e)||this.value;n.execCommand("rowspacing",t,e)}});return t.buttons[e]=s,n.addListener("selectionchange",function(){var t=n.queryCommandState("rowspacing",e);if(-1==t)s.setDisabled(!0);else{s.setDisabled(!1);var i=n.queryCommandValue("rowspacing",e);i&&s.setValue((i+"").replace(/%/,"")),s.setChecked(t)}}),s}}(c);for(var p,h=["insertorderedlist","insertunorderedlist"],g=0;p=h[g++];)!function(e){t[e]=function(n){var i=n.options[e],o=function(){n.execCommand(e,this.value)},a=[];for(var r in i)a.push({label:i[r]||n.getLang()[e][r]||"",value:r,theme:n.options.theme,onclick:o});var s=new t.MenuButton({editor:n,className:"edui-for-"+e,title:n.getLang("labelMap."+e)||"",items:a,onbuttonclick:function(){var t=n.queryCommandValue(e)||this.value;n.execCommand(e,t)}});return t.buttons[e]=s,n.addListener("selectionchange",function(){var t=n.queryCommandState(e);if(-1==t)s.setDisabled(!0);else{s.setDisabled(!1);var i=n.queryCommandValue(e);s.setValue(i),s.setChecked(t)}}),s}}(p);
12t.fullscreen=function(e,n){n=e.options.labelMap.fullscreen||e.getLang("labelMap.fullscreen")||"";var i=new t.Button({className:"edui-for-fullscreen",title:n,theme:e.options.theme,onclick:function(){e.ui&&e.ui.setFullScreen(!e.ui.isFullScreen()),this.setChecked(e.ui.isFullScreen())}});return t.buttons.fullscreen=i,e.addListener("selectionchange",function(){var t=e.queryCommandState("fullscreen");i.setDisabled(-1==t),i.setChecked(e.ui.isFullScreen())}),i},t.emotion=function(e,n){var o="emotion",a=new t.MultiMenuPop({title:e.options.labelMap[o]||e.getLang("labelMap."+o)||"",editor:e,className:"edui-for-"+o,iframeUrl:e.ui.mapUrl(n||(e.options.iframeUrlMap||{})[o]||i[o])});return t.buttons[o]=a,e.addListener("selectionchange",function(){a.setDisabled(-1==e.queryCommandState(o))}),a},t.autotypeset=function(e){var n=new t.AutoTypeSetButton({editor:e,title:e.options.labelMap.autotypeset||e.getLang("labelMap.autotypeset")||"",className:"edui-for-autotypeset",onbuttonclick:function(){e.execCommand("autotypeset")}});return t.buttons.autotypeset=n,e.addListener("selectionchange",function(){n.setDisabled(-1==e.queryCommandState("autotypeset"))}),n},t.simpleupload=function(e){var n="simpleupload",i=new t.Button({className:"edui-for-"+n,title:e.options.labelMap[n]||e.getLang("labelMap."+n)||"",onclick:function(){},theme:e.options.theme,showText:!1});return t.buttons[n]=i,e.addListener("ready",function(){var t=i.getDom("body").children[0];e.fireEvent("simpleuploadbtnready",t)}),e.addListener("selectionchange",function(t,o,a){var r=e.queryCommandState(n);-1==r?(i.setDisabled(!0),i.setChecked(!1)):a||(i.setDisabled(!1),i.setChecked(r))}),i}}(),function(){var e=baidu.editor.utils,t=baidu.editor.ui.uiUtils,n=baidu.editor.ui.UIBase,i=baidu.editor.dom.domUtils,o=[];function a(e){this.initOptions(e),this.initEditorUI()}a.prototype={uiName:"editor",initEditorUI:function(){this.editor.ui=this,this._dialogs={},this.initUIBase(),this._initToolbars();var e=this.editor,t=this;e.addListener("ready",function(){if(e.getDialog=function(t){return e.ui._dialogs[t+"Dialog"]},i.on(e.window,"scroll",function(e){baidu.editor.ui.Popup.postHide(e)}),e.ui._actualFrameWidth=e.options.initialFrameWidth,UE.browser.ie&&6===UE.browser.version&&e.container.ownerDocument.execCommand("BackgroundImageCache",!1,!0),e.options.elementPathEnabled&&(e.ui.getDom("elementpath").innerHTML='<div class="edui-editor-breadcrumb">'+e.getLang("elementPathTip")+":</div>"),e.options.wordCount){i.on(e.document,"click",function(){r(e,t),i.un(e.document,"click",arguments.callee)}),e.ui.getDom("wordcount").innerHTML=e.getLang("wordCountTip")}e.ui._scale(),e.options.scaleEnabled?(e.autoHeightEnabled&&e.disableAutoHeight(),t.enableScale()):t.disableScale(),e.options.elementPathEnabled||e.options.wordCount||e.options.scaleEnabled||(e.ui.getDom("elementpath").style.display="none",e.ui.getDom("wordcount").style.display="none",e.ui.getDom("scale").style.display="none"),e.selection.isFocus()&&e.fireEvent("selectionchange",!1,!0)}),e.addListener("mousedown",function(e,t){var n=t.target||t.srcElement;baidu.editor.ui.Popup.postHide(t,n),baidu.editor.ui.ShortCutMenu.postHide(t)}),e.addListener("delcells",function(){UE.ui.edittip&&new UE.ui.edittip(e),e.getDialog("edittip").open()});var n,o,a=!1;function r(e,t){e.setOpt({wordCount:!0,maximumWords:1e4,wordCountMsg:e.options.wordCountMsg||e.getLang("wordCountMsg"),wordOverFlowMsg:e.options.wordOverFlowMsg||e.getLang("wordOverFlowMsg")});var n=e.options,i=n.maximumWords,o=n.wordCountMsg,a=n.wordOverFlowMsg,r=t.getDom("wordcount");if(n.wordCount){var s=e.getContentLength(!0);s>i?(r.innerHTML=a,e.fireEvent("wordcountoverflow")):r.innerHTML=o.replace("{#leave}",i-s).replace("{#count}",s)}}e.addListener("afterpaste",function(){e.queryCommandState("pasteplain")||(baidu.editor.ui.PastePicker&&(n=new baidu.editor.ui.Popup({content:new baidu.editor.ui.PastePicker({editor:e}),editor:e,className:"edui-wordpastepop"})).render(),a=!0)}),e.addListener("afterinserthtml",function(){clearTimeout(o),o=setTimeout(function(){if(n&&(a||e.ui._isTransfer)){if(n.isHidden()){var t=i.createElement(e.document,"span",{style:"line-height:0px;",innerHTML:"\ufeff"});e.selection.getRange().insertNode(t);var o=getDomNode(t,"firstChild","previousSibling");o&&n.showAnchor(3==o.nodeType?o.parentNode:o),i.remove(t)}else n.show();delete e.ui._isTransfer,a=!1}},200)}),e.addListener("contextmenu",function(e,t){baidu.editor.ui.Popup.postHide(t)}),e.addListener("keydown",function(e,t){n&&n.dispose(t);var i=t.keyCode||t.which;t.altKey&&90==i&&UE.ui.buttons.fullscreen.onclick()}),e.addListener("wordcount",function(e){r(this,t)}),e.addListener("selectionchange",function(){e.options.elementPathEnabled&&t[(-1==e.queryCommandState("elementpath")?"dis":"en")+"ableElementPath"](),e.o
12ptions.scaleEnabled&&t[(-1==e.queryCommandState("scale")?"dis":"en")+"ableScale"]()});var s=new baidu.editor.ui.Popup({editor:e,content:"",className:"edui-bubble",_onEditButtonClick:function(){this.hide(),e.ui._dialogs.linkDialog.open()},_onImgEditButtonClick:function(t){this.hide(),e.ui._dialogs[t]&&e.ui._dialogs[t].open()},_onImgSetFloat:function(t){this.hide(),e.execCommand("imagefloat",t)},_setIframeAlign:function(e){var t=s.anchorEl,n=t.cloneNode(!0);switch(e){case-2:n.setAttribute("align","");break;case-1:n.setAttribute("align","left");break;case 1:n.setAttribute("align","right")}t.parentNode.insertBefore(n,t),i.remove(t),s.anchorEl=n,s.showAnchor(s.anchorEl)},_updateIframe:function(){var t=e._iframe=s.anchorEl;i.hasClass(t,"ueditor_baidumap")?(e.selection.getRange().selectNode(t).select(),e.ui._dialogs.mapDialog.open(),s.hide()):(e.ui._dialogs.insertframeDialog.open(),s.hide())},_onRemoveButtonClick:function(t){e.execCommand(t),this.hide()},queryAutoHide:function(t){return t&&t.ownerDocument==e.document&&("img"==t.tagName.toLowerCase()||i.findParentByTagName(t,"a",!0))?t!==s.anchorEl:baidu.editor.ui.Popup.prototype.queryAutoHide.call(this,t)}});s.render(),e.options.imagePopup&&(e.addListener("mouseover",function(t,n){var i=(n=n||window.event).target||n.srcElement;if(e.ui._dialogs.insertframeDialog&&/iframe/gi.test(i.tagName)){var o=s.formatHtml("<nobr>"+e.getLang("property")+': <span onclick=$$._setIframeAlign(-2) class="edui-clickable">'+e.getLang("default")+'</span>&nbsp;&nbsp;<span onclick=$$._setIframeAlign(-1) class="edui-clickable">'+e.getLang("justifyleft")+'</span>&nbsp;&nbsp;<span onclick=$$._setIframeAlign(1) class="edui-clickable">'+e.getLang("justifyright")+'</span>&nbsp;&nbsp; <span onclick="$$._updateIframe( this);" class="edui-clickable">'+e.getLang("modify")+"</span></nobr>");o?(s.getDom("content").innerHTML=o,s.anchorEl=i,s.showAnchor(s.anchorEl)):s.hide()}}),e.addListener("selectionchange",function(t,n){if(n){var o="",a="",r=e.selection.getRange().getClosedNode(),l=e.ui._dialogs;if(r&&"IMG"==r.tagName){var d="insertimageDialog";if(-1==r.className.indexOf("edui-faked-video")&&-1==r.className.indexOf("edui-upload-video")||(d="insertvideoDialog"),-1!=r.className.indexOf("edui-faked-webapp")&&(d="webappDialog"),-1!=r.src.indexOf("http://api.map.baidu.com")&&(d="mapDialog"),-1!=r.className.indexOf("edui-faked-music")&&(d="musicDialog"),-1!=r.src.indexOf("http://maps.google.com/maps/api/staticmap")&&(d="gmapDialog"),r.getAttribute("anchorname")&&(d="anchorDialog",o=s.formatHtml("<nobr>"+e.getLang("property")+': <span onclick=$$._onImgEditButtonClick("anchorDialog") class="edui-clickable">'+e.getLang("modify")+"</span>&nbsp;&nbsp;<span onclick=$$._onRemoveButtonClick('anchor') class=\"edui-clickable\">"+e.getLang("delete")+"</span></nobr>")),r.getAttribute("word_img")&&(e.word_img=[r.getAttribute("word_img")],d="wordimageDialog"),(i.hasClass(r,"loadingclass")||i.hasClass(r,"loaderrorclass"))&&(d=""),!l[d])return;a="<nobr>"+e.getLang("property")+': <span onclick=$$._onImgSetFloat("none") class="edui-clickable">'+e.getLang("default")+'</span>&nbsp;&nbsp;<span onclick=$$._onImgSetFloat("left") class="edui-clickable">'+e.getLang("justifyleft")+'</span>&nbsp;&nbsp;<span onclick=$$._onImgSetFloat("right") class="edui-clickable">'+e.getLang("justifyright")+'</span>&nbsp;&nbsp;<span onclick=$$._onImgSetFloat("center") class="edui-clickable">'+e.getLang("justifycenter")+"</span>&nbsp;&nbsp;<span onclick=\"$$._onImgEditButtonClick('"+d+'\');" class="edui-clickable">'+e.getLang("modify")+"</span></nobr>",!o&&(o=s.formatHtml(a))}if(e.ui._dialogs.linkDialog){var c,u=e.queryCommandValue("link");if(u&&(c=u.getAttribute("_href")||u.getAttribute("href",2))){var m=c;c.length>30&&(m=c.substring(0,20)+"..."),o&&(o+='<div style="height:5px;"></div>'),o+=s.formatHtml("<nobr>"+e.getLang("anthorMsg")+': <a target="_blank" href="'+c+'" title="'+c+'" >'+m+'</a> <span class="edui-clickable" onclick="$$._onEditButtonClick();">'+e.getLang("modify")+'</span> <span class="edui-clickable" onclick="$$._onRemoveButtonClick(\'unlink\');"> '+e.getLang("clear")+"</span></nobr>"),s.showAnchor(u)}}o?(s.getDom("content").innerHTML=o,s.anchorEl=r||u,s.showAnchor(s.anchorEl)):s.hide()}}))},_initToolbars:function(){for(var t=this.editor,n=this.toolbars||[],i=[],o=0;o<n.length;o++){for(var a=n[o],r=new baidu.editor.ui.Toolbar({theme:t.options.theme}),s=0;s<a.length;s++){var l=a[s],d=null;if("string"==typeof l){if("|"==(l=l.toLowerCase())&&(l="Separator"),"||"==l&&(l="Breakline"),baidu.editor.ui[l]&&(d=new baidu.editor.ui[l](t)),"fullscreen"==l){i&&i[0]?i[0].items.splice(0,0,d):d&&r.items.splice(0,0,d);continue}}else d=l;d&&d.id&&r.add(d)}i[o]=r}e.each(UE._customizeUI,function(e,n){var i,o;if(e.id&&e.id!=t.key)return!1;
12(i=e.execFn.call(t,t,n))&&(void 0===(o=e.index)&&(o=r.items.length),r.add(i,o))}),this.toolbars=i},getHtmlTpl:function(){return'<div id="##" class="%%"><div id="##_toolbarbox" class="%%-toolbarbox">'+(this.toolbars.length?'<div id="##_toolbarboxouter" class="%%-toolbarboxouter"><div class="%%-toolbarboxinner">'+this.renderToolbarBoxHtml()+"</div></div>":"")+'<div id="##_toolbarmsg" class="%%-toolbarmsg" style="display:none;"><div id = "##_upload_dialog" class="%%-toolbarmsg-upload" onclick="$$.showWordImageDialog();">'+this.editor.getLang("clickToUpload")+'</div><div class="%%-toolbarmsg-close" onclick="$$.hideToolbarMsg();">x</div><div id="##_toolbarmsg_label" class="%%-toolbarmsg-label"></div><div style="height:0;overflow:hidden;clear:both;"></div></div><div id="##_message_holder" class="%%-messageholder"></div></div><div id="##_iframeholder" class="%%-iframeholder"></div><div id="##_bottombar" class="%%-bottomContainer"><table><tr><td id="##_elementpath" class="%%-bottombar"></td><td id="##_wordcount" class="%%-wordcount"></td><td id="##_scale" class="%%-scale"><div class="%%-icon"></div></td></tr></table></div><div id="##_scalelayer"></div></div>'},showWordImageDialog:function(){this._dialogs.wordimageDialog.open()},renderToolbarBoxHtml:function(){for(var e=[],t=0;t<this.toolbars.length;t++)e.push(this.toolbars[t].renderHtml());return e.join("")},setFullScreen:function(e){var t=this.editor,n=t.container.parentNode.parentNode;if(this._fullscreen!=e){if(this._fullscreen=e,this.editor.fireEvent("beforefullscreenchange",e),baidu.editor.browser.gecko)var i=t.selection.getRange().createBookmark();if(e){for(;"BODY"!=n.tagName;){var a=baidu.editor.dom.domUtils.getComputedStyle(n,"position");o.push(a),n.style.position="static",n=n.parentNode}this._bakHtmlOverflow=document.documentElement.style.overflow,this._bakBodyOverflow=document.body.style.overflow,this._bakAutoHeight=this.editor.autoHeightEnabled,this._bakScrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this._bakEditorContaninerWidth=t.iframe.parentNode.offsetWidth,this._bakAutoHeight&&(t.autoHeightEnabled=!1,this.editor.disableAutoHeight()),document.documentElement.style.overflow="hidden",window.scrollTo(0,window.scrollY),this._bakCssText=this.getDom().style.cssText,this._bakCssText1=this.getDom("iframeholder").style.cssText,t.iframe.parentNode.style.width="",this._updateFullScreen()}else{for(;"BODY"!=n.tagName;)n.style.position=o.shift(),n=n.parentNode;this.getDom().style.cssText=this._bakCssText,this.getDom("iframeholder").style.cssText=this._bakCssText1,this._bakAutoHeight&&(t.autoHeightEnabled=!0,this.editor.enableAutoHeight()),document.documentElement.style.overflow=this._bakHtmlOverflow,document.body.style.overflow=this._bakBodyOverflow,t.iframe.parentNode.style.width=this._bakEditorContaninerWidth+"px",window.scrollTo(0,this._bakScrollTop)}if(browser.gecko&&"true"===t.body.contentEditable){var r=document.createElement("input");document.body.appendChild(r),t.body.contentEditable=!1,setTimeout(function(){r.focus(),setTimeout(function(){t.body.contentEditable=!0,t.fireEvent("fullscreenchanged",e),t.selection.getRange().moveToBookmark(i).select(!0),baidu.editor.dom.domUtils.remove(r),e&&window.scroll(0,0)},0)},0)}"true"===t.body.contentEditable&&(this.editor.fireEvent("fullscreenchanged",e),this.triggerLayout())}},_updateFullScreen:function(){if(this._fullscreen){var e=t.getViewportRect();if(this.getDom().style.cssText="border:0;position:absolute;left:0;top:"+(this.editor.options.topOffset||0)+"px;width:"+e.width+"px;height:"+e.height+"px;z-index:"+(1*this.getDom().style.zIndex+100),t.setViewportOffset(this.getDom(),{left:0,top:this.editor.options.topOffset||0}),this.editor.setHeight(e.height-this.getDom("toolbarbox").offsetHeight-this.getDom("bottombar").offsetHeight-(this.editor.options.topOffset||0),!0),browser.gecko)try{window.onresize()}catch(e){}}},_updateElementPath:function(){var e,t=this.getDom("elementpath");if(this.elementPathEnabled&&(e=this.editor.queryCommandValue("elementpath"))){for(var n,i=[],o=0;n=e[o];o++)i[o]=this.formatHtml('<span unselectable="on" onclick="$$.editor.execCommand(&quot;elementpath&quot;, &quot;'+o+'&quot;);">'+n+"</span>");t.innerHTML='<div class="edui-editor-breadcrumb" onmousedown="return false;">'+this.editor.getLang("elementPathTip")+": "+i.join(" &gt; ")+"</div>"}else t.style.display="none"},disableElementPath:function(){var e=this.getDom("elementpath");e.innerHTML="",e.style.display="none",this.elementPathEnabled=!1},enableElementPath:function(){this.getDom("elementpath").style.display="",this.elementPathEnabled=!0,this._updateElementPath()},_scale:function(){var e=document,t=this.editor,n=t.container,o=t.document,a=this.getDom("toolbarbox"),r=this.getDom("bottombar"),s=this.getDom("scale"),l=this.getDom("scalelayer"),d=!1,c=null,u=0,m=t.options.minFrameWidth,p=0,h=0,g=0,f=0;function v(){c=i.getXY(n),u||(u=t.options.minFrameHeight+a.offsetHeight+r.offsetHeight),l.style.cssText="position:absolute;
12left:0;display:;top:0;background-color:#41ABFF;opacity:0.4;filter: Alpha(opacity=40);width:"+n.offsetWidth+"px;height:"+n.offsetHeight+"px;z-index:"+(t.options.zIndex+1),i.on(e,"mousemove",y),i.on(o,"mouseup",w),i.on(e,"mouseup",w)}var b=this;function y(t){x();var n=t||window.event;p=n.pageX||e.documentElement.scrollLeft+n.clientX,h=n.pageY||e.documentElement.scrollTop+n.clientY,g=p-c.x,f=h-c.y,g>=m&&(d=!0,l.style.width=g+"px"),f>=u&&(d=!0,l.style.height=f+"px")}function w(){d&&(d=!1,t.ui._actualFrameWidth=l.offsetWidth-2,n.style.width=t.ui._actualFrameWidth+"px",t.setHeight(l.offsetHeight-r.offsetHeight-a.offsetHeight-2,!0)),l&&(l.style.display="none"),x(),i.un(e,"mousemove",y),i.un(o,"mouseup",w),i.un(e,"mouseup",w)}function x(){browser.ie?e.selection.clear():window.getSelection().removeAllRanges()}this.editor.addListener("fullscreenchanged",function(e,t){if(t)b.disableScale();else if(b.editor.options.scaleEnabled){b.enableScale();var n=b.editor.document.createElement("span");b.editor.body.appendChild(n),b.editor.body.style.height=Math.max(i.getXY(n).y,b.editor.iframe.offsetHeight-20)+"px",i.remove(n)}}),this.enableScale=function(){1!=t.queryCommandState("source")&&(s.style.display="",this.scaleEnabled=!0,i.on(s,"mousedown",v))},this.disableScale=function(){s.style.display="none",this.scaleEnabled=!1,i.un(s,"mousedown",v)}},isFullScreen:function(){return this._fullscreen},postRender:function(){n.prototype.postRender.call(this);for(var e=0;e<this.toolbars.length;e++)this.toolbars[e].postRender();var t,i=this,o=baidu.editor.dom.domUtils,a=function(){clearTimeout(t),t=setTimeout(function(){i._updateFullScreen()})};o.on(window,"resize",a),i.addListener("destroy",function(){o.un(window,"resize",a),clearTimeout(t)})},showToolbarMsg:function(e,t){(this.getDom("toolbarmsg_label").innerHTML=e,this.getDom("toolbarmsg").style.display="",t)||(this.getDom("upload_dialog").style.display="none")},hideToolbarMsg:function(){this.getDom("toolbarmsg").style.display="none"},mapUrl:function(e){return e?e.replace("~/",this.editor.options.UEDITOR_HOME_URL||""):""},triggerLayout:function(){var e=this.getDom();"1"==e.style.zoom?e.style.zoom="100%":e.style.zoom="1"}},e.inherits(a,baidu.editor.ui.UIBase);var r={};UE.ui.Editor=function(t){var n=new UE.Editor(t);n.options.editor=n,e.loadFile(document,{href:n.options.themePath+n.options.theme+"/css/ueditor.css",tag:"link",type:"text/css",rel:"stylesheet"});var o=n.render;return n.render=function(t){t.constructor===String&&(n.key=t,r[t]=n),e.domReady(function(){function e(){if(n.setOpt({labelMap:n.options.labelMap||n.getLang("labelMap")}),new a(n.options),t&&(t.constructor===String&&(t=document.getElementById(t)),t&&t.getAttribute("name")&&(n.options.textarea=t.getAttribute("name")),t&&/script|textarea/gi.test(t.tagName))){var e=document.createElement("div");t.parentNode.insertBefore(e,t);var r=t.value||t.innerHTML;n.options.initialContent=/^[\t\r\n ]*$/.test(r)?n.options.initialContent:r.replace(/>[\n\r\t]+([ ]{4})+/g,">").replace(/[\n\r\t]+([ ]{4})+</g,"<").replace(/>[\n\r\t]+</g,"><"),t.className&&(e.className=t.className),t.style.cssText&&(e.style.cssText=t.style.cssText),/textarea/i.test(t.tagName)?(n.textarea=t,n.textarea.style.display="none"):t.parentNode.removeChild(t),t.id&&(e.id=t.id,i.removeAttributes(t,"id")),(t=e).innerHTML=""}i.addClass(t,"edui-"+n.options.theme),n.ui.render(t);var s=n.options;n.container=n.ui.getDom();for(var l=i.findParents(t,!0),d=[],c=0;m=l[c];c++)d[c]=m.style.display,m.style.display="block";if(s.initialFrameWidth)s.minFrameWidth=s.initialFrameWidth;else{s.minFrameWidth=s.initialFrameWidth=t.offsetWidth;var u=t.style.width;/%$/.test(u)&&(s.initialFrameWidth=u)}s.initialFrameHeight?s.minFrameHeight=s.initialFrameHeight:s.initialFrameHeight=s.minFrameHeight=t.offsetHeight;var m;for(c=0;m=l[c];c++)m.style.display=d[c];t.style.height&&(t.style.height=""),n.container.style.width=s.initialFrameWidth+(/%$/.test(s.initialFrameWidth)?"":"px"),n.container.style.zIndex=s.zIndex,o.call(n,n.ui.getDom("iframeholder")),n.fireEvent("afteruiready")}n.langIsReady?e():n.addListener("langReady",e)})},n},UE.getEditor=function(e,t){var n=r[e];return n||(n=r[e]=new UE.ui.Editor(t)).render(e),n},UE.delEditor=function(e){var t;(t=r[e])&&(t.key&&t.destroy(),delete r[e])},UE.registerUI=function(t,n,i,o){e.each(t.split(/\s+/),function(e){UE._customizeUI[e]={id:o,execFn:n,index:i}})}}(),UE.registerUI("message",function(e){var t,n=baidu.editor.ui.Message,i=[],o=e;function a(){var e=o.ui.getDom("toolbarbox");e&&(t.style.top=e.offsetHeight+3+"px"),t.style.zIndex=Math.max(o.options.zIndex,o.iframe.style.zIndex)+1}o.addListener("ready",function(){t=document.getElementById(o.ui.id+"_message_holder"),a(),setTimeout(function(){a()},500)}),o.addListener("showmessage",function(e,r){r=utils.isString(r)?{content:r}:r;var s=new n({timeout:r.timeout,type:r.type,content:r.content,keepshow:r.keepshow,editor:o}),l=r.id||"msg_"+(+new Date).toString(36);return s.render(t),i[l]=s,s.reset(r),a(),l}),o.addListener("updatemessage",function(e,n,o){o=utils.isString(o)?{content:o}:o;var a=i[n];a.render(t),a&&a.reset(o)}),o.addListener("hidemessage",function(e,t){var n=i[t];n&&n.hide()})}),UE.registerUI("autosave",function(e){var t=null,n=null;e.on("afterautosave",function(){clearTimeout(t),t=setTimeout(function(){n&&e.trigger("hidemessage",n),n=e.trigger("showmessage",{content:e.getLang("autosave.success"),timeout:2e3})},2e3)})})}()},"0Fbn":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-people"><defs><style type="text/css"></style></defs><path d="M780.108 761.059c54.451 60.351 87.706 138.983 87.706 225.358 0 12.015-0.659 23.882-1.902 35.581l-71.955 0c1.589-11.675 2.695-23.493 2.695-35.581 0-71.578-29.094-136.386-76.189-185.002C658.778 836.02 587.76 855.95 512 855.95c-75.689 0-146.65-19.888-208.294-54.432-47.129 48.604-76.358 113.305-76.358 184.9 0 12.088 1.105 23.906 2.695 35.581l-71.955 0c-1.243-11.699-1.902-23.567-1.902-35.581 0-86.366 33.19-165.055 87.587-225.446-96.765-78.277-158.75-197.84-158.75-331.998C85.023 193.163 276.188 2.001 512 2.001s426.977 191.162 426.977 426.972C938.977 563.184 876.94 682.785 780.108 761.059zM512 295.787c-196.511 0-355.814-80.302-355.814 122.251 0 202.551 159.303 366.749 355.814 366.749s355.814-164.199 355.814-366.749C867.814 215.485 708.511 295.787 512 295.787zM678.047 500.136c-26.2 0-47.442-21.24-47.442-47.442 0-26.197 21.242-47.442 47.442-47.442 26.202 0 47.442 21.244 47.442 47.442C725.488 478.896 704.249 500.136 678.047 500.136zM654.326 630.601c0 32.754-63.722 59.302-142.326 59.302s-142.326-26.549-142.326-59.302c0-8.445 4.376-16.446 12.017-23.719 21.98 20.927 71.979 35.579 130.309 35.579s108.329-14.652 130.309-35.579C649.949 614.155 654.326 622.156 654.326 630.601zM345.953 500.136c-26.202 0-47.442-21.24-47.442-47.442 0-26.197 21.24-47.442 47.442-47.442 26.2 0 47.442 21.244 47.442 47.442C393.395 478.896 372.153 500.136 345.953 500.136z" p-id="9555" /></symbol>'});r.a.add(s);t.default=s},"1/6u":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shouye",use:"icon-shouye-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-shouye"><path d="M424 881.189c0 9.941-8.059 18-18 18s-18-8.059-18-18V708.06c0-67.305 54.561-121.867 121.866-121.867s121.867 54.562 121.867 121.867v173.128c0 9.941-8.059 18-18 18s-18-8.059-18-18V708.06c0-47.423-38.444-85.867-85.867-85.867-47.422 0-85.866 38.444-85.866 85.867v173.128z" fill="#007BFF" /><path d="M500.86 129.27a18 18 0 0 1 23.28 0l333.5 282.719a18 18 0 0 1 6.36 13.73V882c0 9.941-8.059 18-18 18H179c-9.941 0-18-8.059-18-18V425.72a18 18 0 0 1 6.36-13.731l333.5-282.72z m11.64 37.328L197 434.058V864h631V434.057l-315.5-267.46z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},"2xSd":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-m_mang",use:"icon-m_mang-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-m_mang"><defs><style type="text/css"></style></defs><path d="M147.2 489.6l73.6-44.8 291.2 176 291.2-176 73.6 44.8L512 710.4 147.2 489.6z m0-144L512 147.2l364.8 198.4L512 544 147.2 345.6zM512 787.2l291.2-176 73.6 44.8L512 876.8 147.2 656l73.6-44.8 291.2 176z" p-id="2185" fill="#999999" /></symbol>'});r.a.add(s);t.default=s},"3PhE":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 1167 1024",content:'<symbol class="icon" viewBox="0 0 1167 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-nested"><defs><style type="text/css"></style></defs><path d="M0.015952 74.459413A2.286 2.286 1440 1 0 145.85218 74.459413 2.286 2.286 1440 1 0 0.015952 74.459413zM291.720312 1.525347 1166.801488 1.525347 1166.801488 147.361574 291.720312 147.361574zM291.720312 366.163773A2.286 2.286 1440 1 0 437.55654 366.163773 2.286 2.286 1440 1 0 291.720312 366.163773zM583.424672 293.229707 1166.801488 293.229707 1166.801488 439.065934 583.424672 439.065934zM291.720312 949.540588A2.286 2.286 1440 1 0 437.55654 949.540588 2.286 2.286 1440 1 0 291.720312 949.540588zM583.424672 876.638427 1166.801488 876.638427 1166.801488 1022.474654 583.424672 1022.474654zM583.424672 657.836228A2.286 2.286 1440 1 0 729.2609 657.836228 2.286 2.286 1440 1 0 583.424672 657.836228zM875.129032 584.934067 1166.801488 584.934067 1166.801488 730.770294 875.129032 730.770294z" p-id="1768" /></symbol>'});r.a.add(s);t.default=s},"4HJX":function(e,t,n){"use strict";n.d(t,"g",function(){return o}
12),n.d(t,"h",function(){return a}),n.d(t,"f",function(){return r}),n.d(t,"j",function(){return s}),n.d(t,"i",function(){return l}),n.d(t,"m",function(){return d}),n.d(t,"n",function(){return c}),n.d(t,"t",function(){return u}),n.d(t,"k",function(){return m}),n.d(t,"b",function(){return p}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return g}),n.d(t,"q",function(){return f}),n.d(t,"a",function(){return v}),n.d(t,"r",function(){return b}),n.d(t,"l",function(){return y}),n.d(t,"s",function(){return w}),n.d(t,"e",function(){return x}),n.d(t,"p",function(){return C}),n.d(t,"o",function(){return _});var i=n("t3Un");function o(e){return Object(i.a)({url:"/search/every/commentSearch",method:"post",data:e})}function a(e){return Object(i.a)({url:"/comment/replies",method:"post",data:e})}function r(e){return Object(i.a)({url:"/comment/comments/"+e,method:"delete"})}function s(e,t){return Object(i.a)({url:"/comment/comments/select/"+e+"/"+t,method:"get"})}function l(e){return Object(i.a)({url:"/security/reports",method:"post",data:e})}function d(e){return Object(i.a)({url:"/query/query/article",method:"post",data:e})}function c(e){return Object(i.a)({url:"/material/materials/page",method:"post",data:e})}function u(e){return Object(i.a)({url:"/material/materials",method:"put",data:e})}function m(e){return Object(i.a)({url:"/material/materials",method:"delete",data:e})}function p(e){return Object(i.a)({url:"/content/publish/info/"+e,method:"delete"})}function h(e){return Object(i.a)({url:"/content/edit/info/"+e,method:"delete"})}function g(e,t){return Object(i.a)({url:"/content/publish/info/show/"+t,method:"put",data:e})}function f(e){return Object(i.a)({url:"/sns/likes",method:"post",data:e})}function v(e){return Object(i.a)({url:"/query/tags/group",method:"post",data:e})}function b(e){return Object(i.a)({url:"/query/tags/records",method:"post",data:e})}function y(e){return Object(i.a)({url:"/query/tags",method:"delete",data:e})}function w(e){return Object(i.a)({url:"/query/tags/records/page",method:"post",data:e})}function x(e){return Object(i.a)({url:"/hk-service-open/open-api/v1/binded/all",method:"post",data:e})}function C(e){return Object(i.a)({url:"/recommend/article/sensitiveword",method:"post",data:e})}function _(e){return Object(i.a)({url:"/media/pgc/list",method:"post",data:e})}},"5OdD":function(e,t,n){},"5TQQ":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-theme"><defs><style type="text/css"></style></defs><path d="M1004.094293 321.092267L762.737493 79.735467a68.266667 68.266667 0 0 0-96.546133 0l-30.293333 30.293333a68.283733 68.283733 0 0 1-48.264534 20.002133h-151.1936a68.181333 68.181333 0 0 1-48.264533-20.002133l-30.293333-30.293333a68.266667 68.266667 0 0 0-96.546134 0L19.962027 321.092267a68.266667 68.266667 0 0 0 0 96.546133l96.546133 96.546133a67.84 67.84 0 0 0 66.645333 17.271467c10.8032-3.072 21.674667 4.181333 21.674667 15.4112V896c0 37.546667 30.72 68.266667 68.266667 68.266667h477.866666c37.546667 0 68.266667-30.72 68.266667-68.266667V546.8672c0-11.229867 10.871467-18.4832 21.674667-15.4112a67.84 67.84 0 0 0 66.645333-17.271467l96.546133-96.546133a68.266667 68.266667 0 0 0 0-96.546133z" p-id="6549" /></symbol>'});r.a.add(s);t.default=s},"6Oif":function(e,t){UE.I18N["zh-cn"]={labelMap:{anchor:"锚点",undo:"撤销",redo:"重做",bold:"加粗",indent:"首行缩进",snapscreen:"截图",italic:"斜体",underline:"下划线",strikethrough:"删除线",subscript:"下标",fontborder:"字符边框",superscript:"上标",formatmatch:"格式刷",source:"源代码",blockquote:"引用",pasteplain:"纯文本粘贴模式",selectall:"全选",print:"打印",preview:"预览",horizontal:"分隔线",removeformat:"清除格式",time:"时间",date:"日期",unlink:"取消链接",insertrow:"前插入行",insertcol:"前插入列",mergeright:"右合并单元格",mergedown:"下合并单元格",deleterow:"删除行",deletecol:"删除列",splittorows:"拆分成行",splittocols:"拆分成列",splittocells:"完全拆分单元格",deletecaption:"删除表格标题",inserttitle:"插入标题",mergecells:"合并多个单元格",deletetable:"删除表格",cleardoc:"清空文档",insertparagraphbeforetable:"表格前插入行",insertcode:"代码语言",fontfamily:"字体",fontsize:"字号",paragraph:"段落格式",simpleupload:"单图上传",insertimage:"多图上传",edittable:"表格属性",edittd:"单元格属性",link:"超链接",emotion:"表情",spechars:"特殊字符",searchreplace:"查询替换",map:"Baidu地图",gmap:"Google地图",insertvideo:"视频",help:"帮助",justifyleft:"居左对齐",justifyright:"居右对齐",justifycenter:"居中对齐",justifyjustify:"两端对齐",forecolor:"字体颜色",backcolor:"背景色",insertorderedlist:"有序列表",insertunorderedlist:"无序列表",fullscreen:"全屏",directionalityltr:"从左向右输入",directionalityrtl:"从右向左输入",rows
12pacingtop:"段前距",rowspacingbottom:"段后距",pagebreak:"分页",insertframe:"插入Iframe",imagenone:"默认",imageleft:"左浮动",imageright:"右浮动",attachment:"附件",imagecenter:"居中",wordimage:"图片转存",lineheight:"行间距",edittip:"编辑提示",customstyle:"自定义标题",autotypeset:"自动排版",webapp:"百度应用",touppercase:"字母大写",tolowercase:"字母小写",background:"背景",template:"模板",scrawl:"涂鸦",music:"音乐",inserttable:"插入表格",drafts:"从草稿箱加载",charts:"图表"},insertorderedlist:{num:"1,2,3...",num1:"1),2),3)...",num2:"(1),(2),(3)...",cn:"一,二,三....",cn1:"一),二),三)....",cn2:"(一),(二),(三)....",decimal:"1,2,3...","lower-alpha":"a,b,c...","lower-roman":"i,ii,iii...","upper-alpha":"A,B,C...","upper-roman":"I,II,III..."},insertunorderedlist:{circle:"○ 大圆圈",disc:"● 小黑点",square:"■ 小方块 ",dash:"— 破折号",dot:" 。 小圆圈"},paragraph:{p:"段落",h1:"标题 1",h2:"标题 2",h3:"标题 3",h4:"标题 4",h5:"标题 5",h6:"标题 6"},fontfamily:{songti:"宋体",kaiti:"楷体",heiti:"黑体",lishu:"隶书",yahei:"微软雅黑",andaleMono:"andale mono",arial:"arial",arialBlack:"arial black",comicSansMs:"comic sans ms",impact:"impact",timesNewRoman:"times new roman"},customstyle:{tc:"标题居中",tl:"标题居左",im:"强调",hi:"明显强调"},autoupload:{exceedSizeError:"文件大小超出限制",exceedTypeError:"文件格式不允许",jsonEncodeError:"服务器返回格式错误",loading:"正在上传...",loadError:"上传错误",errorLoadConfig:"后端配置项没有正常加载,上传插件不能正常使用!"},simpleupload:{exceedSizeError:"文件大小超出限制",exceedTypeError:"文件格式不允许",jsonEncodeError:"服务器返回格式错误",loading:"正在上传...",loadError:"上传错误",errorLoadConfig:"后端配置项没有正常加载,上传插件不能正常使用!"},elementPathTip:"元素路径",wordCountTip:"字数统计",wordCountMsg:"当前已输入{#count}个字符, 您还可以输入{#leave}个字符。 ",wordOverFlowMsg:'<span style="color:red;">字数超出最大允许值,服务器可能拒绝保存!</span>',ok:"确认",cancel:"取消",closeDialog:"关闭对话框",tableDrag:"表格拖动必须引入uiUtils.js文件!",autofloatMsg:"工具栏浮动依赖编辑器UI,您首先需要引入UI文件!",loadconfigError:"获取后台配置项请求出错,上传功能将不能正常使用!",loadconfigFormatError:"后台配置项返回格式出错,上传功能将不能正常使用!",loadconfigHttpError:"请求后台配置项http错误,上传功能将不能正常使用!",snapScreen_plugin:{browserMsg:"仅支持IE浏览器!",callBackErrorMsg:"服务器返回数据有误,请检查配置项之后重试。",uploadErrorMsg:"截图上传失败,请检查服务器端环境! "},insertcode:{as3:"ActionScript 3",bash:"Bash/Shell",cpp:"C/C++",css:"CSS",cf:"ColdFusion","c#":"C#",delphi:"Delphi",diff:"Diff",erlang:"Erlang",groovy:"Groovy",html:"HTML",java:"Java",jfx:"JavaFX",js:"JavaScript",pl:"Perl",php:"PHP",plain:"Plain Text",ps:"PowerShell",python:"Python",ruby:"Ruby",scala:"Scala",sql:"SQL",vb:"Visual Basic",xml:"XML"},confirmClear:"确定清空当前文档么?",contextMenu:{delete:"删除",selectall:"全选",deletecode:"删除代码",cleardoc:"清空文档",confirmclear:"确定清空当前文档么?",unlink:"删除超链接",paragraph:"段落格式",edittable:"表格属性",aligntd:"单元格对齐方式",aligntable:"表格对齐方式",tableleft:"左浮动",tablecenter:"居中显示",tableright:"右浮动",edittd:"单元格属性",setbordervisible:"设置表格边线可见",justifyleft:"左对齐",justifyright:"右对齐",justifycenter:"居中对齐",justifyjustify:"两端对齐",table:"表格",inserttable:"插入表格",deletetable:"删除表格",insertparagraphbefore:"前插入段落",insertparagraphafter:"后插入段落",deleterow:"删除当前行",deletecol:"删除当前列",insertrow:"前插入行",insertcol:"左插入列",insertrownext:"后插入行",insertcolnext:"右插入列",insertcaption:"插入表格名称",deletecaption:"删除表格名称",inserttitle:"插入表格标题行",deletetitle:"删除表格标题行",inserttitlecol:"插入表格标题列",deletetitlecol:"删除表格标题列",averageDiseRow:"平均分布各行",averageDisCol:"平均分布各列",merger
12ight:"向右合并",mergeleft:"向左合并",mergedown:"向下合并",mergecells:"合并单元格",splittocells:"完全拆分单元格",splittocols:"拆分成列",splittorows:"拆分成行",tablesort:"表格排序",enablesort:"设置表格可排序",disablesort:"取消表格可排序",reversecurrent:"逆序当前",orderbyasc:"按ASCII字符升序",reversebyasc:"按ASCII字符降序",orderbynum:"按数值大小升序",reversebynum:"按数值大小降序",borderbk:"边框底纹",setcolor:"表格隔行变色",unsetcolor:"取消表格隔行变色",setbackground:"选区背景隔行",unsetbackground:"取消选区背景",redandblue:"红蓝相间",threecolorgradient:"三色渐变",copy:"复制(Ctrl + c)",copymsg:"浏览器不支持,请使用 'Ctrl + c'",paste:"粘贴(Ctrl + v)",pastemsg:"浏览器不支持,请使用 'Ctrl + v'"},copymsg:"浏览器不支持,请使用 'Ctrl + c'",pastemsg:"浏览器不支持,请使用 'Ctrl + v'",anthorMsg:"链接",clearColor:"清空颜色",standardColor:"标准颜色",themeColor:"主题颜色",property:"属性",default:"默认",modify:"修改",justifyleft:"左对齐",justifyright:"右对齐",justifycenter:"居中",justify:"默认",clear:"清除",anchorMsg:"锚点",delete:"删除",clickToUpload:"点击上传",unset:"尚未设置语言文件",t_row:"行",t_col:"列",more:"更多",pasteOpt:"粘贴选项",pasteSourceFormat:"保留源格式",tagFormat:"只保留标签",pasteTextFormat:"只保留文本",autoTypeSet:{mergeLine:"合并空行",delLine:"清除空行",removeFormat:"清除格式",indent:"首行缩进",alignment:"对齐方式",imageFloat:"图片浮动",removeFontsize:"清除字号",removeFontFamily:"清除字体",removeHtml:"清除冗余HTML代码",pasteFilter:"粘贴过滤",run:"执行",symbol:"符号转换",bdc2sb:"全角转半角",tobdc:"半角转全角"},background:{static:{lang_background_normal:"背景设置",lang_background_local:"在线图片",lang_background_set:"选项",lang_background_none:"无背景色",lang_background_colored:"有背景色",lang_background_color:"颜色设置",lang_background_netimg:"网络图片",lang_background_align:"对齐方式",lang_background_position:"精确定位",repeatType:{options:["居中","横向重复","纵向重复","平铺","自定义"]}},noUploadImage:"当前未上传过任何图片!",toggleSelect:"单击可切换选中状态\n原图尺寸: "},insertimage:{static:{lang_tab_remote:"插入图片",lang_tab_upload:"本地上传",lang_tab_online:"我的素材",lang_tab_search:"图片搜索",lang_input_url:"地 址:",lang_input_size:"大 小:",lang_input_width:"宽度",lang_input_height:"高度",lang_input_border:"è¾¹ 框:",lang_input_vhspace:"è¾¹ 距:",lang_input_title:"描 述:",lang_input_align:"图片浮动方式:",lang_imgLoading:" 图片加载中……",lang_start_upload:"开始上传",lock:{title:"锁定宽高比例"},searchType:{title:"图片类型",options:["新闻","壁纸","表情","头像"]},searchTxt:{value:"请输入搜索关键词"},searchBtn:{value:"百度一下"},searchReset:{value:"清空搜索"},noneAlign:{title:"无浮动"},leftAlign:{title:"左浮动"},rightAlign:{title:"右浮动"},centerAlign:{title:"居中独占一行"}},uploadSelectFile:"点击选择图片",uploadAddFile:"继续添加",uploadStart:"开始上传",uploadPause:"暂停上传",uploadContinue:"继续上传",uploadRetry:"重试上传",uploadDelete:"删除",uploadTurnLeft:"向左旋转",uploadTurnRight:"向右旋转",uploadPreview:"预览中",uploadNoPreview:"不能预览",updateStatusReady:"选中_张图片,共_KB。",updateStatusConfirm:"已成功上传_张照片,_张照片上传失败",updateStatusFinish:"共_张(_KB),_张上传成功",updateStatusError:",_张上传失败。",errorNotSupport:"WebUploader 不支持您的浏览器!如果你使用的是IE浏览器,请尝试升级 flash 播放器。",errorLoadConfig:"后端配置项没有正常加载,上传插件不能正常使用!",errorExceedSize:"文件大小超出",errorFileType:"文件格式不允许",errorInterrupt:"文件传输中断",errorUploadRetry:"上传失败,请重试",errorHttp:"http请求错误",errorServerUpload:"服务器返回出错",remoteLockError:"宽高不正确,不能所定比例",numError:"请输入正确的长度或者宽度值!例如:123,400",imageUrlError:"不允许的图片格式或者图片域!",imageLoadError:"图片加载失败!请检查链接地址æ
12ˆ–网络状态!",searchRemind:"请输入搜索关键词",searchLoading:"图片加载中,请稍后……",searchRetry:" :( ,抱歉,没有找到图片!请重试一次!"},attachment:{static:{lang_tab_upload:"上传附件",lang_tab_online:"在线附件",lang_start_upload:"开始上传",lang_drop_remind:"可以将文件拖到这里,单次最多可选100个文件"},uploadSelectFile:"点击选择文件",uploadAddFile:"继续添加",uploadStart:"开始上传",uploadPause:"暂停上传",uploadContinue:"继续上传",uploadRetry:"重试上传",uploadDelete:"删除",uploadTurnLeft:"向左旋转",uploadTurnRight:"向右旋转",uploadPreview:"预览中",updateStatusReady:"选中_个文件,共_KB。",updateStatusConfirm:"已成功上传_个文件,_个文件上传失败",updateStatusFinish:"共_个(_KB),_个上传成功",updateStatusError:",_张上传失败。",errorNotSupport:"WebUploader 不支持您的浏览器!如果你使用的是IE浏览器,请尝试升级 flash 播放器。",errorLoadConfig:"后端配置项没有正常加载,上传插件不能正常使用!",errorExceedSize:"文件大小超出",errorFileType:"文件格式不允许",errorInterrupt:"文件传输中断",errorUploadRetry:"上传失败,请重试",errorHttp:"http请求错误",errorServerUpload:"服务器返回出错"},insertvideo:{static:{lang_tab_insertV:"插入视频",lang_tab_searchV:"搜索视频",lang_tab_uploadV:"上传视频",lang_video_url:"视频网址",lang_video_size:"视频尺寸",lang_videoW:"宽度",lang_videoH:"高度",lang_alignment:"对齐方式",videoSearchTxt:{value:"请输入搜索关键字!"},videoType:{options:["全部","热门","娱乐","搞笑","体育","科技","综艺"]},videoSearchBtn:{value:"百度一下"},videoSearchReset:{value:"清空结果"},lang_input_fileStatus:" 当前未上传文件",startUpload:{style:"background:url(upload.png) no-repeat;"},lang_upload_size:"视频尺寸",lang_upload_width:"宽度",lang_upload_height:"高度",lang_upload_alignment:"对齐方式",lang_format_advice:"建议使用mp4格式."},numError:"请输入正确的数值,如123,400",floatLeft:"左浮动",floatRight:"右浮动",'"default"':"默认",block:"独占一行",urlError:"输入的视频地址有误,请检查后再试!",loading:" &nbsp;视频加载中,请等待……",clickToSelect:"点击选中",goToSource:"访问源视频",noVideo:" &nbsp; &nbsp;抱歉,找不到对应的视频,请重试!",browseFiles:"浏览文件",uploadSuccess:"上传成功!",delSuccessFile:"从成功队列中移除",delFailSaveFile:"移除保存失败文件",statusPrompt:" 个文件已上传! ",flashVersionError:"当前Flash版本过低,请更新FlashPlayer后重试!",flashLoadingError:"Flash加载失败!请检查路径或网络状态",fileUploadReady:"等待上传……",delUploadQueue:"从上传队列中移除",limitPrompt1:"单次不能选择超过",limitPrompt2:"个文件!请重新选择!",delFailFile:"移除失败文件",fileSizeLimit:"文件大小超出限制!",emptyFile:"空文件无法上传!",fileTypeError:"文件类型不允许!",unknownError:"未知错误!",fileUploading:"上传中,请等待……",cancelUpload:"取消上传",netError:"网络错误",failUpload:"上传失败!",serverIOError:"服务器IO错误!",noAuthority:"无权限!",fileNumLimit:"上传个数限制",failCheck:"验证失败,本次上传被跳过!",fileCanceling:"取消中,请等待……",stopUploading:"上传已停止……",uploadSelectFile:"点击选择文件",uploadAddFile:"继续添加",uploadStart:"开始上传",uploadPause:"暂停上传",uploadContinue:"继续上传",uploadRetry:"重试上传",uploadDelete:"删除",uploadTurnLeft:"向左旋转",uploadTurnRight:"向右旋转",uploadPreview:"预览中",updateStatusReady:"选中_个文件,共_KB。",updateStatusConfirm:"成功上传_个,_个失败",updateStatusFinish:"共_个(_KB),_个成功上传",updateStatusError:",_张上传失败。",errorNotSupport:"WebUploader 不支持您的浏览器!如果你使用的是IE浏览器,请尝试升级 flash 播放器。",errorLoadConfig:"后端配置项没有正常加载,上传插件不能正常使用!",errorExceedSize:"文件大小超出",errorFileType:"文件格式不允许",errorInterrupt:"文件传输中断",errorUploadRetry:"上传失败,请重试",errorHttp:"http请求错误",errorServerUpload:"服务器返回出错"},webapp:{tip1:"本功能由百度APP提供,如看到此页面,请各位站长首先申请百度APPKey!",tip2:"申请完成之后请至ueditor.config.js中配置获得的appkey! ",applyFor:"点此申请",anthorApi:"百度API"},template:{static:{lang_template_bkcolor:"背景颜色",lang_template_clear:"保留原有内容",lang_template_select:"选择模板"},blank:"空白文档",blog:"博客文章",resume:"个人简历",richText:"图文混排",sciPapers:"科技论文"},scrawl:{static:{lang_input_previousStep:"上一步",lang_input_nextsStep:"下一步",lang_input_clear:"清空",lang_input_addPic:"添加背景",lang_input_ScalePic:"缩放背景",lang_input_removePic:"删除背景",J_imgTxt:{title:"添加背景图片"}},noScarwl:"尚未作画,白纸一张~",scrawlUpLoading:"涂鸦上传中,别急哦~",continueBtn:"ç»
12§ç»­",imageError:"糟糕,图片读取失败了!",backgroundUploading:"背景图片上传中,别急哦~"},music:{static:{lang_input_tips:"输入歌手/歌曲/专辑,搜索您感兴趣的音乐!",J_searchBtn:{value:"搜索歌曲"}},emptyTxt:"未搜索到相关音乐结果,请换一个关键词试试。",chapter:"歌曲",singer:"歌手",special:"专辑",listenTest:"试听"},anchor:{static:{lang_input_anchorName:"锚点名字:"}},charts:{static:{lang_data_source:"数据源:",lang_chart_format:"图表格式:",lang_data_align:"数据对齐方式",lang_chart_align_same:"数据源与图表Xè½´Y轴一致",lang_chart_align_reverse:"数据源与图表Xè½´Y轴相反",lang_chart_title:"图表标题",lang_chart_main_title:"主标题:",lang_chart_sub_title:"子标题:",lang_chart_x_title:"X轴标题:",lang_chart_y_title:"Y轴标题:",lang_chart_tip:"提示文字",lang_cahrt_tip_prefix:"提示文字前缀:",lang_cahrt_tip_description:"仅饼图有效, 当鼠标移动到饼图中相应的块上时,提示框内的文字的前缀",lang_chart_data_unit:"数据单位",lang_chart_data_unit_title:"单位:",lang_chart_data_unit_description:"显示在每个数据点上的数据的单位, 比如: 温度的单位 ℃",lang_chart_type:"图表类型:",lang_prev_btn:"上一个",lang_next_btn:"下一个"}},emotion:{static:{lang_input_choice:"精选",lang_input_Tuzki:"兔斯基",lang_input_BOBO:"BOBO",lang_input_lvdouwa:"绿豆蛙",lang_input_babyCat:"baby猫",lang_input_bubble:"泡泡",lang_input_youa:"有啊"}},gmap:{static:{lang_input_address:"地址",lang_input_search:"搜索",address:{value:"北京"}},searchError:"无法定位到该地址!"},help:{static:{lang_input_about:"关于UEditor",lang_input_shortcuts:"快捷键",lang_input_introduction:"UEditor是由百度web前端研发部开发的所见即所得富文本web编辑器,具有轻量,可定制,注重用户体验等特点。开源基于BSD协议,允许自由使用和修改代码。",lang_Txt_shortcuts:"快捷键",lang_Txt_func:"功能",lang_Txt_bold:"给选中字设置为加粗",lang_Txt_copy:"复制选中内容",lang_Txt_cut:"剪切选中内容",lang_Txt_Paste:"粘贴",lang_Txt_undo:"重新执行上次操作",lang_Txt_redo:"撤销上一次操作",lang_Txt_italic:"给选中字设置为斜体",lang_Txt_underline:"给选中字加下划线",lang_Txt_selectAll:"全部选中",lang_Txt_visualEnter:"软回车",lang_Txt_fullscreen:"全屏"}},insertframe:{static:{lang_input_address:"地址:",lang_input_width:"宽度:",lang_input_height:"高度:",lang_input_isScroll:"允许滚动条:",lang_input_frameborder:"显示框架边框:",lang_input_alignMode:"对齐方式:",align:{title:"对齐方式",options:["默认","左对齐","右对齐","居中"]}},enterAddress:"请输入地址!"},link:{static:{lang_input_text:"文本内容:",lang_input_url:"链接地址:",lang_input_title:"标题:",lang_input_target:"是否在新窗口打开:"},validLink:"只支持选中一个链接时生效",httpPrompt:"您输入的超链接中不包含http等协议名称,默认将为您添加http://前缀"},map:{static:{lang_city:"城市",lang_address:"地址",city:{value:"北京"},lang_search:"搜索",lang_dynamicmap:"插入动态地图"},cityMsg:"请选择城市",errorMsg:"抱歉,找不到该位置!"},searchreplace:{static:{lang_tab_search:"查找",lang_tab_replace:"替换",lang_search1:"查找",lang_search2:"查找",lang_replace:"替换",lang_searchReg:"支持正则表达式,添加前后斜杠标示为正则表达式,例如“/表达式/”",lang_searchReg1:"支持正则表达式,添加前后斜杠标示为正则表达式,例如“/表达式/”",lang_case_sensitive1:"区分大小写",lang_case_sensitive2:"区分大小写",nextFindBtn:{value:"下一个"},preFindBtn:{value:"上一个"},nextReplaceBtn:{value:"下一个"},preReplaceBtn:{value:"上一个"},repalceBtn:{value:"替换"},repalceAllBtn:{value:"全部替换"}},getEnd:"已经搜索到文章末尾!",getStart:"已经搜索到文章头部",countMsg:"总共替换了{#count}处!"}
12,snapscreen:{static:{lang_showMsg:"截图功能需要首先安装UEditor截图插件! ",lang_download:"点此下载",lang_step1:"第一步,下载UEditor截图插件并运行安装。",lang_step2:"第二步,插件安装完成后即可使用,如不生效,请重启浏览器后再试!"}},spechars:{static:{},tsfh:"特殊字符",lmsz:"罗马字符",szfh:"数学字符",rwfh:"日文字符",xlzm:"希腊字母",ewzm:"俄文字符",pyzm:"拼音字母",yyyb:"英语音标",zyzf:"其他"},edittable:{static:{lang_tableStyle:"表格样式",lang_insertCaption:"添加表格名称行",lang_insertTitle:"添加表格标题行",lang_insertTitleCol:"添加表格标题列",lang_orderbycontent:"使表格内容可排序",lang_tableSize:"自动调整表格尺寸",lang_autoSizeContent:"按表格文字自适应",lang_autoSizePage:"按页面宽度自适应",lang_example:"示例",lang_borderStyle:"表格边框",lang_color:"颜色:"},captionName:"表格名称",titleName:"标题",cellsName:"内容",errorMsg:"有合并单元格,不可排序"},edittip:{static:{lang_delRow:"删除整行",lang_delCol:"删除整列"}},edittd:{static:{lang_tdBkColor:"背景颜色:"}},formula:{static:{}},wordimage:{static:{lang_resave:"转存步骤",uploadBtn:{src:"upload.png",alt:"上传"},clipboard:{style:"background: url(copy.png) -153px -1px no-repeat;"},lang_step:"1、点击顶部复制按钮,将地址复制到剪贴板;2、点击添加照片按钮,在弹出的对话框中使用Ctrl+V粘贴地址;3、点击打开后选择图片上传流程。"},fileType:"图片",flashError:"FLASH初始化失败,请检查FLASH插件是否正确安装!",netError:"网络连接错误,请重试!",copySuccess:"图片地址已经复制!",flashI18n:{}},autosave:{saving:"保存中...",success:"本地保存成功"}}},"6Phw":function(e,t,n){"use strict";var i=n("k6Ve");n.n(i).a},"6xvN":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 1069 1024",content:'<symbol class="icon" viewBox="0 0 1069 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-form"><defs><style type="text/css"></style></defs><path d="M746.027944 190.083832q-11.241517 0-18.906188-7.664671t-12.774451-17.884232-7.664671-20.9501-2.55489-17.884232l0-125.700599 2.043912 0q9.197605 0 17.373253 2.043912t19.928144 9.708583 28.61477 21.461078 42.411178 36.279441q27.592814 24.526946 43.944112 41.389222t25.037924 28.61477 10.730539 19.928144 2.043912 14.307385l0 16.351297-150.227545 0zM1063.856287 671.42515q3.065868 8.175649 4.087824 20.439122t-10.219561 23.50499q-5.10978 5.10978-9.197605 9.708583t-7.153693 7.664671q-4.087824 4.087824-7.153693 6.131737l-86.866267-85.844311q6.131737-5.10978 13.796407-12.263473t12.774451-11.241517q12.263473-11.241517 26.570858-9.708583t23.50499 6.642715q10.219561 5.10978 21.972056 17.884232t17.884232 27.081836zM703.105788 766.467066q22.483034 0 37.812375-12.263473l-198.259481 206.43513-282.05988 0q-19.417166 0-42.411178-11.241517t-42.922156-29.636727-33.213573-42.411178-13.285429-49.56487l0-695.952096q0-21.461078 9.708583-44.966068t26.570858-42.411178 38.323353-31.680639 44.966068-12.774451l391.409182 0 0 127.744511q0 19.417166 6.131737 41.9002t18.906188 41.389222 33.213573 31.680639 49.053892 12.774451l149.205589 0 0 338.267465-140.007984 145.117764q11.241517-16.351297 11.241517-35.768463 0-26.570858-18.906188-45.477046t-45.477046-18.906188l-383.233533 0q-26.570858 0-44.966068 18.906188t-18.39521 45.477046 18.39521 44.966068 44.966068 18.39521l383.233533 0zM319.872255 383.233533q-26.570858 0-44.966068 18.906188t-18.39521 45.477046 18.39521 44.966068 44.966068 18.39521l383.233533 0q26.570858 0 45.477046-18.39521t18.906188-44.966068-18.906188-45.477046-45.477046-18.906188l-383.233533 0zM705.149701 895.233533l13.285429-13.285429 25.548902-25.548902q15.329341-15.329341 33.724551-34.235529t36.790419-37.301397q43.944112-43.944112 99.129741-98.107784l85.844311 85.844311-99.129741 99.129741-36.790419 36.790419-33.724551 33.724551q-14.307385 14.307385-24.015968 24.526946t-10.730539 11.241517q-5.10978 4.087824-11.241517 8.686627t-12.263473 7.664671-18.906188 7.664671-26.05988 8.686627-25.548902 7.153693-18.39521 4.087824q-12.263473 2.043912-16.351297-3.065868t-2.043912-17.373253q1.021956-6.131737 4.087824-18.39521t7.153693-25.037924 7.664671-24.015968 5.620758-15.329341q6.131737-13.285429 16.351297-23.50499z" p-id="1448" /></symbol>'});r.a.add(s);t.default=s},"7Qib":function(e,t,n){"use strict";n.r(t),n.d(t,"parseTime",function(){return u}),n.d(t,"getSrc",function(){return m}),n.d(t,"formatTime",function(){return p}),n.d(t,"getQueryObject",function(){return h}),n.d(t,"getByteLen",function(){return g}),n.d(t,"cleanArray",function(){return f}),n.d(t,"param",function(){return v}),n.d(t,"param2Obj",function(){return b}),n.d(t,"html2Text",function(){return y}),n.d(t,"objectMerge",function(){return w}),n.d(t,"scrollTo",function(){return x}),n.d(t,"toggleClass",function(){return C}),n.d(t,"pickerOptions",function(){return _}),n.d(t,"getTime",function(){return N}),n.d(t,"debounce",function(){return k}),n.d(t,"deepCopy",function(){return U}),n.d(t,"deleteNode",function(){return E}),n.d(t,"uniqueArr",function(){return T}),n.d(t,"uniqeByKeys",function(){return S}),n.d(t,"formatTreeDate",function(){return B}),n.d(t,"convertBase64UrlToBlob",function(){return I}),n.d(t,"splitFileName",function(){return L}),n.d(t,"getState",function(){return A}),n.d(t,"getPubState",function(){return R}),n.d(t,"getAttentionType",function(){return M}),n.d(t,"getProductCode",function(){return O}),n.d(t,"getContentType",function(){return D}),n.d(t,"strlen",function(){return z}),n.d(t,"uploadByPieces",function(){return P}),n.d(t,"rdArrToObj",function(){return H});var i=n("jWXv"),o=n.n(i),a=n("rfXi"),r=n.n(a),s=n("GQeE"),l=n.n(s),d=n("EJiy"),c=n.n(d);n("gjeX");function u(e,t){if(0===arguments.length)return null;var n=t||"{y}-{m}-{d} {h}:{i}:{s}",i=void 0;"object"===(void 0===e?"undefined":c()(e))?i=e:(10===(""+e).length&&(e=1e3*parseInt(e)),i=new Date(e));var o={y:i.getFullYear(),m:i.getMonth()+1,d:i.getDate(),h:i.getHours(),i:i.getMinutes(),s:i.getSeconds(),a:i.getDay()};return n.replace(/{(y|m|d|h|i|s|a)+}/g,function(e,t){var n=o[t];return"a"===t?["日","一","二","三","四","五","六"][n]:(e.length>0&&n<10&&(n="0"+n),n||0)})}function m(e){var t=[],n=/src=[\'\"]?([^\'\"]*)[\'\"]?/i,i=e.match(/<img.*?(?:>|\/>)/gi);if(i&&i.length>0)for(var o=0;o<i.length;o++){var a=i[o].match(n);a[1]&&t.push(a[1])}return t}function p(e,t){e=1e3*+e;var n=new Date(e),i=(Date.now()-n)/1e3;return i<30?"刚刚":i<3600?Math.ceil(i/60)+"分钟前":i<86400?Math.ceil(i/3600)+"小时前":i<172800?"1天前":t?u(e,t):n.getMonth()+1+"月"+n.getDate()+"日"+n.getHours()+"时"+n.getMinutes()+"分"}function h(e){var t={};return(e=null==e?window.location.href:e).substring(e.lastIndexOf("?")+1).replace(/([^?&=]+)=([^?&=]*)/g,function(e,n,i){var o=decodeURIComponent(n),a=decodeURIComponent(i);return a=String(a),t[o]=a,e}),t}function g(e){for(var t=0,n=0;n<e.length;n++)null!=e[n].match(/[^\x00-\xff]/gi)?t+=1:t+=.5;return Math.floor(t)}function f(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}function v(e){return e?f(l()(e).map(function(t){return void 0===e[t]?"":encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&"):""}function b(e){var t=e.split("?")[1];return t?JSON.parse('{"'+decodeURIComponent(t).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}'):{}}function y(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText}function w(e,t){return"object"!==(void 0===e?"undefined":c()(e))&&(e={}),Array.isArray(t)?t.slice():(l()(t).forEach(function(n){var i=t[n];"object"===(void 0===i?"undefined":c()(i))?e[n]=w(e[n],i):e[n]=i}),e)}function x(e,t,n){if(!(n<=0)){var i=(t-e.scrollTop)/n*10;setTimeout(function(){e.scrollTop=e.scrollTop+i,e.scrollTop!==t&&x(e,t,n-10)},10)}}function C(e,t){if(e&&t){var n=e.className,i=n.indexOf(t);-1===i?n+=""+t:n=n.substr(0,i)+n.substr(i+t.length),e.className=n}}var _=[{text:"今天",onClick:function(e){var t=new Date,n=new Date((new Date).toDateString());t.setTime(n.getTime()),e.$emit("pick",[n,t])}},{text:"最近一周",onClick:function(e){var t=new Date((new Date).toDateString()),n=new Date;n.setTime(t.getTime()-6048e5),e.$emit("pick",[n,t])}},{text:"最近一个月",onClick:function(e){var t=new Date((new Date).toDateString()),n=new Date;n.setTime(n.getTime()-2592e6),e.$emit("pick",[n,t])}},{text:"最近三个月",onClick:function(e){var t=new Date((new Date).toDateString()),n=new Date;n.setTime(n.getTime()-7776e6),e.$emit("pick",[n,t])}}];function N(e){return"start"===e?(new Date).getTime()-7776e6:new Date((new Date).toDateString())}
12function k(e,t,n){var i=void 0,o=void 0,a=void 0,r=void 0,s=void 0,l=function l(){var d=+new Date-r;d<t&&d>0?i=setTimeout(l,t-d):(i=null,n||(s=e.apply(a,o),i||(a=o=null)))};return function(){for(var o=arguments.length,d=Array(o),c=0;c<o;c++)d[c]=arguments[c];a=this,r=+new Date;var u=n&&!i;return i||(i=setTimeout(l,t)),u&&(s=e.apply(a,d),a=d=null),s}}function U(e){if("object"===(void 0===e?"undefined":c()(e))){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]="object"===c()(e[n])?U(e[n]):e[n]);return t}}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"childNode";if("object"!==(void 0===e?"undefined":c()(e))||null===e)return e;var n=Array.isArray(e)?[]:{};return l()(e).forEach(function(i){i===t&&e[i]&&0===e[i].length||(n[i]=E(e[i]))}),n}function T(e){return r()(new o.a(e))}function S(e,t){for(var n=function(e,t){for(var n=t.length,i=[];n--;)i.push(e[t[n]]);return i.join("|")},i=[],o={},a=0,r=e.length;a<r;a++){var s=n(e[a],t);s in o||(o[s]=!0,i.push(e[a]))}return i}function B(e,t,n){var i,o,a,r=[],s={};for(i=0;i<e.length;i++)s[e[i][t]]=e[i];for(o=0;o<e.length;o++)(a=s[e[o][n]])?(a.children||(a.children=[]),a.children.push(e[o])):r.push(e[o]);return r}function I(e){for(var t=window.atob(e&&e.split(",")[1]),n=new ArrayBuffer(t.length),i=new Uint8Array(n),o=0;o<t.length;o++)i[o]=t.charCodeAt(o);return new Blob([n],{type:"image/png"})}function L(e){return/(.*)\.[^.]+/.exec(e)[1]}function A(e){switch(e){case"":return"全部";case"AUDIT-01":return"审核通过";case"AUDIT-00":return"审核中";case"AUDIT-02":return"审核未通过";case"AUDIT-03":return"草稿"}}function R(e){switch(e){case"PUB-00":return"未发布";case"PUB-01":return"已发布"}}function M(e){switch(e){case 0:return"未关注";case 1:return"已关注";case 2:return"互相关注";case 3:return"关注了你";case null:return"关注"}}function O(e){switch(e){case"PRD001":return"海客新闻";case"PRD002":return"海客视频";case"PRD003":return"海客主站";case"PRD004":return"微信公众号";case"PRD005":return"头条号";case"PRD006":return"企鹅号";case"PRD007":return"百家号";case"PRD008":return"海客号";case"PRD009":return"大鱼号"}}function D(e){switch(e){case"CT001":return"图文";case"CT002":return"图集";case"CT003":return"视频";case"CT004":return"外链";case"CT005":return"专题";case"CT006":return"话题";case"CT007":return"新鲜事";case"CT008":return"小视频";case"CT009":return"活动"}}function z(e){for(var t=0,n=0;n<e.length;n++){var i=e.charCodeAt(n);i>=1&&i<=126||65376<=i&&i<=65439?t++:t+=2}return t}function P(e){e.file,e.pieceSize,e.progress,e.success,e.error}var H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[];return e.filter(function(e){return-1===n.indexOf(e[t])&&(n.push(e[t]),!0)})}},"8mfp":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-sns",use:"icon-sns-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-sns"><defs><style type="text/css"></style></defs><path d="M753.259274 866.963431c-11.070126 0-21.914102-4.497431-29.712719-12.296047l-78.095659-81.765235-35.347043 0c-63.694671 0-122.920564-36.515658-154.540725-95.315856l-4.867868-9.051143 18.954701-19.466354 47.557132 0c120.871905 0 222.049259-92.894713 240.548588-220.881666 1.137916-8.111748 1.907443-15.45397 2.333138-22.398126l0.967024-15.482623 15.341407 2.561335c86.064145 14.372336 150.98269 95.484701 150.98269 188.663894 0 87.630826-55.157227 163.591869-132.74021 185.164187l0 58.771545c0 17.020652-10.131755 32.161491-25.814945 38.621623C764.359077 865.996406 759.20673 866.963431 753.259274 866.963431zM487.892441 677.103292c27.949562 42.12133 73.571622 67.765383 122.210389 67.765383l47.329958 0 86.149079 90.218768c2.363837 2.363837 5.978155 3.842515 9.677407 3.842515 2.106987 0 3.670599-0.227174 4.753257-0.682545 5.294586-2.191922 8.623401-7.172353 8.623401-12.779048l0-81.225953 11.18576-2.305509c70.440305-14.399965 121.526821-81.851193 121.526821-160.40427 0-74.138534-47.52848-139.256624-112.789832-157.698648-0.313132 2.675946-0.654916 5.435803-1.080611 8.28264-20.491707 141.988852-133.337821 244.98769-268.269953 244.98769L487.892441 677.104315z" p-id="2024" /><path d="M322.821895 765.103532c-5.692652 0-11.328-1.02433-16.73515-3.01773-17.929348-7.42818-29.142737-24.133653-29.142737-42.717917l0-88.057545c-105.189737-25.414833-180.325995-125.738749-180.325995-243.138576 0-137.749294 104.136755-249.798253 232.181013-249.798253l188.408067 0c128.016629 0 232.153384 112.048959 232.153384 249.798253 0 11.980869-0.968048 24.902156-2.931772 38.33612-17.644869 122.2943-114.071012 211.091696-229.221612 211.091696l-52.480258 0L356.006691 751.156892C347.411943 760.151753 335.629595 765.103532 322.821895 765.103532zM328.799026 166.379355c-112.589264 0-204.176193 99.497085-204.176193 221.792409 0 108.12151 71.037916 199.822025 168.885432 218.035852l11.441587 2.134617 0 111.024629c0 7.115048 4.582365 13.802354 11.355629 16.649192 1.76418 0.626263 4.125971 1.052982 6.517437 1.052982 5.
12095042 0 9.676383-1.877767 12.948917-5.293563L452.773596 609.566106l64.433498 0c101.092419 0 185.847755-78.664617 201.50127-187.070606 1.735527-12.124132 2.64627-23.680329 2.64627-34.323737 0-122.295324-91.584881-221.792409-204.14754-221.792409L328.799026 166.379355z" p-id="2025" /><path d="M269.658068 414.497339c-17.645892 0-31.960922-14.286378-31.960922-31.93227 0-17.673521 14.31503-31.989575 31.960922-31.989575 17.673521 0 31.960922 14.316054 31.960922 31.989575C301.61899 400.210961 287.302937 414.497339 269.658068 414.497339L269.658068 414.497339z" p-id="2026" /><path d="M435.24129 414.497339c-17.644869 0-31.960922-14.286378-31.960922-31.93227 0-17.673521 14.316054-31.989575 31.960922-31.989575s31.960922 14.316054 31.960922 31.989575C467.202213 400.210961 452.886159 414.497339 435.24129 414.497339L435.24129 414.497339z" p-id="2027" /><path d="M600.824513 414.497339c-17.644869 0-31.959899-14.286378-31.959899-31.93227 0-17.673521 14.31503-31.989575 31.959899-31.989575 17.645892 0 31.960922 14.316054 31.960922 31.989575C632.785435 400.210961 618.470405 414.497339 600.824513 414.497339L600.824513 414.497339z" p-id="2028" /><path d="M600.824513 414.497339" p-id="2029" /></symbol>'});r.a.add(s);t.default=s},"94Jb":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-dashboard"><defs><style type="text/css"></style></defs><path d="M219.428571 658.285714q0-30.285714-21.428571-51.714285T146.285714 585.142857t-51.714285 21.428572T73.142857 658.285714t21.428572 51.714286T146.285714 731.428571t51.714286-21.428571T219.428571 658.285714z m109.714286-256q0-30.285714-21.428571-51.714285T256 329.142857t-51.714286 21.428572T182.857143 402.285714t21.428571 51.714286T256 475.428571t51.714286-21.428571T329.142857 402.285714z m244.571429 274.857143l57.714285-218.285714q3.428571-14.857143-4.285714-27.714286T605.142857 414.285714t-27.428571 3.714286-17.142857 22.571429l-57.714286 218.285714q-34.285714 2.857143-61.142857 24.857143t-36 56.285714q-11.428571 44 11.428571 83.428571t66.857143 50.857143 83.428571-11.428571 50.857143-66.857143q9.142857-34.285714-3.428571-66.857143t-41.142857-52z m377.142857-18.857143q0-30.285714-21.428572-51.714285T877.714286 585.142857t-51.714286 21.428572-21.428571 51.714285 21.428571 51.714286 51.714286 21.428571 51.714285-21.428571 21.428572-51.714286z m-365.714286-365.714285q0-30.285714-21.428571-51.714286T512 219.428571t-51.714286 21.428572T438.857143 292.571429t21.428571 51.714285T512 365.714286t51.714286-21.428572T585.142857 292.571429z m256 109.714285q0-30.285714-21.428571-51.714285T768 329.142857t-51.714286 21.428572T694.857143 402.285714t21.428571 51.714286T768 475.428571t51.714286-21.428571T841.142857 402.285714z m182.857143 256q0 149.142857-80.571429 276-10.857143 16.571429-30.857142 16.571429H111.428571q-20 0-30.857142-16.571429Q0 808 0 658.285714q0-104 40.571429-198.857143t109.142857-163.428571 163.428571-109.142857 198.857143-40.571429 198.857143 40.571429 163.428571 109.142857 109.142857 163.428571 40.571429 198.857143z" p-id="10380" /></symbol>'});r.a.add(s);t.default=s},"9jqe":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-huomiao",use:"icon-huomiao-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-huomiao"><path d="M386.82 126.628c0.957-12.525 14.126-20.243 25.522-14.957 61.396 28.477 105.82 59.27 133.232 92.885 28.716 35.213 38.824 73.752 29.484 114.121-9.643 58.525-11.705 92.952-7.748 112.418 2.621 12.891 6.201 17.223 20.54 27.191 0.119 0.083 0.237 0.167 0.355 0.253 16.097 11.78 26.714 12.393 36.975 5.337 10.153-6.982 19.984-21.09 31.007-43.306 2.024-4.079 16.866-36.136 20.987-43.616a18 18 0 0 1 21.71-8.303c63.81 22.327 128.875 123.99 128.627 204.302a18 18 0 0 1-0.05 1.293c-5.522 73.514-25.333 135.209-57.689 185.576-28.317 44.08-65.59 78.488-109.583 103.847-36.39 20.977-76.164 35.044-116.235 42.734-31.52 6.05-61.83 7.712-81.952 5.411a18 18 0 0 1-1.185-0.176c-92.56-16.883-160.984-48.51-206.724-93.071-40.49-39.447-62.051-87.924-66.521-141.81-3.695-44.542 4.523-91.185 21.492-134.362 14.142-35.984 33.682-67.104 51.223-82.336 73.28-79.121 115.577-190.051 126.533-333.43zM285.948 485.33a18 18 0 0 1-1.595 1.516c-12.51 10.512-29.406 37.222-41.784 68.717-15.064 38.33-22.327 79.557-19.12 118.218 3.774 45.499 21.708 85.819 55.766 119 40.08 39.048 101.8 67.625 187.45 83.33 16.322 1.763 42.717 0.27 70.504-5.063 36.308-6.968 72.311-19.702 105.041-38.568 39.17-22.58 72.177-53.049 97.274-92.116 28.94-45.051 46.876-100.758 52.027-168.152-0.073-32.008-13.188-70.272-35.062-104.45-16.66-26.029-36.675-46.842-55.22-58.206-5.205 10.935-11.243 23.89-12.793 27.015-13.565 27.339-26.258 45.553-42.858 56.968-23.359 16.063-50.54 14.53-78.451-5.815-10.062-7.002-15.337-11.316-20.736-17.849-7.062-8.545-11.74-18.728-14.359-31.608-5.093-25.051-2.796-63.075 7.603-126.04a18 18 0 0 1 0.242-1.205c6.926-29.322-0.19-56.721-22.202-83.714-20.142-24.7-52.58-48.705-97.338-71.693-14.632 139.004-59.328 249.089-134.389 329.715z" fill="#333333" /><path d="M377.493 693.041c0 15.381 4.951 26.386 15.158 34.6 11.335 9.12 29.684 15.269 55.198 17.8 31.396-0.083 47.7-4.77 54.688-12.779 5.749-6.588 7.851-17.844 7.851-43.048 0-24.674-21.504-73.04-64.533-142.456-45.749 63.923-68.362 113.046-68.362 145.883z m84.629-187.521c56.168 87.241 84.266 147.424 84.266 184.094 0 15.221-0.587 25.505-2.37 35.055-2.361 12.64-6.851 23.062-14.357 31.663-15.514 17.778-41.315 25.11-82.674 25.11a18 18 0 0 1-1.711-0.08c-32.373-3.093-57.49-11.429-75.193-25.674-18.958-15.254-28.59-36.664-28.59-62.647 0-46.373 30.615-108.579 91.135-188.632 7.546-9.981 22.72-9.41 29.494 1.11z" fill="#007BFF" /></symbol>'});r.a.add(s);t.default=s},"A0++":function(e,t,n){"use strict";var i=n("xUNX");n.n(i).a},BJNN:function(e,t,n){"use strict";var i=n("xMTh");n.n(i).a},BMUw:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o}
12),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return r});var i="api/material/materials/page",o="/api/material/local/video",a="/api/material/materials",r=[{name:"海客新闻",value:"PRD001",isDisabled:!0,userProductCode:["PRD001"]},{name:"海客视频",value:"PRD002",isDisabled:!0,userProductCode:["PRD002"]},{name:"企鹅号",value:"PRD006",isDisabled:!1,userProductCode:["PRD001","PRD002"]},{name:"微信公众号",value:"PRD004",isDisabled:!1,userProductCode:["PRD001","PRD002"]}]},BqbS:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-linkTo",use:"icon-linkTo-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-linkTo"><defs><style type="text/css"></style></defs><path d="M435.2 723.2c-44.8 44.8-115.2 44.8-160 0s-44.8-115.2 0-160L390.4 448c44.8-44.8 115.2-44.8 160 0l6.4 6.4 6.4 6.4c6.4 12.8 6.4 25.6-6.4 32-12.8 12.8-25.6 12.8-38.4 6.4l-12.8-12.8c-19.2-19.2-57.6-19.2-76.8 6.4L313.6 601.6c-25.6 25.6-25.6 57.6 0 83.2s57.6 25.6 83.2 0l70.4-70.4c25.6 12.8 51.2 12.8 76.8 0l-108.8 108.8z" fill="#2c2c2c" p-id="1392" /><path d="M710.4 448L595.2 563.2c-44.8 44.8-115.2 44.8-160 0l-6.4-6.4-6.4-6.4c0-6.4 0-19.2 6.4-32 12.8-6.4 25.6-6.4 32 0l12.8 12.8c25.6 25.6 57.6 25.6 83.2 0l115.2-115.2c25.6-25.6 25.6-57.6 0-83.2s-57.6-25.6-83.2 0l-70.4 64C499.2 384 467.2 384 448 396.8l102.4-102.4c44.8-44.8 115.2-44.8 160 0 44.8 38.4 44.8 115.2 0 153.6z" fill="#2c2c2c" p-id="1393" /><path d="M492.8 979.2C230.4 979.2 12.8 761.6 12.8 499.2S230.4 19.2 492.8 19.2s480 217.6 480 480-211.2 480-480 480z m0-896c-230.4 0-416 185.6-416 416s185.6 416 416 416 416-185.6 416-416-185.6-416-416-416z" fill="#2c2c2c" p-id="1394" /></symbol>'});r.a.add(s);t.default=s},DuDB:function(e,t,n){},F3lI:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-bug"><defs><style type="text/css"></style></defs><path d="M969.142857 548.571429q0 14.848-10.861714 25.709714t-25.709714 10.861714l-128 0q0 97.718857-38.290286 165.705143l118.857143 119.442286q10.861714 10.861714 10.861714 25.709714t-10.861714 25.709714q-10.276571 10.861714-25.709714 10.861714t-25.709714-10.861714l-113.152-112.566857q-2.852571 2.852571-8.557714 7.424t-23.990857 16.274286-37.156571 20.845714-46.848 16.566857-55.442286 7.424l0-512-73.142857 0 0 512q-29.147429 0-58.002286-7.716571t-49.700571-18.870857-37.705143-22.272-24.868571-18.578286l-8.557714-8.009143-104.557714 118.272q-11.446857 11.995429-27.428571 11.995429-13.714286 0-24.576-9.142857-10.861714-10.276571-11.702857-25.417143t8.850286-26.587429l115.419429-129.718857q-33.133714-65.133714-33.133714-156.562286l-128 0q-14.848 0-25.709714-10.861714t-10.861714-25.709714 10.861714-25.709714 25.709714-10.861714l128 0 0-168.009143-98.852571-98.852571q-10.861714-10.861714-10.861714-25.709714t10.861714-25.709714 25.709714-10.861714 25.709714 10.861714l98.852571 98.852571 482.304 0 98.852571-98.852571q10.861714-10.861714 25.709714-10.861714t25.709714 10.861714 10.861714 25.709714-10.861714 25.709714l-98.852571 98.852571 0 168.009143 128 0q14.848 0 25.709714 10.861714t10.861714 25.709714zM694.857143 219.428571l-365.714286 0q0-75.995429 53.430857-129.426286t129.426286-53.430857 129.426286 53.430857 53.430857 129.426286z" p-id="10315" /></symbol>'});r.a.add(s);t.default=s},"F9+T":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-international"><defs><style type="text/css"></style></defs><path d="M666.298182 824.087273c-12.567273-30.72-54.225455-83.316364-123.578182-156.392728-18.618182-19.549091-17.454545-34.443636-10.705455-78.894545v-5.12c4.421818-30.487273 12.101818-48.407273 114.501819-64.698182 52.130909-8.145455 65.629091 12.567273 84.712727 41.425455l6.283636 9.541818a101.003636 101.003636 0 0 0 51.432728 41.658182c9.076364 4.189091 20.247273 9.309091 35.374545 17.92C861.090909 649.774545 861.090909 672.814545 861.090909 723.549091v5.818182a215.272727 215.272727 0 0 1-41.425454 139.636363 472.436364 472.436364 0 0 1-152.203637 88.203637c27.927273-52.363636 6.516364-114.501818 0-132.421818zM512 40.96a468.014545 468.014545 0 0 1 203.869091 46.545455 434.501818 434.501818 0 0 0-102.865455 82.618181c-7.447273 10.24-13.730909 19.781818-19.781818 28.625455-19.549091 29.556364-29.090909 42.821818-46.545454 44.916364a200.843636 200.843636 0 0 1-33.745455 0c-34.210909-2.327273-80.756364-5.12-95.650909 35.374545-9.541818 25.832727-11.170909 95.650909 19.549091 131.956364a32.349091 32.349091 0 0 1 2.56 28.625454 56.087273 56.087273 0 0 1-16.523636 25.832727 151.505455 151.505455 0 0 1-23.272728-23.272727 151.272727 151.272727 0 0 0-66.56-52.829091c-10.007273-2.792727-21.178182-5.12-31.883636-7.447272-30.254545-6.283636-64.232727-13.498182-72.145455-30.487273a119.156364 119.156364 0 0 1-5.818181-46.545455 175.476364 175.476364 0 0 0-11.17091-74.007272 70.981818 70.981818 0 0 0-44.450909-39.563637A469.643636 469.643636 0 0 1 512 40.96zM0 512A512 512 0 1 0 512 0 512 512 0 0 0 0 512z" p-id="1420" /></symbol>'});r.a.add(s);t.default=s},FDDl:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-qq"><defs><style type="text/css"></style></defs><path d="M273.5104 480.17408 272.31232 476.44672 271.33952 471.6032 270.6944 468.95104 270.6944 465.6128 270.6944 461.62944 270.6944 458.02496 271.85152 453.72416 273.02912 449.1776 274.5856 444.40576 276.6848 439.0912 279.43936 433.57184 283.33056 428.04224 283.33056 424.17152 283.70944 420.54656 284.3136 415.62112 285.98272 410.08128 287.51872 404.10112 288.74752 401.3568 290.16064 398.7968 291.98336 395.95008 293.96992 393.8304 293.96992 389.9392 293.96992 385.56672 293.96992 380.16 295.1168 373.11488 296.27392 364.93312 298.33216 355.14368 301.16864 344.95488 303.27808 339.3536 305.36704 333.2608 307.6608 327.5776 310.40512 321.4848 313.20064 314.81856 316.416 308.57216 320.03072 301.90592 324.58752 295.24992 326.69696 291.4304 328.93952 288.3072 333.824 281.26208 338.85184 274.23744 344.55552 267.008 350.6688 259.97312 357.30432 253.04064 364.22656 245.9136 372.60288 238.22336 377.91744 233.54368 384.39936 228.49536 390.97344 224.04096 398.08 219.76064 404.91008 215.95136 412.61056 212.79744 420.79232 208.91648 428.92288 206.25408 437.03296 203.48928 445.7984 200.74496 454.5536 198.656 463.75936 196.9152 473.09824 195.40992 482.31424 194.18112 491.52 192.9216 501.34016 192.38912 510.67904 192.38912 520.33536 192.38912 530.35008 192.38912 540.01664 193.60768 549.7344 194.7648 559.63648 195.79904 568.832 198.01088 578.53952 200.07936 587.65312 202.45504 597.63712 205.1072 606.7712 208.34304 615.51616 212.03968 624.85504 215.95136 633.37472 220.22144 641.65888 224.9728 649.7792 230.20544 656.77312 235.06944 660.0192 237.81376 663.41888 239.8208 669.91104 245.32992 675.3792 250.65472 680.83712 256.16384 686.15168 262.2464 690.5344 268.14464 695.7568 274.23744 699.392 280.7808 703.0784 286.59712 706.99008 293.36576 710.23616 299.25376 715.69408 311.71584 718.37696 318.1568 720.47616 324.12672 722.57536 330.60864 724.45952 336.70144 725.77024 341.94432 727.47008 348.1088 730.44992 359.1168 732.35456 368.75264 733.5936 378.07104 734.65856 385.56672 736.33792 396.98432 736.7168 398.7968 738.05824 400.85504 741.67296 406.76352 743.99744 410.76736 746.05568 414.93504 748.67712 419.39968 750.99136 424.7552 752.49664 430.2336 754.13504 436.24448 755.37408 442.40896 755.93728 445.44 756.45952 449.1776 756.45952 452.42368 755.93728 455.63904 755.93728 459.64288 754.9952 463.52384 753.27488 471.04 751.29856 474.83904 749.83424 479.10912 749.83424 480.17408 750.53056 481.49504 752.49664 484.61824 761.05728 497.28512 767.81568 506.79808 771.05152 513.14688 775.41376 520.09984 779.2128 527.7184 783.59552 535.8592 787.97824 545.01376 792.91392 555.37664 795.6992 561.72544 798.23872 567.93088 800.43008 574.47424 802.59072 580.36224 804.23936 586.5472 805.91872 592.35328 808.0384 603.67872 809.71776 615.24992 810.87488 625.5104 810.87488 631.11168 810.87488 635.71968 810.87488 639.98976 810.09664 645.12 808.99072 653.9776 807.4752 661.93408 805.12 669.15328 804.23936 672.09216 802.59072 675.6352 801.21856 678.10304 799.37536 681.14432 797.75744 683.0592 795.6992 685.53728 793.856 687.53408 791.88992 689.24416 789.53472 690.2784 787.41504 691.31264 785.67424 691.88608 784.15872 691.88608 783.01184 691.88608 781.312 691.31264 778.07616 689.7152 776.59136 688.65024 775.03488 687.53408 773.33504 686.00832 771.61472 684.29824 768.77824 681.14432 765.41952 676.68992 762.7776 672.09216 760.13568 668.416 757.5552 664.13568 753.92 656.5376 749.83424 648.63232 749.35296 648.35584 748.67712 648.35584 747.01824 649.59488 746.05568 651.6736 744.45824 654.25408 741.67296 661.93408 737.47456 672.86016 732.09856 686.00832 728.05376 692.56192 723.8144 699.40224 718.77632 707.09248 713.43104 714.61888 710.69696 718.0288 707.3792 721.74592 699.7504 729.2416 700.416 729.91744 701.45024 730.99264 705.25952 733.22496 721.13152 740.85376 728.05376 744.7552 734.65856 748.544 741.19168 753.31584 747.01824 758.23104 749.83424 760.45312 751.95392 763.01312 754.13504 765.98272 755.93728 769.19808 756.91008 771.87072 758.09792 775.07584 758.60992 777.85088 759.17312 781.08672 758.60992 783.2576 758.60992 785.4592 758.09792 787.73248 756.91008 789.8
12112 756.45952 791.43936 755.37408 793.41568 752.49664 797.3376 749.83424 800.48128 747.776 802.83648 746.05568 804.57728 741.67296 807.77216 736.7168 810.55744 731.43296 813.21984 725.77024 815.77984 719.45216 818.25792 716.05248 819.29216 713.07264 820.13184 705.73056 821.84192 698.15296 823.47008 690.5344 825.088 682.25024 826.43968 673.71008 826.79808 664.95488 827.8528 656.29184 827.8528 647.17824 827.8528 637.77792 827.8528 627.97824 827.27936 618.8544 826.43968 609.01376 825.088 599.25504 824.04352 588.97408 822.60992 579.01056 820.13184 569.2928 818.25792 559.63648 815.49312 549.7344 811.95008 540.01664 809.02144 534.89664 807.31136 530.35008 805.69344 527.47264 804.57728 524.61568 803.97312 520.93952 803.97312 516.53632 803.97312 507.19744 803.31776 502.4768 802.83648 496.39424 802.16064 492.4928 805.69344 487.168 809.02144 479.9488 812.53376 471.9616 816.91648 467.10784 819.29216 462.03904 821.17632 450.84672 825.7536 444.76416 827.27936 438.38464 828.99968 429.53728 830.72 423.99744 831.15008 418.14016 831.65184 412.02688 832.32768 404.91008 832.59392 398.08 832.59392 390.97344 832.59392 375.83872 832.59392 359.424 832.32768 343.48032 830.72 335.4112 829.57312 327.61856 828.416 320.03072 827.27936 312.44288 825.7536 305.36704 823.47008 298.33216 821.84192 291.98336 819.29216 285.98272 816.91648 280.38144 814.24384 275.51744 811.32544 270.6944 807.77216 269.04576 806.05184 266.88512 803.97312 265.24672 802.16064 263.772
1216 800.07168 262.41024 797.99296 261.35552 795.89376 259.82976 791.43936 259.29728 789.13536 258.62144 786.57536 258.62144 784.20992 259.29728 781.53728 259.29728 778.88512 259.82976 776.23296 259.82976 774.61504 259.82976 770.87744 260.08576 768.0512 261.35552 764.81536 262.41024 761.57952 264.32512 757.67808 265.728 756.1728 266.88512 754.432 269.90592 750.73536 272.31232 748.83072 274.5856 747.49952 276.6848 745.80992 280.00256 744.7552 282.66496 743.13728 285.98272 741.4272 289.76128 740.29056 293.56032 739.13344 297.96352 738.17088 302.1312 737.61792 307.07712 736.9728 312.44288 736.5632 313.83552 736.1024 314.14272 736.1024 314.81856 735.52896 314.81856 734.8736 313.83552 733.5424 310.9888 732.19072 303.872 726.02624 299.08992 722.21696 293.56032 717.37344 287.98976 711.95648 282.19392 705.03424 275.51744 697.23136 273.02912 693.01248 269.73184 688.65024 266.88512 683.61216 264.32512 678.10304 260.87424 672.86016 258.62144 666.88 255.93856 660.91008 253.25568 654.25408 251.31008 647.87456 249.45664 639.98976 248.90368 639.70304 248.34048 639.70304 248.05376 639.13984 247.36768 639.13984 246.24128 639.70304 245.67808 639.98976 244.89984 641.31072 244.62336 642.9184 244.03968 644.352 243.02592 646.73792 239.7696 652.53376 238.08 656.04608 235.39712 659.10784 232.5504 662.79424 229.40672 666.88 226.08896 670.50496 222.18752 674.01728 218.58304 677.31456 214.58944 679.936 210.2272 682.67008 206.0288 684.29824 201.08288 685.53728 196.22912 686.00832 195.75808 686.00832 195.08224 686.00832 193.96608 685.53728 193.08544 683.61216 191.66208 682.67008 189.7984 678.10304 188.63104 675.6352 187.38176 672.09216 186.34752 668.416 185.79456 664.79104 184.25856 656.5376 183.67488 651.6736 183.67488 646.73792 183.67488 635.71968 184.25856 623.81056 185.22112 617.728 186.34752 611.46112 187.38176 604.71296 189.21472 598.43584 191.27296 591.2064 193.39264 584.16128 196.22912 576.91136 198.90176 569.99936 202.5984 562.98496 206.0288 555.37664 210.2272 548.23936 215.16288 540.53888 220.18048 533.61664 225.42336 525.91616 229.79584 520.5504 235.39712 514.4064 241.29536 508.2112 244.03968 505.26208 247.36768 501.94432 252.20096 497.75616 257.16736 493.48608 265.24672 486.2464 271.33952 481.792Z" p-id="9447" /></symbol>'});r.a.add(s);t.default=s},GPBF:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-link"><defs><style type="text/css"></style></defs><path d="M912 1008.512H15.488V112h448.256v96H111.488v704.512H816V560.256h96z" p-id="2942" /><path d="M918.208 37.888l67.904 67.904L545.984 545.92 478.08 478.08z" p-id="2943" /><path d="M1007.168 310.656h-96V112h-208V16h304z" p-id="2944" /></symbol>'});r.a.add(s);t.default=s},GXUi:function(e,t,n){"use strict";var i=n("YT4C");n.n(i).a},Gk68:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shezhi(1)",use:"icon-shezhi(1)-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-shezhi(1)"><path d="M539.706 70h-54.537c-30.715 0-60.163 12.003-81.83 33.352-19.203 18.923-30.95 43.873-33.215 70.421l-0.376 8.575c-0.419 27.922-22.954 49.704-50.615 49.702-6.273-0.066-12.788-1.499-18.786-4.199l-5.883-3.075c-54.35-30.567-125.014-11.844-156.9 42.43l-28.672 46.201c-30.487 51.87-15.45 117.033 33.763 150.595l6.844 4.307c16.869 9.585 26.512 25.965 26.512 43.691 0 16.302-8.167 31.544-21.788 40.79l-4.65 2.855c-50.986 28.897-71.076 92.674-45.447 145.727l3.746 7.061 28.143 47.657c14.628 25.897 39.696 45.406 69.343 53.669 26.277 7.324 54.32 5.298 79.182-5.667l7.862-3.85c13.231-7.502 26.9-9.3 39.73-5.933 12.83 3.367 23.756 11.62 30.35 22.925 3.636 6.016 5.77 12.22 6.533 18.648l0.375 6.528C369.325 903.137 421.19 954 485.169 954h54.55c60.412 0 110.552-45.512 115.456-104.249l0.358-7.586c-0.035-14.672 5.258-27.29 14.731-36.579 9.473-9.29 22.339-14.48 35.735-14.417 6.158 0.17 12.923 1.68 19.193 4.43l6.01 3.036c50.708 28.705 117.155 13.96 151.378-34.303l4.392-6.712 29.127-47.585c15.682-26.392 19.928-57.403 12.01-86.519-7.017-25.807-23.104-48.323-45.374-63.599l-7.372-4.632c-12.813-7.265-21.26-18.056-24.702-30.716s-1.596-26.142 5.13-37.463c3.723-6.374 8.675-11.679 14.615-15.74l11.36-7.001c46.009-30.631 63.24-90.924 39.022-141.61l-2.512-4.937a31.742 31.742 0 0 0-1.886-3.757l-27.076-46.077c-30.126-51.276-95.266-71.175-149.579-46.135l-7.234 3.664c-12.98 7.447-26.684 9.33-39.586 6.044-12.902-3.285-23.942-11.468-30.685-22.745-3.46-5.719-5.595-11.923-6.357-18.352l-0.375-6.528c0.95-27.756-10.856-57.497-32.68-79.513C600.995 82.403 571.014 69.987 539.706 70z" fill="#1C9DFF" /><path d="M512 512m-145 0a145 145 0 1 0 290 0 145 145 0 1 0-290 0Z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},HOvi:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-tianjia",use:"icon-tianjia-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-tianjia"><path d="M680.6 146H340.4C216.308 146 146 216.308 146 340.4v340.2C146 804.368 215.984 875 340.4 875h340.2C804.692 875 875 804.368 875 680.6V340.4C875 216.308 804.692 146 680.6 146z" fill="#1C9DFF" /><path d="M635.517 537.563h-96.41v95.574C539.107 648.525 526.523 661 511 661s-28.107-12.475-28.107-27.863v-95.574h-96.41C372.003 536.076 361 523.98 361 509.55c0-14.431 11.003-26.527 25.483-28.014h96.108v-95.274c1.5-14.354 13.7-25.262 28.258-25.262 14.557 0 26.759 10.908 28.258 25.262v95.274h96.41C649.997 483.023 661 495.12 661 509.55c0 14.43-11.003 26.526-25.483 28.013z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},"IMk/":function(e,t,n){"use strict";var i=n("VdYr");n.n(i).a},ISmr:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-siteAdmin",use:"icon-siteAdmin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-siteAdmin"><defs><style type="text/css"></style></defs><path d="M646.9 399h-270V129h270v270z m-220-50h170V179h-170v170zM399.9 894.4h-270v-270h270v270z m-220-50h170v-170h-170v170zM895.2 893.4h-270v-270h270v270z m-220-50h170v-170h-170v170z" fill="" p-id="2651" /><path d="M486.9 367.6h50v121.6h-50z" fill="" p-id="2652" /><path d="M247.9 487.5h531.3v50H247.9z" fill="" p-id="2653" /><path d="M247.9 493.6h50v150h-50zM729.2 493.6h50v150h-50z" fill="" p-id="2654" /></symbol>'});r.a.add(s);t.default=s},IzEa:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-checked",use:"icon-checked-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-checked"><defs><style type="text/css"></style></defs><path d="M512 104.448c-221.184 0-399.36 178.176-399.36 399.36S290.816 903.168 512 903.168s399.36-178.176 399.36-399.36S731.136 104.448 512 104.448z" fill="#54B201" p-id="1979" /><path d="M741.376 374.784l-69.632-57.344-202.752 245.76-129.024-106.496-59.392 69.632 200.704 165.888 57.344-71.68z" fill="#FFFFFF" p-id="1980" /></symbol>'});r.a.add(s);t.default=s},JHxe:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-m_sz",use:"icon-m_sz-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-m_sz"><defs><style type="text/css"></style></defs><path d="M 1002.37 449.766 c -3.87413 -21.4955 -24.6016 -43.3835 -46.1056 -48.2304 l -16.0768 -3.67787 c -37.7685 -11.4261 -71.2875 -36.4203 -92.5952 -73.2245 c -21.3077 -36.992 -26.3424 -79.0272 -17.0411 -117.572 l 0 0 l 5.03467 -15.1125 c 6.39147 -20.9237 -1.93707 -49.7835 -18.7904 -64.1195 c 0 0 -15.104 -12.7829 -57.728 -37.3845 c -42.6155 -24.4053 -61.0219 -31.1893 -61.0219 -31.1893 C 677.333 51.7035 648.277 58.8715 633.173 74.9483 l -11.2384 12.0064 c -28.6635 27.1189 -67.2085 43.5883 -109.833 43.5883 c -42.6155 0 -81.5531 -16.6656 -110.217 -43.9808 l -10.8459 -11.6139 c -14.9163 -16.0768 -44.16 -23.2533 -64.8875 -15.6928 c 0 0 -18.5941 6.784 -61.2096 31.1893 c -42.6155 24.7979 -57.5317 37.5808 -57.5317 37.5808 c -16.8533 14.1397 -25.1819 42.8032 -18.7904 63.9232 l 4.64213 15.3003 c 9.10507 38.5536 4.26667 80.3925 -17.0496 117.385 c -21.3077 37.0091 -55.2021 62.1909 -93.1669 73.4123 l -15.4965 3.49013 c -21.3077 4.84693 -42.2315 26.5387 -46.0971 48.2304 c 0 0 -3.49013 19.3792 -3.49013 68.5824 c 0 49.1861 3.49013 68.5653 3.49013 68.5653 c 3.8656 21.7003 24.6016 43.4005 46.0971 48.2304 l 15.104 3.49013 l 0 0 c 37.9733 11.2299 72.064 36.4203 93.3632 73.6 c 21.3163 37.0091 26.3424 79.0443 17.0496 117.581 l 0 0 l -4.4544 14.9163 c -6.39147 20.9237 1.93707 49.792 18.7904 64.1195 c 0 0 15.1125 12.7829 57.7195 37.3931 c 42.624 24.6016 61.0219 31.1893 61.0219 31.1893 c 20.7275 7.54347 49.7835 0.384 64.8875 -15.7013 l 10.6581 -11.4261 c 28.8597 -27.3152 67.6011 -43.9723 110.413 -43.9723 s 81.7493 16.8533 110.413 44.1771 l 0 0 l 10.6581 11.4176 c 14.9163 16.0853 44.16 23.2533 64.8875 15.6928 c 0 0 18.6027 -6.77547 61.2096 -31.1893 c 42.6155 -24.5845 57.5317 -37.3845 57.5317 -37.3845 c 16.8533 -14.1397 25.1819 -42.9995 18.7904 -64.1109 L 830.942 829.44 c -9.1050
127 -38.3659 -4.25813 -80.1963 17.0496 -117.001 c 21.3163 -37.0005 55.3984 -62.3787 93.3632 -73.6171 l 0 0 l 15.1125 -3.49013 c 21.3077 -4.82987 42.2315 -26.5301 46.1056 -48.2304 c 0 0 3.4816 -19.3707 3.4816 -68.5653 C 1005.86 469.146 1002.37 449.766 1002.37 449.766 L 1002.37 449.766 M 512.102 715.341 c -108.663 0 -197.001 -88.1323 -197.001 -196.992 c 0 -108.672 88.1408 -196.813 197.001 -196.813 c 108.672 0 197.001 88.1408 197.001 197.001 C 708.907 627.209 620.774 715.341 512.102 715.341 L 512.102 715.341 M 512.102 715.341 L 512.102 715.341 Z" fill="#8a8a8a" p-id="7959" /></symbol>'});r.a.add(s);t.default=s},JYDz:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 1088 1024",content:'<symbol class="icon" viewBox="0 0 1088 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-language"><defs><style type="text/css"></style></defs><path d="M729.6 294.4c19.2 57.6 44.8 102.4 89.6 147.2 38.4-38.4 64-89.6 83.2-147.2h-172.8zM307.2 614.4h166.4L390.4 390.4z" p-id="6280" /><path d="M947.2 0h-768C108.8 0 51.2 57.6 51.2 128v768c0 70.4 57.6 128 128 128h768c70.4 0 128-57.6 128-128V128c0-70.4-51.2-128-128-128zM633.6 825.6c-12.8 12.8-25.6 12.8-38.4 12.8-6.4 0-19.2 0-25.6-6.4s-12.8 0-12.8-6.4-6.4-12.8-12.8-25.6-6.4-19.2-12.8-32l-25.6-70.4H281.6L256 768c-12.8 25.6-19.2 44.8-25.6 57.6-6.4 12.8-19.2 12.8-38.4 12.8-12.8 0-25.6-6.4-38.4-12.8-12.8-12.8-19.2-19.2-19.2-32 0-6.4 0-12.8 6.4-25.6s6.4-19.2 12.8-32l140.8-358.4c6.4-12.8 6.4-25.6 12.8-38.4s12.8-25.6 19.2-32 12.8-19.2 25.6-25.6c12.8-6.4 25.6-6.4 38.4-6.4 12.8 0 25.6 0 38.4 6.4 12.8 6.4 19.2 12.8 25.6 25.6 6.4 6.4 12.8 19.2 19.2 32 6.4 12.8 12.8 25.6 19.2 44.8l140.8 352c12.8 25.6 19.2 44.8 19.2 57.6-6.4 6.4-12.8 19.2-19.2 32zM985.6 576c-70.4-25.6-121.6-57.6-166.4-96-44.8 44.8-102.4 76.8-172.8 96l-19.2-32c70.4-19.2 128-44.8 172.8-89.6-44.8-44.8-83.2-102.4-96-166.4h-64v-25.6h172.8c-12.8-19.2-25.6-44.8-38.4-64l19.2-6.4c12.8 19.2 32 44.8 44.8 70.4h160v32h-64c-19.2 64-51.2 121.6-89.6 160 44.8 38.4 96 70.4 166.4 89.6l-25.6 32z" p-id="6281" /></symbol>'});r.a.add(s);t.default=s},KF9l:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-audite",use:"icon-audite-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-audite"><defs><style type="text/css"></style></defs><path d="M1024 512a512 512 0 1 1-512-512 512 512 0 0 1 512 512zM512 85.12A426.88 426.88 0 1 0 938.88 512 426.88 426.88 0 0 0 512 85.12z m64 757.12L216.96 480l80.64-80.64a37.76 37.76 0 0 1 53.76 0l87.68 87.68a79.36 79.36 0 0 0 46.08-17.28c52.48-44.8 23.04-120.32 82.56-179.84a128 128 0 0 1 192 8.96 128 128 0 0 1 8.96 192c-59.52 59.52-135.04 30.72-179.84 82.56a79.36 79.36 0 0 0-17.28 46.08l87.68 87.68a37.76 37.76 0 0 1 0 53.76z" p-id="3962" /></symbol>'});r.a.add(s);t.default=s},Kj24:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-password"><defs><style type="text/css"></style></defs><path d="M780.8 354.579692 665.6 354.579692 665.6 311.689846c0-72.310154-19.849846-193.299692-153.6-193.299692-138.870154 0-153.6 135.049846-153.6 193.299692l0 42.889846L243.2 354.579692 243.2 311.689846C243.2 122.249846 348.790154 0 512 0s268.8 122.249846 268.8 311.689846L780.8 354.579692zM588.8 669.420308C588.8 625.900308 554.220308 590.769231 512 590.769231s-76.8 35.131077-76.8 78.651077c0 29.459692 15.399385 54.468923 38.439385 67.820308l0 89.639385c0 21.740308 17.250462 39.699692 38.4 39.699692s38.4-17.959385 38.4-39.699692l0-89.639385C573.44 723.889231 588.8 698.88 588.8 669.420308zM896 512l0 393.609846c0 65.260308-51.869538 118.390154-115.2 118.390154L243.2 1024c-63.291077 0-115.2-53.129846-115.2-118.390154L128 512c0-65.220923 51.869538-118.390154 115.2-118.390154l537.6 0C844.130462 393.609846 896 446.779077 896 512z" p-id="9230" /></symbol>'});r.a.add(s);t.default=s},LxGF:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-peoples"><defs><style type="text/css"></style></defs><path d="M765.184 873.941333c0 33.28-28.501333 60.288-63.829333 60.288L63.829333 934.229333C28.501333 934.229333 0 907.221333 0 873.941333c0-120.576 123.264-233.258667 249.216-277.674667-72.789333-42.496-121.728-118.058667-121.728-204.8L127.488 331.136c0-133.248 114.346667-241.365333 255.146667-241.365333s255.146667 108.117333 255.146667 241.365333l0 60.288c0 86.826667-48.981333 162.304-121.728 204.842667C641.962667 640.725333 765.184 753.365333 765.184 873.941333L765.184 873.941333z" p-id="1641" /><path d="M848.256 870.570667l126.933333 0c27.008 0 48.810667-20.650667 48.810667-46.08 0-92.245333-94.293333-178.346667-190.549333-212.309333 55.637333-32.512 93.098667-90.282667 93.098667-156.672L926.549333 409.344c0-101.888-87.424-184.576-195.114667-184.576-13.397333 0-26.453333 1.28-39.125333 3.712 15.488 31.146667 24.149333 65.92 24.149333 102.613333l0 60.288c0 86.826667-24.448 152.746667-88.533333 204.842667C746.666667 625.365333 846.421333 751.018667 848.256 870.570667z" p-id="1642" /></symbol>'});r.a.add(s);t.default=s},MEYL:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-money"><defs><style type="text/css"></style></defs><path d="M463.3 958.3V772.1H228.8v-77.5h234.5v-80.5H228.8v-83.5H420L191.5 128h113.7L469 420.6c18.2 33.4 32.4 62.4 42.7 86.9 9-19.8 24.6-50.5 46.8-92.1L713.9 128h120.8L605.5 530.6h192.9v83.5H564.9v80.5h233.5v77.5H564.9v186.2H463.3z" p-id="1765" /></symbol>'});r.a.add(s);t.default=s},MMMJ:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-example"><defs><style type="text/css"></style></defs><path d="M770.56 460.8l250.88 0C998.4 220.16 803.84 25.6 563.2 2.56l0 250.88C668.16 273.92 750.08 355.84 770.56 460.8L770.56 460.8zM770.56 460.8" p-id="9879" /><path d="M460.8 253.44 460.8 2.56C220.16 25.6 25.6 220.16 2.56 460.8l250.88 0C273.92 355.84 355.84 273.92 460.8 253.44L460.8 253.44zM460.8 253.44" p-id="9880" /><path d="M563.2 770.56l0 250.88c243.2-23.04 435.2-217.6 460.8-460.8l-250.88 0C750.08 668.16 668.16 750.08 563.2 770.56L563.2 770.56zM563.2 770.56" p-id="9881" /><path d="M253.44 563.2 2.56 563.2c23.04 243.2 217.6 435.2 460.8 460.8l0-250.88C355.84 750.08 273.92 668.16 253.44 563.2L253.44 563.2zM253.44 563.2" p-id="9882" /></symbol>'});r.a.add(s);t.default=s},MYFi:function(e,t,n){e.exports=n.p+"static/img/logob.dc75bc3.png"},MokB:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-list"><defs><style type="text/css"></style></defs><path d="M107.2 212.8m-67.2 0a4.2 4.2 0 1 0 134.4 0 4.2 4.2 0 1 0-134.4 0Z" p-id="10881" /><path d="M980.8 145.6 297.6 145.6c-9.6 0-16 8-16 16l0 102.4c0 9.6 8 16 16 16l683.2 0c9.6 0 16-8 16-16l0-102.4C996.8 152 988.8 145.6 980.8 145.6z" p-id="10882" /><path d="M96 497.6m-67.2 0a4.2 4.2 0 1 0 134.4 0 4.2 4.2 0 1 0-134.4 0Z" p-id="10883" /><path d="M968 430.4 284.8 430.4c-9.6 0-16 8-16 16l0 102.4c0 9.6 8 16 16 16l683.2 0c9.6 0 16-8 16-16l0-102.4C984 438.4 977.6 430.4 968 430.4z" p-id="10884" /><path d="M96 795.2m-67.2 0a4.2 4.2 0 1 0 134.4 0 4.2 4.2 0 1 0-134.4 0Z" p-id="10885" /><path d="M968 728 284.8 728c-9.6 0-16 8-16 16l0 102.4c0 9.6 8 16 16 16l683.2 0c9.6 0 16-8 16-16l0-102.4C984 736 977.6 728 968 728z" p-id="10886" /></symbol>'});r.a.add(s);t.default=s},"N1Y/":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-wode",use:"icon-wode-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-wode"><path d="M503.6 534.27c93.95 0.154 178.735-56.67 214.795-143.96 36.06-87.289 16.288-187.84-50.09-254.738s-166.28-86.957-253.094-50.818c-86.814 36.14-143.429 121.354-143.429 215.884 0 128.881 103.727 233.42 231.818 233.632z" fill="#1C9DFF" /><path d="M155 779.313c-3.382-106.458 115.618-159.686 357-159.686s354.715 60.228 340 180.685C833.715 892.771 720.382 939 512 939c-312.573 0-338.707-78.18-356.466-142.494-0.225-1.143-0.403-6.874-0.534-17.193z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},N3tw:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shipin",use:"icon-shipin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-shipin"><path d="M716.164 351.872v152.87l165.17 66.496V278.893l-165.17 72.979z m-25.275-28.19l201.17-88.886c11.9-5.257 25.275 3.456 25.275 16.465v346.627c0 12.752-12.894 21.46-24.723 16.698l-201.17-80.99a18 18 0 0 1-11.277-16.698V340.146a18 18 0 0 1 10.725-16.464z" fill="#007BFF" /><path d="M156 180v490.842h524.164V180H156z m-18-36h560.164c9.941 0 18 8.059 18 18v526.842c0 9.941-8.059 18-18 18H138c-9.941 0-18-8.059-18-18V162c0-9.941 8.059-18 18-18z" fill="#333333" /><path d="M274.345 680.705c4.494-8.868 15.325-12.413 24.193-7.919 8.867 4.495 12.412 15.326 7.918 24.194L212.58 882.202c-4.494 8.867-15.326 12.412-24.193 7.918-8.867-4.494-12.412-15.325-7.918-24.193l93.876-185.222zM555.367 680.705c-4.494-8.868-15.326-12.413-24.193-7.919-8.867 4.495-12.412 15.326-7.918 24.194l93.875 185.222c4.495 8.867 15.326 12.412 24.194 7.918 8.867-4.494 12.412-15.325 7.918-24.193l-93.876-185.222z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},N9W3:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-counted",use:"icon-counted-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-counted"><defs><style type="text/css"></style></defs><path d="M832.274893 391.946896c-18.792659 0-35.386177 6.997267-50.080438 16.593518-14.494338-33.386958-47.681374-56.877782-86.266302-56.877782-17.693089 0-33.386958 6.29754-47.581413 14.794221-11.395549-39.184693-46.18196-68.473253-88.965248-68.473253-15.493948 0-29.488481 4.598204-42.383444 11.295588V201.221398c0-51.879734-42.283483-94.163217-94.163218-94.163218s-94.163217 42.283483-94.163217 94.163218v398.344397l-72.971496-72.971496c-35.586099-35.586099-97.761812-35.486138-133.048028 0-17.79305 17.79305-27.589223 41.383834-27.589223 66.573995s9.796173 48.780945 27.589223 66.573994l263.097228 263.397111c36.585709 37.585318 97.961734 100.460758 218.114799 100.460757 202.021086 0 322.573995-100.960562 322.573994-270.094494V486.110113c0-51.879734-42.183522-94.163217-94.163217-94.163217z m42.483405 361.558766c0 197.023038-189.326045 218.314721-270.794221 218.314721-98.461538 0-148.242093-51.080047-181.029286-84.866849L159.237798 623.156579c-7.996876-7.996876-12.395158-18.692698-12.395158-29.988285s4.398282-21.99141 12.395158-29.988286c15.993752-15.993752 43.982819-15.993752 59.87661 0l117.154237 117.154236c7.397111 7.29715 18.292854 9.496291 28.188989 5.597814 9.696212-3.998438 15.993752-13.394768 15.993752-23.890668v-460.819992c0-23.390863 18.992581-42.383444 42.483405-42.383444s42.483405 18.992581 42.483405 42.383444v190.425615c0 0.199922-0.099961 0.299883-0.099961 0.499805v139.445529c0 14.294416 11.595471 25.889887 25.889887 25.889887s25.889887-11.595471 25.889887-25.889887V403.742288c0-0.099961 0.099961-0.199922 0.099961-0.199922v-11.795392c0.299883-23.190941 19.092542-41.883639 42.383444-41.883639 23.490824 0 42.483405 18.992581 42.483404 42.383444v194.923857c0 14.294416 11.595471 25.889887 25.889887 25.889887s25.889887-11.595471 25.889887-25.889887V445.825849c0-23.390863 18.992581-42.483405 42.383444-42.483405 23.490824 0 42.483405 19.092542 42.483405 42.483405v39.784459c0 0.199922-0.099961 0.299883-0.099961 0.499805v131.848497c0 0.099961 0.099961 0.199922 0.099961 0.199922v22.591175c0 14.294416 11.595471 25.889887 25.889887 25.889887s25.889887-11.595471 25.889886-25.889887V485.610308c0.299883-23.190941 19.092542-41.883639 42.283483-41.883639 23.490824 0 42.483405 18.992581 42.483405 42.383444v267.395549h-0.499804z" fill="#1afa29" p-id="4228" /><path d="M283.589223 367.356501c6.497462 0 12.894963-2.399063 17.992971-7.297149 10.295978-9.996095 10.4959-26.289731 0.599766-36.585709-29.088637-30.088247-45.182351-69.672784-45.18235-111.556423 0-88.265521 71.871925-160.237407 160.137446-160.237407s160.137446 71.871925 160.137446 160.237407c0 9.39633-0.799688 18.692698-2.299102 27.589223-2.499024 14.094494 6.997267 27.489262 20.9918 29.888325 14.594299 2.998829 27.489262-6.997267 29.888325-20.9918 2.09918-11.795392 3.09879-24.09059 3.09879-36.485748 0-116.854354-95.062866-211.91722-211.91722-211.91722s-211.91722 95.062866-211.91722 211.91722c0 55.378368 21.191722 107.757907 59.676689 147.542366 5.29793 5.29793 11.995314 7.896915 18.792659 7.896915z" fill="#1afa29" p-id="4229" /></symbol>'});r.a.add(s);t.default=s},NI4t:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-eyeOpen",use:"icon-eyeOpen-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-eyeOpen"><defs><style type="text/css"></style></defs><path d="M512 199.111111C227.555556 199.111111 28.444444 512 28.444444 512s145.066667 312.888889 483.555556 312.888889c341.333333 0 483.555556-312.888889 483.555556-312.888889S799.288889 199.111111 512 199.111111z m0 512c-110.933333 0-199.111111-88.177778-199.111111-199.111111s88.177778-199.111111 199.111111-199.111111 199.111111 88.177778 199.111111 199.111111-88.177778 199.111111-199.111111 199.111111z" fill="" p-id="1862" /><path d="M512 512m-85.333333 0a85.333333 85.333333 0 1 0 170.666666 0 85.333333 85.333333 0 1 0-170.666666 0Z" fill="" p-id="1863" /></symbol>'});r.a.add(s);t.default=s},NaPQ:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-tj",use:"icon-tj-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-tj"><defs><style type="text/css"></style></defs><path d="M674.816 71.68h195.072v715.264h-195.072V71.68zM413.696 484.352h195.072v302.592H413.696V484.352zM154.112 266.752h195.072v520.192H154.112V266.752zM154.112 887.296h715.264V952.32H154.112v-65.024z" p-id="4946" fill="#999999" /></symbol>'});r.a.add(s);t.default=s},"O/WW":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-tady",use:"icon-tady-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-tady"><defs><style type="text/css"></style></defs><path d="M844.4 77.5H596.5c-11.1-43-50.3-74.9-96.8-74.9s-85.6 31.9-96.8 74.9H155.1c-20.2 0-36.6 16.6-36.6 37.1v868c0 20.4 16.4 37.1 36.6 37.1h689.4c20.2 0 36.6-16.6 36.6-37.1v-868c-0.1-20.5-16.5-37.1-36.7-37.1z m-344.7-25c27.5 0 49.9 22.4 49.9 49.9s-22.4 49.9-49.9 49.9-49.9-22.4-49.9-49.9 22.4-49.9 49.9-49.9zM831 969.6H168.5V127.5H403c4.5 17.3 13.5 32.8 25.6 45.1h-97.1c-14.1 0-25.6 11.5-25.6 25.6s11.5 25.6 25.6 25.6H668c14.1 0 25.6-11.5 25.6-25.6s-11.5-25.6-25.6-25.6h-97.1c12.2-12.3 21.2-27.8 25.6-45.1H831v842.1z" fill="#d81e06" p-id="5778" /><path d="M668 298.3c14.1 0 25.6-11.5 25.6-25.6s-11.5-25.6-25.6-25.6H331.5c-14.1 0-25.6 11.5-25.6 25.6s11.5 25.6 25.6 25.6H668zM315.4 433.3c0 14.1 11.5 25.6 25.6 25.6h432.1c14.1 0 25.6-11.5 25.6-25.6s-11.5-25.6-25.6-25.6h-432c-14.2 0-25.7 11.5-25.7 25.6zM244.2 389.8c-24 0-43.6 19.5-43.6 43.6s19.5 43.6 43.6 43.6c24 0 43.6-19.5 43.6-43.6s-19.5-43.6-43.6-43.6zM773.2 542.3H341.1c-14.1 0-25.6 11.5-25.6 25.6s11.5 25.6 25.6 25.6h432.1c14.1 0 25.6-11.5 25.6-25.6s-11.5-25.6-25.6-25.6zM244.2 524.4c-24 0-43.6 19.5-43.6 43.6s19.5 43.5 43.6 43.5c24 0 43.6-19.5 43.6-43.5s-19.5-43.6-43.6-43.6zM773.2 676.9H341.1c-14.1 0-25.6 11.5-25.6 25.6s11.5 25.6 25.6 25.6h432.1c14.1 0 25.6-11.5 25.6-25.6s-11.5-25.6-25.6-25.6zM244.2 659c-24 0-43.6 19.5-43.6 43.5s19.5 43.6 43.6 43.6c24 0 43.6-19.5 43.6-43.6S268.3 659 244.2 659zM773.2 811.6H341.1c-14.1 0-25.6 11.5-25.6 25.6s11.5 25.6 25.6 25.6h432.1c14.1 0 25.6-11.5 25.6-25.6s-11.5-25.6-25.6-25.6zM244.2 793.6c-24 0-43.6 19.5-43.6 43.6s19.5 43.6 43.6 43.6c24 0 43.6-19.5 43.6-43.6s-19.5-43.6-43.6-43.6z" fill="#d81e06" p-id="5779" /></symbol>'});r.a.add(s);t.default=s},PEMT:function(e,t,n){"use strict";var i=n("5OdD");n.n(i).a},PdAv:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-more",use:"icon-more-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-more"><defs><style type="text/css"></style></defs><path d="M761.215 165C815.23 165 859 209.038 859 263.385v131.23C859 448.962 815.23 493 761.215 493h-130.43C576.77 493 533 448.962 533 394.615v-131.23C533 209.038 576.77 165 630.785 165h130.43z" fill="#333333" p-id="1419" /><path d="M392.515 531c53.85 0 97.485 44.038 97.485 98.385v131.23c0 54.31-43.635 98.385-97.485 98.385h-130.03C208.635 859 165 814.925 165 760.615v-131.23C165 575.038 208.635 531 262.485 531h130.03z m369 0c53.85 0 97.485 44.038 97.485 98.385v131.23c0 54.31-43.635 98.385-97.485 98.385h-130.03C577.635 859 534 814.925 534 760.615v-131.23C534 575.038 577.635 531 631.485 531h130.03z m-369-366c53.85 0 97.485 44.038 97.485 98.385v131.23C490 448.962 446.365 493 392.515 493h-130.03C208.635 493 165 448.962 165 394.615v-131.23C165 209.038 208.635 165 262.485 165h130.03z" fill="#1C9DFF" p-id="1420" /></symbol>'});r.a.add(s);t.default=s},Pw4Y:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-base",use:"icon-base-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-base"><defs><style type="text/css"></style></defs><path d="M514.56 65.024c-245.248 0-444.416 198.656-444.416 444.416s198.656 444.416 444.416 444.416 444.416-198.656 444.416-444.416-199.168-444.416-444.416-444.416zM747.52 663.04c0 18.432-14.848 33.28-33.28 33.28h-378.88c-18.432 0-33.28-14.848-33.28-33.28s14.848-33.28 33.28-33.28h378.88c18.432 0 33.28 15.36 33.28 33.28z m-33.28-125.44h-378.88c-18.432 0-33.28-14.848-33.28-33.28s14.848-33.28 33.28-33.28h378.88c18.432 0 33.28 14.848 33.28 33.28s-14.848 33.28-33.28 33.28z m0-153.6h-378.88c-18.432 0-33.28-14.848-33.28-33.28s14.848-33.28 33.28-33.28h378.88c18.432 0 33.28 14.848 33.28 33.28s-14.848 33.28-33.28 33.28z" p-id="5549" /></symbol>'});r.a.add(s);t.default=s},Q2AE:function(e,t,n){"use strict";var i=n("Kw5r"),o=n("L2JU"),a=n("p46w"),r={state:{language:n.n(a).a.get("language")||"zh"},mutations:{},actions:{}},s=n("4d7F"),l=n.n(s),d=n("oYx3");var c={state:{routers:d.b,addRouters:[]},mutations:{SET_ROUTERS:function(e,t){e.addRouters=t,e.routers=d.b.concat(t)}},actions:{GenerateRoutes:function(e,t){var n=e.commit,i=t.roles;return new l.a(function(e){var t;t=function e(t,n){return t.filter(function(t){return!!function(e,t){return!(!t.meta||!t.meta.roles)&&e.some(function(e){return t.meta.roles.indexOf(e)>=0})}(n,t)&&(t.children&&t.children.length&&(t.children=e(t.children,n)),!0)})}(d.a,i),n("SET_ROUTERS",t),e()})}}},u=n("fe1z"),m=n("X4fA"),p=n("4HJX"),h=n("wk8/"),g=n("cnRS"),f={state:{token:Object(m.a)(),uid:sessionStorage.getItem("uid"),roles:[],sourceType:"SUT03",productCode:"PRD008",icon:sessionStorage.getItem("icon"),username:sessionStorage.getItem("username"),pgcName:sessionStorage.getItem("pgcName"),qrUrl:sessionStorage.getItem("qrUrl"),pgcId:sessionStorage.getItem("pgcId"),qrCode:sessionStorage.getItem("qrCode"),pgcEmail:sessionStorage.getItem("pgcEmail"),identificationType:sessionStorage.getItem("identificationType"),isIdentification:sessionStorage.getItem("isIdentification"),auditStatus:sessionStorage.getItem("auditStatus"),onePublishList:sessionStorage.getItem("onePublishList"),priority:sessionStorage.getItem("priority"),userProductCode:"PRD001",newsTotal:!0,isAdmin:sessionStorage.getItem("isAdmin"),appId:sessionStorage.getItem("appId"),secretKey:sessionStorage.getItem("secretKey")},mutations:{SET_TOKEN:function(e,t){e.token=t,Object(m.c)(t)},SET_STATUS:function(e,t){e.auditStatus=t,sessionStorage.setItem("auditStatus",t)},SET_UID:function(e,t){e.uid=t,sessionStorage.setItem("uid",t)},SET_PGCID:function(e,t){e.pgcId=t,sessionStorage.setItem("pgcId",t)},SET_USERPRODUCTCODE:function(e,t){e.userProductCode=t,sessionStorage.setItem("userProductCode",t)},SET_ROLES:function(e,t){e.roles=t},SOURCE_TYPE:function(e,t){e.sourceType=t,sessionStorage.setItem("sourceType",t)},SOURCE_ICON:function(e,t){e.icon=t,sessionStorage.setItem("icon",t)},SOURCE_UNAME:function(e,t,n){e.username=t,sessionStorage.setItem("username",t)},SOURCE_PNAME:function(e,t){e.pgcName=t,sessionStorage.setItem("pgcName",t)},SOURCE_EMAIL:function(e,t){e.pgcEmail=t,sessionStorage.setItem("pgcEmail",t)},SET_QRURL:function(e,t){e.qrUrl=t,sessionStorage.setItem("qrUrl",t)},SET_QRCODE:function(e,t){e.qrCode=t,sessionStorage.setItem("qrCode",t)},SET_AUTYPE:function(e,t){e.identificationType=t,sessionStorage.setItem("identificationType",t)},SET_ISIDENT:function(e,t){e.isIdentification=t,sessionStorage.setItem("isIdentification",t)},SET_PRIORITY:function(e,t){e.priority=t,sessionStorage.setItem("priority",t)},SET_PUBLISH:function(e){Object(p.e)().then(function(t){200==t.data.code&&(t.data.data&&(e.onePublishList=t.data.data.map(function(e){return e.prod}),e.onePublishList=e.onePublishList.join(",")),sessionStorage.setItem("onePublishList",e.onePublishList))})},SET_NEWSTOTAL:function(e){Object(h.c)({current:1,size:1e4,direction:"to",messageType:"pgc",productCode:"PRD008"}).then(function(t){if(200==t.data.code)for(var n=t.data.data,i=0;i<n.length;i++){if("n"==n[i].isRead)return void(e.newsTotal=!1);e.newsTotal=!0}})},SET_ISADMIN:function(e){Object(g.e)().then(function(t){200==t.data.code&&(e.isAdmin=t.data.data.pgcAdmin,sessionStorage.setItem("isAdmin",e.isAdmin))})},SET_APPID:function(e,t){e.appId=t,sessionStorage.setItem("appId",t)},SET_SECRETKEY:function(e,t){e.secretKey=t,sessionStorage.setItem("secretKey",t)}},actions:{LoginByUsername:function(e,t){var n=e.commit;return new l.a(function(e,i){Object(u.g)(t).then(function(t){var o=t.data;0==o.code||200==o.code?(n("SET_TOKEN",o.data.tokenInfo.token),n("SET_QRURL",o.data.qrInfo.qrUrl),n("SET_QRCODE",o.data.qrInfo.qrCode),n("SET_PGCID",o.data.pgcId),n("SET_APPID",o.data.appI
12d),n("SET_SECRETKEY",o.data.secretKey),n("SET_ISADMIN"),n("SET_USERPRODUCTCODE",o.data.productCode),n("SOURCE_EMAIL",o.data.pgcEmail),n("SET_AUTYPE",o.data.identificationType),n("SET_ISIDENT",o.data.isIdentification),n("SET_PRIORITY",o.data.priority),n("SOURCE_UNAME",o.data.qrInfo.mediaName),e()):i(o)}).catch(function(e){i(e)})})},tokenCode:function(e){e.commit;return new l.a(function(e,t){Object(u.k)({sourceType:"SUT03",refreshToken:f.state.token}).then(function(t){var n=t.data;e(n)}).catch(function(e){t(e)})})},GetUserInfo:function(e){var t=e.commit;e.state;return new l.a(function(e,n){var i={code:0,data:{roles:["admin"]}};"AUDIT-01"!=f.state.auditStatus?i.data={roles:["Tourist"]}:5==f.state.identificationType&&(f.state.isAdmin?i.data={roles:["hmAdmin"]}:i.data={roles:["hmUser"]}),t("SET_ROLES",i.data.roles),t("SOURCE_TYPE","SUT03"),e(i)})},FedLogOut:function(e){e.commit;return new l.a(function(e){Object(m.b)(),sessionStorage.clear(),e()})},setuserToken:function(e,t){var n=e.commit;n("SET_TOKEN",t.tokenInfo.token),n("SET_UID",t.ugc.mediaId),n("SOURCE_UNAME",t.ugc.mediaName)},setUserInfo:function(e,t){var n=e.commit;n("SET_PUBLISH"),n("SOURCE_ICON",t.pgc.logo),n("SOURCE_PNAME",t.pgc.name),n("SET_STATUS",t.pgc.auditStatus)},setUserInfoNew:function(e,t){var n=e.commit;console.log(t),n("SET_PUBLISH"),n("SOURCE_ICON",t.icon),n("SOURCE_PNAME",t.mediaName),n("SET_STATUS","AUDIT-01")},setPublish:function(e){(0,e.commit)("SET_PUBLISH")},getNewsTotal:function(e,t){(0,e.commit)("SET_NEWSTOTAL")}}},v=f,b={language:function(e){return e.app.language},token:function(e){return e.user.token},permission_routers:function(e){return e.permission.routers},addRouters:function(e){return e.permission.addRouters},uid:function(e){return e.user.uid},pgcId:function(e){return e.user.pgcId},roles:function(e){return e.user.roles},sourceType:function(e){return e.user.sourceType},autograph:function(e){return e.user.autograph},secret:function(e){return e.user.secret},icon:function(e){return e.user.icon},username:function(e){return e.user.username},pgcName:function(e){return e.user.pgcName},qrUrl:function(e){return e.user.qrUrl},qrCode:function(e){return e.user.qrCode},pgcEmail:function(e){return e.user.pgcEmail},identificationType:function(e){return e.user.identificationType},isIdentification:function(e){return e.user.isIdentification},auditStatus:function(e){return e.user.auditStatus},onePublishList:function(e){return e.user.onePublishList},priority:function(e){return e.user.priority},newsTotal:function(e){return e.user.newsTotal},userProductCode:function(e){return e.user.userProductCode}};i.default.use(o.a);var y=new o.a.Store({modules:{app:r,permission:c,user:v},getters:b});t.a=y},"Q7z+":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-app",use:"icon-app-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-app"><defs><style type="text/css"></style></defs><path d="M501.85327 415.486103v85.972294h24.592075q49.983892 0 49.983892-43.485986 0-42.466315-49.484053-42.456318h-25.091914zM832.586686 304.002031V63.979382a63.979382 63.979382 0 0 0-63.979382-63.979382h-512.034988a63.979382 63.979382 0 0 0-63.979382 63.979382v240.022649H73.191413v400.001093h119.381527v255.997501a63.979382 63.979382 0 0 0 63.979382 63.979381h512.034989a63.979382 63.979382 0 0 0 63.979381-63.979381V704.003124H950.808587V304.002031H832.586686zM768.587311 79.974227v224.027804H256.582312V79.974227h512.004999zM636.100007 455.703143q0 40.89682-29.990335 65.558872t-75.035819 23.642381H501.85327v92.810091h-56.721721V371.480285h91.620474q99.32799 0 99.337987 84.222858z m-410.607675 120.961018l-19.593686 60.980348H144.358478l97.448596-266.234202h66.698505l95.559205 266.234202h-61.880058l-19.933576-60.980348h-96.768815z m287.087481 415.336151a31.989691 31.989691 0 1 1 31.989691-31.98969 31.989691 31.989691 0 0 1-31.989691 31.98969z m255.997501-95.969072H256.572316V704.003124h512.014995v191.998126z m61.47019-374.739234q-29.990335 24.682046-74.975838 23.64238h-29.250573v92.810091H669.099372V371.48
120285h91.600481q99.377974 0 99.347983 84.222858 0 40.89682-29.990335 65.558872z m-79.134497-105.805903h-25.091914v85.972294h24.562084q49.983892 0 49.983892-43.485986 0-42.466315-49.504046-42.456318z m-476.436461 1.889391h-1.559498a98.228344 98.228344 0 0 1-4.628508 22.482755l-30.430194 92.970039h70.977127l-30.250251-92.300255q-2.929056-8.667207-4.108676-23.152539z" p-id="3379" /></symbol>'});r.a.add(s);t.default=s},QD0x:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shuju",use:"icon-shuju-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-shuju"><path d="M684.06 144H340.267C214.983 144 144 214.983 144 340.267v343.466C144 809.017 214.983 880 340.267 880H684.06C809.344 880 880 809.017 880 683.733V340.267C880 214.983 809.344 144 684.06 144" fill="#1C9DFF" /><path d="M341.337 415C324.7 415 311 428.738 311 445.746V698.58C311 715.263 324.7 729 341.337 729 358.299 729 372 715.263 372 698.581V445.746C372 428.738 358.3 415 341.337 415M513.337 294C496.7 294 483 307.747 483 324.767V698.56c0 16.693 13.7 30.44 30.337 30.44C530.299 729 544 715.253 544 698.56V324.767c0-17.02-13.7-30.767-30.663-30.767M682.663 548C665.701 548 652 561.772 652 578.822v119.683C652 715.228 665.7 729 682.337 729 699.299 729 713 715.228 713 698.505V578.822c0-17.05-13.7-30.822-30.337-30.822" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},"R/8a":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-message"><defs><style type="text/css"></style></defs><path d="M0 202.7V631c0 83.3 68.3 150.7 152.6 150.7h228.9l8 190.3 224.9-190.3h257c84.3 0 152.6-67.4 152.6-150.7V202.7C1024 119.4 955.7 52 871.4 52H152.6C68.3 52 0 119.4 0 202.7z m658.6 237.9c0-39.7 32.1-71.4 72.3-71.4 40.2 0 72.3 31.7 72.3 71.4S771 512 730.9 512c-40.2 0-72.3-31.7-72.3-71.4z m-220.9 0c0-39.7 32.1-71.4 72.3-71.4 40.2 0 72.3 31.7 72.3 71.4S550.1 512 510 512c-40.2 0-72.3-31.7-72.3-71.4z m-216.8 0c0-39.7 32.1-71.4 72.3-71.4 40.2 0 72.3 31.7 72.3 71.4S333.3 512 293.1 512c-40.1 0-72.2-31.7-72.2-71.4z" p-id="2027" /></symbol>'});r.a.add(s);t.default=s},"R/Hx":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-table"><defs><style type="text/css"></style></defs><path d="M67.039347 100.410897l889.919259 0 0 200.231347-889.919259 0 0-200.231347Z" p-id="8434" /><path d="M67.039347 345.138668l266.976494 0 0 266.975471-266.976494 0 0-266.975471Z" p-id="8435" /><path d="M67.039347 656.610562l266.976494 0 0 266.976494-266.976494 0 0-266.976494Z" p-id="8436" /><path d="M378.511241 345.138668l266.976494 0 0 266.975471-266.976494 0 0-266.975471Z" p-id="8437" /><path d="M378.511241 656.610562l266.976494 0 0 266.976494-266.976494 0 0-266.976494Z" p-id="8438" /><path d="M689.983135 345.138668l266.976494 0 0 266.975471-266.976494 0 0-266.975471Z" p-id="8439" /><path d="M689.983135 656.610562l266.976494 0 0 266.976494-266.976494 0 0-266.976494Z" p-id="8440" /><path d="M67.039347 100.410897l889.919259 0 0 200.231347-889.919259 0 0-200.231347Z" p-id="8441" /><path d="M67.039347 345.138668l266.976494 0 0 266.975471-266.976494 0 0-266.975471Z" p-id="8442" /><path d="M67.039347 656.610562l266.976494 0 0 266.976494-266.976494 0 0-266.976494Z" p-id="8443" /><path d="M378.511241 345.138668l266.976494 0 0 266.975471-266.976494 0 0-266.975471Z" p-id="8444" /><path d="M378.511241 656.610562l266.976494 0 0 266.976494-266.976494 0 0-266.976494Z" p-id="8445" /><path d="M689.983135 345.138668l266.976494 0 0 266.975471-266.976494 0 0-266.975471Z" p-id="8446" /><path d="M689.983135 656.610562l266.976494 0 0 266.976494-266.976494 0 0-266.976494Z" p-id="8447" /></symbol>'});r.a.add(s);t.default=s},R9Ag:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-guanzhu",use:"icon-guanzhu-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-guanzhu"><path d="M503.175 927.54c-90.621-56.034-174.862-122.107-251.182-197.009-53.879-53.479-95.027-118.778-120.3-190.909-45.156-140.67 7.41-301.435 154.167-349.162 77.462-24.353 161.708-9.403 226.488 40.191 64.803-49.539 149.021-64.484 226.487-40.191 146.758 47.727 199.676 208.493 154.52 349.162-25.068 72.063-65.97 137.356-119.594 190.91-76.39 74.82-160.621 140.885-251.183 197.009L512.7 934l-9.525-6.46z" fill="#1C9DFF" /><path d="M249.526 430.97c7.968-0.515 15.388-4.506 20.523-11.038 5.134-6.532 7.531-15.032 6.63-23.508-0.863-27.919 14.99-53.33 39.436-63.218 15.502-4.24 24.889-21.064 21.011-37.655-3.68-16.324-18.933-26.474-34.264-22.8a15.186 15.186 0 0 0-5.495 2.073c-49.017 18.903-80.752 69.776-78.227 125.4 0.08 8.43 3.36 16.465 9.09 22.262 5.728 5.797 13.414 8.858 21.296 8.483z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},"RfV+":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shezhi_1",use:"icon-shezhi_1-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-shezhi_1"><path d="M512 648.294c-74.651 0-135.168-60.515-135.168-135.164 0-74.65 60.517-135.164 135.168-135.164 74.651 0 135.168 60.515 135.168 135.164 0 74.65-60.517 135.164-135.168 135.164z m0-36c54.769 0 99.168-44.397 99.168-99.164S566.769 413.966 512 413.966c-54.769 0-99.168 44.397-99.168 99.164s44.399 99.164 99.168 99.164z" fill="#007BFF" /><path d="M510.74 800.009c46.908 0 89.892 22.63 116.62 59.51 41.171-13.705 79.484-34.682 113.231-61.827-7.212-17.332-10.996-36.042-10.996-55.273 0-77.295 60.91-140.365 137.35-143.833C873.601 570.84 877 542.217 877 513.13c0-27.753-3.095-55.084-9.161-81.639-76.86-3.015-138.244-66.274-138.244-143.87 0-20.283 4.21-39.979 12.2-58.081-35.252-28.602-75.538-50.44-118.893-64.25-27.02 32.622-67.324 52.142-110.902 52.142s-83.881-19.52-110.902-52.142c-44.124 14.055-85.065 36.425-120.753 65.769 7.564 17.688 11.54 36.85 11.54 56.562 0 76.736-60.032 139.452-135.696 143.748-6.085 26.593-9.189 53.965-9.189 81.76 0 29.136 3.41 57.805 10.088 85.595 75.24 4.74 134.797 67.262 134.797 143.695 0 18.662-3.563 36.835-10.369 53.74 33.647 27.435 71.92 48.702 113.101 62.68 26.771-36.49 69.516-58.83 116.123-58.83z m-113.776 97.36c-55.274-16.525-106.174-44.842-149.402-82.789a18 18 0 0 1-4.05-21.917c8.089-15.354 12.373-32.471 12.373-50.244 0-59.637-48.347-107.983-107.987-107.983-1.373 0-2.742 0.025-4.107 0.076a18 18 0 0 1-18.006-13.138C116.01 586.424 111 550.1 111 513.13c0-35.589 4.641-70.58 13.712-104.33a18 18 0 0 1 18.198-13.31c1.657 0.076 3.32 0.113 4.988 0.113 59.64 0 107.987-48.345 107.987-107.982 0-18.632-4.71-36.538-13.56-52.436a18 18 0 0 1 3.787-22.226c45.119-39.992 98.69-69.424 156.921-85.83a18 18 0 0 1 19.742 7.168c20.015 29.282 53.097 47.135 89.225 47.135 36.128 0 69.21-17.853 89.225-47.135a18 18 0 0 1 19.742-7.168c57.468 16.19 110.404 45.071 155.16 84.279a18 18 0 0 1 3.747 22.507c-9.311 16.205-14.279 34.572-14.279 53.706 0 59.637 48.348 107.982 107.987 107.982 2.385 0 4.759-0.077 7.12-0.23a18 18 0 0 1 18.548 13.284C908.346 442.45 913 477.49 913 513.13c0 37.014-5.02 73.379-14.82 108.366a18 18 0 0 1-18.354 13.117 109.984 109.984 0 0 0-6.244-0.177c-59.64 0-107.987 48.346-107.987 107.983 0 18.274 4.53 35.853 13.061 51.528a18 18 0 0 1-4.016 22.202c-43.439 37.68-94.489 65.689-149.854 81.885a18 18 0 0 1-20.615-8.228c-19.215-33.048-54.507-53.797-93.43-53.797-38.7 0-73.817 20.509-93.113 53.253a18 18 0 0 1-20.664 8.107z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},TfVu:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-eye"><defs><style type="text/css"></style></defs><path d="M941.677063 391.710356c9.337669-14.005992 6.224772-32.68133-6.224772-43.575447-14.005992-10.894118-32.68133-7.78122-43.575447 6.224771-1.556449 1.556449-174.300768 205.426673-379.727441 205.426673-199.200878 0-379.727441-205.426673-381.28389-206.982098-10.894118-12.45056
127-31.124881-14.005992-43.575448-3.112898-12.450567 10.894118-14.005992 31.124881-3.112897 43.575448 3.112897 4.668323 40.46255 46.687322 99.600439 93.375667l-79.369676 82.48155c-12.450567 12.450567-10.894118 32.68133 1.556449 43.575448 3.112897 6.224772 10.894118 9.337669 18.675338 9.337669 7.78122 0 15.562441-3.112897 21.787213-9.337669l85.594447-88.706321c40.46255 28.013007 88.706321 54.469566 141.619438 73.14388L340.959485 707.631586c-4.668323 17.118889 4.669346 34.237779 21.787213 38.906101h9.337669c14.005992 0 26.456558-9.337669 29.568432-23.343661l32.68133-110.494556c24.90011 4.668323 51.356668 7.78122 77.813227 7.78122s52.913117-3.112897 77.813227-7.78122l32.68133 108.938108c3.112897 14.005992 17.118889 23.343661 29.569456 23.343661 3.112897 0 6.224772 0 7.78122-1.556449 17.118889-4.669346 26.456558-21.787212 21.788236-38.906102l-32.68133-108.938108c52.913117-18.675338 101.156888-45.131897 141.619438-73.14388l84.037998 87.150896c6.224772 6.224772 14.005992 9.337669 21.787212 9.337669 7.78122 0 15.562441-3.112897 21.787212-9.337669 12.450567-12.450567 12.450567-31.124881 1.556449-43.575448l-79.369675-82.48155c63.808258-46.688345 101.158934-91.820242 101.158934-91.820242z" p-id="7879" /></symbol>'});r.a.add(s);t.default=s},"Uf/o":function(e,t,n){var i={"./404.svg":"oUrx","./app.svg":"Q7z+","./audite.svg":"KF9l","./base.svg":"Pw4Y","./bianji.svg":"sdY9","./bug.svg":"F3lI","./chart.svg":"yCkv","./checked.svg":"IzEa","./checkin.svg":"cqWP","./chked.svg":"qmhx","./clipboard.svg":"vDVG","./cms.svg":"r0R6","./component.svg":"VtY+","./counted.svg":"N9W3","./dashboard.svg":"94Jb","./dingwei.svg":"xfR9","./documentation.svg":"kPu2","./drafts.svg":"gib+","./drag.svg":"m7++","./edit.svg":"qkZ8","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./eye.svg":"TfVu","./eyeOpen.svg":"NI4t","./fabulous.svg":"VoSL","./fenlei.svg":"gLue","./form.svg":"6xvN","./gerenzhongxin.svg":"+spp","./gouwuche.svg":"fzD/","./guanzhu.svg":"R9Ag","./guide.svg":"ZoO1","./huomiao.svg":"9jqe","./icon-test.svg":"rlIv","./icon.svg":"nZHn","./index.svg":"q7gV","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./linkTo.svg":"BqbS","./list.svg":"MokB","./lock.svg":"qwAt","./m_cj.svg":"sWaH","./m_fb.svg":"y7FO","./m_mang.svg":"2xSd","./m_sz.svg":"JHxe","./m_tj.svg":"hQ24","./m_zy.svg":"xN5b","./memberAdd.svg":"u3R9","./memberAdmin.svg":"hOOd","./message.svg":"R/8a","./money.svg":"MEYL","./more.svg":"PdAv","./nested.svg":"3PhE","./password.svg":"Kj24","./people.svg":"0Fbn","./peoples.svg":"LxGF","./pinglun.svg":"c3/4","./play.svg":"+08c","./qq.svg":"FDDl","./replies.svg":"sROq","./roleAdmin.svg":"qXQP","./shangpin.svg":"+fnC","./share.svg":"UwZf","./shezhi(1).svg":"Gk68","./shezhi.svg":"mqF5","./shezhi_1.svg":"RfV+","./shipin.svg":"N3tw","./shoppingCard.svg":"xsEB","./shouye(1).svg":"jC8g","./shouye.svg":"1/6u","./shuju.svg":"QD0x","./siteAdmin.svg":"ISmr","./size.svg":"hkRB","./sns.svg":"8mfp","./star.svg":"cIpu","./sysAdmin.svg":"jwXb","./sz.svg":"ZqK8","./tab.svg":"j7e1","./table.svg":"R/Hx","./tady.svg":"O/WW","./theme.svg":"5TQQ","./tianjia.svg":"HOvi","./tj.svg":"NaPQ","./ucenter.svg":"hO3E","./user.svg":"s7Vf","./userAdmin.svg":"pwDx","./wechat.svg":"gNoN","./wode.svg":"N1Y/","./wutu.svg":"lp0d","./zip.svg":"iqZD","./zuzhi.svg":"or9Q"};function o(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}o.keys=function(){return Object.keys(i)},o.resolve=a,e.exports=o,o.id="Uf/o"},UwZf:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-share",use:"icon-share-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-share"><defs><style type="text/css"></style></defs><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#FFFFFF" p-id="3992" /><path d="M274.432 513.232l364.24-190.8 14.848 28.344-364.24 190.8zM321.96 557.28l16.68-27.312 315.384 192.712-16.688 27.304z" fill="#333333" p-id="3993" /><path d="M272 512m-115.2 0a115.2 115.2 0 1 0 230.4 0 115.2 115.2 0 1 0-230.4 0Z" fill="#FFB900" p-id="3994" /><path d="M272 640c-70.4 0-128-57.6-128-128s57.6-128 128-128 128 57.6 128 128-57.6 128-128 128z m0-230.4c-56.8 0-102.4 45.6-102.4 102.4 0 56.8 45.6 102.4 102.4 102.4S374.4 568.8 374.4 512c0-56.8-45.6-102.4-102.4-102.4z" fill="#333333" p-id="3995" /><path d="M704 304m-83.2 0a83.2 83.2 0 1 0 166.4 0 83.2 83.2 0 1 0-166.4 0Z" fill="#FF7400" p-id="3996" /><path d="M704 400c-52.8 0-96-43.2-96-96s43.2-96 96-96 96 43.2 96 96-43.2 96-96 96z m0-166.4c-39.2 0-70.4 31.2-70.4 70.4s31.2 70.4 70.4 70.4 70.4-31.2 70.4-70.4-31.2-70.4-70.4-70.4z" fill="#333333" p-id="3997" /><path d="M640 736m-83.2 0a83.2 83.2 0 1 0 166.4 0 83.2 83.2 0 1 0-166.4 0Z" fill="#FFB900" p-id="3998" /><path d="M640 832c-52.8 0-96-43.2-96-96s43.2-96 96-96 96 43.2 96 96-43.2 96-96 96z m0-166.4c-39.2 0-70.4 31.2-70.4 70.4s31.2 70.4 70.4 70.4 70.4-31.2 70.4-70.4-31.2-70.4-70.4-70.4z" fill="#333333" p-id="3999" /></symbol>'});r.a.add(s);t.default=s},VdYr:function(e,t,n){},VoSL:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-fabulous",use:"icon-fabulous-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-fabulous"><defs><style type="text/css"></style></defs><path d="M257.8432 875.0592H175.104a69.9904 69.9904 0 0 1-69.8368-69.9392v-368.64A69.9392 69.9392 0 0 1 175.104 366.592h99.6352a33.9968 33.9968 0 0 1 33.9456 35.2256L291.84 842.496a33.9968 33.9968 0 0 1-33.8944 32.5632zM200.6528 434.3808a27.648 27.648 0 0 0-27.5968 27.5456v317.696a27.6992 27.6992 0 0 0 27.5968 27.5968 25.6 25.6 0 0 0 25.6-24.5248L238.5408 460.8a25.6 25.6 0 0 0-25.6-26.4704z m-25.6 0M749.1072 875.0592H398.6944a71.68 71.68 0 0 1-71.68-74.3424l14.0288-365.2608a71.68 71.68 0 0 1 71.68-68.864H430.08a10.24 10.24 0 0 0 9.5232-6.7072l54.784-153.6a116.0192 116.0192 0 0 1 224.0512 55.4496l-13.3632 93.2864a10.24 10.24 0 0 0 10.24 11.5712h101.5808a101.9392 101.9392 0 0 1 101.8368 101.1712 6.2464 6.2464 0 0 1 0 1.3824l-0.6656 6.144v1.1264l-66.56 300.0832a7.8848 7.8848 0 0 0 0 1.536 101.9392 101.9392 0 0 1-101.7344 97.024z m-351.5392-142.1824a71.68 71.68 0 0 0 71.68 74.3424h280.0128A34.0992 34.0992 0 0 0 783.36 773.12l0.768-6.8096v-1.1264l66.56-298.0352a9.6256 9.6256 0 0 0 0-3.6352 34.1504 34.1504 0 0 0-33.6896-29.1328h-179.8144a10.24 10.24 0 0 1-10.24-11.5712l24.3712-170.6496a48.0768 48.0768 0 0 0-47.7184-54.9888 48.2304 48.2304 0 0 0-45.3632 32L487.5264 427.6224a10.24 10.24 0 0 1-9.5744 6.7584 71.68 71.68 0 0 0-71.68 68.8128z m-2.8672 74.3424" fill="#666666" p-id="2537" /></symbol>'});r.a.add(s);t.default=s},"VtY+":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-component"><defs><style type="text/css"></style></defs><path d="M64 64 448 64 448 448 64 448 64 64ZM64 576 448 576 448 960 64 960 64 576ZM576 576 960 576 960 960 576 960 576 576ZM768 448C874.038669 448 960 362.038672 960 256 960 149.961328 874.038669 64 768 64 661.961328 64 576 149.961328 576 256 576 362.038672 661.961328 448 768 448Z" p-id="1662" /></symbol>'});r.a.add(s);t.default=s},Vtdi:function(e,t,n){"use strict";n.r(t);var i={};n.r(i),n.d(i,"parseTime",function(){return v.parseTime}),n.d(i,"formatTime",function(){return v.formatTime}),n.d(i,"timeAgo",function(){return P}),n.d(i,"numberFormatter",function(){return H}),n.d(i,"toThousandFilter",function(){return F});var o=n("GQeE"),a=n.n(o),r=n("Kw5r"),s=n("p46w"),l=n.n(s),d=(n("9d8Q"),n("XJYT")),c=n.n(d),u=(n("D66Q"),n("sg+I"),{name:"App",provide:function(){return{reload:this.reload}},data:function(){return{isRouterAlive:!0,isShow:-1!=location.href.indexOf("callback")}},methods:{reload:function(){var e=this;this.isRouterAlive=!1,this.$nextTick(function(){return e.isRouterAlive=!0})},refresh:function(){location.reload()}}}),m=(n("A0++"),n("KHd+")),p=Object(m.a)(u,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[this.isShow?t("div",{staticClass:"callbackbtn"},[t("el-button",{attrs:{type:"text"},on:{click:this.refresh}},[t("i",{staticClass:"el-icon-thumb"}),this._v(" 已授权成功,点击绑定")])],1):this._e(),this._v(" "),this.isRouterAlive?t("router-view"):this._e()],1)},[],!1,null,null,null);p.options.__file="App.vue";var h,g=p.exports,f=n("oYx3"),v=n("7Qib"),b=n("Q2AE"),y=n("QbLZ"),w=n.n(y),x=n("qSUR"),C=n("stYL"),_=n.n(C),N=n("8NkQ"),k=n.n(N),U=n("YEIV"),E=n.n(U),T={Gateway:{login:"登录",register:"注册",navs:[{id:1,title:"海客新闻",link:"http://www.baidu.com"},{id:2,title:"统计分析",link:"http://shichuang.haiwainet.cn/"},{id:3,title:"硬件服务",link:"http://v.haiwainet.cn/"},{id:4,title:"内容推荐",link:"http://news.haiwainet.cn/"}],title:"海外网全平台服务产品服务",services:[{id:1,name:"稿件服务",thumbnail:"/static/images/services_01.png",link:"https://www.baidu.com/",profile:"1"},{id:2,name:"视频服务",thumbnail:"/static/images/services_02.png",link:"https://www.baidu.com/",profile:"2"},{id:3,name:"消息服务",thumbnail:"/static/images/services_03.png",link:"https://www.baidu.com/",profile:"3"},{id:4,name:"SNS服务",thumbnail:"/static/images/services_04.png",link:"https://www.baidu.com/",profile:"4"}],allProducts:"全部产品",contact:"联系方式",phone:"联系电话",focus:"扫码关注",aboutUsP:"关于海外网|广告服务|联系我们|网站地图",statement:"海外网版权所有 ,未经书面授权禁止使用",Copyright:"Copyright 2011-2014 by www.haiwainet.cn all rights reserved",backToTop:"返回顶部"},route:(h={dashboard:"主页",release:"发布",releaseAdmin:"发布",publishing:"内容发布",articleDetection:"文章检测",massMessage:"群发消息",user:"用户",ucenter:"个人中心",ucenterAdmin:"基本信息",ucenterSet:"账号设置",management:"管理",articlesManagement:"内容管理",userManagement:"用户管理",material:"素材管理",comment:"评论管理",account:"账号管理",plugIns:"插件",circle:"圈子",activity:"活动",wshop:"视频商品",live:"直播",statistics:"统计",articleSta:"图文统计",videoSta:"视频统计",smallVideoSta:"小视频统计",followSta:"粉丝数统计",freshSta:"新鲜事统计",ucenterNews:"消息",ucenterAuthentication:"认证中心",transfer:"海聚管理",hmnode:"开发者中心"},E()(h,"circle","圈子管理"),E()(h,"weChatArticles","公众号授权管理"),h),login:{title:"系统登录",logIn:"登录",username:"账号",password:"密码",backToTop:"返回顶部",captcha:"验证码"},register:{title:"注册",logIn:"注册",username:"账号",password:"密码",backToTop:"返回顶部",phone:"手机号",code:"验证码"},navbar:{index:"首页",outLink:"外链",logOut:"退出登录",screenfull:"全屏"}};r.default.use(x.a);var S={en:w()({},{Gateway:{login:"login",register:"register",navs:[{id:1,title:"News",link:"http://www.baidu.com"},{id:3,title:"Statistics",link:"http://shichuang.haiwainet.cn/"},{id:4,title:"Hardware",link:"http://v.haiwainet.cn/"},{id:5,title:"Recommend",link:"http://news.haiwainet.cn/"}],title:"Overseas network full platform service product service",services:[{id:1,name:"Manuscript service",thumbnail:"/static/images/services_01.png",link:"https://www.baidu.com/",profile:"1"},{id:2,name:"Video service",thumbnail:"/static/images/services_02.png",link:"https://www.baidu.com/",profile:"2"},{id:3,name:"Message service",thumbnail:"/static/images/services_03.png",link:"https://www.baidu.com/",profile:"3"},{id:4,name:"SNS service",thumbnail:"/static/images/services_04.png",link:"https://www.baidu.com/",profile:"4"}],allProducts:"allProducts",contact:"Contact information",phone:"Telephone",focu
12s:"Scavenging concern",aboutUsP:"About haiwainet|Advertising service|Contact us|Website map",statement:"All rights reserved overseas, without written authorization",Copyright:"Copyright 2011-2014 by www.haiwainet.cn all rights reserved",backToTop:"backToTop"},route:{dashboard:"index",user:"User Admin",userAdmin:"User Admin",ucenter:"Ucenter",ucenterAdmin:"baseInfo",ucenterSet:"ucenterSet"},login:{title:"Login Form",logIn:"Log in",username:"Username",password:"Password",backToTop:"backToTop"},register:{title:"注册",logIn:"登录",username:"账号",password:"密码",backToTop:"返回顶部",phone:"手机号",code:"验证码"},navbar:{index:"index",outLink:"outLink",logOut:"Log Out",screenfull:"Screenfull"}},_.a),zh:w()({},T,k.a)},B=new x.a({locale:l.a.get("language")||"zh",messages:S}),I={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},L=(n("BJNN"),Object(m.a)(I,function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"ed09c4de",null));L.options.__file="index.vue";var A=L.exports;r.default.component("svg-icon",A);!function(e){e.keys().map(e)}(n("Uf/o"));n("vjVy");var R=n("Mj6V"),M=n.n(R),O=(n("pdi6"),n("X4fA"));M.a.configure({showSpinner:!1});var D=["/index","/login","/register","/401","/404","/upaccount"];function z(e,t){return 1===e?e+t:e+t+"s"}function P(e){var t=Date.now()/1e3-Number(e);return t<3600?z(~~(t/60)," minute"):t<86400?z(~~(t/3600)," hour"):z(~~(t/86400)," day")}function H(e,t){for(var n=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],i=0;i<n.length;i++)if(e>=n[i].value)return(e/n[i].value+.1).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[i].symbol;return e.toString()}function F(e){return(+e||0).toString().replace(/^-?\d+/g,function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")})}f.c.beforeEach(function(e,t,n){M.a.start(),Object(O.a)()&&sessionStorage.getItem("uid")||0==sessionStorage.getItem("isIdentification")?"/login"!==e.path||1!=sessionStorage.getItem("isIdentification")&&"1"!=sessionStorage.getItem("isIdentification")?0===b.a.getters.roles.length?b.a.dispatch("GetUserInfo").then(function(t){var i=t.data.roles;b.a.dispatch("GenerateRoutes",{roles:i}).then(function(){f.c.addRoutes(b.a.getters.addRouters),n(w()({},e,{replace:!0}))})}).catch(function(e){b.a.dispatch("FedLogOut").then(function(){d.Message.error(e.data.msg||e.data.message),n({path:"/"})})}):!function(e,t){return e.indexOf("admin")>=0||!t||e.some(function(e){return t.indexOf(e)>=0})}(b.a.getters.roles,e.meta.roles)?n({path:"/401",replace:!0,query:{noGoBack:!0}}):n():(n({path:"/"}),M.a.done()):-1!==D.indexOf(e.path)?n():(n("/index"),M.a.done())}),f.c.afterEach(function(){M.a.done()});n("foFG"),n("/s5+"),n("6Oif");var q=n("lT11"),V=n.n(q),j=(n("p1OT"),n("gJae"),n("FOEY"),n("BMUw")),$={name:"UE",data:function(){return{editor:null,isConfig:!1}},props:{path:"",defaultMsg:{type:String},config:{type:Object},id:{type:String}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.editor=UE.getEditor(this.id,this.config),this.editor.addListener("ready",function(){e.editor.setContent(e.defaultMsg)}),this.editor.addListener("contentChange",function(){e.editor.getContent().indexOf('class="rich_pages wxw-img"')>-1&&e.$message({message:"暂不支持来源为微信平台的照片,请保存到本地后上传",type:"warning",duration:0,showClose:!0}),e.$emit("contentChange",e.editor.getContent())}),UE.Editor.prototype._bkGetActionUrl=UE.Editor.prototype.getActionUrl,UE.Editor.prototype.getActionUrl=function(t){if(t)return"materials"==t?j.d:"uploadvideo"==t?j.a:"listimage"==t?j.b:"config"==t?e.isConfig?window.location.origin+
12"/static/UE/ueditorconfig.json":(e.isConfig=!0,this._bkGetActionUrl.call(this,t))
12:"catchimage"==t?"":this._bkGetActionUrl.call(this,t)}},setUEContent:function(){var e=this;setTimeout(function(){e.editor.setContent(e.defaultMsg)},200)},getUEContent:function(){return this.editor.getContent()},getUEContentTxt:function(){return this.editor.getContentTxt()}},destroyed:function(){this.editor.destroy()}},Y=Object(m.a)($,function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("script",{attrs:{id:this.id,type:"text/plain"}})])},[],!1,null,null,null);Y.options.__file="ue.vue";var W=Y.exports,X=n("/f1G"),K=n.n(X),G=JSON.parse('{"表情":{":bowtie:":"bowtie.png",":smile:":"smile.png",":laughing:":"laughing.png",":blush:":"blush.png",":smiley:":"smiley.png",":relaxed:":"relaxed.png",":smirk:":"smirk.png",":heart_eyes:":"heart_eyes.png",":kissing_heart:":"kissing_heart.png",":kissing_closed_eyes:":"kissing_closed_eyes.png",":flushed:":"flushed.png",":relieved:":"relieved.png",":satisfied:":"satisfied.png",":grin:":"grin.png",":wink:":"wink.png",":stuck_out_tongue_winking_eye:":"stuck_out_tongue_winking_eye.png",":stuck_out_tongue_closed_eyes:":"stuck_out_tongue_closed_eyes.png",":grinning:":"grinning.png",":kissing:":"kissing.png",":kissing_smiling_eyes:":"kissing_smiling_eyes.png",":stuck_out_tongue:":"stuck_out_tongue.png",":sleeping:":"sleeping.png",":worried:":"worried.png",":frowning:":"frowning.png",":anguished:":"anguished.png",":open_mouth:":"open_mouth.png",":grimacing:":"grimacing.png",":confused:":"confused.png",":hushed:":"hushed.png",":expressionless:":"expressionless.png",":unamused:":"unamused.png",":sweat_smile:":"sweat_smile.png",":sweat:":"sweat.png",":disappointed_relieved:":"disappointed_relieved.png",":weary:":"weary.png",":pensive:":"pensive.png",":disappointed:":"disappointed.png",":confounded:":"confounded.png",":fearful:":"fearful.png",":cold_sweat:":"cold_sweat.png",":persevere:":"persevere.png",":cry:":"cry.png",":sob:":"sob.png",":joy:":"joy.png",":astonished:":"astonished.png",":scream:":"scream.png",":neckbeard:":"neckbeard.png",":tired_face:":"tired_face.png",":angry:":"angry.png",":rage:":"rage.png",":triumph:":"triumph.png",":sleepy:":"sleepy.png",":yum:":"yum.png",":mask:":"mask.png",":sunglasses:":"sunglasses.png",":dizzy_face:":"dizzy_face.png",":imp:":"imp.png",":smiling_imp:":"smiling_imp.png",":neutral_face:":"neutral_face.png",":no_mouth:":"no_mouth.png",":innocent:":"innocent.png",":alien:":"alien.png",":yellow_heart:":"yellow_heart.png",":blue_heart:":"blue_heart.png",":purple_heart:":"purple_heart.png",":heart:":"heart.png",":green_heart:":"green_heart.png",":broken_heart:":"broken_heart.png",":heartbeat:":"heartbeat.png",":heartpulse:":"heartpulse.png",":two_hearts:":"two_hearts.png",":revolving_hearts:":"revolving_hearts.png",":cupid:":"cupid.png",":sparkling_heart:":"sparkling_heart.png",":sparkles:":"sparkles.png",":star:":"star.png",":star2:":"star2.png",":dizzy:":"dizzy.png",":boom:":"boom.png",":collision:":"collision.png",":anger:":"anger.png",":exclamation:":"exclamation.png",":question:":"question.png",":grey_exclamation:":"grey_exclamation.png",":grey_question:":"grey_question.png",":zzz:":"zzz.png",":dash:":"dash.png",":sweat_drops:":"sweat_drops.png",":notes:":"notes.png",":musical_note:":"musical_note.png",":fire:":"fire.png",":shit:":"shit.png",":thumbsup:":"thumbsup.png",":thumbsdown:":"thumbsdown.png",":ok_hand:":"ok_hand.png",":punch:":"punch.png",":facepunch:":"facepunch.png",":fist:":"fist.png",":v:":"v.png",":wave:":"wave.png",":hand:":"hand.png",":raised_hand:":"raised_hand.png",":open_hands:":"open_hands.png",":point_up:":"point_up.png",":point_down:":"point_down.png",":point_left:":"point_left.png",":point_right:":"point_right.png",":raised_hands:":"raised_hands.png",":pray:":"pray.png",":point_up_2:":"point_up_2.png",":clap:":"clap.png",":muscle:":"muscle.png",":metal:":"metal.png",":fu:":"fu.png",":runner:":"runner.png",":running:":"running.png",":couple:":"couple.png",":family:":"family.png",":two_men_holding_hands:":"two_men_holding_hands.png",":two_women_holding_hands:":"two_women_holding_hands.png",":dancer:":"dancer.png",":dancers:":"dancers.png",":ok_woman:":"ok_woman.png",":no_good:":"no_good.png",":information_desk_person:":"information_desk_person.png",":raising_hand:":"raising_hand.png",":br
12ide_with_veil:":"bride_with_veil.png",":person_with_pouting_face:":"person_with_pouting_face.png",":person_frowning:":"person_frowning.png",":bow:":"bow.png",":couplekiss:":"couplekiss.png",":couple_with_heart:":"couple_with_heart.png",":massage:":"massage.png",":haircut:":"haircut.png",":nail_care:":"nail_care.png",":boy:":"boy.png",":girl:":"girl.png",":woman:":"woman.png",":man:":"man.png",":baby:":"baby.png",":older_woman:":"older_woman.png",":older_man:":"older_man.png",":person_with_blond_hair:":"person_with_blond_hair.png",":man_with_gua_pi_mao:":"man_with_gua_pi_mao.png",":man_with_turban:":"man_with_turban.png",":construction_worker:":"construction_worker.png",":cop:":"cop.png",":angel:":"angel.png",":princess:":"princess.png",":smiley_cat:":"smiley_cat.png",":smile_cat:":"smile_cat.png",":heart_eyes_cat:":"heart_eyes_cat.png",":kissing_cat:":"kissing_cat.png",":smirk_cat:":"smirk_cat.png",":scream_cat:":"scream_cat.png",":crying_cat_face:":"crying_cat_face.png",":joy_cat:":"joy_cat.png",":pouting_cat:":"pouting_cat.png",":japanese_ogre:":"japanese_ogre.png",":japanese_goblin:":"japanese_goblin.png",":see_no_evil:":"see_no_evil.png",":hear_no_evil:":"hear_no_evil.png",":speak_no_evil:":"speak_no_evil.png",":guardsman:":"guardsman.png",":skull:":"skull.png",":feet:":"feet.png",":lips:":"lips.png",":kiss:":"kiss.png",":droplet:":"droplet.png",":ear:":"ear.png",":eyes:":"eyes.png",":nose:":"nose.png",":tongue:":"tongue.png",":love_letter:":"love_letter.png",":bust_in_silhouette:":"bust_in_silhouette.png",":busts_in_silhouette:":"busts_in_silhouette.png",":speech_balloon:":"speech_balloon.png",":thought_balloon:":"thought_balloon.png",":feelsgood:":"feelsgood.png",":finnadie:":"finnadie.png",":goberserk:":"goberserk.png",":godmode:":"godmode.png",":hurtrealbad:":"hurtrealbad.png",":rage1:":"rage1.png",":rage2:":"rage2.png",":rage3:":"rage3.png",":rage4:":"rage4.png",":suspect:":"suspect.png",":trollface:":"trollface.png"},"自然":{":sunny:":"sunny.png",":umbrella:":"umbrella.png",":cloud:":"cloud.png",":snowflake:":"snowflake.png",":snowman:":"snowman.png",":zap:":"zap.png",":cyclone:":"cyclone.png",":foggy:":"foggy.png",":ocean:":"ocean.png",":cat:":"cat.png",":dog:":"dog.png",":mouse:":"mouse.png",":hamster:":"hamster.png",":rabbit:":"rabbit.png",":wolf:":"wolf.png",":frog:":"frog.png",":tiger:":"tiger.png",":koala:":"koala.png",":bear:":"bear.png",":pig:":"pig.png",":pig_nose:":"pig_nose.png",":cow:":"cow.png",":boar:":"boar.png",":monkey_face:":"monkey_face.png",":monkey:":"monkey.png",":horse:":"horse.png",":racehorse:":"racehorse.png",":camel:":"camel.png",":sheep:":"sheep.png",":elephant:":"elephant.png",":panda_face:":"panda_face.png",":snake:":"snake.png",":bird:":"bird.png",":baby_chick:":"baby_chick.png",":hatched_chick:":"hatched_chick.png",":hatching_chick:":"hatching_chick.png",":chicken:":"chicken.png",":penguin:":"penguin.png",":turtle:":"turtle.png",":bug:":"bug.png",":honeybee:":"honeybee.png",":ant:":"ant.png",":beetle:":"beetle.png",":snail:":"snail.png",":octopus:":"octopus.png",":tropical_fish:":"tropical_fish.png",":fish:":"fish.png",":whale:":"whale.png",":whale2:":"whale2.png",":dolphin:":"dolphin.png",":cow2:":"cow2.png",":ram:":"ram.png",":rat:":"rat.png",":water_buffalo:":"water_buffalo.png",":tiger2:":"tiger2.png",":rabbit2:":"rabbit2.png",":dragon:":"dragon.png",":goat:":"goat.png",":rooster:":"rooster.png",":dog2:":"dog2.png",":pig2:":"pig2.png",":mouse2:":"mouse2.png",":ox:":"ox.png",":dragon_face:":"dragon_face.png",":blowfish:":"blowfish.png",":crocodile:":"crocodile.png",":dromedary_camel:":"dromedary_camel.png",":leopard:":"leopard.png",":cat2:":"cat2.png",":poodle:":"poodle.png",":paw_prints:":"paw_prints.png",":bouquet:":"bouquet.png",":cherry_blossom:":"cherry_blossom.png",":tulip:":"tulip.png",":four_leaf_clover:":"four_leaf_clover.png",":rose:":"rose.png",":sunflower:":"sunflower.png",":hibiscus:":"hibiscus.png",":maple_leaf:":"maple_leaf.png",":leaves:":"leaves.png",":fallen_leaf:":"fallen_leaf.png",":herb:":"herb.png",":mushroom:":"mushroom.png",":cactus:":"cactus.png",":palm_tree:":"palm_tree.png",":evergreen_tree:":"evergreen_tree.png",":deciduous_tree:":"deciduous_tree.png",":chestnut:":"chestnut.png",":seedling:":"seedling.png",":blossom:":"blossom.png",":ear_of_rice:":"ear_of_rice.png",":shell:":"shell.png",":globe_with_meri
12dians:":"globe_with_meridians.png",":sun_with_face:":"sun_with_face.png",":full_moon_with_face:":"full_moon_with_face.png",":new_moon_with_face:":"new_moon_with_face.png",":new_moon:":"new_moon.png",":waxing_crescent_moon:":"waxing_crescent_moon.png",":first_quarter_moon:":"first_quarter_moon.png",":waxing_gibbous_moon:":"waxing_gibbous_moon.png",":full_moon:":"full_moon.png",":waning_gibbous_moon:":"waning_gibbous_moon.png",":last_quarter_moon:":"last_quarter_moon.png",":waning_crescent_moon:":"waning_crescent_moon.png",":last_quarter_moon_with_face:":"last_quarter_moon_with_face.png",":first_quarter_moon_with_face:":"first_quarter_moon_with_face.png",":crescent_moon:":"crescent_moon.png",":earth_africa:":"earth_africa.png",":earth_americas:":"earth_americas.png",":earth_asia:":"earth_asia.png",":volcano:":"volcano.png",":milky_way:":"milky_way.png",":partly_sunny:":"partly_sunny.png",":octocat:":"octocat.png",":squirrel:":"squirrel.png"},"物品":{":bamboo:":"bamboo.png",":gift_heart:":"gift_heart.png",":dolls:":"dolls.png",":school_satchel:":"school_satchel.png",":mortar_board:":"mortar_board.png",":flags:":"flags.png",":fireworks:":"fireworks.png",":sparkler:":"sparkler.png",":wind_chime:":"wind_chime.png",":rice_scene:":"rice_scene.png",":jack_o_lantern:":"jack_o_lantern.png",":ghost:":"ghost.png",":santa:":"santa.png",":christmas_tree:":"christmas_tree.png",":gift:":"gift.png",":bell:":"bell.png",":no_bell:":"no_bell.png",":tanabata_tree:":"tanabata_tree.png",":tada:":"tada.png",":confetti_ball:":"confetti_ball.png",":balloon:":"balloon.png",":crystal_ball:":"crystal_ball.png",":cd:":"cd.png",":dvd:":"dvd.png",":floppy_disk:":"floppy_disk.png",":camera:":"camera.png",":video_camera:":"video_camera.png",":movie_camera:":"movie_camera.png",":computer:":"computer.png",":tv:":"tv.png",":iphone:":"iphone.png",":phone:":"phone.png",":telephone:":"telephone.png",":telephone_receiver:":"telephone_receiver.png",":pager:":"pager.png",":fax:":"fax.png",":minidisc:":"minidisc.png",":vhs:":"vhs.png",":sound:":"sound.png",":speaker:":"speaker.png",":mute:":"mute.png",":loudspeaker:":"loudspeaker.png",":mega:":"mega.png",":hourglass:":"hourglass.png",":hourglass_flowing_sand:":"hourglass_flowing_sand.png",":alarm_clock:":"alarm_clock.png",":watch:":"watch.png",":radio:":"radio.png",":satellite:":"satellite.png",":loop:":"loop.png",":mag:":"mag.png",":mag_right:":"mag_right.png",":unlock:":"unlock.png",":lock:":"lock.png",":lock_with_ink_pen:":"lock_with_ink_pen.png",":closed_lock_with_key:":"closed_lock_with_key.png",":key:":"key.png",":bulb:":"bulb.png",":flashlight:":"flashlight.png",":high_brightness:":"high_brightness.png",":low_brightness:":"low_brightness.png",":electric_plug:":"electric_plug.png",":battery:":"battery.png",":calling:":"calling.png",":email:":"email.png",":mailbox:":"mailbox.png",":postbox:":"postbox.png",":bath:":"bath.png",":bathtub:":"bathtub.png",":shower:":"shower.png",":toilet:":"toilet.png",":wrench:":"wrench.png",":nut_and_bolt:":"nut_and_bolt.png",":hammer:":"hammer.png",":seat:":"seat.png",":moneybag:":"moneybag.png",":yen:":"yen.png",":dollar:":"dollar.png",":pound:":"pound.png",":euro:":"euro.png",":credit_card:":"credit_card.png",":money_with_wings:":"money_with_wings.png",":e-mail:":"e-mail.png",":inbox_tray:":"inbox_tray.png",":outbox_tray:":"outbox_tray.png",":envelope:":"envelope.png",":incoming_envelope:":"incoming_envelope.png",":postal_horn:":"postal_horn.png",":mailbox_closed:":"mailbox_closed.png",":mailbox_with_mail:":"mailbox_with_mail.png",":mailbox_with_no_mail:":"mailbox_with_no_mail.png",":package:":"package.png",":door:":"door.png",":smoking:":"smoking.png",":bomb:":"bomb.png",":gun:":"gun.png",":hocho:":"hocho.png",":pill:":"pill.png",":syringe:":"syringe.png",":page_facing_up:":"page_facing_up.png",":page_with_curl:":"page_with_curl.png",":bookmark_tabs:":"bookmark_tabs.png",":bar_chart:":"bar_chart.png",":chart_with_upwards_trend:":"chart_with_upwards_trend.png",":chart_with_downwards_trend:":"chart_with_downwards_trend.png",":scroll:":"scroll.png",":clipboard:":"clipboard.png",":calendar:":"calendar.png",":date:":"date.png",":card_index:":"card_index.png",":file_folder:":"file_folder.png",":open_file_folder:":"open_file_folder.png",":scissors:":"scissors.png",":pushpin:":"pushpin.png",":paperclip:":"paperclip.png",":black_nib:":"black_nib.png",":pencil2:":"pencil2.png",":straight_ruler:":"straight_ruler.png",":triangular_ruler:":"triangular_ruler.png",":closed_book:":"closed_book.png",":green_book:":"green_book.png",":blue_book:":"blue_book.png",":orange_book:":"orange_book.png",":notebook:":"notebook.png",":notebook_with_decorative_cover:":"notebook_with_decorative_cover.png",":ledger:":"ledger.png",":books:":"books.png",":bookmark:":"bookmark.png",":name_badge:":"name_badge.png",":microscope:":"microscope.png",":telescope:":"telescope.png",":newspaper:":"newspaper.png",":football:":"football.png",":basketball:":"basketball.png",":soccer:":"soccer.png",":baseball:":"baseball.png",":tennis:":"tennis.png",":8ball:":"8ball.png",":rugby_football:":"rugby_football.png",":bowling:":"bowling.png",":golf:":"golf.png",":mountain_bicyclist:":"mountain_bicyclist.png",":bicyclist:":"bicyclist.png",":horse_racing:":"horse_racing.png",":snowboarder:":"snowboarder.png",":swimmer:":"swimmer.png",":surfer:":"surfer.png",":ski:":"ski.png",":spades:":"spades.png",":hearts:":"hearts.png",":clubs:":"clubs.png",":diamonds:":"diamonds.png",":gem:":"gem.png",":ring:":"ring.png",":trophy:":"trophy.png",":musical_score:":"musical_score.png",":musical_keyboard:":"musical_keyboard.png",":violin:":"violin.png",":space_invader:":"space_invader.png",":video_game:":"video_game.png",":black_joker:":"black_joker.png",":flower_playing_cards:":"flower_playing_cards.png",":game_die:":"game_die.png",":dart:":"dart.png",":mahjong:":"mahjong.png",":clapper:":"clapper.png",":memo:":"memo.png",":pencil:":"pencil.png",":book:":"book.png",":art:":"art.png",":microphone:":"microphone.png",":headphones:":"headphones.png",":trumpet:":"trumpet.png",":saxophone:":"saxophone.png",":guitar:":"guitar.png",":shoe:":"shoe.png",":sandal:":"sandal.png",":high_heel:":"high_heel.png",":lipstick:":"lipstick.png",":boot:":"boot.png",":shirt:":"shirt.png",":tshirt:":"tshirt.png",":necktie:":"necktie.png",":womans_clothes:":"womans_clothes.png",":dress:":"dress.png",":running_shirt_with_sash:":"running_shirt_with_sash.png",":jeans:":"jeans.png",":kimono:":"kimono.png",":bikini:":"bikini.png",":ribbon:":"ribbon.png",":tophat:":"tophat.png",":crown:":"crown.png",":womans_hat:":"womans_hat.png",":mans_shoe:":"mans_shoe.png",":closed_umbrella:":"closed_umbrella.png",":br
12iefcase:":"briefcase.png",":handbag:":"handbag.png",":pouch:":"pouch.png",":purse:":"purse.png",":eyeglasses:":"eyeglasses.png",":fishing_pole_and_fish:":"fishing_pole_and_fish.png",":coffee:":"coffee.png",":tea:":"tea.png",":sake:":"sake.png",":baby_bottle:":"baby_bottle.png",":beer:":"beer.png",":beers:":"beers.png",":cocktail:":"cocktail.png",":tropical_drink:":"tropical_drink.png",":wine_glass:":"wine_glass.png",":fork_and_knife:":"fork_and_knife.png",":pizza:":"pizza.png",":hamburger:":"hamburger.png",":fries:":"fries.png",":poultry_leg:":"poultry_leg.png",":meat_on_bone:":"meat_on_bone.png",":spaghetti:":"spaghetti.png",":curry:":"curry.png",":fried_shrimp:":"fried_shrimp.png",":bento:":"bento.png",":sushi:":"sushi.png",":fish_cake:":"fish_cake.png",":rice_ball:":"rice_ball.png",":rice_cracker:":"rice_cracker.png",":rice:":"rice.png",":ramen:":"ramen.png",":stew:":"stew.png",":oden:":"oden.png",":dango:":"dango.png",":egg:":"egg.png",":bread:":"bread.png",":doughnut:":"doughnut.png",":custard:":"custard.png",":icecream:":"icecream.png",":ice_cream:":"ice_cream.png",":shaved_ice:":"shaved_ice.png",":birthday:":"birthday.png",":cake:":"cake.png",":cookie:":"cookie.png",":chocolate_bar:":"chocolate_bar.png",":candy:":"candy.png",":lollipop:":"lollipop.png",":honey_pot:":"honey_pot.png",":apple:":"apple.png",":green_apple:":"green_apple.png",":tangerine:":"tangerine.png",":lemon:":"lemon.png",":cherries:":"cherries.png",":grapes:":"grapes.png",":watermelon:":"watermelon.png",":strawberry:":"strawberry.png",":peach:":"peach.png",":melon:":"melon.png",":banana:":"banana.png",":pear:":"pear.png",":pineapple:":"pineapple.png",":sweet_potato:":"sweet_potato.png",":eggplant:":"eggplant.png",":tomato:":"tomato.png",":corn:":"corn.png"},"地点":{":house:":"house.png",":house_with_garden:":"house_with_garden.png",":school:":"school.png",":office:":"office.png",":post_office:":"post_office.png",":hospital:":"hospital.png",":bank:":"bank.png",":convenience_store:":"convenience_store.png",":love_hotel:":"love_hotel.png",":hotel:":"hotel.png",":wedding:":"wedding.png",":church:":"church.png",":department_store:":"department_store.png",":euro
12pean_post_office:":"european_post_office.png",":city_sunrise:":"city_sunrise.png",":city_sunset:":"city_sunset.png",":japanese_castle:":"japanese_castle.png",":european_castle:":"european_castle.png",":tent:":"tent.png",":factory:":"factory.png",":tokyo_tower:":"tokyo_tower.png",":japan:":"japan.png",":mount_fuji:":"mount_fuji.png",":sunrise_over_mountains:":"sunrise_over_mountains.png",":sunrise:":"sunrise.png",":stars:":"stars.png",":statue_of_liberty:":"statue_of_liberty.png",":bridge_at_night:":"bridge_at_night.png",":carousel_horse:":"carousel_horse.png",":rainbow:":"rainbow.png",":ferris_wheel:":"ferris_wheel.png",":fountain:":"fountain.png",":roller_coaster:":"roller_coaster.png",":ship:":"ship.png",":speedboat:":"speedboat.png",":boat:":"boat.png",":sailboat:":"sailboat.png",":rowboat:":"rowboat.png",":anchor:":"anchor.png",":rocket:":"rocket.png",":airplane:":"airplane.png",":helicopter:":"helicopter.png",":steam_locomotive:":"steam_locomotive.png",":tram:":"tram.png",":mountain_railway:":"mountain_railway.png",":bike:":"bike.png",":aerial_tramway:":"aerial_tramway.png",":suspension_railway:":"suspension_railway.png",":mountain_cableway:":"mountain_cableway.png",":tractor:":"tractor.png",":blue_car:":"blue_car.png",":oncoming_automobile:":"oncoming_automobile.png",":car:":"car.png",":red_car:":"red_car.png",":taxi:":"taxi.png",":oncoming_taxi:":"oncoming_taxi.png",":articulated_lorry:":"articulated_lorry.png",":bus:":"bus.png",":oncoming_bus:":"oncoming_bus.png",":rotating_light:":"rotating_light.png",":police_car:":"police_car.png",":oncoming_police_car:":"oncoming_police_car.png",":fire_engine:":"fire_engine.png",":ambulance:":"ambulance.png",":minibus:":"minibus.png",":truck:":"truck.png",":train:":"train.png",":station:":"station.png",":train2:":"train2.png",":bullettrain_front:":"bullettrain_front.png",":bullettrain_side:":"bullettrain_side.png",":light_rail:":"light_rail.png",":monorail:":"monorail.png",":railway_car:":"railway_car.png",":trolleybus:":"trolleybus.png",":ticket:":"ticket.png",":fuelpump:":"fuelpump.png",":vertical_traffic_light:":"vertical_traffic_light.png",":traffic_light:":"traffic_light.png",":warning:":"warning.png",":construction:":"construction.png",":beginner:":"beginner.png",":atm:":"atm.png",":slot_machine:":"slot_machine.png",":busstop:":"busstop.png",":barber:":"barber.png",":hotsprings:":"hotsprings.png",":checkered_flag:":"checkered_flag.png",":crossed_flags:":"crossed_flags.png",":izakaya_lantern:":"izakaya_lantern.png",":moyai:":"moyai.png",":circus_tent:":"circus_tent.png",":performing_arts:":"performing_arts.png",":round_pushpin:":"round_pushpin.png",":triangular_flag_on_post:":"triangular_flag_on_post.png",":jp:":"jp.png",":kr:":"kr.png",":cn:":"cn.png",":us:":"us.png",":fr:":"fr.png",":es:":"es.png",":it:":"it.png",":ru:":"ru.png",":gb:":"gb.png",":uk:":"uk.png",":de:":"de.png"},"符号":{":one:":"one.png",":two:":"two.png",":three:":"three.png",":four:":"four.png",":five:":"five.png",":six:":"six.png",":seven:":"seven.png",":eight:":"eight.png",":nine:":"nine.png",":keycap_ten:":"keycap_ten.png",":1234:":"1234.png",":zero:":"zero.png",":hash:":"hash.png",":symbols:":"symbols.png",":arrow_backward:":"arrow_backward.png",":arrow_down:":"arrow_down.png",":arrow_forward:":"arrow_forward.png",":arrow_left:":"arrow_left.png",":capital_abcd:":"capital_abcd.png",":abcd:":"abcd.png",":abc:":"abc.png",":arrow_lower_left:":"arrow_lower_left.png",":arrow_lower_right:":"arrow_lower_right.png",":arrow_right:":"arrow_right.png",":arrow_up:":"arrow_up.png",":arrow_upper_left:":"arrow_upper_left.png",":arrow_upper_right:":"arrow_upper_right.png",":arrow_double_down:":"arrow_double_down.png",":arrow_double_up:":"arrow_double_up.png",":arrow_down_small:":"arrow_down_small.png",":arrow_heading_down:":"arrow_heading_down.png",":arrow_heading_up:":"arrow_heading_up.png",":leftwards_arrow_with_hook:":"leftwards_arrow_with_hook.png",":arrow_right_hook:":"arrow_right_hook.png",":left_right_arrow:":"left_right_arrow.png",":arrow_up_down:":"arrow_up_down.png",":arrow_up_small:":"arrow_up_small.png",":arrows_clockwise:":"arrows_clockwise.png",":arrows_counterclockwise:":"arrows_counterclockwise.png",":rewind:":"rewind.png",":fast_forward:":"fast_forward.png",":information_source:":"information_source.png",":ok:":"ok.png",":twisted_rightwards_arrows:":"twisted_rightwards_arrows.png",":repeat:":"repeat.png",":repeat_one:":"repeat_one.png",":new:":"new.png",":top:":"top.png",":up:":"up.png",":cool:":"cool.png",":free:":"free.png",":ng:":"ng.png",":cinema:":"cinema.png",":koko:":"koko.png",":signal_strength:":"signal_strength.png",":u5272:":"u5272.png",":u5408:":"u5408.png",":u55b6:":"u55b6.png",":u6307:":"u6307.png",":u6708:":"u6708.png",":u6709:":"u6709.png",":u6e80:":"u6e80.png",":u7121:":"u7121.png",":u7533:":"u7533.png",":u7a7a:":"u7a7a.png",":u7981:":"u7981.png",":sa:":"sa.png",":restroom:":"restroom.png",":mens:":"mens.png",":womens:":"womens.png",":baby_symbol
12:":"baby_symbol.png",":no_smoking:":"no_smoking.png",":parking:":"parking.png",":wheelchair:":"wheelchair.png",":metro:":"metro.png",":baggage_claim:":"baggage_claim.png",":accept:":"accept.png",":wc:":"wc.png",":potable_water:":"potable_water.png",":put_litter_in_its_place:":"put_litter_in_its_place.png",":secret:":"secret.png",":congratulations:":"congratulations.png",":m:":"m.png",":passport_control:":"passport_control.png",":left_luggage:":"left_luggage.png",":customs:":"customs.png",":ideograph_advantage:":"ideograph_advantage.png",":cl:":"cl.png",":sos:":"sos.png",":id:":"id.png",":no_entry_sign:":"no_entry_sign.png",":underage:":"underage.png",":no_mobile_phones:":"no_mobile_phones.png",":do_not_litter:":"do_not_litter.png",":non-potable_water:":"non-potable_water.png",":no_bicycles:":"no_bicycles.png",":no_pedestrians:":"no_pedestrians.png",":children_crossing:":"children_crossing.png",":no_entry:":"no_entry.png",":eight_spoked_asterisk:":"eight_spoked_asterisk.png",":sparkle:":"sparkle.png",":eight_pointed_black_star:":"eight_pointed_black_star.png",":heart_decoration:":"heart_decoration.png",":vs:":"vs.png",":vibration_mode:":"vibration_mode.png",":mobile_phone_off:":"mobile_phone_off.png",":chart:":"chart.png",":currency_exchange:":"currency_exchange.png",":aries:":"aries.png",":taurus:":"taurus.png",":gemini:":"gemini.png",":cancer:":"cancer.png",":leo:":"leo.png",":virgo:":"virgo.png",":libra:":"libra.png",":scorpius:":"scorpius.png",":sagittarius:":"sagittarius.png",":capricorn:":"capricorn.png",":aquarius:":"aquarius.png",":pisces:":"pisces.png",":ophiuchus:":"ophiuchus.png",":six_pointed_star:":"six_pointed_star.png",":negative_squared_cross_mark:":"negative_squared_cross_mark.png",":a:":"a.png",":b:":"b.png",":ab:":"ab.png",":o2:":"o2.png",":diamond_shape_with_a_dot_inside:":"diamond_shape_with_a_dot_inside.png",":recycle:":"recycle.png",":end:":"end.png",":back:":"back.png",":on:":"on.png",":soon:":"soon.png",":clock1:":"clock1.png",":clock130:":"clock130.png",":clock10:":"clock10.png",":clock1030:":"clock1030.png",":clock11:":"clock11.png",":clock1130:":"clock1130.png",":clock12:":"clock12.png",":clock1230:":"clock1230.png",":clock2:":"clock2.png",":clock230:":"clock230.png",":clock3:":"clock3.png",":clock330:":"clock330.png",":clock4:":"clock4.png",":clock430:":"clock430.png",":clock5:":"clock5.png",":clock530:":"clock530.png",":clock6:":"clock6.png",":clock630:":"clock630.png",":clock7:":"clock7.png",":clock730:":"clock730.png",":clock8:":"clock8.png",":clock830:":"clock830.png",":clock9:":"clock9.png",":clock930:":"clock930.png",":heavy_dollar_sign:":"heavy_dollar_sign.png",":copyright:":"copyright.png",":registered:":"registered.png",":tm:":"tm.png",":x:":"x.png",":heavy_exclamation_mark:":"heavy_exclamation_mark.png",":bangbang:":"bangbang.png",":interrobang:":"interrobang.png",":o:":"o.png",":heavy_multiplication_x:":"heavy_multiplication_x.png",":heavy_plus_sign:":"heavy_plus_sign.png",":heavy_minus_sign:":"heavy_minus_sign.png",":heavy_division_sign:":"heavy_division_sign.png",":white_flower:":"white_flower.png",":100:":"100.png",":heavy_check_mark:":"heavy_check_mark.png",":ballot_box_with_check:":"ballot_box_with_check.png",":radio_button:":"radio_button.png",":link:":"link.png",":curly_loop:":"curly_loop.png",":wavy_dash:":"wavy_dash.png",":part_alternation_mark:":"part_alternation_mark.png",":trident:":"trident.png",":black_small_square:":"black_small_square.png",":white_small_square:":"white_small_square.png",":black_medium_small_square:":"black_medium_small_square.png",":white_medium_small_square:":"white_medium_small_square.png",":black_medium_square:":"black_medium_square.png",":white_medium_square:":"white_medium_square.png",":black_large_square:":"black_square.png",":white_large_square:":"white_large_square.png",":white_check_mark:":"white_check_mark.png",":black_square_button:":"black_square_button.png",":white_square_button:":"white_square_button.png",":black_circle:":"black_circle.png",":white_circle:":"white_circle.png",":red_circle:":"red_circle.png",":large_blue_circle:":"large_blue_circle.png",":large_blue_diamond:":"large_blue_diamond.png",":large_orange_diamond:":"large_orange_diamond.png",":small_blue_diamond:":"small_blue_diamond.png",":small_orange_diamond:":"small_orange_diamond.png",":small_red_triangle:":"small_red_triangle.png",":small_red_triangle_down:":"small_red_triangle_down.png",":shipit:":"shipit.png"}}'),Z={};K()(G).forEach(function(e){Z=w()({},Z,e)}),r.default.directive("dialogDrag",{bind:function(e,t,n,i){var o=e.querySelector(".el-dialog__header"),a=e.querySelector(".el-dialog");o.style.cursor="move";var r=a.currentStyle||window.getComputedStyle(a,null);o.onmousedown=function(e){var t=e.clientX-o.offsetLeft,n=e.clientY-o.offsetTop,i=void 0,s=void 0;r.left.includes("%")?(i=+document.body.clientWidth*(+r.left.replace(/\%/g,"")/100),s=+document.body.clientHeight*(+r.top.replace(/\%/g,"")/100)):(i=+r.left.replace(/\px/g,""),s=+r.top.replace(/\px/g,"")),document.onmousemove=function(e){var o=e.clientX-t,r=e.clientY-n;a.style.left=o+i+"px",a.style.top=r+s+"px"},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}}),r.default.directive("dialogDragWidth",{bind:function(e,t,n,i){var o=t.value.$el.querySelector(".el-dialog");e.onmousedown=function(t){var n=t.clientX-e.offsetLeft;document.onmousemove=function(e){e.preventDefault();var t=e.clientX-n;o.style.width=t+"px"},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}});var Q,J,ee,te,ne=n("chKg"),ie=n.n(ne);n("36R9");function oe(e){for(var t=0;t<e.slides.length;t++)for(var n=e.slides[t].querySelectorAll(".ani"),i=0;i<n.length;i++)n[i].attributes["swiper-animate-style-cache"]&&n[i].setAttribute("style",n[i].attributes["swiper-animate-style-cache"].value),n[i].style.visibility="hidden",n[i].className=n[i].className.replace("animated"," "),n[i].attributes["swiper-animate-effect"]&&(Q=n[i].attributes["swiper-animate-effect"].value,
12n[i].className=n[i].className.replace(Q," "))}var ae=n("d+3G"),re=n.n(ae);r.default.prototype.util=v,r.default.component("UE",W),r.default.use(V.a),r.default.prototype.emoji=function(e){if(e)return a()(Z).forEach(function(t){e=e.replace(new RegExp(t,"g"),function(e){return"<img src=./static/emoji/"+Z[e]+' width="16px" height="16px">'}(t))}),e},r.default.use(re.a),r.default.use(ie.a),r.default.prototype.$swiperAnimateCache=function(e){for(var t=0;t<e.slides.length;t++)for(var n=e.slides[t].querySelectorAll(".ani"),i=0;i<n.length;i++)n[i].attributes.style?n[i].setAttribute("swiper-animate-style-cache",n[i].attributes.style.value):n[i].setAttribute("swiper-animate-style-cache"," "),n[i].style.visibility="hidden"},r.default.prototype.$swiperAnimate=function(e){oe(e);for(var t=e.slides[e.activeIndex].querySelectorAll(".ani"),n=0;n<t.length;n++)t[n].style.visibility="visible",Q=t[n].attributes["swiper-animate-effect"]?t[n].attributes["swiper-animate-effect"].value:"",t[n].className=t[n].className+"  "+Q+" animated",J=t[n].attributes.style.value,(ee=t[n].attributes["swiper-animate-duration"]?t[n].attributes["swiper-animate-duration"].value:"")&&(J=J+"animation-duration:"+ee+";-webkit-animation-duration:"+ee+";"),(te=t[n].attributes["swiper-animate-delay"]?t[n].attributes["swiper-animate-delay"].value:"")&&(J=J+"animation-delay:"+te+";-webkit-animation-delay:"+te+";"),t[n].setAttribute("style",J)},r.default.prototype.$clearSwiperAnimate=oe,r.default.use(c.a,{size:l.a.get("size")||"medium",i18n:function(e,t){return B.t(e,t)}}),a()(i).forEach(function(e){r.default.filter(e,i[e])}),r.default.config.productionTip=!1,new r.default({el:"#app",router:f.c,store:b.a,i18n:B,render:function(e){return e(g)}})},X4fA:function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return l});var i=n("p46w"),o=n.n(i),a="hkh-Token";function r(e){return o.a.set(a,e)}function s(){return o.a.get(a)}function l(){return o.a.remove(a)}},XbRs:function(e,t,n){"use strict";var i=n("qPrx");n.n(i).a},YT4C:function(e,t,n){},Yfch:function(e,t,n){"use strict";function i(e){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(e)}function o(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o})},ZZmv:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-excel"><defs><style type="text/css"></style></defs><path d="M625.664 132.608V199.68h309.76v43.008h-309.76V312.32h309.76v43.008h-309.76v68.608h309.76v43.008h-309.76v68.608h309.76v43.008h-309.76v68.608h309.76v43.008h-309.76v68.096h309.76v43.008h-309.76v89.088H1024v-757.76h-398.336zM0 914.944L577.024 1024V0L0 109.056" p-id="10098" /><path d="M229.376 660.48H139.776l118.272-187.904-112.64-180.736h92.16l65.536 119.808L370.688 291.84h89.088l-112.64 177.664L466.944 660.48H373.248l-70.144-125.44L229.376 660.48z" p-id="10099" /></symbol>'});r.a.add(s);t.default=s},ZoO1:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 1117 1024",content:'<symbol class="icon" viewBox="0 0 1117 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-guide"><defs><style type="text/css"></style></defs><path d="M53.865 558.08l289.92 121.6 560-492.16-491.52 530.56 371.84 140.8c8.96 3.2 19.2-1.28 22.4-10.24V848l260.48-816.64-1014.4 494.72c-8.96 4.48-12.16 14.72-8.32 23.68 2.56 3.84 5.76 7.04 9.6 8.32z m357.76 434.56l144.64-155.52-144.64-58.88v214.4z" p-id="10275" /></symbol>'});r.a.add(s);t.default=s},ZqK8:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-sz",use:"icon-sz-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-sz"><defs><style type="text/css"></style></defs><path d="M715 752.3c-29 23.8-61.9 42.3-97.3 54.6v69.6c0 28.7-23.2 51.9-51.9 51.9H458.5c-28.7 0-51.9-23.2-51.9-51.9v-69.6c-35.4-12.3-68.4-30.8-97.3-54.6l-58.9 34c-24.8 14.3-56.5 5.8-70.9-19l-53.6-93c-14.3-24.8-5.9-56.5 18.9-70.9l56.1-32.4c-7.3-38.2-7.3-77.4 0-115.6L144.8 423c-24.8-14.3-33.3-46.1-19-70.9l53.6-93c14.3-24.8 46.1-33.3 70.9-19l58.9 34c29-23.8 61.9-42.4 97.4-54.7v-69.5c0-28.7 23.2-51.9 51.9-51.9h107.3c28.7 0 51.9 23.2 51.9 51.9v69.6c35.9 12.5 68.7 31.1 97.3 54.6l58.9-34c24.8-14.3 56.5-5.8 70.9 19l53.6 93c14.3 24.8 5.8 56.5-19 70.9l-56.1 32.4c7.3 38.2 7.3 77.4 0 115.6l56.1 32.4c24.8 14.3 33.3 46.1 19 70.9l-53.6 93c-14.3 24.8-46.1 33.3-70.9 19l-58.9-34zM512.1 669c87.4 0 158.3-69.7 158.3-155.7s-70.9-155.7-158.3-155.7-158.3 69.7-158.3 155.7S424.7 669 512.1 669z" p-id="13069" fill="#999999" /></symbol>'});r.a.add(s);t.default=s},"c3/4":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-pinglun",use:"icon-pinglun-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-pinglun"><path d="M258 703.943h135.433c9.942 0 18 8.059 18 18s-8.058 18-18 18H240c-9.941 0-18-8.059-18-18V178c0-9.941 8.059-18 18-18h544c9.941 0 18 8.059 18 18v543.943c0 9.941-8.059 18-18 18H651.422c-9.941 0-18-8.059-18-18s8.059-18 18-18H766V196H258v507.943z" fill="#333333" /><path d="M380.28 734.97c-7.195-6.862-7.465-18.255-0.605-25.45 6.861-7.194 18.255-7.464 25.45-0.603L534.97 832.743c7.194 6.86 7.465 18.254 0.604 25.449-6.86 7.194-18.255 7.464-25.449 0.603L380.28 734.97z" fill="#333333" /><path d="M665.403 734.97c7.194-6.862 7.464-18.255 0.604-25.45-6.861-7.194-18.255-7.464-25.45-0.603L510.713 832.743c-7.194 6.86-7.464 18.254-0.604 25.449 6.86 7.194 18.255 7.464 25.449 0.603L665.403 734.97zM364.07 431.39c-9.94 0-18-8.058-18-18 0-9.94 8.06-18 18-18h333.397c9.94 0 18 8.06 18 18 0 9.942-8.06 18-18 18H364.07z" fill="#333333" /><path d="M364.07 577.714c-9.94 0-18-8.059-18-18 0-9.94 8.06-18 18-18h158.478c9.94 0 18 8.06 18 18 0 9.941-8.06 18-18 18H364.07z" fill="#007BFF" /></symbol>'});r.a.add(s);t.default=s},cIpu:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-star"><defs><style type="text/css"></style></defs><path d="M565.272827 34.627285l112.095872 237.542288c8.706637 18.321022 25.411424 31.051641 44.82285 33.996289l250.776598 38.081157c48.697387 7.411435 68.22505 70.046082 32.933559 105.979639l-181.494353 184.937155c-13.998147 14.230618-20.352386 34.815477-17.05903 54.93539l42.819161 261.127145c8.346858 50.695541-42.64204 89.451974-86.225039 65.51841l-224.307979-123.271141c-17.285968-9.525824-37.992596-9.525824-55.278564 0l-224.313514 123.271141c-43.582999 23.933565-94.571897-14.822869-86.219504-65.51841l42.813626-261.127145c3.321031-20.119914-3.088559-40.704772-17.086706-54.93539l-181.439002-184.937155c-35.285956-35.933557-15.819179-98.57374 32.933559-105.979639l250.748923-38.081157c19.350541-2.939112 36.083003-15.675267 44.75643-33.996289l112.123547-237.542288C480.497972-11.540583 543.509003-11.540583 565.272827 34.627285z" p-id="9771" /></symbol>'});r.a.add(s);t.default=s},cnRS:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"e",function(){return a}),n.d(t,"h",function(){return r}),n.d(t,"d",function(){return s}),n.d(t,"c",function(){return l}),n.d(t,"b",function(){return d}),n.d(t,"j",function(){return c}),n.d(t,"g",function(){return u}),n.d(t,"f",function(){return m}),n.d(t,"i",function(){return p});var i=n("t3Un");function o(e){return Object(i.a)({url:"/media/search/pgc/"+e,method:"get"})}function a(){return Object(i.a)({url:"/media/member/info",method:"get"})}function r(e){return Object(i.a)({url:"/media/member/"+e,method:"delete"})}
12function s(e,t){return Object(i.a)({url:"/media/pgc/"+e,method:"put",data:t})}function l(e){return Object(i.a)({url:"/media/pgc/mail/verify",method:"post",data:e})}function d(e){return Object(i.a)({url:"/media/permission/verify/phone",method:"post",data:e})}function c(){return Object(i.a)({url:"/media/pgc/ugcs",method:"get"})}function u(e){return Object(i.a)({url:"/media/member/invite",method:"post",data:e})}function m(e){return Object(i.a)({url:"/search/loginHistory",method:"post",data:e})}function p(e,t){return Object(i.a)({url:"/media/pgc/mod/admin/"+t,method:"post",data:e})}},cqWP:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-checkin",use:"icon-checkin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-checkin"><defs><style type="text/css"></style></defs><path d="M823.105925 311.102933c0-171.518505-139.585425-311.10393-311.108917-311.10393-171.518505 0-311.10393 139.585425-311.10393 311.10393 0 115.835328 63.674674 217.065953 157.846292 270.59293-163.382396 62.50183-279.829079 221.901941-279.82908 408.192699 0 18.838313 15.272906 34.111219 34.111219 34.111219a34.038415 34.038415 0 0 0 34.112216-34.111219c0-199.064388 157.417446-361.739687 353.189693-367.986878 3.87657 0.144611 7.76411 0.241351 11.674587 0.24135 171.522494 0 311.107919-139.522594 311.10792-311.040101z m-553.921594-0.063829c0.141619-134.044334 108.76934-242.677042 242.812677-242.817664 134.043337 0.175528 242.672056 108.77333 242.881492 242.817664-0.207442 132.495502-106.346858 240.115933-238.250951 242.752839a34.59392 34.59392 0 0 0-4.630541-0.320139c-3.536485 0-7.062996 0.045877-10.579534 0.131646-129.130556-5.670742-232.095513-112.067466-232.233143-242.564346zM767.105602 637.183566c-15.181153-11.1869-36.557636-7.94961-47.744537 7.231542-11.185903 15.186139-7.94961 36.556639 7.231543 47.743539 94.395017 69.864021 150.132048 180.293893 150.274664 297.729915a34.038415 34.038415 0 0 0 34.111219 34.111219 33.986554 33.986554 0 0 0 34.111219-34.047391c-0.166552-139.12666-66.177939-269.966616-177.984108-352.768824z" fill="#707070" p-id="29410" /></symbol>'});r.a.add(s);t.default=s},fe1z:function(e,t,n){"use strict";n.d(t,"g",function(){return o}),n.d(t,"l",function(){return a}),n.d(t,"c",function(){return r}),n.d(t,"f",function(){return s}),n.d(t,"i",function(){return l}),n.d(t,"d",function(){return d}),n.d(t,"j",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"h",function(){return m}),n.d(t,"a",function(){return p}),n.d(t,"k",function(){return h}),n.d(t,"e",function(){return g});var i=n("t3Un");function o(e){return Object(i.a)({url:"/authentication/login",method:"post",data:e})}function a(e){return Object(i.a)({url:"/authentication/qr/every/info",method:"post",data:e})}function r(e,t){return Object(i.a)({url:"/authentication/login/"+t,method:"POST",data:e})}function s(e,t){return Object(i.a)({url:"/media/pgc/identification/"+t,method:"post",data:e})}function l(e){return Object(i.a)({url:"/authentication/sms/every/captcha",method:"post",data:e})}function d(e){return Object(i.a)({url:"/authentication/mail/every/captcha",method:"post",data:e})}function c(e){return Object(i.a)({url:"/media/pgc/retrieve/every/pwd",method:"post",data:e})}function u(e){return Object(i.a)({url:"/media/pgc/modify/pwd",method:"post",data:e})}function m(e){return Object(i.a)({url:"/search/every/mediaSearch",method:"post",data:e})}function p(e){return Object(i.a)({url:"/media/every/accountAppeal",method:"post",data:e})}function h(e){return Object(i.a)({url:"/authentication/token/refresh",method:"post",data:e})}function g(e){return Object(i.a)({url:"/authentication/every/captcha",method:"post",data:e})}},foFG:function(e,t){!function(){window.UEDITOR_HOME_URL="/static/UE/";var e=window.UEDITOR_HOME_URL||t();function t(e,t){return function(e,t){var n=t;/^(\/|\\\\)/.test(t)?n=/^.+?\w(\/|\\\\)/.exec(e)[0]+t.replace(/^(\/|\\\\)/,""):/^[a-z]+:/i.test(t)||(e=e.split("#")[0].split("?")[0].replace(/[^\\\/]+$/,""),n=e+""+t);return function(e){var t=/^[a-z]+:\/\//.exec(e)[0],n=null,i=[];(e=(e=e.replace(t,"").split("?")[0].split("#")[0]).replace(/\\/g,"/").split(/\//))[e.length-1]="";for(;e.length;)".."===(n=e.shift())?i.pop():"."!==n&&i.push(n);return t+i.join("/")}(n)}(e||self.document.URL||self.location.href,t||function(){var e=document.getElementsByTagName("script");return e[e.length-1].src}())}window.UEDITOR_CONFIG={UEDITOR_HOME_URL:e,serverUrl:window.location.origin+"/static/UE/ueditorconfig.json",toolbars:[["fullscreen","removeformat","cleardoc","undo","redo","selectall","bold","formatmatch","forecolor","touppercase","tolowercase","autotypeset","justifyleft","justifycenter","justifyright","justifyjustify","insertorderedlist","insertunorderedlist","insertimage","insertvideo","horizontal"]],initialFrameHeight:400,initialFrameWidth:"100%",autotypeset:{mergeEmptyline:!0,removeClass:!0,removeEmptyline:!1,textAlign:"left",imageBlockLine:"center",pasteFilter:!1,clearFontSize:!1,clearFontFamily:!1,removeEmptyNode:!1,removeTagNames:{"标签名字":1},indent:!1,indentValue:"2em",bdc2sb:!1,tobdc:!1},xssFilterRules:!0,inputXssFilter:!1,catchRemoteImageEnable:!0,outputXssFilter:!0,zIndex:2e3,whitList:{a:["target","href","title","class","style"],abbr:["title","class","style"],address:["class","style"],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src","class","style"],b:["class","style"],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite","class","style"],br:[],caption:["class","style"],center:[],cite:[],code:["class","style"],col:["align","valign","span","width","class","style"],colgroup:["align","valign","span","width","class","style"],dd:["class","style"],del:["datetime"],details:["open"],div:["class","style"],dl:["class","style"],dt:["class","style"],em:["class","style"],font:["color","size","face"],footer:[],h1:["class","style"],h2:["class","style"],h3:["class","style"],h4:["class","style"],h5:["class","style"],h6:["class","style"],header:[],hr:[],i:["class","style"],img:["style","src","alt","title","width","height","id","_src","loadingclass","class","data-latex"],ins:["datetime"],li:["class","style"],mark:[],nav:[],ol:["class","style"],p:["class","style"],pre:["class","style"],s:[],section:["class","style"],small:[],span:["class","style"],sub:["class","style"],sup:["class","style"],strong:["class","style"],table:["width","border","align","valign","class","style"],tbody:["align","valign","class","style"],td:["width","rowspan","colspan","align","valign","class","style"],tfoot:["align","valign","class","style"],th:["width","rowspan","colspan","align","valign","class","style"],thead:["align","valign","class","style"],tr:["rows
12pan","align","valign","class","style"],tt:[],u:[],ul:["class","style"],video:["autoplay","controls","loop","preload","src","height","width","class","style","poster"],source:["src","type"],embed:["type","class","pluginspage","src","width","height","align","style","wmode","play","autoplay","loop","menu","allowscriptaccess","allowfullscreen","controls","preload"],iframe:["src","class","height","width","max-width","max-height","align","frameborder","allowfullscreen"]}},window.UE={getUEBasePath:t}}()},"fzD/":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-gouwuche",use:"icon-gouwuche-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-gouwuche"><path d="M203.094 393.5L245.748 809h531.35l44.624-415.5H203.094z m-19.942-36h658.607c10.702 0 19.04 9.282 17.897 19.922l-48.49 451.5c-0.983 9.145-8.7 16.078-17.898 16.078H229.501c-9.229 0-16.963-6.98-17.906-16.162l-46.35-451.5c-1.088-10.612 7.239-19.838 17.907-19.838z" fill="#333333" /><path d="M398.057 218.44v244.487c0 9.942-8.06 18-18 18-9.941 0-18-8.058-18-18V200.44c0-9.942 8.059-18 18-18h276.39c9.94 0 18 8.058 18 18v262.487c0 9.942-8.06 18-18 18-9.942 0-18-8.058-18-18V218.44h-240.39z" fill="#333333" /><path d="M362.399 743.242c-9.941 0-18-8.058-18-18 0-9.94 8.059-18 18-18h301.63c9.94 0 18 8.06 18 18 0 9.942-8.06 18-18 18h-301.63z" fill="#007BFF" /></symbol>'});r.a.add(s);t.default=s},gLue:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-fenlei",use:"icon-fenlei-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-fenlei"><path d="M206 192v240h240V192H206z m-18-36h276c9.941 0 18 8.059 18 18v276c0 9.941-8.059 18-18 18H188c-9.941 0-18-8.059-18-18V174c0-9.941 8.059-18 18-18zM206 594v240h240V594H206z m-18-36h276c9.941 0 18 8.059 18 18v276c0 9.941-8.059 18-18 18H188c-9.941 0-18-8.059-18-18V576c0-9.941 8.059-18 18-18z" fill="#333333" /><path d="M578 192v240h240V192H578z m-18-36h276c9.941 0 18 8.059 18 18v276c0 9.941-8.059 18-18 18H560c-9.941 0-18-8.059-18-18V174c0-9.941 8.059-18 18-18z" fill="#007BFF" /><path d="M578 594v240h240V594H578z m-18-36h276c9.941 0 18 8.059 18 18v276c0 9.941-8.059 18-18 18H560c-9.941 0-18-8.059-18-18V576c0-9.941 8.059-18 18-18z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},gNoN:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-wechat"><defs><style type="text/css"></style></defs><path d="M669.029188 317.395814c10.181291 0 20.235686 0.748037 30.23789 1.865487C672.100256 192.728466 536.831031 98.730629 382.414962 98.730629c-172.618362 0-314.03484 117.659747-314.03484 267.066545 0 86.2422 47.044337 157.061129 125.674313 211.988112l-31.406554 94.467535 109.75511-55.05285c39.302708 7.78122 70.80955 15.765055 110.010947 15.765055 9.849726 0 19.624747-0.481977 29.323017-1.243317-6.144182-20.996197-9.69827-42.982954-9.69827-65.792449C402.040732 428.732551 519.845498 317.395814 669.029188 317.395814zM500.167537 232.256738c23.639342 0 39.302708 15.550161 39.302708 39.185464 0 23.536043-15.66439 39.300075-39.302708 39.300075-23.535984 0-47.146672-15.765055-47.146672-39.300075C453.021889 247.806899 476.632577 232.256738 500.167537 232.256738zM280.402504 310.7433c-23.537007 0-47.300174-15.765055-47.300174-39.300075 0-23.635303 23.76419-39.185464 47.300174-39.185464 23.53496 0 39.200373 15.550161 39.200373 39.185464C319.602877 294.978245 303.937464 310.7433 280.402504 310.7433z" p-id="9338" /><path d="M955.617831 562.14712c0-125.543298-125.622123-227.882104-266.733643-227.882104-149.41292 0-267.090791 102.338806-267.090791 227.882104 0 125.770472 117.677871 227.879034 267.090791 227.879034 31.278636 0 62.837668-7.896854 94.243199-15.765055l86.119862 47.170323-23.612735-78.473259C908.675829 695.672206 955.617831 632.965026 955.617831 562.14712zM602.306891 522.858302c-15.638806 0-31.431114-15.549138-31.431114-31.416524 0-15.651468 15.792308-31.405267 31.431114-31.405267 23.73963 0 39.302708 15.754822 39.302708 31.405267C641.609599 507.309164 626.04652 522.858302 602.306891 522.858302zM775.027587 522.858302c-15.538518 0-31.201884-15.549138-31.201884-31.416524 0-15.651468 15.66439-31.405267 31.201884-31.405267 23.535984 0 39.300661 15.754822 39.300661 31.405267C814.329272 507.309164 798.563571 522.858302 775.027587 522.858302z" p-id="9339" /></symbol>'});r.a.add(s);t.default=s},"gib+":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-drafts",use:"icon-drafts-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-drafts"><defs><style type="text/css"></style></defs><path d="M745.54211 581.409646H356.361132c-16.573928 0-29.91688 11.893636-29.916879 26.671454 0 14.761923 13.341507 26.659893 29.916879 26.659893h389.180978c16.591268 0 30.019473-11.897971 30.019474-26.659893 0.001445-14.667999-13.4441-26.671453-30.019474-26.671454z m0-186.770976H356.361132c-7.932944 0-15.562442 2.796038-21.164632 7.791336-5.60219 4.990963-8.769588 11.799712-8.752247 18.883007 0 7.06451 3.148613 13.85592 8.752247 18.867113 5.60219 5.011193 13.208568 7.807231 21.140068 7.787001h389.179533c16.599938 0 30.025253-11.96444 30.025253-26.633884 0.001445-14.667999-13.42387-26.694573-29.999244-26.694573zM745.54211 768.157503H356.361132c-16.573928 0-29.91688 11.893636-29.916879 26.671453 0 14.761923 13.341507 26.659893 29.916879 26.659893h389.180978c16.591268 0 30.019473-11.897971 30.019474-26.659893 0.001445-14.669444-13.4441-26.671453-30.019474-26.671453z" fill="#231815" p-id="3231" /><path d="M877.581554 1002.475568H224.469077c-60.103971 0-108.996337-60.505676-108.996337-134.886055V311.65632c0-74.36015 48.892366-134.854266 108.996337-134.854265h653.112477c60.102526 0 108.994892 60.494116 108.994892 134.854265v555.933193c0 74.38038-48.892366 134.886055-108.994892 134.886055zM224.469077 228.7231c-35.624553 0-64.609421 37.199582-64.609421 82.93322V867.595293c0 45.740863 28.984867 82.95923 64.609421 82.95923h653.112477c35.623108 0 64.607976-37.218367 64.607976-82.95923V311.65632c0-45.732193-28.984867-82.937555-64.607976-82.937555H224.469077v0.004335z m0 0" fill="#231815" p-id="3232" /><path d="M219.290266 1002.475568H127.492089c-60.102526 0-108.996337-60.505676-108.996336-134.886055V159.038907c0-74.3746 48.892366-134.87883 108.996336-134.87883h653.112477c60.115531 0 109.018011 60.504231 109.018012 134.87883v43.72078h-44.389806v-43.72078c0-45.739418-28.993537-82.957785-64.629651-82.957785H127.492089c-35.623108 0-64.607976 37.218367-64.607975 82.957785v708.552051c0 45.746643 28.984867 82.96501 64.607975 82.96501h91.798177v51.9196z m0 0" fill="#231815" p-id="3233" /></symbol>'});r.a.add(s);t.default=s},hO3E:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-ucenter",use:"icon-ucenter-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-ucenter"><defs><style type="text/css"></style></defs><path d="M511.977999 128.720663c-211.663724 0-383.278313 171.598216-383.278313 383.278313s171.614589 383.279337 383.278313 383.279337c211.685213 0 383.28957-171.59924 383.28957-383.279337S723.664236 128.720663 511.977999 128.720663zM738.052944 688.881546c0 2.333138-0.280386 4.599761-0.796132 6.776334-0.035816 2.082428-0.072655 2.724041-0.106424 0.462534-3.234671 12.737092-14.806217 22.168905-28.582989 22.168905L315.390645 718.28932c-16.281825 0-29.486568-13.173021-29.486568-29.407774l0-9.80532c0-2.142803 0.23536-4.229325 0.672312-6.242168 1.549286-44.340881 35.697013-55.084573 35.697013-55.084573l101.329826-33.355689 34.279734-18.437931-0.23843-37.95545c0 0-25.608238-12.205996-25.660426-42.669822-1.122567-0.094144-2.307555-0.187265-3.701299-0.35918-18.268062-2.323928-33.92567-30.823006-35.267225-50.161447-1.341554-19.348674 14.535041-20.992103 14.535041-20.992103l13.849426 4.559852c0 0-6.040576-17.96107-6.040576-68.028373 0-23.003923 6.16542-34.268478 18.444071-41.614793 0-0.083911-0.030699-0.177032-0.030699-0.280386 0 0-18.413372-43.470047 79.994915-44.343951 94.843088 0.873903 94.614891 81.721233 94.614891 81.721233l-0.313132 29.673833-2.817162 38.874379c1.007957-0.379647 13.390985-0.561795 14.648628-0.561795 11.051707 0 10.168594 21.895683 10.168594 21.895683s-13.319353 46.932915-31.586392 49.256844c-1.600451 0.192382-2.942005 0.306992-4.199649 0.38988-3.306302 24.994254-28.717042 41.85834-28.717042 41.85834l0 39.739073 33.614585 17.476023 104.760972 33.697473c0 0 30.191626 10.021238 32.894178 52.570309 0.788969 2.654456 1.218758 5.462408 1.218758 8.372691L738.054991 688.881546z" p-id="1610" /></symbol>'});r.a.add(s);t.default=s},hOOd:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-memberAdmin",use:"icon-memberAdmin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-memberAdmin"><defs><style type="text/css"></style></defs><path d="M798.483692 659.574154A431.576615 431.576615 0 0 0 512 551.384615C272.738462 551.384615 78.769231 745.353846 78.769231 984.615385a39.384615 39.384615 0 0 1-78.769231 0c0-226.146462 146.628923-418.067692 349.971692-485.848616a275.692308 275.692308 0 1 1 324.017231 0 511.488 511.488 0 0 1 179.396923 104.290462l-0.118154 0.039384a39.384615 39.384615 0 1 1-54.784 56.477539zM512 472.615385a196.923077 196.923077 0 1 0 0-393.846154 196.923077 196.923077 0 0 0 0 393.846154z m-48.167385 551.384615L354.461538 748.307692h66.993231l77.430154 204.012308L573.833846 748.307692h65.496616l-109.568 275.692308h-65.929847z m205.154462 0v-275.692308h61.794461v275.692308h-61.794461z m120.635077 0v-275.692308h99.131077c37.572923 0 62.070154 1.378462 73.452307 4.135385 17.565538 4.135385 32.216615 13.115077 44.071385 26.978461 11.815385 13.863385 17.723077 31.744 17.723077 53.681231 0 16.935385-3.426462 31.192615-10.24 42.692923a78.532923 78.532923 0 0 1-25.993846 27.175385 94.562462 94.562462 0 0 1-32.019692 13.075692c-14.729846 2.638769-36.115692 3.938462-64.07877 3.938462h-40.251077V1024h-61.833846z m61.794461-229.060923v78.257231h33.792c24.339692 0 40.644923-1.457231 48.836923-4.332308 8.192-2.914462 14.651077-7.404308 19.298462-13.548308a34.500923 34.500923 0 0 0 7.010462-21.42523 33.595077 33.595077 0 0 0-9.846154-24.812308 44.189538 44.189538 0 0 0-24.812308-12.248616c-7.364923-1.260308-22.173538-1.890462-44.465231-1.890461h-29.814154z" p-id="6379" /></symbol>'});r.a.add(s);t.default=s},hQ24:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-m_tj",use:"icon-m_tj-usage",viewBox:"0 0 1107 1024",content:'<symbol class="icon" viewBox="0 0 1107 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-m_tj"><defs><style type="text/css"></style></defs><path d="M229.748364 1023.906909V342.760727c0-27.159273-20.875636-48.058182-45.940364-48.058182H45.963636c-25.041455 0-45.940364 22.970182-45.940363 48.058182v681.146182h229.725091z m292.375272 0V50.245818c0-27.182545-20.875636-50.152727-45.940363-50.152727h-137.844364c-25.064727 0-45.940364 22.970182-45.940364 50.152727v973.661091h229.725091z m292.375273 0V593.477818c0-27.159273-20.875636-50.129455-45.940364-50.129454h-137.82109c-25.064727 0-45.963636 22.970182-45.963637 50.129454v430.429091h229.725091z m292.375273 0V342.760727c0-27.159273-20.875636-48.058182-45.940364-48.058182h-137.844363c-25.041455 0-45.940364 22.970182-45.940364 48.058182v681.146182h229.725091z" p-id="13787" fill="#999999" /></symbol>'});r.a.add(s);t.default=s},hkRB:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-size"><defs><style type="text/css">@font-face { font-family: rbicon; src: url("chrome-extension://dipiagiiohfljcicegpgffpbnjmgjcnf/fonts/rbicon.woff2") format("woff2"); font-weight: normal; font-style: normal; }\r\n</style></defs><path d="M64 512l384 0 0 128-128 0 0 384-128 0 0-384-128 0zM960 256l-251.74016 0 0 768-136.4992 0 0-768-251.74016 0 0-128 640 0z" p-id="13540" /></symbol>'});r.a.add(s);t.default=s},iqZD:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-zip"><defs><style type="text/css"></style></defs><path d="M619.364365 933.396352c1.372783 0.06385 2.681715 0.191551 4.054497 0.191551h309.291099a65.670086 65.670086 0 0 0 65.606235-65.606235V150.974154a65.670086 65.670086 0 0 0-65.606235-65.606235H623.418862c-1.372783 0-2.71364 0.127701-4.054497 0.191551V-0.031925L15.691224 80.547217v858.404116l603.673141 82.654279v-88.20926z m0-810.101325c1.340857-0.191551 2.681715-0.415027 4.054497-0.415027h309.291099c15.515635 0 28.12608 12.610444 28.12608 28.12608v717.007513a28.158005 28.158005 0 0 1-28.12
12608 28.12608H623.418862c-1.372783 0-2.71364-0.223476-4.054497-0.415028V123.326952zM248.329977 605.429026l-143.918691-3.671395v-23.401154l86.868402-133.255682v-1.181231l-78.919033 1.308932v-36.043523l134.564614-3.51177v26.082869l-87.506906 133.734559v1.149307l88.911614 1.404707v37.352456z m72.406297 1.85166l-44.759096-1.149306v-201.192456l44.759096-1.149306v203.491068z m171.087015-92.966111c-16.664942 15.356009-41.151551 22.060296-69.341481 21.868745a113.81325 113.81325 0 0 1-16.122213-1.05353v74.353733l-46.099954-1.181231v-202.788714c14.238628-2.809415 34.383414-5.171878 63.179923-5.938083 29.498862-0.766204 50.792954 4.309899 65.191208 15.292159 13.887451 10.439532 23.305378 27.966454 23.305378 48.845518s-7.119314 38.629462-20.080936 50.601403z m-65.925487-79.174435a80.13219 80.13219 0 0 0-19.538207 2.202837v61.392113c4.022572 0.92583 8.970974 1.213157 15.834887 1.213156 25.380514-0.031925 41.215401-12.897771 41.215401-34.479189 0-19.378581-13.63205-30.712019-37.480156-30.296992z m306.322058-296.233702h73.523679v30.328917h-73.523679v-30.328917z m-73.555604 45.397599h73.523679v30.360842h-73.523679v-30.360842z m73.555604 49.675573h73.523679v30.360842h-73.523679v-30.360842z m0 95.903227h73.523679v30.328917h-73.523679v-30.328917z m-73.555604-48.717818h73.523679v30.328917h-73.523679v-30.328917z m72.821325 376.142417a72.7894 72.7894 0 0 0 72.7894-72.821325l-13.440499-121.986095c0-40.225721-19.155105-72.821325-59.380827-72.821325s-59.348901 32.595604-59.348901 72.821325l-13.472424 121.986095a72.7894 72.7894 0 0 0 72.821325 72.821325z m-24.103508-133.862261h48.207015v101.84131h-48.207015v-101.84131z" p-id="2562" /></symbol>'});r.a.add(s);t.default=s},j7e1:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-tab"><defs><style type="text/css"></style></defs><path d="M622.276923 39.384615H401.723077c-13.784615 0-23.630769 11.815385-23.630769 25.6v49.23077c0 13.784615 11.815385 25.6 23.630769 25.6h220.553846c13.784615 0 23.630769-11.815385 23.630769-25.6V64.984615c1.969231-13.784615-9.846154-25.6-23.630769-25.6z m336.738462 0H738.461538c-13.784615 0-25.6 11.815385-25.6 25.6v49.23077c0 13.784615 11.815385 25.6 25.6 25.6h220.553847c13.784615-1.969231 25.6-11.815385 25.6-25.6V64.984615c0-13.784615-11.815385-25.6-25.6-25.6z m0 165.415385H334.769231c-13.784615 0-25.6-11.815385-25.6-25.6V64.984615c0-13.784615-11.815385-25.6-25.6-25.6H64.984615C51.2 39.384615 39.384615 51.2 39.384615 64.984615v896c0 11.815385 11.815385 23.630769 25.6 23.63077h894.03077c13.784615 0 25.6-11.815385 25.6-25.6v-728.615385c0-13.784615-11.815385-25.6-25.6-25.6z" p-id="1385" /></symbol>'});r.a.add(s);t.default=s},jC8g:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shouye(1)",use:"icon-shouye(1)-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-shouye(1)"><path d="M788 76c34.794 0 63 28.206 63 63v154c0 34.794-28.206 63-63 63s-63-28.206-63-63V139c0-34.794 28.206-63 63-63z" fill="#333333" /><path d="M387.877 894.9V761.185c-0.001-33.884 27.572-61.413 61.725-61.626h125.405c34.306 0 62.116 27.59 62.116 61.626v133.327c0 29.39 23.9 53.274 53.522 53.488h85.557c39.958 0.102 78.315-15.574 106.607-43.57C911.1 876.437 927 838.423 927 798.78V418.95c0-32.021-14.308-62.397-39.067-82.941l-290.658-230.61c-50.807-40.337-123.373-39.034-172.676 3.1l-284.407 227.51C114.263 355.948 98.766 386.413 98 418.95v379.441C98 881.018 165.515 948 248.798 948h83.604c14.262 0.102 27.976-5.447 38.098-15.416 10.122-9.97 15.814-23.534 15.814-37.684h1.563z" fill="#1C9DFF" /></symbol>'});r.a.add(s);t.default=s},ja87:function(e,t,n){"use strict";var i=n("DuDB");n.n(i).a},jwXb:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-sysAdmin",use:"icon-sysAdmin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-sysAdmin"><defs><style type="text/css"></style></defs><path d="M1008.024094 402.058644l-4.228976-16.836901-17.322898-1.133994c-45.761732-2.997982-86.718492-28.334834-109.537358-67.741603-22.797866-39.532768-24.210858-87.725486-3.775978-128.917244l7.739954-15.605909-12.520926-12.109929c-21.351875-20.649879-44.176741-39.33677-67.841603-55.543674l-18.869889-12.921925-0.650996 0.872995a516.025976 516.025976 0 0 0-91.685463-44.779737l-2.994982-1.142994c-12.494927-4.485974-23.84486-8.147952-34.695797-11.193934l-16.645903-4.671973-9.603943 14.375916c-25.487851 38.145776-67.873602 60.918643-113.389336 60.918643-45.505733 0-87.931485-22.812866-113.486335-61.022642l-9.606944-14.364916-16.637902 4.669972c-11.183934 3.138982-22.913866 6.957959-34.865796 11.349934l-2.535985 0.878995a516.059976 516.059976 0 0 0-88.923479 43.014748l-0.551997-1.110994-22.614867 15.523909c-23.482862 16.119906-46.08873 34.686797-67.189607 55.183677l-12.465927 12.109929 7.723955 15.568909c20.45488 41.234758 19.045888 89.420476-3.768978 128.899245-22.782867 39.427769-63.734627 64.759621-109.547358 67.759602l-17.322898 1.133994-4.228976 16.836901C5.377968 444.254397 0.003 486.306151 0.003 527.045912c0 40.737761 5.374969 82.790515 15.973906 124.986267l4.228976 16.834902 17.320898 1.136993c45.837731 3.006982 86.749492 28.324834 109.445359 67.740603 22.786866 39.514768 24.228858 87.719486 3.855977 128.950245l-7.685955 15.554909 12.442927 12.088929c21.118876 20.52188 43.893743 39.18977 67.690604 55.487675l18.829889 12.894924 0.584997-0.779995a515.916977 515.916977 0 0 0 92.044461 44.963736l2.729984 1.044994c12.03093 4.384974 23.722861 8.190952 34.752796 11.312934l16.709902 4.730972 9.619944-14.458915C423.985516 971.294309 466.398267 948.464443 512 948.464443c45.507733 0 87.934485 22.812866 113.488335 61.022642l9.652943 14.435915 16.698903-4.770972c11.360933-3.244981 23.035865-7.047959 34.695796-11.296933l2.730984-1.046994a515.954977 515.954977 0 0 0 91.889462-44.867737l0.577997 0.772995 18.856889-12.859925c23.92186-16.314904 46.754726-35.038795 67.864602-55.648673l12.401928-12.10893-7.701955-15.526909c-20.45488-41.236758-19.047888-89.422476 3.764978-128.899244 22.785866-39.427769 63.738627-64.758621 109.549358-67.758603l17.322898-1.134994 4.228976-16.836901c10.597938-42.195753 15.972906-84.248506 15.972906-124.987268 0.002-40.677762-5.372969-82.697515-15.970906-124.893268z m-42.483751 222.323698c-54.418681 8.850948-102.107402 41.388757-129.878239 89.442475-27.827837 48.155718-32.111812 105.83638-12.387928 157.490078a457.967317 457.967317 0 0 1-32.39581 26.866842l-20.965877 14.341916c-30.285823 20.239881-63.030631 36.940784-97.33143 49.645709l-2.554985 0.978995a483.956164 483.956164 0 0 1-15.628908 5.391968c-34.917795-42.70575-86.942491-67.731603-142.398166-67.731603-55.571674 0-107.607369 25.059853-142.438165 67.823602a496.65109 496.65109 0 0 1-15.586909-5.386968l-2.555985-0.980994c-34.278799-12.695926-67.005607-29.385828-97.27243-49.60571l-22.415869-15.522909-0.011 0.015a469.607248 469.607248 0 0 1-30.998818-25.790849c19.612885-51.615698 15.30091-109.27036-12.457927-157.408077-27.676838-48.064718-75.343559-80.614528-129.80124-89.472476-7.171958-33.003807-10.802937-65.706615-10.802936-97.433429s3.629979-64.429622 10.802936-97.433429c54.419681-8.849948 102.109402-41.388757 129.876239-89.440476 27.825837-48.147718 32.114812-105.81538 12.402928-157.461078 12.043929-10.931936 24.539856-21.160876 37.362781-30.58382l15.882907-10.588938c30.105824-20.130882 62.648633-36.767785 96.735433-49.453711a40.593762 40.593762 0 0 0 2.990982-1.044993l0.237999-0.091a453.773341 453.773341 0 0 1 15.630908-5.424968c34.919795 42.72075 86.952491 67.757603 142.419166 67.757603 55.478675 0 107.47937-25.000854 142.340166-67.672604a531.350887 531.350887 0 0 1 15.798907 5.407969l2.348987 0.904994c34.335799 12.716925 67.115607 29.442827 97.431429 49.712709l15.087911 9.922942c13.110923 9.591944 25.904848 20.023883 38.243776 31.188817-19.665885 51.587698-15.37691 109.23736 12.423927 157.444078 27.817837 48.040719 75.506558 80.570528 129.86724 89.421476 7.170958 32.995807 10.800937 65.666615 10.800936 97.338429-0.001 31.725814-3.630979 64.429622-10.802936 97.43243z" p-id="4844" /><path d="M512 353.33493c-95.822439 0-173.779982 77.957543-173.779982 173.780981 0 95.822439 77.957543 173.778982 173.779982 173.778982 49.956707 0 97.542428-21.530874 130.551235-59.074654 8.687949-9.882942 7.721955-24.937854-2.160987-33.628803-9.882942-8.687949-24.937854-7.72195
125-33.627803 2.161988-23.96386 27.25484-58.502657 42.887749-94.762445 42.887748-69.545593 0-126.125261-56.579668-126.125261-126.125261 0-69.546593 56.579668-126.125261 126.125261-126.125261 69.546593 0 126.126261 56.579668 126.126261 126.125261 0 1.957989-0.045 3.938977-0.133999 5.888966-0.600996 13.145923 9.569944 24.288858 22.716867 24.888854 13.144923 0.592997 24.287858-9.569944 24.888854-22.714867 0.121999-2.669984 0.182999-5.382968 0.182999-8.062953-0.001-95.823439-77.957543-173.780982-173.780982-173.780981z" p-id="4845" /></symbol>'});r.a.add(s);t.default=s},k6Ve:function(e,t,n){},kPu2:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-documentation"><defs><style type="text/css"></style></defs><path d="M554.666667 384h234.666666L554.666667 149.333333V384M256 85.333333h341.333333l256 256v512a85.333333 85.333333 0 0 1-85.333333 85.333334H256a85.333333 85.333333 0 0 1-85.333333-85.333334V170.666667c0-47.36 37.973333-85.333333 85.333333-85.333334m384 682.666667v-85.333333H256v85.333333h384m128-170.666667v-85.333333H256v85.333333h512z" fill="" p-id="5673" /></symbol>'});r.a.add(s);t.default=s},lp0d:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-wutu",use:"icon-wutu-usage",viewBox:"0 0 1194 1024",content:'<symbol class="icon" viewBox="0 0 1194 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-wutu"><defs><style type="text/css"></style></defs><path d="M1029.717333 44.458667H157.610667a80.810667 80.810667 0 0 0-81.749334 82.773333v769.536a82.517333 82.517333 0 0 0 81.749334 82.773333h872.106666a84.309333 84.309333 0 0 0 81.749334-82.773333V127.232a82.517333 82.517333 0 0 0-81.749334-82.773333zM342.954667 185.173333A88.32 88.32 0 0 1 430.165333 273.066667a86.613333 86.613333 0 0 1-87.210666 88.661333 88.234667 88.234667 0 0 1 0-176.554667z m-62.72 670.208A43.690667 43.690667 0 0 1 256 847.104a33.024 33.024 0 0 1-2.730667-49.664l168.96-239.957333a37.205333 37.205333 0 0 1 48.810667-5.546667L618.24 657.066667l264.533333-286.805334c13.653333-13.824 79.018667-85.333333 117.248-5.546666v487.936c0 2.730667-719.530667 2.730667-719.530666 2.730666z m0 0" p-id="1985" fill="#d81e06" /></symbol>'});r.a.add(s);t.default=s},"m7++":function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-drag"><defs><style type="text/css"></style></defs><path d="M574.957891 267.016403 511.503696 267.016403l204.64896 0L511.212054 63.654762l-203.361641 203.361641L449.041086 267.016403l0 189.662641L258.687714 456.679044l0 125.916804L449.041086 582.595848l0 190.354396 125.916804 0L574.957891 582.595848l188.874695 0L763.832586 456.679044 574.957891 456.679044 574.957891 267.016403zM511.25401 960.345238l189.620685-187.394994L323.125305 772.950244 511.25401 960.345238zM71.291696 518.891967l187.394994 189.620685L258.68669 330.762239 71.291696 518.891967zM763.832586 330.762239l0 377.74939 188.874695-189.620685L763.832586 330.762239z" p-id="9008" /></symbol>'});r.a.add(s);t.default=s},mqF5:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shezhi",use:"icon-shezhi-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-shezhi"><path d="M300 353c-45.84 0-83-37.16-83-83s37.16-83 83-83 83 37.16 83 83-37.16 83-83 83z m0-36c25.957 0 47-21.043 47-47s-21.043-47-47-47-47 21.043-47 47 21.043 47 47 47z" fill="#333333" /><path d="M109 288.5c-9.941 0-18-8.059-18-18s8.059-18 18-18h108.26c9.941 0 18 8.059 18 18s-8.059 18-18 18H109z m267.84 0c-9.94 0-18-8.059-18-18s8.06-18 18-18H915.5c9.941 0 18 8.059 18 18s-8.059 18-18 18H376.84zM109 530.5c-9.941 0-18-8.059-18-18s8.059-18 18-18h537.777c9.94 0 18 8.059 18 18s-8.06 18-18 18H109z m683.513 0c-9.94 0-18-8.059-18-18s8.06-18 18-18H915.5c9.941 0 18 8.059 18 18s-8.059 18-18 18H792.513zM300 837c-45.84 0-83-37.16-83-83s37.16-83 83-83 83 37.16 83 83-37.16 83-83 83z m0-36c25.95
127 0 47-21.043 47-47s-21.043-47-47-47-47 21.043-47 47 21.043 47 47 47z" fill="#333333" /><path d="M109 772.5c-9.941 0-18-8.059-18-18s8.059-18 18-18h104.32c9.94 0 18 8.059 18 18s-8.06 18-18 18H109z m278.896 0c-9.941 0-18-8.059-18-18s8.059-18 18-18H915.5c9.941 0 18 8.059 18 18s-8.059 18-18 18H387.896z" fill="#333333" /><path d="M717 595c-45.84 0-83-37.16-83-83s37.16-83 83-83 83 37.16 83 83-37.16 83-83 83z m0-36c25.957 0 47-21.043 47-47s-21.043-47-47-47-47 21.043-47 47 21.043 47 47 47z" fill="#007BFF" /></symbol>'});r.a.add(s);t.default=s},nZHn:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-icon"><defs><style type="text/css"></style></defs><path d="M871.424 61.44q18.432 0 34.816 6.656t28.672 18.944 19.456 28.672 7.168 35.84l0 720.896q0 38.912-25.088 64.512t-62.976 25.6l-721.92 0q-40.96 0-66.048-26.624t-25.088-66.56l0-718.848q0-35.84 24.576-62.464t65.536-26.624l720.896 0zM633.856 829.44q18.432 0 26.624-8.704t8.192-23.04q0-13.312-8.192-22.528t-26.624-9.216l-62.464 0q1.024-2.048 1.024-6.144l0-507.904 63.488 0q18.432 0 25.6-9.216t7.168-22.528-7.168-22.528-25.6-9.216l-249.856 0q-18.432 0-25.6 9.216t-7.168 22.528 7.168 22.528 25.6 9.216l57.344 0 0 507.904q0 2.048 0.512 3.072t0.512 3.072l-56.32 0q-18.432 0-26.624 9.216t-8.192 22.528q0 14.336 8.192 23.04t26.624 8.704l245.76 0z" p-id="14765" /></symbol>'});r.a.add(s);t.default=s},oUrx:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-404"><defs><style type="text/css"></style></defs><path d="M931.6 585.6l0 79c28.6-60.2 44.8-127.4 44.8-198.4C976.4 211 769.4 4 514.2 4S52 211 52 466.2c0 3.2 0.2 6.4 0.2 9.6l166-206 96.4 0L171.8 485.6l46.4 0 0-54.8 99.2-154.6 0 209.4 0 100 0 82.4-99.2 0 0-82.4L67.6 585.6c43 161 170.6 287.4 332.4 328.6-10.4 26.2-40.6 89.4-90.8 100.6-62.2 14 168.8 3.4 333.6-104.6 126.6-36.6 230.8-125.8 287.4-242.2l-97.6 0 0-82.4-166.2 0 0-87.2 
120-12.8L666.4 476l166.2-206.2 94 0-140.4 215.8 46.4 0 0-59 99.2-154 0 213.2L931.8 585.6zM366.2 608c-4.8-11.2-7.2-23.2-7.2-36L359 357.6c0-12.8 2.4-24.8 7.2-36 4.8-11.2 11.4-21 19.6-29.2 8.2-8.2 18-14.8 29.2-19.6 11.2-4.8 23.2-7.2 36-7.2l81.6 0c12.8 0 24.8 2.4 36 7.2 11 4.8 20.6 11.2 28.8 19.2l-88.6 129.4 0-23c0-4.8-1.6-8.8-4.8-12-3.2-3.2-7.2-4.8-12-4.8-4.8 0-8.8 1.6-12 4.8-3.2 3.2-4.8 7.2-4.8 12l0 72L372.6 620C370.2 616.2 368 612.2 366.2 608zM624.4 572c0 12.8-2.4 24.8-7.2 36-4.8 11.2-11.4 21-19.6 29.2-8.2 8.2-18 14.8-29.2 19.6-11.2 4.8-23.2 7.2-36 7.2l-81.6 0c-12.8 0-24.8-2.4-36-7.2-11.2-4.8-21-11.4-29.2-19.6-3.6-3.6-7-7.8-10-12l99.2-144.6 0 50.6c0 4.8 1.6 8.8 4.8 12 3.2 3.2 7.2 4.8 12 4.8 4.8 0 8.8-1.6 12-4.8 3.2-3.2 4.8-7.2 4.8-12l0-99.6 92.6-135.2c6.6 7.4 12 15.8 16 25.2 4.8 11.2 7.2 23.2 7.2 36L624.2 572z" p-id="10207" /></symbol>'});r.a.add(s);t.default=s},oYx3:function(e,t,n){"use strict";var i=n("Kw5r"),o=n("jE9Z"),a=n("QbLZ"),r=n.n(a),s=n("L2JU");function l(e){var t=this.$te("route."+e),n=this.$t("route."+e);return t?n:e}var d={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{generateTitle:l,getBreadcrumb:function(){var e=this.$route.matched.filter(function(e){return e.name}),t=e[0];t&&t.name.trim().toLocaleLowerCase()!=="Dashboard".toLocaleLowerCase()&&(e=[{path:"/dashboard",meta:{title:"dashboard"}}].concat(e)),this.levelList=e}}},c=(n("6Phw"),n("KHd+")),u=Object(c.a)(d,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,function(t,i){return t.meta.title?n("el-breadcrumb-item",{key:t.path},["noredirect"===t.redirect||i==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v("\n          "+e._s(e.generateTitle(t.meta.title))+"\n        ")]):n("router-link",{attrs:{to:t.redirect||t.path}},[e._v("\n          "+e._s(e.generateTitle(t.meta.title))+"\n        ")])],1):e._e()}))],1)},[],!1,null,"57dac562",null);u.options.__file="index.vue";var m=u.exports,p=(n("wk8/"),{components:{Breadcrumb:m},data:function(){return{userName:this.$store.getters.pgcName?this.$store.getters.pgcName:"未认证用户",isShow:0!=this.$store.getters.isIdentification,icon:this.$store.getters.icon?this.$store.getters.icon:"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",newsTotal:0,identificationType:this.$store.getters.identificationType}},computed:r()({},Object(s.b)(["sidebar"])),watch:{},mounted:function(){this.$store.dispatch("getNewsTotal")},methods:{logout:function(){this.$store.dispatch("FedLogOut").then(function(){location.reload()})},goUcenter:function(){this.$router.push({path:"/ucenter/set"})},getMsg:function(){this.$router.push({path:"/ucenter/news"})}}}),h=(n("XbRs"),Object(c.a)(p,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"topNav"},[i("el-menu",{staticClass:"topNavbar",attrs:{mode:"horizontal"}},[i("img",{staticStyle:{height:"40px"},attrs:{src:n("MYFi"),alt:""}}),e._v(" "),i("div",{staticClass:"right-menu"},[i("el-badge",{staticClass:"item",attrs:{"is-dot":"",hidden:e.$store.getters.newsTotal}},[i("el-button",{staticStyle:{padding:"0"},attrs:{type:"text"},on:{click:e.getMsg}},[i("i",{staticClass:"iconfont icon-xinfeng",staticStyle:{"font-size":"17px"}})])],1),e._v(" "),i("el-avatar",{staticStyle:{"vertical-align":"middle",margin:"0 0 0 10px"},attrs:{size:"small",src:e.icon}}),e._v(" "),i("el-button",{staticStyle:{padding:"0"},attrs:{type:"text"},on:{click:e.goUcenter}},[e._v(e._s(e.userName))]),e._v(" "),i("el-button",{staticStyle:{"vertical-align":"middle",padding:"0 10px 0 0"},attrs:{type:"text"},on:{click:e.logout}},[e._v("退出")]),e._v(" "),e.isShow&&1==e.identificationType?i("el-tag",{attrs:{size:"mini"}},[e._v("个人认证")]):e._e(),e._v(" "),e.isShow&&2==e.identificationType?i("el-tag",{attrs:{size:"mini"}},[e._v("企业认证")]):e._e(),e._v(" "),e.isShow&&3==e.identificationType?i("el-tag",{attrs:{size:"mini"}}
12,[e._v("机构认证")]):e._e(),e._v(" "),e.isShow&&4==e.identificationType?i("el-tag",{attrs:{size:"mini"}},[e._v("媒体认证")]):e._e(),e._v(" "),e.isShow&&5==e.identificationType?i("el-tag",{attrs:{size:"mini"}},[e._v("海外华媒")]):e._e(),e._v(" "),e.isShow&&6==e.identificationType?i("el-tag",{attrs:{size:"mini"}},[e._v("其他组织")]):e._e()],1)])],1)},[],!1,null,"4782fd85",null));h.options.__file="Navbar.vue";var g=h.exports,f=n("33yf"),v=n.n(f),b=n("Yfch"),y={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,i=n.icon,o=n.title,a=[];return i&&a.push(e("svg-icon",{style:"margin-right: 20px;",attrs:{"icon-class":i}})),o&&a.push(e("span",{slot:"title"},[o])),a}},w=Object(c.a)(y,void 0,void 0,!1,null,null,null);w.options.__file="Item.vue";var x={name:"SidebarItem",components:{Item:w.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},mounted:function(){},methods:{hasOneChild:function(e,t){var n=this;return 1===e.filter(function(e){return!e.hidden&&(n.onlyOneChild=e,!0)}).length},resolvePath:function(e){return v.a.resolve(this.basePath,e)},isExternalLink:function(e){return Object(b.b)(e)},clickLink:function(e,t){if(!this.isExternalLink(e)){t.preventDefault();var n=this.resolvePath(e);this.$router.push(n)}},generateTitle:l}},C=(n("IMk/"),Object(c.a)(x,function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.item.hidden&&e.item.children?n("div",{staticClass:"menu-wrapper"},[!e.hasOneChild(e.item.children,e.item.path)||e.onlyOneChild.children||e.item.alwaysShow?n("el-submenu",{attrs:{index:e.item.name||e.item.path}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta.icon,title:e.generateTitle(e.item.meta.title)}}):e._e()],1),e._v(" "),e._l(e.item.children,function(t){return t.hidden?e._e():[t.children&&t.children.length>0?n("sidebar-item",{key:t.path,attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path,e.item)}}):n("a",{key:t.name,attrs:{href:t.path,target:"_blank"},on:{click:function(n){e.clickLink(t.path,n)}}},[n("el-menu-item",{attrs:{index:e.resolvePath(t.path)}},[t.meta?n("item",{attrs:{icon:t.meta.icon,title:e.generateTitle(t.meta.title)}}):e._e()],1)],1)]})],2):[n("a",{attrs:{href:e.onlyOneChild.path,target:"_blank"},on:{click:function(t){e.clickLink(e.onlyOneChild.path,t)}}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[e.onlyOneChild.meta?n("item",{staticClass:"is-opened",attrs:{icon:e.onlyOneChild.meta.icon,title:e.generateTitle(e.onlyOneChild.meta.title)}}):e._e()],1)],1)]],2):e._e()},[],!1,null,null,null));C.options.__file="SidebarItem.vue";var _={components:{SidebarItem:C.exports},computed:r()({},Object(s.b)(["permission_routers"])),data:function(){return{arr:["management","plugIns","statistics","ucenter"]}},mounted:function(){},methods:{}},N=(n("qp/n"),Object(c.a)(_,function(){var e=this.$createElement,t=this._self._c||e;return t("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[t("el-menu",{attrs:{"default-active":this.$route.path,"text-color":"#000","active-text-color":"#409EFF","default-openeds":this.arr}},this._l(this.permission_routers,function(e,n){return t("sidebar-item",{key:e.name,attrs:{item:e,"base-path":e.path}})}))],1)},[],!1,null,null,null));N.options.__file="index.vue";var k=N.exports,U={name:"AppMain",computed:{key:function(){return this.$route.fullPath}}},E=(n("ja87"),n("GXUi"),Object(c.a)(U,function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"app-main"},[t("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[t("router-view",{key:this.key})],1)],1)},[],!1,null,"3fcd9173",null));E.options.__file="AppMain.vue";var T={name:"Layout",components:{Sidebar:k,Navbar:g,AppMain:E.exports},data:function(){return{height:0,sideBarShow:0!=this.$store.getters.isIdentification}},mounted:function(){this.height=this.$refs.appmain.offsetHeight+"px"},watch:{appheight:function(e){console.log(e)}}},S=(n("PEMT"),Object(c.a)(T,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper"},[n("navbar"),e._v(" "),n("div",{ref:"appmain",staticClass:"mainContainer",staticStyle:{overflow:"hidden",zoom:"1"}},[e.sideBarShow?n("sidebar",{staticClass:"sidebar",staticStyle:{height:"auto","margin-bottom":"-900px","padding-bottom":"900px",background:"#fff"}}
12):e._e(),e._v(" "),n("app-main",{staticClass:"appMain",staticStyle:{height:"100%"}})],1),e._v(" "),n("div",{staticClass:"appFooter"},[n("p",[e._v("联系方式 [email protected]")]),e._v(" "),n("el-link",{attrs:{underline:!1}},[e._v("关于海外网")]),e._v(" "),n("el-divider",{attrs:{direction:"vertical"}}),e._v(" "),n("el-link",{attrs:{underline:!1}},[e._v("广告服务")]),e._v(" "),n("el-divider",{attrs:{direction:"vertical"}}),e._v(" "),n("el-link",{attrs:{underline:!1}},[e._v("联系我们")]),e._v(" "),n("el-divider",{attrs:{direction:"vertical"}}),e._v(" "),n("el-link",{attrs:{target:"_blank",href:"http://mk.haiwainet.cn/agreement1.html",underline:!1}},[e._v("用户协议")]),e._v(" "),n("el-divider",{attrs:{direction:"vertical"}}),e._v(" "),n("el-link",{attrs:{target:"_blank",href:"http://mk.haiwainet.cn/privacy.html",underline:!1}},[e._v("隐私政策")]),e._v(" "),n("p",[e._v("Copyright 2011-2014 by www.haiwainet.cn all rights reserved")])],1)],1)},[],!1,null,"96a007de",null));S.options.__file="Layout.vue";var B=S.exports,I={path:"/ucenter",component:B,redirect:"/ucenter/index",name:"ucenter",meta:{title:"ucenter",icon:"wode",roles:["admin","hmUser","Tourist","hmAdmin"]},children:[{path:"news",component:function(){return n.e("chunk-5b15").then(n.bind(null,"HVgB"))},name:"ucenterNews",meta:{title:"ucenterNews",roles:["admin","hmUser","Tourist","hmAdmin"]}},{path:"set",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-43d0"),n.e("chunk-741a"),n.e("chunk-c762")]).then(n.bind(null,"ftzo"))},name:"ucenterSet",meta:{title:"ucenterSet",roles:["admin","hmUser","Tourist","hmAdmin"]}},{path:"hmnode",component:function(){return n.e("chunk-3dfa").then(n.bind(null,"YnHL"))},name:"hmnode",meta:{title:"hmnode",roles:["hmAdmin","hmUser"]}}]},L={path:"/release",component:B,redirect:"/release/index",name:"release发布",meta:{title:"release",icon:"tianjia",roles:["admin","hmUser","hmAdmin"]},children:[{path:"publishing",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-43d0"),n.e("chunk-741a"),n.e("chunk-0a84")]).then(n.bind(null,"pecs"))},name:"publishing",meta:{title:"publishing",icon:"tianjia",roles:["admin","hmUser","hmAdmin"]}}]},A={path:"/management",component:B,redirect:"/management/index",name:"management",meta:{title:"management",icon:"more",roles:["admin","hmUser","hmAdmin"]},children:[{path:"articlesManagement",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-264f"),n.e("chunk-8e32")]).then(n.bind(null,"/Jeu"))},name:"articlesManagement",meta:{title:"articlesManagement",roles:["admin","hmUser","hmAdmin"]}},{path:"comment",component:function(){return n.e("chunk-4412").then(n.bind(null,"e/D1"))},name:"comment",meta:{title:"comment",roles:["admin","hmUser","hmAdmin"]}},{path:"userManagement",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-f634")]).then(n.bind(null,"TeHx"))},name:"userManagement",meta:{title:"userManagement",roles:["admin","hmUser","hmAdmin"]}},{path:"circle",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-43d0"),n.e("chunk-0407")]).then(n.bind(null,"q0h5"))},name:"circle",meta:{title:"circle",roles:["admin","hmUser","hmAdmin"]}},{path:"material",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-264f"),n.e("chunk-9904")]).then(n.bind(null,"H6lT"))},name:"material",meta:{title:"material",roles:["admin","hmUser","hmAdmin"]}},{path:"transfer",component:function(){return n.e("chunk-0f15").then(n.bind(null,"1g2U"))},name:"transfer",meta:{title:"transfer",roles:["hmUser","hmAdmin"]}},{path:"weChatArticles",component:function(){return n.e("chunk-8084").then(n.bind(null,"8iOY"))},name:"weChatArticles",meta:{title:"weChatArticles",roles:["admin","hmUser","hmAdmin"]}}]},R={path:"/plugIns",component:B,redirect:"/plugIns/index",name:"plugIns",meta:{title:"plugIns",icon:"m_cj",roles:["admin","hmUser","hmAdmin"]},children:[{path:"wshop",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-43d0"),n.e("chunk-741a"),n.e("chunk-ac1d")]).then(n.bind(null,"Ya8z"))},name:"wshop",meta:{title:"wshop",icon:"guanzhu",roles:["admin","hmUser","hmAdmin"]}}]},M={path:"/statistics",component:B,redirect:"/statistics/index",name:"statistics",meta:{title:"statistics",icon:"shuju",roles:["admin","hmUser","hmAdmin"]},children:[{path:"articleSta",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-ffb3"),n.e("chunk-77f8")]).then(n.bind(null,"hvWe"))},name:"articleSta",meta:{title:"articleSta",roles:["admin","hmUser","hmAdmin"]}},{path:"videoSta",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-ffb3"),n.e("chunk-77ea")]).then(n.bind(null,"JUkT"))},name:"videoSta",meta:{title:"videoSta",roles:["admin","hmUser","hmAdmin"]}},{path:"smallVideoSta",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-ffb3"),n.e("chunk-77f7")]).then(n.bind(null,"fqPV"))},name:"smallVideoSta",meta:{title:"smallVideoSta",roles:["admin","hmUser","hmAdmin"]}},{path:"freshSta",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-ffb3"),n.e("chunk-6ee0")]).then(n.bind(null,"0osQ"))},name:"freshSta",meta:{title:"freshSta",roles:["admin","hmUser","hmAdmin"]}},{path:"followSta",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-ffb3"),n.e("chunk-77fb")]).then(n.bind(null,"pO6h"))},name:"followSta",meta:{title:"followSta",roles:["admin","hmUser","hmAdmin"]}}]};n.d(t,"b",function(){return O}),n.d(t,"a",function(){return D}),i.default.use(o.a);var O=[{path:"/redirect",component:B,hidden:!0,children:[{path:"/redirect/:path*",component:function(){return n.e("7zzA").then(n.bind(null,"7zzA"))}}]},{path:"/index",component:function(){return n.e("chunk-fca4").then(n.bind(null,"vQ9U"))},hidden:!0},{path:"/wechat_callback",component:function(){return n.e("chunk-637b").then(n.bind(null,"0ned"))},hidden:!0},{path:"/login",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-770c")]).then(n.bind(null,"ntYl"))},hidden:!0},{path:"/register",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-265a")]).then(n.bind(null,"1cIA"))},hidden:!0},{path:"/upaccount",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-7f32")]).then(n.bind(null,"EhDf"))},hidden:!0},{path:"/authentication",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-43d0"),n.e("chunk-741a"),n.e("chunk-a6c0")]).then(n.bind(null,"djd5"))},hidden:!0},{path:"/msgdetail",component:function(){return n.e("QUlr").then(n.bind(null,"QUlr"))},hidden:!0},{path:"/auth-redirect",component:function(){return n.e("JEtC").then(n.bind(null,"JEtC"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-41e9").then(n.bind(null,"/eX4"))},hidden:!0},{path:"/401",component:function(){return n.e("chunk-1aa2").then(n.bind(null,"UUO+"))},hidden:!0},{path:"",component:B,redirect:"dashboard",children:[{path:"dashboard",component:function(){return Promise.all([n.e("chunk-ffb3"),n.e("chunk-76d4")]).then(n.bind(null,"2RYI"))},name:"Dashboard",meta:{roles:["admin","Tourist","hmUser","hmAdmin"],title:"dashboard",icon:"shou
12ye(1)",noCache:!0}}]}],D=(t.c=new o.a({mode:"history",scrollBehavior:function(){return{y:0}},routes:O}),[L,A,R,M,I,{path:"*",redirect:"/404",hidden:!0}])},or9Q:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-zuzhi",use:"icon-zuzhi-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-zuzhi"><path d="M242.916 560.404v137.273c0 9.94-8.058 18-18 18-9.94 0-18-8.06-18-18V542.404c0-9.94 8.06-18 18-18H809.6c9.94 0 18 8.06 18 18v155.273c0 9.94-8.06 18-18 18-9.942 0-18-8.06-18-18V560.404H242.916z" fill="#333333" /><path d="M534.68 697.677c0 9.94-8.06 18-18 18-9.942 0-18-8.06-18-18V411.285c0-9.94 8.058-18 18-18 9.94 0 18 8.06 18 18v286.392zM160 715.677V843h127.344V715.677H160z m-18-36h163.344c9.94 0 18 8.058 18 18V861c0 9.941-8.06 18-18 18H142c-9.941 0-18-8.059-18-18V697.677c0-9.942 8.059-18 18-18z" fill="#333333" /><path d="M452.328 843h127.344V715.677H452.328V843z m-18-163.323h163.344c9.94 0 18 8.058 18 18V861c0 9.941-8.06 18-18 18H434.328c-9.94 0-18-8.059-18-18V697.677c0-9.942 8.06-18 18-18zM746.656 843H874V715.677H746.656V843z m-18-163.323H892c9.941 0 18 8.058 18 18V861c0 9.941-8.059 18-18 18H728.656c-9.94 0-18-8.059-18-18V697.677c0-9.942 8.06-18 18-18z" fill="#333333" /><path d="M369.055 182v211.285h291.838V182H369.055z m-18-36h327.838c9.94 0 18 8.059 18 18v247.285c0 9.942-8.06 18-18 18H351.055c-9.94 0-18-8.058-18-18V164c0-9.941 8.06-18 18-18z" fill="#007BFF" /></symbol>'});r.a.add(s);t.default=s},pwDx:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-userAdmin",use:"icon-userAdmin-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-userAdmin"><defs><style type="text/css"></style></defs><path d="M703.943438 511.9985c8.649975 0 17.499949 0.599998 27.29992 1.899994l7.648977 22.849933 5.199985 15.549955 15.648954 4.850986a190.607442 190.607442 0 0 1 31.148909 12.849962l14.499957 7.599978 14.648958-7.349979 21.549936-10.799968a227.392334 227.392334 0 0 1 38.798887 38.699887l-10.749969 21.549936-7.299978 14.599958 7.499978 14.449957c5.249985 10.09997 9.599972 20.64994 12.948962 31.299909l4.899985 15.649954 15.549955 5.199985 22.948933 7.648977c1.299996 9.799971 1.899994 18.699945 1.799994 26.999921v0.298999c0 8.499975-0.599998 17.550949-1.898994 27.35092l-22.949933 7.648978-15.648954 5.300984-4.849986 15.749954a173.96149 173.96149 0 0 1-12.749962 30.898909l-7.698978 14.549958 7.349979 14.699957 10.799968 21.600936c-5.999982 7.799977-11.949965 14.599957-17.999947 20.64894l-0.05 0.05-0.05 0.051c-6.049982 6.099982-12.799963 11.999965-20.54994 17.948947l-21.599937-10.799968-14.599957-7.299979-14.499957 7.549978a196.189425 196.189425 0 0 1-31.248909 12.949962l-15.648954 4.899986-5.099985 15.499954-7.649978 22.948933c-9.799971 1.300996-18.798945 1.899994-27.349919 1.899995-8.498975 0-17.498949-0.599998-27.34892-1.899995l-7.649978-22.948933-5.148985-15.649954-15.749954-4.849986c-10.698969-3.30099-21.099938-7.550978-30.898909-12.749962l-14.548958-7.699978-14.749956 7.349979-21.599937 10.799968c-7.749977-5.999982-14.549957-11.948965-20.59994-17.999947-6.198982-6.198982-12.148964-12.999962-17.998947-20.64894l10.748969-21.499937 7.299978-14.649957-7.599978-14.499957c-5.249985-10.049971-9.599972-20.49994-12.849962-31.049909l-4.849986-15.749954-15.599954-5.199985-22.945933-7.649978c-1.299996-9.799971-1.899994-18.849945-1.899994-27.349919s0.599998-17.549949 1.899994-27.34992l22.848933-7.600978 15.599955-5.198985 4.850985-15.699954c3.34999-10.799968 7.698977-21.249938 12.849963-31.149909l7.599977-14.499957-7.299978-14.648957-10.799969-21.600937a224.376343 224.376343 0 0 1 38.648887-38.648887l21.548937 10.799969 14.699957 7.349978 14.549957-7.648977c9.799971-5.149985 20.298941-9.499972 31.148909-12.899963l15.648954-4.899985 5.198985-15.549955 7.649978-22.949932c10.000971-1.251996 18.849945-1.851995 27.29892-1.851995z m0.108999-63.999812c-14.517957 0-29.035915 1.349996-45.635866 3.993988l-12.322964 1.968994-15.530954 46.687863c-14.180958 4.442987-27.966918 10.067971-41.07788 16.98695l-43.947871-22.049935-10.127971 7.311979c-24.815927 17.942947-46.536864 39.655884-64.54381 64.461811l-7.314979 10.18197 22.002935 43.986871a247.395275 247.395275 0 0 0-16.99395 41.06188l-46.648863 15.468954-1.968994 12.317964C417.294277 706.972929 416.000281 721.878885 416.000281 735.997844s1.293996 29.080915 3.938989 45.618866l1.968994 12.317964 46.648863 15.580954a238.111302 238.111302 0 0 0 16.99395 41.06188l-21.889935 43.818872 7.313978 10.18097c9.679972 13.443961 19.413943 24.861927 29.485914 34.986897 10.12897 10.18197 21.552937 19.743942 34.944897 29.530914l10.127971 7.311978 43.947871-21.992935a236.469307 236.469307 0 0 0 41.07788 16.98695l15.530954 46.687863 12.322964 1.968995c16.599951 2.643992 31.511908 3.937988 45.635866 3.937988s29.035915-1.293996 45.636867-3.937988l12.322964-1.968995 15.529954-46.687863c14.180958-4.442987 27.966918-10.18197 41.07788-16.98695l43.947871 21.992935 10.12897-7.311978c13.447961-9.729971 24.871927-19.349943 34.943898-29.530914 10.12897-10.18097 19.750942-2
121.542937 29.485914-34.986897l7.314978-10.18097-22.002935-43.987871a238.079303 238.079303 0 0 0 16.99395-41.06188l46.648863-15.580954 1.969994-12.317964c2.644992-16.593951 3.937988-31.499908 3.937989-45.618867 0.112-14.061959-1.181997-28.968915-3.882989-45.561866l-1.969994-12.317964-46.647863-15.580955a247.359275 247.359275 0 0 0-16.993951-41.061879l22.001936-43.987871-7.313979-10.180971c-18.119947-24.749927-39.840883-46.462864-64.65581-64.462811l-10.128971-7.311978-43.947871 21.993935a245.61828 245.61828 0 0 0-41.077879-16.98695l-15.529955-46.519864-12.210964-1.911994c-16.482952-2.644992-31.057909-3.938988-45.575867-3.938988z" fill="" p-id="3424" /><path d="M703.999438 703.997938c8.558975 0 16.583951 3.32699 22.628933 9.370972C732.672353 719.413892 735.999344 727.438869 735.999344 735.997844s-3.32699 16.583951-9.370973 22.628933C720.583389 764.67076 712.558412 767.99775 703.999438 767.99775s-16.583951-3.32699-22.628934-9.370973C675.326522 752.581795 671.999531 744.556819 671.999531 735.997844s3.32699-16.583951 9.370973-22.628934C687.415486 707.324928 695.440463 703.997938 703.999438 703.997938z m0-63.999813c-53.001845 0-95.999719 42.997874-95.999719 95.999719s42.997874 95.999719 95.999719 95.999719 95.999719-42.997874 95.999718-95.999719-42.997874-95.999719-95.999718-95.999719zM483.007085 475.964606C557.858866 431.287736 607.999719 349.504976 607.999719 255.99925 607.999719 114.614664 493.385055 0 352.000469 0S96.001219 114.614664 96.001219 255.99925c0 93.506726 50.141853 175.290486 124.995634 219.966356C109.588179 526.019459 32.001406 637.945131 32.001406 767.99775v223.999344c0 17.672948 14.326958 31.999906 31.999906 31.999906s31.999906-14.326958 31.999907-31.999906V767.99775c0-141.384586 114.614664-255.99925 255.99925-255.99925 48.558858 0 93.958725 13.51996 132.643611 36.999892h100.679705c-28.760916-30.62891-63.485814-55.586837-102.3167-73.033786zM160.001031 255.99925c0-106.038689 85.960748-191.999438 191.999438-191.999437s191.999438 85.960748 191.999437 191.999437-85.960748 191.999438-191.999437 191.999438-191.999438-85.960748-191.999438-191.999438z" fill="" p-id="3425" /></symbol>'});r.a.add(s);t.default=s},q7gV:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-index",use:"icon-index-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-index"><defs><style type="text/css"></style></defs><path d="M761.6 928.8H646.7c-11.6 0-21-9.4-21-21V593.5c0-11.4-14-18.4-26.9-18.4H429.3c-11.2 0-26.9 5.7-26.9 18.4v314.3c0 11.6-9.4 21-21 21H266.5c-60.3 0-109.4-49.1-109.4-109.4V532c0-11.6 9.4-21 21-21s21 9.4 21 21v287.4c0 37.2 30.2 67.4 67.4 67.4h93.9V593.5c0-33.9 30.3-60.4 68.9-60.4h169.5c38.6 0 68.9 26.5 68.9 60.4v293.3h93.9c37.2 0 67.4-30.2 67.4-67.4V532c0-11.6 9.4-21 21-21s21 9.4 21 21v287.4c0 60.3-49 109.4-109.4 109.4z" p-id="1963" /><path d="M976 542.9c-5.4 0-10.7-2.1-14.8-6.2L553.9 129.4c-26.3-26.3-69.1-26.3-95.4 0L66.9 521.1c-8.2 8.2-21.5 8.2-29.7 0s-8.2-21.5 0-29.7L428.8 99.7c42.7-42.6 112.1-42.7 154.7 0L990.9 507c8.2 8.2 8.2 21.5 0 29.7-4.1 4.1-9.5 6.2-14.9 6.2z" p-id="1964" /></symbol>'});r.a.add(s);t.default=s},qPrx:function(e,t,n){},qXQP:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-roleAdmin",use:"icon-roleAdmin-usage",viewBox:"0 0 1260 1024",content:'<symbol class="icon" viewBox="0 0 1260 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-roleAdmin"><defs><style type="text/css"></style></defs><path d="M330.279385 507.037538a39.227077 39.227077 0 0 1-7.719385 72.231385 400.462769 400.462769 0 0 0-112.009846 63.251692c-71.522462 57.895385-112.876308 133.907692-110.749539 232.920616a39.384615 39.384615 0 0 1-78.76923 1.732923C18.353231 751.694769 71.68 653.469538 161.083077 581.316923c25.6-20.716308 51.2-37.179077 74.830769-49.860923a236.465231 236.465231 0 0 1-15.36-15.281231c-40.329846-44.819692-66.166154-103.660308-72.861538-180.932923-6.931692-80.187077 15.36-145.408 56.713846-195.190154 22.055385-26.545231 44.504615-43.323077 61.046154-51.908923a39.384615 39.384615 0 0 1 36.391384 69.868308c-7.876923 4.096-22.212923 14.808615-36.864 32.374154-28.514462 34.343385-43.874462 79.320615-38.83323 138.082461 5.198769 60.100923 24.024615 102.872615 52.932923 135.010462 11.
12027692 12.130462 37.494154 33.083077 51.2 43.559384z m694.114461 24.418462c23.630769 12.681846 49.230769 29.144615 74.830769 49.860923 89.324308 72.152615 142.729846 170.377846 140.051693 295.857231a39.384615 39.384615 0 1 1-78.769231-1.732923c2.126769-99.012923-39.227077-175.025231-110.828308-232.841846a400.462769 400.462769 0 0 0-111.931077-63.330462 39.227077 39.227077 0 0 1-26.387692-49.545846 39.227077 39.227077 0 0 1 18.668308-22.685539c13.705846-10.555077 40.172308-31.428923 51.2-43.559384 28.908308-32.137846 47.734154-74.909538 52.932923-135.010462 5.041231-58.761846-10.24-103.739077-38.833231-138.082461a135.876923 135.876923 0 0 0-36.864-32.374154 39.384615 39.384615 0 1 1 36.391385-69.868308c16.541538 8.664615 38.990769 25.363692 60.967384 51.908923 41.432615 49.782154 63.724308 115.003077 56.792616 195.190154-6.616615 77.272615-32.531692 136.113231-72.861539 180.932923-4.332308 4.726154-9.609846 10.003692-15.36 15.281231z m-555.323077 0.708923a290.500923 290.500923 0 1 1 326.577231-2.914461c96.571077 36.233846 169.826462 106.968615 221.420308 202.830769 26.466462 48.994462 45.292308 101.139692 57.895384 153.284923 7.561846 31.350154 11.500308 56.083692 12.839385 70.892308a39.384615 39.384615 0 0 1-78.375385 7.404307 459.460923 459.460923 0 0 0-11.027692-59.785846 563.987692 563.987692 0 0 0-50.648615-134.459077C883.790769 650.633846 784.147692 580.923077 636.849231 580.923077c-147.771077 0-250.092308 69.395692-318.227693 187.549538a574.779077 574.779077 0 0 0-54.902153 133.356308c-7.561846 27.254154-11.500308 48.049231-12.918154 59.234462a39.384615 39.384615 0 1 1-78.217846-9.846154c1.890462-14.729846 6.616615-39.227077 15.202461-70.340923 14.178462-51.593846 34.658462-103.187692 62.621539-151.709539 52.932923-91.844923 125.243077-160.374154 218.584615-197.001846zM630.153846 502.153846A211.652923 211.652923 0 1 0 630.153846 78.769231a211.652923 211.652923 0 0 0 0 423.384615z" p-id="4139" /></symbol>'});r.a.add(s);t.default=s},qkZ8:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-edit"><defs><style type="text/css"></style></defs><path d="M860 504c-19.9 0-36 16.1-36 36 0 1.4 0.1 2.7 0.2 4h-0.2v344H136V200h376c19.9 0 36-16.1 36-36s-16.1-36-36-36H136c-39.8 0-72 32.2-72 72v688c0 39.8 32.2 72 72 72h688c39.8 0 72-32.2 72-72V544h-0.2c0.1-1.3 0.2-2.6 0.2-4 0-19.9-16.1-36-36-36z" p-id="2920" /><path d="M1002.7 100.3L923.4 21c-28.1-28.1-73.9-27.9-102 0.2L424.2 418.4c-2.9 2.9-5.2 6.4-6.8 10.2L317.6 664c-5.6 13.2-1.7 26.5 6.8 35.1 8.5 8.6 21.9 12.5 35.2 6.9l235.5-99.7c3.8-1.6 7.2-3.9 10.2-6.8l397.2-397.2c28.1-28.1 28.3-73.9 0.2-102zM559.8 543l-137.4 58.2 58.2-137.4L759.4 185l79.2 79.2L559.8 543z m391.7-391.7l-62 62-79.2-79.2 62-62 0.2-0.2 79.2 79.2-0.2 0.2z" p-id="2921" /></symbol>'});r.a.add(s);t.default=s},qmhx:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-chked",use:"icon-chked-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-chked"><defs><style type="text/css"></style></defs><path d="M511.6 511.6m-448.1 0a448.1 448.1 0 1 0 896.2 0 448.1 448.1 0 1 0-896.2 0Z" fill="#FF0000" p-id="2967" /><path d="M712.7 338.3l-272.8 274-129.5-129.5c-13.3-13.3-35.1-13.3-48.4 0-13.3 13.3-13.3 35.1 0 48.4L415.8 685c6.4 6.4 15.1 10.2 24.2 10.2s17.8-3.7 24.2-10.2l297-298.3c13.3-13.3 13.2-35.2-0.1-48.4-13.3-13.6-35.1-13.6-48.4 0z m0 0" fill="#FFFFFF" p-id="2968" /></symbol>'});r.a.add(s);t.default=s},"qp/n":function(e,t,n){"use strict";var i=n("u5Md");n.n(i).a},qwAt:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-lock"><defs><style type="text/css"></style></defs><path d="M818.246893 412.326906l-45.988404 0 0-70.991868c0-152.307871-123.463939-275.778974-275.778974-275.778974s-275.78102 123.471103-275.78102 275.778974l0 70.991868-45.987381 0c-25.379017 0-45.988404 20.566408-45.988404 45.987381l0 455.407074c0 25.428136 20.560268 45.988404 45.988404 45.988404l643.535779 0c25.37697 0 45.988404-20.560268 45.988404-45.988404L864.235296 458.314287C864.190271 432.893314 843.623863 412.326906 818.246893 412.326906L818.246893 412.326906zM680.331823 412.326906 312.62516 412.326906l0-70.991868c0-101.55393 82.344426-183.853331 183.854355-183.853331 101.509928 0 183.853331 82.343403 183.853331 183.853331L680.332846 412.326906 680.331823 412.326906zM680.331823 412.326906" p-id="9663" /></symbol>'});r.a.add(s);t.default=s},r0R6:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-cms",use:"icon-cms-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-cms"><defs><style type="text/css"></style></defs><path d="M512 546.133333c-3.413333 0-10.24 0-13.653333-3.413333l-443.733334-204.8C40.96 331.093333 34.133333 320.853333 34.133333 307.2s6.826667-23.893333 20.48-30.72l443.733334-204.8c10.24-3.413333 20.48-3.413333 27.306666 0l443.733334 204.8c13.653333 6.826667 20.48 17.066667 20.48 30.72s-6.826667 23.893333-20.48 30.72l-443.733334 204.8c-3.413333 3.413333-10.24 3.413333-13.653333 3.413333zM150.186667 307.2L512 474.453333 873.813333 307.2 512 139.946667 150.186667 307.2z" p-id="1434" /><path d="M512 750.933333c-3.413333 0-10.24 0-13.653333-3.413333l-443.733334-204.8c-17.066667-6.826667-23.893333-27.306667-17.066666-44.373333 6.826667-17.066667 27.306667-23.893333 44.373333-17.066667L512 679.253333l430.08-197.973333c17.066667-6.826667 37.546667 0 44.373333 17.066667 6.826667 17.066667 0 37.546667-17.066666 44.373333l-443.733334 204.8c-3.413333 3.413333-10.24 3.413333-13.653333 3.413333z" p-id="1435" /><path d="M512 955.733333c-3.413333 0-10.24 0-13.653333-3.413333l-443.733334-204.8c-17.066667-6.826667-23.893333-27.306667-17.066666-44.373333 6.826667-17.066667 27.306667-23.893333 44.373333-17.066667L512 884.053333l430.08-197.973333c17.066667-6.826667 37.546667 0 44.373333 17.066667 6.826667 17.066667 0 37.546667-17.066666 44.373333l-443.733334 204.8c-3.413333 3.413333-10.24 3.413333-13.653333 3.413333z" p-id="1436" /></symbol>'});r.a.add(s);t.default=s},rlIv:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-icon-test",use:"icon-icon-test-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-icon-test"><path d="M873.432 606.374c-2.716 9.563-12.67 15.113-22.233 12.397-9.563-2.717-15.113-12.67-12.397-22.234C846.865 568.15 851 538.61 851 508.5 851 330.94 707.06 187 529.5 187S208 330.94 208 508.5 351.94 830 529.5 830c9.941 0 18 8.059 18 18s-8.059 18-18 18C332.058 866 172 705.942 172 508.5S332.058 151 529.5 151 887 311.058 887 508.5c0 33.444-4.598 66.295-13.568 97.874z" fill="#333333" /><path d="M650.783 582.32c-9.781-1.777-16.27-11.147-14.493-20.928 1.777-9.781 11.146-16.27 20.927-14.493l197.566 35.887c9.781 1.777 16.27 11.146 14.493 20.927-1.777 9.782-11.146 16.27-20.927 14.494l-197.566-35.888z" fill="#333333" /><path d="M529.5 659C446.381 659 379 591.619 379 508.5S446.381 358 529.5 358 680 425.381 680 508.5 612.619 659 529.5 659z m0-36c63.237 0 114.5-51.263 114.5-114.5S592.737 394 529.5 394 415 445.263 415 508.5 466.263 623 529.5 623z" fill="#007BFF" /><path d="M527.87 866c-9.942 0-18-8.059-18-18s8.058-18 18-18H688.94c9.941 0 18 8.059 18 18s-8.059 18-18 18H527.87z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},s7Vf:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-user"><defs><style type="text/css"></style></defs><path d="M504.951 511.98c93.49 0 169.28-74.002 169.28-165.26 0-91.276-75.79-165.248-169.28-165.248-93.48
126 0-169.287 73.972-169.279 165.248-0.001 91.258 75.793 165.26 169.28 165.26z m77.6 55.098H441.466c-120.767 0-218.678 95.564-218.678 213.45V794.3c0 48.183 97.911 48.229 218.678 48.229H582.55c120.754 0 218.66-1.78 218.66-48.229v-13.77c0-117.887-97.898-213.45-218.66-213.45z" p-id="7987" /></symbol>'});r.a.add(s);t.default=s},sROq:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-replies",use:"icon-replies-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-replies"><defs><style type="text/css"></style></defs><path d="M511.317333 1022.677333C229.376 1022.677333 0 793.301333 0 511.317333 0 229.376 229.376 0 511.317333 0s511.317333 229.376 511.317334 511.317333c0 61.696-10.922667 122.154667-32.426667 179.584l-80-29.994666a425.728 425.728 0 0 0 27.008-149.589334c0-234.837333-191.104-425.898667-425.898667-425.898666S85.418667 276.48 85.418667 511.317333s191.061333 425.898667 425.898666 425.898667a423.68 423.68 0 0 0 158.634667-30.549333l31.786667 79.232a506.368 506.368 0 0 1-190.421334 36.778666z" p-id="7636" fill="#707070" /><path d="M998.229333 995.114667H666.88v-88.064h243.413333l0.213334-245.845334 88.064 0.170667z" p-id="7637" fill="#707070" /><path d="M290.432 525.354667m-67.456 0a67.456 67.456 0 1 0 134.912 0 67.456 67.456 0 1 0-134.912 0Z" p-id="7638" fill="#707070" /><path d="M517.504 525.312m-67.456 0a67.456 67.456 0 1 0 134.912 0 67.456 67.456 0 1 0-134.912 0Z" p-id="7639" fill="#707070" /><path d="M740.48 525.312m-67.456 0a67.456 67.456 0 1 0 134.912 0 67.456 67.456 0 1 0-134.912 0Z" p-id="7640" fill="#707070" /></symbol>'});r.a.add(s);t.default=s},sWaH:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-m_cj",use:"icon-m_cj-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-m_cj"><defs><style type="text/css"></style></defs><path d="M850.140277 490.865657l-63.400982 0L786.739295 321.79603c0-46.705742-37.829584-84.535325-84.535325-84.535325L533.13332 237.260705l0-63.400982c0-58.329477-47.339168-105.668645-105.668645-105.668645S321.79603 115.530246 321.79603 173.859723l0 63.400982L152.726403 237.260705c-46.705742 0-84.1127 37.829584-84.1127 84.535325l-0.211824 160.616094 63.190181 0c62.978357 0 114.122177 51.14382 114.122177 114.122177s-51.14382 114.122177-114.122177 114.122177L68.402903 710.656479l-0.211824 160.616094c0 46.705742 37.829584 84.535325 84.535325 84.535325l160.616094 0 0-63.400982c0-62.978357 51.14382-114.122177 114.122177-114.122177s114.122177 51.14382 114.122177 114.122177l0 63.400982 160.616094 0c46.705742 0 84.535325-37.829584 84.535325-84.535325L786.738271 702.20397l63.400982 0c58.329477 0 105.668645-47.339168 105.668645-105.668645S908.46873 490.865657 850.140277 490.865657z" p-id="8238" /></symbol>'});r.a.add(s);t.default=s},sdY9:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-bianji",use:"icon-bianji-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-bianji"><path d="M850 833V550.982c0-9.941 8.059-18 18-18s18 8.059 18 18V851c0 9.941-8.059 18-18 18H191c-9.941 0-18-8.059-18-18V165c0-9.941 8.059-18 18-18h276.79c9.94 0 18 8.059 18 18s-8.06 18-18 18H209v650h641z" fill="#333333" /><path d="M652.987 247.546c-7.024-7.035-7.015-18.432 0.02-25.456 7.035-7.024 18.432-7.015 25.456 0.02l139.69 139.909c7.023 7.035 7.014 18.432-0.02 25.456-7.036 7.024-18.433 7.015-25.457-0.02L652.987 247.546z" fill="#007BFF" /><path d="M412.292 468.77a18 18 0 0 1 5.3-12.755L718.64 156.277c6.72-6.692 17.48-7.02 24.597-0.753l150.098 132.194c7.82 6.886 8.176 18.953 0.777 26.29L577 628.436a18 18 0 0 1-12.673 5.218H430.292c-9.942 0-18-8.059-18-18V468.771z m36 7.48v121.404h108.624l298.173-295.65-122.994-108.322L448.292 476.25z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},"sg+I":function(e,t,n){},t3Un:function(e,t,n){"use strict";var i=n("4d7F"),o=n.n(i),a=n("vDqi"),r=n.n(a),s=n("Q2AE"),l=n("X4fA"),d=n("XJYT"),c=r.a.create({baseURL:"/api",timeout:5e3,withCredentials:!0});c.interceptors.request.use(function(e){return s.a.getters.token&&(e.headers.Authorization=Object(l.a)(),e.headers.secret="ViEL1JR+FvKr8Vbo/Dq8v69VoigfFGZ5XgREL5ymi6TnWgGOT7Aw9P4my1vEcPWo6a0Vrgt97oif0QBVRMrSlGKQGQA6CWfcPoYARP8nNYjqrLtae/3qNKNRZP4Oam282VDcB5sCZbsPOJgYSCz9xAZLihERBCnel/mE7sE6ciQ=",e.headers.autograph="12345678"),e},function(e){o.a.reject(e)}),c.interceptors.response.use(function(e){return o.a.resolve(e)},function(e){if(e.response&&e.response.data){if(401==e.response.data.code){var t="";s.a.dispatch("tokenCode").then(function(e){1202==e.code?(t="该账号已被禁用,5s后退回至登录界面",0===document.getElementsByClassName("el-message").length&&d.Message.error({message:t,duration:5e3})):0===document.getElementsByClassName("el-message").length&&d.Message.error({message:"该账号登录超时,请重新登录,5s后退回至登录界面",duration:5e3})}),setTimeout(function(){s.a.dispatch("FedLogOut").then(function(){location.reload()})},5e3)}else d.Message.error({message:e.response.data.message,duration:2500});return o.a.reject(e.response)}return o.a.reject({data:{message:"网络被拦截,请重新登录系统"}})}),t.a=c},u3R9:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-memberAdd",use:"icon-memberAdd-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewB
12ox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-memberAdd"><defs><style type="text/css"></style></defs><path d="M160 704c-35.2 0-64 28.8-64 64v41.6c0 12.8 9.6 22.4 22.4 22.4h595.2c12.8 0 22.4-9.6 22.4-22.4V768c0-35.2-28.8-64-64-64H160z m704-224h96c19.2 0 32 12.8 32 32s-12.8 32-32 32h-96v96c0 19.2-12.8 32-32 32s-32-12.8-32-32v-96h-96c-19.2 0-32-12.8-32-32s12.8-32 32-32h96v-96c0-19.2 12.8-32 32-32s32 12.8 32 32v96zM160 640h512c70.4 0 128 57.6 128 128v41.6c0 48-38.4 86.4-86.4 86.4H118.4c-48 0-86.4-38.4-86.4-86.4V768c0-70.4 57.6-128 128-128z m176-448c-25.6 0-48 22.4-48 48v144c0 70.4 57.6 128 128 128s128-57.6 128-128V240c0-25.6-22.4-48-48-48H336z m0-64h156.8c64 0 112 51.2 112 112v144c0 105.6-86.4 192-192 192s-192-86.4-192-192V240c3.2-60.8 54.4-112 115.2-112z" fill="" p-id="5700" /></symbol>'});r.a.add(s);t.default=s},u5Md:function(e,t,n){},vDVG:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-clipboard"><defs><style type="text/css"></style></defs><path d="M438.857143 950.857143l512 0 0-365.714286-237.714286 0q-22.820571 0-38.838857-16.018286t-16.018286-38.838857l0-237.714286-219.428571 0 0 658.285714zM585.142857 128l0-36.571429q0-7.460571-5.412571-12.873143t-12.873143-5.412571l-402.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 36.571429q0 7.460571 5.412571 12.873143t12.873143 5.412571l402.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143zM731.428571 512l170.861714 0-170.861714-170.861714 0 170.861714zM1024 585.142857l0 384q0 22.820571-16.018286 38.838857t-38.838857 16.018286l-548.571429 0q-22.820571 0-38.838857-16.018286t-16.018286-38.838857l0-91.428571-310.857143 0q-22.820571 0-38.838857-16.018286t-16.018286-38.838857l0-768q0-22.820571 16.018286-38.838857t38.838857-16.018286l621.714286 0q22.820571 0 38.838857 16.018286t16.018286 38.838857l0 187.465143q11.995429 7.460571 20.553143 16.018286l233.179429 233.179429q16.018286 16.018286 27.428571 43.446857t11.410286 50.322286z" p-id="4663" /></symbol>'});r.a.add(s);t.default=s},vjVy:function(e,t,n){},"wk8/":function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"e",function(){return r}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return l}),n.d(t,"f",function(){return d});var i=n("t3Un");function o(e){return Object(i.a)({url:"/message/contents/page",method:"post",data:e})}function a(e){return Object(i.a)({url:"/message/contents/read",method:"put",data:e})}function r(e){return Object(i.a)({url:"/sns/snsFollow",method:"post",data:e})}function s(e){return Object(i.a)({url:"/sns/snsFollow/page",method:"post",data:e})}function l(e){return Object(i.a)({url:"/query/tags/records/page",method:"post",data:e})}function d(e){return Object(i.a)({url:"/search/every/mediaSearch",method:"post",data:e})}},xMTh:function(e,t,n){},xN5b:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-m_zy",use:"icon-m_zy-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-m_zy"><defs><style type="text/css"></style></defs><path d="M424.319032 885.693004 424.319032 620.123556 601.364307 620.123556 601.364307 885.693004 822.671669 885.693004 822.671669 531.60143 955.455881 531.60143 512.841158 133.24777 70.226434 531.60143 203.01167 531.60143 203.01167 885.693004Z" p-id="9066" /></symbol>'});r.a.add(s);t.default=s},xUNX:function(e,t,n){},xfR9:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-dingwei",use:"icon-dingwei-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-dingwei"><path d="M522.78 805.254c-7.042 7.098-18.518 7.098-25.56 0C322.06 628.676 234 491.268 234 390c0-152.43 123.57-276 276-276s276 123.57 276 276c0 101.268-88.06 238.676-263.22 415.254zM750 390c0-132.548-107.452-240-240-240S270 257.452 270 390c0 86.45 79.704 213.028 240 376.927C670.296 603.027 750 476.45 750 390z" fill="#333333" />
12<path d="M512 518c-67.379 0-122-54.621-122-122 0-67.379 54.621-122 122-122 67.379 0 122 54.621 122 122 0 67.379-54.621 122-122 122z m0-36c47.496 0 86-38.504 86-86s-38.504-86-86-86-86 38.504-86 86 38.504 86 86 86z" fill="#007BFF" /><path d="M752.72 728.691c-5.255-8.439-2.673-19.54 5.766-24.794 8.44-5.254 19.54-2.673 24.794 5.767l106.233 170.622c7.465 11.99-1.157 27.514-15.28 27.514h-724.2c-13.978 0-22.622-15.236-15.452-27.234L236.55 709.943c5.1-8.533 16.151-11.316 24.685-6.217 8.533 5.1 11.317 16.152 6.217 24.685L181.76 871.8H841.82L752.72 728.691z" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},xsEB:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-shoppingCard",use:"icon-shoppingCard-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-shoppingCard"><defs><style type="text/css"></style></defs><path d="M347.136 783.36q19.456 0 36.864 7.168t30.72 19.968 20.48 30.208 7.168 36.864-7.168 36.864-20.48 30.208-30.72 20.48-36.864 7.68q-20.48 0-37.376-7.68t-30.208-20.48-20.48-30.208-7.168-36.864 7.168-36.864 20.48-30.208 30.208-19.968 37.376-7.168zM773.12 785.408q19.456 0 37.376 7.168t30.72 19.968 20.48 30.208 7.68 36.864-7.68 36.864-20.48 30.208-30.72 20.48-37.376 7.68-36.864-7.68-30.208-20.48-20.48-30.208-7.68-36.864 7.68-36.864 20.48-30.208 30.208-19.968 36.864-7.168zM945.152 203.776q28.672 0 44.544 7.68t22.528 18.944 6.144 24.064-3.584 22.016-12.8 37.888-22.016 62.976-24.064 68.096-17.92 53.248q-13.312 40.96-33.792 56.832t-50.176 15.872l-34.816 0-66.56 0-87.04 0-95.232 0-253.952 0 15.36 92.16 516.096 0q49.152 0 49.152 41.984 0 20.48-9.728 35.328t-38.4 14.848l-49.152 0-95.232 0-117.76 0-119.808 0-98.304 0-56.32 0q-20.48 0-34.304-9.216t-23.04-24.064-14.848-32.256-8.704-32.768q-1.024-6.144-5.632-29.696t-11.264-58.88-14.848-78.848-16.384-87.552q-19.456-103.424-44.032-230.4l-76.8 0q-15.36 0-25.6-7.68t-16.896-18.432-9.216-23.04-2.56-22.528q0-20.48 13.824-33.792t37.376-13.312l22.528 0 20.48 0 25.6 0 34.816 0q20.48 0 32.768 6.144t19.456 15.36 10.24 19.456 5.12 17.408q2.048 8.192 4.096 23.04t4.096 30.208q3.072 18.432 6.144 38.912l700.416 0z" p-id="2289" /></symbol>'});r.a.add(s);t.default=s},y7FO:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-m_fb",use:"icon-m_fb-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-m_fb"><defs><style type="text/css"></style></defs><path d="M851.2 166.4c-12.8-6.4-25.6-6.4-32 0l-640 320c-12.8 0-19.2 12.8-19.2 25.6s6.4 25.6 12.8 25.6l153.6 96c12.8 6.4 25.6 6.4 38.4-6.4L704 320l12.8 6.4-307.2 326.4c-6.4 6.4-6.4 12.8-6.4 19.2v140.8c0 12.8 6.4 25.6 19.2 32 12.8 6.4 25.6 0 32-6.4l76.8-76.8L684.8 864c6.4 6.4 12.8 6.4 19.2 6.4h12.8c12.8-6.4 19.2-12.8 19.2-25.6l128-640c0-19.2 0-32-12.8-38.4z" p-id="11187" fill="#333333" /></symbol>'});r.a.add(s);t.default=s},y7eQ:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-email"><defs><style type="text/css"></style></defs><path d="M513 583.8l448.5-448.5c-11.6-4.7-24.3-7.3-37.5-7.3L100 128c-12.7 0-24.9 2.4-36.1 6.7L513 583.8z" p-id="9121" /><path d="M513 674.3 14.6 175.9C5.3 191.1 0 208.9 0 228l0 568c0 55.2 44.8 100 100 100l824 0c55.2 0 100-44.8 100-100l0-568c0-18.5-5.1-35.9-13.9-50.8L513 674.3z" p-id="9122" /></symbol>'});r.a.add(s);t.default=s},yCkv:function(e,t,n){"use strict";n.r(t);var i=n("4BeY"),o=n.n(i),a=n("IaFt"),r=n.n(a),s=new o.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-chart"><defs><style type="text/css"></style></defs><path d="M64 448 320 448 320 960 64 960 64 448 64 448ZM704 256 960 256 960 960 704 960 704 256 704 256ZM384 64 640 64 640 960 384 960 384 64 384 64Z" p-id="10423" /></symbol>'});r.a.add(s);t.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]);

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