text: {"version":3,"sources":["block.js"],"names":["BX","namespace","deepFreeze","Landing","Utils","style","insertAfter","insertBefore","append","isPlainObject","isBoolean","isNumber","isString","isArray","isEmpty","addClass","removeClass","hasClass","toggleClass","create","debounce","throttle","fireCustomEvent","onCustomEvent","bind","unbind","getClass","rect","setTextContent","translateY","nextSibling","prevSibling","join","slice","decodeDataValue","encodeDataValue","data","attr","removePanels","getCSSSelector","remove","clone","trim","prepend","random","htmlToElement","proxy","escapeText","isValidElementId","BaseCollection","Collection","NodeCollection","FormCollection","UI","CardCollection","PanelCollection","BaseButtonPanel","Panel","CardActionPanel","CardAction","ContentEditPanel","ContentEdit","BaseButton","Button","ActionButton","PlusButton","Plus","CardActionButton","StyleFactory","Factory","BaseForm","Form","StyleForm","CardForm","CardsForm","Group","BlockEvent","Event","Block","TabCard","Card","DynamicFieldsGroup","ACCESS_D","ACCESS_V","ACCESS_W","ACCESS_X","getTypeSettings","prop","lp","Main","getInstance","options","isGroup","getGroupTypes","group","showButtonLoader","button","loader","Loader","target","layout","size","querySelector","show","text","hideButtonLoader","hide","isNodeSelector","selector","includes","onBlockInitDebounced","PageObject","getBlocks","forEach","block","adjustSortButtonsState","element","this","node","parent","parentElement","content","firstElementChild","siteId","lid","id","parseInt","repoId","active","allowedByTariff","manifest","nodes","cards","attrs","onStyleInputWithDebounce","onStyleInput","changeTimeout","php","designed","access","anchor","savedAnchor","requiredUserActionOptions","requiredUserAction","dynamicParams","panels","groups","changedNodes","styles","forms","menu","showRequiredUserAction","requiredUserActionIsShown","onEditorEnabled","onEditorDisabled","adjustPanelsPosition","onMouseMove","onStorage","onBlockRemove","classList","state","initPanels","initStyles","initMenu","adjustContextSensitivityStyles","envOptions","Env","getOptions","specialType","isDefaultCrmFormBlock","showOptions","formId","formEditorData","formOptions","getCrmFormOptions","showWithOptions","uri","Uri","window","top","location","toString","Text","toBoolean","getQueryParam","FormSettingsPanel","push","eventData","createEvent","storage","BlockCollection","prototype","initEntities","lazyInitPanels","getBlockNode","isAllowedByTariff","innerHTML","header","description","href","onClick","className","event","preventDefault","evalGlobal","err","console","error","disableLinks","items","querySelectorAll","item","isChildOfNode","some","contains","isMenuItem","root","getByNode","pointerEvents","selectors","Object","keys","needAdjust","filter","type","indexOf","columnsSettings","styleNode","get","setIsSelectGroup","setValue","unsetIsSelectGroupFlag","blockStyleNode","saveStyles","forceInit","card","onForceInit","initCards","initNodes","initGroups","entries","map","entry","code","value","Menu","initCardsLabels","label","createCardLabel","groupsIds","groupId","reduce","accumulator","nodeIndex","split","key","add","name","onGroupClick","StylePanel","isShown","showContentPanel","compact","nodesOnly","showAll","hideCheckbox","createPanel","addButton","Loc","getMessage","addBlockAfterThis","addPanel","isCrmFormPage","createBeforePanel","addBlockBeforeThis","buttons","on","onCreateButtonMouseover","onCreateButtonMouseout","isLastChildInArea","areas","getLayoutAreas","length","addBlockPanel","setText","clearTimeout","fadeTimeout","setTimeout","area","isInSidebar","closest","initSidebarActionPanel","sidebarActionsPanel","onShowSidebarActionsClick","bindElement","sidebarActionsMenu","MenuManager","angle","position","offset","offsetTop","offsetLeft","events","onPopupClose","deactivate","MenuItem","onclick","onShowContentPanel","close","onStyleShow","isCrmFormBlock","onDesignerBlockClick","delimiter","allPlacements","placements","blocks","placementsList","getRootWindow","rest","AppLayout","codes","i","c","MessageInterface","initializePlacement","refreshBlock","params","cb","reload","then","placement","title","onPlacementClick","moveDown","moveUp","isEnabled","onStateChange","onCutBlock","onCopyBlock","localStorage","landingBlockName","landingBlockId","onPasteBlock","showSliderFeedbackForm","blockName","blockCode","blockSection","section","landingId","saveBlock","deleteBlock","contentPanel","html","onCollapseActionPanel","separate","disabled","onPlacementButtonClick","blockDisplay","onBlockDisplayMouseenter","onBlockDisplayMouseleave","blockPanel","getBlockFromRepository","restricted","restrictedButton","onRestrictedButtonClick","onRestrictedButtonMouseenter","onRestrictedButtonMouseleave","showBlockActionsMenu","categories","category","find","categoryId","openApplication","app_id","ID","CODE","LID","PLACEMENT","PLACEMENT_ID","blockPlacementsActionsMenu","activate","blockActionButton","blockActionMenuId","menuItems","PopupMenuWindow","oldContent","Backend","action","editMode","response","sliderUrl","sef_url","replace","SidePanel","Instance","open","cacheable","allowChangeHistory","requestMethod","customLeftBoundary","onClose","newContent","History","Entry","command","undo","redo","metrika","Metrika","sendLabel","showSaveBlock","displayBlockTimer","Tool","Suggest","currentTarget","props","outerHTML","getBlockDisplayItems","createItem","mod","children","toUpperCase","result","appendChild","blockRect","contentActionsPanel","blockActionsPanel","height","blockActionsMenu","getMenuItem","setAttribute","useSmallOffset","landing","onPopupShow","EventEmitter","emit","preventHistory","prev","current","Promise","all","transform","transition","next","panel","getBlockFormId","formScriptNode","Type","isDomNode","Dom","isStringFilled","parsedFormId","instanceId","formUid","previousSibling","firstChild","formNode","useAllowed","primaryMatcher","designOptions","primaryColor","document","documentElement","color","match","design","capitalize","rootWindow","resolve","Runtime","loadExtension","EditorPanel","disable","enable","getLayout","labelSelectors","concat","cardNodes","currentNode","labelNode","currentLabel","Node","getValue","innerText","getField","Link","Icon","Img","src","clear","forEachCard","index","cardSelector","isDynamicCards","allowInlineEdit","instance","cardAction","stopPropagation","sync","syncedSelectors","currentSyncSelector","cloneCard","removeCard","sortIndex","adjustCardRemoveButton","sort","a","b","getIndex","getBySelector","cloneButton","requestData","queryParams","self","clonedCard","containerSelector","parentNode","clonedCardEntity","container","catch","reject","removeButton","afterEvent","lastCardInCollection","addCard","settings","targetCard","callback","cardSelectors","apply","forEachNodeElements","nodeSelector","handler","presetNode","disallowField","presetId","dataset","cardPreset","matches","presets","disallow","isDisallow","disallowSelector","isDynamic","currentCard","cardCode","isCardNode","onChange","onNodeChange","onChangeOptions","onNodeOptionsChange","onAttributeChange","onDesignShow","showStylePanel","uploadParams","hidden","requestBody","formName","compactMode","subTitle","footer","onContentSave","onContentCancel","Color","LIGHT_BORDER","round","render","right","getRestrictedMessage","tmpContent","preset","getEditForms","form","appendForm","lastBlockState","fetchRequestData","createHistoryEntry","newState","states","undoState","redoState","updateContent","updatePromise","replaceAll","reloadPromise","updateBlockState","currentState","applyMenuChanges","applyContentChanges","applyCardsChanges","applyAttributeChanges","applySettingsChanges","saveChanges","warn","contentForms","fetchFields","field","tag","onChangeTag","formSelector","acc","getPostfix","expandTypeGroups","types","groupType","createStyleForm","isBlock","styleFactory","frame","postfix","iframe","typeSettings","createField","makeRelativeSelector","property","multiple","pseudoElement","pseudoClass","subtype","help","onReset","saveHistory","oldValue","newValue","affect","exclude","fields","reset","getValueForHistory","JSON","stringify","getNode","repo","createElement","display","body","targetNode","targetSelector","getElementIndex","getTargetElement","fakeStyleNode","Style","relativeSelector","initFieldByStyleNode","resetStyleValue","resetClasses","currStyleValue","currIndex","setInlineProperty","getInlineProperties","setComputedProperty","getComputedProperties","setPseudoElement","getPseudoElement","preventEvent","styleValue","addField","popup","onStyleClick","Content","scrollTo","makeAbsoluteSelector","fetchChanges","isSelectGroup","post","fetchValues","isBlockSelector","getStyleOptions","stylePanel","clearContent","FormStyleAdapter","formStyleAdapter","currentBlock","load","log","getStyleForm","additional","createAdditionalForm","isArrayFilled","accessDeniedCode","isAccessDenied","String","getAccessMessage","accessMessage","prepareBlockOptions","attrOptions","currentSelector","tabs","tabOptions","createAttributeField","fieldFactory","createFieldFactory","getElementBySelector","selectorFragments","elements","getElementsBySelector","fieldOptions","undefined","attribute","isNil","attributeChangeTimeout","appendAttrFieldValue","appendSettingsFieldValue","attrData","itemValue","e","appendMenuValue","serialize","FieldFactory","site_id","linkOptions","onValueChange","destroy","getItem","removeItem","prevBlock","findPreviousSibling","getFormEditorAddBlockTour","Tour","Guide","steps","formSettingsPanel","isChanged","showBlocksPanel","start","getFormEditorDesignTour","onFormDesignClick","isSavePrevented","fetchAdditionalValues","containsPseudoSelector","containsReloadRequireAttributes","requireReload","TypeError","valuePromises","valuePromise","preventSave","menuKeys","menuItem","rebuild","forceReload","nodePromises","oldCards","values","indexes","source","url","nodePromise","selectorKey","mapKey","cardKey","decodedValue","updateNodeParams","updateNodesData","batch","changeAnchor","updateNodes","cardsData","cardsSelectors","arrayUnique","cardsNodesAdditionalValues","updateCards","cardsFirst","oldBatch","collection","dynamicCards","dynamicBlock","appendContentFieldValue","attrFields","childForms","childForm","appendCardsFormValue","appendDynamicCardsFormValue","appendDynamicBlockFormValue","dynamicState","cardsCode","wrapper","getUsedPresets","getIndexesMap","isNeedReload","zIndex","showOverlay","currentArea","addBlock","hideOverlay","assign","getCardsSelector","allCards","allCardsChild","styleEvent","getBlockEditForm","preparedOptions","blockNodes","notMatches","getVisible","allowFormEdit","onBlockFormTypeChangeHandler","onBlockFormTypeChange","skipBlockState","helps","DYNAMIC_BLOCKS","headerCheckbox","blockForm","formDescription","dynamic","getMenuEditForms","getForm","getAttrsEditForm","attrsForm","attrsFormDescription","getAttrsAdditionalEditForms","getCardsEditForms","skipState","nodesSelectors","groupedCards","set","Map","checkboxState","onCardsFormTypeHandler","onCardsFormTypeChange","groupLabel","cardsForm","cardForm","getLabel","getName","labelBindings","sortedCardNodes","attrField","addPresetForm","addChildForm","getBlockSettingsForm","blockSettingsForm","errorMessage","baseUrl","origin","previewText","anchorField","encode","onInput","preview","decode","getElementById","Field","BaseField","createDescription","arguments","skipCardsState","isEditable","blockEditForm","menuEditForms","menuForm","attrsEditForm","attrsAdditionalEditForms","cardsEditForms","isLastBlockInArea","actionPanel","getFieldType","getTypeReferences","references","reference","convertReferencesToDropdownItems","getDefaultDropdownItems","getDynamicFiledValue","fieldSelector","convertToDynamicFields","typeReferences","dropDownItems","actions","ClickAction","linkField","DynamicImage","dropdownItems","DynamicDropdown","createDynamicCardsForm","dynamicForm","DynamicCardsForm","onSourceChange","dynamicFields","dynamicGroup","detailPageField","detailPageGroup","default","detail","hrefInput","makeDisplayedHrefValue","oldCard","replaceCard","isDynamicEnabled","dynamicCardParams","pagesCount","replaceForm","staticForm","createDynamicBlockForm","DynamicBlockForm","toArray","isCheckboxChecked"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,cAGb,IAA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