@venite/components 0.16.48 → 0.16.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/cjs/index-01fdec29.js +2 -2
  2. package/dist/cjs/{ion-segment_16.cjs.entry.js → ion-segment_17.cjs.entry.js} +98 -28
  3. package/dist/cjs/ldf.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +1 -0
  6. package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.js +2 -2
  7. package/dist/collection/components/liturgical-document/dist/liturgical-document.js +3 -0
  8. package/dist/collection/components/liturgical-document/liturgical-document.js +3 -0
  9. package/dist/collection/components/parallel/dist/option.js +318 -0
  10. package/dist/collection/components/parallel/dist/parallel.js +146 -0
  11. package/dist/collection/components/parallel/parallel.css +8 -0
  12. package/dist/collection/components/parallel/parallel.i18n.en.json +3 -0
  13. package/dist/collection/components/parallel/parallel.js +213 -0
  14. package/dist/collection/i18n/parallel.i18n.en.json +3 -0
  15. package/dist/esm/index-034add74.js +2 -2
  16. package/dist/esm/{ion-segment_16.entry.js → ion-segment_17.entry.js} +99 -30
  17. package/dist/esm/ldf.js +1 -1
  18. package/dist/esm/loader.js +1 -1
  19. package/dist/ldf/i18n/parallel.i18n.en.json +3 -0
  20. package/dist/ldf/ldf.esm.js +1 -1
  21. package/dist/ldf/p-177719a0.entry.js +1 -0
  22. package/dist/types/components/editable-metadata-buttons/editable-metadata-buttons.d.ts +1 -1
  23. package/dist/types/components/parallel/parallel.d.ts +41 -0
  24. package/dist/types/components.d.ts +56 -3
  25. package/package.json +1 -1
  26. package/dist/ldf/p-5c897bef.entry.js +0 -1
