Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/ui/bbcode/model/dist/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/ui/bbcode/model/dist/model.bundle.map.js |
{"version":3,"file":"model.bundle.map.js","names":["this","BX","UI","exports","ui_bbcode_encoder","main_core","getByIndex","array","index","Type","isArray","TypeError","isInteger","preparedIndex","length","privateMap","WeakMap","nameSymbol","Symbol","BBCodeNode","constructor","options","children","set","delayedChildren","setName","name","get","scheme","setParent","parent","setChildren","ELEMENT_NODE","TEXT_NODE","ROOT_NODE","FRAGMENT_NODE","static","node","property","value","enumerable","Object","defineProperty","writable","configurable","isArrayFilled","flatMap","getType","getChildren","setScheme","onUnknown","getScheme","getTagScheme","getName","getEncoder","prepareCase","currentCase","getOutputTagCase","toUpperCase","toLowerCase","isString","getDisplayedName","mounted","hasParent","onNodeDidMount","getParent","type","Boolean","remove","removeChild","appendChild","getLastChild","getLastChildOfType","reverse","find","getLastChildOfName","getFirstChild","getFirstChildOfType","getFirstChildOfName","getPreviewsSibling","parentChildren","currentIndex","indexOf","getPreviewsSiblings","filter","child","getNextSibling","getNextSiblings","getChildrenCount","hasChildren","isEmpty","adjustChildren","setDelayedChildren","addDelayedChildren","getDelayedChildren","hasDelayedChildren","flattenedChildren","flattenChildren","forEach","push","prependChild","unshift","insertBefore","nodes","currentNodeIndex","deleteCount","splice","insertAfter","startIndex","propagateChild","includes","reduce","acc","replaceChild","targetNode","map","replace","clone","deep","createNode","toPlainText","join","getTextContent","getPlainTextLength","removePreviewsSiblings","previewsSiblings","sibling","removeNextSiblings","nextSiblings","findByTextIndex","endIndex","flattenAst","getLength","split","offset","byWord","plainTextLength","leftTree","tree","leftNode","rightNode","rightTree","ast","flat","traverse","toJSON","voidSymbol","BBCodeElementNode","super","attributes","tagScheme","isVoid","setValue","setAttributes","isAllowedTag","filterChildren","filteredChildren","resolved","unresolved","isChildAllowed","convertChildren","childConverter","getChildConverter","isNumber","isBoolean","getValue","canBeEmpty","hasGroup","groupName","isPlainObject","entries","key","fromEntries","setAttribute","isStringFilled","preparedName","isNil","getAttribute","getAttributes","convertedChildren","isAllowedUnresolvedNodesHoisting","toStringValue","encodedValue","encodeAttribute","toStringAttributes","attrValue","preparedKey","getContent","toString","getOpeningTag","displayedName","tagValue","formattedAttributes","getClosingTag","createElement","void","splitByChildIndex","childrenCount","leftChildren","childIndex","rightChildren","stringifier","getStringifier","isFunction","openingTag","content","closingTag","BBCodeRootNode","makeNonEnumerableProperty","freezeProperty","createRoot","BBCodeFragmentNode","createFragment","contentSymbol","BBCodeTextNode","nodeOptions","setContent","isTextNodeContent","String","createText","sourceOffset","contentLength","lastIndex","lastIndexOf","slice","encodeText","BBCodeNewLineNode","createNewLine","BBCodeTabNode","createTab","BBCodeNodeScheme","group","serializer","allowedIn","setGroup","setAllowedIn","setStringifier","stringify","setSerializer","serialize","removeName","names","removeGroup","groups","getGroup","isNull","getSerializer","allowedParents","getAllowedIn","isAllowedIn","tagName","canBeEmptySymbol","voidSymbol$1","BBCodeTagScheme","allowedChildren","setVoid","setCanBeEmpty","setChildConverter","convertChild","setAllowedChildren","isAllowNewlineBeforeOpeningTag","previewsSibling","isAllowNewlineAfterOpeningTag","firstChild","isAllowNewlineBeforeClosingTag","lastChild","isAllowNewlineAfterClosingTag","nextSibling","converter","getAllowedChildren","BBCodeScheme","isObject","tagSchemes","outputTagCase","Case","LOWER","unresolvedNodesHoisting","encoder","BBCodeEncoder","setTagSchemes","setOutputTagCase","setUnresolvedNodesHoisting","setEncoder","invalidSchemeIndex","findIndex","isNodeScheme","setTagScheme","newTagSchemesNames","currentTagSchemes","getTagSchemes","filteredCurrentTagSchemes","getTagName","tagCase","allowedCases","values","getAllowedTags","allowedTags","isElement","isRoot","isFragment","isAnyText","isText","isNewLine","isTab","getParentChildMap","Map","schemeNames","has","Set","aliases","entry","newEntry","parentName","childName","parentChildMap","parentMap","childMap","size","some","preparedOptions","UPPER","BBCodeTextScheme","BBCodeNewLineScheme","BBCodeTabScheme","DefaultBBCodeScheme","defaultBlockStringifier","trim","fileTag","BBCode"],"sources":["model.bundle.js"],"mappings":"AACAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,GAAKF,KAAKC,GAAGC,IAAM,CAAC,GAC3B,SAAUC,EAAQC,EAAkBC,GACpC,aAEA,SAASC,EAAWC,EAAOC,GACzB,IAAKH,EAAUI,KAAKC,QAAQH,GAAQ,CAClC,MAAM,IAAII,UAAU,uBACtB,CACA,IAAKN,EAAUI,KAAKG,UAAUJ,GAAQ,CACpC,MAAM,IAAIG,UAAU,yBACtB,CACA,MAAME,EAAgBL,EAAQ,EAAID,EAAMO,OAASN,EAAQA,EACzD,OAAOD,EAAMM,EACf,CAEA,MAAME,EAAa,IAAIC,QACvB,MAAMC,EAAaC,OAAO,QAC1B,MAAMC,EACJC,YAAYC,EAAU,CAAC,GACrBrB,KAAKiB,GAAc,WACnBjB,KAAKsB,SAAW,GAChBP,EAAWQ,IAAIvB,KAAM,CACnBwB,gBAAiB,KAEnBxB,KAAKyB,QAAQJ,EAAQK,MACrBX,EAAWY,IAAI3B,MAAM4B,OAASP,EAAQO,OACtC5B,KAAK6B,UAAUR,EAAQS,QACvB9B,KAAK+B,YAAYV,EAAQC,SAC3B,CACWU,0BACT,OAAO,CACT,CACWC,uBACT,OAAO,CACT,CACWC,uBACT,OAAO,CACT,CACWC,2BACT,OAAO,CACT,CACAC,sBAAsBC,EAAMC,EAAUC,EAAOC,EAAa,MACxDC,OAAOC,eAAeL,EAAMC,EAAU,CACpCC,QACAI,SAAU,MACVC,aAAc,MACdJ,cAEJ,CACAJ,iCAAiCC,EAAMC,GACrCG,OAAOC,eAAeL,EAAMC,EAAU,CACpCK,SAAU,MACVH,WAAY,MACZI,aAAc,OAElB,CACAR,uBAAuBd,GACrB,GAAIjB,EAAUI,KAAKoC,cAAcvB,GAAW,CAC1C,OAAOA,EAASwB,SAAQT,IACtB,GAAIA,EAAKU,YAAc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