2022-07-20 00:33:06 +00:00
/*! For license information please see editor.js.LICENSE.txt */
2022-07-21 07:06:16 +00:00
! function ( t , e ) { "object" == typeof exports && "object" == typeof module ? module . exports = e ( ) : "function" == typeof define && define . amd ? define ( [ ] , e ) : "object" == typeof exports ? exports . EditorJS = e ( ) : t . EditorJS = e ( ) } ( window , ( function ( ) { return function ( t ) { var e = { } ; function n ( o ) { if ( e [ o ] ) return e [ o ] . exports ; var r = e [ o ] = { i : o , l : ! 1 , exports : { } } ; return t [ o ] . call ( r . exports , r , r . exports , n ) , r . l = ! 0 , r . exports } return n . m = t , n . c = e , n . d = function ( t , e , o ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : o } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var o = Object . create ( null ) ; if ( n . r ( o ) , Object . defineProperty ( o , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var r in t ) n . d ( o , r , function ( e ) { return t [ e ] } . bind ( null , r ) ) ; return o } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "" , n ( n . s = 187 ) } ( [ function ( t , e , n ) { var o = n ( 10 ) , r = n ( 17 ) , i = n ( 27 ) , a = n ( 23 ) , s = n ( 31 ) , l = function ( t , e , n ) { var c , u , f , d , p = t & l . F , h = t & l . G , v = t & l . S , g = t & l . P , y = t & l . B , b = h ? o : v ? o [ e ] || ( o [ e ] = { } ) : ( o [ e ] || { } ) . prototype , m = h ? r : r [ e ] || ( r [ e ] = { } ) , k = m . prototype || ( m . prototype = { } ) ; for ( c in h && ( n = e ) , n ) f = ( ( u = ! p && b && void 0 !== b [ c ] ) ? b : n ) [ c ] , d = y && u ? s ( f , o ) : g && "function" == typeof f ? s ( Function . call , f ) : f , b && a ( b , c , f , t & l . U ) , m [ c ] != f && i ( m , c , d ) , g && k [ c ] != f && ( k [ c ] = f ) } ; o . core = r , l . F = 1 , l . G = 2 , l . S = 4 , l . P = 8 , l . B = 16 , l . W = 32 , l . U = 64 , l . R = 128 , t . exports = l } , function ( t , e ) { t . exports = function ( t ) { return t && t . _ _esModule ? t : { default : t } } } , function ( t , e ) { t . exports = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } } , function ( t , e ) { function n ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var o = e [ n ] ; o . enumerable = o . enumerable || ! 1 , o . configurable = ! 0 , "value" in o && ( o . writable = ! 0 ) , Object . defineProperty ( t , o . key , o ) } } t . exports = function ( t , e , o ) { return e && n ( t . prototype , e ) , o && n ( t , o ) , t } } , function ( t , e ) { function n ( e ) { return t . exports = n = Object . setPrototypeOf ? Object . getPrototypeOf : function ( t ) { return t . _ _proto _ _ || Object . getPrototypeOf ( t ) } , n ( e ) } t . exports = n } , function ( t , e , n ) { var o = n ( 110 ) ; t . exports = function ( t , e ) { if ( "function" != typeof e && null !== e ) throw new TypeError ( "Super expression must either be null or a function" ) ; t . prototype = Object . create ( e && e . prototype , { constructor : { value : t , writable : ! 0 , configurable : ! 0 } } ) , e && o ( t , e ) } } , function ( t , e , n ) { var o = n ( 59 ) , r = n ( 152 ) ; t . exports = function ( t , e ) { return ! e || "object" !== o ( e ) && "function" != typeof e ? r ( t ) : e } } , function ( t , e , n ) { var o , r , i ; "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self && self , r = [ e , n ( 20 ) , n ( 371 ) , n ( 21 ) , n ( 403 ) , n ( 14 ) ] , void 0 === ( i = "function" == typeof ( o = function ( t , e , o , r , i , a ) { "use strict" ; var s , l = n ( 1 ) ; function c ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] ? arguments [ 2 ] : "log" , o = arguments . length > 3 ? arguments [ 3 ] : void 0 , r = arguments . length > 4 && void 0 !== arguments [ 4 ] ? arguments [ 4 ] : "color: inherit" ; if ( "console" in window && window . console [ n ] ) { var i = [ "info" , "log" , "warn" , "error" ] . includes ( n ) , a = [ ] ; switch ( c . logLevel ) { case s . ERROR : if ( "error" !== n ) return ; break ; case s . WARN : if ( ! [ "error" , "warn" ] . includes ( n ) ) return ; break ; case s . INFO : if ( ! i || t ) return } o && a . push ( o ) ; var l = "Editor.js " . concat ( "2.25.0" ) , u = "line-height: 1em;\n color: #006FEA;\n display: inline-block;\n font-size: 11px;\n line-height: 1em;\n background-color: #fff;\n padding: 4px 9px;\n border-radius: 30px;\n border: 1px solid rgba(56, 138, 229, 0.16);\n margin: 4px 5px 4px 0;" ; t && ( i ? ( a . unshift ( u , r ) , e = "%c" . concat ( l , "%c " ) . concat ( e ) ) : e = "( " . concat ( l , " )" ) . concat ( e ) ) ; try { if ( i ) if ( o ) { var f ; ( f = console ) [ n ] . apply ( f , [ "" . concat ( e , " %o" ) ] . concat ( a ) ) } else { var d ; ( d = console ) [ n ] . apply ( d , [ e ] . concat ( a ) ) } else console [ n ] ( e ) } catch ( t ) { } } } Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , t . setLogLevel = function ( t ) { c . logLevel = t } , t . typeOf = d , t . isFunction = p , t . isObject = h , t . isString = function ( t ) { return "string" === d ( t ) } , t . isBoolean = fun
! function ( t , e ) { "object" == typeof exports && "object" == typeof module ? module . exports = e ( ) : "function" == typeof define && define . amd ? define ( [ ] , e ) : "object" == typeof exports ? exports . InlineCode = e ( ) : t . InlineCode = e ( ) } ( window , function ( ) { return function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var o = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var o in t ) n . d ( r , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/" , n ( n . s = 0 ) } ( [ function ( t , e , n ) { function r ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } function o ( t , e , n ) { return e && r ( t . prototype , e ) , n && r ( t , n ) , t } n ( 1 ) . toString ( ) ; var i = function ( ) { function t ( e ) { var n = e . api ; ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) , this . api = n , this . button = null , this . tag = "CODE" , this . iconClasses = { base : this . api . styles . inlineToolButton , active : this . api . styles . inlineToolButtonActive } } return o ( t , null , [ { key : "CSS" , get : function ( ) { return "inline-code" } } ] ) , o ( t , [ { key : "render" , value : function ( ) { return this . button = document . createElement ( "button" ) , this . button . type = "button" , this . button . classList . add ( this . iconClasses . base ) , this . button . innerHTML = this . toolboxIcon , this . button } } , { key : "surround" , value : function ( e ) { if ( e ) { var n = this . api . selection . findParentTag ( this . tag , t . CSS ) ; n ? this . unwrap ( n ) : this . wrap ( e ) } } } , { key : "wrap" , value : function ( e ) { var n = document . createElement ( this . tag ) ; n . classList . add ( t . CSS ) , n . appendChild ( e . extractContents ( ) ) , e . insertNode ( n ) , this . api . selection . expandToTag ( n ) } } , { key : "unwrap" , value : function ( t ) { this . api . selection . expandToTag ( t ) ; var e = window . getSelection ( ) , n = e . getRangeAt ( 0 ) , r = n . extractContents ( ) ; t . parentNode . removeChild ( t ) , n . insertNode ( r ) , e . removeAllRanges ( ) , e . addRange ( n ) } } , { key : "checkState" , value : function ( ) { var e = this . api . selection . findParentTag ( this . tag , t . CSS ) ; this . button . classList . toggle ( this . iconClasses . active , ! ! e ) } } , { key : "toolboxIcon" , get : function ( ) { return n ( 6 ) . default } } ] , [ { key : "isInline" , get : function ( ) { return ! 0 } } , { key : "sanitize" , get : function ( ) { return { code : { class : t . CSS } } } } ] ) , t } ( ) ; t . exports = i } , function ( t , e , n ) { var r = n ( 2 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) ; var o = { hmr : ! 0 , transform : void 0 , insertInto : void 0 } ; n ( 4 ) ( r , o ) ; r . locals && ( t . exports = r . locals ) } , function ( t , e , n ) { ( t . exports = n ( 3 ) ( ! 1 ) ) . push ( [ t . i , ".inline-code {\n background: rgba(250, 239, 240, 0.78);\n color: #b44437;\n padding: 3px 4px;\n border-radius: 5px;\n margin: 0 1px;\n font-family: inherit;\n font-size: 0.86em;\n font-weight: 500;\n letter-spacing: 0.3px;\n}\n" , "" ] ) } , function ( t , e ) { t . exports = function ( t ) { var e = [ ] ; return e . toString = function ( ) { return this . map ( function ( e ) { var n = function ( t , e ) { var n = t [ 1 ] || "" , r = t [ 3 ] ; if ( ! r ) return n ; if ( e && "function" == typeof btoa ) { var o = ( a = r , "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( a ) ) ) ) + " */" ) , i = r . sources . map ( function ( t ) { return "/*# sourceURL=" + r . sourceRoot + t + " */" } ) ; return [ n ] . concat ( i ) . concat ( [ o ] ) . join ( "\n" ) } var a ; return [ n ] . join ( "\n" ) } ( e , t ) ; return e [ 2 ] ? "@media " + e [ 2 ] + "{" + n + "}" : n } ) . join ( "" ) } , e . i = function ( t , n ) { "string" == typeof t && ( t = [ [ null , t , "" ] ] ) ; for ( var r = { } , o = 0 ; o < this . length ; o ++ ) { var i = this [ o ] [ 0 ] ; "number" == typeof i && ( r [ i ] = ! 0 ) } for ( o = 0 ; o < t . length ; o ++ ) { var a = t [ o ] ; "number" == typeof a [ 0 ] && r [ a [ 0 ] ] || ( n && ! a [ 2 ] ? a [ 2 ] = n : n && ( a [ 2 ] = "(" + a [ 2 ] + ") and (" + n + ")" ) , e . push ( a ) ) } } , e } } , function ( t , e , n ) {
! function ( e , t ) { "object" == typeof exports && "object" == typeof module ? module . exports = t ( ) : "function" == typeof define && define . amd ? define ( [ ] , t ) : "object" == typeof exports ? exports . Header = t ( ) : e . Header = t ( ) } ( window , ( function ( ) { return function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var i = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } return n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var i in e ) n . d ( r , i , function ( t ) { return e [ t ] } . bind ( null , i ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/" , n ( n . s = 0 ) } ( [ function ( e , t , n ) { function r ( e ) { return ( r = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function i ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } n ( 1 ) . toString ( ) ;
/ * *
* Header block for the Editor . js .
*
* @ author CodeX ( team @ ifmo . su )
* @ copyright CodeX 2018
* @ license MIT
* @ version 2.0 . 0
* /
var a = function ( ) { function e ( t ) { var n = t . data , r = t . config , i = t . api , a = t . readOnly ; ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , this . api = i , this . readOnly = a , this . _CSS = { block : this . api . styles . block , settingsButton : this . api . styles . settingsButton , settingsButtonActive : this . api . styles . settingsButtonActive , wrapper : "ce-header" } , this . _settings = r , this . _data = this . normalizeData ( n ) , this . settingsButtons = [ ] , this . _element = this . getTag ( ) } var t , a , o ; return t = e , o = [ { key : "conversionConfig" , get : function ( ) { return { export : "text" , import : "text" } } } , { key : "sanitize" , get : function ( ) { return { level : ! 1 , text : { } } } } , { key : "isReadOnlySupported" , get : function ( ) { return ! 0 } } , { key : "pasteConfig" , get : function ( ) { return { tags : [ "H1" , "H2" , "H3" , "H4" , "H5" , "H6" ] } } } , { key : "toolbox" , get : function ( ) { return { icon : n ( 6 ) . default , title : "Heading" } } } ] , ( a = [ { key : "normalizeData" , value : function ( e ) { var t = { } ; return "object" !== r ( e ) && ( e = { } ) , t . text = e . text || "" , t . level = parseInt ( e . level ) || this . defaultLevel . number , t } } , { key : "render" , value : function ( ) { return this . _element } } , { key : "renderSettings" , value : function ( ) { var e = this , t = document . createElement ( "DIV" ) ; return this . levels . length <= 1 || this . levels . forEach ( ( function ( n ) { var r = document . createElement ( "SPAN" ) ; r . classList . add ( e . _CSS . settingsButton ) , e . currentLevel . number === n . number && r . classList . add ( e . _CSS . settingsButtonActive ) , r . innerHTML = n . svg , r . dataset . level = n . number , r . addEventListener ( "click" , ( function ( ) { e . setLevel ( n . number ) } ) ) , t . appendChild ( r ) , e . settingsButtons . push ( r ) } ) ) , t } } , { key : "setLevel" , value : function ( e ) { var t = this ; this . data = { level : e , text : this . data . text } , this . settingsButtons . forEach ( ( function ( n ) { n . classList . toggle ( t . _CSS . settingsButtonActive , parseInt ( n . dataset . level ) === e ) } ) ) } } , { key : "merge" , value : function ( e ) { var t = { text : this . data . text + e . text , level : this . data . level } ; this . data = t } } , { key : "validate" , value : function ( e ) { return "" !== e . text . trim ( ) } } , { key : "save" , value : function ( e ) { return { text : e . innerHTML , level : this . currentLevel . number } } } , { key : "getTag" , value : function ( ) { var e = document . createElement ( this . currentLevel . tag ) ; return e . innerHTML = this . _data . text || "" , e . classList . add ( this . _CSS . wrapper ) , e . contentEditable = this . readOnly ? "false" : "true" , e . dataset . placeholder = this . api . i18n . t ( this . _settings . placeholder || "" ) , e } } , { key : "onPaste" , value : function ( e ) { var t = e . detail . data , n = this . defaultLevel . number ; switch ( t . tagName ) { case "H1" : n = 1 ; break ; case "H2" : n = 2 ; break ; case "H3" : n = 3 ; break ; case "H4" : n = 4 ; break ; case "H5" : n = 5 ; break ; case "H6" : n = 6 } this . _settings . levels && ( n = this . _settings . levels . reduce ( ( function ( e , t ) { return Math . abs ( t - n ) < Math . abs ( e - n ) ? t : e } ) ) ) , this . data = { level : n , text : t . innerHTML } } } , { key : "data" , get : function ( ) { return this . _data . text = this . _element . innerHTML , this . _data . level = this . currentLevel . number , this . _data } , set : function ( e ) { if ( this . _data = this . normalizeData ( e ) , void 0 !== e . level && this . _element . parentNode ) { var t = this . getTag ( ) ; t . innerHTML = this . _element . innerHTML , this . _element . parentNode . replaceChild ( t , this . _element ) , this . _element = t } void 0 !== e . text && ( this . _element . innerHTML = this . _data . text || "" ) } } , { key : "currentLevel" , get : function ( ) { var e = this , t = this . levels . find ( ( function ( t ) { return t . number === e . _data . level } ) ) ; return t || ( t = this . defaultLevel ) , t } } , { key : "defaultLevel" , get : function ( ) { var e = this ; if ( this . _settings . defaultLevel ) { var t = this . levels . find ( ( function ( t ) { return t . number === e . _settings . defaultLevel } ) ) ; if ( t ) return t ; console . warn ( "(ง'̀-'́)ง Heading Tool: the default level specified was not found in available levels" ) } return this . levels [ 1 ] } } , { key : "levels" , get : function ( ) { var e = this , t = [ { number : 1 , tag : "H1" , svg : ' < svg width = "16" height = "14" xmlns = "http://www.w3.org/2000/svg" > < path d = " M2 . 14 1.494 V4 . 98 h4 . 62 V1 . 494 c0 - . 498.098 - . 871.293 - 1.12 A . 927.927 0 0 1 7.82 0 c . 322 0 . 583.123 . 782.37 . 2.246 . 3.62 . 3 1.124 v9 . 588 c0 . 503 - . 101.88 - . 303 1.128 a . 957.957 0 0 1 - . 779.374 . 921.921 0 0 1 - . 77 - . 378 c - . 193 - . 251 - . 29 - . 626 - . 29 - 1.124 V6 . 989 H2 . 14 v4 . 093 c0 . 503 - . 1.88 - . 302 1.128 a . 957.957 0 0 1 - . 778.374 . 921.921 0 0 1 - . 772 - . 378 C . 096 11.955 0 11.58 0 11.082 V1 . 494 C0 . 996.095 . 623.285 . 374 A . 922.922 0 0 1 1.06 0 c . 321 0 . 582.123 . 782.37 . 199.246 . 299.62 . 299 1.124 zm11 . 653 9.985 V5 . 27 c - 1.279 . 887 - 2.14 1.33 -
! function ( t , e ) { "object" == typeof exports && "object" == typeof module ? module . exports = e ( ) : "function" == typeof define && define . amd ? define ( [ ] , e ) : "object" == typeof exports ? exports . SimpleImage = e ( ) : t . SimpleImage = e ( ) } ( window , function ( ) { return function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var i = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } return n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var i in t ) n . d ( r , i , function ( e ) { return t [ e ] } . bind ( null , i ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/" , n ( n . s = 0 ) } ( [ function ( t , e , n ) { function r ( t ) { return function ( t ) { if ( Array . isArray ( t ) ) { for ( var e = 0 , n = new Array ( t . length ) ; e < t . length ; e ++ ) n [ e ] = t [ e ] ; return n } } ( t ) || function ( t ) { if ( Symbol . iterator in Object ( t ) || "[object Arguments]" === Object . prototype . toString . call ( t ) ) return Array . from ( t ) } ( t ) || function ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance" ) } ( ) } function i ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } n ( 1 ) . toString ( ) ; var o = function ( ) { function t ( e ) { var n = e . data , r = ( e . config , e . api ) , i = e . readOnly ; ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) , this . api = r , this . readOnly = i , this . blockIndex = this . api . blocks . getCurrentBlockIndex ( ) + 1 , this . CSS = { baseClass : this . api . styles . block , loading : this . api . styles . loader , input : this . api . styles . input , settingsButton : this . api . styles . settingsButton , settingsButtonActive : this . api . styles . settingsButtonActive , wrapper : "cdx-simple-image" , imageHolder : "cdx-simple-image__picture" , caption : "cdx-simple-image__caption" } , this . nodes = { wrapper : null , imageHolder : null , image : null , caption : null } , this . data = { url : n . url || "" , caption : n . caption || "" , withBorder : void 0 !== n . withBorder && n . withBorder , withBackground : void 0 !== n . withBackground && n . withBackground , stretched : void 0 !== n . stretched && n . stretched } , this . settings = [ { name : "withBorder" , icon : '<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.8 10.592v2.043h2.35v2.138H15.8v2.232h-2.25v-2.232h-2.4v-2.138h2.4v-2.28h2.25v.237h1.15-1.15zM1.9 8.455v-3.42c0-1.154.985-2.09 2.2-2.09h4.2v2.137H4.15v3.373H1.9zm0 2.137h2.25v3.325H8.3v2.138H4.1c-1.215 0-2.2-.936-2.2-2.09v-3.373zm15.05-2.137H14.7V5.082h-4.15V2.945h4.2c1.215 0 2.2.936 2.2 2.09v3.42z"/></svg>' } , { name : "stretched" , icon : '<svg width="17" height="10" viewBox="0 0 17 10" xmlns="http://www.w3.org/2000/svg"><path d="M13.568 5.925H4.056l1.703 1.703a1.125 1.125 0 0 1-1.59 1.591L.962 6.014A1.069 1.069 0 0 1 .588 4.26L4.38.469a1.069 1.069 0 0 1 1.512 1.511L4.084 3.787h9.606l-1.85-1.85a1.069 1.069 0 1 1 1.512-1.51l3.792 3.791a1.069 1.069 0 0 1-.475 1.788L13.514 9.16a1.125 1.125 0 0 1-1.59-1.591l1.644-1.644z"/></svg>' } , { name : "withBackground" , icon : '<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.043 8.265l3.183-3.183h-2.924L4.75 10.636v2.923l4.15-4.15v2.351l-2.158 2.159H8.9v2.137H4.7c-1.215 0-2.2-.936-2.2-2.09v-8.93c0-1.154.985-2.09 2.2-2.09h10.663l.033-.033.034.034c1.178.04 2.12.96 2.12 2.089v3.23H15.3V5.359l-2.906 2.906h-2.35zM7.951 5.082H4.75v3.201l3.201-3.2zm5.099 7.078v3.04h4.15v-3.04h-4.15zm-1.1-2.137h6.35c.635 0 1.15.489 1.15 1.092v5.13c0 .603-.515 1.092-1.15 1.092h-6.35c-.635 0-1.15-.489-1.15-1.092v-5.13c0-.603.515-1.092 1.15-1.092z"/></svg>' } ] } var e , n , o ; return e = t , o = [ { key : "sanitize" , get : function ( ) { return { url : { } , withBorder : { } , withBackground : { } , stretched : { } , cap
! function ( t , e ) { "object" == typeof exports && "object" == typeof module ? module . exports = e ( ) : "function" == typeof define && define . amd ? define ( [ ] , e ) : "object" == typeof exports ? exports . Quote = e ( ) : t . Quote = e ( ) } ( window , function ( ) { return function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var o = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var o in t ) n . d ( r , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/" , n ( n . s = 0 ) } ( [ function ( t , e , n ) { function r ( t ) { return function ( t ) { if ( Array . isArray ( t ) ) { for ( var e = 0 , n = new Array ( t . length ) ; e < t . length ; e ++ ) n [ e ] = t [ e ] ; return n } } ( t ) || function ( t ) { if ( Symbol . iterator in Object ( t ) || "[object Arguments]" === Object . prototype . toString . call ( t ) ) return Array . from ( t ) } ( t ) || function ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance" ) } ( ) } function o ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } function i ( t , e , n ) { return e && o ( t . prototype , e ) , n && o ( t , n ) , t } n ( 1 ) . toString ( ) ; var a = function ( ) { function t ( e ) { var n = e . data , r = e . config , o = e . api , i = e . readOnly ; ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) ; var a = t . ALIGNMENTS , s = t . DEFAULT _ALIGNMENT ; this . api = o , this . readOnly = i , this . quotePlaceholder = r . quotePlaceholder || t . DEFAULT _QUOTE _PLACEHOLDER , this . captionPlaceholder = r . captionPlaceholder || t . DEFAULT _CAPTION _PLACEHOLDER , this . data = { text : n . text || "" , caption : n . caption || "" , alignment : Object . values ( a ) . includes ( n . alignment ) && n . alignment || r . defaultAlignment || s } } return i ( t , [ { key : "CSS" , get : function ( ) { return { baseClass : this . api . styles . block , wrapper : "cdx-quote" , text : "cdx-quote__text" , input : this . api . styles . input , caption : "cdx-quote__caption" , settingsWrapper : "cdx-quote-settings" , settingsButton : this . api . styles . settingsButton , settingsButtonActive : this . api . styles . settingsButtonActive } } } , { key : "settings" , get : function ( ) { return [ { name : "left" , icon : '<svg width="16" height="11" viewBox="0 0 16 11" xmlns="http://www.w3.org/2000/svg" ><path d="M1.069 0H13.33a1.069 1.069 0 0 1 0 2.138H1.07a1.069 1.069 0 1 1 0-2.138zm0 4.275H9.03a1.069 1.069 0 1 1 0 2.137H1.07a1.069 1.069 0 1 1 0-2.137zm0 4.275h9.812a1.069 1.069 0 0 1 0 2.137H1.07a1.069 1.069 0 0 1 0-2.137z" /></svg>' } , { name : "center" , icon : '<svg width="16" height="11" viewBox="0 0 16 11" xmlns="http://www.w3.org/2000/svg" ><path d="M1.069 0H13.33a1.069 1.069 0 0 1 0 2.138H1.07a1.069 1.069 0 1 1 0-2.138zm3.15 4.275h5.962a1.069 1.069 0 0 1 0 2.137H4.22a1.069 1.069 0 1 1 0-2.137zM1.069 8.55H13.33a1.069 1.069 0 0 1 0 2.137H1.07a1.069 1.069 0 0 1 0-2.137z"/></svg>' } ] } } ] , [ { key : "isReadOnlySupported" , get : function ( ) { return ! 0 } } , { key : "toolbox" , get : function ( ) { return { icon : '<svg width="15" height="14" viewBox="0 0 15 14" xmlns="http://www.w3.org/2000/svg"><path d="M13.53 6.185l.027.025a1.109 1.109 0 0 1 0 1.568l-5.644 5.644a1.109 1.109 0 1 1-1.569-1.568l4.838-4.837L6.396 2.23A1.125 1.125 0 1 1 7.986.64l5.52 5.518.025.027zm-5.815 0l.026.025a1.109 1.109 0 0 1 0 1.568l-5.644 5.644a1.109 1.109 0 1 1-1.568-1.568l4.837-4.837L.58 2.23A1.125 1.125 0 0 1 2.171.64L7.69 6.158l.025.027z" /></svg>' , title : "Quote" } } } , { key : "contentless" , get : function ( ) { return ! 0 } } , { key : "enableLineBreaks" , get : function ( ) { return ! 0 } } , { key : "DEFAULT_QUOTE_PLACEHOLDER" , get : function ( ) { return "Enter a quote" } } , { key : "DEFAULT_CAPTION_PLACEHOLDER" , get : function ( ) { return "Enter a caption" } } , { key : " ALI
! function ( e , t ) { "object" == typeof exports && "object" == typeof module ? module . exports = t ( ) : "function" == typeof define && define . amd ? define ( [ ] , t ) : "object" == typeof exports ? exports . CodeTool = t ( ) : e . CodeTool = t ( ) } ( window , ( function ( ) { return function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var o = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var o in e ) n . d ( r , o , function ( t ) { return e [ t ] } . bind ( null , o ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/" , n ( n . s = 4 ) } ( [ function ( e , t , n ) { var r = n ( 1 ) , o = n ( 2 ) ; "string" == typeof ( o = o . _ _esModule ? o . default : o ) && ( o = [ [ e . i , o , "" ] ] ) ; var a = { insert : "head" , singleton : ! 1 } ; r ( o , a ) ; e . exports = o . locals || { } } , function ( e , t , n ) { "use strict" ; var r , o = function ( ) { return void 0 === r && ( r = Boolean ( window && document && document . all && ! window . atob ) ) , r } , a = function ( ) { var e = { } ; return function ( t ) { if ( void 0 === e [ t ] ) { var n = document . querySelector ( t ) ; if ( window . HTMLIFrameElement && n instanceof window . HTMLIFrameElement ) try { n = n . contentDocument . head } catch ( e ) { n = null } e [ t ] = n } return e [ t ] } } ( ) , i = [ ] ; function c ( e ) { for ( var t = - 1 , n = 0 ; n < i . length ; n ++ ) if ( i [ n ] . identifier === e ) { t = n ; break } return t } function u ( e , t ) { for ( var n = { } , r = [ ] , o = 0 ; o < e . length ; o ++ ) { var a = e [ o ] , u = t . base ? a [ 0 ] + t . base : a [ 0 ] , s = n [ u ] || 0 , l = "" . concat ( u , " " ) . concat ( s ) ; n [ u ] = s + 1 ; var d = c ( l ) , f = { css : a [ 1 ] , media : a [ 2 ] , sourceMap : a [ 3 ] } ; - 1 !== d ? ( i [ d ] . references ++ , i [ d ] . updater ( f ) ) : i . push ( { identifier : l , updater : b ( f , t ) , references : 1 } ) , r . push ( l ) } return r } function s ( e ) { var t = document . createElement ( "style" ) , r = e . attributes || { } ; if ( void 0 === r . nonce ) { var o = n . nc ; o && ( r . nonce = o ) } if ( Object . keys ( r ) . forEach ( ( function ( e ) { t . setAttribute ( e , r [ e ] ) } ) ) , "function" == typeof e . insert ) e . insert ( t ) ; else { var i = a ( e . insert || "head" ) ; if ( ! i ) throw new Error ( "Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid." ) ; i . appendChild ( t ) } return t } var l , d = ( l = [ ] , function ( e , t ) { return l [ e ] = t , l . filter ( Boolean ) . join ( "\n" ) } ) ; function f ( e , t , n , r ) { var o = n ? "" : r . media ? "@media " . concat ( r . media , " {" ) . concat ( r . css , "}" ) : r . css ; if ( e . styleSheet ) e . styleSheet . cssText = d ( t , o ) ; else { var a = document . createTextNode ( o ) , i = e . childNodes ; i [ t ] && e . removeChild ( i [ t ] ) , i . length ? e . insertBefore ( a , i [ t ] ) : e . appendChild ( a ) } } function p ( e , t , n ) { var r = n . css , o = n . media , a = n . sourceMap ; if ( o ? e . setAttribute ( "media" , o ) : e . removeAttribute ( "media" ) , a && btoa && ( r += "\n/*# sourceMappingURL=data:application/json;base64," . concat ( btoa ( unescape ( encodeURIComponent ( JSON . stringify ( a ) ) ) ) , " */" ) ) , e . styleSheet ) e . styleSheet . cssText = r ; else { for ( ; e . firstChild ; ) e . removeChild ( e . firstChild ) ; e . appendChild ( document . createTextNode ( r ) ) } } var h = null , v = 0 ; function b ( e , t ) { var n , r , o ; if ( t . singleton ) { var a = v ++ ; n = h || ( h = s ( t ) ) , r = f . bind ( null , n , a , ! 1 ) , o = f . bind ( null , n , a , ! 0 ) } else n = s ( t ) , r = p . bind ( null , n , t ) , o = function ( ) { ! function ( e ) { if ( null === e . parentNode ) return ! 1 ; e . parentNode . removeChild ( e ) } ( n ) } ; return r ( e ) , function ( t ) { if ( t ) { if ( t . css === e . css && t . media === e . media && t . sourceMap === e . sourceMap ) return ; r ( e = t ) } else o ( ) } } e . exports = function ( e , t ) { ( t = t || { } ) . singleton || "boolean" == typeof t . singleton || ( t . singleton = o ( ) ) ; var n = u ( e = e || [ ] , t ) ; return function ( e ) { if ( e = e || [ ] , "[object Array]" === Object . prototype . toString . call ( e ) ) { for ( var r = 0 ; r < n . length ; r ++ ) { var o = c ( n [ r ] ) ; i [ o ] . references -- } for ( var a = u ( e , t ) , s = 0 ; s < n . length ; s ++ ) { var l = c ( n [ s ] ) ; 0 === i [ l ] . references && ( i [ l ] . updater ( ) , i . splice ( l , 1 ) ) } n = a } } } } , function ( e , t , n ) { ( t = n ( 3 ) ( ! 1 ) ) . push ( [ e . i , " . ce - code _ _textarea { \ n min - height : 200 px ; \ n font - family : Menlo , Monaco , Consolas , Courier New , monospace ; \ n color : # 41314 e ; \ n l
/ * *
* CodeTool for Editor . js
*
* @ author CodeX ( team @ ifmo . su )
* @ copyright CodeX 2018
* @ license MIT
* @ version 2.0 . 0
* /
var a = function ( ) { function e ( t ) { var n = t . data , r = t . config , o = t . api , a = t . readOnly ; ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , this . api = o , this . readOnly = a , this . placeholder = this . api . i18n . t ( r . placeholder || e . DEFAULT _PLACEHOLDER ) , this . CSS = { baseClass : this . api . styles . block , input : this . api . styles . input , wrapper : "ce-code" , textarea : "ce-code__textarea" } , this . nodes = { holder : null , textarea : null } , this . data = { code : n . code || "" } , this . nodes . holder = this . drawView ( ) } return o ( e , null , [ { key : "isReadOnlySupported" , get : function ( ) { return ! 0 } } , { key : "enableLineBreaks" , get : function ( ) { return ! 0 } } ] ) , o ( e , [ { key : "drawView" , value : function ( ) { var e = this , t = document . createElement ( "div" ) , n = document . createElement ( "textarea" ) ; return t . classList . add ( this . CSS . baseClass , this . CSS . wrapper ) , n . classList . add ( this . CSS . textarea , this . CSS . input ) , n . textContent = this . data . code , n . placeholder = this . placeholder , this . readOnly && ( n . disabled = ! 0 ) , t . appendChild ( n ) , n . addEventListener ( "keydown" , ( function ( t ) { switch ( t . code ) { case "Tab" : e . tabHandler ( t ) } } ) ) , this . nodes . textarea = n , t } } , { key : "render" , value : function ( ) { return this . nodes . holder } } , { key : "save" , value : function ( e ) { return { code : e . querySelector ( "textarea" ) . value } } } , { key : "onPaste" , value : function ( e ) { var t = e . detail . data ; this . data = { code : t . textContent } } } , { key : "tabHandler" , value : function ( e ) { e . stopPropagation ( ) , e . preventDefault ( ) ; var t , n = e . target , r = e . shiftKey , o = n . selectionStart , a = n . value ; if ( r ) { var i = function ( e , t ) { for ( var n = "" ; "\n" !== n && t > 0 ; ) t -= 1 , n = e . substr ( t , 1 ) ; return "\n" === n && ( t += 1 ) , t } ( a , o ) ; if ( " " !== a . substr ( i , " " . length ) ) return ; n . value = a . substring ( 0 , i ) + a . substring ( i + " " . length ) , t = o - " " . length } else t = o + " " . length , n . value = a . substring ( 0 , o ) + " " + a . substring ( o ) ; n . setSelectionRange ( t , t ) } } , { key : "data" , get : function ( ) { return this . _data } , set : function ( e ) { this . _data = e , this . nodes . textarea && ( this . nodes . textarea . textContent = e . code ) } } ] , [ { key : "toolbox" , get : function ( ) { return { icon : '<svg width="14" height="14" viewBox="0 -1 14 14" xmlns="http://www.w3.org/2000/svg" > <path d="M3.177 6.852c.205.253.347.572.427.954.078.372.117.844.117 1.417 0 .418.01.725.03.92.02.18.057.314.107.396.046.075.093.117.14.134.075.027.218.056.42.083a.855.855 0 0 1 .56.297c.145.167.215.38.215.636 0 .612-.432.934-1.216.934-.457 0-.87-.087-1.233-.262a1.995 1.995 0 0 1-.853-.751 2.09 2.09 0 0 1-.305-1.097c-.014-.648-.029-1.168-.043-1.56-.013-.383-.034-.631-.06-.733-.064-.263-.158-.455-.276-.578a2.163 2.163 0 0 0-.505-.376c-.238-.134-.41-.256-.519-.371C.058 6.76 0 6.567 0 6.315c0-.37.166-.657.493-.846.329-.186.56-.342.693-.466a.942.942 0 0 0 .26-.447c.056-.2.088-.42.097-.658.01-.25.024-.85.043-1.802.015-.629.239-1.14.672-1.522C2.691.19 3.268 0 3.977 0c.783 0 1.216.317 1.216.921 0 .264-.069.48-.211.643a.858.858 0 0 1-.563.29c-.249.03-.417.076-.498.126-.062.04-.112.134-.139.291-.031.187-.052.562-.061 1.119a8.828 8.828 0 0 1-.112 1.378 2.24 2.24 0 0 1-.404.963c-.159.212-.373.406-.64.583.25.163.454.342.612.538zm7.34 0c.157-.196.362-.375.612-.538a2.544 2.544 0 0 1-.641-.583 2.24 2.24 0 0 1-.404-.963 8.828 8.828 0 0 1-.112-1.378c-.009-.557-.03-.932-.061-1.119-.027-.157-.077-.251-.14-.29-.08-.051-.248-.096-.496-.127a.858.858 0 0 1-.564-.29C8.57 1.401 8.5 1.185 8.5.921 8.5.317 8.933 0 9.716 0c.71 0 1.286.19 1.72.574.432.382.656.893.671 1.522.02.952.033 1.553.043 1.802.009.238.041.458.097.658a.942.942 0 0 0 .26.447c.133.124.364.28.693.466a.926.926 0 0 1 .493.846c0 .252-.058.446-.183.58-.109.115-.281.237-.52.371-.21.118-.377.244-.504.376-.118.123-.212.315-.277.578-.025.102-.045.35-.06.733-.013.392-.027.912-.042 1.56a2.09 2.09 0 0 1-.305 1.097c-.2.323-.486.574-.853.75a2.811 2.811 0 0 1-1.233.263c-.784 0-1.216-.322-1.216-.934 0-.256.07-.47.214-.636a.855.855 0 0 1 .562-.297c.201-.027.344-.056.418-.083.048-.017.096-.06.14-.134a.996.996 0 0 0 .107-.396c.02-.195.031-.502.031-.92 0-.573.039-1.045.117-1.417.08-.382.222-.701.427-.954z" /> </svg>' , title : "Code" } } } , { key : "DEFAULT_PLACEHOLDER" , get : function ( ) { return "Enter a code" } } , { key : "pasteConfig" , get : function ( ) { return { tags : [ "pre" ] } } } , { key : "sanitize" , get : function ( ) { return { code : ! 0 } } } ] ) , e } ( ) } ] ) . default } ) ) ;
! function ( e , t ) { "object" == typeof exports && "object" == typeof module ? module . exports = t ( ) : "function" == typeof define && define . amd ? define ( [ ] , t ) : "object" == typeof exports ? exports . List = t ( ) : e . List = t ( ) } ( window , ( function ( ) { return function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var i = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } return n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var i in e ) n . d ( r , i , function ( t ) { return e [ t ] } . bind ( null , i ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/" , n ( n . s = 0 ) } ( [ function ( e , t , n ) { function r ( e ) { return function ( e ) { if ( Array . isArray ( e ) ) return i ( e ) } ( e ) || function ( e ) { if ( "undefined" != typeof Symbol && Symbol . iterator in Object ( e ) ) return Array . from ( e ) } ( e ) || function ( e , t ) { if ( ! e ) return ; if ( "string" == typeof e ) return i ( e , t ) ; var n = Object . prototype . toString . call ( e ) . slice ( 8 , - 1 ) ; "Object" === n && e . constructor && ( n = e . constructor . name ) ; if ( "Map" === n || "Set" === n ) return Array . from ( e ) ; if ( "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/ . test ( n ) ) return i ( e , t ) } ( e ) || function ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } ( ) } function i ( e , t ) { ( null == t || t > e . length ) && ( t = e . length ) ; for ( var n = 0 , r = new Array ( t ) ; n < t ; n ++ ) r [ n ] = e [ n ] ; return r } function a ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function o ( e , t , n ) { return t && a ( e . prototype , t ) , n && a ( e , n ) , e } n ( 1 ) . toString ( ) ; var s = function ( ) { function e ( t ) { var n = t . data , r = t . config , i = t . api , a = t . readOnly ; ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , this . _elements = { wrapper : null } , this . api = i , this . readOnly = a , this . settings = [ { name : "unordered" , title : this . api . i18n . t ( "Unordered" ) , icon : '<svg width="17" height="13" viewBox="0 0 17 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.625 4.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm0-4.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm0 9.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm-4.5-5a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25zm0-4.85a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25zm0 9.85a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25z"/></svg>' , default : "unordered" === r . defaultStyle || ! 1 } , { name : "ordered" , title : this . api . i18n . t ( "Ordered" ) , icon : ' < svg width = "17" height = "13" viewBox = "0 0 17 13" xmlns = "http://www.w3.org/2000/svg" > < path d = " M5 . 819 4.607 h9 . 362 a1 . 069 1.069 0 0 1 0 2.138 H5 . 82 a1 . 069 1.069 0 1 1 0 - 2.138 zm0 - 4.607 h9 . 362 a1 . 069 1.069 0 0 1 0 2.138 H5 . 82 a1 . 069 1.069 0 1 1 0 - 2.138 zm0 9.357 h9 . 362 a1 . 069 1.069 0 0 1 0 2.138 H5 . 82 a1 . 069 1.069 0 0 1 0 - 2.137 zM1 . 468 4.155 V1 . 33 c - . 554.404 - . 926.606 - 1.118 . 606 a . 338.338 0 0 1 - . 244 - . 104 A . 327.327 0 0 1 0 1.59 c0 - . 107.035 - . 184.105 - . 234.07 - . 05.192 - . 114.369 - . 192.264 - . 118.475 - . 243.633 - . 373.158 - . 13.298 - . 276.42 - . 438 a3 . 94 3.94 0 0 1 . 238 - . 298 C1 . 802.019 1.872 0 1.975 0 c . 115 0 . 208.042 . 277.127 . 07.085 . 105.202 . 105.351 v3 . 556 c0 . 416 - . 15.624 - . 448.624 a . 421.421 0 0 1 - . 32 - . 127 c - . 08 - . 085 - . 121 - . 21 - . 121 - . 376 zm - . 283 6.664 h1 . 572 c . 156 0 . 275.03 . 358.091 a . 294.294 0 0 1 . 123.25 . 323.323 0 0 1 - . 098.238 c - . 065.065 - . 164.097 - . 296.097 H . 629 a . 494.494 0 0 1 - . 353 - . 119.372 . 372 0 0 1 - . 126 - . 28 c0 - . 068.027 - . 16.081 - . 273 a . 977.977 0 0 1 . 178 - . 268 c . 267 - . 264.507 - . 49.722 - . 678.215 - . 188.368 - . 312.46 - . 371.165 - . 11.302 - . 222.412 - . 334.109 - . 112.192 - . 226.25 - . 344 a . 786.786 0 0 0 . 085 - . 345.6 . 6 0 0 0 - . 341 - . 553.75 . 75 0
! function ( e , t ) { "object" == typeof exports && "object" == typeof module ? module . exports = t ( ) : "function" == typeof define && define . amd ? define ( [ ] , t ) : "object" == typeof exports ? exports . Delimiter = t ( ) : e . Delimiter = t ( ) } ( window , function ( ) { return function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var o = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var o in e ) n . d ( r , o , function ( t ) { return e [ t ] } . bind ( null , o ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/" , n ( n . s = 0 ) } ( [ function ( e , t , n ) { function r ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function o ( e , t , n ) { return t && r ( e . prototype , t ) , n && r ( e , n ) , e } n ( 1 ) . toString ( ) ;
/ * *
* Delimiter Block for the Editor . js .
*
* @ author CodeX ( team @ ifmo . su )
* @ copyright CodeX 2018
* @ license The MIT License ( MIT )
* @ version 2.0 . 0
* /
var i = function ( ) { function e ( t ) { var n = t . data , r = ( t . config , t . api ) ; ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , this . api = r , this . _CSS = { block : this . api . styles . block , wrapper : "ce-delimiter" } , this . _data = { } , this . _element = this . drawView ( ) , this . data = n } return o ( e , null , [ { key : "isReadOnlySupported" , get : function ( ) { return ! 0 } } , { key : "contentless" , get : function ( ) { return ! 0 } } ] ) , o ( e , [ { key : "drawView" , value : function ( ) { var e = document . createElement ( "DIV" ) ; return e . classList . add ( this . _CSS . wrapper , this . _CSS . block ) , e } } , { key : "render" , value : function ( ) { return this . _element } } , { key : "save" , value : function ( e ) { return { } } } ] , [ { key : "toolbox" , get : function ( ) { return { icon : '<svg width="19" height="4" viewBox="0 0 19 4" xmlns="http://www.w3.org/2000/svg"><path d="M1.25 0H7a1.25 1.25 0 1 1 0 2.5H1.25a1.25 1.25 0 1 1 0-2.5zM11 0h5.75a1.25 1.25 0 0 1 0 2.5H11A1.25 1.25 0 0 1 11 0z"/></svg>' , title : "Delimiter" } } } ] ) , e } ( ) ; e . exports = i } , function ( e , t , n ) { var r = n ( 2 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) ; var o = { hmr : ! 0 , transform : void 0 , insertInto : void 0 } ; n ( 4 ) ( r , o ) ; r . locals && ( e . exports = r . locals ) } , function ( e , t , n ) { ( e . exports = n ( 3 ) ( ! 1 ) ) . push ( [ e . i , '.ce-delimiter {\n line-height: 1.6em;\n width: 100%;\n text-align: center;\n}\n\n.ce-delimiter:before {\n display: inline-block;\n content: "***";\n font-size: 30px;\n line-height: 65px;\n height: 30px;\n letter-spacing: 0.2em;\n}' , "" ] ) } , function ( e , t ) { e . exports = function ( e ) { var t = [ ] ; return t . toString = function ( ) { return this . map ( function ( t ) { var n = function ( e , t ) { var n = e [ 1 ] || "" , r = e [ 3 ] ; if ( ! r ) return n ; if ( t && "function" == typeof btoa ) { var o = ( a = r , "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( a ) ) ) ) + " */" ) , i = r . sources . map ( function ( e ) { return "/*# sourceURL=" + r . sourceRoot + e + " */" } ) ; return [ n ] . concat ( i ) . concat ( [ o ] ) . join ( "\n" ) } var a ; return [ n ] . join ( "\n" ) } ( t , e ) ; return t [ 2 ] ? "@media " + t [ 2 ] + "{" + n + "}" : n } ) . join ( "" ) } , t . i = function ( e , n ) { "string" == typeof e && ( e = [ [ null , e , "" ] ] ) ; for ( var r = { } , o = 0 ; o < this . length ; o ++ ) { var i = this [ o ] [ 0 ] ; "number" == typeof i && ( r [ i ] = ! 0 ) } for ( o = 0 ; o < e . length ; o ++ ) { var a = e [ o ] ; "number" == typeof a [ 0 ] && r [ a [ 0 ] ] || ( n && ! a [ 2 ] ? a [ 2 ] = n : n && ( a [ 2 ] = "(" + a [ 2 ] + ") and (" + n + ")" ) , t . push ( a ) ) } } , t } } , function ( e , t , n ) { var r , o , i = { } , a = ( r = function ( ) { return window && document && document . all && ! window . atob } , function ( ) { return void 0 === o && ( o = r . apply ( this , arguments ) ) , o } ) , s = function ( e ) { var t = { } ; return function ( e ) { if ( "function" == typeof e ) return e ( ) ; if ( void 0 === t [ e ] ) { var n = function ( e ) { return document . querySelector ( e ) } . call ( this , e ) ; if ( window . HTMLIFrameElement && n instanceof window . HTMLIFrameElement ) try { n = n . contentDocument . head } catch ( e ) { n = null } t [ e ] = n } return t [ e ] } } ( ) , u = null , c = 0 , f = [ ] , l = n ( 5 ) ; function p ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] , o = i [ r . id ] ; if ( o ) { o . refs ++ ; for ( var a = 0 ; a < o . parts . length ; a ++ ) o . parts [ a ] ( r . parts [ a ] ) ; for ( ; a < r . parts . length ; a ++ ) o . parts . push ( m ( r . parts [ a ] , t ) ) } else { var s = [ ] ; for ( a = 0 ; a < r . parts . length ; a ++ ) s . push ( m ( r . parts [ a ] , t ) ) ; i [ r . id ] = { id : r . id , refs : 1 , parts : s } } } } function d ( e , t ) { for ( var n = [ ] , r = { } , o = 0 ; o < e . length ; o ++ ) { var i = e [ o ] , a = t . base ? i [ 0 ] + t . base : i [ 0 ] , s = { css : i [ 1 ] , media : i [ 2 ] , sourceMap : i [ 3 ] } ; r [ a ] ? r [ a ] . parts . push ( s ) : n . push ( r [ a ] = { id : a , parts : [ s ] } ) } return n } function h ( e , t ) { var n = s ( e . insertInto ) ; if ( ! n ) throw new Error ( "Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid." ) ; var r = f [ f . length - 1 ] ; if ( "top" === e . insertAt ) r ? r . nextSibling ? n . insertBefore ( t , r . nextSibling ) : n . appendChild ( t ) : n . insertBefore ( t , n . firstChild ) , f . push ( t ) ; else if ( "bottom" === e . insertAt ) n . appendChild ( t ) ; else { if ( "object" != typeof e . insertAt || ! e . insertAt . before ) throw new Error ( "[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n" ) ; var o = s ( e . insertInto + " " + e . insertAt . before ) ; n . insertBefore ( t , o ) } } function v ( e ) { if ( null === e . parentNode ) return ! 1 ; e . parentNode . removeChild ( e ) ; var t = f . indexOf ( e ) ; t >= 0 && f . splice ( t , 1 ) } function b ( e ) { var t = document . createElement ( "style" ) ; return void 0 === e . attrs . type && ( e . attrs . type = " text / cs
! function ( e , t ) { "object" == typeof exports && "object" == typeof module ? module . exports = t ( ) : "function" == typeof define && define . amd ? define ( [ ] , t ) : "object" == typeof exports ? exports . RawTool = t ( ) : e . RawTool = t ( ) } ( window , ( function ( ) { return function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var o = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var o in e ) n . d ( r , o , function ( t ) { return e [ t ] } . bind ( null , o ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/" , n ( n . s = 0 ) } ( [ function ( e , t , n ) { "use strict" ; n . r ( t ) , n . d ( t , "default" , ( function ( ) { return i } ) ) ; n ( 1 ) ; function r ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function o ( e , t , n ) { return t && r ( e . prototype , t ) , n && r ( e , n ) , e }
/ * *
* Raw HTML Tool for CodeX Editor
*
* @ author CodeX ( team @ codex . so )
* @ copyright CodeX 2018
* @ license The MIT License ( MIT )
* / v a r i = f u n c t i o n ( ) { f u n c t i o n e ( t ) { v a r n = t . d a t a , r = t . c o n f i g , o = t . a p i , i = t . r e a d O n l y ; ! f u n c t i o n ( e , t ) { i f ( ! ( e i n s t a n c e o f t ) ) t h r o w n e w T y p e E r r o r ( " C a n n o t c a l l a c l a s s a s a f u n c t i o n " ) } ( t h i s , e ) , t h i s . a p i = o , t h i s . r e a d O n l y = i , t h i s . p l a c e h o l d e r = r . p l a c e h o l d e r | | e . D E F A U L T _ P L A C E H O L D E R , t h i s . C S S = { b a s e C l a s s : t h i s . a p i . s t y l e s . b l o c k , i n p u t : t h i s . a p i . s t y l e s . i n p u t , w r a p p e r : " c e - r a w t o o l " , t e x t a r e a : " c e - r a w t o o l _ _ t e x t a r e a " } , t h i s . d a t a = { h t m l : n . h t m l | | " " } , t h i s . t e x t a r e a = n u l l , t h i s . r e s i z e D e b o u n c e = n u l l } r e t u r n o ( e , n u l l , [ { k e y : " i s R e a d O n l y S u p p o r t e d " , g e t : f u n c t i o n ( ) { r e t u r n ! 0 } } , { k e y : " d i s p l a y I n T o o l b o x " , g e t : f u n c t i o n ( ) { r e t u r n ! 0 } } , { k e y : " e n a b l e L i n e B r e a k s " , g e t : f u n c t i o n ( ) { r e t u r n ! 0 } } , { k e y : " t o o l b o x " , g e t : f u n c t i o n ( ) { r e t u r n { i c o n : ' < s v g w i d t h = " 1 9 " h e i g h t = " 1 3 " v i e w B o x = " 0 0 1 9 1 3 " > < p a t h d = " M 1 8 . 0 0 4 5 . 7 9 4 c . 2 4 . 4 2 2 . 1 8 . 9 6 8 - . 1 8 1 . 3 2 8 l - 4 . 9 4 3 4 . 9 4 3 a 1 . 1 0 5 1 . 1 0 5 0 1 1 - 1 . 5 6 2 - 1 . 5 6 2 l 4 . 1 6 2 - 4 . 1 6 2 - 4 . 1 0 3 - 4 . 1 0 3 A 1 . 1 2 5 1 . 1 2 5 0 1 1 1 2 . 9 7 . 6 4 8 l 4 . 7 9 6 4 . 7 9 6 c . 1 0 4 . 1 0 4 . 1 8 4 . 2 2 3 . 2 3 9 . 3 5 z m - 1 5 . 1 4 2 . 5 4 7 l 4 . 1 6 2 4 . 1 6 2 a 1 . 1 0 5 1 . 1 0 5 0 1 1 - 1 . 5 6 2 1 . 5 6 2 L . 5 1 9 7 . 1 2 2 c - . 3 6 - . 3 6 - . 4 2 - . 9 0 6 - . 1 8 - 1 . 3 2 8 a 1 . 1 3 1 . 1 3 0 0 1 . 2 3 9 - . 3 5 L 5 . 3 7 4 . 6 4 7 a 1 . 1 2 5 1 . 1 2 5 0 0 1 1 . 5 9 1 1 . 5 9 1 L 2 . 8 6 2 6 . 3 4 1 z " / > < / s v g > ' , t i t l e : " R a w H T M L " } } } ] ) , o ( e , [ { k e y : " r e n d e r " , v a l u e : f u n c t i o n ( ) { v a r e = t h i s , t = d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ; r e t u r n t h i s . t e x t a r e a = d o c u m e n t . c r e a t e E l e m e n t ( " t e x t a r e a " ) , t . c l a s s L i s t . a d d ( t h i s . C S S . b a s e C l a s s , t h i s . C S S . w r a p p e r ) , t h i s . t e x t a r e a . c l a s s L i s t . a d d ( t h i s . C S S . t e x t a r e a , t h i s . C S S . i n p u t ) , t h i s . t e x t a r e a . t e x t C o n t e n t = t h i s . d a t a . h t m l , t h i s . t e x t a r e a . p l a c e h o l d e r = t h i s . p l a c e h o l d e r , t h i s . r e a d O n l y ? t h i s . t e x t a r e a . d i s a b l e d = ! 0 : t h i s . t e x t a r e a . a d d E v e n t L i s t e n e r ( " i n p u t " , ( f u n c t i o n ( ) { e . o n I n p u t ( ) } ) ) , t . a p p e n d C h i l d ( t h i s . t e x t a r e a ) , s e t T i m e o u t ( ( f u n c t i o n ( ) { e . r e s i z e ( ) } ) , 1 0 0 ) , t } } , { k e y : " s a v e " , v a l u e : f u n c t i o n ( e ) { r e t u r n { h t m l : e . q u e r y S e l e c t o r ( " t e x t a r e a " ) . v a l u e } } } , { k e y : " o n I n p u t " , v a l u e : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . r e s i z e D e b o u n c e & & c l e a r T i m e o u t ( t h i s . r e s i z e D e b o u n c e ) , t h i s . r e s i z e D e b o u n c e = s e t T i m e o u t ( ( f u n c t i o n ( ) { e . r e s i z e ( ) } ) , 2 0 0 ) } } , { k e y : " r e s i z e " , v a l u e : f u n c t i o n ( ) { t h i s . t e x t a r e a . s t y l e . h e i g h t = " a u t o " , t h i s . t e x t a r e a . s t y l e . h e i g h t = t h i s . t e x t a r e a . s c r o l l H e i g h t + " p x " } } ] , [ { k e y : " D E F A U L T _ P L A C E H O L D E R " , g e t : f u n c t i o n ( ) { r e t u r n " E n t e r H T M L c o d e " } } , { k e y : " s a n i t i z e " , g e t : f u n c t i o n ( ) { r e t u r n { h t m l : ! 0 } } } ] ) , e } ( ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) ; v a r o = { h m r : ! 0 , t r a n s f o r m : v o i d 0 , i n s e r t I n t o : v o i d 0 } ; n ( 4 ) ( r , o ) ; r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) } , f u n c t i o n ( e , t , n ) { ( e . e x p o r t s = n ( 3 ) ( ! 1 ) ) . p u s h ( [ e . i , " . c e - r a w t o o l _ _ t e x t a r e a { \ n m i n - h e i g h t : 2 0 0 p x ; \ n r e s i z e : v e r t i c a l ; \ n b o r d e r - r a d i u s : 8 p x ; \ n b o r d e r : 0 ; \ n b a c k g r o u n d - c o l o r : # 1 e 2 1 2 8 ; \ n f o n t - f a m i l y : M e n l o , M o n a c o , C o n s o l a s , C o u r i e r N e w , m o n o s p a c e ; \ n f o n t - s i z e : 1 2 p x ; \ n l i n e - h e i g h t : 1 . 6 ; \ n l e t t e r - s p a c i n g : - 0 . 2 p x ; \ n c o l o r : # a 1 a 7 b 6 ; \ n o v e r s c r o l l - b e h a v i o r : c o n t a i n ; \ n } \ n " , " " ] ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { v a r t = [ ] ; r e t u r n t . t o S t r i n g = f u n c t i o n ( ) { r e t u r n t h i s . m a p ( ( f u n c t i o n ( t ) { v a r n = f u n c t i o n ( e , t ) { v a r n = e [ 1 ] | | " " , r = e [ 3 ] ; i f ( ! r ) r e t u r n n ; i f ( t & & " f u n c t i o n " = = t y p e o f b t o a ) { v a r o = ( a = r , " / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; c h a r s e t = u t f - 8 ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( a ) ) ) ) + " * / " ) , i = r . s o u r c e s . m a p ( ( f u n c t i o n ( e ) { r e t u r n " / * # s o u r c e U R L = " + r . s o u r c e R o o t + e + " * / " } ) ) ; r e t u r n [ n ] . c o n c a t ( i ) . c o n c a t ( [ o ] ) . j o i n ( " \ n " ) } v a r a ; r e t u r n [ n ] . j o i n ( " \ n " ) } ( t , e ) ; r e t u r n t [ 2 ] ? " @ m e d i a " + t [ 2 ] + " { " + n + " } " : n } ) ) . j o i n ( " " ) } , t . i = f u n c t i o n ( e , n ) { " s t r i n g " = = t y p e o f e & & ( e = [ [ n u l l , e , " " ] ] ) ; f o r ( v a r r = { } , o = 0 ; o < t h i s . l e n g t h ; o + + ) { v a r i = t h i s [ o ] [ 0 ] ; " n u m b e r " = = t y p e o f i & & ( r [ i ] = ! 0 ) } f o r ( o = 0 ; o < e . l e n g t h ; o + + ) { v a r a = e [ o ] ; " n u m b e r " = = t y p e o f a [ 0 ] & & r [ a [ 0 ] ] | | ( n & & ! a [ 2 ] ? a [ 2 ] = n : n & & ( a [ 2 ] = " ( " + a [ 2 ] + " ) a n d ( " + n + " ) " ) , t . p u s h ( a ) ) } } , t } } , f u n c t i o n ( e , t , n ) { v a r r , o , i = { } , a = ( r = f u n c t i o n ( ) { r e t u r n w i n d o w & & d o c u m e n t & & d o c u m e n t . a l l & & ! w i n d o w . a t o b } , f u n c t i o n ( ) { r e t u r n v o i d 0 = = = o & & ( o = r . a p p l y ( t h i s , a r g u m e n t s ) ) , o } ) , s = f u n c t i o n ( e ) { r e t u r n d o c u m e n t . q u e r y S e l e c t o r ( e ) } , u = f u n c t i o n ( e ) { v a r t = { } ; r e t u r n f u n c t i o n ( e ) { i f ( " f u n c t i o n " = = t y p e o f e ) r e t u r n e ( ) ; i f ( v o i d 0 = = = t [ e ] ) { v a r n = s . c a l l ( t h i s , e ) ; i f ( w i n d o w . H T M L I F r a m e E l e m e n t & & n i n s t a n c e o f w i n d o w . H T M L I F r a m e E l e m e n t ) t r y { n = n . c o n t e n t D o c u m e n t . h e a d } c a t c h ( e ) { n = n u l l } t [ e ] = n } r e t u r n t [ e ] } } ( ) , c = n u l l , l = 0 , f = [ ] , p = n ( 5 ) ; f u n c t i o n d ( e , t ) { f o r ( v a r n = 0 ; n < e . l e n g t h ; n + + ) { v a r r = e [ n ] , o = i [ r . i d ] ; i f ( o ) { o . r e f s + + ; f o r ( v a r a = 0 ; a < o . p a r t s . l e n g t h ; a + + ) o . p a r t s [ a ] ( r . p a r t s [ a ] ) ; f o r ( ; a < r . p a r t s . l e n g t h ; a +