@@ -17,7 +17,7 @@ const defineCustomElements = (win, options) => {
17
17
  if (typeof window === 'undefined') return Promise.resolve();
18
18
  return patchEsm().then(() => {
19
19
  appGlobals.globalScripts();
20
- return index.bootstrapLazy(JSON.parse("[[\"ion-button_14.cjs\",[[2,\"ldf-prayers-and-thanksgivings\",{\"base\":[513],\"index\":[513],\"modal\":[8],\"parent\":[8],\"options\":[16],\"localeStrings\":[32],\"currentOptions\":[32],\"filter\":[32],\"setOptions\":[64]}],[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}],[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"getBackgroundElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]],[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[34,\"ion-buttons\",{\"collapse\":[4]}],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"fill\":[1],\"shape\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"counter\":[4],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"counterFormatter\":[16],\"multipleInputs\":[32],\"focusable\":[32],\"counterString\":[32]},[[0,\"ionChange\",\"handleIonChange\"],[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-note\",{\"color\":[513]}],[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1]}],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32],\"ariaLabel\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"ldf-editable-metadata.cjs\",[[2,\"ldf-editable-metadata\",{\"doc\":[1],\"path\":[513],\"visible\":[4],\"collapsed\":[4],\"modal\":[8],\"obj\":[32],\"localeStrings\":[32],\"collapsedState\":[32],\"showAdvanced\":[32]}]]],[\"ldf-editor.cjs\",[[6,\"ldf-editor\",{\"doc\":[1],\"users\":[16],\"uid\":[1],\"cursors\":[16],\"listUsers\":[4,\"list-users\"],\"preview\":[4],\"obj\":[32],\"cursor\":[32],\"focusObj\":[32]},[[0,\"ldfCursorMoved\",\"onCursorMoved\"],[4,\"ldfDocShouldChange\",\"onDocShouldChange\"],[0,\"ldfDocShouldAdd\",\"onDocShouldAdd\"],[0,\"ldfAddChildAfter\",\"onAddChildAfter\"],[0,\"ldfMergeWithPrevious\",\"onMergeWithPrevious\"],[4,\"ldfAskForBibleIntros\",\"onAskForBibleIntros\"],[4,\"ldfAskForCanticleOptions\",\"onAskForCanticleOptions\"],[4,\"ldfAskForPrayersAndThanksgivings\",\"onAskForPT\"],[4,\"ldfShouldAddGloriaPatri\",\"onShouldAddGloriaPatri\"],[8,\"paste\",\"onPaste\"],[8,\"drop\",\"onDrop\"],[8,\"dragover\",\"onDragOver\"],[8,\"dragenter\",\"onDragEnter\"],[0,\"focusObj\",\"onFocusObj\"]]]]],[\"ldf-editable-condition.cjs\",[[2,\"ldf-editable-condition\",{\"path\":[513],\"obj\":[16],\"modal\":[8],\"localeStrings\":[32],\"currentCondition\":[32]}]]],[\"ldf-editable-preferences.cjs\",[[2,\"ldf-editable-preferences\",{\"path\":[513],\"obj\":[16],\"modal\":[8],\"tree\":[32],\"specialTree\":[32],\"localeStrings\":[32],\"currentPreferences\":[32],\"currentSpecialPreferences\":[32]}]]],[\"ldf-editable-filter-documents.cjs\",[[2,\"ldf-editable-filter-documents\",{\"modal\":[8],\"type\":[1],\"versions\":[16],\"options\":[16],\"changeCallback\":[16],\"localeStrings\":[32],\"filteredOptions\":[32],\"doc\":[32],\"version\":[32],\"setVersions\":[64],\"setOptions\":[64]}]]],[\"ldf-editable-add-block-menu.cjs\",[[2,\"ldf-editable-add-block-menu\",{\"localeStrings\":[32],\"menu\":[32]},[[0,\"ionChange\",\"onIonChange\"]]]]],[\"ion-back-button.cjs\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-fab-button.cjs\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}]]],[\"ion-loading.cjs\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button.cjs\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker.cjs\",[[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content.cjs\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast.cjs\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"icon\":[1],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-accordion.cjs\",[[49,\"ion-accordion\",{\"value\":[1],\"disabled\":[4],\"readonly\":[4],\"toggleIcon\":[1,\"toggle-icon\"],\"toggleIconSlot\":[1,\"toggle-icon-slot\"],\"state\":[32],\"isNext\":[32],\"isPrevious\":[32]}]]],[\"ion-breadcrumb.cjs\",[[33,\"ion-breadcrumb\",{\"collapsed\":[4],\"last\":[4],\"showCollapsedIndicator\":[4,\"show-collapsed-indicator\"],\"color\":[1],\"active\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"separator\":[4],\"target\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-datetime-button.cjs\",[[33,\"ion-datetime-button\",{\"color\":[513],\"disabled\":[516],\"datetime\":[1],\"datetimePresentation\":[32],\"dateText\":[32],\"timeText\":[32],\"datetimeActive\":[32],\"selectedButton\":[32]}]]],[\"ion-infinite-scroll-content.cjs\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option.cjs\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu.cjs\",[[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-modal.cjs\",[[33,\"ion-modal\",{\"hasController\":[4,\"has-controller\"],\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"breakpoints\":[16],\"initialBreakpoint\":[2,\"initial-breakpoint\"],\"backdropBreakpoint\":[2,\"backdrop-breakpoint\"],\"handle\":[4],\"handleBehavior\":[1,\"handle-behavior\"],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"isOpen\":[4,\"is-open\"],\"trigger\":[1],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"canDismiss\":[4,\"can-dismiss\"],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"setCurrentBreakpoint\":[64],\"getCurrentBreakpoint\":[64]}]]],[\"ion-reorder.cjs\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-tab-button.cjs\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]]]],[\"ion-accordion-group.cjs\",[[33,\"ion-accordion-group\",{\"animated\":[4],\"multiple\":[4],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"expand\":[1],\"requestAccordionToggle\":[64],\"getAccordions\":[64]},[[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-app.cjs\",[[0,\"ion-app\",{\"setFocus\":[64]}]]],[\"ion-avatar.cjs\",[[33,\"ion-avatar\"]]],[\"ion-badge.cjs\",[[33,\"ion-badge\",{\"color\":[513]}]]],[\"ion-breadcrumbs.cjs\",[[33,\"ion-breadcrumbs\",{\"color\":[1],\"maxItems\":[2,\"max-items\"],\"itemsBeforeCollapse\":[2,\"items-before-collapse\"],\"itemsAfterCollapse\":[2,\"items-after-collapse\"],\"collapsed\":[32],\"activeChanged\":[32]},[[0,\"collapsedClick\",\"onCollapsedClick\"]]]]],[\"ion-fab.cjs\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64],\"toggle\":[64]}]]],[\"ion-fab-list.cjs\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer.cjs\",[[36,\"ion-footer\",{\"collapse\":[1],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-img.cjs\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll.cjs\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider.cjs\",[[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}]]],[\"ion-item-group.cjs\",[[32,\"ion-item-group\"]]],[\"ion-item-options.cjs\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding.cjs\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle.cjs\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav.cjs\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}]]],[\"ion-nav-link.cjs\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-progress-bar.cjs\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}]]],[\"ion-range.cjs\",[[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"pinFormatter\":[16],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"activeBarStart\":[1026,\"active-bar-start\"],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}]]],[\"ion-refresher.cjs\",[[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-reorder-group.cjs\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route.cjs\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect.cjs\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router.cjs\",[[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]]]],[\"ion-router-link.cjs\",[[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet.cjs\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-slide.cjs\",[[0,\"ion-slide\"]]],[\"ion-slides.cjs\",[[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-split-pane.cjs\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab.cjs\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar.cjs\",[[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-tabs.cjs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-text.cjs\",[[1,\"ion-text\",{\"color\":[513]}]]],[\"ion-textarea.cjs\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[516,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-thumbnail.cjs\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll.cjs\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"ion-datetime_4.cjs\",[[33,\"ion-datetime\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"isDateEnabled\":[16],\"min\":[1025],\"max\":[1025],\"presentation\":[1],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"clearText\":[1,\"clear-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"multiple\":[4],\"value\":[1025],\"showDefaultTitle\":[4,\"show-default-title\"],\"showDefaultButtons\":[4,\"show-default-buttons\"],\"showClearButton\":[4,\"show-clear-button\"],\"showDefaultTimeLabel\":[4,\"show-default-time-label\"],\"hourCycle\":[1,\"hour-cycle\"],\"size\":[1],\"preferWheel\":[4,\"prefer-wheel\"],\"showMonthAndYear\":[32],\"activeParts\":[32],\"workingParts\":[32],\"isPresented\":[32],\"isTimePopoverOpen\":[32],\"confirm\":[64],\"reset\":[64],\"cancel\":[64]}],[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"enableOnOffLabels\":[4,\"enable-on-off-labels\"],\"activated\":[32]}],[33,\"ion-picker-column-internal\",{\"items\":[16],\"value\":[1032],\"color\":[513],\"numericInput\":[4,\"numeric-input\"],\"isActive\":[32],\"scrollActiveItemIntoView\":[64],\"setValue\":[64]}],[33,\"ion-picker-internal\"]]],[\"ldf-editable-condition-piece.cjs\",[[2,\"ldf-editable-condition-piece\",{\"path\":[513],\"condition\":[16],\"localeStrings\":[32],\"workingCondition\":[32]}]]],[\"ldf-editable-preference.cjs\",[[2,\"ldf-editable-preference\",{\"path\":[513],\"preference\":[16],\"modal\":[8],\"localeStrings\":[32],\"currentPreference\":[32]}]]],[\"ion-picker-column.cjs\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ldf-editor-cursors.cjs\",[[2,\"ldf-editor-cursors\",{\"parent\":[16],\"users\":[16],\"uid\":[513],\"cursors\":[16],\"cursorPos\":[32]},[[5,\"scroll\",\"onScroll\"],[9,\"resize\",\"onResize\"]]]]],[\"ldf-editable-boolean_2.cjs\",[[2,\"ldf-editable-delete\",{\"base\":[513],\"index\":[520],\"type\":[1],\"obj\":[8],\"localeStrings\":[32]},[[0,\"click\",\"onClick\"]]],[2,\"ldf-editable-boolean\",{\"path\":[513],\"property\":[513],\"value\":[4]},[[0,\"ionChange\",\"onChange\"]]]]],[\"ion-input_2.cjs\",[[2,\"ldf-editable-text\",{\"text\":[1],\"path\":[513],\"placeholder\":[1],\"short\":[4],\"unit\":[1],\"inputType\":[1,\"input-type\"],\"template\":[1],\"templateMaker\":[16],\"currentText\":[32],\"localeStrings\":[32]},[[0,\"input\",\"onInput\"],[0,\"focusout\",\"onFocusOut\"],[0,\"select\",\"onSelect\"],[0,\"focus\",\"onFocus\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"onKeyDown\"]]],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[8],\"maxlength\":[2],\"min\":[8],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ldf-editable-preference-option.cjs\",[[2,\"ldf-editable-preference-option\",{\"path\":[513],\"option\":[16],\"localeStrings\":[32],\"currentOption\":[32]}]]],[\"ion-spinner.cjs\",[[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}]]],[\"ldf-editable-string-list.cjs\",[[2,\"ldf-editable-string-list\",{\"path\":[513],\"property\":[513],\"value\":[16],\"localeStrings\":[32],\"optimisticValues\":[32],\"currentValue\":[32]}]]],[\"ion-card_2.cjs\",[[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}]]],[\"ion-chip.cjs\",[[33,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-backdrop.cjs\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"ldf-day-name_5.cjs\",[[1,\"ldf-heading\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32]}],[2,\"ldf-day-name\",{\"day\":[1],\"obj\":[32],\"localeStrings\":[32]}],[6,\"ldf-text\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32],\"intentions\":[32],\"setPrayerList\":[64]}],[2,\"ldf-string\",{\"text\":[1],\"citation\":[16],\"dropcap\":[1],\"dropcapMinLength\":[2,\"dropcap-min-length\"],\"replaceTetragrammaton\":[4,\"replace-tetragrammaton\"],\"index\":[2],\"fragment\":[1],\"processedString\":[32]}],[1,\"ldf-label-bar\",{\"center\":[516]}]]],[\"ion-action-sheet_10.cjs\",[[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}],[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}],[34,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"multiple\":[4],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]],[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}],[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-popover\",{\"hasController\":[4,\"has-controller\"],\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"triggerAction\":[1,\"trigger-action\"],\"trigger\":[1],\"size\":[1],\"dismissOnSelect\":[4,\"dismiss-on-select\"],\"reference\":[1],\"side\":[1],\"alignment\":[1025],\"arrow\":[4],\"isOpen\":[4,\"is-open\"],\"keyboardEvents\":[4,\"keyboard-events\"],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"presented\":[32],\"presentFromTrigger\":[64],\"present\":[64],\"dismiss\":[64],\"getParentPopover\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}],[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[8]}]]],[\"ion-segment_16.cjs\",[[6,\"ldf-bible-reading\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32],\"verses\":[32],\"loadingError\":[32],\"changeReading\":[64]}],[2,\"ldf-liturgical-document\",{\"doc\":[1],\"path\":[513],\"base\":[513],\"index\":[2],\"parentType\":[513,\"parent-type\"],\"editable\":[4],\"preview\":[4],\"padding\":[1],\"obj\":[32],\"localeStrings\":[32],\"hasFocus\":[32]},[[0,\"dragover\",\"onDragOver\"],[4,\"selectionchange\",\"selectionChangeHandler\"],[3,\"mouseover\",\"onMouseOver\"],[3,\"mouseout\",\"onMouseOut\"],[2,\"click\",\"onClick\"]]],[2,\"ldf-editable-add-block\",{\"visible\":[4],\"base\":[513],\"index\":[514],\"localeStrings\":[32]}],[2,\"ldf-option\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"preview\":[4],\"obj\":[32],\"localeStrings\":[32],\"filteredOptions\":[32],\"select\":[64]}],[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}],[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"selectOnFocus\":[4,\"select-on-focus\"],\"activated\":[32]},[[0,\"keydown\",\"onKeyDown\"]]],[6,\"ldf-psalm\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32],\"filteredValue\":[32],\"focusedVerse\":[32],\"focusedSection\":[32]}],[2,\"ldf-editable-metadata-buttons\",{\"visible\":[4],\"base\":[513],\"index\":[514],\"obj\":[16],\"parentType\":[1,\"parent-type\"],\"preview\":[4],\"localeStrings\":[32],\"collapsedState\":[32],\"modal\":[32]}],[2,\"ldf-editable-select\",{\"path\":[513],\"property\":[513],\"options\":[16],\"value\":[8],\"placeholder\":[1]},[[0,\"ionChange\",\"onChange\"]]],[2,\"ldf-liturgy\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"preview\":[4],\"obj\":[32],\"hasFocus\":[32]},[[0,\"focusPath\",\"onFocusPath\"]]],[6,\"ldf-image\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"modal\":[8],\"obj\":[32],\"localeStrings\":[32],\"isResizing\":[32],\"height\":[32],\"width\":[32]},[[5,\"mouseup\",\"stopResizing\"],[9,\"mousemove\",\"resizingMove\"]]],[6,\"ldf-responsive-prayer\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32]}],[2,\"ldf-meditation\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"color\":[1],\"autostart\":[4],\"obj\":[32],\"localeStrings\":[32],\"secondsRemaining\":[32],\"started\":[32],\"paused\":[32],\"start\":[64],\"pause\":[64],\"resume\":[64],\"rewind\":[64],\"duration\":[64],\"reset\":[64]}],[6,\"ldf-refrain\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32]}],[6,\"ldf-rubric\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32]}],[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-card-content_6.cjs\",[[2,\"ldf-editable-antiphon-field\",{\"path\":[513],\"antiphon\":[1],\"omit_antiphon\":[4],\"insert_antiphon\":[4],\"localeStrings\":[32],\"currentAntiphon\":[32],\"currentOmitAntiphon\":[32],\"currentInsertAntiphon\":[32],\"mode\":[32]}],[32,\"ion-card-content\"],[33,\"ion-card-title\",{\"color\":[513]}],[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[1,\"ion-row\"]]],[\"ldf-editable-lookup_2.cjs\",[[2,\"ldf-editable-metadata-metadata-fields\",{\"path\":[513],\"doc\":[1],\"bibleReadingIntros\":[16],\"localeStrings\":[32],\"fields\":[32],\"obj\":[32],\"currentBibleReadingIntros\":[32],\"setBibleReadingIntros\":[64]}],[2,\"ldf-editable-lookup\",{\"path\":[513],\"lookup\":[16],\"types\":[16],\"currentLookup\":[32]}]]],[\"ion-card-subtitle.cjs\",[[33,\"ion-card-subtitle\",{\"color\":[513]}]]]]"), options);
20
+ return index.bootstrapLazy(JSON.parse("[[\"ion-button_14.cjs\",[[2,\"ldf-prayers-and-thanksgivings\",{\"base\":[513],\"index\":[513],\"modal\":[8],\"parent\":[8],\"options\":[16],\"localeStrings\":[32],\"currentOptions\":[32],\"filter\":[32],\"setOptions\":[64]}],[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}],[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"getBackgroundElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]],[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[34,\"ion-buttons\",{\"collapse\":[4]}],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"fill\":[1],\"shape\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"counter\":[4],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"counterFormatter\":[16],\"multipleInputs\":[32],\"focusable\":[32],\"counterString\":[32]},[[0,\"ionChange\",\"handleIonChange\"],[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[33,\"ion-note\",{\"color\":[513]}],[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1]}],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32],\"ariaLabel\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"ldf-editable-metadata.cjs\",[[2,\"ldf-editable-metadata\",{\"doc\":[1],\"path\":[513],\"visible\":[4],\"collapsed\":[4],\"modal\":[8],\"obj\":[32],\"localeStrings\":[32],\"collapsedState\":[32],\"showAdvanced\":[32]}]]],[\"ldf-editor.cjs\",[[6,\"ldf-editor\",{\"doc\":[1],\"users\":[16],\"uid\":[1],\"cursors\":[16],\"listUsers\":[4,\"list-users\"],\"preview\":[4],\"obj\":[32],\"cursor\":[32],\"focusObj\":[32]},[[0,\"ldfCursorMoved\",\"onCursorMoved\"],[4,\"ldfDocShouldChange\",\"onDocShouldChange\"],[0,\"ldfDocShouldAdd\",\"onDocShouldAdd\"],[0,\"ldfAddChildAfter\",\"onAddChildAfter\"],[0,\"ldfMergeWithPrevious\",\"onMergeWithPrevious\"],[4,\"ldfAskForBibleIntros\",\"onAskForBibleIntros\"],[4,\"ldfAskForCanticleOptions\",\"onAskForCanticleOptions\"],[4,\"ldfAskForPrayersAndThanksgivings\",\"onAskForPT\"],[4,\"ldfShouldAddGloriaPatri\",\"onShouldAddGloriaPatri\"],[8,\"paste\",\"onPaste\"],[8,\"drop\",\"onDrop\"],[8,\"dragover\",\"onDragOver\"],[8,\"dragenter\",\"onDragEnter\"],[0,\"focusObj\",\"onFocusObj\"]]]]],[\"ldf-editable-condition.cjs\",[[2,\"ldf-editable-condition\",{\"path\":[513],\"obj\":[16],\"modal\":[8],\"localeStrings\":[32],\"currentCondition\":[32]}]]],[\"ldf-editable-preferences.cjs\",[[2,\"ldf-editable-preferences\",{\"path\":[513],\"obj\":[16],\"modal\":[8],\"tree\":[32],\"specialTree\":[32],\"localeStrings\":[32],\"currentPreferences\":[32],\"currentSpecialPreferences\":[32]}]]],[\"ldf-editable-filter-documents.cjs\",[[2,\"ldf-editable-filter-documents\",{\"modal\":[8],\"type\":[1],\"versions\":[16],\"options\":[16],\"changeCallback\":[16],\"localeStrings\":[32],\"filteredOptions\":[32],\"doc\":[32],\"version\":[32],\"setVersions\":[64],\"setOptions\":[64]}]]],[\"ldf-editable-add-block-menu.cjs\",[[2,\"ldf-editable-add-block-menu\",{\"localeStrings\":[32],\"menu\":[32]},[[0,\"ionChange\",\"onIonChange\"]]]]],[\"ion-back-button.cjs\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-fab-button.cjs\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}]]],[\"ion-loading.cjs\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button.cjs\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker.cjs\",[[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content.cjs\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast.cjs\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"icon\":[1],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-accordion.cjs\",[[49,\"ion-accordion\",{\"value\":[1],\"disabled\":[4],\"readonly\":[4],\"toggleIcon\":[1,\"toggle-icon\"],\"toggleIconSlot\":[1,\"toggle-icon-slot\"],\"state\":[32],\"isNext\":[32],\"isPrevious\":[32]}]]],[\"ion-breadcrumb.cjs\",[[33,\"ion-breadcrumb\",{\"collapsed\":[4],\"last\":[4],\"showCollapsedIndicator\":[4,\"show-collapsed-indicator\"],\"color\":[1],\"active\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"separator\":[4],\"target\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-datetime-button.cjs\",[[33,\"ion-datetime-button\",{\"color\":[513],\"disabled\":[516],\"datetime\":[1],\"datetimePresentation\":[32],\"dateText\":[32],\"timeText\":[32],\"datetimeActive\":[32],\"selectedButton\":[32]}]]],[\"ion-infinite-scroll-content.cjs\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option.cjs\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu.cjs\",[[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-modal.cjs\",[[33,\"ion-modal\",{\"hasController\":[4,\"has-controller\"],\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"breakpoints\":[16],\"initialBreakpoint\":[2,\"initial-breakpoint\"],\"backdropBreakpoint\":[2,\"backdrop-breakpoint\"],\"handle\":[4],\"handleBehavior\":[1,\"handle-behavior\"],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"isOpen\":[4,\"is-open\"],\"trigger\":[1],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"canDismiss\":[4,\"can-dismiss\"],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"setCurrentBreakpoint\":[64],\"getCurrentBreakpoint\":[64]}]]],[\"ion-reorder.cjs\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-tab-button.cjs\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]]]],[\"ion-accordion-group.cjs\",[[33,\"ion-accordion-group\",{\"animated\":[4],\"multiple\":[4],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"expand\":[1],\"requestAccordionToggle\":[64],\"getAccordions\":[64]},[[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-app.cjs\",[[0,\"ion-app\",{\"setFocus\":[64]}]]],[\"ion-avatar.cjs\",[[33,\"ion-avatar\"]]],[\"ion-badge.cjs\",[[33,\"ion-badge\",{\"color\":[513]}]]],[\"ion-breadcrumbs.cjs\",[[33,\"ion-breadcrumbs\",{\"color\":[1],\"maxItems\":[2,\"max-items\"],\"itemsBeforeCollapse\":[2,\"items-before-collapse\"],\"itemsAfterCollapse\":[2,\"items-after-collapse\"],\"collapsed\":[32],\"activeChanged\":[32]},[[0,\"collapsedClick\",\"onCollapsedClick\"]]]]],[\"ion-fab.cjs\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64],\"toggle\":[64]}]]],[\"ion-fab-list.cjs\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-footer.cjs\",[[36,\"ion-footer\",{\"collapse\":[1],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-img.cjs\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll.cjs\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-item-divider.cjs\",[[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}]]],[\"ion-item-group.cjs\",[[32,\"ion-item-group\"]]],[\"ion-item-options.cjs\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding.cjs\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle.cjs\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav.cjs\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}]]],[\"ion-nav-link.cjs\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-progress-bar.cjs\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}]]],[\"ion-range.cjs\",[[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"pinFormatter\":[16],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"activeBarStart\":[1026,\"active-bar-start\"],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}]]],[\"ion-refresher.cjs\",[[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-reorder-group.cjs\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route.cjs\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect.cjs\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router.cjs\",[[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]]]],[\"ion-router-link.cjs\",[[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet.cjs\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-slide.cjs\",[[0,\"ion-slide\"]]],[\"ion-slides.cjs\",[[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-split-pane.cjs\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab.cjs\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar.cjs\",[[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-tabs.cjs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-text.cjs\",[[1,\"ion-text\",{\"color\":[513]}]]],[\"ion-textarea.cjs\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[516,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-thumbnail.cjs\",[[1,\"ion-thumbnail\"]]],[\"ion-virtual-scroll.cjs\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"ion-datetime_4.cjs\",[[33,\"ion-datetime\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"isDateEnabled\":[16],\"min\":[1025],\"max\":[1025],\"presentation\":[1],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"clearText\":[1,\"clear-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"multiple\":[4],\"value\":[1025],\"showDefaultTitle\":[4,\"show-default-title\"],\"showDefaultButtons\":[4,\"show-default-buttons\"],\"showClearButton\":[4,\"show-clear-button\"],\"showDefaultTimeLabel\":[4,\"show-default-time-label\"],\"hourCycle\":[1,\"hour-cycle\"],\"size\":[1],\"preferWheel\":[4,\"prefer-wheel\"],\"showMonthAndYear\":[32],\"activeParts\":[32],\"workingParts\":[32],\"isPresented\":[32],\"isTimePopoverOpen\":[32],\"confirm\":[64],\"reset\":[64],\"cancel\":[64]}],[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"enableOnOffLabels\":[4,\"enable-on-off-labels\"],\"activated\":[32]}],[33,\"ion-picker-column-internal\",{\"items\":[16],\"value\":[1032],\"color\":[513],\"numericInput\":[4,\"numeric-input\"],\"isActive\":[32],\"scrollActiveItemIntoView\":[64],\"setValue\":[64]}],[33,\"ion-picker-internal\"]]],[\"ldf-editable-condition-piece.cjs\",[[2,\"ldf-editable-condition-piece\",{\"path\":[513],\"condition\":[16],\"localeStrings\":[32],\"workingCondition\":[32]}]]],[\"ldf-editable-preference.cjs\",[[2,\"ldf-editable-preference\",{\"path\":[513],\"preference\":[16],\"modal\":[8],\"localeStrings\":[32],\"currentPreference\":[32]}]]],[\"ion-picker-column.cjs\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ldf-editor-cursors.cjs\",[[2,\"ldf-editor-cursors\",{\"parent\":[16],\"users\":[16],\"uid\":[513],\"cursors\":[16],\"cursorPos\":[32]},[[5,\"scroll\",\"onScroll\"],[9,\"resize\",\"onResize\"]]]]],[\"ldf-editable-boolean_2.cjs\",[[2,\"ldf-editable-delete\",{\"base\":[513],\"index\":[520],\"type\":[1],\"obj\":[8],\"localeStrings\":[32]},[[0,\"click\",\"onClick\"]]],[2,\"ldf-editable-boolean\",{\"path\":[513],\"property\":[513],\"value\":[4]},[[0,\"ionChange\",\"onChange\"]]]]],[\"ion-input_2.cjs\",[[2,\"ldf-editable-text\",{\"text\":[1],\"path\":[513],\"placeholder\":[1],\"short\":[4],\"unit\":[1],\"inputType\":[1,\"input-type\"],\"template\":[1],\"templateMaker\":[16],\"currentText\":[32],\"localeStrings\":[32]},[[0,\"input\",\"onInput\"],[0,\"focusout\",\"onFocusOut\"],[0,\"select\",\"onSelect\"],[0,\"focus\",\"onFocus\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"onKeyDown\"]]],[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[8],\"maxlength\":[2],\"min\":[8],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ldf-editable-preference-option.cjs\",[[2,\"ldf-editable-preference-option\",{\"path\":[513],\"option\":[16],\"localeStrings\":[32],\"currentOption\":[32]}]]],[\"ion-spinner.cjs\",[[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}]]],[\"ldf-editable-string-list.cjs\",[[2,\"ldf-editable-string-list\",{\"path\":[513],\"property\":[513],\"value\":[16],\"localeStrings\":[32],\"optimisticValues\":[32],\"currentValue\":[32]}]]],[\"ion-card_2.cjs\",[[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}]]],[\"ion-chip.cjs\",[[33,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-backdrop.cjs\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"ldf-day-name_5.cjs\",[[1,\"ldf-heading\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32]}],[2,\"ldf-day-name\",{\"day\":[1],\"obj\":[32],\"localeStrings\":[32]}],[6,\"ldf-text\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32],\"intentions\":[32],\"setPrayerList\":[64]}],[2,\"ldf-string\",{\"text\":[1],\"citation\":[16],\"dropcap\":[1],\"dropcapMinLength\":[2,\"dropcap-min-length\"],\"replaceTetragrammaton\":[4,\"replace-tetragrammaton\"],\"index\":[2],\"fragment\":[1],\"processedString\":[32]}],[1,\"ldf-label-bar\",{\"center\":[516]}]]],[\"ion-action-sheet_10.cjs\",[[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}],[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}],[34,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"multiple\":[4],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]],[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}],[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-popover\",{\"hasController\":[4,\"has-controller\"],\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"triggerAction\":[1,\"trigger-action\"],\"trigger\":[1],\"size\":[1],\"dismissOnSelect\":[4,\"dismiss-on-select\"],\"reference\":[1],\"side\":[1],\"alignment\":[1025],\"arrow\":[4],\"isOpen\":[4,\"is-open\"],\"keyboardEvents\":[4,\"keyboard-events\"],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"presented\":[32],\"presentFromTrigger\":[64],\"present\":[64],\"dismiss\":[64],\"getParentPopover\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}],[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]],[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[8]}]]],[\"ion-segment_17.cjs\",[[6,\"ldf-bible-reading\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32],\"verses\":[32],\"loadingError\":[32],\"changeReading\":[64]}],[2,\"ldf-liturgical-document\",{\"doc\":[1],\"path\":[513],\"base\":[513],\"index\":[2],\"parentType\":[513,\"parent-type\"],\"editable\":[4],\"preview\":[4],\"padding\":[1],\"obj\":[32],\"localeStrings\":[32],\"hasFocus\":[32]},[[0,\"dragover\",\"onDragOver\"],[4,\"selectionchange\",\"selectionChangeHandler\"],[3,\"mouseover\",\"onMouseOver\"],[3,\"mouseout\",\"onMouseOut\"],[2,\"click\",\"onClick\"]]],[2,\"ldf-editable-add-block\",{\"visible\":[4],\"base\":[513],\"index\":[514],\"localeStrings\":[32]}],[2,\"ldf-option\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"preview\":[4],\"obj\":[32],\"localeStrings\":[32],\"filteredOptions\":[32],\"select\":[64]}],[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}],[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"selectOnFocus\":[4,\"select-on-focus\"],\"activated\":[32]},[[0,\"keydown\",\"onKeyDown\"]]],[2,\"ldf-parallel\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"preview\":[4],\"obj\":[32],\"localeStrings\":[32],\"filteredOptions\":[32]}],[2,\"ldf-editable-metadata-buttons\",{\"visible\":[4],\"base\":[513],\"index\":[514],\"obj\":[16],\"parentType\":[1,\"parent-type\"],\"preview\":[4],\"localeStrings\":[32],\"collapsedState\":[32],\"modal\":[32]}],[2,\"ldf-editable-select\",{\"path\":[513],\"property\":[513],\"options\":[16],\"value\":[8],\"placeholder\":[1]},[[0,\"ionChange\",\"onChange\"]]],[2,\"ldf-liturgy\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"preview\":[4],\"obj\":[32],\"hasFocus\":[32]},[[0,\"focusPath\",\"onFocusPath\"]]],[6,\"ldf-psalm\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32],\"filteredValue\":[32],\"focusedVerse\":[32],\"focusedSection\":[32]}],[6,\"ldf-image\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"modal\":[8],\"obj\":[32],\"localeStrings\":[32],\"isResizing\":[32],\"height\":[32],\"width\":[32]},[[5,\"mouseup\",\"stopResizing\"],[9,\"mousemove\",\"resizingMove\"]]],[6,\"ldf-responsive-prayer\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32],\"localeStrings\":[32]}],[2,\"ldf-meditation\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"color\":[1],\"autostart\":[4],\"obj\":[32],\"localeStrings\":[32],\"secondsRemaining\":[32],\"started\":[32],\"paused\":[32],\"start\":[64],\"pause\":[64],\"resume\":[64],\"rewind\":[64],\"duration\":[64],\"reset\":[64]}],[6,\"ldf-refrain\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32]}],[6,\"ldf-rubric\",{\"doc\":[1],\"path\":[513],\"editable\":[4],\"obj\":[32]}],[1,\"ion-skeleton-text\",{\"animated\":[4]}]]],[\"ion-card-content_6.cjs\",[[2,\"ldf-editable-antiphon-field\",{\"path\":[513],\"antiphon\":[1],\"omit_antiphon\":[4],\"insert_antiphon\":[4],\"localeStrings\":[32],\"currentAntiphon\":[32],\"currentOmitAntiphon\":[32],\"currentInsertAntiphon\":[32],\"mode\":[32]}],[32,\"ion-card-content\"],[33,\"ion-card-title\",{\"color\":[513]}],[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[1,\"ion-row\"]]],[\"ldf-editable-lookup_2.cjs\",[[2,\"ldf-editable-metadata-metadata-fields\",{\"path\":[513],\"doc\":[1],\"bibleReadingIntros\":[16],\"localeStrings\":[32],\"fields\":[32],\"obj\":[32],\"currentBibleReadingIntros\":[32],\"setBibleReadingIntros\":[64]}],[2,\"ldf-editable-lookup\",{\"path\":[513],\"lookup\":[16],\"types\":[16],\"currentLookup\":[32]}]]],[\"ion-card-subtitle.cjs\",[[33,\"ion-card-subtitle\",{\"color\":[513]}]]]]"), options);
21
21
  });
22
22
  };
