From 610ab7a0d74dcb3bb8c0a192c560c14d04e88df4 Mon Sep 17 00:00:00 2001 From: JiHong88 <0125ses@hanmail.net> Date: Wed, 17 Apr 2019 13:39:49 +0900 Subject: [PATCH] version up: 2.12.4 --- bower.json | 2 +- dist/css/suneditor.min.css | 2 +- dist/suneditor.min.js | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bower.json b/bower.json index e7f2b2bc1..888b9805b 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "suneditor", - "version": "2.12.3", + "version": "2.12.4", "description": "Pure JavaScript based WYSIWYG web editor", "main": "src/suneditor.js", "keywords": [ diff --git a/dist/css/suneditor.min.css b/dist/css/suneditor.min.css index daa547eff..abec3dcfd 100644 --- a/dist/css/suneditor.min.css +++ b/dist/css/suneditor.min.css @@ -1 +1 @@ -.sun-editor{width:auto;height:auto;z-index:2147483647;box-sizing:border-box;font-family:Helvetica Neue,sans-serif;border:1px solid #dadada;text-align:left;background-color:#fff;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.sun-editor *{box-sizing:border-box;-webkit-user-drag:none}.sun-editor-common button,.sun-editor-common input,.sun-editor-common select,.sun-editor-common textarea{font-size:14px;line-height:1.5}.sun-editor-common blockquote,.sun-editor-common body,.sun-editor-common button,.sun-editor-common code,.sun-editor-common dd,.sun-editor-common div,.sun-editor-common dl,.sun-editor-common dt,.sun-editor-common fieldset,.sun-editor-common form,.sun-editor-common h1,.sun-editor-common h2,.sun-editor-common h3,.sun-editor-common h4,.sun-editor-common h5,.sun-editor-common h6,.sun-editor-common input,.sun-editor-common legend,.sun-editor-common li,.sun-editor-common ol,.sun-editor-common p,.sun-editor-common pre,.sun-editor-common select,.sun-editor-common td,.sun-editor-common textarea,.sun-editor-common th,.sun-editor-common ul{margin:0;padding:0;border:0;color:#000!important}.sun-editor-common dl,.sun-editor-common li,.sun-editor-common menu,.sun-editor-common ol,.sun-editor-common ul{list-style:none!important}.sun-editor-common hr{margin:6px 0!important}.sun-editor textarea{resize:none!important;border:0!important}.sun-editor button{border:0;background-color:transparent;touch-action:manipulation;cursor:pointer;outline:none}.sun-editor button,.sun-editor input,.sun-editor select,.sun-editor textarea{vertical-align:middle}.sun-editor button .txt{display:block;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@font-face{font-family:Suneditor-icon;src:url(../fonts/28398a14fb94a1bd4bd01ffef18797f0.eot);src:url(../fonts/28398a14fb94a1bd4bd01ffef18797f0.eot?#iefix) format("embedded-opentype"),url(../fonts/e1628e0f13d16c7ae7ca4e67f51e7210.woff2) format("woff2"),url(../fonts/d117b428c34821bfee476a051633432a.woff) format("woff"),url(../fonts/795eb60c8740a93cf721c36003276e44.ttf) format("truetype"),url(../fonts/1e07d211f35e8389a91c0306fba57df6.svg#Glyphter) format("svg");font-weight:400;font-style:normal}.sun-editor [class*=icon-]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Suneditor-icon;display:inline-block;font-style:normal;font-variant:normal;font-weight:400;text-rendering:auto;font-size:15px;color:#000}.sun-editor .sun-editor-id-toolbar [class*=icon-]:before{line-height:2.1}.sun-editor .icon-align-just:before{content:"A"}.sun-editor .icon-align-left:before{content:"B"}.sun-editor .icon-align-right:before{content:"C"}.sun-editor .icon-align-center:before{content:"D"}.sun-editor .icon-underline:before{content:"E"}.sun-editor .icon-bold:before{content:"F"}.sun-editor .icon-italic:before{content:"G"}.sun-editor .icon-strokethrough:before{content:"H"}.sun-editor .icon-subscript:before{content:"I"}.sun-editor .icon-superscript:before{content:"J"}.sun-editor .icon-redo:before{content:"K"}.sun-editor .icon-undo:before{content:"L"}.sun-editor .icon-erase:before{content:"M"}.sun-editor .icon-fontColor:before{content:"N"}.sun-editor .icon-hiliteColor:before{content:"O"}.sun-editor .icon-indent-left:before{content:"P"}.sun-editor .icon-indent-right:before{content:"Q"}.sun-editor .icon-list-bullets:before{content:"R"}.sun-editor .icon-list-number:before{content:"S"}.sun-editor .icon-grid:before{content:"T"}.sun-editor .icon-code-view:before{content:"U"}.sun-editor .icon-preview:before{content:"V"}.sun-editor .icon-showBlocks:before{content:"W"}.sun-editor .icon-expansion:before{content:"X"}.sun-editor .icon-reduction:before{content:"Y"}.sun-editor .icon-image:before{content:"Z"}.sun-editor .icon-link:before{content:"a"}.sun-editor .icon-video:before{content:"b"}.sun-editor .icon-print:before{content:"c"}.sun-editor .icon-modify:before{content:"d"}.sun-editor .icon-revert:before{content:"e"}.sun-editor .icon-arrow-down:before{content:"f";font-size:10px}.sun-editor .icon-map-pin:before{content:"g"}.sun-editor .icon-cancel:before{content:"h";font-size:10px}.sun-editor .icon-hr:before{content:"i"}.sun-editor .icon-insert-column-right:before{content:"j"}.sun-editor .icon-insert-row-below:before{content:"k"}.sun-editor .icon-insert-row-above:before{content:"l"}.sun-editor .icon-insert-column-left:before{content:"m"}.sun-editor .icon-delete-row:before{content:"n"}.sun-editor .icon-delete-column:before{content:"o"}.sun-editor .icon-quote:before{content:"p"}.sun-editor .icon-empty-file:before{content:"q"}.sun-editor .icon-paragraph:before{content:"r"}.sun-editor .icon-delete:before{content:"s"}.sun-editor .icon-rotate-left:before{content:"t"}.sun-editor .icon-rotate-right:before{content:"u"}.sun-editor .icon-mirror-horizontal:before{content:"v"}.sun-editor .icon-mirror-vertical:before{content:"w"}.sun-editor .icon-save:before{content:"x"}.sun-editor .sun-editor-container{position:relative;width:100%;height:100%}.sun-editor .arrow,.sun-editor .arrow:after{position:absolute;display:block;width:0;height:0;border:11px solid transparent}.sun-editor .arrow.arrow-up{top:-11px;left:20px;margin-left:-11px;border-top-width:0;border-bottom-color:rgba(0,0,0,.25)}.sun-editor .arrow.arrow-up:after{top:1px;margin-left:-11px;content:" ";border-top-width:0;border-bottom-color:#fff}.sun-editor .sun-editor-id-toolbar .arrow.arrow-up:after{border-bottom-color:#fafafa}.sun-editor .arrow.arrow-down{top:0;left:0;margin-left:-11px;border-bottom-width:0;border-top-color:rgba(0,0,0,.25)}.sun-editor .arrow.arrow-down:after{top:-12px;margin-left:-11px;content:" ";border-bottom-width:0;border-top-color:#fff}.sun-editor .sun-editor-id-toolbar .arrow.arrow-down:after{border-top-color:#fafafa}.sun-editor .sun-editor-id-toolbar{display:block;overflow:visible;position:relative;height:auto;padding:4px 3px 0;margin:0;background-color:#fafafa;outline:1px solid #dadada;z-index:2}.sun-editor .sun-editor-id-toolbar-cover{position:absolute;display:none;font-size:36px;width:100%;height:100%;top:0;left:0;background-color:#fefefe;opacity:.5;filter:alpha(opacity=50);cursor:not-allowed;z-index:4}.sun-editor .sun-editor-toolbar-separator-vertical{display:inline-block;height:31px;width:1px;margin:2px;vertical-align:top}.sun-editor .sun-editor-id-toolbar.sun-inline-toolbar{display:none;position:absolute;box-shadow:0 3px 9px rgba(0,0,0,.5);-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5)}.sun-editor .sun-editor-id-toolbar.sun-editor-sticky{position:fixed;top:0}.sun-editor .sun-editor-sticky-dummy{display:none;position:static;z-index:-1}.sun-editor .tool_module{display:inline-block}.sun-editor .sun-editor-module-border{border:1px solid #dadada;border-radius:5px}.sun-editor .tool_module_enter{display:block;width:100%;height:1px;margin-bottom:5px;background-color:transparent}.sun-editor .editor_tool,.sun-editor .editor_tool li{float:left;padding:0;margin:0}.sun-editor .editor_tool li{position:relative}.sun-editor .btn_editor{overflow:hidden;float:left;width:35px;height:35px;border:0;border-radius:4px;margin:1px!important;font-size:12px;line-height:27px}.sun-editor .btn_editor:enabled:focus,.sun-editor .btn_editor:enabled:hover{background-color:#d4e3ea;border-color:#bbd5e0;outline:0 none}.sun-editor .btn_editor:enabled:active{border-color:#bbd5e0;background-color:#d4e3ea;-webkit-box-shadow:inset 0 3px 5px #bbd5e0;box-shadow:inset 0 3px 5px #bbd5e0}.sun-editor .btn_editor:enabled.on{background-color:#d4e3ea;border-color:#bbd5e0;outline:0 none}.sun-editor .btn_editor:enabled.on:focus,.sun-editor .btn_editor:enabled.on:hover{background-color:#bbd5e0;border-color:#8baab7;outline:0 none}.sun-editor .btn_editor:enabled.on:active{border-color:#8baab7;background-color:#bbd5e0;-webkit-box-shadow:inset 0 3px 5px #8baab7;box-shadow:inset 0 3px 5px #8baab7}.sun-editor .btn_edit:enabled:focus,.sun-editor .btn_edit:enabled:hover{background-color:#d4e3ea;border-color:#bbd5e0;outline:0 none}.sun-editor .btn_edit:enabled:active{border-color:#bbd5e0;background-color:#d4e3ea;-webkit-box-shadow:inset 0 3px 5px #bbd5e0;box-shadow:inset 0 3px 5px #bbd5e0}.sun-editor .btn_edit:disabled,.sun-editor .btn_editor:disabled,.sun-editor .btn_editor:disabled *,.sun-editor :disabled [class*=icon-]:before{cursor:default;background:#fafafa;color:transparent;text-shadow:0 0 3px #ccc}.sun-editor .layer_editor{display:none;position:absolute;top:37px;z-index:3;left:1px;overflow-y:auto;overflow-x:hidden;border:1px solid #bababa;border-radius:2px;background-color:#fff;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);outline:0 none}.sun-editor .layer_editor.layer_size{max-height:300px}.sun-editor .layer_editor .write_place .inp_txt{float:left;width:100%;height:23px;margin-top:0;font-size:12px;text-indent:6px;border:0;outline:0 none}.sun-editor .layer_editor button{margin:0!important;overflow:hidden;width:100%}.sun-editor .editor_tool .layer_editor button:focus,.sun-editor .layer_editor button:hover{background-color:#d4e3ea;border-color:#bbd5e0;outline:0 none}.sun-editor .layer_editor .list_family{left:0;width:156px}.sun-editor .layer_editor .list_family .default{border-bottom:1px solid #ccc}.sun-editor .layer_editor .format_list{left:0;width:175px}.sun-editor .layer_editor .format_list li{padding:0;width:100%}.sun-editor .layer_editor .format_list .btn_edit{height:auto;margin:0 0 4px!important;padding:2px 10px 5px;line-height:100%}.sun-editor .layer_editor .format_list .txt_size18{padding:1px 10px 6px}.sun-editor .layer_editor .format_list .txt_size24{padding:3px 10px 11px;line-height:24px}.sun-editor .layer_editor .format_list .txt_size36{padding:4px 10px 15px;line-height:36px}.sun-editor .layer_editor .font_size_list{left:0;width:140px}.sun-editor .layer_editor .font_size_list .btn_edit{height:auto;margin:0 0 7px!important;padding:2px 10px 5px;line-height:normal!important}.sun-editor .layer_editor .layer_list{left:0;width:42px}.sun-editor .layer_editor .layer_line{left:0;width:158px}.sun-editor .layer_editor .write_place{overflow:hidden;float:left;position:relative;height:25px;border:1px solid #dadada}.sun-editor .layer_align{left:9px;width:125px}.sun-editor .btn_align .img_editor{display:inline-block;width:14px;height:32px;margin:-1px 10px 0 0;vertical-align:middle}.sun-editor .list_editor{overflow:hidden;width:100%;padding:6px 0}.sun-editor .list_editor li:first-child{padding-top:0}.sun-editor .list_editor li{padding-top:5px;width:100%}.sun-editor .font_size_list li{padding:0;width:100%}.sun-editor .layer_editor.layer_line{left:0;width:158px}.sun-editor .btn_edit{width:100%;height:28px;padding:0 14px;margin-left:0;font-size:12px;line-height:22px;text-indent:0;text-decoration:none;text-align:left}.sun-editor .btn_font{width:100px;text-align:left;text-indent:7px;padding:0}.sun-editor .btn_format{width:90px;text-align:left;text-indent:7px;padding:0}.sun-editor .btn_size{width:70px;text-align:left;text-indent:7px;padding:0}.sun-editor .btn_font .txt{width:65px;float:left}.sun-editor .btn_format .txt{width:55px;float:left}.sun-editor .btn_size .txt{width:35px;float:left}.sun-editor .table-content{position:absolute;top:34px;left:1px;z-index:3;padding:5px 0;float:left;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.sun-editor .table-data-form{font-size:18px;padding:0 5px}.sun-editor .table-picker{position:absolute!important;z-index:3;font-size:18px;width:10em;height:10em;cursor:pointer}.sun-editor .table-highlighted{position:absolute!important;z-index:2;font-size:18px;width:1em;height:1em;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OEE2QjczMzdCN0VGMTFFODg3MENEMDIzNTU4M0UyQzciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OEE2QjczMzZCN0VGMTFFODg3MENEMDIzNTU4M0UyQzciIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDM2MjRFMUVCN0VFMTFFODg2RkM4MEYzQTg4MjU3RTkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDM2MjRFMUZCN0VFMTFFODg2RkM4MEYzQTg4MjU3RTkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5dMgLsAAAARUlEQVR42mL8//8/AzUAC4joWb2DbNNKQj0Y4QaBgIaKMsmG3LhzF85mYqASGDVo1KBRgwjnfvQMSA5gpFZ5RDWvAQQYAKYZD7SDi983AAAAAElFTkSuQmCC") repeat}.sun-editor .table-unhighlighted{position:relative!important;z-index:1;font-size:18px;width:5em;height:5em;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat}.sun-editor .table-display{padding-left:5px}.sun-editor .sun-editor-id-table-edit{position:absolute;z-index:1;width:165px;display:none;padding:1px;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.sun-editor .layer_editor .pallet_color_selector{display:flex;width:285px;height:auto}.sun-editor .layer_editor .list_color{width:100%;height:100%;padding:7px}.sun-editor .layer_editor .list_color li{display:flex;float:left;position:relative;margin:0}.sun-editor .layer_editor .list_color button{display:block;overflow:hidden;width:30px;height:30px;text-indent:-9999px}.sun-editor .layer_editor .list_color button:focus,.sun-editor .layer_editor .list_color button:hover{border:1px solid #000}.sun-editor .sub-form-group{height:34px;padding:0 7px 7px}.sun-editor .sub-form-group label{display:inline-block;font-weight:700;font-size:14px;letter-spacing:1px}.sun-editor .sub-form-group input{display:inline-block;width:130px;font-size:14px;border-bottom:5px solid #8baab7;text-transform:uppercase}.sun-editor .sub-form-group input:focus{outline:none}.sun-editor .sub-form-group button{float:right;width:auto;height:100%;background-color:#bbd5e0;border-color:#a2bfcc;outline:0 none;padding:0 15px}.sun-editor .sun-editor-id-editorArea{position:static;width:100%;height:auto;overflow:hidden;z-index:1}.sun-editor .sun-editor-id-editorArea .input_editor{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.sun-editor .sun-editor-id-editorArea .input_editor:focus{outline:none}.sun-editor .sun-editor-id-editorArea .sun-editor-id-code{background-color:#191919;color:#fff;font-family:Helvetica Neue,sans-serif;font-size:13px;word-break:break-all;padding:0;margin:0}.sun-editor .sun-editor-id-resizingBar{width:auto;height:16px;border-top:1px solid #dadada;padding:2px 8px;background-color:#fafafa;cursor:ns-resize}.sun-editor .sun-editor-id-resizingBar.none-resize{cursor:default}.sun-editor .sun-editor-id-navigation{position:absolute;width:auto;height:auto;margin:0;padding:0;font-size:11px;font-weight:700;line-height:1}.sun-editor .sun-editor-id-dialogBox,.sun-editor .sun-editor-id-resize-background{position:absolute;display:none;top:0;left:0;width:100%;height:100%;z-index:2147483647}.sun-editor .sun-editor-id-dialogBox button,.sun-editor .sun-editor-id-dialogBox input,.sun-editor .sun-editor-id-dialogBox label{font-size:14px;line-height:1.5;color:#111;margin:0}.sun-editor .sun-editor-id-dialogBox .modal-dialog-background{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#222;opacity:.5}.sun-editor .modal-dialog{position:absolute;width:100%;height:100%;top:0;left:0}.sun-editor .modal-dialog .modal-content{position:relative;width:500px;margin:8px auto;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}@media screen and (max-width:509px){.sun-editor .modal-dialog .modal-content{width:100%}}.sun-editor .modal-dialog .modal-header{height:50px;padding:15px 15px 5px;border-bottom:1px solid #e5e5e5}.sun-editor .modal-dialog button.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;padding:0!important;margin:0!important;background:transparent;border:0;text-shadow:0 1px 0 #fff;-webkit-appearance:none;filter:alpha(opacity=100);opacity:1}.sun-editor .modal-dialog button.close:focus,.sun-editor .modal-dialog button.close:hover{color:#a2bfcc!important}.sun-editor .modal-dialog .modal-body{position:relative;padding:15px}.sun-editor .modal-dialog .form-group{margin-bottom:15px}.sun-editor .modal-dialog .form-group-footer{margin-top:15px}.sun-editor .modal-dialog input:disabled{background-color:#f3f3f3}.sun-editor .modal-dialog .size-text{width:100%}.sun-editor .modal-dialog .size-text .size-h,.sun-editor .modal-dialog .size-text .size-w{width:72px;text-align:center}.sun-editor .modal-dialog .size-x{margin:0 8px;width:25px;text-align:center}.sun-editor .modal-dialog .form-size-control{display:inline-block;width:70px;height:34px;font-size:14px;text-align:center;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.sun-editor .modal-dialog .modal-content label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.sun-editor .modal-dialog .form-control{display:block;width:100%;height:34px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.sun-editor .modal-dialog .modal-footer{padding:10px 15px 0;text-align:right;border-top:1px solid #e5e5e5}.sun-editor .modal-dialog .modal-content .btn{display:inline-block;padding:6px 12px;margin:0 0 10px!important;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;background-image:none;border:1px solid transparent;border-radius:4px}.sun-editor .modal-dialog .modal-content input:focus{border-color:#a2bfcc;outline:0;-webkit-box-shadow:inset 0 1px 1px #a2bfcc,0 0 8px #d4e3ea;box-shadow:inset 0 1px 1px #a2bfcc,0 0 8px #d4e3ea}.sun-editor .modal-dialog .modal-radio{margin-left:12px;margin-right:5px}.sun-editor .modal-dialog .btn-primary{color:#fff;background-color:#d4e3ea;border-color:#a2bfcc}.sun-editor .modal-dialog .btn-primary:focus,.sun-editor .modal-dialog .btn-primary:hover{background-color:#bbd5e0!important;border-color:#a2bfcc!important;outline:0 none!important}.sun-editor .modal-dialog .btn-primary:active{border-color:#a2bfcc;background-color:#bbd5e0;-webkit-box-shadow:inset 0 3px 5px #a2bfcc;box-shadow:inset 0 3px 5px #a2bfcc}.sun-editor .sun-editor-id-loading{position:absolute;display:none;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.7;filter:alpha(opacity=70);z-index:2147483647}.sun-editor .sun-editor-id-loading .loading-effect{position:absolute;display:block;top:50%;left:50%;height:25px;width:25px;border-top:2px solid #07d;border-right:2px solid transparent;border-radius:50%;animation:spinner .8s linear infinite;margin:-25px 0 0 -25px}@keyframes spinner{to{transform:rotate(1turn)}}.sun-editor .resize-btn{position:absolute;display:none;z-index:1;top:0;left:0;margin-top:-50px!important;padding:0 0 2px;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.sun-editor .btn-group{position:relative;display:flex;vertical-align:middle;padding:2px 2px 2px 0}.sun-editor .btn-group button{position:relative;height:32px;border-top-right-radius:0;border-bottom-right-radius:0;margin:0 0 0 2px!important;padding:5px 10px!important;font-size:12px!important;line-height:1.5!important;border:1px solid rgba(0,0,0,.2)!important;border-radius:4px!important;background-color:#fff!important;display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation}.sun-editor .btn-group.remove button{width:100%;height:100%;height:32px}.sun-editor .btn-group button:active{border-color:#a2bfcc;background-color:#d4e3ea;-webkit-box-shadow:inset 0 3px 5px #bbd5e0;box-shadow:inset 0 3px 5px #bbd5e0}.sun-editor .btn-group button:hover,.sun-editor .resize-btn button:focus{background-color:#d4e3ea!important;border-color:#bbd5e0!important;outline:0 none!important}.sun-editor .modal-resize-container{position:absolute;display:none;z-index:1;border:1px solid #a2bfcc}.sun-editor .modal-resize-container .modal-resize{position:absolute;display:inline-block;background-color:#a2bfcc;opacity:.3}.sun-editor .modal-resize-container .resize-dot{position:absolute;top:0;left:0;width:100%;height:100%}.sun-editor .modal-resize-container .resize-dot>div{position:absolute;width:7px;height:7px;background-color:#a2bfcc;border:1px solid #000}.sun-editor .modal-resize-container .resize-dot>.tl{top:-5px;left:-5px;cursor:nw-resize}.sun-editor .modal-resize-container .resize-dot>.tr{top:-5px;right:-5px;cursor:ne-resize}.sun-editor .modal-resize-container .resize-dot>.bl{bottom:-5px;left:-5px;cursor:sw-resize}.sun-editor .modal-resize-container .resize-dot>.br{right:-5px;bottom:-5px;cursor:se-resize}.sun-editor .modal-resize-container .resize-dot>.lw{left:-7px;bottom:50%;cursor:w-resize}.sun-editor .modal-resize-container .resize-dot>.th{left:50%;top:-7px;cursor:n-resize}.sun-editor .modal-resize-container .resize-dot>.rw{right:-7px;bottom:50%;cursor:e-resize}.sun-editor .modal-resize-container .resize-dot>.bh{right:50%;bottom:-7px;cursor:s-resize}.sun-editor .modal-resize-container .resize-display{position:absolute;right:0;bottom:0;padding:5px;margin:5px;font-size:12px;color:#fff;background-color:red;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.sun-editor .sun-editor-id-link-btn{position:absolute;z-index:1;top:0;left:0;display:none;padding:1px;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.sun-editor .sun-editor-id-link-btn:after,.sun-editor .sun-editor-id-link-btn:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sun-editor .sun-editor-id-link-btn .link-content{padding:0;margin:0}.sun-editor .sun-editor-id-link-btn .link-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;margin-left:5px}.sun-editor .sun-editor-tab-button{width:100%;height:25px;border-bottom:1px solid #e5e5e5}.sun-editor .sun-editor-tab-button button{background-color:#e5e5e5;border-right:1px solid #e5e5e5;float:left;outline:none;padding:2px 13px;transition:.3s}.sun-editor .sun-editor-tab-button button:hover{background-color:#fff}.sun-editor .sun-editor-tab-button button.active{background-color:#fff;border-bottom:0}.sun-editor .sun-editor-id-notice{position:relative;display:none;width:100%;height:auto;word-break:break-all;font-size:13px;color:#b94a48;background-color:#f2dede;padding:15px;margin:0;border:1px solid #eed3d7}.sun-editor .sun-editor-id-notice button{float:right}.sun-editor-editable{font-family:Helvetica Neue,sans-serif;font-size:13px;color:#000;text-align:left;background-color:#fff;word-break:break-all;padding:10px 20px;margin:0}.sun-editor-editable *{font-family:inherit;font-size:inherit;color:inherit;background-color:inherit;box-sizing:border-box}.sun-editor-editable figcaption,.sun-editor-editable figure,.sun-editor-editable iframe,.sun-editor-editable img,.sun-editor-editable td,.sun-editor-editable th{position:relative}.sun-editor-editable .float-left{float:left}.sun-editor-editable .float-right{float:right}.sun-editor-editable .float-center{float:center}.sun-editor-editable .float-none{float:none}.sun-editor-editable a{color:#004cff;text-decoration:none}.sun-editor-editable a:focus,.sun-editor-editable a:hover{cursor:pointer;color:#0093ff;text-decoration:underline}.sun-editor-editable pre{display:block;padding:8px;margin:0;font-size:13px;line-height:1.45;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f6f8fa;border:1px solid #dce5e5;border-radius:3px;overflow:auto}.sun-editor-editable ol{list-style-type:decimal}.sun-editor-editable ol,.sun-editor-editable ul{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0;margin-inline-end:0;padding-inline-start:40px}.sun-editor-editable ul{list-style-type:disc}.sun-editor-editable li{display:list-item;text-align:-webkit-match-parent;margin-bottom:5px}.sun-editor-editable sub,.sun-editor-editable sup{font-size:75%;line-height:0}.sun-editor-editable sub{vertical-align:sub}.sun-editor-editable sup{vertical-align:super}.sun-editor-editable p{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0;margin-inline-end:0}.sun-editor-editable div{display:block;margin:0;padding:0}.sun-editor-editable blockquote{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:40px;margin-inline-end:40px;border-style:solid;padding:0 5px 0 20px;border-width:0 0 0 5px;border-color:#8baab7}.sun-editor-editable blockquote blockquote{border-color:#a2bfcc}.sun-editor-editable blockquote blockquote blockquote{border-color:#bbd5e0}.sun-editor-editable blockquote blockquote blockquote blockquote{border-color:#d4e3ea}.sun-editor-editable h1{font-size:2em;margin-block-start:.67em;margin-block-end:.67em}.sun-editor-editable h1,.sun-editor-editable h2{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h2{font-size:1.5em;margin-block-start:.83em;margin-block-end:.83em}.sun-editor-editable h3{font-size:1.17em;margin-block-start:1em;margin-block-end:1em}.sun-editor-editable h3,.sun-editor-editable h4{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h4{margin-block-start:1.33em;margin-block-end:1.33em}.sun-editor-editable h5{font-size:.83em;margin-block-start:1.67em;margin-block-end:1.67em}.sun-editor-editable h5,.sun-editor-editable h6{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h6{font-size:.67em;margin-block-start:2.33em;margin-block-end:2.33em}.sun-editor-editable hr{display:block;border-width:1px 0 0;border-color:#000;border-image:initial;height:1px}.sun-editor-editable hr.solid{border-style:solid none none}.sun-editor-editable hr.dotted{border-style:dotted none none}.sun-editor-editable hr.dashed{border-style:dashed none none}.sun-editor-editable img.inner-link{padding:1px;margin:1px;outline:1px solid #a2bfcc}.sun-editor-editable table{display:table;table-layout:auto;border:1px solid #ccc;width:100%;max-width:100%;margin-bottom:20px;background-color:transparent;border-spacing:0;border-collapse:collapse}.sun-editor-editable table tr{border:1px solid #ccc}.sun-editor-editable table td{border:1px solid #ccc;padding:8px}.sun-editor-editable .sun-editor-id-comp{display:flex;padding:1px}.sun-editor-editable[contenteditable=true] .sun-editor-id-comp{outline:1px dashed #ccc}.sun-editor-editable figure.sun-editor-figure-cover{display:block;outline:none;margin:0;padding:0}.sun-editor-editable figure.sun-editor-figure-cover figcaption{padding:1em .5em;margin:0;font-size:13px;background-color:#f3f3f3;outline:none}.sun-editor-editable figure.sun-editor-figure-cover figcaption p{line-height:2;margin:0}.sun-editor-editable .sun-editor-id-image-container a img{padding:1px;margin:1px;outline:1px solid #8baab7}.sun-editor-editable .sun-editor-id-iframe-container iframe{outline:1px solid #9e9e9e}.sun-editor-editable .sun-editor-id-iframe-inner-resizing-cover{display:none}.sun-editor-editable[contenteditable=true] .sun-editor-id-iframe-inner-resizing-cover{display:block;position:absolute;width:100%;height:100%;left:0;top:0;background-color:transparent}.sun-editor-show-block div,.sun-editor-show-block h1,.sun-editor-show-block h2,.sun-editor-show-block h3,.sun-editor-show-block h4,.sun-editor-show-block h5,.sun-editor-show-block h6,.sun-editor-show-block p{border:1px dashed #a2bfcc;padding:10px 8px 8px}.sun-editor-show-block p{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAPAQMAAAAF7dc0AAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAaSURBVAjXY/j/gwGCPvxg+F4BQiAGDP1HQQByxxw0gqOzIwAAAABJRU5ErkJggg==") no-repeat}.sun-editor-show-block div{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAPAQMAAAAxlBYoAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAmSURBVAjXY/j//wcDDH+8XsHwDYi/hwNx1A8w/nYLKH4XoQYJAwCXnSgcl2MOPgAAAABJRU5ErkJggg==") no-repeat}.sun-editor-show-block h1{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAfSURBVAjXY/j/v4EBhr+9B+LzEPrDeygfhI8j1CBhAEhmJGY4Rf6uAAAAAElFTkSuQmCC") no-repeat}.sun-editor-show-block h2{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAmSURBVAjXY/j/v4EBhr+dB+LtQPy9geEDEH97D8T3gbgdoQYJAwA51iPuD2haEAAAAABJRU5ErkJggg==") no-repeat}.sun-editor-show-block h3{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j/v4EBhr+dB+LtQPy9geHDeQgN5p9HqEHCADeWI+69VG2MAAAAAElFTkSuQmCC") no-repeat}.sun-editor-show-block h4{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAPAQMAAADTSA1RAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j//wADDH97DsTXIfjDdiDdDMTfIRhZHRQDAKJOJ6L+K3y7AAAAAElFTkSuQmCC") no-repeat}.sun-editor-show-block h5{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAlSURBVAjXY/j/v4EBhr+1A/F+IO5vYPiwHUh/B2IQfR6hBgkDABlWIy5uM+9GAAAAAElFTkSuQmCC") no-repeat}.sun-editor-show-block h6{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j/v4EBhr+dB+LtQLy/geFDP5S9HSKOrA6KAR9GIza1ptJnAAAAAElFTkSuQmCC") no-repeat} \ No newline at end of file +.sun-editor{width:auto;height:auto;z-index:2147483647;box-sizing:border-box;font-family:Helvetica Neue,sans-serif;border:1px solid #dadada;text-align:left;background-color:#fff;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.sun-editor *{box-sizing:border-box;-webkit-user-drag:none}.sun-editor-common button,.sun-editor-common input,.sun-editor-common select,.sun-editor-common textarea{font-size:14px;line-height:1.5}.sun-editor-common blockquote,.sun-editor-common body,.sun-editor-common button,.sun-editor-common code,.sun-editor-common dd,.sun-editor-common div,.sun-editor-common dl,.sun-editor-common dt,.sun-editor-common fieldset,.sun-editor-common form,.sun-editor-common h1,.sun-editor-common h2,.sun-editor-common h3,.sun-editor-common h4,.sun-editor-common h5,.sun-editor-common h6,.sun-editor-common input,.sun-editor-common legend,.sun-editor-common li,.sun-editor-common ol,.sun-editor-common p,.sun-editor-common pre,.sun-editor-common select,.sun-editor-common td,.sun-editor-common textarea,.sun-editor-common th,.sun-editor-common ul{margin:0;padding:0;border:0;color:#000!important}.sun-editor-common dl,.sun-editor-common li,.sun-editor-common menu,.sun-editor-common ol,.sun-editor-common ul{list-style:none!important}.sun-editor-common hr{margin:6px 0!important}.sun-editor textarea{resize:none!important;border:0!important}.sun-editor button{border:0;background-color:transparent;touch-action:manipulation;cursor:pointer;outline:none}.sun-editor button,.sun-editor input,.sun-editor select,.sun-editor textarea{vertical-align:middle}.sun-editor button .txt{display:block;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@font-face{font-family:Suneditor-icon;src:url(../fonts/28398a14fb94a1bd4bd01ffef18797f0.eot);src:url(../fonts/28398a14fb94a1bd4bd01ffef18797f0.eot?#iefix) format("embedded-opentype"),url(../fonts/e1628e0f13d16c7ae7ca4e67f51e7210.woff2) format("woff2"),url(../fonts/d117b428c34821bfee476a051633432a.woff) format("woff"),url(../fonts/795eb60c8740a93cf721c36003276e44.ttf) format("truetype"),url(../fonts/1e07d211f35e8389a91c0306fba57df6.svg#Glyphter) format("svg");font-weight:400;font-style:normal}.sun-editor [class*=icon-]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Suneditor-icon;display:inline-block;font-style:normal;font-variant:normal;font-weight:400;text-rendering:auto;font-size:15px;color:#000}.sun-editor .sun-editor-id-toolbar [class*=icon-]:before{line-height:2.1}.sun-editor .icon-align-just:before{content:"A"}.sun-editor .icon-align-left:before{content:"B"}.sun-editor .icon-align-right:before{content:"C"}.sun-editor .icon-align-center:before{content:"D"}.sun-editor .icon-underline:before{content:"E"}.sun-editor .icon-bold:before{content:"F"}.sun-editor .icon-italic:before{content:"G"}.sun-editor .icon-strokethrough:before{content:"H"}.sun-editor .icon-subscript:before{content:"I"}.sun-editor .icon-superscript:before{content:"J"}.sun-editor .icon-redo:before{content:"K"}.sun-editor .icon-undo:before{content:"L"}.sun-editor .icon-erase:before{content:"M"}.sun-editor .icon-fontColor:before{content:"N"}.sun-editor .icon-hiliteColor:before{content:"O"}.sun-editor .icon-indent-left:before{content:"P"}.sun-editor .icon-indent-right:before{content:"Q"}.sun-editor .icon-list-bullets:before{content:"R"}.sun-editor .icon-list-number:before{content:"S"}.sun-editor .icon-grid:before{content:"T"}.sun-editor .icon-code-view:before{content:"U"}.sun-editor .icon-preview:before{content:"V"}.sun-editor .icon-showBlocks:before{content:"W"}.sun-editor .icon-expansion:before{content:"X"}.sun-editor .icon-reduction:before{content:"Y"}.sun-editor .icon-image:before{content:"Z"}.sun-editor .icon-link:before{content:"a"}.sun-editor .icon-video:before{content:"b"}.sun-editor .icon-print:before{content:"c"}.sun-editor .icon-modify:before{content:"d"}.sun-editor .icon-revert:before{content:"e"}.sun-editor .icon-arrow-down:before{content:"f";font-size:10px}.sun-editor .icon-map-pin:before{content:"g"}.sun-editor .icon-cancel:before{content:"h";font-size:10px}.sun-editor .icon-hr:before{content:"i"}.sun-editor .icon-insert-column-right:before{content:"j"}.sun-editor .icon-insert-row-below:before{content:"k"}.sun-editor .icon-insert-row-above:before{content:"l"}.sun-editor .icon-insert-column-left:before{content:"m"}.sun-editor .icon-delete-row:before{content:"n"}.sun-editor .icon-delete-column:before{content:"o"}.sun-editor .icon-quote:before{content:"p"}.sun-editor .icon-empty-file:before{content:"q"}.sun-editor .icon-paragraph:before{content:"r"}.sun-editor .icon-delete:before{content:"s"}.sun-editor .icon-rotate-left:before{content:"t"}.sun-editor .icon-rotate-right:before{content:"u"}.sun-editor .icon-mirror-horizontal:before{content:"v"}.sun-editor .icon-mirror-vertical:before{content:"w"}.sun-editor .icon-save:before{content:"x"}.sun-editor .sun-editor-container{position:relative;width:100%;height:100%}.sun-editor .arrow,.sun-editor .arrow:after{position:absolute;display:block;width:0;height:0;border:11px solid transparent}.sun-editor .arrow.arrow-up{top:-11px;left:20px;margin-left:-11px;border-top-width:0;border-bottom-color:rgba(0,0,0,.25)}.sun-editor .arrow.arrow-up:after{top:1px;margin-left:-11px;content:" ";border-top-width:0;border-bottom-color:#fff}.sun-editor .sun-editor-id-toolbar .arrow.arrow-up:after{border-bottom-color:#fafafa}.sun-editor .arrow.arrow-down{top:0;left:0;margin-left:-11px;border-bottom-width:0;border-top-color:rgba(0,0,0,.25)}.sun-editor .arrow.arrow-down:after{top:-12px;margin-left:-11px;content:" ";border-bottom-width:0;border-top-color:#fff}.sun-editor .sun-editor-id-toolbar .arrow.arrow-down:after{border-top-color:#fafafa}.sun-editor .sun-editor-id-toolbar{display:block;overflow:visible;position:relative;height:auto;padding:4px 3px 0;margin:0;background-color:#fafafa;outline:1px solid #dadada;z-index:2}.sun-editor .sun-editor-id-toolbar-cover{position:absolute;display:none;font-size:36px;width:100%;height:100%;top:0;left:0;background-color:#fefefe;opacity:.5;filter:alpha(opacity=50);cursor:not-allowed;z-index:4}.sun-editor .sun-editor-toolbar-separator-vertical{display:inline-block;height:31px;width:1px;margin:2px;vertical-align:top}.sun-editor .sun-editor-id-toolbar.sun-inline-toolbar{display:none;position:absolute;box-shadow:0 3px 9px rgba(0,0,0,.5);-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5)}.sun-editor .sun-editor-id-toolbar.sun-editor-sticky{position:fixed;top:0}.sun-editor .sun-editor-sticky-dummy{display:none;position:static;z-index:-1}.sun-editor .tool_module{display:inline-block}.sun-editor .sun-editor-module-border{border:1px solid #dadada;border-radius:5px}.sun-editor .tool_module_enter{display:block;width:100%;height:1px;margin-bottom:5px;background-color:transparent}.sun-editor .editor_tool,.sun-editor .editor_tool li{float:left;padding:0;margin:0}.sun-editor .editor_tool li{position:relative}.sun-editor .btn_editor{overflow:hidden;float:left;width:35px;height:35px;border:0;border-radius:4px;margin:1px!important;font-size:12px;line-height:27px}.sun-editor .btn_editor:enabled:focus,.sun-editor .btn_editor:enabled:hover{background-color:#d4e3ea;border-color:#bbd5e0;outline:0 none}.sun-editor .btn_editor:enabled:active{border-color:#bbd5e0;background-color:#d4e3ea;-webkit-box-shadow:inset 0 3px 5px #bbd5e0;box-shadow:inset 0 3px 5px #bbd5e0}.sun-editor .btn_editor:enabled.on{background-color:#d4e3ea;border-color:#bbd5e0;outline:0 none}.sun-editor .btn_editor:enabled.on:focus,.sun-editor .btn_editor:enabled.on:hover{background-color:#bbd5e0;border-color:#8baab7;outline:0 none}.sun-editor .btn_editor:enabled.on:active{border-color:#8baab7;background-color:#bbd5e0;-webkit-box-shadow:inset 0 3px 5px #8baab7;box-shadow:inset 0 3px 5px #8baab7}.sun-editor .btn_edit:enabled:focus,.sun-editor .btn_edit:enabled:hover{background-color:#d4e3ea;border-color:#bbd5e0;outline:0 none}.sun-editor .btn_edit:enabled:active{border-color:#bbd5e0;background-color:#d4e3ea;-webkit-box-shadow:inset 0 3px 5px #bbd5e0;box-shadow:inset 0 3px 5px #bbd5e0}.sun-editor .btn_edit:disabled,.sun-editor .btn_editor:disabled,.sun-editor .btn_editor:disabled *,.sun-editor :disabled [class*=icon-]:before{cursor:default;background:#fafafa;color:transparent;text-shadow:0 0 3px #ccc}.sun-editor .layer_editor{display:none;position:absolute;top:37px;z-index:3;left:1px;overflow-y:auto;overflow-x:hidden;border:1px solid #bababa;border-radius:2px;background-color:#fff;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);outline:0 none}.sun-editor .layer_editor.layer_size{max-height:300px}.sun-editor .layer_editor .write_place .inp_txt{float:left;width:100%;height:23px;margin-top:0;font-size:12px;text-indent:6px;border:0;outline:0 none}.sun-editor .layer_editor button{margin:0!important;overflow:hidden;width:100%}.sun-editor .editor_tool .layer_editor button:focus,.sun-editor .layer_editor button:hover{background-color:#d4e3ea;border-color:#bbd5e0;outline:0 none}.sun-editor .layer_editor .list_family{left:0;width:156px}.sun-editor .layer_editor .list_family .default{border-bottom:1px solid #ccc}.sun-editor .layer_editor .format_list{left:0;width:175px}.sun-editor .layer_editor .format_list li{padding:0;width:100%}.sun-editor .layer_editor .format_list .btn_edit{height:auto;margin:0 0 4px!important;padding:2px 10px 5px;line-height:100%}.sun-editor .layer_editor .format_list .txt_size18{padding:1px 10px 6px}.sun-editor .layer_editor .format_list .txt_size24{padding:3px 10px 11px;line-height:24px}.sun-editor .layer_editor .format_list .txt_size36{padding:4px 10px 15px;line-height:36px}.sun-editor .layer_editor .font_size_list{left:0;width:140px}.sun-editor .layer_editor .font_size_list .btn_edit{height:auto;margin:0 0 7px!important;padding:2px 10px 5px;line-height:normal!important}.sun-editor .layer_editor .layer_list{left:0;width:42px}.sun-editor .layer_editor .layer_line{left:0;width:158px}.sun-editor .layer_editor .write_place{overflow:hidden;float:left;position:relative;height:25px;border:1px solid #dadada}.sun-editor .layer_align{left:9px;width:125px}.sun-editor .btn_align .img_editor{display:inline-block;width:14px;height:32px;margin:-1px 10px 0 0;vertical-align:middle}.sun-editor .list_editor{overflow:hidden;width:100%;padding:6px 0}.sun-editor .list_editor li:first-child{padding-top:0}.sun-editor .list_editor li{padding-top:5px;width:100%}.sun-editor .font_size_list li{padding:0;width:100%}.sun-editor .layer_editor.layer_line{left:0;width:158px}.sun-editor .btn_edit{width:100%;height:28px;padding:0 14px;margin-left:0;font-size:12px;line-height:22px;text-indent:0;text-decoration:none;text-align:left}.sun-editor .btn_edit_select{width:auto;display:flex;text-align:left;padding:4px 6px}.sun-editor .btn_edit_select .txt{flex:5;float:left}.sun-editor .btn_edit_select .icon-arrow-down{flex:1;float:right}.sun-editor .btn_edit_select.btn_font{width:100px}.sun-editor .btn_edit_select.btn_format,.sun-editor .btn_edit_select.btn_size{width:80px}.sun-editor .table-content{position:absolute;top:34px;left:1px;z-index:3;padding:5px 0;float:left;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.sun-editor .table-data-form{font-size:18px;padding:0 5px}.sun-editor .table-picker{position:absolute!important;z-index:3;font-size:18px;width:10em;height:10em;cursor:pointer}.sun-editor .table-highlighted{position:absolute!important;z-index:2;font-size:18px;width:1em;height:1em;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OEE2QjczMzdCN0VGMTFFODg3MENEMDIzNTU4M0UyQzciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OEE2QjczMzZCN0VGMTFFODg3MENEMDIzNTU4M0UyQzciIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDM2MjRFMUVCN0VFMTFFODg2RkM4MEYzQTg4MjU3RTkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDM2MjRFMUZCN0VFMTFFODg2RkM4MEYzQTg4MjU3RTkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5dMgLsAAAARUlEQVR42mL8//8/AzUAC4joWb2DbNNKQj0Y4QaBgIaKMsmG3LhzF85mYqASGDVo1KBRgwjnfvQMSA5gpFZ5RDWvAQQYAKYZD7SDi983AAAAAElFTkSuQmCC") repeat}.sun-editor .table-unhighlighted{position:relative!important;z-index:1;font-size:18px;width:5em;height:5em;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat}.sun-editor .table-display{padding-left:5px}.sun-editor .sun-editor-id-table-edit{position:absolute;z-index:1;width:165px;display:none;padding:1px;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.sun-editor .layer_editor .pallet_color_selector{display:flex;width:285px;height:auto}.sun-editor .layer_editor .list_color{width:100%;height:100%;padding:7px}.sun-editor .layer_editor .list_color li{display:flex;float:left;position:relative;margin:0}.sun-editor .layer_editor .list_color button{display:block;overflow:hidden;width:30px;height:30px;text-indent:-9999px}.sun-editor .layer_editor .list_color button:focus,.sun-editor .layer_editor .list_color button:hover{border:1px solid #000}.sun-editor .sub-form-group{height:34px;padding:0 7px 7px}.sun-editor .sub-form-group label{display:inline-block;font-weight:700;font-size:14px;letter-spacing:1px}.sun-editor .sub-form-group input{display:inline-block;width:130px;font-size:14px;border-bottom:5px solid #8baab7;text-transform:uppercase}.sun-editor .sub-form-group input:focus{outline:none}.sun-editor .sub-form-group button{float:right;width:auto;height:100%;background-color:#bbd5e0;border-color:#a2bfcc;outline:0 none;padding:0 15px}.sun-editor .sun-editor-id-editorArea{position:static;width:100%;height:auto;overflow:hidden;z-index:1}.sun-editor .sun-editor-id-editorArea .input_editor{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.sun-editor .sun-editor-id-editorArea .input_editor:focus{outline:none}.sun-editor .sun-editor-id-editorArea .sun-editor-id-code{background-color:#191919;color:#fff;font-family:Helvetica Neue,sans-serif;font-size:13px;word-break:break-all;padding:0;margin:0}.sun-editor .sun-editor-id-resizingBar{width:auto;height:16px;border-top:1px solid #dadada;padding:2px 8px;background-color:#fafafa;cursor:ns-resize}.sun-editor .sun-editor-id-resizingBar.none-resize{cursor:default}.sun-editor .sun-editor-id-navigation{position:absolute;width:auto;height:auto;margin:0;padding:0;font-size:11px;font-weight:700;line-height:1}.sun-editor .sun-editor-id-dialogBox,.sun-editor .sun-editor-id-resize-background{position:absolute;display:none;top:0;left:0;width:100%;height:100%;z-index:2147483647}.sun-editor .sun-editor-id-dialogBox button,.sun-editor .sun-editor-id-dialogBox input,.sun-editor .sun-editor-id-dialogBox label{font-size:14px;line-height:1.5;color:#111;margin:0}.sun-editor .sun-editor-id-dialogBox .modal-dialog-background{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#222;opacity:.5}.sun-editor .modal-dialog{position:absolute;width:100%;height:100%;top:0;left:0}.sun-editor .modal-dialog .modal-content{position:relative;width:500px;margin:8px auto;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}@media screen and (max-width:509px){.sun-editor .modal-dialog .modal-content{width:100%}}.sun-editor .modal-dialog .modal-header{height:50px;padding:15px 15px 5px;border-bottom:1px solid #e5e5e5}.sun-editor .modal-dialog button.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;padding:0!important;margin:0!important;background:transparent;border:0;text-shadow:0 1px 0 #fff;-webkit-appearance:none;filter:alpha(opacity=100);opacity:1}.sun-editor .modal-dialog button.close:focus,.sun-editor .modal-dialog button.close:hover{color:#a2bfcc!important}.sun-editor .modal-dialog .modal-body{position:relative;padding:15px}.sun-editor .modal-dialog .form-group{margin-bottom:15px}.sun-editor .modal-dialog .form-group-footer{margin-top:15px}.sun-editor .modal-dialog input:disabled{background-color:#f3f3f3}.sun-editor .modal-dialog .size-text{width:100%}.sun-editor .modal-dialog .size-text .size-h,.sun-editor .modal-dialog .size-text .size-w{width:72px;text-align:center}.sun-editor .modal-dialog .size-x{margin:0 8px;width:25px;text-align:center}.sun-editor .modal-dialog .form-size-control{display:inline-block;width:70px;height:34px;font-size:14px;text-align:center;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.sun-editor .modal-dialog .modal-content label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.sun-editor .modal-dialog .form-control{display:block;width:100%;height:34px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.sun-editor .modal-dialog .modal-footer{padding:10px 15px 0;text-align:right;border-top:1px solid #e5e5e5}.sun-editor .modal-dialog .modal-content .btn{display:inline-block;padding:6px 12px;margin:0 0 10px!important;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;background-image:none;border:1px solid transparent;border-radius:4px}.sun-editor .modal-dialog .modal-content input:focus{border-color:#a2bfcc;outline:0;-webkit-box-shadow:inset 0 1px 1px #a2bfcc,0 0 8px #d4e3ea;box-shadow:inset 0 1px 1px #a2bfcc,0 0 8px #d4e3ea}.sun-editor .modal-dialog .modal-radio{margin-left:12px;margin-right:5px}.sun-editor .modal-dialog .btn-primary{color:#fff;background-color:#d4e3ea;border-color:#a2bfcc}.sun-editor .modal-dialog .btn-primary:focus,.sun-editor .modal-dialog .btn-primary:hover{background-color:#bbd5e0!important;border-color:#a2bfcc!important;outline:0 none!important}.sun-editor .modal-dialog .btn-primary:active{border-color:#a2bfcc;background-color:#bbd5e0;-webkit-box-shadow:inset 0 3px 5px #a2bfcc;box-shadow:inset 0 3px 5px #a2bfcc}.sun-editor .sun-editor-id-loading{position:absolute;display:none;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.7;filter:alpha(opacity=70);z-index:2147483647}.sun-editor .sun-editor-id-loading .loading-effect{position:absolute;display:block;top:50%;left:50%;height:25px;width:25px;border-top:2px solid #07d;border-right:2px solid transparent;border-radius:50%;animation:spinner .8s linear infinite;margin:-25px 0 0 -25px}@keyframes spinner{to{transform:rotate(1turn)}}.sun-editor .resize-btn{position:absolute;display:none;z-index:1;top:0;left:0;margin-top:-50px!important;padding:0 0 2px;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.sun-editor .btn-group{position:relative;display:flex;vertical-align:middle;padding:2px 2px 2px 0}.sun-editor .btn-group button{position:relative;height:32px;border-top-right-radius:0;border-bottom-right-radius:0;margin:0 0 0 2px!important;padding:5px 10px!important;font-size:12px!important;line-height:1.5!important;border:1px solid rgba(0,0,0,.2)!important;border-radius:4px!important;background-color:#fff!important;display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation}.sun-editor .btn-group.remove button{width:100%;height:100%;height:32px}.sun-editor .btn-group button:active{border-color:#a2bfcc;background-color:#d4e3ea;-webkit-box-shadow:inset 0 3px 5px #bbd5e0;box-shadow:inset 0 3px 5px #bbd5e0}.sun-editor .btn-group button:hover,.sun-editor .resize-btn button:focus{background-color:#d4e3ea!important;border-color:#bbd5e0!important;outline:0 none!important}.sun-editor .modal-resize-container{position:absolute;display:none;z-index:1;border:1px solid #a2bfcc}.sun-editor .modal-resize-container .modal-resize{position:absolute;display:inline-block;background-color:#a2bfcc;opacity:.3}.sun-editor .modal-resize-container .resize-dot{position:absolute;top:0;left:0;width:100%;height:100%}.sun-editor .modal-resize-container .resize-dot>div{position:absolute;width:7px;height:7px;background-color:#a2bfcc;border:1px solid #000}.sun-editor .modal-resize-container .resize-dot>.tl{top:-5px;left:-5px;cursor:nw-resize}.sun-editor .modal-resize-container .resize-dot>.tr{top:-5px;right:-5px;cursor:ne-resize}.sun-editor .modal-resize-container .resize-dot>.bl{bottom:-5px;left:-5px;cursor:sw-resize}.sun-editor .modal-resize-container .resize-dot>.br{right:-5px;bottom:-5px;cursor:se-resize}.sun-editor .modal-resize-container .resize-dot>.lw{left:-7px;bottom:50%;cursor:w-resize}.sun-editor .modal-resize-container .resize-dot>.th{left:50%;top:-7px;cursor:n-resize}.sun-editor .modal-resize-container .resize-dot>.rw{right:-7px;bottom:50%;cursor:e-resize}.sun-editor .modal-resize-container .resize-dot>.bh{right:50%;bottom:-7px;cursor:s-resize}.sun-editor .modal-resize-container .resize-display{position:absolute;right:0;bottom:0;padding:5px;margin:5px;font-size:12px;color:#fff;background-color:red;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.sun-editor .sun-editor-id-link-btn{position:absolute;z-index:1;top:0;left:0;display:none;padding:1px;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.sun-editor .sun-editor-id-link-btn:after,.sun-editor .sun-editor-id-link-btn:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sun-editor .sun-editor-id-link-btn .link-content{padding:0;margin:0}.sun-editor .sun-editor-id-link-btn .link-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;margin-left:5px}.sun-editor .sun-editor-tab-button{width:100%;height:25px;border-bottom:1px solid #e5e5e5}.sun-editor .sun-editor-tab-button button{background-color:#e5e5e5;border-right:1px solid #e5e5e5;float:left;outline:none;padding:2px 13px;transition:.3s}.sun-editor .sun-editor-tab-button button:hover{background-color:#fff}.sun-editor .sun-editor-tab-button button.active{background-color:#fff;border-bottom:0}.sun-editor .sun-editor-id-notice{position:relative;display:none;width:100%;height:auto;word-break:break-all;font-size:13px;color:#b94a48;background-color:#f2dede;padding:15px;margin:0;border:1px solid #eed3d7}.sun-editor .sun-editor-id-notice button{float:right}.sun-editor-editable{font-family:Helvetica Neue,sans-serif;font-size:13px;line-height:1.5;color:#000;text-align:left;background-color:#fff;word-break:break-all;padding:10px 20px;margin:0}.sun-editor-editable *{font-family:inherit;font-size:inherit;color:inherit;background-color:inherit;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sun-editor-editable figcaption,.sun-editor-editable figure,.sun-editor-editable iframe,.sun-editor-editable img,.sun-editor-editable td,.sun-editor-editable th{position:relative}.sun-editor-editable .float-left{float:left}.sun-editor-editable .float-right{float:right}.sun-editor-editable .float-center{float:center}.sun-editor-editable .float-none{float:none}.sun-editor-editable a{color:#004cff;text-decoration:none}.sun-editor-editable a:focus,.sun-editor-editable a:hover{cursor:pointer;color:#0093ff;text-decoration:underline}.sun-editor-editable pre{display:block;padding:8px;margin:0;font-size:13px;line-height:1.45;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f6f8fa;border:1px solid #dce5e5;border-radius:3px;overflow:auto}.sun-editor-editable ol{list-style-type:decimal}.sun-editor-editable ol,.sun-editor-editable ul{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0;margin-inline-end:0;padding-inline-start:40px}.sun-editor-editable ul{list-style-type:disc}.sun-editor-editable li{display:list-item;text-align:-webkit-match-parent;margin-bottom:5px}.sun-editor-editable sub,.sun-editor-editable sup{font-size:75%;line-height:0}.sun-editor-editable sub{vertical-align:sub}.sun-editor-editable sup{vertical-align:super}.sun-editor-editable p{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0;margin-inline-end:0}.sun-editor-editable div{display:block;margin:0;padding:0}.sun-editor-editable blockquote{display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:40px;margin-inline-end:40px;border-style:solid;padding:0 5px 0 20px;border-width:0 0 0 5px;border-color:#8baab7}.sun-editor-editable blockquote blockquote{border-color:#a2bfcc}.sun-editor-editable blockquote blockquote blockquote{border-color:#bbd5e0}.sun-editor-editable blockquote blockquote blockquote blockquote{border-color:#d4e3ea}.sun-editor-editable h1{font-size:2em;margin-block-start:.67em;margin-block-end:.67em}.sun-editor-editable h1,.sun-editor-editable h2{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h2{font-size:1.5em;margin-block-start:.83em;margin-block-end:.83em}.sun-editor-editable h3{font-size:1.17em;margin-block-start:1em;margin-block-end:1em}.sun-editor-editable h3,.sun-editor-editable h4{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h4{margin-block-start:1.33em;margin-block-end:1.33em}.sun-editor-editable h5{font-size:.83em;margin-block-start:1.67em;margin-block-end:1.67em}.sun-editor-editable h5,.sun-editor-editable h6{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h6{font-size:.67em;margin-block-start:2.33em;margin-block-end:2.33em}.sun-editor-editable hr{display:block;border-width:1px 0 0;border-color:#000;border-image:initial;height:1px}.sun-editor-editable hr.solid{border-style:solid none none}.sun-editor-editable hr.dotted{border-style:dotted none none}.sun-editor-editable hr.dashed{border-style:dashed none none}.sun-editor-editable img.inner-link{padding:1px;margin:1px;outline:1px solid #a2bfcc}.sun-editor-editable table{display:table;table-layout:auto;border:1px solid #ccc;width:100%;max-width:100%;margin-bottom:20px;background-color:transparent;border-spacing:0;border-collapse:collapse}.sun-editor-editable table tr{border:1px solid #ccc}.sun-editor-editable table td{border:1px solid #ccc;padding:8px}.sun-editor-editable .sun-editor-id-comp{display:flex;padding:1px}.sun-editor-editable[contenteditable=true] .sun-editor-id-comp{outline:1px dashed #ccc}.sun-editor-editable figure.sun-editor-figure-cover{display:block;outline:none;margin:0;padding:0}.sun-editor-editable figure.sun-editor-figure-cover figcaption{padding:1em .5em;margin:0;font-size:13px;background-color:#f3f3f3;outline:none}.sun-editor-editable figure.sun-editor-figure-cover figcaption p{line-height:2;margin:0}.sun-editor-editable .sun-editor-id-image-container a img{padding:1px;margin:1px;outline:1px solid #8baab7}.sun-editor-editable .sun-editor-id-iframe-container iframe{outline:1px solid #9e9e9e}.sun-editor-editable .sun-editor-id-iframe-inner-resizing-cover{display:none}.sun-editor-editable[contenteditable=true] .sun-editor-id-iframe-inner-resizing-cover{display:block;position:absolute;width:100%;height:100%;left:0;top:0;background-color:transparent}.sun-editor-show-block div,.sun-editor-show-block h1,.sun-editor-show-block h2,.sun-editor-show-block h3,.sun-editor-show-block h4,.sun-editor-show-block h5,.sun-editor-show-block h6,.sun-editor-show-block p{border:1px dashed #a2bfcc;padding:10px 8px 8px}.sun-editor-show-block p{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAPAQMAAAAF7dc0AAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAaSURBVAjXY/j/gwGCPvxg+F4BQiAGDP1HQQByxxw0gqOzIwAAAABJRU5ErkJggg==") no-repeat}.sun-editor-show-block div{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAPAQMAAAAxlBYoAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAmSURBVAjXY/j//wcDDH+8XsHwDYi/hwNx1A8w/nYLKH4XoQYJAwCXnSgcl2MOPgAAAABJRU5ErkJggg==") no-repeat}.sun-editor-show-block h1{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAfSURBVAjXY/j/v4EBhr+9B+LzEPrDeygfhI8j1CBhAEhmJGY4Rf6uAAAAAElFTkSuQmCC") no-repeat}.sun-editor-show-block h2{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAmSURBVAjXY/j/v4EBhr+dB+LtQPy9geEDEH97D8T3gbgdoQYJAwA51iPuD2haEAAAAABJRU5ErkJggg==") no-repeat}.sun-editor-show-block h3{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j/v4EBhr+dB+LtQPy9geHDeQgN5p9HqEHCADeWI+69VG2MAAAAAElFTkSuQmCC") no-repeat}.sun-editor-show-block h4{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAPAQMAAADTSA1RAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j//wADDH97DsTXIfjDdiDdDMTfIRhZHRQDAKJOJ6L+K3y7AAAAAElFTkSuQmCC") no-repeat}.sun-editor-show-block h5{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAlSURBVAjXY/j/v4EBhr+1A/F+IO5vYPiwHUh/B2IQfR6hBgkDABlWIy5uM+9GAAAAAElFTkSuQmCC") no-repeat}.sun-editor-show-block h6{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j/v4EBhr+dB+LtQLy/geFDP5S9HSKOrA6KAR9GIza1ptJnAAAAAElFTkSuQmCC") no-repeat} \ No newline at end of file diff --git a/dist/suneditor.min.js b/dist/suneditor.min.js index 5540e266f..f95b22802 100644 --- a/dist/suneditor.min.js +++ b/dist/suneditor.min.js @@ -1 +1 @@ -!function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s="XJR1")}({"0A7J":function(module,__webpack_exports__,__webpack_require__){"use strict";var _lib_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e1d"),_modules_colorPicker__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("EjF6");__webpack_exports__.a={name:"fontColor",add:function(core,targetElement){core.addModule([_modules_colorPicker__WEBPACK_IMPORTED_MODULE_1__.a]);const context=core.context;context.fontColor={previewEl:null,colorInput:null};let listDiv=eval(this.setSubmenu(context.colorPicker.colorListHTML));context.fontColor.colorInput=listDiv.getElementsByClassName("sun-editor-id-submenu-color-input")[0],context.fontColor.colorInput.addEventListener("keyup",this.onChangeInput.bind(core)),listDiv.getElementsByClassName("sun-editor-id-submenu-color-submit")[0].addEventListener("click",this.submit.bind(core)),listDiv.getElementsByTagName("UL")[0].addEventListener("click",this.pickup.bind(core)),targetElement.parentNode.appendChild(listDiv),listDiv=null},setSubmenu:function(e){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");return t.className="sun-editor-submenu layer_editor",t.style.display="none",t.innerHTML=e,t},on:function(){const e=this.context.colorPicker;e._colorInput=this.context.fontColor.colorInput,e._defaultColor="#000000",e._styleProperty="color",this.plugins.colorPicker.init.call(this,this.getSelectionNode(),null)},onChangeInput:function(e){this.plugins.colorPicker.setCurrentColor.call(this,"#"+e.target.value)},submit:function(){this.plugins.fontColor.applyColor.call(this,this.context.colorPicker._currentColor)},pickup:function(e){if(e.preventDefault(),e.stopPropagation(),!/^BUTTON$/i.test(e.target.tagName))return!1;this.plugins.fontColor.applyColor.call(this,e.target.getAttribute("data-value"))},applyColor:function(e){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("SPAN");t.style.color=e,this.nodeChange(t,["color"]),this.submenuOff(),this.focus()}}},"1kvd":function(e,t,i){"use strict";var n=i("8e1d");t.a={name:"dialog",add:function(e){const t=e.context;t.dialog={};let i=n.a.createElement("DIV");i.className="sun-editor-id-dialogBox sun-editor-common";let o=n.a.createElement("DIV");o.className="modal-dialog-background sun-editor-id-dialog-back",o.style.display="none";let l=n.a.createElement("DIV");l.className="modal-dialog sun-editor-id-dialog-modal",l.style.display="none",i.appendChild(o),i.appendChild(l),t.dialog.modalArea=i,t.dialog.back=o,t.dialog.modal=l,t.dialog.modal.addEventListener("click",this.onClick_dialog.bind(e)),t.element.relative.appendChild(i),i=null,o=null,l=null},onClick_dialog:function(e){e.stopPropagation(),(/modal-dialog/.test(e.target.className)||/close/.test(e.target.getAttribute("data-command")))&&this.plugins.dialog.close.call(this)},open:function(e,t){if(this.modalForm)return!1;this.context.dialog.updateModal=t,"full"===this.context.option.popupDisplay?this.context.dialog.modalArea.style.position="fixed":this.context.dialog.modalArea.style.position="absolute",this.context.dialog.kind=e,this.modalForm=this.context[e].modal;const i=this.context[e].focusElement;this.context.dialog.modalArea.style.display="block",this.context.dialog.back.style.display="block",this.context.dialog.modal.style.display="block",this.modalForm.style.display="block",i&&i.focus()},close:function(){this.modalForm.style.display="none",this.context.dialog.back.style.display="none",this.context.dialog.modalArea.style.display="none",this.modalForm=null,this.context.dialog.updateModal=!1,this.plugins[this.context.dialog.kind].init.call(this)}}},"3FqI":function(e,t,i){},"50IV":function(module,__webpack_exports__,__webpack_require__){"use strict";var _lib_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e1d");__webpack_exports__.a={name:"font",add:function(core,targetElement){let listDiv=eval(this.setSubmenu(core.context.option));listDiv.getElementsByClassName("list_family")[0].addEventListener("click",this.pickup.bind(core)),targetElement.parentNode.appendChild(listDiv),listDiv=null},setSubmenu:function(e){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");let i,n,o,l;t.className="layer_editor",t.style.display="none";let a=e.font?e.font:["Arial","Comic Sans MS","Courier New,Courier","Impact,Charcoal,sans-serif","Georgia","tahoma","Trebuchet MS,Helvetica","Verdana"],s='
",s+="
",t.innerHTML=s,t},pickup:function(e){if(!/^BUTTON$/i.test(e.target.tagName))return!1;e.preventDefault(),e.stopPropagation();const t=e.target;_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.changeTxt(this.context.tool.font,t.getAttribute("data-txt"));const i=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("SPAN");i.style.fontFamily=t.getAttribute("data-value"),this.nodeChange(i,["font-family"]),this.submenuOff(),this.focus()}}},"8e1d":function(e,t,i){"use strict";const n={_d:document,_w:window,zeroWidthSpace:"​",getXMLHttpRequest:function(){if(!this._w.ActiveXObject)return this._w.XMLHttpRequest?new XMLHttpRequest:null;try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){return null}}},copyObj:function(e){const t={};for(let i in e)t[i]=e[i];return t},createElement:function(e){return this._d.createElement(e)},createTextNode:function(e){return this._d.createTextNode(e||"")},getIncludePath:function(e,t){let i="";const n=[],o="js"===t?"script":"link",l="js"===t?"src":"href";let a="(?:";for(let t=0,i=e.length;t0?n[0][l]:""),-1===i.indexOf(":/")&&"//"!==i.slice(0,2)&&(i=0===i.indexOf("/")?location.href.match(/^.*?:\/\/[^\/]*/)[0]+i:location.href.match(/^[^\?]*\/(?:)/)[0]+i),!i)throw"[SUNEDITOR.util.getIncludePath.fail] The SUNEDITOR installation path could not be automatically detected. (name: +"+name+", extension: "+t+")";return i},convertContentsForEditor:function(e){let t,i,n="";e=e.trim();for(let o=0,l=(t=this._d.createRange().createContextualFragment(e).childNodes).length;o0&&(n+="

"+t+"

")}else n+=i;const o={"&":"&"," ":" ","'":""","<":"<",">":">"};return e=e.replace(/&|\u00A0|'|<|>/g,function(e){return"string"==typeof o[e]?o[e]:e}),0===n.length&&(n="

"+(e.length>0?e:this.zeroWidthSpace)+"

"),n},convertHTMLForCodeView:function(e){return e.replace(/\s*<(?:li|td)\s*(?:[a-z\-]+)?\s*(?:="?[^>]*"?)?\s*>/gi,this._insertIndent).replace(/<\/?(?:blockquote|hr|ol|ul|table|tbody|thead|th|tr)\s*(?:[a-z\-]+)?\s*(?:="?[^>]*"?)?\s*>(?=[^\n])/gi,this._insertLineBreak).replace(/<\/(?:p|div|h[1-6]|li|td|pre)>(?=[^\n])/gi,this._insertLineBreak)},_insertIndent:function(e){return" "+e.trim()},_insertLineBreak:function(e){return e+"\n"},isWysiwygDiv:function(e){return!(!e||1!==e.nodeType||!this.hasClass(e,"sun-editor-id-wysiwyg"))},isFormatElement:function(e){return!(!e||1!==e.nodeType||!/^(?:P|DIV|H[1-6]|LI|CODE)$/i.test(e.nodeName)||/sun-editor-id-comp/.test(e.className))},isRangeFormatElement:function(e){return!(!e||1!==e.nodeType||!/^(?:BLOCKQUOTE|TABLE|THEAD|TBODY|TH|TR|TD|OL|UL|PRE|FIGCAPTION)$/i.test(e.nodeName))},getFormatElement:function(e){if(!e)return null;for(;!this.isFormatElement(e)&&!this.isWysiwygDiv(e.parentNode);)e=e.parentNode;if(this.isWysiwygDiv(e)||this.isRangeFormatElement(e)){return this.getListChildren(e,function(e){return this.isFormatElement(e)}.bind(this))[0]}return e},getRangeFormatElement:function(e){if(!e)return null;for(;!this.isRangeFormatElement(e)&&!this.isWysiwygDiv(e);)e=e.parentNode;return this.isWysiwygDiv(e)?null:e},getArrayIndex:function(e,t){let i=-1;for(let n=0,o=e.length;n/g,"").replace(/<[a-zA-Z]+\:[a-zA-Z]+.*>(\n|.)*<\/[a-zA-Z]+\:[a-zA-Z]+>/g,"").replace(/\s(?:style|class|dir|xmlns|data-[a-z\-]+)\s*(?:[a-z\-]+)?\s*(?:="?[^>]*"?)?\s*/gi,"").replace(/<\/?(?:span|font)\s*(?:[a-z\-]+)?\s*(?:="?[^>]*"?)?\s*>/gi,"").replace(/<\/?[a-z]+:[a-z]+\s*(?:[a-z\-]+)?\s*(?:="?[^>]*"?)?\s*>/gi,""));return n||e}};t.a=n},EjF6:function(e,t,i){"use strict";var n=i("8e1d");t.a={name:"colorPicker",add:function(e){const t=e.context;t.colorPicker={colorListHTML:"",_colorInput:"",_defaultColor:"#000",_styleProperty:"color",_currentColor:""};let i=this.createColorList(e.context.option,e.lang);t.colorPicker.colorListHTML=i,i=null},createColorList:function(e,t){const i=e.colorList?e.colorList:["#ff0000","#ff5e00","#ffe400","#abf200","#00d8ff","#0055ff","#6600ff","#ff00dd","#000000","#ffd8d8","#fae0d4","#faf4c0","#e4f7ba","#d4f4fa","#d9e5ff","#e8d9ff","#ffd9fa","#ffffff","#ffa7a7","#ffc19e","#faed7d","#cef279","#b2ebf4","#b2ccff","#d1b2ff","#ffb2f5","#bdbdbd","#f15f5f","#f29661","#e5d85c","#bce55c","#5cd1e5","#6699ff","#a366ff","#f261df","#8c8c8c","#980000","#993800","#998a00","#6b9900","#008299","#003399","#3d0099","#990085","#353535","#670000","#662500","#665c00","#476600","#005766","#002266","#290066","#660058","#222222"];let n='
    ';for(let e=0,t=i.length;e '}return n+='
"},init:function(e,t){const i=this.plugins.colorPicker;let n=t||(i.getColorInNode.call(this,e)||this.context.colorPicker._defaultColor);n=i.isHexColor(n)?n:i.rgb2hex(n),i.setInputText.call(this,n)},setCurrentColor:function(e){this.context.colorPicker._currentColor=e,this.context.colorPicker._colorInput.style.borderColor=e},setInputText:function(e){this.context.colorPicker._colorInput.value=e.replace("#",""),this.plugins.colorPicker.setCurrentColor.call(this,e)},getColorInNode:function(e){let t="";const i=this.context.colorPicker._styleProperty;for(;!n.a.isWysiwygDiv(e)&&0===t.length;)1===e.nodeType&&e.style[i]&&(t=e.style[i]),e=e.parentNode;return t},isHexColor:function(e){return/^#[0-9a-f]{3}(?:[0-9a-f]{3})?$/i.test(e)},rgb2hex:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}}},KKur:function(module,__webpack_exports__,__webpack_require__){"use strict";var _lib_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e1d"),_modules_dialog__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("1kvd"),_modules_resizing__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("ee5k"),_modules_notice__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("PAX9");__webpack_exports__.a={name:"image",add:function(core){core.addModule([_modules_dialog__WEBPACK_IMPORTED_MODULE_1__.a,_modules_resizing__WEBPACK_IMPORTED_MODULE_2__.a,_modules_notice__WEBPACK_IMPORTED_MODULE_3__.a]);const context=core.context;context.image={_linkElement:null,_container:null,_cover:null,_element:null,_element_w:1,_element_h:1,_element_l:0,_element_t:0,_origin_w:"auto"===context.option.imageWidth?"":context.option.imageWidth,_origin_h:"",_altText:"",_caption:null,captionCheckEl:null,_linkValue:"",_align:"none",_captionChecked:!1,_proportionChecked:!0,_floatClassRegExp:"float\\-[a-z]+",_xmlHttp:null,_resizing:context.option.imageResizing,_defaultAuto:"auto"===context.option.imageWidth};let image_dialog=eval(this.setDialog(core.context.option,core.lang));context.image.modal=image_dialog,context.image.imgUrlFile=image_dialog.getElementsByClassName("sun-editor-id-image-url")[0],context.image.imgInputFile=context.image.focusElement=image_dialog.getElementsByClassName("sun-editor-id-image-file")[0],context.image.altText=image_dialog.getElementsByClassName("sun-editor-id-image-alt")[0],context.image.imgLink=image_dialog.getElementsByClassName("sun-editor-id-image-link")[0],context.image.imgLinkNewWindowCheck=image_dialog.getElementsByClassName("sun-editor-id-linkCheck")[0],context.image.captionCheckEl=image_dialog.getElementsByClassName("suneditor-id-image-check-caption")[0],context.image.modal.getElementsByClassName("sun-editor-tab-button")[0].addEventListener("click",this.openTab.bind(core)),context.image.modal.getElementsByClassName("btn-primary")[0].addEventListener("click",this.submit.bind(core)),context.image.imageX={},context.image.imageY={},context.option.imageResizing&&(context.image.proportion=image_dialog.getElementsByClassName("suneditor-id-image-check-proportion")[0],context.image.imageX=image_dialog.getElementsByClassName("sun-editor-id-image-x")[0],context.image.imageY=image_dialog.getElementsByClassName("sun-editor-id-image-y")[0],context.image.imageX.value=context.option.imageWidth,context.image.imageX.addEventListener("change",this.setInputSize.bind(core,"x")),context.image.imageY.addEventListener("change",this.setInputSize.bind(core,"y")),image_dialog.getElementsByClassName("sun-editor-id-image-revert-button")[0].addEventListener("click",this.sizeRevert.bind(core))),context.dialog.modal.appendChild(image_dialog),image_dialog=null},setDialog:function(e,t){const i=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");i.className="modal-content sun-editor-id-dialog-image",i.style.display="none";let n='
",i.innerHTML=n,i},openTab:function(e){const t=this.context.image.modal,i="init"===e?t.getElementsByClassName("sun-editor-id-tab-link")[0]:e.target;if(!/^BUTTON$/i.test(i.tagName))return!1;const n=i.getAttribute("data-tab-link");let o,l,a;for(l=t.getElementsByClassName("sun-editor-id-tab-content"),o=0;o0){const t=this.context.option.imageUploadUrl,i=this.context.dialog.updateModal?1:e.length;if("string"==typeof t&&t.length>0){const n=new FormData;for(let t=0;t0?1:s.length;a0){const n=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("A");return n.href=/^https?:\/\//.test(t)?t:"http://"+t,n.target=i?"_blank":"",n.setAttribute("data-image-link","image"),e.setAttribute("data-image-link",t),n.appendChild(e),n}return e},setInputSize:function(e){this.context.dialog.updateModal&&this.context.image.proportion.checked&&("x"===e?this.context.image.imageY.value=Math.round(this.context.image._element_h/this.context.image._element_w*this.context.image.imageX.value):this.context.image.imageX.value=Math.round(this.context.image._element_w/this.context.image._element_h*this.context.image.imageY.value))},submit:function(e){this.showLoading(),e.preventDefault(),e.stopPropagation(),this.context.image._linkValue=this.context.image.imgLink.value,this.context.image._altText=this.context.image.altText.value,this.context.image._align=this.context.image.modal.querySelector('input[name="suneditor_image_radio"]:checked').value,this.context.image._captionChecked=this.context.image.captionCheckEl.checked,this.context.image._resizing&&(this.context.image._proportionChecked=this.context.image.proportion.checked);try{this.context.dialog.updateModal&&this.plugins.image.update_image.call(this),this.context.image.imgInputFile&&this.context.image.imgInputFile.files.length>0?this.plugins.image.onRender_imgInput.call(this):this.context.image.imgUrlFile&&this.context.image.imgUrlFile.value.trim().length>0?this.plugins.image.onRender_imgUrl.call(this):this.closeLoading()}catch(e){throw this.closeLoading(),_modules_notice__WEBPACK_IMPORTED_MODULE_3__.a.open.call(this,'[SUNEDITOR.image.submit.fail] cause : "'+e.message+'"'),Error('[SUNEDITOR.image.submit.fail] cause : "'+e.message+'"')}finally{this.plugins.dialog.close.call(this)}return!1},_onload_image:function(e,t){if(e.setAttribute("origin-size",e.naturalWidth+","+e.naturalHeight),e.setAttribute("data-origin",e.offsetWidth+","+e.offsetHeight),!t)return;let i=e.getAttribute("data-index");i?(this._variable._imagesInfo[i].oImg.getAttribute("data-file-name"),this._variable._imagesInfo[i].oImg.getAttribute("data-file-size")):(i=this._variable._imageIndex,e.setAttribute("data-index",i),this._variable._imagesInfo[i]={src:e.src,index:i,name:t.name,size:t.size,select:function(){const t=this.plugins.resizing.call_controller_resize.call(this,e,"image");this.plugins.image.onModifyMode.call(this,e,t),e.scrollIntoView()}.bind(this),delete:this.plugins.image.destroy.bind(this,e)},this._variable._imageIndex++,e.setAttribute("data-file-name",t.name),e.setAttribute("data-file-size",t.size)),this._imageUpload(e,i,!1,this._variable._imagesInfo[i])},create_image:function(e,t,i,n,o,l,a,s){if(l)return void(a.src=e);const r=this.context.image;let d=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("IMG");d.addEventListener("load",this.plugins.image._onload_image.bind(this,d,s)),d.src=e,d.setAttribute("data-align",o),d.alt=r._altText,(d=this.plugins.image.onRender_link(d,t,i)).setAttribute("data-rotate","0"),r._resizing&&(/\d+/.test(n)&&(d.style.width=n),d.setAttribute("data-proportion",r._proportionChecked));const c=this.plugins.resizing.set_cover.call(this,d),_=this.plugins.resizing.set_container.call(this,c,"sun-editor-id-image-container");r._captionChecked&&(r._caption=this.plugins.resizing.create_caption.call(this),r._caption.setAttribute("contenteditable",!1),c.appendChild(r._caption)),c.style.margin="none"!==o?"auto":"0",_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeClass(_,r._floatClassRegExp),_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.addClass(_,"float-"+o),r._resizing&&/\d+/.test(n)||(this.context.resizing._resize_plugin="image",r._element=d,r._cover=c,r._container=_,this.plugins.image.setAutoSize.call(this)),this.insertNode(_,_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getFormatElement(this.getSelectionNode())),this.appendFormatTag(_)},update_image:function(){const e=this.context.image,t=e._linkValue;let i=e._element,n=e._cover,o=e._container,l=!1;const a=1*e.imageX.value!==i.offsetWidth||1*e.imageY.value!==i.offsetHeight;if(null===n&&(l=!0,i=e._element.cloneNode(!0),n=this.plugins.resizing.set_cover.call(this,i)),null===o&&(n=n.cloneNode(!0),l=!0,o=this.plugins.resizing.set_container.call(this,n,"sun-editor-id-image-container")),l&&(o.innerHTML="",o.appendChild(n)),i.alt=e._altText,e._resizing&&(i.setAttribute("data-proportion",e._proportionChecked),a&&this.plugins.image.setSize.call(this,e.imageX.value,e.imageY.value)),e._captionChecked?e._caption||(e._caption=this.plugins.resizing.create_caption.call(this),n.appendChild(e._caption)):e._caption&&(_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeItem(e._caption),e._caption=null),e._align&&"none"!==e._align?n.style.margin="auto":n.style.margin="0",_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeClass(o,this.context.image._floatClassRegExp),_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.addClass(o,"float-"+e._align),i.setAttribute("data-align",e._align),t.trim().length>0)if(null!==e._linkElement)e._linkElement.href=t,e._linkElement.target=e.imgLinkNewWindowCheck.checked?"_blank":"",i.setAttribute("data-image-link",t);else{let o=this.plugins.image.onRender_link(i,t,this.context.image.imgLinkNewWindowCheck.checked);n.insertBefore(o,e._caption)}else if(null!==e._linkElement){const t=i;t.setAttribute("data-image-link","");let o=t.cloneNode(!0);n.removeChild(e._linkElement),n.insertBefore(o,e._caption),i=o}if(l){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getFormatElement(e._element);t.parentNode.insertBefore(o,t),_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeItem(e._element)}(e._resizing&&a||this.context.resizing._rotateVertical&&e._captionChecked)&&this.plugins.resizing.setTransformSize.call(this,i)},sizeRevert:function(){const e=this.context.image;e._origin_w&&(e.imageX.value=e._element_w=e._origin_w,e.imageY.value=e._element_h=e._origin_h)},onModifyMode:function(e,t){const i=this.context.image;i._linkElement=/^A$/i.test(e.parentNode.nodeName)?e.parentNode:null,i._element=e,i._cover=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getParentElement(e,".sun-editor-figure-cover"),i._container=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getParentElement(e,".sun-editor-id-image-container"),i._caption=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getChildElement(i._cover,"FIGCAPTION"),i._align=e.getAttribute("data-align")||"none",i._element_w=t.w,i._element_h=t.h,i._element_t=t.t,i._element_l=t.l;let n=i._element.getAttribute("data-origin");n?(n=n.split(","),i._origin_w=1*n[0],i._origin_h=1*n[1]):(i._origin_w=t.w,i._origin_h=t.h,i._element.setAttribute("data-origin",t.w+","+t.h))},openModify:function(e){const t=this.context.image;t.imgUrlFile.value=t._element.src,t.altText.value=t._element.alt,t.imgLink.value=null===t._linkElement?"":t._linkElement.href,t.imgLinkNewWindowCheck.checked=t._linkElement&&"_blank"===t._linkElement.target,t.modal.querySelector('input[name="suneditor_image_radio"][value="'+t._align+'"]').checked=!0,t._captionChecked=t.captionCheckEl.checked=!!t._caption,t._resizing&&(t.proportion.checked=t._proportionChecked="true"===t._element.getAttribute("data-proportion"),t.imageX.value=t._element.offsetWidth,t.imageY.value=t._element.offsetHeight,t.imageX.disabled=!1,t.imageY.disabled=!1,t.proportion.disabled=!1),e||this.plugins.dialog.open.call(this,"image",!0)},setSize:function(e,t){const i=this.context.image;i._element.style.width=e+"px",i._element.style.height=t+"px"},setAutoSize:function(){const e=this.context.image;this.plugins.resizing.resetTransform.call(this,e._element),this.plugins.image.cancelPercentAttr.call(this),e._element.style.maxWidth="100%",e._element.style.width="100%",e._element.style.height="",e._cover.style.width="",e._cover.style.height=""},setPercentSize:function(e){const t=this.context.image;t._container.style.width=e,t._container.style.height="",t._cover.style.width="100%",t._cover.style.height="",t._element.style.width="100%",t._element.style.height="",/100/.test(e)&&(_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeClass(t._container,this.context.image._floatClassRegExp),_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.addClass(t._container,"float-center"))},cancelPercentAttr:function(){const e=this.context.image;e._element.style.maxWidth="none",e._cover.style.width="",e._cover.style.height="",e._container.style.width="",e._container.style.height="",_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeClass(e._container,this.context.image._floatClassRegExp),_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.addClass(e._container,"float-"+e._align)},resetAlign:function(){const e=this.context.image;e._element.setAttribute("data-align",""),e._align="none",e._cover.style.margin="0",_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeClass(e._container,e._floatClassRegExp)},destroy:function(e){const t=e||this.context.image._element,i=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getParentElement(t,".sun-editor-id-image-container")||t,n=t.getAttribute("data-index");_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeItem(i),this.plugins.image.init.call(this),this.controllersOff(),n&&(delete this._variable._imagesInfo[n],this._imageUpload(t,n,!0))},init:function(){const e=this.context.image;if(e.imgInputFile&&(e.imgInputFile.value=""),e.imgUrlFile&&(e.imgUrlFile.value=""),e.altText.value="",e.imgLink.value="",e.imgLinkNewWindowCheck.checked=!1,e.modal.querySelector('input[name="suneditor_image_radio"][value="none"]').checked=!0,e.captionCheckEl.checked=!1,e._element=null,this.plugins.image.openTab.call(this,"init"),e._resizing){const t="auto"===this.context.option.imageWidth;e.proportion.checked=!1,e.imageX.value=t?"":this.context.option.imageWidth,e.imageY.value="",e.imageX.disabled=t,e.imageY.disabled=!0,e.proportion.disabled=!0}}}},MIhV:function(module,__webpack_exports__,__webpack_require__){"use strict";var _lib_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e1d");__webpack_exports__.a={name:"fontSize",add:function(core,targetElement){let listDiv=eval(this.setSubmenu(core.context.option));listDiv.getElementsByTagName("UL")[0].addEventListener("click",this.pickup.bind(core)),targetElement.parentNode.appendChild(listDiv),listDiv=null},setSubmenu:function(e){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");t.className="sun-editor-submenu layer_editor layer_size",t.style.display="none";const i=e.fontSize?e.fontSize:[8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72];let n='
    ';for(let e=0,t=i.length;e"}return n+="
",t.innerHTML=n,t},pickup:function(e){if(e.preventDefault(),e.stopPropagation(),!/^BUTTON$/i.test(e.target.tagName))return!1;_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.changeTxt(this.context.tool.fontSize,e.target.getAttribute("data-value"));const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("SPAN");t.style.fontSize=e.target.getAttribute("data-value")+"px",this.nodeChange(t,["font-size"]),this.submenuOff(),this.focus()}}},P6u4:function(e,t,i){"use strict";var n,o;n="undefined"!=typeof window?window:this,o=function(e,t){const i={toolbar:{save:"Save",font:"Font",formats:"Formats",fontSize:"Size",bold:"Bold",underline:"Underline",italic:"Italic",strike:"Strike",subscript:"Subscript",superscript:"Superscript",removeFormat:"Remove Format",fontColor:"Font Color",hiliteColor:"Hilite Color",indent:"Indent",outdent:"Outdent",align:"Align",alignLeft:"Align left",alignRight:"Align right",alignCenter:"Align center",justifyFull:"Justify full",list:"list",orderList:"Ordered list",unorderList:"Unordered list",horizontalRule:"horizontal line",hr_solid:"solid",hr_dotted:"dotted",hr_dashed:"dashed",table:"Table",link:"Link",image:"Image",video:"Video",fullScreen:"Full screen",showBlocks:"Show blocks",codeView:"Code view",undo:"Undo",redo:"Redo",preview:"Preview",print:"print",tag_p:"Paragraph",tag_div:"Normal (DIV)",tag_h:"Header",tag_quote:"Quote",pre:"Code"},dialogBox:{linkBox:{title:"Insert Link",url:"URL to link",text:"Text to display",newWindowCheck:"Open in new window"},imageBox:{title:"Insert image",file:"Select from files",url:"Image URL",altText:"Alternative text"},videoBox:{title:"Insert Video",url:"Media embed URL, YouTube"},caption:"Insert description",close:"Close",submitButton:"Submit",revertButton:"Revert",proportion:"constrain proportions",width:"Width",height:"Height",basic:"Basic",left:"Left",right:"Right",center:"Center"},controller:{edit:"Edit",remove:"Remove",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",deleteRow:"Delete row",insertColumnBefore:"Insert column before",insertColumnAfter:"Insert column after",deleteColumn:"Delete column",resize100:"Resize 100%",resize75:"Resize 75%",resize50:"Resize 50%",resize25:"Resize 25%",mirrorHorizontal:"Mirror, Horizontal",mirrorVertical:"Mirror, Vertical",rotateLeft:"Rotate left",rotateRight:"Rotate right"}};return void 0===t&&(e.SUNEDITOR_LANG||(e.SUNEDITOR_LANG={}),e.SUNEDITOR_LANG.en=i),i},"object"==typeof e.exports?e.exports=n.document?o(n,!0):function(e){if(!e.document)throw new Error("SUNEDITOR_LANG a window with a document");return o(e)}:o(n)},PAX9:function(e,t,i){"use strict";var n=i("8e1d");t.a={name:"notice",add:function(e){const t=e.context;t.notice={};let i=n.a.createElement("DIV"),o=n.a.createElement("SPAN"),l=n.a.createElement("BUTTON");i.className="sun-editor-id-notice",l.className="close",l.setAttribute("aria-label","Close"),l.setAttribute("title",e.lang.dialogBox.close),l.innerHTML='',i.appendChild(o),i.appendChild(l),t.notice.modal=i,t.notice.message=o,l.addEventListener("click",this.onClick_cancel.bind(e)),t.element.editorArea.insertBefore(i,t.element.wysiwyg),i=null},onClick_cancel:function(e){e.preventDefault(),e.stopPropagation(),this.plugins.notice.close.call(this)},open:function(e){this.context.notice.message.textContent=e,this.context.notice.modal.style.display="block"},close:function(){this.context.notice.modal.style.display="none"}}},Rp48:function(module,__webpack_exports__,__webpack_require__){"use strict";var _lib_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e1d"),_modules_dialog__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("1kvd");__webpack_exports__.a={name:"link",add:function(core){core.addModule([_modules_dialog__WEBPACK_IMPORTED_MODULE_1__.a]);const context=core.context;context.link={};let link_dialog=eval(this.setDialog(core.lang));context.link.modal=link_dialog,context.link.focusElement=link_dialog.getElementsByClassName("sun-editor-id-link-url")[0],context.link.linkAnchorText=link_dialog.getElementsByClassName("sun-editor-id-link-text")[0],context.link.linkNewWindowCheck=link_dialog.getElementsByClassName("sun-editor-id-link-check")[0];let link_button=eval(this.setController_LinkButton(core.lang));context.link.linkBtn=link_button,context.link._linkAnchor=null,link_button.addEventListener("mousedown",function(e){e.stopPropagation()},!1),link_dialog.getElementsByClassName("btn-primary")[0].addEventListener("click",this.submit.bind(core)),link_button.addEventListener("click",this.onClick_linkBtn.bind(core)),context.dialog.modal.appendChild(link_dialog),context.element.relative.appendChild(link_button),link_dialog=null,link_button=null},setDialog:function(e){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");return t.className="modal-content sun-editor-id-dialog-link",t.style.display="none",t.innerHTML='",t},setController_LinkButton:function(e){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");return t.className="sun-editor-id-link-btn",t.style.display="none",t.innerHTML='
',t},submit:function(e){this.showLoading(),e.preventDefault(),e.stopPropagation();const t=function(){if(0===this.context.link.focusElement.value.trim().length)return!1;const e=this.context.link.focusElement.value,t=this.context.link.linkAnchorText,i=0===t.value.length?e:t.value;if(this.context.dialog.updateModal)this.context.link._linkAnchor.href=e,this.context.link._linkAnchor.textContent=i,this.context.link._linkAnchor.target=this.context.link.linkNewWindowCheck.checked?"_blank":"",this.setRange(this.context.link._linkAnchor.childNodes[0],0,this.context.link._linkAnchor.childNodes[0],this.context.link._linkAnchor.textContent.length);else{const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("A");t.href=e,t.textContent=i,t.target=this.context.link.linkNewWindowCheck.checked?"_blank":"",this.insertNode(t),this.setRange(t.childNodes[0],0,t.childNodes[0],t.textContent.length)}this.context.link.focusElement.value="",this.context.link.linkAnchorText.value=""}.bind(this);try{t()}finally{this.plugins.dialog.close.call(this),this.closeLoading(),this.focus()}return!1},call_controller_linkButton:function(e){this.editLink=this.context.link._linkAnchor=e;const t=this.context.link.linkBtn;t.getElementsByTagName("A")[0].href=e.href,t.getElementsByTagName("A")[0].textContent=e.textContent;const i=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getOffset(e);t.style.left=i.left-this.context.element.wysiwyg.scrollLeft+"px",t.style.top=i.top+e.offsetHeight+10+"px",t.style.display="block",this.controllersOn(t)},onClick_linkBtn:function(e){e.stopPropagation();const t=e.target.getAttribute("data-command")||e.target.parentNode.getAttribute("data-command");t&&(e.preventDefault(),/update/.test(t)?(this.context.link.focusElement.value=this.context.link._linkAnchor.href,this.context.link.linkAnchorText.value=this.context.link._linkAnchor.textContent,this.context.link.linkNewWindowCheck.checked=!!/_blank/i.test(this.context.link._linkAnchor.target),this.plugins.dialog.open.call(this,"link",!0)):(_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.removeItem(this.context.link._linkAnchor),this.context.link._linkAnchor=null,this.focus()),this.controllersOff())},init:function(){const e=this.context.link;e.linkBtn.style.display="none",e._linkAnchor=null,e.focusElement.value="",e.linkAnchorText.value="",e.linkNewWindowCheck.checked=!1}}},VquE:function(module,__webpack_exports__,__webpack_require__){"use strict";var _lib_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e1d");__webpack_exports__.a={name:"table",add:function(core,targetElement){const context=core.context;context.table={_element:null,_tdElement:null,_trElement:null,_trElements:null,_tdIndex:0,_trIndex:0,_tdCnt:0,_trCnt:0,_tableXY:[]};let listDiv=eval(this.setSubmenu()),tablePicker=listDiv.getElementsByClassName("sun-editor-id-table-picker")[0];context.table.tableHighlight=listDiv.getElementsByClassName("sun-editor-id-table-highlighted")[0],context.table.tableUnHighlight=listDiv.getElementsByClassName("sun-editor-id-table-unhighlighted")[0],context.table.tableDisplay=listDiv.getElementsByClassName("sun-editor-table-display")[0];let resizeDiv=eval(this.setController_tableEditor(core.lang));context.table.resizeDiv=resizeDiv,resizeDiv.addEventListener("mousedown",function(e){e.stopPropagation()},!1),tablePicker.addEventListener("mousemove",this.onMouseMove_tablePicker.bind(core)),tablePicker.addEventListener("click",this.appendTable.bind(core)),resizeDiv.addEventListener("click",this.onClick_resizeDiv.bind(core)),targetElement.parentNode.appendChild(listDiv),context.element.relative.appendChild(resizeDiv),listDiv=null,tablePicker=null,resizeDiv=null},setSubmenu:function(){const e=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");return e.className="sun-editor-submenu table-content",e.style.display="none",e.innerHTML='
1 x 1
',e},setController_tableEditor:function(e){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");return t.className="sun-editor-id-table-edit",t.style.display="none",t.innerHTML='
',t},appendTable:function(){const e=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("TABLE");let t=this.context.table._tableXY[0],i=this.context.table._tableXY[1],n="";for(;i>0;){n+="";let e=t;for(;e>0;)n+="
"+_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.zeroWidthSpace+"
",--e;n+="",--i}n+="",e.innerHTML=n;const o=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getFormatElement(this.getSelectionNode());this.insertNode(e,/^LI$/i.test(o.nodeName)?_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getRangeFormatElement(o):o),this.appendFormatTag(e),this.focus(),this.plugins.table.reset_table_picker.call(this)},onMouseMove_tablePicker:function(e){e.stopPropagation();let t=Math.ceil(e.offsetX/18),i=Math.ceil(e.offsetY/18);t=t<1?1:t,i=i<1?1:i,this.context.table.tableHighlight.style.width=t+"em",this.context.table.tableHighlight.style.height=i+"em";let n=t<5?5:t>9?10:t+1,o=i<5?5:i>9?10:i+1;this.context.table.tableUnHighlight.style.width=n+"em",this.context.table.tableUnHighlight.style.height=o+"em",_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.changeTxt(this.context.table.tableDisplay,t+" x "+i),this.context.table._tableXY=[t,i]},reset_table_picker:function(){if(!this.context.table.tableHighlight)return;const e=this.context.table.tableHighlight.style,t=this.context.table.tableUnHighlight.style;e.width="1em",e.height="1em",t.width="5em",t.height="5em",_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.changeTxt(this.context.table.tableDisplay,"1 x 1"),this.submenuOff()},init:function(){const e=this.context.table;e._element=null,e._tdElement=null,e._trElement=null,e._trElements=0,e._tdIndex=0,e._trIndex=0,e._trCnt=0,e._tdCnt=0,e._tableXY=[]},call_controller_tableEdit:function(e){this.plugins.table.init.call(this);const t=this.context.table.resizeDiv;this.plugins.table.setPositionControllerDiv.call(this,e,!1),t.style.display="block",this.controllersOn(t)},setPositionControllerDiv:function(e,t){const i=this.context.table,n=i.resizeDiv;let o=i._element;if(!o){for(o=e;!/^TABLE$/i.test(o.nodeName);)o=o.parentNode;i._element=o}i._tdElement!==e&&(i._tdElement=e,i._trElement=e.parentNode),(t||0===i._trCnt)&&(i._trElements=o.rows,i._tdIndex=e.cellIndex,i._trIndex=i._trElement.rowIndex,i._trCnt=o.rows.length,i._tdCnt=i._trElement.cells.length);const l=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.getOffset(e);n.style.left=l.left-this.context.element.wysiwyg.scrollLeft+"px",n.style.top=l.top+e.offsetHeight+12+"px"},insertRowCell:function(e,t){const i=this.context.table;if("row"===e){const e="up"===t?i._trIndex:i._trIndex+1;let n="";for(let e=0,t=i._tdCnt;e
"+_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.zeroWidthSpace+"
";i._element.insertRow(e).innerHTML=n}else{const e=i._trElements,n="left"===t?i._tdIndex:i._tdIndex+1;let o=null;for(let t=0,l=i._trCnt;t"+_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.zeroWidthSpace+""}this.plugins.table.setPositionControllerDiv.call(this,i._tdElement,!0)},deleteRowCell:function(e){const t=this.context.table;if("row"===e)t._element.deleteRow(t._trIndex);else{const e=t._trElements,i=t._tdIndex;for(let n=0,o=t._trCnt;n'+e.toolbar.alignLeft+'
  • ",t},pickup:function(e){e.preventDefault(),e.stopPropagation();let t=e.target,i=null;for(;!i&&!/UL/i.test(t.tagName);)i=t.getAttribute("data-command"),t=t.parentNode;this.focus(),this.execCommand(i,!1,null),this.submenuOff()}}},WUQj:function(e,t,i){},WzUB:function(module,__webpack_exports__,__webpack_require__){"use strict";var _lib_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e1d");__webpack_exports__.a={name:"formatBlock",add:function(core,targetElement){let listDiv=eval(this.setSubmenu(core.lang));listDiv.getElementsByTagName("UL")[0].addEventListener("click",this.pickUp.bind(core)),targetElement.parentNode.appendChild(listDiv),listDiv=null},setSubmenu:function(e){const t=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement("DIV");return t.className="sun-editor-submenu layer_editor layer_block",t.style.display="none",t.innerHTML='
    ",t},pickUp:function(e){e.preventDefault(),e.stopPropagation();let t=e.target,i=null,n=null;for(;!i&&!/UL/i.test(t.tagName);)i=t.getAttribute("data-command"),n=t.getAttribute("data-value"),t=t.parentNode;if("range"===i){const e=_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.createElement(n);this.wrapToTags(e),this.setRange(e.firstChild,0,e.firstChild,0),this.appendFormatTag(e,_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.isCell(this.getSelectionNode())?"DIV":"")}else this.execCommand("formatBlock",!1,n),_lib_util__WEBPACK_IMPORTED_MODULE_0__.a.changeTxt(this.commandMap.FORMAT,n);this.submenuOff(),this.focus()}}},XJR1:function(e,t,i){"use strict";i.r(t);i("3FqI"),i("WUQj");var n=i("WRt5"),o=i("50IV"),l=i("MIhV"),a=i("0A7J"),s=i("s0fJ"),r=i("g4XY"),d=i("gMuy"),c=i("VquE"),_=i("WzUB"),u=i("Rp48"),g=i("KKur"),m=i("hlhS"),h={align:n.a,font:o.a,fontSize:l.a,fontColor:a.a,hiliteColor:s.a,horizontalRule:r.a,list:d.a,table:c.a,formatBlock:_.a,link:u.a,image:g.a,video:m.a},p=i("8e1d"),f=i("PAX9");var b=function(e,t,i){const n=document,o=window,l={context:e,plugins:{},initPlugins:{},lang:i,dialogForm:null,_submenuName:"",submenu:null,_bindedSubmenuOff:null,submenuActiveButton:null,controllerArray:[],_bindControllersOff:null,codeViewDisabledButtons:e.element.toolbar.querySelectorAll('.sun-editor-id-toolbar button:not([class~="code-view-enabled"])'),_isInline:/inline/i.test(e.option.mode),_isBalloon:/balloon/i.test(e.option.mode),_inlineToolbarAttr:{width:0,height:0,isShow:!1},_notHideToolbar:!1,_imageUpload:function(e,t,i,n){"function"==typeof s.onImageUpload&&s.onImageUpload(e,1*t,i,n)},_imageUploadError:function(e,t){return"function"!=typeof s.onImageUploadError||s.onImageUploadError(e,t)},commandMap:{FORMAT:e.tool.format,FONT:e.tool.font,SIZE:e.tool.fontSize,B:e.tool.bold,U:e.tool.underline,I:e.tool.italic,STRIKE:e.tool.strike,SUB:e.tool.subscript,SUP:e.tool.superscript},_variable:{wysiwygActive:!0,isFullScreen:!1,innerHeight_fullScreen:0,resizeClientY:0,tabSize:4,minResizingSize:65,currentNodes:[],_range:null,_selectionNode:null,_originCssText:e.element.topArea.style.cssText,_bodyOverflow:"",_editorAreaOriginCssText:"",_wysiwygOriginCssText:"",_codeOriginCssText:"",_sticky:!1,_imagesInfo:[],_imageIndex:0},callPlugin:function(e,t){if(!this.plugins[e])throw Error('[SUNEDITOR.core.callPlugin.fail] The called plugin does not exist or is in an invalid format. (pluginName:"'+e+'")');this.initPlugins[e]||(this.plugins[e].add(this,this.plugins[e].buttonElement),this.initPlugins[e]=!0),t()},addModule:function(e){let t="";for(let i=0,n=e.length;i0){for(let t=0;t":i)},focus:function(){if("none"===e.element.wysiwyg.style.display)return;const t=p.a.getParentElement(this.getSelectionNode(),"figcaption");t?t.focus():e.element.wysiwyg.focus(),a._findButtonEffectTag()},setRange:function(e,t,i,l){const a=n.createRange();a.setStart(e,t),a.setEnd(i,l);const s=o.getSelection();s.removeAllRanges&&s.removeAllRanges(),s.addRange(a),this._editorRange()},getRange:function(){return this._variable._range||this._createDefaultRange()},getSelectionNode:function(){return this._variable._selectionNode||e.element.wysiwyg.firstChild},_editorRange:function(){const e=o.getSelection();if(!p.a.getParentElement(e.focusNode,".sun-editor-id-wysiwyg"))return;let t=null,i=null;t=e.rangeCount>0?e.getRangeAt(0):this._createDefaultRange(),this._variable._range=t,i=t.collapsed?t.commonAncestorContainer:e.extentNode||e.anchorNode,this._variable._selectionNode=i},_createDefaultRange:function(){const t=n.createRange();return t.setStart(e.element.wysiwyg.firstChild,0),t.setEnd(e.element.wysiwyg.firstChild,0),t},getSelectedFormatElements:function(){let t=this.getRange();if(p.a.isWysiwygDiv(t.startContainer)){const i=e.element.wysiwyg.children;this.setRange(i[0],0,i[i.length-1],i[i.length-1].textContent.length),t=this.getRange()}const i=t.startContainer,n=t.endContainer,o=t.commonAncestorContainer,l=[];if(!p.a.isWysiwygDiv(o)&&!p.a.isRangeFormatElement(o))return[p.a.getFormatElement(o)];const a=p.a.getListChildren(o,function(e){return p.a.isFormatElement(e)});if(i===n)return a[0];let s=p.a.getFormatElement(i),r=p.a.getFormatElement(n),d=0,c=0;for(let e=0,t=a.length;e=0;e--)r[e]===n.parentNode&&r[e].firstChild===n&&0===i&&(d=e,n=n.parentNode);for(let e=c-1,t=n;e>d;e--)r[e]===t.parentNode&&1===r[e].nodeType&&(r.splice(e,1),t=t.parentNode,--c);for(let e=d;e<=c;e++){const l=r[e];0===l.length||3===l.nodeType&&void 0===l.data?p.a.removeItem(l):l!==t?l!==n?p.a.removeItem(l):(s=1===n.nodeType?p.a.createTextNode(n.textContent):p.a.createTextNode(n.substringData(o,n.length-o))).length>0?n.data=s.data:p.a.removeItem(n):(a=1===t.nodeType?p.a.createTextNode(t.textContent):p.a.createTextNode(t.substringData(0,i))).length>0?t.data=a.data:p.a.removeItem(t)}},wrapToTags:function(e){const t=this.getRange(),i=this.getSelectedFormatElements();if(!i){const t=p.a.createElement(p.a.isCell(this.getSelectionNode())?"DIV":"P");return t.innerHTML=p.a.zeroWidthSpace,e.appendChild(t),void this.getSelectionNode().appendChild(e)}let n,o,l,a=i[i.length-1];n=p.a.isRangeFormatElement(a)||p.a.isFormatElement(a)?a:p.a.getRangeFormatElement(a)||p.a.getFormatElement(a),p.a.isCell(n)?(o=null,l=n):(o=n.nextSibling,l=n.parentNode);let s=null,r=null,d="";for(let t=0,n=i.length;t=i.length)return}}if(l=p.a.isWysiwygDiv(n.startContainer)?e.element.wysiwyg.firstChild:n.startContainer,a=n.startOffset,1===l.nodeType&&l.childNodes.length>0){for(;l&&!p.a.isBreak(l)&&1===l.nodeType;){r=[];for(let e=0,t=(s=l.childNodes).length;e0){for(;l&&!p.a.isBreak(l)&&1===l.nodeType;){r=[];for(let e=0,t=(s=l.childNodes).length;e0&&(t=e.style.cssText.replace(f,"").trim()),(t.length>0||e.nodeName!==m)&&(e.style.cssText.length>0&&(e.style.cssText=t),!0)};if(p.a.isWysiwygDiv(g)||p.a.isRangeFormatElement(g)){const e=this.getSelectedFormatElements(),i=e.length-1;h=t.cloneNode(!1),b=this._nodeChange_startLine(e[0],h,y,d,c,o);for(let n=1;n0?(h=t.cloneNode(!1),v=this._nodeChange_endLine(e[i],h,y,_,u,o)):v=b}else{h=t.cloneNode(!1);const e=this._nodeChange_oneLine(p.a.getFormatElement(g),h,y,d,c,_,u,o,n.collapsed);b.container=e.startContainer,b.offset=e.startOffset,v.container=e.endContainer,v.offset=e.endOffset}this.setRange(b.container,b.offset,v.container,v.offset)},_nodeChange_oneLine:function(e,t,i,n,o,l,a,s,r){const d=e,c=e.cloneNode(!1),_=n===l;let u,g,m,h,f=n,b=o,v=l,y=a,E=!1,x=!1;function C(e){const t=new RegExp("(?:;|^|\\s)(?:"+h+"null)\\s*:[^;]*\\s*(?:;|$)","ig");let i="";return t&&e.style.cssText.length>0&&(i=t.test(e.style.cssText)),!i}return function e(n,o){const l=n.childNodes;for(let n=0,a=l.length;nb?y-b:y===b?0:f.data.length-b));for(e.data.length>0&&o.appendChild(e),g=k,u=[],h="";g!==c&&g!==d&&null!==g;)i(g)&&1===g.nodeType&&C(g)&&(u.push(g.cloneNode(!1)),h+=g.style.cssText.substr(0,g.style.cssText.indexOf(":"))+"|"),g=g.parentNode;const l=u.pop()||n;for(m=g=l;u.length>0;)g=u.pop(),m.appendChild(g),m=g;if(t.appendChild(l),c.appendChild(t),f=n,b=0,E=!0,g!==n&&g.appendChild(f),!_)continue}if(x||k!==v){if(E){if(1===k.nodeType&&!p.a.isBreak(k)){e(k,k);continue}for(g=k,u=[],h="";null!==g.parentNode&&g!==d&&g!==t;)1===g.nodeType&&!p.a.isBreak(k)&&(x||i(g))&&C(g)&&(u.push(g.cloneNode(!1)),h+=g.style.cssText.substr(0,g.style.cssText.indexOf(":"))+"|"),g=g.parentNode;const n=u.pop()||k;for(m=g=n;u.length>0;)g=u.pop(),m.appendChild(g),m=g;n===k?o=x?c:t:x?(c.appendChild(n),o=g):(t.appendChild(n),o=g)}a=k.cloneNode(!1),o.appendChild(a),1!==k.nodeType||p.a.isBreak(k)||(w=a),e(k,w)}else{const e=p.a.createTextNode(1===v.nodeType?"":v.substringData(y,v.length-y)),n=p.a.createTextNode(_||1===v.nodeType?"":v.substringData(0,y));if(e.data.length>0){for(g=k,h="",u=[];g!==c&&g!==d&&null!==g;)1===g.nodeType&&C(g)&&(u.push(g.cloneNode(!1)),h+=g.style.cssText.substr(0,g.style.cssText.indexOf(":"))+"|"),g=g.parentNode;for(a=m=g=u.pop()||e;u.length>0;)g=u.pop(),m.appendChild(g),m=g;c.appendChild(a),g.textContent=e.data}for(g=k,u=[],h="";g!==c&&g!==d&&null!==g;)i(g)&&1===g.nodeType&&C(g)&&(u.push(g.cloneNode(!1)),h+=g.style.cssText.substr(0,g.style.cssText.indexOf(":"))+"|"),g=g.parentNode;const o=u.pop()||n;for(m=g=o;u.length>0;)g=u.pop(),m.appendChild(g),m=g;t.appendChild(o),v=n,y=n.data.length,x=!0,!s&&r&&(t=n,n.textContent=p.a.zeroWidthSpace),g!==n&&g.appendChild(v)}}}(e,c),s?(f=p.a.createTextNode(r?p.a.zeroWidthSpace:t.textContent),c.insertBefore(f,t),c.removeChild(t),r&&(b=1)):r&&(f=v=t,b=1,y=1),p.a.removeEmptyNode(c),e.parentNode.insertBefore(c,e),p.a.removeItem(e),{startContainer:f,startOffset:b,endContainer:s||!v.textContent?f:v,endOffset:s||!v.textContent?f.textContent.length:y}},_nodeChange_middleLine:function(e,t,i,n){n?t=p.a.createTextNode(e.textContent?e.textContent:p.a.zeroWidthSpace):function e(t,n){const o=t.childNodes;for(let t=0,l=o.length;t0){const e=r.pop();for(c=d=e;r.length>0;)d=r.pop(),c.appendChild(d),c=d;t.appendChild(e),o=d}else o=t}if(g||m!==_){if(!g||i(m)){const e=m.cloneNode(!1);o.appendChild(e),1!==m.nodeType||p.a.isBreak(m)||(h=e)}e(m,h)}else{const e=p.a.createTextNode(1===_.nodeType?"":_.substringData(0,u)),n=p.a.createTextNode(1===_.nodeType?"":_.substringData(u,_.length-u));for(e.data.length>0&&o.appendChild(e),d=o,r=[];d!==s&&null!==d;)1===d.nodeType&&i(d)&&r.push(d.cloneNode(!1)),d=d.parentNode;const l=r.pop()||o;for(c=d=l;r.length>0;)d=r.pop(),c.appendChild(d),c=d;l!==o?(t.appendChild(l),o=d):o=t,p.a.isBreak(m)&&t.appendChild(m.cloneNode(!1)),s.appendChild(t),_=n,u=0,g=!0,o.appendChild(_)}}}(e,s),l&&(_=p.a.createTextNode(t.textContent),s.insertBefore(_,t),s.removeChild(t)),l||0!==s.children.length?(p.a.removeEmptyNode(s),e.parentNode.insertBefore(s,e),p.a.removeItem(e)):e.childNodes?_=e.childNodes[0]:(_=p.a.createTextNode(p.a.zeroWidthSpace),e.appendChild(_)),{container:_,offset:u}},_nodeChange_endLine:function(e,t,i,n,o,l){const a=e,s=e.cloneNode(!1);let r,d,c,_=n,u=o,g=!1;return function e(n,o){const l=n.childNodes;for(let n=l.length-1;0<=n;n--){const m=l[n];let h=o;if(g&&!p.a.isBreak(m)){if(1===m.nodeType){e(m,m);continue}for(d=m,r=[];null!==d.parentNode&&d!==a&&d!==t;)i(d)&&1===d.nodeType&&r.push(d.cloneNode(!1)),d=d.parentNode;if(r.length>0){const e=r.pop();for(c=d=e;r.length>0;)d=r.pop(),c.appendChild(d),c=d;t.insertBefore(e,t.firstChild),o=d}else o=t}if(g||m!==_){if(!g||i(m)){const e=m.cloneNode(!1);o.insertBefore(e,o.firstChild),1!==m.nodeType||p.a.isBreak(m)||(h=e)}e(m,h)}else{const e=p.a.createTextNode(1===_.nodeType?"":_.substringData(u,_.length-u)),n=p.a.createTextNode(1===_.nodeType?"":_.substringData(0,u));for(e.data.length>0&&o.insertBefore(e,o.firstChild),d=o,r=[];d!==s&&null!==d;)i(d)&&1===d.nodeType&&r.push(d.cloneNode(!1)),d=d.parentNode;const l=r.pop()||o;for(c=d=l;r.length>0;)d=r.pop(),c.appendChild(d),c=d;l!==o?(t.insertBefore(l,t.firstChild),o=d):o=t,p.a.isBreak(m)&&t.appendChild(m.cloneNode(!1)),s.insertBefore(t,s.firstChild),_=n,u=n.data.length,g=!0,o.insertBefore(_,o.firstChild)}}}(e,s),l&&(_=p.a.createTextNode(t.textContent),u=_.textContent.length,s.insertBefore(_,t),s.removeChild(t)),l||0!==s.childNodes.length?(p.a.removeEmptyNode(s),e.parentNode.insertBefore(s,e),p.a.removeItem(e)):e.childNodes?_=e.childNodes[0]:(_=p.a.createTextNode(p.a.zeroWidthSpace),e.appendChild(_)),{container:_,offset:u}},commandHandler:function(t,i){switch(i){case"codeView":this.controllersOff(),this.toggleCodeView(),p.a.toggleClass(t,"on");break;case"fullScreen":this.controllersOff(),this.toggleFullScreen(t),p.a.toggleClass(t,"on");break;case"indent":case"outdent":this.indent(i);break;case"redo":case"undo":this.execCommand(i,!1,null);break;case"removeFormat":this.removeFormat();break;case"preview":case"print":this.openWindowContents(i);break;case"showBlocks":this.toggleDisplayBlocks(),p.a.toggleClass(t,"on");break;case"subscript":p.a.hasClass(e.tool.superscript,"on")&&(this.execCommand("superscript",!1,null),p.a.removeClass(e.tool.superscript,"on")),this.execCommand(i,!1,null),p.a.toggleClass(t,"on");break;case"superscript":p.a.hasClass(e.tool.subscript,"on")&&(this.execCommand("subscript",!1,null),p.a.removeClass(e.tool.subscript,"on")),this.execCommand(i,!1,null),p.a.toggleClass(t,"on");break;case"save":if("function"!=typeof e.option.callBackSave)throw Error("[SUNEDITOR.core.commandHandler.fail] Please register call back function in creation option. (callBackSave : Function)");e.option.callBackSave(this.getContents());break;default:this.execCommand(i,!1,t.getAttribute("data-value")),p.a.toggleClass(t,"on")}this.focus()},removeFormat:function(){this.nodeChange(p.a.createElement("REMOVENODE"))},indent:function(e){const t=this.getSelectedFormatElements();let i,n;for(let o=0,l=t.length;o0?e.element.code.scrollHeight+"px":"auto"),this._variable.wysiwygActive=!1,e.element.code.focus();else{const t=e.element.code.value.trim();e.element.wysiwyg.innerHTML=t.length>0?p.a.convertContentsForEditor(t):"

    "+p.a.zeroWidthSpace+"

    ",e.element.wysiwyg.scrollTop=0,e.element.code.style.display="none",e.element.wysiwyg.style.display="block","auto"===e.option.height&&(e.element.code.style.height="0px"),this._variable.wysiwygActive=!0,this.focus()}},toggleFullScreen:function(t){this._variable.isFullScreen?(this._variable.isFullScreen=!1,e.element.code.style.cssText=this._variable._codeOriginCssText,e.element.wysiwyg.style.cssText=this._variable._wysiwygOriginCssText,e.element.toolbar.style.cssText="",e.element.editorArea.style.cssText=this._variable._editorAreaOriginCssText,e.element.topArea.style.cssText=this._variable._originCssText,n.body.style.overflow=this._variable._bodyOverflow,e.option.stickyToolbar>-1&&(p.a.removeClass(e.element.toolbar,"sun-editor-sticky"),a.onScroll_window()),p.a.removeClass(t.firstElementChild,"icon-reduction"),p.a.addClass(t.firstElementChild,"icon-expansion")):(this._variable.isFullScreen=!0,e.element.topArea.style.position="fixed",e.element.topArea.style.top="0",e.element.topArea.style.left="0",e.element.topArea.style.width="100%",e.element.topArea.style.height="100%",e.element.topArea.style.zIndex="2147483647",this._variable._bodyOverflow=n.body.style.overflow,n.body.style.overflow="hidden",this._variable._editorAreaOriginCssText=e.element.editorArea.style.cssText,this._variable._wysiwygOriginCssText=e.element.wysiwyg.style.cssText,this._variable._codeOriginCssText=e.element.code.style.cssText,e.element.editorArea.style.cssText=e.element.toolbar.style.cssText=e.element.wysiwyg.style.cssText=e.element.code.style.cssText="",e.element.toolbar.style.width=e.element.wysiwyg.style.height=e.element.code.style.height="100%",e.element.toolbar.style.position="relative",this._variable.innerHeight_fullScreen=o.innerHeight-e.element.toolbar.offsetHeight,e.element.editorArea.style.height=this._variable.innerHeight_fullScreen+"px",p.a.removeClass(t.firstElementChild,"icon-expansion"),p.a.addClass(t.firstElementChild,"icon-reduction"))},openWindowContents:function(t){const n="print"===t,l=o.open("","_blank");l.mimeType="text/html",l.document.write(''+(n?i.toolbar.print:i.toolbar.preview)+'
    '+this.getContents()+"
    "+(n?"