diff --git a/public/index.html b/public/index.html index 3b643d2..d325483 100644 --- a/public/index.html +++ b/public/index.html @@ -13,15 +13,16 @@
- + - - + - + + + diff --git a/public/static/ueditor/themes/default/css/ueditor.css b/public/static/ueditor/themes/default/css/ueditor.css index a617631..941d141 100644 --- a/public/static/ueditor/themes/default/css/ueditor.css +++ b/public/static/ueditor/themes/default/css/ueditor.css @@ -1 +1 @@ -.edui-default .edui-box{border:0;padding:0;margin:0;overflow:hidden}.edui-default a.edui-box{display:block;text-decoration:none;color:black}.edui-default a.edui-box:hover{text-decoration:none}.edui-default a.edui-box:active{text-decoration:none}.edui-default table.edui-box{border-collapse:collapse}.edui-default ul.edui-box{list-style-type:none}div.edui-box{position:relative;display:-moz-inline-box !important;display:inline-block !important;vertical-align:top}.edui-default .edui-clearfix{zoom:1}.edui-default .edui-clearfix:after{content:'\20';display:block;clear:both}* html div.edui-box{display:inline !important}*:first-child+html div.edui-box{display:inline !important}.edui-default .edui-button-body,.edui-splitbutton-body,.edui-menubutton-body,.edui-combox-body{position:relative}.edui-default .edui-popup{position:absolute;-webkit-user-select:none;-moz-user-select:none}.edui-default .edui-popup .edui-shadow{position:absolute;z-index:-1}.edui-default .edui-popup .edui-bordereraser{position:absolute;overflow:hidden}.edui-default .edui-tablepicker .edui-canvas{position:relative}.edui-default .edui-tablepicker .edui-canvas .edui-overlay{position:absolute}.edui-default .edui-dialog-modalmask,.edui-dialog-dragmask{position:absolute;left:0;top:0;width:100%;height:100%}.edui-default .edui-toolbar{position:relative}.edui-default .edui-label{cursor:default}.edui-default span.edui-clickable{color:blue;cursor:pointer;text-decoration:underline}.edui-default span.edui-unclickable{color:gray;cursor:default}.edui-default .edui-toolbar{cursor:default;-webkit-user-select:none;-moz-user-select:none;padding:1px;overflow:hidden;zoom:1;width:auto;height:auto}.edui-default .edui-toolbar .edui-button,.edui-default .edui-toolbar .edui-splitbutton,.edui-default .edui-toolbar .edui-menubutton,.edui-default .edui-toolbar .edui-combox{margin:1px}.edui-default .edui-editor{border:1px solid #d4d4d4;background-color:white;position:relative;overflow:visible;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.edui-editor div{width:auto;height:auto}.edui-default .edui-editor-toolbarbox{position:relative;zoom:1;-webkit-box-shadow:0 1px 4px rgba(204,204,204,0.6);-moz-box-shadow:0 1px 4px rgba(204,204,204,0.6);box-shadow:0 1px 4px rgba(204,204,204,0.6);border-top-left-radius:2px;border-top-right-radius:2px}.edui-default .edui-editor-toolbarboxouter{border-bottom:1px solid #d4d4d4;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.edui-default .edui-editor-toolbarboxinner{padding:2px}.edui-default .edui-editor-iframeholder{position:relative}.edui-default .edui-editor-bottomContainer{overflow:hidden}.edui-default .edui-editor-bottomContainer table{width:100%;height:0;overflow:hidden;border-spacing:0}.edui-default .edui-editor-bottomContainer td{white-space:nowrap;border-top:1px solid #ccc;line-height:20px;font-size:12px;font-family:Arial,Helvetica,Tahoma,Verdana,Sans-Serif}.edui-default .edui-editor-wordcount{text-align:right;margin-right:5px;color:#aaa}.edui-default .edui-editor-scale{width:12px}.edui-default .edui-editor-scale .edui-editor-icon{float:right;width:100%;height:12px;margin-top:10px;background:url(../images/scale.png) no-repeat;cursor:se-resize}.edui-default .edui-editor-breadcrumb{margin:2px 0 0 3px}.edui-default .edui-editor-breadcrumb span{cursor:pointer;text-decoration:underline;color:blue}.edui-default .edui-toolbar .edui-for-fullscreen{float:right}.edui-default .edui-bubble .edui-popup-content{border:1px solid #dcac6c;background-color:#fff6d9;padding:5px;font-size:10pt;font-family:"宋体"}.edui-default .edui-editor-toolbarmsg{background-color:#fff6d9;border-bottom:1px solid #ccc;position:absolute;bottom:-25px;left:0;z-index:1009;width:99.9%}.edui-default .edui-editor-toolbarmsg-upload{font-size:14px;color:blue;width:100px;height:16px;line-height:16px;cursor:pointer;position:absolute;top:5px;left:350px}.edui-default .edui-editor-toolbarmsg-label{font-size:12px;line-height:16px;padding:4px}.edui-default .edui-editor-toolbarmsg-close{float:right;width:20px;height:16px;line-height:16px;cursor:pointer;color:red}.edui-default .edui-list .edui-bordereraser{display:none}.edui-default .edui-listitem{padding:1px;white-space:nowrap}.edui-default .edui-list .edui-state-hover{position:relative;background-color:#fff5d4;border:1px solid #dcac6c;padding:0}.edui-default .edui-for-fontfamily .edui-listitem-label{min-width:130px;_width:120px;font-size:12px;height:22px;line-height:22px;padding-left:5px}.edui-default .edui-for-insertcode .edui-listitem-label{min-width:120px;_width:120px;font-size:12px;height:22px;line-height:22px;padding-left:5px}.edui-default .edui-for-underline .edui-listitem-label{min-width:120px;_width:120px;padding:3px 5px;font-size:12px}.edui-default .edui-for-fontsize .edui-listitem-label{min-width:120px;_width:120px;padding:3px 5px}.edui-default .edui-for-paragraph .edui-listitem-label{min-width:200px;_width:200px;padding:2px 5px}.edui-default .edui-for-rowspacingtop .edui-listitem-label,.edui-default .edui-for-rowspacingbottom .edui-listitem-label{min-width:53px;_width:53px;padding:2px 5px}.edui-default .edui-for-lineheight .edui-listitem-label{min-width:53px;_width:53px;padding:2px 5px}.edui-default .edui-for-customstyle .edui-listitem-label{min-width:200px;_width:200px;width:200px !important;padding:2px 5px}.edui-default .edui-menu{z-index:3000}.edui-default .edui-menu .edui-popup-content{padding:3px}.edui-default .edui-menu-body{_width:150px;min-width:170px;background:url("../images/sparator_v.png") repeat-y 25px}.edui-default .edui-menuitem{height:20px;cursor:default;vertical-align:top}.edui-default .edui-menuitem .edui-icon{width:20px !important;height:20px !important;background:url(../images/icons.png) 0 -4000px;background:url(../images/icons.gif) 0 -4000px\9}.edui-default .edui-menuitem .edui-label{font-size:12px;line-height:20px;height:20px;padding-left:10px}.edui-default .edui-state-checked .edui-menuitem-body{background:url("../images/icons-all.gif") no-repeat 6px -205px}.edui-default .edui-state-disabled .edui-menuitem-label{color:gray}.edui-default .edui-toolbar .edui-combox-body .edui-button-body{width:60px;font-size:12px;height:20px;line-height:20px;padding-left:5px;white-space:nowrap;margin:0 3px 0 0}.edui-default .edui-toolbar .edui-combox-body .edui-arrow{background:url(../images/icons.png) -741px 0;_background:url(../images/icons.gif) -741px 0;height:20px;width:9px}.edui-default .edui-toolbar .edui-combox .edui-combox-body{border:1px solid #CCC;background-color:white;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px}.edui-default .edui-toolbar .edui-combox-body .edui-splitborder{display:none}.edui-default .edui-toolbar .edui-combox-body .edui-arrow{border-left:1px solid #CCC}.edui-default .edui-toolbar .edui-state-hover .edui-combox-body{background-color:#fff5d4;border:1px solid #dcac6c}.edui-default .edui-toolbar .edui-state-hover .edui-combox-body .edui-arrow{border-left:1px solid #dcac6c}.edui-default .edui-toolbar .edui-state-checked .edui-combox-body{background-color:#ffe69f;border:1px solid #dcac6c}.edui-toolbar .edui-state-checked .edui-combox-body .edui-arrow{border-left:1px solid #dcac6c}.edui-toolbar .edui-state-disabled .edui-combox-body{background-color:#f0f0ee;opacity:.3;filter:alpha(opacity = 30)}.edui-toolbar .edui-state-opened .edui-combox-body{background-color:white;border:1px solid gray}.edui-default .edui-toolbar .edui-button .edui-icon,.edui-default .edui-toolbar .edui-menubutton .edui-icon,.edui-default .edui-toolbar .edui-splitbutton .edui-icon{height:20px !important;width:20px !important;background-image:url(../images/icons.png);background-image:url(../images/icons.gif) \9}.edui-default .edui-toolbar .edui-button .edui-button-wrap{padding:1px;position:relative}.edui-default .edui-toolbar .edui-button .edui-state-hover .edui-button-wrap{background-color:#fff5d4;padding:0;border:1px solid #dcac6c}.edui-default .edui-toolbar .edui-button .edui-state-checked .edui-button-wrap{background-color:#ffe69f;padding:0;border:1px solid #dcac6c;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px}.edui-default .edui-toolbar .edui-button .edui-state-active .edui-button-wrap{background-color:#fff;padding:0;border:1px solid gray}.edui-default .edui-toolbar .edui-state-disabled .edui-label{color:#ccc}.edui-default .edui-toolbar .edui-state-disabled .edui-icon{opacity:.3;filter:alpha(opacity = 30)}.edui-default .edui-for-undo .edui-icon{background-position:-160px 0}.edui-default .edui-for-redo .edui-icon{background-position:-100px 0}.edui-default .edui-for-bold .edui-icon{background-position:0 0}.edui-default .edui-for-italic .edui-icon{background-position:-60px 0}.edui-default .edui-for-fontborder .edui-icon{background-position:-160px -40px}.edui-default .edui-for-underline .edui-icon{background-position:-140px 0}.edui-default .edui-for-strikethrough .edui-icon{background-position:-120px 0}.edui-default .edui-for-subscript .edui-icon{background-position:-600px 0}.edui-default .edui-for-superscript .edui-icon{background-position:-620px 0}.edui-default .edui-for-blockquote .edui-icon{background-position:-220px 0}.edui-default .edui-for-forecolor .edui-icon{background-position:-720px 0}.edui-default .edui-for-backcolor .edui-icon{background-position:-760px 0}.edui-default .edui-for-inserttable .edui-icon{background-position:-580px -20px}.edui-default .edui-for-autotypeset .edui-icon{background-position:-640px -40px}.edui-default .edui-for-justifyleft .edui-icon{background-position:-460px 0}.edui-default .edui-for-justifycenter .edui-icon{background-position:-420px 0}.edui-default .edui-for-justifyright .edui-icon{background-position:-480px 0}.edui-default .edui-for-justifyjustify .edui-icon{background-position:-440px 0}.edui-default .edui-for-insertorderedlist .edui-icon{background-position:-80px 0}.edui-default .edui-for-insertunorderedlist .edui-icon{background-position:-20px 0}.edui-default .edui-for-lineheight .edui-icon{background-position:-725px -40px}.edui-default .edui-for-rowspacingbottom .edui-icon{background-position:-745px -40px}.edui-default .edui-for-rowspacingtop .edui-icon{background-position:-765px -40px}.edui-default .edui-for-horizontal .edui-icon{background-position:-360px 0}.edui-default .edui-for-gapfilling .edui-icon{background-position:-360px 0}.edui-default .edui-for-link .edui-icon{background-position:-500px 0}.edui-default .edui-for-code .edui-icon{background-position:-440px -40px}.edui-default .edui-for-insertimage .edui-icon{background-position:-726px -77px}.edui-default .edui-for-insertframe .edui-icon{background-position:-240px -40px}.edui-default .edui-for-emoticon .edui-icon{background-position:-60px -20px}.edui-default .edui-for-spechars .edui-icon{background-position:-240px 0}.edui-default .edui-for-help .edui-icon{background-position:-340px 0}.edui-default .edui-for-print .edui-icon{background-position:-440px -20px}.edui-default .edui-for-preview .edui-icon{background-position:-420px -20px}.edui-default .edui-for-selectall .edui-icon{background-position:-400px -20px}.edui-default .edui-for-searchreplace .edui-icon{background-position:-520px -20px}.edui-default .edui-for-map .edui-icon{background-position:-40px -40px}.edui-default .edui-for-gmap .edui-icon{background-position:-260px -40px}.edui-default .edui-for-insertvideo .edui-icon{background-position:-320px -20px}.edui-default .edui-for-time .edui-icon{background-position:-160px -20px}.edui-default .edui-for-date .edui-icon{background-position:-140px -20px}.edui-default .edui-for-cut .edui-icon{background-position:-680px 0}.edui-default .edui-for-copy .edui-icon{background-position:-700px 0}.edui-default .edui-for-paste .edui-icon{background-position:-560px 0}.edui-default .edui-for-formatmatch .edui-icon{background-position:-40px 0}.edui-default .edui-for-pasteplain .edui-icon{background-position:-360px -20px}.edui-default .edui-for-directionalityltr .edui-icon{background-position:-20px -20px}.edui-default .edui-for-directionalityrtl .edui-icon{background-position:-40px -20px}.edui-default .edui-for-source .edui-icon{background-position:-261px -0}.edui-default .edui-for-removeformat .edui-icon{background-position:-580px 0}.edui-default .edui-for-unlink .edui-icon{background-position:-640px 0}.edui-default .edui-for-touppercase .edui-icon{background-position:-786px 0}.edui-default .edui-for-tolowercase .edui-icon{background-position:-806px 0}.edui-default .edui-for-insertrow .edui-icon{background-position:-478px -76px}.edui-default .edui-for-insertrownext .edui-icon{background-position:-498px -76px}.edui-default .edui-for-insertcol .edui-icon{background-position:-455px -76px}.edui-default .edui-for-insertcolnext .edui-icon{background-position:-429px -76px}.edui-default .edui-for-mergeright .edui-icon{background-position:-60px -40px}.edui-default .edui-for-mergedown .edui-icon{background-position:-80px -40px}.edui-default .edui-for-splittorows .edui-icon{background-position:-100px -40px}.edui-default .edui-for-splittocols .edui-icon{background-position:-120px -40px}.edui-default .edui-for-insertparagraphbeforetable .edui-icon{background-position:-140px -40px}.edui-default .edui-for-deleterow .edui-icon{background-position:-660px -20px}.edui-default .edui-for-deletecol .edui-icon{background-position:-640px -20px}.edui-default .edui-for-splittocells .edui-icon{background-position:-800px -20px}.edui-default .edui-for-mergecells .edui-icon{background-position:-760px -20px}.edui-default .edui-for-deletetable .edui-icon{background-position:-620px -20px}.edui-default .edui-for-cleardoc .edui-icon{background-position:-520px 0}.edui-default .edui-for-fullscreen .edui-icon{background-position:-100px -20px}.edui-default .edui-for-anchor .edui-icon{background-position:-200px 0}.edui-default .edui-for-pagebreak .edui-icon{background-position:-460px -40px}.edui-default .edui-for-imagenone .edui-icon{background-position:-480px -40px}.edui-default .edui-for-imageleft .edui-icon{background-position:-500px -40px}.edui-default .edui-for-wordimage .edui-icon{background-position:-660px -40px}.edui-default .edui-for-imageright .edui-icon{background-position:-520px -40px}.edui-default .edui-for-imagecenter .edui-icon{background-position:-540px -40px}.edui-default .edui-for-indent .edui-icon{background-position:-400px 0}.edui-default .edui-for-outdent .edui-icon{background-position:-540px 0}.edui-default .edui-for-webapp .edui-icon{background-position:-601px -40px}.edui-default .edui-for-table .edui-icon{background-position:-580px -20px}.edui-default .edui-for-edittable .edui-icon{background-position:-420px -40px}.edui-default .edui-for-template .edui-icon{background-position:-339px -40px}.edui-default .edui-for-delete .edui-icon{background-position:-360px -40px}.edui-default .edui-for-attachment .edui-icon{background-position:-620px -40px}.edui-default .edui-for-edittd .edui-icon{background-position:-700px -40px}.edui-default .edui-for-snapscreen .edui-icon{background-position:-581px -40px}.edui-default .edui-for-scrawl .edui-icon{background-position:-801px -41px}.edui-default .edui-for-background .edui-icon{background-position:-680px -40px}.edui-default .edui-for-music .edui-icon{background-position:-18px -40px}.edui-default .edui-for-formula .edui-icon{background-position:-200px -40px}.edui-default .edui-for-aligntd .edui-icon{background-position:-236px -76px}.edui-default .edui-for-insertparagraphtrue .edui-icon{background-position:-625px -76px}.edui-default .edui-for-insertparagraph .edui-icon{background-position:-602px -76px}.edui-default .edui-for-insertcaption .edui-icon{background-position:-336px -76px}.edui-default .edui-for-deletecaption .edui-icon{background-position:-362px -76px}.edui-default .edui-for-inserttitle .edui-icon{background-position:-286px -76px}.edui-default .edui-for-deletetitle .edui-icon{background-position:-311px -76px}.edui-default .edui-for-aligntable .edui-icon{background-position:-440px 0}.edui-default .edui-for-tablealignment-left .edui-icon{background-position:-460px 0}.edui-default .edui-for-tablealignment-center .edui-icon{background-position:-420px 0}.edui-default .edui-for-tablealignment-right .edui-icon{background-position:-480px 0}.edui-default .edui-for-drafts .edui-icon{background-position:-560px 0}.edui-default .edui-for-charts .edui-icon{background:url(../images/charts.png) no-repeat 2px 3px !important}.edui-default .edui-for-inserttitlecol .edui-icon{background-position:-673px -76px}.edui-default .edui-for-deletetitlecol .edui-icon{background-position:-698px -76px}.edui-default .edui-for-simpleupload .edui-icon{background-position:-380px 0}.edui-default .edui-toolbar .edui-splitbutton-body .edui-arrow,.edui-default .edui-toolbar .edui-menubutton-body .edui-arrow{background:url(../images/icons.png) -741px 0;_background:url(../images/icons.gif) -741px 0;height:20px;width:9px}.edui-default .edui-toolbar .edui-splitbutton .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-menubutton-body{padding:1px}.edui-default .edui-toolbar .edui-splitborder{width:1px;height:20px}.edui-default .edui-toolbar .edui-state-hover .edui-splitborder{width:1px;border-left:0 solid #dcac6c}.edui-default .edui-toolbar .edui-state-active .edui-splitborder{width:0;border-left:1px solid gray}.edui-default .edui-toolbar .edui-state-opened .edui-splitborder{width:1px;border:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-hover .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-hover .edui-menubutton-body{background-color:#fff5d4;border:1px solid #dcac6c;padding:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-checked .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-checked .edui-menubutton-body{background-color:#ffe69f;border:1px solid #dcac6c;padding:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-active .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-active .edui-menubutton-body{background-color:#fff;border:1px solid gray;padding:0}.edui-default .edui-state-disabled .edui-arrow{opacity:.3;_filter:alpha(opacity = 30)}.edui-default .edui-toolbar .edui-splitbutton .edui-state-opened .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-opened .edui-menubutton-body{background-color:white;border:1px solid gray;padding:0}.edui-default .edui-for-insertorderedlist .edui-bordereraser,.edui-default .edui-for-lineheight .edui-bordereraser,.edui-default .edui-for-rowspacingtop .edui-bordereraser,.edui-default .edui-for-rowspacingbottom .edui-bordereraser,.edui-default .edui-for-insertunorderedlist .edui-bordereraser{background-color:white}.edui-default .edui-for-insertorderedlist .edui-popup-body .edui-icon,.edui-default .edui-for-lineheight .edui-popup-body .edui-icon,.edui-default .edui-for-rowspacingtop .edui-popup-body .edui-icon,.edui-default .edui-for-rowspacingbottom .edui-popup-body .edui-icon,.edui-default .edui-for-insertunorderedlist .edui-popup-body .edui-icon{background-image:none}.edui-default .edui-popup{z-index:3000;background-color:#fff;width:auto;height:auto}.edui-default .edui-popup .edui-shadow{left:0;top:0;width:100%;height:100%}.edui-default .edui-popup-content{border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 4px rgba(0,0,0,0.2);-moz-box-shadow:0 3px 4px rgba(0,0,0,0.2);box-shadow:0 3px 4px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;padding:5px;background:#fff}.edui-default .edui-popup .edui-bordereraser{background-color:white;height:3px}.edui-default .edui-menu .edui-bordereraser{height:3px}.edui-default .edui-anchor-topleft .edui-bordereraser{left:1px;top:-2px}.edui-default .edui-anchor-topright .edui-bordereraser{right:1px;top:-2px}.edui-default .edui-anchor-bottomleft .edui-bordereraser{left:0;bottom:-6px;height:7px;border-left:1px solid gray;border-right:1px solid gray}.edui-default .edui-anchor-bottomright .edui-bordereraser{right:0;bottom:-6px;height:7px;border-left:1px solid gray;border-right:1px solid gray}.edui-popup div{width:auto;height:auto}.edui-default .edui-editor-messageholder{display:block;width:150px;height:auto;border:0;margin:0;padding:0;position:absolute;top:28px;right:3px}.edui-default .edui-message{min-height:10px;text-shadow:0 1px 0 rgba(255,255,255,0.5);padding:0;margin-bottom:3px;position:relative}.edui-default .edui-message-body{border-radius:3px;padding:8px 15px 8px 8px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5}.edui-default .edui-message-type-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.edui-default .edui-message-type-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.edui-default .edui-message-type-danger,.edui-default .edui-message-type-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.edui-default .edui-message .edui-message-closer{display:block;width:16px;height:16px;line-height:16px;position:absolute;top:0;right:0;padding:0;cursor:pointer;background:transparent;border:0;float:right;font-size:20px;font-weight:bold;color:#999;text-shadow:0 1px 0 #fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.edui-default .edui-message .edui-message-content{font-size:10pt;word-wrap:break-word;word-break:normal}.edui-default .edui-dialog{z-index:2000;position:absolute}.edui-dialog div{width:auto}.edui-default .edui-dialog-wrap{margin-right:6px;margin-bottom:6px}.edui-default .edui-dialog-fullscreen-flag{margin-right:0;margin-bottom:0}.edui-default .edui-dialog-body{position:relative;padding:2px 0 0 2px;_zoom:1}.edui-default .edui-dialog-fullscreen-flag .edui-dialog-body{padding:0}.edui-default .edui-dialog-shadow{position:absolute;z-index:-1;left:0;top:0;width:100%;height:100%;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.edui-default .edui-dialog-foot{background-color:white}.edui-default .edui-dialog-titlebar{height:26px;border-bottom:1px solid #c6c6c6;background:url(../images/dialog-title-bg.png) repeat-x bottom;position:relative;cursor:move}.edui-default .edui-dialog-caption{font-weight:bold;font-size:12px;line-height:26px;padding-left:5px}.edui-default .edui-dialog-draghandle{height:26px}.edui-default .edui-dialog-closebutton{position:absolute !important;right:5px;top:3px}.edui-default .edui-dialog-closebutton .edui-button-body{height:20px;width:20px;cursor:pointer;background:url("../images/icons-all.gif") no-repeat 0 -59px}.edui-default .edui-dialog-closebutton .edui-state-hover .edui-button-body{background:url("../images/icons-all.gif") no-repeat 0 -89px}.edui-default .edui-dialog-foot{height:40px}.edui-default .edui-dialog-buttons{position:absolute;right:0}.edui-default .edui-dialog-buttons .edui-button{margin-right:10px}.edui-default .edui-dialog-buttons .edui-button .edui-button-body{background:url("../images/icons-all.gif") no-repeat;height:24px;width:96px;font-size:12px;line-height:24px;text-align:center;cursor:default}.edui-default .edui-dialog-buttons .edui-button .edui-state-hover .edui-button-body{background:url("../images/icons-all.gif") no-repeat 0 -30px}.edui-default .edui-dialog iframe{border:0;padding:0;margin:0;vertical-align:top}.edui-default .edui-dialog-modalmask{opacity:.3;filter:alpha(opacity = 30);background-color:#ccc;position:absolute;opacity:.5;filter:alpha(opacity = 50);background:#000}.edui-default .edui-dialog-dragmask{position:absolute;background-color:transparent;cursor:move}.edui-default .edui-dialog-content{position:relative}.edui-default .dialogcontmask{cursor:move;visibility:hidden;display:block;position:absolute;width:100%;height:100%;opacity:0;filter:alpha(opacity = 0)}.edui-default .edui-for-link .edui-dialog-content{width:420px;height:200px;overflow:hidden}.edui-default .edui-for-background .edui-dialog-content{width:440px;height:280px;overflow:hidden}.edui-default .edui-for-template .edui-dialog-content{width:630px;height:390px;overflow:hidden}.edui-default .edui-for-scrawl .edui-dialog-content{width:515px;*width:506px;height:360px}.edui-default .edui-for-spechars .edui-dialog-content{width:620px;height:500px;*width:630px;*height:570px}.edui-default .edui-for-insertimage .edui-dialog-content{width:650px;height:400px;overflow:hidden}.edui-default .edui-for-webapp .edui-dialog-content{width:560px;_width:565px;height:450px;overflow:hidden}.edui-default .edui-for-insertframe .edui-dialog-content{width:350px;height:200px;overflow:hidden}.edui-default .edui-for-wordimage .edui-dialog-content{width:620px;height:380px;overflow:hidden}.edui-default .edui-for-attachment .edui-dialog-content{width:650px;height:400px;overflow:hidden}.edui-default .edui-for-map .edui-dialog-content{width:550px;height:400px}.edui-default .edui-for-gmap .edui-dialog-content{width:550px;height:400px}.edui-default .edui-for-insertvideo .edui-dialog-content{width:590px;height:390px}.edui-default .edui-for-anchor .edui-dialog-content{width:320px;height:60px;overflow:hidden}.edui-default .edui-for-searchreplace .edui-dialog-content{width:400px;height:220px}.edui-default .edui-for-help .edui-dialog-content{width:400px;height:420px}.edui-default .edui-for-edittable .edui-dialog-content{width:540px;_width:590px;height:335px}.edui-default .edui-for-edittip .edui-dialog-content{width:225px;height:60px}.edui-default .edui-for-edittd .edui-dialog-content{width:240px;height:50px}.edui-default .edui-for-snapscreen .edui-dialog-content{width:400px;height:220px}.edui-default .edui-for-music .edui-dialog-content{width:515px;height:360px}.edui-default .edui-for-paragraph .edui-listitem-label{font-family:Tahoma,Verdana,Arial,Helvetica}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-p{font-size:22px;line-height:27px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h1{font-weight:bolder;font-size:32px;line-height:36px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h2{font-weight:bolder;font-size:27px;line-height:29px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h3{font-weight:bolder;font-size:19px;line-height:23px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h4{font-weight:bolder;font-size:16px;line-height:19px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h5{font-weight:bolder;font-size:13px;line-height:16px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h6{font-weight:bolder;font-size:12px;line-height:14px}.edui-default .edui-for-inserttable .edui-splitborder{display:none}.edui-default .edui-for-inserttable .edui-splitbutton-body .edui-arrow{width:0}.edui-default .edui-toolbar .edui-for-inserttable .edui-state-active .edui-splitborder{border-left:1px solid transparent}.edui-default .edui-tablepicker .edui-infoarea{height:14px;line-height:14px;font-size:12px;width:220px;margin-bottom:3px;clear:both}.edui-default .edui-tablepicker .edui-infoarea .edui-label{float:left}.edui-default .edui-dialog-buttons .edui-label{line-height:24px}.edui-default .edui-tablepicker .edui-infoarea .edui-clickable{float:right}.edui-default .edui-tablepicker .edui-pickarea{background:url("../images/unhighlighted.gif") repeat;height:220px;width:220px}.edui-default .edui-tablepicker .edui-pickarea .edui-overlay{background:url("../images/highlighted.gif") repeat}.edui-default .edui-colorpicker-topbar{height:27px;width:200px}.edui-default .edui-colorpicker-preview{height:20px;border:1px inset black;margin-left:1px;width:128px;float:left}.edui-default .edui-colorpicker-nocolor{float:right;margin-right:1px;font-size:12px;line-height:14px;height:14px;border:1px solid #333;padding:3px 5px;cursor:pointer}.edui-default .edui-colorpicker-tablefirstrow{height:30px}.edui-default .edui-colorpicker-colorcell{width:14px;height:14px;display:block;margin:0;cursor:pointer}.edui-default .edui-colorpicker-colorcell:hover{width:14px;height:14px;margin:0}.edui-default .edui-colorpicker-advbtn{display:block;text-align:center;cursor:pointer;height:20px}.arrow_down{background:white url('../images/arrow_down.png') no-repeat center}.arrow_up{background:white url('../images/arrow_up.png') no-repeat center}.edui-colorpicker-adv{position:relative;overflow:hidden;height:180px;display:none}.edui-colorpicker-plant,.edui-colorpicker-hue{border:solid 1px #666}.edui-colorpicker-pad{width:150px;height:150px;left:14px;top:13px;position:absolute;background:red;overflow:hidden;cursor:crosshair}.edui-colorpicker-cover{position:absolute;top:0;left:0;width:150px;height:150px;background:url("../images/tangram-colorpicker.png") -160px -200px}.edui-colorpicker-padDot{position:absolute;top:0;left:0;width:11px;height:11px;overflow:hidden;background:url(../images/tangram-colorpicker.png) 0 -200px repeat-x;z-index:1000}.edui-colorpicker-sliderMain{position:absolute;left:171px;top:13px;width:19px;height:152px;background:url(../images/tangram-colorpicker.png) -179px -12px no-repeat}.edui-colorpicker-slider{width:100%;height:100%;cursor:pointer}.edui-colorpicker-thumb{position:absolute;top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid black;background:white;opacity:.8}.edui-default .edui-autotypesetpicker .edui-autotypesetpicker-body{font-size:12px;margin-bottom:3px;clear:both}.edui-default .edui-autotypesetpicker-body table{border-collapse:separate;border-spacing:2px}.edui-default .edui-autotypesetpicker-body td{font-size:12px;word-wrap:break-word}.edui-default .edui-autotypesetpicker-body td input{margin:3px 3px 3px 4px;*margin:1px 0 0 0}.edui-default .edui-cellalignpicker .edui-cellalignpicker-body{width:70px;font-size:12px;cursor:default}.edui-default .edui-cellalignpicker-body table{border-collapse:separate;border-spacing:0}.edui-default .edui-cellalignpicker-body td{padding:1px}.edui-default .edui-cellalignpicker-body .edui-icon{height:20px;width:20px;padding:1px;background-image:url(../images/table-cell-align.png)}.edui-default .edui-cellalignpicker-body .edui-left{background-position:0 0}.edui-default .edui-cellalignpicker-body .edui-center{background-position:-25px 0}.edui-default .edui-cellalignpicker-body .edui-right{background-position:-51px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-left{background-position:-73px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-center{background-position:-98px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-right{background-position:-124px 0}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-left{background-position:-146px 0;background-color:#f1f4f5}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-center{background-position:-245px 0}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-right{background-position:-271px 0}.edui-default .edui-toolbar .edui-separator{width:2px;height:20px;margin:2px 4px 2px 3px;background:url(../images/icons.png) -181px 0;background:url(../images/icons.gif) -181px 0 \9}.edui-default .edui-toolbar .edui-colorbutton .edui-colorlump{position:absolute;overflow:hidden;bottom:1px;left:1px;width:18px;height:4px}.edui-default .edui-for-emotion .edui-icon{background-position:-60px -20px}.edui-default .edui-for-emotion .edui-popup-content iframe{width:514px;height:380px;overflow:hidden}.edui-default .edui-for-emotion .edui-popup-content{position:relative;z-index:555}.edui-default .edui-for-emotion .edui-splitborder{display:none}.edui-default .edui-for-emotion .edui-splitbutton-body .edui-arrow{width:0}.edui-default .edui-toolbar .edui-for-emotion .edui-state-active .edui-splitborder{border-left:1px solid transparent}.edui-default .edui-hassubmenu .edui-arrow{height:20px;width:20px;float:right;background:url("../images/icons-all.gif") no-repeat 10px -233px}.edui-default .edui-menu-body .edui-menuitem{padding:1px}.edui-default .edui-menuseparator{margin:2px 0;height:1px;overflow:hidden}.edui-default .edui-menuseparator-inner{border-bottom:1px solid #e2e3e3;margin-left:29px;margin-right:1px}.edui-default .edui-menu-body .edui-state-hover{padding:0 !important;background-color:#fff5d4;border:1px solid #dcac6c}.edui-default .edui-shortcutmenu{padding:2px;width:190px;height:50px;background-color:#fff;border:1px solid #ccc;border-radius:5px}.edui-default .edui-wordpastepop .edui-popup-content{border:0;padding:0;width:54px;height:21px}.edui-default .edui-pasteicon{width:100%;height:100%;background-image:url('../images/wordpaste.png');background-position:0 0}.edui-default .edui-pasteicon.edui-state-opened{background-position:0 -34px}.edui-default .edui-pastecontainer{position:relative;visibility:hidden;width:97px;background:#fff;border:1px solid #ccc}.edui-default .edui-pastecontainer .edui-title{font-weight:bold;background:#f8f8ff;height:25px;line-height:25px;font-size:12px;padding-left:5px}.edui-default .edui-pastecontainer .edui-button{overflow:hidden;margin:3px 0}.edui-default .edui-pastecontainer .edui-button .edui-richtxticon,.edui-default .edui-pastecontainer .edui-button .edui-tagicon,.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon{float:left;cursor:pointer;width:29px;height:29px;margin-left:5px;background-image:url('../images/wordpaste.png');background-repeat:no-repeat}.edui-default .edui-pastecontainer .edui-button .edui-richtxticon{margin-left:0;background-position:-109px 0}.edui-default .edui-pastecontainer .edui-button .edui-tagicon{background-position:-148px 1px}.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon{background-position:-72px 0}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-richtxticon{background-position:-109px -34px}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-tagicon{background-position:-148px -34px}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-plaintxticon{background-position:-72px -34px}.edui-default .edui-for-custombtn .edui-icon{background-position:-361px -0}.edui-default .edui-for-complexformulas .edui-icon{background-image:url(../images/mkf-icon.png) !important} +.edui-default .edui-box{border:0;padding:0;margin:0;overflow:hidden}.edui-default a.edui-box{display:block;text-decoration:none;color:black}.edui-default a.edui-box:hover{text-decoration:none}.edui-default a.edui-box:active{text-decoration:none}.edui-default table.edui-box{border-collapse:collapse}.edui-default ul.edui-box{list-style-type:none}div.edui-box{position:relative;display:-moz-inline-box !important;display:inline-block !important;vertical-align:top}.edui-default .edui-clearfix{zoom:1}.edui-default .edui-clearfix:after{content:'\20';display:block;clear:both}* html div.edui-box{display:inline !important}*:first-child+html div.edui-box{display:inline !important}.edui-default .edui-button-body,.edui-splitbutton-body,.edui-menubutton-body,.edui-combox-body{position:relative}.edui-default .edui-popup{position:absolute;-webkit-user-select:none;-moz-user-select:none}.edui-default .edui-popup .edui-shadow{position:absolute;z-index:-1}.edui-default .edui-popup .edui-bordereraser{position:absolute;overflow:hidden}.edui-default .edui-tablepicker .edui-canvas{position:relative}.edui-default .edui-tablepicker .edui-canvas .edui-overlay{position:absolute}.edui-default .edui-dialog-modalmask,.edui-dialog-dragmask{position:absolute;left:0;top:0;width:100%;height:100%}.edui-default .edui-toolbar{position:relative}.edui-default .edui-label{cursor:default}.edui-default span.edui-clickable{color:blue;cursor:pointer;text-decoration:underline}.edui-default span.edui-unclickable{color:gray;cursor:default}.edui-default .edui-toolbar{cursor:default;-webkit-user-select:none;-moz-user-select:none;padding:1px;overflow:hidden;zoom:1;width:auto;height:auto}.edui-default .edui-toolbar .edui-button,.edui-default .edui-toolbar .edui-splitbutton,.edui-default .edui-toolbar .edui-menubutton,.edui-default .edui-toolbar .edui-combox{margin:1px}.edui-default .edui-editor{border:1px solid #d4d4d4;background-color:white;position:relative;overflow:visible;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.edui-editor div{width:auto;height:auto}.edui-default .edui-editor-toolbarbox{position:relative;zoom:1;-webkit-box-shadow:0 1px 4px rgba(204,204,204,0.6);-moz-box-shadow:0 1px 4px rgba(204,204,204,0.6);box-shadow:0 1px 4px rgba(204,204,204,0.6);border-top-left-radius:2px;border-top-right-radius:2px}.edui-default .edui-editor-toolbarboxouter{border-bottom:1px solid #d4d4d4;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.edui-default .edui-editor-toolbarboxinner{padding:2px}.edui-default .edui-editor-iframeholder{position:relative}.edui-default .edui-editor-bottomContainer{overflow:hidden}.edui-default .edui-editor-bottomContainer table{width:100%;height:0;overflow:hidden;border-spacing:0}.edui-default .edui-editor-bottomContainer td{white-space:nowrap;border-top:1px solid #ccc;line-height:20px;font-size:12px;font-family:Arial,Helvetica,Tahoma,Verdana,Sans-Serif}.edui-default .edui-editor-wordcount{text-align:right;margin-right:5px;color:#aaa}.edui-default .edui-editor-scale{width:12px}.edui-default .edui-editor-scale .edui-editor-icon{float:right;width:100%;height:12px;margin-top:10px;background:url(../images/scale.png) no-repeat;cursor:se-resize}.edui-default .edui-editor-breadcrumb{margin:2px 0 0 3px}.edui-default .edui-editor-breadcrumb span{cursor:pointer;text-decoration:underline;color:blue}.edui-default .edui-toolbar .edui-for-fullscreen{float:right}.edui-default .edui-bubble .edui-popup-content{border:1px solid #dcac6c;background-color:#fff6d9;padding:5px;font-size:10pt;font-family:"宋体"}.edui-default .edui-editor-toolbarmsg{background-color:#fff6d9;border-bottom:1px solid #ccc;position:absolute;bottom:-25px;left:0;z-index:1009;width:99.9%}.edui-default .edui-editor-toolbarmsg-upload{font-size:14px;color:blue;width:100px;height:16px;line-height:16px;cursor:pointer;position:absolute;top:5px;left:350px}.edui-default .edui-editor-toolbarmsg-label{font-size:12px;line-height:16px;padding:4px}.edui-default .edui-editor-toolbarmsg-close{float:right;width:20px;height:16px;line-height:16px;cursor:pointer;color:red}.edui-default .edui-list .edui-bordereraser{display:none}.edui-default .edui-listitem{padding:1px;white-space:nowrap}.edui-default .edui-list .edui-state-hover{position:relative;background-color:#fff5d4;border:1px solid #dcac6c;padding:0}.edui-default .edui-for-fontfamily .edui-listitem-label{min-width:130px;_width:120px;font-size:12px;height:22px;line-height:22px;padding-left:5px}.edui-default .edui-for-insertcode .edui-listitem-label{min-width:120px;_width:120px;font-size:12px;height:22px;line-height:22px;padding-left:5px}.edui-default .edui-for-underline .edui-listitem-label{min-width:120px;_width:120px;padding:3px 5px;font-size:12px}.edui-default .edui-for-fontsize .edui-listitem-label{min-width:120px;_width:120px;padding:3px 5px}.edui-default .edui-for-paragraph .edui-listitem-label{min-width:200px;_width:200px;padding:2px 5px}.edui-default .edui-for-rowspacingtop .edui-listitem-label,.edui-default .edui-for-rowspacingbottom .edui-listitem-label{min-width:53px;_width:53px;padding:2px 5px}.edui-default .edui-for-lineheight .edui-listitem-label{min-width:53px;_width:53px;padding:2px 5px}.edui-default .edui-for-customstyle .edui-listitem-label{min-width:200px;_width:200px;width:200px !important;padding:2px 5px}.edui-default .edui-menu{z-index:3000}.edui-default .edui-menu .edui-popup-content{padding:3px}.edui-default .edui-menu-body{_width:150px;min-width:170px;background:url("../images/sparator_v.png") repeat-y 25px}.edui-default .edui-menuitem{height:20px;cursor:default;vertical-align:top}.edui-default .edui-menuitem .edui-icon{width:20px !important;height:20px !important;background:url(../images/icons.png) 0 -4000px;background:url(../images/icons.gif) 0 -4000px\9}.edui-default .edui-menuitem .edui-label{font-size:12px;line-height:20px;height:20px;padding-left:10px}.edui-default .edui-state-checked .edui-menuitem-body{background:url("../images/icons-all.gif") no-repeat 6px -205px}.edui-default .edui-state-disabled .edui-menuitem-label{color:gray}.edui-default .edui-toolbar .edui-combox-body .edui-button-body{width:60px;font-size:12px;height:20px;line-height:20px;padding-left:5px;white-space:nowrap;margin:0 3px 0 0}.edui-default .edui-toolbar .edui-combox-body .edui-arrow{background:url(../images/icons.png) -741px 0;_background:url(../images/icons.gif) -741px 0;height:20px;width:9px}.edui-default .edui-toolbar .edui-combox .edui-combox-body{border:1px solid #CCC;background-color:white;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px}.edui-default .edui-toolbar .edui-combox-body .edui-splitborder{display:none}.edui-default .edui-toolbar .edui-combox-body .edui-arrow{border-left:1px solid #CCC}.edui-default .edui-toolbar .edui-state-hover .edui-combox-body{background-color:#fff5d4;border:1px solid #dcac6c}.edui-default .edui-toolbar .edui-state-hover .edui-combox-body .edui-arrow{border-left:1px solid #dcac6c}.edui-default .edui-toolbar .edui-state-checked .edui-combox-body{background-color:#ffe69f;border:1px solid #dcac6c}.edui-toolbar .edui-state-checked .edui-combox-body .edui-arrow{border-left:1px solid #dcac6c}.edui-toolbar .edui-state-disabled .edui-combox-body{background-color:#f0f0ee;opacity:.3;filter:alpha(opacity = 30)}.edui-toolbar .edui-state-opened .edui-combox-body{background-color:white;border:1px solid gray}.edui-default .edui-toolbar .edui-button .edui-icon,.edui-default .edui-toolbar .edui-menubutton .edui-icon,.edui-default .edui-toolbar .edui-splitbutton .edui-icon{height:20px !important;width:20px !important;background-image:url(../images/icons.png);background-image:url(../images/icons.gif) \9}.edui-default .edui-toolbar .edui-button .edui-button-wrap{padding:1px;position:relative}.edui-default .edui-toolbar .edui-button .edui-state-hover .edui-button-wrap{background-color:#fff5d4;padding:0;border:1px solid #dcac6c}.edui-default .edui-toolbar .edui-button .edui-state-checked .edui-button-wrap{background-color:#ffe69f;padding:0;border:1px solid #dcac6c;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px}.edui-default .edui-toolbar .edui-button .edui-state-active .edui-button-wrap{background-color:#fff;padding:0;border:1px solid gray}.edui-default .edui-toolbar .edui-state-disabled .edui-label{color:#ccc}.edui-default .edui-toolbar .edui-state-disabled .edui-icon{opacity:.3;filter:alpha(opacity = 30)}.edui-default .edui-for-undo .edui-icon{background-position:-160px 0}.edui-default .edui-for-redo .edui-icon{background-position:-100px 0}.edui-default .edui-for-bold .edui-icon{background-position:0 0}.edui-default .edui-for-italic .edui-icon{background-position:-60px 0}.edui-default .edui-for-fontborder .edui-icon{background-position:-160px -40px}.edui-default .edui-for-underline .edui-icon{background-position:-140px 0}.edui-default .edui-for-strikethrough .edui-icon{background-position:-120px 0}.edui-default .edui-for-subscript .edui-icon{background-position:-600px 0}.edui-default .edui-for-superscript .edui-icon{background-position:-620px 0}.edui-default .edui-for-blockquote .edui-icon{background-position:-220px 0}.edui-default .edui-for-forecolor .edui-icon{background-position:-720px 0}.edui-default .edui-for-backcolor .edui-icon{background-position:-760px 0}.edui-default .edui-for-inserttable .edui-icon{background-position:-580px -20px}.edui-default .edui-for-autotypeset .edui-icon{background-position:-640px -40px}.edui-default .edui-for-justifyleft .edui-icon{background-position:-460px 0}.edui-default .edui-for-justifycenter .edui-icon{background-position:-420px 0}.edui-default .edui-for-justifyright .edui-icon{background-position:-480px 0}.edui-default .edui-for-justifyjustify .edui-icon{background-position:-440px 0}.edui-default .edui-for-insertorderedlist .edui-icon{background-position:-80px 0}.edui-default .edui-for-insertunorderedlist .edui-icon{background-position:-20px 0}.edui-default .edui-for-lineheight .edui-icon{background-position:-725px -40px}.edui-default .edui-for-rowspacingbottom .edui-icon{background-position:-745px -40px}.edui-default .edui-for-rowspacingtop .edui-icon{background-position:-765px -40px}.edui-default .edui-for-horizontal .edui-icon{background-position:-360px 0}.edui-default .edui-for-gapfilling .edui-icon{background-position:-360px 0}.edui-default .edui-for-link .edui-icon{background-position:-500px 0}.edui-default .edui-for-code .edui-icon{background-position:-440px -40px}.edui-default .edui-for-insertimage .edui-icon{background-position:-726px -77px}.edui-default .edui-for-insertframe .edui-icon{background-position:-240px -40px}.edui-default .edui-for-emoticon .edui-icon{background-position:-60px -20px}.edui-default .edui-for-spechars .edui-icon{background-position:-240px 0}.edui-default .edui-for-help .edui-icon{background-position:-340px 0}.edui-default .edui-for-print .edui-icon{background-position:-440px -20px}.edui-default .edui-for-preview .edui-icon{background-position:-420px -20px}.edui-default .edui-for-selectall .edui-icon{background-position:-400px -20px}.edui-default .edui-for-searchreplace .edui-icon{background-position:-520px -20px}.edui-default .edui-for-map .edui-icon{background-position:-40px -40px}.edui-default .edui-for-gmap .edui-icon{background-position:-260px -40px}.edui-default .edui-for-insertvideo .edui-icon{background-position:-320px -20px}.edui-default .edui-for-time .edui-icon{background-position:-160px -20px}.edui-default .edui-for-date .edui-icon{background-position:-140px -20px}.edui-default .edui-for-cut .edui-icon{background-position:-680px 0}.edui-default .edui-for-copy .edui-icon{background-position:-700px 0}.edui-default .edui-for-paste .edui-icon{background-position:-560px 0}.edui-default .edui-for-formatmatch .edui-icon{background-position:-40px 0}.edui-default .edui-for-pasteplain .edui-icon{background-position:-360px -20px}.edui-default .edui-for-directionalityltr .edui-icon{background-position:-20px -20px}.edui-default .edui-for-directionalityrtl .edui-icon{background-position:-40px -20px}.edui-default .edui-for-source .edui-icon{background-position:-261px -0}.edui-default .edui-for-removeformat .edui-icon{background-position:-580px 0}.edui-default .edui-for-unlink .edui-icon{background-position:-640px 0}.edui-default .edui-for-touppercase .edui-icon{background-position:-786px 0}.edui-default .edui-for-tolowercase .edui-icon{background-position:-806px 0}.edui-default .edui-for-insertrow .edui-icon{background-position:-478px -76px}.edui-default .edui-for-insertrownext .edui-icon{background-position:-498px -76px}.edui-default .edui-for-insertcol .edui-icon{background-position:-455px -76px}.edui-default .edui-for-insertcolnext .edui-icon{background-position:-429px -76px}.edui-default .edui-for-mergeright .edui-icon{background-position:-60px -40px}.edui-default .edui-for-mergedown .edui-icon{background-position:-80px -40px}.edui-default .edui-for-splittorows .edui-icon{background-position:-100px -40px}.edui-default .edui-for-splittocols .edui-icon{background-position:-120px -40px}.edui-default .edui-for-insertparagraphbeforetable .edui-icon{background-position:-140px -40px}.edui-default .edui-for-deleterow .edui-icon{background-position:-660px -20px}.edui-default .edui-for-deletecol .edui-icon{background-position:-640px -20px}.edui-default .edui-for-splittocells .edui-icon{background-position:-800px -20px}.edui-default .edui-for-mergecells .edui-icon{background-position:-760px -20px}.edui-default .edui-for-deletetable .edui-icon{background-position:-620px -20px}.edui-default .edui-for-cleardoc .edui-icon{background-position:-520px 0}.edui-default .edui-for-fullscreen .edui-icon{background-position:-100px -20px}.edui-default .edui-for-anchor .edui-icon{background-position:-200px 0}.edui-default .edui-for-pagebreak .edui-icon{background-position:-460px -40px}.edui-default .edui-for-imagenone .edui-icon{background-position:-480px -40px}.edui-default .edui-for-imageleft .edui-icon{background-position:-500px -40px}.edui-default .edui-for-wordimage .edui-icon{background-position:-660px -40px}.edui-default .edui-for-imageright .edui-icon{background-position:-520px -40px}.edui-default .edui-for-imagecenter .edui-icon{background-position:-540px -40px}.edui-default .edui-for-indent .edui-icon{background-position:-400px 0}.edui-default .edui-for-outdent .edui-icon{background-position:-540px 0}.edui-default .edui-for-webapp .edui-icon{background-position:-601px -40px}.edui-default .edui-for-table .edui-icon{background-position:-580px -20px}.edui-default .edui-for-edittable .edui-icon{background-position:-420px -40px}.edui-default .edui-for-template .edui-icon{background-position:-339px -40px}.edui-default .edui-for-delete .edui-icon{background-position:-360px -40px}.edui-default .edui-for-attachment .edui-icon{background-position:-620px -40px}.edui-default .edui-for-edittd .edui-icon{background-position:-700px -40px}.edui-default .edui-for-snapscreen .edui-icon{background-position:-581px -40px}.edui-default .edui-for-scrawl .edui-icon{background-position:-801px -41px}.edui-default .edui-for-background .edui-icon{background-position:-680px -40px}.edui-default .edui-for-music .edui-icon{background-position:-18px -40px}.edui-default .edui-for-formula .edui-icon{background-position:-200px -40px}.edui-default .edui-for-kityformula .edui-icon{background-image:url(../images/mkf-icon.png) !important}.edui-default .edui-for-aligntd .edui-icon{background-position:-236px -76px}.edui-default .edui-for-insertparagraphtrue .edui-icon{background-position:-625px -76px}.edui-default .edui-for-insertparagraph .edui-icon{background-position:-602px -76px}.edui-default .edui-for-insertcaption .edui-icon{background-position:-336px -76px}.edui-default .edui-for-deletecaption .edui-icon{background-position:-362px -76px}.edui-default .edui-for-inserttitle .edui-icon{background-position:-286px -76px}.edui-default .edui-for-deletetitle .edui-icon{background-position:-311px -76px}.edui-default .edui-for-aligntable .edui-icon{background-position:-440px 0}.edui-default .edui-for-tablealignment-left .edui-icon{background-position:-460px 0}.edui-default .edui-for-tablealignment-center .edui-icon{background-position:-420px 0}.edui-default .edui-for-tablealignment-right .edui-icon{background-position:-480px 0}.edui-default .edui-for-drafts .edui-icon{background-position:-560px 0}.edui-default .edui-for-charts .edui-icon{background:url(../images/charts.png) no-repeat 2px 3px !important}.edui-default .edui-for-inserttitlecol .edui-icon{background-position:-673px -76px}.edui-default .edui-for-deletetitlecol .edui-icon{background-position:-698px -76px}.edui-default .edui-for-simpleupload .edui-icon{background-position:-380px 0}.edui-default .edui-toolbar .edui-splitbutton-body .edui-arrow,.edui-default .edui-toolbar .edui-menubutton-body .edui-arrow{background:url(../images/icons.png) -741px 0;_background:url(../images/icons.gif) -741px 0;height:20px;width:9px}.edui-default .edui-toolbar .edui-splitbutton .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-menubutton-body{padding:1px}.edui-default .edui-toolbar .edui-splitborder{width:1px;height:20px}.edui-default .edui-toolbar .edui-state-hover .edui-splitborder{width:1px;border-left:0 solid #dcac6c}.edui-default .edui-toolbar .edui-state-active .edui-splitborder{width:0;border-left:1px solid gray}.edui-default .edui-toolbar .edui-state-opened .edui-splitborder{width:1px;border:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-hover .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-hover .edui-menubutton-body{background-color:#fff5d4;border:1px solid #dcac6c;padding:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-checked .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-checked .edui-menubutton-body{background-color:#ffe69f;border:1px solid #dcac6c;padding:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-active .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-active .edui-menubutton-body{background-color:#fff;border:1px solid gray;padding:0}.edui-default .edui-state-disabled .edui-arrow{opacity:.3;_filter:alpha(opacity = 30)}.edui-default .edui-toolbar .edui-splitbutton .edui-state-opened .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-opened .edui-menubutton-body{background-color:white;border:1px solid gray;padding:0}.edui-default .edui-for-insertorderedlist .edui-bordereraser,.edui-default .edui-for-lineheight .edui-bordereraser,.edui-default .edui-for-rowspacingtop .edui-bordereraser,.edui-default .edui-for-rowspacingbottom .edui-bordereraser,.edui-default .edui-for-insertunorderedlist .edui-bordereraser{background-color:white}.edui-default .edui-for-insertorderedlist .edui-popup-body .edui-icon,.edui-default .edui-for-lineheight .edui-popup-body .edui-icon,.edui-default .edui-for-rowspacingtop .edui-popup-body .edui-icon,.edui-default .edui-for-rowspacingbottom .edui-popup-body .edui-icon,.edui-default .edui-for-insertunorderedlist .edui-popup-body .edui-icon{background-image:none}.edui-default .edui-popup{z-index:3000;background-color:#fff;width:auto;height:auto}.edui-default .edui-popup .edui-shadow{left:0;top:0;width:100%;height:100%}.edui-default .edui-popup-content{border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 4px rgba(0,0,0,0.2);-moz-box-shadow:0 3px 4px rgba(0,0,0,0.2);box-shadow:0 3px 4px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;padding:5px;background:#fff}.edui-default .edui-popup .edui-bordereraser{background-color:white;height:3px}.edui-default .edui-menu .edui-bordereraser{height:3px}.edui-default .edui-anchor-topleft .edui-bordereraser{left:1px;top:-2px}.edui-default .edui-anchor-topright .edui-bordereraser{right:1px;top:-2px}.edui-default .edui-anchor-bottomleft .edui-bordereraser{left:0;bottom:-6px;height:7px;border-left:1px solid gray;border-right:1px solid gray}.edui-default .edui-anchor-bottomright .edui-bordereraser{right:0;bottom:-6px;height:7px;border-left:1px solid gray;border-right:1px solid gray}.edui-popup div{width:auto;height:auto}.edui-default .edui-editor-messageholder{display:block;width:150px;height:auto;border:0;margin:0;padding:0;position:absolute;top:28px;right:3px}.edui-default .edui-message{min-height:10px;text-shadow:0 1px 0 rgba(255,255,255,0.5);padding:0;margin-bottom:3px;position:relative}.edui-default .edui-message-body{border-radius:3px;padding:8px 15px 8px 8px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5}.edui-default .edui-message-type-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.edui-default .edui-message-type-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.edui-default .edui-message-type-danger,.edui-default .edui-message-type-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.edui-default .edui-message .edui-message-closer{display:block;width:16px;height:16px;line-height:16px;position:absolute;top:0;right:0;padding:0;cursor:pointer;background:transparent;border:0;float:right;font-size:20px;font-weight:bold;color:#999;text-shadow:0 1px 0 #fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.edui-default .edui-message .edui-message-content{font-size:10pt;word-wrap:break-word;word-break:normal}.edui-default .edui-dialog{z-index:2000;position:absolute}.edui-dialog div{width:auto}.edui-default .edui-dialog-wrap{margin-right:6px;margin-bottom:6px}.edui-default .edui-dialog-fullscreen-flag{margin-right:0;margin-bottom:0}.edui-default .edui-dialog-body{position:relative;padding:2px 0 0 2px;_zoom:1}.edui-default .edui-dialog-fullscreen-flag .edui-dialog-body{padding:0}.edui-default .edui-dialog-shadow{position:absolute;z-index:-1;left:0;top:0;width:100%;height:100%;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.edui-default .edui-dialog-foot{background-color:white}.edui-default .edui-dialog-titlebar{height:26px;border-bottom:1px solid #c6c6c6;background:url(../images/dialog-title-bg.png) repeat-x bottom;position:relative;cursor:move}.edui-default .edui-dialog-caption{font-weight:bold;font-size:12px;line-height:26px;padding-left:5px}.edui-default .edui-dialog-draghandle{height:26px}.edui-default .edui-dialog-closebutton{position:absolute !important;right:5px;top:3px}.edui-default .edui-dialog-closebutton .edui-button-body{height:20px;width:20px;cursor:pointer;background:url("../images/icons-all.gif") no-repeat 0 -59px}.edui-default .edui-dialog-closebutton .edui-state-hover .edui-button-body{background:url("../images/icons-all.gif") no-repeat 0 -89px}.edui-default .edui-dialog-foot{height:40px}.edui-default .edui-dialog-buttons{position:absolute;right:0}.edui-default .edui-dialog-buttons .edui-button{margin-right:10px}.edui-default .edui-dialog-buttons .edui-button .edui-button-body{background:url("../images/icons-all.gif") no-repeat;height:24px;width:96px;font-size:12px;line-height:24px;text-align:center;cursor:default}.edui-default .edui-dialog-buttons .edui-button .edui-state-hover .edui-button-body{background:url("../images/icons-all.gif") no-repeat 0 -30px}.edui-default .edui-dialog iframe{border:0;padding:0;margin:0;vertical-align:top}.edui-default .edui-dialog-modalmask{opacity:.3;filter:alpha(opacity = 30);background-color:#ccc;position:absolute;opacity:.5;filter:alpha(opacity = 50);background:#000}.edui-default .edui-dialog-dragmask{position:absolute;background-color:transparent;cursor:move}.edui-default .edui-dialog-content{position:relative}.edui-default .dialogcontmask{cursor:move;visibility:hidden;display:block;position:absolute;width:100%;height:100%;opacity:0;filter:alpha(opacity = 0)}.edui-default .edui-for-link .edui-dialog-content{width:420px;height:200px;overflow:hidden}.edui-default .edui-for-background .edui-dialog-content{width:440px;height:280px;overflow:hidden}.edui-default .edui-for-template .edui-dialog-content{width:630px;height:390px;overflow:hidden}.edui-default .edui-for-scrawl .edui-dialog-content{width:515px;*width:506px;height:360px}.edui-default .edui-for-spechars .edui-dialog-content{width:620px;height:500px;*width:630px;*height:570px}.edui-default .edui-for-insertimage .edui-dialog-content{width:650px;height:400px;overflow:hidden}.edui-default .edui-for-webapp .edui-dialog-content{width:560px;_width:565px;height:450px;overflow:hidden}.edui-default .edui-for-insertframe .edui-dialog-content{width:350px;height:200px;overflow:hidden}.edui-default .edui-for-wordimage .edui-dialog-content{width:620px;height:380px;overflow:hidden}.edui-default .edui-for-attachment .edui-dialog-content{width:650px;height:400px;overflow:hidden}.edui-default .edui-for-map .edui-dialog-content{width:550px;height:400px}.edui-default .edui-for-gmap .edui-dialog-content{width:550px;height:400px}.edui-default .edui-for-insertvideo .edui-dialog-content{width:590px;height:390px}.edui-default .edui-for-anchor .edui-dialog-content{width:320px;height:60px;overflow:hidden}.edui-default .edui-for-searchreplace .edui-dialog-content{width:400px;height:220px}.edui-default .edui-for-help .edui-dialog-content{width:400px;height:420px}.edui-default .edui-for-edittable .edui-dialog-content{width:540px;_width:590px;height:335px}.edui-default .edui-for-edittip .edui-dialog-content{width:225px;height:60px}.edui-default .edui-for-edittd .edui-dialog-content{width:240px;height:50px}.edui-default .edui-for-snapscreen .edui-dialog-content{width:400px;height:220px}.edui-default .edui-for-music .edui-dialog-content{width:515px;height:360px}.edui-default .edui-for-paragraph .edui-listitem-label{font-family:Tahoma,Verdana,Arial,Helvetica}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-p{font-size:22px;line-height:27px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h1{font-weight:bolder;font-size:32px;line-height:36px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h2{font-weight:bolder;font-size:27px;line-height:29px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h3{font-weight:bolder;font-size:19px;line-height:23px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h4{font-weight:bolder;font-size:16px;line-height:19px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h5{font-weight:bolder;font-size:13px;line-height:16px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h6{font-weight:bolder;font-size:12px;line-height:14px}.edui-default .edui-for-inserttable .edui-splitborder{display:none}.edui-default .edui-for-inserttable .edui-splitbutton-body .edui-arrow{width:0}.edui-default .edui-toolbar .edui-for-inserttable .edui-state-active .edui-splitborder{border-left:1px solid transparent}.edui-default .edui-tablepicker .edui-infoarea{height:14px;line-height:14px;font-size:12px;width:220px;margin-bottom:3px;clear:both}.edui-default .edui-tablepicker .edui-infoarea .edui-label{float:left}.edui-default .edui-dialog-buttons .edui-label{line-height:24px}.edui-default .edui-tablepicker .edui-infoarea .edui-clickable{float:right}.edui-default .edui-tablepicker .edui-pickarea{background:url("../images/unhighlighted.gif") repeat;height:220px;width:220px}.edui-default .edui-tablepicker .edui-pickarea .edui-overlay{background:url("../images/highlighted.gif") repeat}.edui-default .edui-colorpicker-topbar{height:27px;width:200px}.edui-default .edui-colorpicker-preview{height:20px;border:1px inset black;margin-left:1px;width:128px;float:left}.edui-default .edui-colorpicker-nocolor{float:right;margin-right:1px;font-size:12px;line-height:14px;height:14px;border:1px solid #333;padding:3px 5px;cursor:pointer}.edui-default .edui-colorpicker-tablefirstrow{height:30px}.edui-default .edui-colorpicker-colorcell{width:14px;height:14px;display:block;margin:0;cursor:pointer}.edui-default .edui-colorpicker-colorcell:hover{width:14px;height:14px;margin:0}.edui-default .edui-colorpicker-advbtn{display:block;text-align:center;cursor:pointer;height:20px}.arrow_down{background:white url('../images/arrow_down.png') no-repeat center}.arrow_up{background:white url('../images/arrow_up.png') no-repeat center}.edui-colorpicker-adv{position:relative;overflow:hidden;height:180px;display:none}.edui-colorpicker-plant,.edui-colorpicker-hue{border:solid 1px #666}.edui-colorpicker-pad{width:150px;height:150px;left:14px;top:13px;position:absolute;background:red;overflow:hidden;cursor:crosshair}.edui-colorpicker-cover{position:absolute;top:0;left:0;width:150px;height:150px;background:url("../images/tangram-colorpicker.png") -160px -200px}.edui-colorpicker-padDot{position:absolute;top:0;left:0;width:11px;height:11px;overflow:hidden;background:url(../images/tangram-colorpicker.png) 0 -200px repeat-x;z-index:1000}.edui-colorpicker-sliderMain{position:absolute;left:171px;top:13px;width:19px;height:152px;background:url(../images/tangram-colorpicker.png) -179px -12px no-repeat}.edui-colorpicker-slider{width:100%;height:100%;cursor:pointer}.edui-colorpicker-thumb{position:absolute;top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid black;background:white;opacity:.8}.edui-default .edui-autotypesetpicker .edui-autotypesetpicker-body{font-size:12px;margin-bottom:3px;clear:both}.edui-default .edui-autotypesetpicker-body table{border-collapse:separate;border-spacing:2px}.edui-default .edui-autotypesetpicker-body td{font-size:12px;word-wrap:break-word}.edui-default .edui-autotypesetpicker-body td input{margin:3px 3px 3px 4px;*margin:1px 0 0 0}.edui-default .edui-cellalignpicker .edui-cellalignpicker-body{width:70px;font-size:12px;cursor:default}.edui-default .edui-cellalignpicker-body table{border-collapse:separate;border-spacing:0}.edui-default .edui-cellalignpicker-body td{padding:1px}.edui-default .edui-cellalignpicker-body .edui-icon{height:20px;width:20px;padding:1px;background-image:url(../images/table-cell-align.png)}.edui-default .edui-cellalignpicker-body .edui-left{background-position:0 0}.edui-default .edui-cellalignpicker-body .edui-center{background-position:-25px 0}.edui-default .edui-cellalignpicker-body .edui-right{background-position:-51px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-left{background-position:-73px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-center{background-position:-98px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-right{background-position:-124px 0}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-left{background-position:-146px 0;background-color:#f1f4f5}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-center{background-position:-245px 0}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-right{background-position:-271px 0}.edui-default .edui-toolbar .edui-separator{width:2px;height:20px;margin:2px 4px 2px 3px;background:url(../images/icons.png) -181px 0;background:url(../images/icons.gif) -181px 0 \9}.edui-default .edui-toolbar .edui-colorbutton .edui-colorlump{position:absolute;overflow:hidden;bottom:1px;left:1px;width:18px;height:4px}.edui-default .edui-for-emotion .edui-icon{background-position:-60px -20px}.edui-default .edui-for-emotion .edui-popup-content iframe{width:514px;height:380px;overflow:hidden}.edui-default .edui-for-emotion .edui-popup-content{position:relative;z-index:555}.edui-default .edui-for-emotion .edui-splitborder{display:none}.edui-default .edui-for-emotion .edui-splitbutton-body .edui-arrow{width:0}.edui-default .edui-toolbar .edui-for-emotion .edui-state-active .edui-splitborder{border-left:1px solid transparent}.edui-default .edui-hassubmenu .edui-arrow{height:20px;width:20px;float:right;background:url("../images/icons-all.gif") no-repeat 10px -233px}.edui-default .edui-menu-body .edui-menuitem{padding:1px}.edui-default .edui-menuseparator{margin:2px 0;height:1px;overflow:hidden}.edui-default .edui-menuseparator-inner{border-bottom:1px solid #e2e3e3;margin-left:29px;margin-right:1px}.edui-default .edui-menu-body .edui-state-hover{padding:0 !important;background-color:#fff5d4;border:1px solid #dcac6c}.edui-default .edui-shortcutmenu{padding:2px;width:190px;height:50px;background-color:#fff;border:1px solid #ccc;border-radius:5px}.edui-default .edui-wordpastepop .edui-popup-content{border:0;padding:0;width:54px;height:21px}.edui-default .edui-pasteicon{width:100%;height:100%;background-image:url('../images/wordpaste.png');background-position:0 0}.edui-default .edui-pasteicon.edui-state-opened{background-position:0 -34px}.edui-default .edui-pastecontainer{position:relative;visibility:hidden;width:97px;background:#fff;border:1px solid #ccc}.edui-default .edui-pastecontainer .edui-title{font-weight:bold;background:#f8f8ff;height:25px;line-height:25px;font-size:12px;padding-left:5px}.edui-default .edui-pastecontainer .edui-button{overflow:hidden;margin:3px 0}.edui-default .edui-pastecontainer .edui-button .edui-richtxticon,.edui-default .edui-pastecontainer .edui-button .edui-tagicon,.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon{float:left;cursor:pointer;width:29px;height:29px;margin-left:5px;background-image:url('../images/wordpaste.png');background-repeat:no-repeat}.edui-default .edui-pastecontainer .edui-button .edui-richtxticon{margin-left:0;background-position:-109px 0}.edui-default .edui-pastecontainer .edui-button .edui-tagicon{background-position:-148px 1px}.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon{background-position:-72px 0}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-richtxticon{background-position:-109px -34px}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-tagicon{background-position:-148px -34px}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-plaintxticon{background-position:-72px -34px}.edui-default .edui-for-custombtn .edui-icon{background-position:-361px -0}.edui-default .edui-for-complexformulas .edui-icon{background-image:url(../images/mkf-icon.png) !important} diff --git a/public/static/ueditor/themes/iframe.css b/public/static/ueditor/themes/iframe.css index c5e8b2e..a535350 100644 --- a/public/static/ueditor/themes/iframe.css +++ b/public/static/ueditor/themes/iframe.css @@ -1 +1,66 @@ -.gapfilling-span{color:red;padding:0 30px;margin:0 5px;border-bottom:3px double red} +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; + font-size: 14px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +a { + color: #09f; + text-decoration: none; +} + +a:hover, +a:focus { + color: #09f; + text-decoration: none; +} + +blockquote { + padding: 0 0 0 15px; + margin: 0 0 18px; + border-left: 5px solid #EEE; +} + +img + br { + display: block; + padding: 4px 0; + content: ' '; +} + +body p { + margin-bottom: 1em; +} + +iframe { + border: none; +} + +img { + max-width: 100%; +} + +img[data-word-image] { + cursor: pointer; +} + +pre { + margin: .5em 0; + padding: .4em .6em; + border-radius: 8px; + background: #f8f8f8; + line-height: 1.5; +} + +/*交互操作*/ +img { + cursor: pointer; +} + +.edui-quick-operate-active { + background: #E6ECFF; +} + + +.gapfilling-span{color:#919191;margin:0 5px;} diff --git a/public/static/ueditor/ueditor.all.js b/public/static/ueditor/ueditor.all.js index c41be19..d3d6455 100644 --- a/public/static/ueditor/ueditor.all.js +++ b/public/static/ueditor/ueditor.all.js @@ -1 +1 @@ -!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", UE.promptAlert = function () { }, UE.showFormulaDialogue = function () { }; var dom = UE.dom = {}, dom_key = "Q29weXJpZ2h0IOatpuaxieaAnee7tOi3s+i3g+enkeaKgOaciemZkOWFrOWPuCDniYjmnYPmiYDmnIk=", browser = UE.browser = function () { var e = navigator.userAgent.toLowerCase(), t = window.opera, i = { ie: /(msie\s|trident.*rv:)([\w.]+)/.test(e), opera: !!t && t.version, webkit: -1 < e.indexOf(" applewebkit/"), mac: -1 < e.indexOf("macintosh"), quirks: "BackCompat" == document.compatMode }; i.gecko = "Gecko" == navigator.product && !i.webkit && !i.opera && !i.ie; var n = 0; if (i.ie) { var o = e.match(/(?:msie\s([\w.]+))/), r = e.match(/(?:trident.*rv:([\w.]+))/); n = o && r && o[1] && r[1] ? Math.max(+o[1], +r[1]) : o && o[1] ? +o[1] : r && r[1] ? +r[1] : 0, i.ie11Compat = 11 == document.documentMode, i.ie9Compat = 9 == document.documentMode, i.ie8 = !!document.documentMode, i.ie8Compat = 8 == document.documentMode, i.ie7Compat = 7 == n && !document.documentMode || 7 == document.documentMode, i.ie6Compat = n < 7 || i.quirks, i.ie9above = 8 < n, i.ie9below = n < 9, i.ie11above = 10 < n, i.ie11below = n < 11 } if (i.gecko) { var a = e.match(/rv:([\d\.]+)/); a && (n = 1e4 * (a = a[1].split("."))[0] + 100 * (a[1] || 0) + +(a[2] || 0)) } return /chrome\/(\d+\.\d)/i.test(e) && (i.chrome = +RegExp.$1), /(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(e) && !/chrome/i.test(e) && (i.safari = +(RegExp.$1 || RegExp.$2)), i.opera && (n = parseFloat(t.version())), i.webkit && (n = parseFloat(e.match(/ applewebkit\/(\d+)/)[1])), i.version = n, i.isCompatible = !i.mobile && (i.ie && 6 <= n || i.gecko && 10801 <= n || i.opera && 9.5 <= n || i.air && 1 <= n || i.webkit && 522 <= n || !1), i }(), ie = browser.ie, webkit = browser.webkit, gecko = browser.gecko, opera = browser.opera, utils = UE.utils = { each: function (e, t, i) { if (null != e) if (e.length === +e.length) { for (var n = 0, o = e.length; n < o; n++)if (!1 === t.call(i, e[n], n, e)) return !1 } else for (var r in e) if (e.hasOwnProperty(r) && !1 === t.call(i, e[r], r, 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, i) { if (t) for (var n in t) i && e.hasOwnProperty(n) || (e[n] = t[n]); return e }, extend2: function (e) { for (var t = arguments, i = 1; i < t.length; i++) { var n = t[i]; for (var o in n) e.hasOwnProperty(o) || (e[o] = n[o]) } return e }, inherits: function (e, t) { var i = e.prototype, n = utils.makeInstance(t.prototype); return utils.extend(n, i, !0), (e.prototype = n).constructor = e }, bind: function (e, t) { return function () { return e.apply(t, arguments) } }, defer: function (e, t, i) { var n; return function () { i && clearTimeout(n), n = setTimeout(e, t) } }, indexOf: function (e, i, n) { var o = -1; return n = this.isNumber(n) ? n : 0, this.each(e, function (e, t) { if (n <= t && e === i) return o = t, !1 }), o }, removeItem: function (e, t) { for (var i = 0, n = e.length; i < n; i++)e[i] === t && (e.splice(i, 1), i--) }, 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, i = 0, n = {}; t = e[i++];)n[t.toUpperCase()] = n[t] = 1; return n }, unhtml: function (e, t) { return e ? e.replace(t || /[&<">'](?:(amp|lt|quot|gt|#39|nbsp|#\d+);)?/g, function (e, t) { return t ? e : { "<": "<", "&": "&", '"': """, ">": ">", "'": "'" }[e] }) : "" }, unhtmlForUrl: function (e, t) { return e ? e.replace(t || /[<">']/g, function (e) { return { "<": "<", "&": "&", '"': """, ">": ">", "'": "'" }[e] }) : "" }, html: function (e) { return e ? e.replace(/&((g|l|quo)t|amp|#39|nbsp);/g, function (e) { return { "<": "<", "&": "&", """: '"', ">": ">", "'": "'", " ": " " }[e] }) : "" }, cssStyleToDomStyle: (ia = document.createElement("div").style, ja = { float: null != ia.cssFloat ? "cssFloat" : null != ia.styleFloat ? "styleFloat" : "float" }, function (e) { return ja[e] || (ja[e] = e.toLowerCase().replace(/-./g, function (e) { return e.charAt(1).toUpperCase() })) }), loadFile: (ma = [], function (t, i, e) { var n = na(t, i); if (n) n.ready ? e && e() : n.funs.push(e); else if (ma.push({ doc: t, url: i.src || i.href, funs: [e] }), t.body) { if (!i.id || !t.getElementById(i.id)) { var o = t.createElement(i.tag); for (var r in delete i.tag, i) o.setAttribute(r, i[r]); o.onload = o.onreadystatechange = function () { if (!this.readyState || /loaded|complete/.test(this.readyState)) { if (0 < (n = na(t, i)).funs.length) { n.ready = 1; for (var e; e = n.funs.pop();)e() } o.onload = o.onreadystatechange = null } }, o.onerror = function () { throw Error("The load " + (i.href || i.src) + " fails,check the url settings of file ueditor.config.js ") }, t.getElementsByTagName("head")[0].appendChild(o) } } else { var a = []; for (var r in i) "tag" != r && a.push(r + '="' + i[r] + '"'); t.write("<" + i.tag + " " + a.join(" ") + " >") } }), isEmptyObject: function (e) { if (null == e) return !0; if (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 i = t.split(","); if (3 < i.length) return ""; t = "#"; for (var n, o = 0; n = i[o++];)t += 1 == (n = parseInt(n.replace(/[^\d]/gi, ""), 10).toString(16)).length ? "0" + n : n; t = t.toUpperCase() } return t }, optCss: function (e) { var o, r; function t (e, t) { if (!e) return ""; var i = e.top, n = e.bottom, o = e.left, r = e.right, a = ""; if (i && o && n && r) a += ";" + t + ":" + (i == n && n == o && o == r ? i : i == n && o == r ? i + " " + o : o == r ? i + " " + o + " " + n : i + " " + r + " " + n + " " + o) + ";"; else for (var s in e) a += ";" + t + "-" + s + ":" + e[s] + ";"; return a } return e = e.replace(/(padding|margin|border)\-([^:]+):([^;]+);?/gi, function (e, t, i, n) { if (1 == n.split(" ").length) switch (t) { case "padding": return (o = o || {})[i] = n, ""; case "margin": return (r = r || {})[i] = n, ""; case "border": return "initial" == n ? "" : e }return e }), (e += t(o, "padding") + t(r, "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 i; for (var n in t = t || {}, e) e.hasOwnProperty(n) && ("object" == typeof (i = e[n]) ? (t[n] = utils.isArray(i) ? [] : {}, utils.clone(e[n], t[n])) : t[n] = i); return t }, transUnitToPx: function (n) { if (!/(pt|cm)/.test(n)) return n; var o; switch (n.replace(/([\d.]+)(\w+)/, function (e, t, i) { n = t, o = i }), o) { case "cm": n = 25 * parseFloat(n); break; case "pt": n = Math.round(96 * parseFloat(n) / 72) }return n + (n ? "px" : "") }, domReady: (ib = [], function (e, t) { var i = (t = t || window).document; e && ib.push(e), "complete" === i.readyState ? jb(i) : (i.isReady && jb(i), browser.ie && 11 != browser.version ? (function () { if (!i.isReady) { try { i.documentElement.doScroll("left") } catch (e) { return setTimeout(arguments.callee, 0) } jb(i) } }(), t.attachEvent("onload", function () { jb(i) })) : (i.addEventListener("DOMContentLoaded", function () { i.removeEventListener("DOMContentLoaded", arguments.callee, !1), jb(i) }, !1), t.addEventListener("load", function () { jb(i) }, !1))) }), cssRule: browser.ie && 11 != browser.version ? function (e, t, i) { var n, o; return void 0 === t || t && t.nodeType && 9 == t.nodeType ? void 0 !== (o = (n = (i = t && t.nodeType && 9 == t.nodeType ? t : i || document).indexList || (i.indexList = {}))[e]) ? i.styleSheets[o].cssText : void 0 : (o = (n = (i = i || document).indexList || (i.indexList = {}))[e], "" === t ? void 0 !== o && (i.styleSheets[o].cssText = "", delete n[e], !0) : (void 0 !== o ? sheetStyle = i.styleSheets[o] : (sheetStyle = i.createStyleSheet("", o = i.styleSheets.length), n[e] = o), void (sheetStyle.cssText = t))) } : function (e, t, i) { var n; return void 0 === t || t && t.nodeType && 9 == t.nodeType ? (n = (i = t && t.nodeType && 9 == t.nodeType ? t : i || document).getElementById(e)) ? n.innerHTML : void 0 : (n = (i = i || document).getElementById(e), "" === t ? !!n && (n.parentNode.removeChild(n), !0) : void (n ? n.innerHTML = t : ((n = i.createElement("style")).id = e, n.innerHTML = t, i.getElementsByTagName("head")[0].appendChild(n)))) }, sort: function (e, t) { t = t || function (e, t) { return e.localeCompare(t) }; for (var i = 0, n = e.length; i < n; i++)for (var o = i, r = e.length; o < r; o++)if (0 < t(e[i], e[o])) { var a = e[i]; e[i] = e[o], e[o] = a } return e }, serializeParam: function (e) { var t = []; for (var i in e) if ("method" != i && "timeout" != i && "async" != i) if ("function" != (typeof e[i]).toLowerCase() && "object" != (typeof e[i]).toLowerCase()) t.push(encodeURIComponent(i) + "=" + encodeURIComponent(e[i])); else if (utils.isArray(e[i])) for (var n = 0; n < e[i].length; n++)t.push(encodeURIComponent(i) + "[]=" + encodeURIComponent(e[i][n])); 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 l = { "\b": "\\b", "\t": "\\t", "\n": "\\n", "\f": "\\f", "\r": "\\r", '"': '\\"', "\\": "\\\\" }; function d (e) { return e < 10 ? "0" + e : e } return function (e) { switch (typeof e) { case "undefined": return "undefined"; case "number": return isFinite(e) ? String(e) : "null"; case "string": return /["\\\x00-\x1f]/.test(s = e) && (s = s.replace(/["\\\x00-\x1f]/g, function (e) { var t = l[e]; return t || (t = e.charCodeAt(), "\\u00" + Math.floor(t / 16).toString(16) + (t % 16).toString(16)) })), '"' + s + '"'; case "boolean": return String(e); default: if (null === e) return "null"; if (utils.isArray(e)) return function (e) { var t, i, n, o = ["["], r = e.length; for (i = 0; i < r; i++)switch (typeof (n = e[i])) { case "undefined": case "function": case "unknown": break; default: t && o.push(","), o.push(utils.json2str(n)), t = 1 }return o.push("]"), o.join("") }(e); if (utils.isDate(e)) return '"' + (a = e).getFullYear() + "-" + d(a.getMonth() + 1) + "-" + d(a.getDate()) + "T" + d(a.getHours()) + ":" + d(a.getMinutes()) + ":" + d(a.getSeconds()) + '"'; var t, i, n = ["{"], o = utils.json2str; for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) switch (typeof (i = e[r])) { case "undefined": case "unknown": case "function": break; default: t && n.push(","), t = 1, n.push(o(r) + ":" + o(i)) }return n.push("}"), n.join("") }var a, s } }() }, ib, ma, ia, ja; function jb (e) { e.isReady = !0; for (var t; t = ib.pop(); t()); } function na (e, t) { try { for (var i, n = 0; i = ma[n++];)if (i.doc === e && i.url == (t.src || t.href)) return i } catch (e) { return null } } utils.each(["String", "Function", "Array", "Number", "RegExp", "Object", "Date"], function (t) { UE.utils["is" + t] = function (e) { return Object.prototype.toString.apply(e) == "[object " + t + "]" } }); var EventBase = UE.EventBase = function () { }; function getListener (e, t, i) { var n; return t = t.toLowerCase(), (n = e.__allListeners || i && (e.__allListeners = {})) && (n[t] || i && (n[t] = [])) } EventBase.prototype = { addListener: function (e, t) { e = utils.trim(e).split(/\s+/); for (var i, n = 0; i = e[n++];)getListener(this, i, !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 i, n = 0; i = e[n++];)utils.removeItem(getListener(this, i) || [], t) }, fireEvent: function () { var e = arguments[0]; e = utils.trim(e).split(" "); for (var t, i = 0; t = e[i++];) { var n, o, r, a = getListener(this, t); if (a) for (r = a.length; r--;)if (a[r]) { if (!0 === (o = a[r].apply(this, arguments))) return o; void 0 !== o && (n = o) } (o = this["on" + t.toLowerCase()]) && (n = o.apply(this, arguments)) } return n } }; var dtd = dom.dtd = (Oc = utils.extend2, Pc = Nc({ isindex: 1, fieldset: 1 }), Qc = Nc({ input: 1, button: 1, select: 1, textarea: 1, label: 1 }), Rc = Oc(Nc({ a: 1 }), Qc), Sc = Oc({ iframe: 1 }, Rc), Tc = Nc({ 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 }), Uc = Nc({ ins: 1, del: 1, script: 1, style: 1 }), Vc = Oc(Nc({ 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 }), Uc), Wc = Oc(Nc({ sub: 1, img: 1, embed: 1, object: 1, sup: 1, basefont: 1, map: 1, applet: 1, font: 1, big: 1, small: 1 }), Vc), Xc = Oc(Nc({ p: 1 }), Wc), Yc = Oc(Nc({ iframe: 1 }), Wc, Qc), Zc = Nc({ 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 }), $c = Oc(Nc({ a: 0 }), Yc), _c = Nc({ tr: 1 }), ad = Nc({ "#": 1 }), bd = Oc(Nc({ param: 1 }), Zc), cd = Oc(Nc({ form: 1 }), Pc, Sc, Tc, Xc), dd = Nc({ li: 1, ol: 1, ul: 1 }), ed = Nc({ style: 1, script: 1 }), fd = Nc({ base: 1, link: 1, meta: 1, title: 1 }), gd = Oc(fd, ed), hd = Nc({ head: 1, body: 1 }), id = Nc({ html: 1 }), jd = Nc({ 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 }), kd = Nc({ 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 }), Nc({ $nonBodyContent: Oc(id, hd, fd), $block: jd, $inline: $c, $inlineWithA: Oc(Nc({ a: 1 }), $c), $body: Oc(Nc({ script: 1, style: 1 }), jd), $cdata: Nc({ script: 1, style: 1 }), $empty: kd, $nonChild: Nc({ iframe: 1, textarea: 1 }), $listItem: Nc({ dd: 1, dt: 1, li: 1 }), $list: Nc({ ul: 1, ol: 1, dl: 1 }), $isNotEmpty: Nc({ 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: Nc({ 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 }), $removeEmptyBlock: Nc({ p: 1, div: 1 }), $tableContent: Nc({ caption: 1, col: 1, colgroup: 1, tbody: 1, td: 1, tfoot: 1, th: 1, thead: 1, tr: 1, table: 1 }), $notTransContent: Nc({ pre: 1, script: 1, style: 1, textarea: 1 }), html: hd, head: gd, style: ad, script: ad, body: cd, base: {}, link: {}, meta: {}, title: ad, col: {}, tr: Nc({ td: 1, th: 1 }), img: {}, embed: {}, colgroup: Nc({ thead: 1, col: 1, tbody: 1, tr: 1, tfoot: 1 }), noscript: cd, td: cd, br: {}, th: cd, center: cd, kbd: $c, button: Oc(Xc, Tc), basefont: {}, h5: $c, h4: $c, samp: $c, h6: $c, ol: dd, h1: $c, h3: $c, option: ad, h2: $c, form: Oc(Pc, Sc, Tc, Xc), select: Nc({ optgroup: 1, option: 1 }), font: $c, ins: $c, menu: dd, abbr: $c, label: $c, table: Nc({ thead: 1, col: 1, tbody: 1, tr: 1, colgroup: 1, caption: 1, tfoot: 1 }), code: $c, tfoot: _c, cite: $c, li: cd, input: {}, iframe: cd, strong: $c, textarea: ad, noframes: cd, big: $c, small: $c, span: Nc({ "#": 1, br: 1, b: 1, strong: 1, u: 1, i: 1, em: 1, sub: 1, sup: 1, strike: 1, span: 1 }), hr: $c, dt: $c, sub: $c, optgroup: Nc({ option: 1 }), param: {}, bdo: $c, var: $c, div: cd, object: bd, sup: $c, dd: cd, strike: $c, area: {}, dir: dd, map: Oc(Nc({ area: 1, form: 1, p: 1 }), Pc, Uc, Tc), applet: bd, dl: Nc({ dt: 1, dd: 1 }), del: $c, isindex: {}, fieldset: Oc(Nc({ legend: 1 }), Zc), thead: _c, ul: dd, acronym: $c, b: $c, a: Oc(Nc({ a: 1 }), Yc), blockquote: Oc(Nc({ td: 1, tr: 1, tbody: 1, li: 1 }), cd), caption: $c, i: $c, u: $c, tbody: _c, s: $c, address: Oc(Sc, Xc), tt: $c, legend: $c, q: $c, pre: Oc(Vc, Rc), p: Oc(Nc({ a: 1 }), $c), em: $c, dfn: $c })), Oc, Pc, Qc, Rc, Sc, Tc, Uc, Vc, Wc, Xc, Yc, Zc, $c, _c, ad, bd, cd, dd, ed, fd, gd, hd, id, jd, kd; function Nc (e) { for (var t in e) e[t.toUpperCase()] = e[t]; return e } function getDomNode (e, t, i, n, o, r) { var a, s = n && e[t]; for (s = s || e[i]; !s && (a = (a || e).parentNode);) { if ("BODY" == a.tagName || r && !r(a)) return null; s = a[i] } return s && o && !o(s) ? getDomNode(s, t, i, !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 i, n = [e], o = [t]; for (i = e; i = i.parentNode;) { if (i === t) return 10; n.push(i) } for (i = t; i = i.parentNode;) { if (i === e) return 20; o.push(i) } if (n.reverse(), o.reverse(), n[0] !== o[0]) return 1; for (var r = -1; n[++r] === o[r];); for (e = n[r], t = o[r]; e = e.nextSibling;)if (e === t) return 4; return 2 }, getNodeIndex: function (e, t) { for (var i = e, n = 0; i = i.previousSibling;)(!t || 3 != i.nodeType || i.nodeType != i.nextSibling.nodeType) && n++; return n }, inDoc: function (e, t) { return 10 == domUtils.getPosition(e, t) }, findParent: function (e, t, i) { if (e && !domUtils.isBody(e)) for (e = i ? 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, i, n) { return t = utils.listToMap(utils.isArray(t) ? t : [t]), domUtils.findParent(e, function (e) { return t[e.tagName] && !(n && n(e)) }, i) }, findParents: function (e, t, i, n) { for (var o = t && (i && i(e) || !i) ? [e] : []; e = domUtils.findParent(e, i);)o.push(e); return n ? 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 i, n = e.parentNode; if (n) { if (t && e.hasChildNodes()) for (; i = e.firstChild;)n.insertBefore(i, e); n.removeChild(e) } return e }, getNextDomNode: function (e, t, i, n) { return getDomNode(e, "firstChild", "nextSibling", t, i, n) }, getPreDomNode: function (e, t, i, n) { return getDomNode(e, "lastChild", "previousSibling", t, i, n) }, 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 i = [e], n = [t], o = e, r = -1; o = o.parentNode;) { if (o === t) return o; i.push(o) } for (o = t; o = o.parentNode;) { if (o === e) return o; n.push(o) } for (i.reverse(), n.reverse(); i[++r] === n[r];); return 0 == r ? null : i[r - 1] }, clearEmptySibling: function (e, t, i) { function n (e, t) { for (var i; e && !domUtils.isBookmarkNode(e) && (domUtils.isEmptyInlineElement(e) || !new RegExp("[^\t\n\r" + domUtils.fillChar + "]").test(e.nodeValue));)i = e[t], domUtils.remove(e), e = i } t || n(e.nextSibling, "nextSibling"), i || n(e.previousSibling, "previousSibling") }, split: function (e, t) { var i = e.ownerDocument; if (browser.ie && t == e.nodeValue.length) { var n = i.createTextNode(""); return domUtils.insertAfter(e, n) } var o = e.splitText(t); if (browser.ie8) { var r = i.createTextNode(""); domUtils.insertAfter(o, r), domUtils.remove(r) } return o }, isWhitespace: function (e) { return !new RegExp("[^ \t\n\r" + domUtils.fillChar + "]").test(e.nodeValue) }, getXY: function (e) { for (var t = 0, i = 0; e.offsetParent;)i += e.offsetTop, t += e.offsetLeft, e = e.offsetParent; return { x: t, y: i } }, on: function (e, t, i) { var n = utils.isArray(t) ? t : utils.trim(t).split(/\s+/), o = n.length; if (o) for (; o--;)if (t = n[o], e.addEventListener) e.addEventListener(t, i, !1); else { i._d || (i._d = { els: [] }); var r = t + i.toString(), a = utils.indexOf(i._d.els, e); i._d[r] && -1 != a || (-1 == a && i._d.els.push(e), i._d[r] || (i._d[r] = function (e) { return i.call(e.srcElement, e || window.event) }), e.attachEvent("on" + t, i._d[r])) } e = null }, un: function (e, t, i) { var n = utils.isArray(t) ? t : utils.trim(t).split(/\s+/), o = n.length; if (o) for (; o--;)if (t = n[o], e.removeEventListener) e.removeEventListener(t, i, !1); else { var r = t + i.toString(); try { e.detachEvent("on" + t, i._d ? i._d[r] : i) } catch (e) { } if (i._d && i._d[r]) { var a = utils.indexOf(i._d.els, e); -1 != a && i._d.els.splice(a, 1), 0 == i._d.els.length && delete i._d[r] } } }, isSameElement: function (e, t) { if (e.tagName != t.tagName) return !1; var i = e.attributes, n = t.attributes; if (!ie && i.length != n.length) return !1; for (var o, r, a = 0, s = 0, l = 0; o = i[l++];) { if ("style" == o.nodeName) { if (o.specified && a++, domUtils.isSameStyle(e, t)) continue; return !1 } if (ie) { if (!o.specified) continue; a++, r = n.getNamedItem(o.nodeName) } else r = t.attributes[o.nodeName]; if (!r.specified || o.nodeValue != r.nodeValue) return !1 } if (ie) { for (l = 0; r = n[l++];)r.specified && s++; if (a != s) return !1 } return !0 }, isSameStyle: function (e, t) { var i = e.style.cssText.replace(/( ?; ?)/g, ";").replace(/( ?: ?)/g, ":"), n = t.style.cssText.replace(/( ?; ?)/g, ";").replace(/( ?: ?)/g, ":"); if (browser.opera) { if (i = e.style, n = t.style, i.length != n.length) return !1; for (var o in i) if (!/^(\d+|csstext)$/i.test(o) && i[o] != n[o]) return !1; return !0 } if (!i || !n) return i == n; if (i = i.split(";"), n = n.split(";"), i.length != n.length) return !1; for (var r, a = 0; r = i[a++];)if (-1 == utils.indexOf(n, r)) 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 i, n, o, r = e, a = e; do { for (r = r.parentNode, o = n ? ((i = r.cloneNode(!1)).appendChild(n), n = i, (i = r.cloneNode(!1)).appendChild(o), i) : (n = r.cloneNode(!1)).cloneNode(!1); i = a.previousSibling;)n.insertBefore(i, n.firstChild); for (; i = a.nextSibling;)o.appendChild(i); a = r } while (t !== r); return (i = t.parentNode).insertBefore(n, t), i.insertBefore(o, t), i.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 (i) { function e (e) { for (var t; (t = i[e]) && 3 == t.nodeType && domUtils.isWhitespace(t);)i.removeChild(t) } e("firstChild"), e("lastChild") }, mergeChild: function (e, t, i) { for (var n, o = domUtils.getElementsByTagName(e, e.tagName.toLowerCase()), r = 0; n = o[r++];)if (n.parentNode && !domUtils.isBookmarkNode(n)) if ("span" != n.tagName.toLowerCase()) domUtils.isSameElement(e, n) && domUtils.remove(n, !0); else { if (e === n.parentNode && (domUtils.trimWhiteTextNode(e), 1 == e.childNodes.length)) { e.style.cssText = n.style.cssText + ";" + e.style.cssText, domUtils.remove(n, !0); continue } if (n.style.cssText = e.style.cssText + ";" + n.style.cssText, i) { var a = i.style; if (a) { a = a.split(";"); for (var s, l = 0; s = a[l++];)n.style[utils.cssStyleToDomStyle(s.split(":")[0])] = s.split(":")[1] } } domUtils.isSameStyle(n, e) && domUtils.remove(n, !0) } }, getElementsByTagName: function (e, t, i) { if (i && utils.isString(i)) { var n = i; i = function (e) { return domUtils.hasClass(e, n) } } t = utils.trim(t).replace(/[ ]{2,}/g, " ").split(" "); for (var o, r = [], a = 0; o = t[a++];)for (var s, l = e.getElementsByTagName(o), d = 0; s = l[d++];)i && !i(s) || r.push(s); return r }, 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 (1 < t.childNodes.length || 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, i) { function n (e, t, i) { var n; if ((n = i[e]) && !domUtils.isBookmarkNode(n) && 1 == n.nodeType && domUtils.isSameElement(i, n)) { for (; n.firstChild;)"firstChild" == t ? i.insertBefore(n.lastChild, i.firstChild) : i.appendChild(n.firstChild); domUtils.remove(n) } } t || n("previousSibling", "firstChild", e), i || n("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, i = 0; t = e.all[i++];)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 i, n = 0; i = t[n++];) { switch (i = attrFix[i] || i) { case "className": e[i] = ""; break; case "style": e.style.cssText = ""; var o = e.getAttributeNode("style"); !browser.ie && o && e.removeAttributeNode(o) }e.removeAttribute(i) } }, createElement: function (e, t, i) { return domUtils.setAttributes(e.createElement(t), i) }, setAttributes: function (e, t) { for (var i in t) if (t.hasOwnProperty(i)) { var n = t[i]; switch (i) { case "class": e.className = n; break; case "style": e.style.cssText = e.style.cssText + ";" + n; break; case "innerHTML": e[i] = n; break; case "value": e.value = n; break; default: e.setAttribute(attrFix[i] || i, n) } } return e }, getComputedStyle: function (e, t) { if (-1 < "width height top left".indexOf(t)) 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 i = e.ownerDocument.createElement("span"); i.style.cssText = "padding:0;border:0;font-family:simsun;", i.innerHTML = ".", e.appendChild(i); var n = i.offsetHeight; return e.removeChild(i), i = null, n + "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 "" } return utils.transUnitToPx(utils.fixColor(t, o)) }, removeClasses: function (e, t) { t = utils.isArray(t) ? t : utils.trim(t).replace(/[ ]{2,}/g, " ").split(" "); for (var i, n = 0, o = e.className; i = t[n++];)o = o.replace(new RegExp("\\b" + i + "\\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 i, n = 0, o = e.className; i = t[n++];)new RegExp("\\b" + i + "\\b").test(o) || (o += " " + i); 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 i, n = 0, o = e.className; i = t[n++];)if (!new RegExp("\\b" + i + "\\b", "i").test(o)) return !1; return n - 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 i = e.style[utils.cssStyleToDomStyle(t)]; return utils.fixColor(t, i) }, setStyle: function (e, t, i) { e.style[utils.cssStyleToDomStyle(t)] = i, utils.trim(e.style.cssText) || this.removeAttributes(e, "style") }, setStyles: function (e, t) { for (var i in t) t.hasOwnProperty(i) && domUtils.setStyle(e, i, t[i]) }, removeDirtyAttr: function (e) { for (var t, i = 0, n = e.getElementsByTagName("*"); t = n[i++];)t.removeAttribute("_moz_dirty"); e.removeAttribute("_moz_dirty") }, getChildCount: function (e, t) { var i = 0, n = e.firstChild; for (t = t || function () { return 1 }; n;)t(n) && i++, n = n.nextSibling; return i }, 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, i) { var n, o, r = (n = t.document, (o = "CSS1Compat" == n.compatMode) ? n.documentElement.clientWidth : n.body.clientWidth, (o ? n.documentElement.clientHeight : n.body.clientHeight) || 0), a = -1 * r + i; a += e.offsetHeight || 0, a += domUtils.getXY(e).y; var s = 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; (s < a || a < s - r) && t.scrollTo(0, a + (a < 0 ? -20 : 20)) }, isBr: function (e) { return 1 == e.nodeType && "BR" == e.tagName }, isFillChar: function (e, t) { if (3 != e.nodeType) return !1; var i = e.nodeValue; return t ? new RegExp("^" + domUtils.fillChar).test(i) : !i.replace(new RegExp(domUtils.fillChar, "g"), "").length }, isStartInblock: function (e) { var t, i = e.cloneRange(), n = 0, o = i.startContainer; if (1 == o.nodeType && o.childNodes[i.startOffset]) for (var r = (o = o.childNodes[i.startOffset]).previousSibling; r && domUtils.isFillChar(r);)r = (o = r).previousSibling; for (this.isFillChar(o, !0) && 1 == i.startOffset && (i.setStartBefore(o), o = i.startContainer); o && domUtils.isFillChar(o);)o = (t = o).previousSibling; for (t && (i.setStartBefore(t), o = i.startContainer), 1 == o.nodeType && domUtils.isEmptyNode(o) && 1 == i.startOffset && i.setStart(o, 0).collapse(!0); !i.startOffset;) { if (o = i.startContainer, domUtils.isBlockElm(o) || domUtils.isBody(o)) { n = 1; break } var a; if (r = i.startContainer.previousSibling) { for (; r && domUtils.isFillChar(r);)r = (a = r).previousSibling; a ? i.setStartBefore(a) : i.setStartBefore(i.startContainer) } else i.setStartBefore(i.startContainer) } return n && !domUtils.isBody(i.startContainer) ? 1 : 0 }, isEmptyBlock: function (e, t) { if (1 != e.nodeType) return 0; if (t = t || new RegExp("[  \t\r\n" + domUtils.fillChar + "]", "g"), 0 < e[browser.ie ? "innerText" : "textContent"].replace(t, "").length) return 0; for (var i in dtd.$isNotEmpty) if (e.getElementsByTagName(i).length) return 0; return 1 }, setViewportOffset: function (e, t) { var i = 0 | parseInt(e.style.left), n = 0 | parseInt(e.style.top), o = e.getBoundingClientRect(), r = t.left - o.left, a = t.top - o.top; r && (e.style.left = i + r + "px"), a && (e.style.top = n + a + "px") }, fillNode: function (e, t) { var i = browser.ie ? e.createTextNode(domUtils.fillChar) : e.createElement("br"); t.innerHTML = "", t.appendChild(i) }, moveChild: function (e, t, i) { for (; e.firstChild;)i && 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, i) { var n = []; 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) && n.push(e) }), 0 == n.length ? null : 1 != n.length && i ? n : n[0] }, isInNodeEndBoundary: function (e, t) { var i = e.startContainer; if (3 == i.nodeType && e.startOffset != i.nodeValue.length) return 0; if (1 == i.nodeType && e.startOffset != i.childNodes.length) return 0; for (; i !== t;) { if (i.nextSibling) return 0; i = i.parentNode } return 1 }, isBoundaryNode: function (e, t) { for (; !domUtils.isBody(e);)if (e !== (e = e.parentNode)[t]) return !1; return !0 }, fillHtml: browser.ie11below ? " " : "
" }, fillCharReg = new RegExp(domUtils.fillChar, "g"), si, qi, ri, xi; function ui (e) { return !e.collapsed && 1 == e.startContainer.nodeType && e.startContainer === e.endContainer && e.endOffset - e.startOffset == 1 } function vi (e, t, i, n) { var o; return 1 == t.nodeType && (dtd.$empty[t.tagName] || dtd.$nonChild[t.tagName]) && (i = domUtils.getNodeIndex(t) + (e ? 0 : 1), t = t.parentNode), e ? (n.startContainer = t, n.startOffset = i, n.endContainer || n.collapse(!0)) : (n.endContainer = t, n.endOffset = i, n.startContainer || n.collapse(!1)), (o = n).collapsed = o.startContainer && o.endContainer && o.startContainer === o.endContainer && o.startOffset == o.endOffset, n } function wi (e, t) { var i, n, o = e.startContainer, r = e.endContainer, a = e.startOffset, s = e.endOffset, l = e.document, d = l.createDocumentFragment(); if (1 == o.nodeType && (o = o.childNodes[a] || (i = o.appendChild(l.createTextNode("")))), 1 == r.nodeType && (r = r.childNodes[s] || (n = r.appendChild(l.createTextNode("")))), o === r && 3 == o.nodeType) return d.appendChild(l.createTextNode(o.substringData(a, s - a))), t && (o.deleteData(a, s - a), e.collapse(!0)), d; for (var c, u, m = d, f = domUtils.findParents(o, !0), h = domUtils.findParents(r, !0), p = 0; f[p] == h[p];)p++; for (var g, b = p; g = f[b]; b++) { for (c = g.nextSibling, g == o ? i || (3 == e.startContainer.nodeType ? (m.appendChild(l.createTextNode(o.nodeValue.slice(a))), t && o.deleteData(a, o.nodeValue.length - a)) : m.appendChild(t ? o : o.cloneNode(!0))) : (u = g.cloneNode(!1), m.appendChild(u)); c && c !== r && c !== h[b];)g = c.nextSibling, m.appendChild(t ? c : c.cloneNode(!0)), c = g; m = u } m = d, f[p] || (m.appendChild(f[p - 1].cloneNode(!1)), m = m.firstChild); var v; for (b = p; v = h[b]; b++) { if (c = v.previousSibling, v == r ? n || 3 != e.endContainer.nodeType || (m.appendChild(l.createTextNode(r.substringData(0, s))), t && r.deleteData(0, s)) : (u = v.cloneNode(!1), m.appendChild(u)), b != p || !f[p]) for (; c && c !== o;)v = c.previousSibling, m.insertBefore(t ? c : c.cloneNode(!0), m.firstChild), c = v; m = u } return t && e.setStartBefore(h[p] ? f[p] ? h[p] : f[p - 1] : h[p - 1]).collapse(!0), i && domUtils.remove(i), n && domUtils.remove(n), d } function yi (e, t) { try { if (si && domUtils.inDoc(si, e)) if (si.nodeValue.replace(fillCharReg, "").length) si.nodeValue = si.nodeValue.replace(fillCharReg, ""); else { var i = si.parentNode; for (domUtils.remove(si); i && domUtils.isEmptyInlineElement(i) && (browser.safari ? !(domUtils.getPosition(i, t) & domUtils.POSITION_CONTAINS) : !i.contains(t));)si = i.parentNode, domUtils.remove(i), i = si } } catch (e) { } } function zi (e, t) { var i; for (e = e[t]; e && domUtils.isFillChar(e);)i = e[t], domUtils.remove(e), e = i } function im (e, t) { var i = domUtils.getNodeIndex; (e = e.duplicate()).collapse(t); var n = e.parentElement(); if (!n.hasChildNodes()) return { container: n, offset: 0 }; for (var o, r, a = n.children, s = e.duplicate(), l = 0, d = a.length - 1, c = -1; l <= d;) { o = a[c = Math.floor((l + d) / 2)], s.moveToElementText(o); var u = s.compareEndPoints("StartToStart", e); if (0 < u) d = c - 1; else { if (!(u < 0)) return { container: n, offset: i(o) }; l = c + 1 } } if (-1 == c) { if (s.moveToElementText(n), s.setEndPoint("StartToStart", e), r = s.text.replace(/(\r\n|\r)/g, "\n").length, a = n.childNodes, !r) return { container: o = a[a.length - 1], offset: o.nodeValue.length }; for (var m = a.length; 0 < r;)r -= a[--m].nodeValue.length; return { container: a[m], offset: -r } } if (s.collapse(0 < u), s.setEndPoint(0 < u ? "StartToStart" : "EndToStart", e), !(r = s.text.replace(/(\r\n|\r)/g, "\n").length)) return dtd.$empty[o.tagName] || dtd.$nonChild[o.tagName] ? { container: n, offset: i(o) + (0 < u ? 0 : 1) } : { container: o, offset: 0 < u ? 0 : o.childNodes.length }; for (; 0 < r;)try { var f = o; r -= (o = o[0 < u ? "previousSibling" : "nextSibling"]).nodeValue.length } catch (e) { return { container: n, offset: i(f) } } return { container: o, offset: 0 < u ? -r : o.nodeValue.length + r } } function km (e) { var t; try { t = e.getNative().createRange() } catch (e) { return null } var i = t.item ? t.item(0) : t.parentElement(); return (i.ownerDocument || i) === e.document ? t : null } qi = 0, ri = domUtils.fillChar, xi = dom.Range = function (e) { var t = this; t.startContainer = t.startOffset = t.endContainer = t.endOffset = null, t.document = e, t.collapsed = !0 }, xi.prototype = { cloneContents: function () { return this.collapsed ? null : wi(this, 0) }, deleteContents: function () { var e; return this.collapsed || wi(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 : wi(this, 2) }, setStart: function (e, t) { return vi(!0, e, t, this) }, setEnd: function (e, t) { return vi(!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 xi(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, i = this, n = i.collapsed; function o (e) { return 1 == e.nodeType && !domUtils.isBookmarkNode(e) && !dtd.$empty[e.tagName] && !dtd.$nonChild[e.tagName] } for (; 1 == i.startContainer.nodeType && (t = i.startContainer.childNodes[i.startOffset]) && o(t);)i.setStart(t, 0); if (n) return i.collapse(!0); if (!e) for (; 1 == i.endContainer.nodeType && 0 < i.endOffset && (t = i.endContainer.childNodes[i.endOffset - 1]) && o(t);)i.setEnd(t, t.childNodes.length); return i }, getCommonAncestor: function (e, t) { var i = this.startContainer, n = this.endContainer; return i === n ? (!e || !ui(this) || 1 != (i = i.childNodes[this.startOffset]).nodeType) && t && 3 == i.nodeType ? i.parentNode : i : domUtils.getCommonAncestor(i, n) }, trimBoundary: function (e) { this.txtToElmBoundary(); var t = this.startContainer, i = this.startOffset, n = this.collapsed, o = this.endContainer; if (3 == t.nodeType) { if (0 == i) this.setStartBefore(t); else if (i >= t.nodeValue.length) this.setStartAfter(t); else { var r = domUtils.split(t, i); t === o ? this.setEnd(r, this.endOffset - i) : t.parentNode === o && (this.endOffset += 1), this.setStartBefore(r) } if (n) return this.collapse(!0) } return e || (i = this.endOffset, 3 == (o = this.endContainer).nodeType && (0 == i ? this.setEndBefore(o) : (i < o.nodeValue.length && domUtils.split(o, i), this.setEndAfter(o)))), this }, txtToElmBoundary: function (e) { function t (e, t) { var i = e[t + "Container"], n = e[t + "Offset"]; 3 == i.nodeType && (n ? n >= i.nodeValue.length && e["set" + t.replace(/(\w)/, function (e) { return e.toUpperCase() }) + "After"](i) : e["set" + t.replace(/(\w)/, function (e) { return e.toUpperCase() }) + "Before"](i)) } return !e && this.collapsed || (t(this, "start"), t(this, "end")), this }, insertNode: function (e) { var t = e, i = 1; 11 == e.nodeType && (t = e.firstChild, i = e.childNodes.length), this.trimBoundary(!0); var n = this.startContainer, o = this.startOffset, r = n.childNodes[o]; return r ? n.insertBefore(e, r) : n.appendChild(e), t.parentNode === this.endContainer && (this.endOffset = this.endOffset + i), this.setStartBefore(t) }, setCursor: function (e, t) { return this.collapse(!e).select(t) }, createBookmark: function (e, t) { var i, n = this.document.createElement("span"); return n.style.cssText = "display:none;line-height:0px;", n.appendChild(this.document.createTextNode("‍")), n.id = "_baidu_bookmark_start_" + (t ? "" : qi++), this.collapsed || ((i = n.cloneNode(!0)).id = "_baidu_bookmark_end_" + (t ? "" : qi++)), this.insertNode(n), i && this.collapse().insertNode(i).setEndBefore(i), this.setStartAfter(n), { start: e ? n.id : n, end: i ? e ? i.id : i : null, id: e } }, moveToBookmark: function (e) { var t = e.id ? this.document.getElementById(e.start) : e.start, i = e.end && e.id ? this.document.getElementById(e.end) : e.end; return this.setStartBefore(t), domUtils.remove(t), i ? (this.setEndBefore(i), domUtils.remove(i)) : this.collapse(!0), this }, enlarge: function (e, t) { var i, n, o = domUtils.isBody, r = this.document.createTextNode(""); if (e) { for (i = 1 == (n = this.startContainer).nodeType ? n = n.childNodes[this.startOffset] ? n.childNodes[this.startOffset] : (n.appendChild(r), r) : n; ;) { if (domUtils.isBlockElm(n)) { for (n = i; (i = n.previousSibling) && !domUtils.isBlockElm(i);)n = i; this.setStartBefore(n); break } n = (i = n).parentNode } for (i = 1 == (n = this.endContainer).nodeType ? ((i = n.childNodes[this.endOffset]) ? n.insertBefore(r, i) : n.appendChild(r), n = r) : n; ;) { if (domUtils.isBlockElm(n)) { for (n = i; (i = n.nextSibling) && !domUtils.isBlockElm(i);)n = i; this.setEndAfter(n); break } n = (i = n).parentNode } r.parentNode === this.endContainer && this.endOffset--, domUtils.remove(r) } 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 (t, e, i) { if (this.collapsed) return this; this.trimBoundary().enlarge(!1, function (e) { return 1 == e.nodeType && domUtils.isBlockElm(e) }).adjustmentBoundary(); function n (e) { return 1 == e.nodeType ? "br" != e.tagName.toLowerCase() : !domUtils.isWhitespace(e) } for (var o, r, a = this.createBookmark(), s = a.end, l = domUtils.getNextDomNode(a.start, !1, n), d = this.cloneRange(); l && domUtils.getPosition(l, s) & domUtils.POSITION_PRECEDING;)if (3 == l.nodeType || dtd[t][l.tagName]) { for (d.setStartBefore(l), o = l; o && (3 == o.nodeType || dtd[t][o.tagName]) && o !== s;)r = o, o = domUtils.getNextDomNode(o, 1 == o.nodeType, null, function (e) { return dtd[t][e.tagName] }); var c, u, m = d.setEndAfter(r).extractContents(); if (i && 0 < i.length) { var f, h; h = f = i[0].cloneNode(!1); for (var p, g = 1; p = i[g++];)f.appendChild(p.cloneNode(!1)), f = f.firstChild; c = f } else c = d.document.createElement(t); if (e && domUtils.setAttributes(c, e), c.appendChild(m), d.insertNode(i ? h : c), "span" == t && e.style && /text\-decoration/.test(e.style) && (u = domUtils.findParentByTagName(c, "a", !0)) ? (domUtils.setAttributes(u, e), domUtils.remove(c, !0), c = u) : (domUtils.mergeSibling(c), domUtils.clearEmptySibling(c)), domUtils.mergeChild(c, e), l = domUtils.getNextDomNode(c, !1, n), domUtils.mergeToParent(c), o === s) break } else l = domUtils.getNextDomNode(l, !0, n); 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, i = this.endContainer; ;) { if (1 == t.nodeType) { if (-1 < utils.indexOf(e, t.tagName.toLowerCase())) break; if ("body" == t.tagName.toLowerCase()) { t = null; break } } t = t.parentNode } for (; ;) { if (1 == i.nodeType) { if (-1 < utils.indexOf(e, i.tagName.toLowerCase())) break; if ("body" == i.tagName.toLowerCase()) { i = null; break } } i = i.parentNode } var n, o, r = this.createBookmark(); t && (n = (o = this.cloneRange().setEndBefore(r.start).setStartBefore(t)).extractContents(), o.insertNode(n), domUtils.clearEmptySibling(t, !0), t.parentNode.insertBefore(r.start, t)), i && (n = (o = this.cloneRange().setStartAfter(r.end).setEndAfter(i)).extractContents(), o.insertNode(n), domUtils.clearEmptySibling(i, !1, !0), i.parentNode.insertBefore(r.end, i.nextSibling)); for (var a, s = domUtils.getNextDomNode(r.start, !1, function (e) { return 1 == e.nodeType }); s && s !== r.end;)a = domUtils.getNextDomNode(s, !0, function (e) { return 1 == e.nodeType }), -1 < utils.indexOf(e, s.tagName.toLowerCase()) && domUtils.remove(s, !0), s = a; return this.moveToBookmark(r) }, getClosedNode: function () { var e; if (!this.collapsed) { var t = this.cloneRange().adjustmentBoundary().shrinkBoundary(); if (ui(t)) { var i = t.startContainer.childNodes[t.startOffset]; i && 1 == i.nodeType && (dtd.$empty[i.tagName] || dtd.$nonChild[i.tagName]) && (e = i) } } return e }, select: browser.ie ? function (e, t) { var i; this.collapsed || this.shrinkBoundary(); var n = this.getClosedNode(); if (n && !t) { try { (i = this.document.body.createControlRange()).addElement(n), i.select() } catch (e) { } return this } var o, r = this.createBookmark(), a = r.start; if ((i = this.document.body.createTextRange()).moveToElementText(a), i.moveStart("character", 1), this.collapsed) { if (!e && 3 != this.startContainer.nodeType) { var s = this.document.createTextNode(ri), l = this.document.createElement("span"); l.appendChild(this.document.createTextNode(ri)), a.parentNode.insertBefore(l, a), a.parentNode.insertBefore(s, a), yi(this.document, s), si = s, zi(l, "previousSibling"), zi(a, "nextSibling"), i.moveStart("character", -1), i.collapse(!0) } } else { var d = this.document.body.createTextRange(); o = r.end, d.moveToElementText(o), i.setEndPoint("EndToEnd", d) } this.moveToBookmark(r), l && domUtils.remove(l); try { i.select() } catch (e) { } return this } : function (e) { var t, n, i = domUtils.getWindow(this.document), o = i.getSelection(); if (browser.gecko ? this.document.body.focus() : i.focus(), o) { if (o.removeAllRanges(), this.collapsed && !e) { var r = this.startContainer, a = r; 1 == r.nodeType && (a = r.childNodes[this.startOffset]), 3 == r.nodeType && this.startOffset || (a ? a.previousSibling && 3 == a.previousSibling.nodeType : r.lastChild && 3 == r.lastChild.nodeType) || (t = this.document.createTextNode(ri), this.insertNode(t), yi(this.document, t), zi(t, "previousSibling"), zi(t, "nextSibling"), si = t, this.setStart(t, browser.webkit ? 1 : 0).collapse(!0)) } var s = this.document.createRange(); if (this.collapsed && browser.opera && 1 == this.startContainer.nodeType) if (a = this.startContainer.childNodes[this.startOffset]) { for (; a && domUtils.isBlockElm(a) && 1 == a.nodeType && a.childNodes[0];)a = a.childNodes[0]; a && this.setStartBefore(a).collapse(!0) } else (a = this.startContainer.lastChild) && domUtils.isBr(a) && this.setStartBefore(a).collapse(!0); l((n = this).startContainer, n.startOffset, "start"), l(n.endContainer, n.endOffset, "end"), s.setStart(this.startContainer, this.startOffset), s.setEnd(this.endContainer, this.endOffset), o.addRange(s) } function l (e, t, i) { 3 == e.nodeType && e.nodeValue.length < t && (n[i + "Offset"] = e.nodeValue.length) } return this }, scrollToView: function (e, t) { e = e ? window : domUtils.getWindow(this.document); var i = this.document.createElement("span"); return i.innerHTML = " ", this.cloneRange().insertNode(i), domUtils.scrollToView(i, e, t), domUtils.remove(i), 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, d) { var t = {}, c = this; function i (e) { for (var t, i = e ? c.startContainer : c.endContainer, n = domUtils.findParents(i, !0, function (e) { return !domUtils.isBody(e) }), o = [], r = 0; t = n[r++];)o.push(domUtils.getNodeIndex(t, d)); var a = 0; if (d) if (3 == i.nodeType) { for (var s = i.previousSibling; s && 3 == s.nodeType;)a += s.nodeValue.replace(fillCharReg, "").length, s = s.previousSibling; a += e ? c.startOffset : c.endOffset } else if (i = i.childNodes[e ? c.startOffset : c.endOffset]) a = domUtils.getNodeIndex(i, d); else for (var l = (i = e ? c.startContainer : c.endContainer).firstChild; l;)if (domUtils.isFillChar(l)) l = l.nextSibling; else if (a++, 3 == l.nodeType) for (; l && 3 == l.nodeType;)l = l.nextSibling; else l = l.nextSibling; else a = e ? domUtils.isFillChar(i) ? 0 : c.startOffset : c.endOffset; return a < 0 && (a = 0), o.push(a), o } return t.startAddress = i(!0), e || (t.endAddress = c.collapsed ? [].concat(t.startAddress) : i()), t }, moveToAddress: function (e, t) { var l = this; function i (e, t) { for (var i, n, o, r = l.document.body, a = 0, s = e.length; a < s; a++)if (o = e[a], !(r = (i = r).childNodes[o])) { n = o; break } t ? r ? l.setStartBefore(r) : l.setStart(i, n) : r ? l.setEndBefore(r) : l.setEnd(i, n) } return i(e.startAddress, !0), !t && e.endAddress && i(e.endAddress), l }, 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 i = this.createBookmark(), n = i.end, o = domUtils.getNextDomNode(i.start, !1, t); o && o !== n && domUtils.getPosition(o, n) & domUtils.POSITION_PRECEDING;) { var r = domUtils.getNextDomNode(o, !1, t); e(o), o = r } return this.moveToBookmark(i) } }, (dom.Selection = function (e) { var t, i = this; i.document = e, browser.ie9below && (t = domUtils.getWindow(e).frameElement, domUtils.on(t, "beforedeactivate", function () { i._bakIERange = i.getIERange() }), domUtils.on(t, "activate", function () { try { !km(i) && i._bakIERange && i._bakIERange.select() } catch (e) { } i._bakIERange = null })), t = e = null }).prototype = { rangeInBody: function (e, t) { var i = browser.ie9below || t ? e.item ? e.item() : e.parentElement() : e.startContainer; return i === this.document.body || domUtils.inDoc(i, 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 = km(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 = km(this); return !(!e || !this.rangeInBody(e)) } return !!this.getNative().rangeCount } catch (e) { return !1 } }, getRange: function () { var n = this; function t (e) { for (var t = n.document.body.firstChild, i = e.collapsed; t && t.firstChild;)e.setStart(t, 0), t = t.firstChild; e.startContainer || e.setStart(n.document.body, 0), i && e.collapse(!0) } if (null != n._cachedRange) return this._cachedRange; var i = new baidu.editor.dom.Range(n.document); if (browser.ie9below) { var e = n.getIERange(); if (e) try { !function (e, t) { if (e.item) t.selectNode(e.item(0)); else { var i = im(e, !0); t.setStart(i.container, i.offset), 0 != e.compareEndPoints("StartToEnd", e) && (i = im(e, !1), t.setEnd(i.container, i.offset)) } }(e, i) } catch (e) { t(i) } else t(i) } else { var o = n.getNative(); if (o && o.rangeCount) { var r = o.getRangeAt(0), a = o.getRangeAt(o.rangeCount - 1); i.setStart(r.startContainer, r.startOffset).setEnd(a.endContainer, a.endOffset), i.collapsed && domUtils.isBody(i.startContainer) && !i.startOffset && t(i) } else { if (this._bakRange && domUtils.inDoc(this._bakRange.startContainer, this.document)) return this._bakRange; t(i) } } return this._bakRange = i }, getStart: function () { if (this._cachedStartElement) return this._cachedStartElement; var e, t, i, n, 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 (0 < (e = o.duplicate()).text.length && e.moveStart("character", 1), e.collapse(1), t = e.parentElement(), n = i = o.parentElement(); i = i.parentNode;)if (i == t) { t = n; 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 uid = 0, _selectionChangeTimer; function setValue (e, t) { var i; if (t.textarea) if (utils.isString(t.textarea)) { for (var n, o = 0, r = domUtils.getElementsByTagName(e, "textarea"); n = r[o++];)if (n.id == "ueditor_textarea_" + t.options.textarea) { i = n; break } } else i = t.textarea; i || (e.appendChild(i = domUtils.createElement(document, "textarea", { name: t.options.textarea, id: "ueditor_textarea_" + t.options.textarea, style: "display:none" })), t.textarea = i), i.getAttribute("name") || i.setAttribute("name", t.options.textarea), i.value = t.hasContents() ? t.options.allHtmlEnabled ? t.getAllHtml() : t.getContent(null, null, !0) : "" } function loadPlugins (e) { for (var t in UE.plugins) UE.plugins[t].call(e) } function checkCurLang (e) { for (var t in e) return t } function langReadied (e) { e.langIsReady = !0, e.fireEvent("langReady") } var Editor = UE.Editor = function (e) { var t = this; t.uid = uid++, EventBase.call(t), t.commands = {}, t.options = utils.extend(utils.clone(e || {}), UEDITOR_CONFIG, !0), t.shortcutkeys = {}, t.inputRules = [], t.outputRules = [], t.setOpt(Editor.defaultOptions(t)), t.loadServerConfig(), utils.isEmptyObject(UE.I18N) ? utils.loadFile(document, { src: t.options.langPath + t.options.lang + "/" + t.options.lang + ".js", tag: "script", type: "text/javascript", defer: "defer" }, function () { UE.plugin.load(t), langReadied(t) }) : (t.options.lang = checkCurLang(UE.I18N), UE.plugin.load(t), langReadied(t)), UE.instants["ueditorInstant" + t.uid] = t }; function Np () { var e = this; e.document.getElementById("initContent") && (e.body.innerHTML = '

' + (ie ? "" : "
") + "

", e.removeListener("firstBeforeExecCommand focus", Np), setTimeout(function () { e.focus(), e._selectionChange() }, 0)) } Editor.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 i = {}; utils.isString(e) ? i[e] = t : i = e, utils.extend(this.options, i, !0) }, getOpt: function (e) { return this.options[e] }, destroy: function () { var e = this; e.fireEvent("destroy"); var t = e.container.parentNode, i = e.textarea; i ? i.style.display = "" : (i = document.createElement("textarea"), t.parentNode.insertBefore(i, t)), i.style.width = e.iframe.offsetWidth + "px", i.style.height = e.iframe.offsetHeight + "px", i.value = e.getContent(), i.id = e.key, t.innerHTML = "", domUtils.remove(t); var n = e.key; for (var o in e) e.hasOwnProperty(o) && delete this[o]; UE.delEditor(n) }, render: function (t) { function e (e) { return parseInt(domUtils.getComputedStyle(t, e)) } var i = this.options; if (utils.isString(t) && (t = document.getElementById(t)), t) { i.initialFrameWidth ? i.minFrameWidth = i.initialFrameWidth : i.minFrameWidth = i.initialFrameWidth = t.offsetWidth, i.initialFrameHeight ? i.minFrameHeight = i.initialFrameHeight : i.initialFrameHeight = i.minFrameHeight = t.offsetHeight, t.style.width = /%$/.test(i.initialFrameWidth) ? "100%" : i.initialFrameWidth - e("padding-left") - e("padding-right") + "px", t.style.height = /%$/.test(i.initialFrameHeight) ? "100%" : i.initialFrameHeight - e("padding-top") - e("padding-bottom") + "px", t.style.zIndex = i.zIndex; var n = (ie && browser.version < 9 ? "" : "") + "" + (i.iframeCssUrl ? "" : "") + (i.initialStyle ? "" : "") + " - \ No newline at end of file diff --git a/src/pages/testPaper/detail/index.vue b/src/pages/testPaper/detail/index.vue index 12900e1..fa866ae 100644 --- a/src/pages/testPaper/detail/index.vue +++ b/src/pages/testPaper/detail/index.vue @@ -44,7 +44,9 @@ - + + + re:{{ form.remarks }}
@@ -169,7 +171,7 @@ import Setting from '@/setting' import Util from '@/libs/util' import dayjs from 'dayjs' -import Ueditor from '@/components/ueditor' +import Ueditor from '@/components/u' import Breadcrumb from '@/components/breadcrumb' import Template from './template' import Manual from './manual' diff --git a/src/pages/testPaper/list/index.vue b/src/pages/testPaper/list/index.vue index 9b0ccd4..0ad266c 100644 --- a/src/pages/testPaper/list/index.vue +++ b/src/pages/testPaper/list/index.vue @@ -119,7 +119,7 @@ - + diff --git a/src/pages/testPaperLibrary/index.vue b/src/pages/testPaperLibrary/index.vue index d909efd..bf5e46d 100644 --- a/src/pages/testPaperLibrary/index.vue +++ b/src/pages/testPaperLibrary/index.vue @@ -26,7 +26,7 @@
筛选
- +
  • @@ -104,10 +104,10 @@