23
23
 
@@ -29,6 +29,7 @@
29
29
  "./components/liturgy/liturgy.js",
30
30
  "./components/meditation/meditation.js",
31
31
  "./components/option/option.js",
32
+ "./components/parallel/parallel.js",
32
33
  "./components/prayers-and-thanksgivings/prayers-and-thanksgivings.js",
33
34
  "./components/psalm/psalm.js",
34
35
  "./components/refrain/refrain.js",
@@ -317,8 +317,8 @@ export class EditableMetadataButtonsComponent {
317
317
  "type": "string",
318
318
  "mutable": false,
319
319
  "complexType": {
320
- "original": "'liturgy' | 'cycle' | 'heading' | 'option' | 'refrain' | 'rubric' | 'text' | 'responsive' | 'bible-reading' | 'psalm' | 'meditation' | null",
321
- "resolved": "\"bible-reading\" | \"cycle\" | \"heading\" | \"liturgy\" | \"meditation\" | \"option\" | \"psalm\" | \"refrain\" | \"responsive\" | \"rubric\" | \"text\"",
320
+ "original": "'liturgy' | 'cycle' | 'heading' | 'option' | 'parallel' | 'refrain' | 'rubric' | 'text' | 'responsive' | 'bible-reading' | 'psalm' | 'meditation' | null",
321
+ "resolved": "\"bible-reading\" | \"cycle\" | \"heading\" | \"liturgy\" | \"meditation\" | \"option\" | \"parallel\" | \"psalm\" | \"refrain\" | \"responsive\" | \"rubric\" | \"text\"",
322
322
  "references": {}
323
323
  },
324
324
  "required": false,
@@ -216,6 +216,9 @@ var LiturgicalDocumentComponent = /** @class */ (function () {
216
216
  case 'option':
217
217
  node = React.createElement("ldf-option", { path: this.path, editable: editable, preview: this.preview, doc: doc });
218
218
  break;
219
+ case 'parallel':
220
+ node = React.createElement("ldf-parallel", { path: this.path, editable: editable, preview: this.preview, doc: doc });
221
+ break;
219
222
  case 'refrain':
220
223
  node = React.createElement("ldf-refrain", { path: this.path, editable: editable, doc: doc });
221
224
  break;
@@ -159,6 +159,9 @@ export class LiturgicalDocumentComponent {
159
159
  case 'option':
160
160
  node = h("ldf-option", { path: this.path, editable: editable, preview: this.preview, doc: doc });
161
161
  break;
162
+ case 'parallel':
163
+ node = h("ldf-parallel", { path: this.path, editable: editable, preview: this.preview, doc: doc });
164
+ break;
162
165
  case 'refrain':
163
166
  node = h("ldf-refrain", { path: this.path, editable: editable, doc: doc });
164
167
  break;
@@ -0,0 +1,318 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
14
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
15
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
16
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
17
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
18
+ };
19
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
20
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
21
+ return new (P || (P = Promise))(function (resolve, reject) {
22
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
23
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
24
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
25
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
26
+ });
27
+ };
28
+ var __generator = (this && this.__generator) || function (thisArg, body) {
29
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
30
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
31
+ function verb(n) { return function (v) { return step([n, v]); }; }
32
+ function step(op) {
33
+ if (f) throw new TypeError("Generator is already executing.");
34
+ while (_) try {
35
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
36
+ if (y = 0, t) op = [op[0] & 2, t.value];
37
+ switch (op[0]) {
38
+ case 0: case 1: t = op; break;
39
+ case 4: _.label++; return { value: op[1], done: false };
40
+ case 5: _.label++; y = op[1]; op = [0]; continue;
41
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
42
+ default:
43
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
44
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
45
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
46
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
47
+ if (t[2]) _.ops.pop();
48
+ _.trys.pop(); continue;
49
+ }
50
+ op = body.call(thisArg, _);
51
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
52
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
53
+ }
54
+ };
55
+ exports.__esModule = true;
56
+ exports.OptionComponent = void 0;
57
+ var core_1 = require("@stencil/core");
58
+ var ldf_1 = require("@venite/ldf");
59
+ var locale_1 = require("../../utils/locale");
60
+ var option_i18n_en_json_1 = require("./option.i18n.en.json");
61
+ var LOCALE = {
62
+ 'en': option_i18n_en_json_1["default"]
63
+ };
64
+ var OptionComponent = /** @class */ (function () {
65
+ function OptionComponent() {
66
+ }
67
+ OptionComponent.prototype.docChanged = function (newDoc) {
68
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
69
+ try {
70
+ if (typeof newDoc == 'string') {
71
+ this.obj = new ldf_1.Option(JSON.parse(newDoc));
72
+ }
73
+ else {
74
+ this.obj = new ldf_1.Option(newDoc);
75
+ }
76
+ }
77
+ catch (e) {
78
+ console.warn(e);
79
+ this.obj = new ldf_1.Option();
80
+ }
81
+ var selected = this.editable
82
+ ? (_f = (_c = (_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.editor_selected) !== null && _c !== void 0 ? _c : (_e = (_d = this.obj) === null || _d === void 0 ? void 0 : _d.metadata) === null || _e === void 0 ? void 0 : _e.selected) !== null && _f !== void 0 ? _f : 0 : (_j = (_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.selected) !== null && _j !== void 0 ? _j : 0;
83
+ this.select(selected);
84
+ if (!((_k = this.obj) === null || _k === void 0 ? void 0 : _k.value) || !this.obj.value[selected] || !this.obj.value[selected].value) {
85
+ this.selectFirstDefined();
86
+ }
87
+ this.filterOptions();
88
+ };
89
+ // Lifecycle events
90
+ OptionComponent.prototype.componentWillLoad = function () {
91
+ this.docChanged(this.doc);
92
+ this.loadLocaleStrings();
93
+ this.ldfOptionAskForStoredSelection.emit({ el: this.el });
94
+ };
95
+ /** Asynchronously load localization strings */
96
+ OptionComponent.prototype.loadLocaleStrings = function () {
97
+ return __awaiter(this, void 0, Promise, function () {
98
+ return __generator(this, function (_a) {
99
+ try {
100
+ this.localeStrings = LOCALE[locale_1.getComponentClosestLanguage(this.el)];
101
+ }
102
+ catch (e) {
103
+ console.warn(e);
104
+ }
105
+ return [2 /*return*/];
106
+ });
107
+ });
108
+ };
109
+ /** Display the nth option */
110
+ OptionComponent.prototype.select = function (index, resultedFromUserAction) {
111
+ var _a, _b, _c, _d, _e, _f, _g, _h;
112
+ if (resultedFromUserAction === void 0) { resultedFromUserAction = false; }
113
+ return __awaiter(this, void 0, void 0, function () {
114
+ var hadMetadata, oldValue;
115
+ return __generator(this, function (_j) {
116
+ if (((_a = this.obj) === null || _a === void 0 ? void 0 : _a.slug) && typeof index === 'number' && resultedFromUserAction) {
117
+ this.ldfOptionMakeSelection.emit({ slug: (_b = this.obj) === null || _b === void 0 ? void 0 : _b.slug, index: index });
118
+ }
119
+ hadMetadata = Boolean((_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata), oldValue = (_e = (_d = this.obj) === null || _d === void 0 ? void 0 : _d.metadata) === null || _e === void 0 ? void 0 : _e.editor_selected;
120
+ if (Number(index) >= 0) {
121
+ //this.selectedDoc = this.obj.value.filter(child => Boolean(child))[index];
122
+ if ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.metadata) {
123
+ this.obj.metadata.selected = Number(index);
124
+ this.obj.metadata.editor_selected = Number(index);
125
+ }
126
+ else {
127
+ this.obj.metadata = { selected: Number(index), editor_selected: Number(index) };
128
+ }
129
+ this.obj = new ldf_1.Option(__assign({}, this.obj));
130
+ // only change the selection at this point if it's not editable
131
+ // if it's editable, the editor will control when it changes
132
+ if (resultedFromUserAction && !this.editable) {
133
+ this.ldfDocShouldChange.emit(new ldf_1.Change({
134
+ path: this.path + "/metadata",
135
+ op: [{
136
+ type: 'set',
137
+ index: 'selected',
138
+ oldValue: oldValue,
139
+ value: Number(index)
140
+ }]
141
+ }));
142
+ }
143
+ if (this.editable) {
144
+ if (hadMetadata && index !== oldValue) {
145
+ this.ldfDocShouldChange.emit(new ldf_1.Change({
146
+ path: this.path + "/metadata",
147
+ op: [{
148
+ type: 'set',
149
+ index: 'editor_selected',
150
+ oldValue: oldValue,
151
+ value: Number(index)
152
+ }]
153
+ }));
154
+ }
155
+ else if (!hadMetadata && index !== oldValue) {
156
+ this.ldfDocShouldChange.emit(new ldf_1.Change({
157
+ path: "" + this.path,
158
+ op: [{
159
+ type: 'set',
160
+ index: 'metadata',
161
+ value: { editor_selected: Number(index) }
162
+ }]
163
+ }));
164
+ }
165
+ }
166
+ // sets metadata.selected to new index, and creates objects along the way if undefined
167
+ // without overriding any other metadata fields
168
+ Object.assign(this.obj, { metadata: __assign(__assign({}, this.obj.metadata), { selected: index }) });
169
+ Object.assign(this.obj, { metadata: __assign(__assign({}, this.obj.metadata), { editor_selected: index }) });
170
+ }
171
+ else if (index === 'add') {
172
+ this.ldfAddOptionToDoc.emit({
173
+ base: this.path,
174
+ index: (_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.value) === null || _h === void 0 ? void 0 : _h.length,
175
+ obj: this.obj
176
+ });
177
+ }
178
+ return [2 /*return*/];
179
+ });
180
+ });
181
+ };
182
+ // Private methods
183
+ OptionComponent.prototype.onSelectChange = function (ev) {
184
+ var target = ev.target, value = parseInt(target.value);
185
+ this.select(value, true);
186
+ };
187
+ OptionComponent.prototype.selectFirstDefined = function () {
188
+ var first = this.obj.value.find(function (opt) { return (opt === null || opt === void 0 ? void 0 : opt.value) !== undefined; }), index = this.obj.value.filter(function (child) { return Boolean(child); }).indexOf(first);
189
+ this.select(index);
190
+ };
191
+ OptionComponent.prototype.filterOptions = function () {
192
+ var _this = this;
193
+ var _a;
194
+ if (this.obj) {
195
+ this.obj = new ldf_1.Option(__assign(__assign({}, this.obj), { value: (((_a = this.obj) === null || _a === void 0 ? void 0 : _a.value) || []).filter(function (entry) {
196
+ return _this.editable || (Boolean(entry) && (Boolean(entry.value) || Boolean((entry === null || entry === void 0 ? void 0 : entry.type) === "bible-reading" && entry.citation)));
197
+ }) }));
198
+ }
199
+ };
200
+ // Render helpers
201
+ /** Return an Ionic Select or Segment element if available, otherwise a vanilla HTML Select Element */
202
+ OptionComponent.prototype.selectNode = function () {
203
+ var _this = this;
204
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
205
+ var currentlySelected = this.editable ? (_f = (_c = (_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.editor_selected) !== null && _c !== void 0 ? _c : (_e = (_d = this.obj) === null || _d === void 0 ? void 0 : _d.metadata) === null || _e === void 0 ? void 0 : _e.selected) !== null && _f !== void 0 ? _f : 0 : (_j = (_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.selected) !== null && _j !== void 0 ? _j : 0;
206
+ if (((_l = (_k = this.obj) === null || _k === void 0 ? void 0 : _k.value) === null || _l === void 0 ? void 0 : _l.length) > 1 || this.editable) {
207
+ // Ionic available and
208
+ if (customElements && !!customElements.get('ion-select')) {
209
+ var optionsAreLong = (((_m = this.obj) === null || _m === void 0 ? void 0 : _m.value) || [])
210
+ .map(function (option, optionIndex) { var _a; return ((_a = _this.versionLabel(option, optionIndex)) === null || _a === void 0 ? void 0 : _a.length) > 20; })
211
+ .reduce(function (a, b) { return a || b; }, false);
212
+ // <= 3, short options
213
+ if (!optionsAreLong && ((_o = this.obj) === null || _o === void 0 ? void 0 : _o.value.length) <= 3) {
214
+ return (React.createElement("ion-segment", { color: "primary", value: currentlySelected.toString() }, (_p = this.obj) === null || _p === void 0 ? void 0 :
215
+ _p.value.map(function (option, optionIndex) {
216
+ return React.createElement("ion-segment-button", { value: optionIndex.toString(), onClick: function () { return _this.select(optionIndex, true); } },
217
+ React.createElement("ion-label", null, _this.versionLabel(option, optionIndex)));
218
+ }),
219
+ this.editable && React.createElement("ion-segment-button", { value: 'add', "class": 'add', onClick: function () { return _this.select('add', true); } },
220
+ React.createElement("ion-label", null, "+"))));
221
+ }
222
+ // >2 options, or options are longish
223
+ else {
224
+ console.log('>2 or longish');
225
+ return (React.createElement("ion-toolbar", null,
226
+ React.createElement("ion-select", { value: currentlySelected, slot: this.editable ? 'start' : 'end', onIonChange: function (e) { return _this.select(Number(e.detail.value), true); } }, (_q = this.obj) === null || _q === void 0 ? void 0 : _q.value.map(function (option, optionIndex) {
227
+ return React.createElement("ion-select-option", { value: optionIndex },
228
+ React.createElement("ion-label", null, _this.versionLabel(option, optionIndex)));
229
+ })),
230
+ this.editable && React.createElement("ion-buttons", { slot: 'end' },
231
+ React.createElement("ion-button", { onClick: function () { return _this.select('add', true); } },
232
+ React.createElement("ion-icon", { slot: 'icon-only', name: 'add' })))));
233
+ }
234
+ }
235
+ // Ionic not availabe
236
+ else {
237
+ return (React.createElement("ldf-label-bar", null,
238
+ React.createElement("select", { onInput: function (ev) { return _this.onSelectChange(ev); }, slot: this.editable ? 'start' : 'end' }, (_r = this.obj) === null || _r === void 0 ? void 0 : _r.value.map(function (option, optionIndex) {
239
+ return React.createElement("option", { value: optionIndex, selected: optionIndex == currentlySelected }, _this.versionLabel(option, optionIndex));
240
+ })),
241
+ this.editable && React.createElement("button", { slot: 'end', onClick: function () { return _this.select('add', true); } }, "+")));
242
+ }
243
+ }
244
+ else {
245
+ return [];
246
+ }
247
+ };
248
+ OptionComponent.prototype.versionLabel = function (option, index) {
249
+ try {
250
+ return this.obj.getVersionLabel(option);
251
+ }
252
+ catch (e) {
253
+ console.warn(e);
254
+ return (this.localeStrings || {}).option + " " + (index + 1);
255
+ }
256
+ };
257
+ // Render
258
+ OptionComponent.prototype.render = function () {
259
+ var _a;
260
+ //console.log('ldf-option (render) ', this.obj?.metadata.selected, this.obj.value, this.selectedDoc)
261
+ var selectedIndex = this.editable ? (_a = this.obj.metadata.editor_selected) !== null && _a !== void 0 ? _a : this.obj.metadata.selected : this.obj.metadata.selected;
262
+ return (React.createElement(core_1.Host, { lang: this.obj.language },
263
+ React.createElement("div", { "class": 'select-control' },
264
+ React.createElement("ldf-label-bar", null, this.selectNode())),
265
+ (this.obj.value || this.editable) && React.createElement("ldf-liturgical-document", { doc: this.obj.value[selectedIndex], path: this.path + "/value/" + this.obj.metadata.selected, base: this.path + "/value", index: selectedIndex, editable: this.editable, parentType: 'option' })));
266
+ };
267
+ __decorate([
268
+ core_1.Element()
269
+ ], OptionComponent.prototype, "el");
270
+ __decorate([
271
+ core_1.State()
272
+ ], OptionComponent.prototype, "obj");
273
+ __decorate([
274
+ core_1.State()
275
+ ], OptionComponent.prototype, "localeStrings");
276
+ __decorate([
277
+ core_1.State()
278
+ ], OptionComponent.prototype, "filteredOptions");
279
+ __decorate([
280
+ core_1.Prop()
281
+ ], OptionComponent.prototype, "doc");
282
+ __decorate([
283
+ core_1.Watch('doc')
284
+ ], OptionComponent.prototype, "docChanged");
285
+ __decorate([
286
+ core_1.Prop({ reflect: true })
287
+ ], OptionComponent.prototype, "path");
288
+ __decorate([
289
+ core_1.Prop()
290
+ ], OptionComponent.prototype, "editable");
291
+ __decorate([
292
+ core_1.Prop()
293
+ ], OptionComponent.prototype, "preview");
294
+ __decorate([
295
+ core_1.Event({ bubbles: true })
296
+ ], OptionComponent.prototype, "ldfAddOptionToDoc");
297
+ __decorate([
298
+ core_1.Event({ bubbles: true })
299
+ ], OptionComponent.prototype, "ldfDocShouldChange");
300
+ __decorate([
301
+ core_1.Event({ bubbles: true })
302
+ ], OptionComponent.prototype, "ldfOptionAskForStoredSelection");
303
+ __decorate([
304
+ core_1.Event({ bubbles: true })
305
+ ], OptionComponent.prototype, "ldfOptionMakeSelection");
306
+ __decorate([
307
+ core_1.Method()
308
+ ], OptionComponent.prototype, "select");
309
+ OptionComponent = __decorate([
310
+ core_1.Component({
311
+ tag: 'ldf-option',
312
+ styleUrl: 'option.scss',
313
+ scoped: true
314
+ })
315
+ ], OptionComponent);
316
+ return OptionComponent;
317
+ }());
318
+ exports.OptionComponent = OptionComponent;