urnovl-web-components 0.0.210 → 0.0.212
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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ur-notification.cjs.entry.js +35 -8
- package/dist/cjs/ur-novl-overview-info.cjs.entry.js +42 -2
- package/dist/cjs/ur-page-profile.cjs.entry.js +10 -13
- package/dist/cjs/urnovl-web-components.cjs.js +1 -1
- package/dist/collection/components/ur-notification/ur-notification.css +21 -0
- package/dist/collection/components/ur-notification/ur-notification.js +37 -9
- package/dist/collection/components/ur-novl-overview-info/ur-novl-overview-info.js +101 -2
- package/dist/collection/components/ur-page-profile/ur-page-profile.js +19 -19
- package/dist/collection/stories/UrNotification.stories.js +71 -0
- package/dist/components/ur-notification.js +37 -9
- package/dist/components/ur-novl-overview-info.js +45 -2
- package/dist/components/ur-page-profile.js +10 -15
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ur-notification.entry.js +35 -8
- package/dist/esm/ur-novl-overview-info.entry.js +42 -2
- package/dist/esm/ur-page-profile.entry.js +10 -13
- package/dist/esm/urnovl-web-components.js +1 -1
- package/dist/types/components/ur-notification/ur-notification.d.ts +5 -0
- package/dist/types/components/ur-notification/ur-notification.types.d.ts +30 -2
- package/dist/types/components/ur-novl-overview-info/ur-novl-overview-info.d.ts +8 -0
- package/dist/types/components/ur-page-profile/ur-page-profile.d.ts +2 -3
- package/dist/types/components.d.ts +22 -4
- package/dist/types/models/page.d.ts +4 -0
- package/dist/types/stories/UrNotification.stories.d.ts +287 -0
- package/dist/urnovl-web-components/p-115de0ec.entry.js +1 -0
- package/dist/urnovl-web-components/p-42430afa.entry.js +1 -0
- package/dist/urnovl-web-components/p-d9965861.entry.js +1 -0
- package/dist/urnovl-web-components/urnovl-web-components.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-115de0ec.entry.js +1 -0
- package/www/build/p-3803788c.js +1 -0
- package/www/build/p-42430afa.entry.js +1 -0
- package/www/build/p-d9965861.entry.js +1 -0
- package/www/build/urnovl-web-components.esm.js +1 -1
- package/dist/urnovl-web-components/p-b3d9637d.entry.js +0 -1
- package/dist/urnovl-web-components/p-c38a2807.entry.js +0 -1
- package/dist/urnovl-web-components/p-e47b4eae.entry.js +0 -1
- package/www/build/p-b3d9637d.entry.js +0 -1
- package/www/build/p-c38a2807.entry.js +0 -1
- package/www/build/p-d605f3ac.js +0 -1
- package/www/build/p-e47b4eae.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ var index = require('./index-BzpJiRCG.js');
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await index.globalScripts();
|
|
8
|
-
return index.bootstrapLazy(JSON.parse("[[\"ur-main-menu.cjs\",[[1,\"ur-main-menu\",{\"opened\":[4],\"loggedIn\":[4,\"logged-in\"],\"userName\":[1,\"user-name\"],\"userRole\":[1,\"user-role\"],\"userAvatar\":[1,\"user-avatar\"],\"badgeCount\":[2,\"badge-count\"],\"termsText\":[1,\"terms-text\"],\"rulesText\":[1,\"rules-text\"],\"privacyText\":[1,\"privacy-text\"],\"paymentText\":[1,\"payment-text\"],\"acceptableUseText\":[1,\"acceptable-use-text\"],\"partnershipText\":[1,\"partnership-text\"],\"homeText\":[1,\"home-text\"],\"storiesText\":[1,\"stories-text\"],\"pagesText\":[1,\"pages-text\"],\"competitionsText\":[1,\"competitions-text\"],\"notificationText\":[1,\"notification-text\"],\"facebookText\":[1,\"facebook-text\"],\"xText\":[1,\"x-text\"],\"discordText\":[1,\"discord-text\"],\"contactUsText\":[1,\"contact-us-text\"],\"signUpText\":[1,\"sign-up-text\"],\"premiumText\":[1,\"premium-text\"],\"whatsNewText\":[1,\"whats-new-text\"],\"faqsText\":[1,\"faqs-text\"],\"currentRoute\":[1,\"current-route\"],\"notificationCenterOpened\":[4,\"notification-center-opened\"],\"expanded\":[32],\"parentHeight\":[32],\"updateCounter\":[32]},null,{\"opened\":[\"watchOpenedHandler\"],\"userName\":[\"watchUserNameHandler\"],\"userRole\":[\"watchUserRoleHandler\"],\"userAvatar\":[\"watchUserAvatarHandler\"],\"badgeCount\":[\"watchBadgeCountHandler\"],\"currentRoute\":[\"watchCurrentRouteHandler\"],\"notificationCenterOpened\":[\"watchNotificationCenterOpenedHandler\"]}]]],[\"ur-library-shelf-selector.cjs\",[[1,\"ur-library-shelf-selector\",{\"chooseButtonText\":[1,\"choose-button-text\"],\"createButtonText\":[1,\"create-button-text\"],\"chooseShelfLabelText\":[1,\"choose-shelf-label-text\"],\"createNewShelfLabelText\":[1,\"create-new-shelf-label-text\"],\"createNewShelfSubtitleText\":[1,\"create-new-shelf-subtitle-text\"],\"orCreateNewShelf\":[1,\"or-create-new-shelf\"],\"newShelfPlaceholder\":[1,\"new-shelf-placeholder\"],\"shelves\":[16],\"selectedShelf\":[1025,\"selected-shelf\"],\"newShelfName\":[32],\"isShelfPublic\":[32]},[[2,\"valueSelected\",\"handleRadioSelection\"]]]]],[\"ur-novl-overview-info.cjs\",[[1,\"ur-novl-overview-info\",{\"novlTitle\":[1,\"novl-title\"],\"coverImage\":[1,\"cover-image\"],\"completeText\":[1,\"complete-text\"],\"ongoingText\":[1,\"ongoing-text\"],\"storyCompleteStatus\":[4,\"story-complete-status\"],\"likes\":[2],\"deviceSize\":[1,\"device-size\"],\"likesText\":[1,\"likes-text\"],\"views\":[2],\"editTitleMode\":[4,\"edit-title-mode\"],\"editDescriptionMode\":[4,\"edit-description-mode\"],\"viewsText\":[1,\"views-text\"],\"readingDuration\":[1,\"reading-duration\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"description\":[1],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"showLessText\":[1,\"show-less-text\"],\"showMoreText\":[1,\"show-more-text\"],\"readStoryText\":[1,\"read-story-text\"],\"writeStoryText\":[1,\"write-story-text\"],\"descriptionText\":[1,\"description-text\"],\"chapterListText\":[1,\"chapter-list-text\"],\"buyStoryText\":[1,\"buy-story-text\"],\"addToLibraryText\":[1,\"add-to-library-text\"],\"removeFromLibraryText\":[1,\"remove-from-library-text\"],\"novlPrice\":[1,\"novl-price\"],\"isUserLoggedIn\":[4,\"is-user-logged-in\"],\"isNovlLibrary\":[4,\"is-novl-library\"],\"hasBranches\":[4,\"has-branches\"],\"writeEnabled\":[4,\"write-enabled\"],\"novlPaid\":[4,\"novl-paid\"],\"novlPurchasedAt\":[1,\"novl-purchased-at\"],\"isOwner\":[4,\"is-owner\"],\"ownerAvatar\":[1,\"owner-avatar\"],\"ownerName\":[1,\"owner-name\"],\"visibility\":[1],\"visibilityPublicText\":[1,\"visibility-public-text\"],\"visibilityPrivateText\":[1,\"visibility-private-text\"],\"completeStoryText\":[1,\"complete-story-text\"],\"revertStoryText\":[1,\"revert-story-text\"],\"expanded\":[4],\"showPublishedButton\":[4,\"show-published-button\"],\"reset\":[64]}]]],[\"ur-comment-form.cjs\",[[1,\"ur-comment-form\",{\"user\":[16],\"isServer\":[4,\"is-server\"],\"placeholder\":[1],\"maxLength\":[2,\"max-length\"],\"minLength\":[2,\"min-length\"],\"disabled\":[4],\"variant\":[1],\"formState\":[32]}]]],[\"ur-feedback.cjs\",[[1,\"ur-feedback\",{\"titleText\":[1,\"title-text\"],\"descriptionText\":[1,\"description-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"feedbackText\":[1,\"feedback-text\"],\"supportText\":[1,\"support-text\"],\"pressText\":[1,\"press-text\"],\"successText\":[1,\"success-text\"],\"user\":[4],\"failureText\":[1,\"failure-text\"],\"messageLabel\":[1,\"message-label\"],\"emailLabel\":[1,\"email-label\"],\"emailPlaceholder\":[1,\"email-placeholder\"],\"sendText\":[1,\"send-text\"],\"text\":[32],\"disabled\":[32],\"success\":[32],\"failure\":[32],\"mode\":[32],\"userEmail\":[32],\"emailError\":[32],\"reset\":[64],\"handleSubmitSuccess\":[64],\"handleSubmitFailure\":[64]}]]],[\"ur-page-carousel.cjs\",[[1,\"ur-page-carousel\",{\"pages\":[16],\"loading\":[32],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4],\"destroyListeners\":[4,\"destroy-listeners\"],\"debug\":[4],\"disabledPrev\":[32],\"disabledNext\":[32],\"addPages\":[64],\"updateNovlsByIndex\":[64],\"reset\":[64]}]]],[\"ur-page-profile.cjs\",[[1,\"ur-page-profile\",{\"pageId\":[1,\"page-id\"],\"platform\":[1],\"avatar\":[8],\"name\":[8],\"about\":[8],\"location\":[8],\"facebook_url\":[8],\"twitter_url\":[8],\"linkedin_url\":[8],\"email\":[8],\"phone\":[8],\"website\":[8],\"stories\":[2],\"views\":[2],\"pageCreatedText\":[1,\"page-created-text\"],\"following\":[2],\"followers\":[2],\"members\":[2],\"showFollow\":[4,\"show-follow\"],\"websiteText\":[1,\"website-text\"],\"showBecomeMember\":[4,\"show-become-member\"],\"showDonate\":[4,\"show-donate\"],\"showSendMessage\":[4,\"show-send-message\"],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"isPageOwner\":[4,\"is-page-owner\"],\"pageCreatorName\":[8,\"page-creator-name\"],\"pageCreatorImage\":[8,\"page-creator-image\"],\"pageType\":[1,\"page-type\"],\"pageCreationDate\":[8,\"page-creation-date\"],\"createdByText\":[1,\"created-by-text\"],\"literatureTypesText\":[1,\"literature-types-text\"],\"genresText\":[1,\"genres-text\"],\"languagesText\":[1,\"languages-text\"],\"viewsText\":[1,\"views-text\"],\"storiesText\":[1,\"stories-text\"],\"followersText\":[1,\"followers-text\"],\"membersText\":[1,\"members-text\"],\"followText\":[1,\"follow-text\"],\"becomeMemberText\":[1,\"become-member-text\"],\"donateText\":[1,\"donate-text\"],\"sendMessageText\":[1,\"send-message-text\"],\"followed\":[4],\"memberRequestStatus\":[1025,\"member-request-status\"],\"memberButtonHoverState\":[32]},null,{\"followed\":[\"handleFollowedChanged\"]}]]],[\"ur-profile-card.cjs\",[[1,\"ur-profile-card\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarAlt\":[1,\"avatar-alt\"],\"name\":[1],\"avatarSize\":[1,\"avatar-size\"],\"description\":[1],\"followButtonText\":[1,\"follow-button-text\"],\"isOwner\":[4,\"is-owner\"],\"profileType\":[1,\"profile-type\"],\"nameFontSize\":[1,\"name-font-size\"],\"unfollowButtonText\":[1,\"unfollow-button-text\"],\"buttonHeight\":[1,\"button-height\"],\"buttonWidth\":[1,\"button-width\"],\"pageActionsTooltipText\":[1,\"page-actions-tooltip-text\"],\"memberActionsTooltipText\":[1,\"member-actions-tooltip-text\"],\"showDescription\":[4,\"show-description\"],\"showMemberActions\":[4,\"show-member-actions\"],\"showPageActions\":[4,\"show-page-actions\"],\"hideFollowActions\":[4,\"hide-follow-actions\"],\"initialFollowState\":[4,\"initial-follow-state\"],\"isFollowing\":[32]}]]],[\"ur-user-carousel.cjs\",[[1,\"ur-user-carousel\",{\"users\":[16],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4]}]]],[\"ur-autosave-drawer.cjs\",[[1,\"ur-autosave-drawer\",{\"autosaves\":[1040],\"emptyMessage\":[1,\"empty-message\"],\"chapterText\":[1,\"chapter-text\"],\"yesText\":[1,\"yes-text\"],\"noText\":[1,\"no-text\"],\"autosavesTitle\":[1,\"autosaves-title\"],\"deleteConfirmMessage\":[1,\"delete-confirm-message\"],\"forceRender\":[32]},null,{\"autosaves\":[\"autosavesChanged\"]}]]],[\"ur-chapter-item.cjs\",[[1,\"ur-chapter-item\",{\"chapterId\":[1,\"chapter-id\"],\"chapterNumber\":[2,\"chapter-number\"],\"chapterTitle\":[1,\"chapter-title\"],\"createdAt\":[1,\"created-at\"],\"isBound\":[4,\"is-bound\"],\"isStoryCompleted\":[4,\"is-story-completed\"],\"likes\":[2],\"views\":[2],\"isOwner\":[4,\"is-owner\"],\"readingDuration\":[2,\"reading-duration\"],\"readChapterText\":[1,\"read-chapter-text\"],\"likesText\":[1,\"likes-text\"],\"viewsText\":[1,\"views-text\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"isLocked\":[4,\"is-locked\"],\"loading\":[32]}]]],[\"ur-main-desktop-top-app-bar.cjs\",[[1,\"ur-main-desktop-top-app-bar\",{\"variant\":[1],\"logoRotation\":[2,\"logo-rotation\"],\"logoOpacity\":[2,\"logo-opacity\"],\"fontColor\":[1,\"font-color\"],\"quillText\":[1,\"quill-text\"],\"deviceVariant\":[1,\"device-variant\"],\"searchText\":[1,\"search-text\"],\"quillCount\":[2,\"quill-count\"]}]]],[\"ur-notification.cjs\",[[1,\"ur-notification\",{\"notification\":[16],\"isRead\":[32],\"isFollowing\":[32],\"memberRequestStatus\":[32]}]]],[\"ur-player.cjs\",[[1,\"ur-player\",{\"src\":[1],\"storyTitle\":[1,\"story-title\"],\"author\":[1],\"coverImage\":[1,\"cover-image\"],\"chapterName\":[1,\"chapter-name\"],\"playText\":[1,\"play-text\"],\"pauseText\":[1,\"pause-text\"],\"forwardText\":[1,\"forward-text\"],\"backwardText\":[1,\"backward-text\"],\"speedText\":[1,\"speed-text\"],\"volumeText\":[1,\"volume-text\"],\"autoPlay\":[4,\"auto-play\"],\"showControls\":[4,\"show-controls\"],\"primaryColor\":[1,\"primary-color\"],\"accentColor\":[1,\"accent-color\"],\"darkMode\":[4,\"dark-mode\"],\"isPlaying\":[32],\"currentTime\":[32],\"duration\":[32],\"loadedPercentage\":[32],\"volume\":[32],\"playbackRate\":[32],\"play\":[64],\"pause\":[64],\"togglePlay\":[64],\"seekTo\":[64],\"setVolume\":[64],\"setPlaybackRate\":[64],\"skipForward\":[64],\"skipBackward\":[64]},null,{\"src\":[\"onSourceChange\"]}]]],[\"ur-read-rail.cjs\",[[1,\"ur-read-rail\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"likes\":[2],\"dislike\":[1],\"comments\":[2],\"donate\":[1],\"share\":[1],\"mode\":[1],\"isFollowed\":[4,\"is-followed\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isPaidChapter\":[4,\"is-paid-chapter\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"],\"isHostSmall\":[4,\"is-host-small\"],\"isVisible\":[4,\"is-visible\"],\"isLiked\":[32],\"isDisliked\":[32]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"likes\":[\"handlePropChange\"],\"dislike\":[\"handlePropChange\"],\"comments\":[\"handlePropChange\"],\"donate\":[\"handlePropChange\"],\"share\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isPaidChapter\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isHostSmall\":[\"handlePropChange\",\"handleHostSmallChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-reader.cjs\",[[1,\"ur-reader\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"loading\":[4],\"chapterLocked\":[4,\"chapter-locked\"],\"storyTitle\":[1,\"story-title\"],\"chapterTitle\":[1,\"chapter-title\"],\"chapterContent\":[1,\"chapter-content\"],\"fontSize\":[1,\"font-size\"],\"chapterSequence\":[2,\"chapter-sequence\"],\"fontType\":[1,\"font-type\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"minutesText\":[1,\"minutes-text\"],\"likes\":[1],\"comments\":[2],\"dislike\":[1],\"donate\":[1],\"share\":[1],\"isVisible\":[4,\"is-visible\"],\"readingTimePerWord\":[2,\"reading-time-per-word\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"],\"hasPreviousChapter\":[4,\"has-previous-chapter\"],\"hasNextChapter\":[4,\"has-next-chapter\"],\"lockedMessage\":[1,\"locked-message\"],\"nextChapterText\":[1,\"next-chapter-text\"],\"previousChapterText\":[1,\"previous-chapter-text\"],\"unlockButtonLabel\":[1,\"unlock-button-label\"],\"isSmallContainer\":[32],\"baseFontSize\":[32],\"fontStyles\":[32],\"isHostSmall\":[32]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"storyTitle\":[\"handlePropChange\"],\"chapterTitle\":[\"handlePropChange\"],\"chapterContent\":[\"handlePropChange\"],\"fontSize\":[\"handlePropChange\"],\"fontType\":[\"handlePropChange\"],\"loading\":[\"handlePropChange\"],\"chapterLocked\":[\"handlePropChange\"],\"chapterSequence\":[\"handlePropChange\"],\"hasPreviousChapter\":[\"handlePropChange\"],\"hasNextChapter\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-user-page-profile.cjs\",[[1,\"ur-user-page-profile\",{\"platform\":[1],\"avatar\":[8],\"name\":[8],\"about\":[8],\"location\":[8],\"facebook_url\":[8],\"twitter_url\":[8],\"linkedin_url\":[8],\"email\":[8],\"website\":[8],\"stories\":[2],\"views\":[2],\"userProfileCreatedText\":[1,\"user-profile-created-text\"],\"following\":[2],\"followers\":[2],\"members\":[2],\"showFollow\":[4,\"show-follow\"],\"isProfileFollowed\":[4,\"is-profile-followed\"],\"unFollowText\":[1,\"un-follow-text\"],\"websiteText\":[1,\"website-text\"],\"writerText\":[1,\"writer-text\"],\"readerText\":[1,\"reader-text\"],\"isLoggedIn\":[4,\"is-logged-in\"],\"showBecomeMember\":[4,\"show-become-member\"],\"showDonate\":[4,\"show-donate\"],\"showSendMessage\":[4,\"show-send-message\"],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"isProfileOwner\":[4,\"is-profile-owner\"],\"pageCreatorName\":[8,\"page-creator-name\"],\"pageCreatorImage\":[8,\"page-creator-image\"],\"isWriter\":[4,\"is-writer\"],\"userProfileCreatedDate\":[8,\"user-profile-created-date\"],\"createdByText\":[1,\"created-by-text\"],\"literatureTypesText\":[1,\"literature-types-text\"],\"genresText\":[1,\"genres-text\"],\"languagesText\":[1,\"languages-text\"],\"viewsText\":[1,\"views-text\"],\"storiesText\":[1,\"stories-text\"],\"followersText\":[1,\"followers-text\"],\"followingText\":[1,\"following-text\"],\"pagesFollowingText\":[1,\"pages-following-text\"],\"pagesFollowing\":[2,\"pages-following\"],\"logoutText\":[1,\"logout-text\"],\"followText\":[1,\"follow-text\"],\"donateText\":[1,\"donate-text\"]},null,{\"isProfileFollowed\":[\"handleIsProfileFollowedChange\"]}]]],[\"ur-novl-summary.cjs\",[[1,\"ur-novl-summary\",{\"novlTitle\":[1,\"novl-title\"],\"coverImage\":[1,\"cover-image\"],\"completeText\":[1,\"complete-text\"],\"ongoingText\":[1,\"ongoing-text\"],\"storyCompleteStatus\":[4,\"story-complete-status\"],\"likes\":[2],\"likesText\":[1,\"likes-text\"],\"views\":[2],\"viewsText\":[1,\"views-text\"],\"readingDuration\":[1,\"reading-duration\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"description\":[1],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"showLessText\":[1,\"show-less-text\"],\"showMoreText\":[1,\"show-more-text\"],\"readStoryText\":[1,\"read-story-text\"],\"learnMoreText\":[1,\"learn-more-text\"],\"writeStoryText\":[1,\"write-story-text\"],\"buyStoryText\":[1,\"buy-story-text\"],\"addToLibraryText\":[1,\"add-to-library-text\"],\"removeFromLibraryText\":[1,\"remove-from-library-text\"],\"novlPrice\":[1,\"novl-price\"],\"hasBranches\":[4,\"has-branches\"],\"writeEnabled\":[4,\"write-enabled\"],\"novlPaid\":[4,\"novl-paid\"],\"novlPurchasedAt\":[1,\"novl-purchased-at\"],\"ownerAvatar\":[1,\"owner-avatar\"],\"ownerName\":[1,\"owner-name\"],\"isUserLoggedIn\":[4,\"is-user-logged-in\"],\"isNovlLibrary\":[4,\"is-novl-library\"],\"novlIsOwn\":[4,\"novl-is-own\"],\"expanded\":[4],\"reset\":[64]}]]],[\"ur-read-rail-mobile.cjs\",[[1,\"ur-read-rail-mobile\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"likes\":[1],\"dislike\":[1],\"comments\":[2],\"donate\":[1],\"share\":[1],\"isFollowed\":[4,\"is-followed\"],\"isVisible\":[4,\"is-visible\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"likes\":[\"handlePropChange\"],\"dislike\":[\"handlePropChange\"],\"comments\":[\"handlePropChange\"],\"donate\":[\"handlePropChange\"],\"share\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-stepper.cjs\",[[1,\"ur-stepper\",{\"stepCount\":[2,\"step-count\"],\"currentStep\":[1026,\"current-step\"],\"allowStepNavigation\":[4,\"allow-step-navigation\"],\"customClass\":[1,\"custom-class\"],\"stepTitles\":[16,\"step-titles\"],\"stepDescriptions\":[16,\"step-descriptions\"],\"showStepNumbers\":[4,\"show-step-numbers\"],\"completedStepIcon\":[1,\"completed-step-icon\"],\"nextButtonText\":[1,\"next-button-text\"],\"previousButtonText\":[1,\"previous-button-text\"],\"completeButtonText\":[1,\"complete-button-text\"],\"completeStepText\":[1,\"complete-step-text\"],\"ongoingStepText\":[1,\"ongoing-step-text\"],\"nextButtonDisabled\":[4,\"next-button-disabled\"],\"completedSteps\":[32],\"stepValidation\":[32],\"goToStep\":[64],\"markStepComplete\":[64],\"markStepInvalid\":[64],\"reset\":[64]}]]],[\"ur-user-profile-settings-form.cjs\",[[1,\"ur-user-profile-settings-form\",{\"settings\":[8],\"locationLabelText\":[1,\"location-label-text\"],\"websiteLabelText\":[1,\"website-label-text\"],\"aboutLabelText\":[1,\"about-label-text\"],\"facebookLabelText\":[1,\"facebook-label-text\"],\"twitterLabelText\":[1,\"twitter-label-text\"],\"linkedinLabelText\":[1,\"linkedin-label-text\"],\"emailLabelText\":[1,\"email-label-text\"],\"personalInfoTitleText\":[1,\"personal-info-title-text\"],\"interactTitleText\":[1,\"interact-title-text\"],\"facebookTitleText\":[1,\"facebook-title-text\"],\"twitterTitleText\":[1,\"twitter-title-text\"],\"linkedinTitleText\":[1,\"linkedin-title-text\"],\"emailTitleText\":[1,\"email-title-text\"],\"facebookPrefixText\":[1,\"facebook-prefix-text\"],\"twitterPrefixText\":[1,\"twitter-prefix-text\"],\"linkedinPrefixText\":[1,\"linkedin-prefix-text\"],\"personalInfoSubtitleText\":[1,\"personal-info-subtitle-text\"],\"interactSubtitleText\":[1,\"interact-subtitle-text\"],\"socialEnabled\":[32]},null,{\"settings\":[\"settingsChanged\"]}]]],[\"ur-checkbox-group.cjs\",[[1,\"ur-checkbox-group\",{\"name\":[1],\"values\":[1040],\"required\":[4],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"maxSelectable\":[2,\"max-selectable\"],\"options\":[32],\"validate\":[64],\"reset\":[64]}]]],[\"ur-editor.cjs\",[[1,\"ur-editor\",{\"content\":[1],\"disabled\":[4],\"placeholder\":[1],\"wordLabel\":[1,\"word-label\"],\"charLabel\":[1,\"char-label\"],\"enableBold\":[4,\"enable-bold\"],\"enableItalic\":[4,\"enable-italic\"],\"enableUnderline\":[4,\"enable-underline\"],\"enableTextAlign\":[4,\"enable-text-align\"],\"enableBlockquote\":[4,\"enable-blockquote\"],\"maxLength\":[2,\"max-length\"],\"maxWords\":[2,\"max-words\"],\"showCounter\":[4,\"show-counter\"],\"showFixedToolbar\":[4,\"show-fixed-toolbar\"],\"formattingState\":[32],\"charCount\":[32],\"wordCount\":[32],\"selectionTooltip\":[32],\"isMouseDown\":[32],\"getHTML\":[64],\"getText\":[64],\"setContent\":[64],\"clearContent\":[64]},null,{\"maxLength\":[\"maxLengthUpdated\"],\"maxWords\":[\"maxWordsUpdated\"],\"content\":[\"contentUpdated\"],\"disabled\":[\"disabledUpdated\"]}]]],[\"ur-hero.cjs\",[[1,\"ur-hero\",{\"heroTitle\":[1,\"hero-title\"],\"heroSubtitle\":[1,\"hero-subtitle\"],\"ctaText\":[1,\"cta-text\"],\"backgroundImage\":[1,\"background-image\"],\"backgroundColor\":[1,\"background-color\"],\"layout\":[1],\"backgroundJustification\":[1,\"background-justification\"],\"backgroundAlignment\":[1,\"background-alignment\"],\"heroTitleColor\":[1,\"hero-title-color\"],\"heroSubtitleColor\":[1,\"hero-subtitle-color\"],\"widthClass\":[32]}]]],[\"ur-locale-filter-panel.cjs\",[[1,\"ur-locale-filter-panel\",{\"showHeader\":[4,\"show-header\"],\"showFooter\":[4,\"show-footer\"],\"locales\":[16],\"disabledLocales\":[16,\"disabled-locales\"],\"mutableLocales\":[32]}]]],[\"ur-read-mobile-top-app-bar.cjs\",[[1,\"ur-read-mobile-top-app-bar\",{\"variant\":[1],\"headerTitle\":[1,\"header-title\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"]}]]],[\"ur-read-top-app-bar.cjs\",[[1,\"ur-read-top-app-bar\",{\"variant\":[1],\"novelTitle\":[1,\"novel-title\"],\"isChapterOwner\":[4,\"is-chapter-owner\"],\"deviceVariant\":[1,\"device-variant\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"],\"topValue\":[32]}]]],[\"ur-thumbs-rating.cjs\",[[1,\"ur-thumbs-rating\",{\"likesCount\":[2,\"likes-count\"],\"dislikeText\":[1,\"dislike-text\"],\"isLiked\":[1028,\"is-liked\"],\"isDisliked\":[1028,\"is-disliked\"]}]]],[\"ur-top-app-bar.cjs\",[[1,\"ur-top-app-bar\",{\"headerTitle\":[1,\"header-title\"],\"variant\":[1],\"logoRotation\":[2,\"logo-rotation\"],\"logoOpacity\":[2,\"logo-opacity\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"]}]]],[\"ur-bottom-sheet.cjs\",[[1,\"ur-bottom-sheet\",{\"open\":[4],\"selectedDetent\":[1,\"selected-detent\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"currentDetent\":[32],\"dragPosition\":[32],\"isVisible\":[32],\"showSheet\":[64],\"hideSheet\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"ur-circular-progress.cjs\",[[1,\"ur-circular-progress\",{\"max\":[514],\"value\":[514],\"width\":[513],\"height\":[513]}]]],[\"ur-dialog.cjs\",[[1,\"ur-dialog\",{\"description\":[1],\"open\":[4],\"fullscreen\":[4],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"showHeader\":[4,\"show-header\"],\"overlayHeader\":[4,\"overlay-header\"],\"variant\":[1],\"borderRadius\":[1,\"border-radius\"],\"openDialog\":[64],\"closeDialog\":[64]}]]],[\"ur-form.cjs\",[[1,\"ur-form\",{\"submitForm\":[64],\"resetForm\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"errorStateChanged\",\"handleErrorStateChanged\"]]]]],[\"ur-image-uploader.cjs\",[[1,\"ur-image-uploader\",{\"width\":[1],\"height\":[1],\"maxHeight\":[1,\"max-height\"],\"borderRadius\":[1,\"border-radius\"],\"borderStyle\":[1,\"border-style\"],\"backgroundColor\":[1,\"background-color\"],\"hoverBackgroundColor\":[1,\"hover-background-color\"],\"acceptTypes\":[1,\"accept-types\"],\"disabled\":[4],\"placeholderText\":[1,\"placeholder-text\"],\"showFileName\":[4,\"show-file-name\"],\"maxFileSize\":[2,\"max-file-size\"],\"enableNativeUpload\":[4,\"enable-native-upload\"],\"loading\":[4],\"isDragOver\":[32],\"selectedFile\":[32],\"previewUrl\":[32],\"isUploading\":[32],\"setImageUrl\":[64],\"getImageUrl\":[64],\"clearImage\":[64],\"getSelectedFile\":[64],\"setUploadingState\":[64]}]]],[\"ur-list-subheader.cjs\",[[1,\"ur-list-subheader\",{\"text\":[1]}]]],[\"ur-loader.cjs\",[[1,\"ur-loader\"]]],[\"ur-locale-filter-button.cjs\",[[1,\"ur-locale-filter-button\",{\"count\":[2],\"selected\":[4]}]]],[\"ur-long-description.cjs\",[[1,\"ur-long-description\",{\"description\":[1],\"showLessText\":[1,\"show-less-text\"],\"showMoreText\":[1,\"show-more-text\"],\"isExpanded\":[32]}]]],[\"ur-menu-item.cjs\",[[1,\"ur-menu-item\",{\"value\":[1],\"label\":[1],\"disabled\":[4],\"selected\":[4],\"size\":[1],\"selectedIcon\":[1,\"selected-icon\"],\"fullWidth\":[4,\"full-width\"],\"leftAligned\":[4,\"left-aligned\"],\"heightNumber\":[514,\"height-number\"],\"isHovered\":[32]},null,{\"selected\":[\"selectedChanged\"],\"disabled\":[\"disabledChanged\"],\"heightNumber\":[\"heightNumberChanged\"]}]]],[\"ur-navigation-bar.cjs\",[[1,\"ur-navigation-bar\",{\"position\":[1],\"labelVisibility\":[1,\"label-visibility\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"],\"value\":[1537],\"scrollTarget\":[1,\"scroll-target\"],\"setValue\":[64]},[[0,\"change\",\"changeHandler\"]],{\"value\":[\"valueChanged\"]}]]],[\"ur-navigation-drawer.cjs\",[[1,\"ur-navigation-drawer\",{\"open\":[4],\"placement\":[1],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"contained\":[4],\"openDrawer\":[64],\"closeDrawer\":[64]}]]],[\"ur-navigation-drawer-global.cjs\",[[1,\"ur-navigation-drawer-global\",{\"open\":[4],\"placement\":[1],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"contentHeight\":[32],\"openDrawer\":[64],\"closeDrawer\":[64]}]]],[\"ur-notification-tabs.cjs\",[[1,\"ur-notification-tabs\",{\"activeTab\":[1,\"active-tab\"],\"notificationsTabText\":[1,\"notifications-tab-text\"],\"requestsTabText\":[1,\"requests-tab-text\"],\"fullWidthTabs\":[4,\"full-width-tabs\"]}]]],[\"ur-page-profile-tabs.cjs\",[[1,\"ur-page-profile-tabs\",{\"activeTab\":[1,\"active-tab\"],\"storiesTabText\":[1,\"stories-tab-text\"],\"libraryTabText\":[1,\"library-tab-text\"],\"transactionsTabText\":[1,\"transactions-tab-text\"],\"statisticsTabText\":[1,\"statistics-tab-text\"],\"settingsTabText\":[1,\"settings-tab-text\"],\"aboutTabText\":[1,\"about-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-page-shared-list-tabs.cjs\",[[1,\"ur-page-shared-list-tabs\",{\"activeTab\":[1,\"active-tab\"],\"followersTabText\":[1,\"followers-tab-text\"],\"membersTabText\":[1,\"members-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-profile.cjs\",[[1,\"ur-profile\",{\"name\":[8],\"description\":[8],\"location\":[8],\"facebook_url\":[8],\"twitter_url\":[8],\"linkedin_url\":[8],\"email\":[8],\"phone\":[8],\"website\":[8],\"show_follow\":[4],\"show_donate\":[4],\"show_become_member\":[4],\"show_send_message\":[4],\"show_stats\":[4],\"stories_count\":[2],\"views_count\":[2],\"followers_count\":[2],\"writers_count\":[2],\"show_languages\":[4],\"languages\":[1],\"show_genres\":[4],\"genres\":[1],\"show_member_since\":[4],\"member_since\":[1]}]]],[\"ur-segment-button.cjs\",[[1,\"ur-segment-button\",{\"likeLabel\":[1,\"like-label\"]}]]],[\"ur-select.cjs\",[[1,\"ur-select\",{\"value\":[1],\"name\":[1],\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"variant\":[1],\"usage\":[1],\"multiple\":[4],\"clearable\":[4],\"disabled\":[4],\"required\":[4],\"readonly\":[4],\"size\":[1],\"placement\":[1],\"icon\":[1],\"endIcon\":[1,\"end-icon\"],\"flex\":[4],\"suffix\":[1],\"clearIcon\":[1,\"clear-icon\"]},null,{\"value\":[\"handleValueChange\"]}]]],[\"ur-snackbar.cjs\",[[1,\"ur-snackbar\",{\"open\":[1540],\"placement\":[1],\"action\":[1],\"actionLoading\":[4,\"action-loading\"],\"closeable\":[4],\"closeIcon\":[1,\"close-icon\"],\"messageLine\":[2,\"message-line\"],\"autoCloseDelay\":[2,\"auto-close-delay\"],\"closeOnOutsideClick\":[4,\"close-on-outside-click\"],\"message\":[1],\"backColor\":[1,\"back-color\"],\"fontColor\":[1,\"font-color\"],\"actionColor\":[1,\"action-color\"],\"radius\":[1],\"zIndex\":[1,\"z-index\"]}]]],[\"ur-tabs.cjs\",[[1,\"ur-tabs\",{\"tabs\":[16],\"panels\":[16]}]]],[\"ur-user-profile.cjs\",[[1,\"ur-user-profile\"]]],[\"ur-user-profile-tabs.cjs\",[[1,\"ur-user-profile-tabs\",{\"activeTab\":[1,\"active-tab\"],\"storiesTabText\":[1,\"stories-tab-text\"],\"libraryTabText\":[1,\"library-tab-text\"],\"transactionsTabText\":[1,\"transactions-tab-text\"],\"statisticsTabText\":[1,\"statistics-tab-text\"],\"settingsTabText\":[1,\"settings-tab-text\"],\"aboutTabText\":[1,\"about-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-avatar.cjs\",[[1,\"ur-avatar\",{\"size\":[1],\"src\":[1],\"name\":[1],\"border\":[1],\"radius\":[1],\"variant\":[1]}]]],[\"ur-menu-profile.cjs\",[[1,\"ur-menu-profile\",{\"userAvatar\":[1,\"user-avatar\"],\"userName\":[1,\"user-name\"],\"userRole\":[1,\"user-role\"]}]]],[\"ur-page.cjs\",[[1,\"ur-page\",{\"pageId\":[1,\"page-id\"],\"loading\":[4],\"followed\":[4],\"pageTitle\":[1,\"page-title\"],\"pageCover\":[1,\"page-cover\"],\"pageCoverFallback\":[1,\"page-cover-fallback\"],\"followers\":[2],\"showStats\":[4,\"show-stats\"],\"pageDescription\":[1,\"page-description\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-user.cjs\",[[1,\"ur-user\",{\"userId\":[513,\"user-id\"],\"loading\":[4],\"followed\":[4],\"userTitle\":[1,\"user-title\"],\"userCover\":[1,\"user-cover\"],\"userCoverFallback\":[1,\"user-cover-fallback\"],\"followers\":[2],\"showStats\":[4,\"show-stats\"],\"userDescription\":[1,\"user-description\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-checkbox.cjs\",[[1,\"ur-checkbox\",{\"disabled\":[4],\"checked\":[1540],\"value\":[1],\"name\":[1]},null,{\"checked\":[\"watchChecked\"]}]]],[\"ur-linear-progress.cjs\",[[1,\"ur-linear-progress\",{\"value\":[2],\"max\":[514]},null,{\"value\":[\"validateValue\"]}]]],[\"ur-novl.cjs\",[[1,\"ur-novl\",{\"novlId\":[520,\"novl-id\"],\"loading\":[4],\"novlTitle\":[1,\"novl-title\"],\"novlCover\":[8,\"novl-cover\"],\"novlCoverFallback\":[1,\"novl-cover-fallback\"],\"likes\":[2],\"views\":[2],\"showStats\":[4,\"show-stats\"],\"novlDescription\":[8,\"novl-description\"],\"authorAvatar\":[8,\"author-avatar\"],\"authorName\":[8,\"author-name\"],\"published\":[4],\"price\":[1],\"publisherAvatar\":[1,\"publisher-avatar\"],\"publisherName\":[1,\"publisher-name\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-text-field.cjs\",[[1,\"ur-text-field\",{\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"disabled\":[4],\"required\":[4],\"variant\":[1],\"value\":[1025],\"name\":[1],\"endIcon\":[1,\"end-icon\"],\"rows\":[2],\"autosize\":[4],\"minRows\":[2,\"min-rows\"],\"maxRows\":[2,\"max-rows\"],\"minlength\":[2],\"maxlength\":[2],\"counter\":[4],\"type\":[1],\"pattern\":[1],\"min\":[8],\"max\":[8],\"step\":[8],\"error\":[1540],\"errorMessage\":[1537,\"error-message\"]}]]],[\"ur-time-ago.cjs\",[[1,\"ur-time-ago\",{\"date\":[1],\"timeAgo\":[32]},null,{\"date\":[\"watchDate\"]}]]],[\"ur-button-arrow-left_2.cjs\",[[1,\"ur-button-arrow-left\",{\"disabled\":[4]}],[1,\"ur-button-arrow-right\",{\"disabled\":[4]}]]],[\"ur-novl-carousel.cjs\",[[1,\"ur-novl-carousel\",{\"novls\":[16],\"loading\":[32],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4],\"destroyListeners\":[4,\"destroy-listeners\"],\"debug\":[4],\"disabledPrev\":[32],\"disabledNext\":[32],\"addNovls\":[64],\"updateNovlsByIndex\":[64],\"reset\":[64]}]]],[\"ur-logo.cjs\",[[1,\"ur-logo\",{\"width\":[1],\"height\":[1],\"color\":[1],\"rotation\":[2],\"opacity\":[2]}]]],[\"ur-switch.cjs\",[[1,\"ur-switch\",{\"disabled\":[4],\"checked\":[1540],\"checkedIcon\":[1,\"checked-icon\"],\"uncheckedIcon\":[1,\"unchecked-icon\"]}]]],[\"ur-list_2.cjs\",[[1,\"ur-list\"],[1,\"ur-list-item\",{\"content\":[1],\"disabled\":[4],\"active\":[4],\"nonclickable\":[4],\"rounded\":[4],\"alignment\":[1],\"icon\":[1],\"endIcon\":[1,\"end-icon\"],\"description\":[1],\"href\":[1],\"target\":[1],\"rel\":[1]}]]],[\"ur-radio-button_2.cjs\",[[1,\"ur-radio-button\",{\"disabled\":[4],\"checked\":[1540],\"value\":[1],\"name\":[1]},null,{\"checked\":[\"watchChecked\"]}],[1,\"ur-radio-group\",{\"name\":[1],\"value\":[1025],\"required\":[4],\"options\":[32],\"validate\":[64],\"reset\":[64]}]]],[\"ur-chip.cjs\",[[1,\"ur-chip\",{\"label\":[1],\"border\":[1],\"borderColor\":[1,\"border-color\"],\"radius\":[1],\"size\":[1],\"backColor\":[1,\"back-color\"],\"fontColor\":[1,\"font-color\"],\"loading\":[4],\"disabled\":[4],\"clickable\":[4]}]]],[\"ur-tooltip.cjs\",[[1,\"ur-tooltip\",{\"content\":[1],\"variant\":[1],\"placement\":[1],\"openDelay\":[2,\"open-delay\"],\"closeDelay\":[2,\"close-delay\"],\"trigger\":[1],\"colorScheme\":[1,\"color-scheme\"],\"disabled\":[4],\"isVisible\":[32]}]]],[\"ur-button-icon.cjs\",[[1,\"ur-button-icon\",{\"disabled\":[4],\"loading\":[4],\"variant\":[1],\"icon\":[1],\"selectedIcon\":[1,\"selected-icon\"],\"selected\":[4],\"active\":[4],\"borderRadius\":[1,\"border-radius\"],\"buttonWidth\":[1,\"button-width\"],\"buttonHeight\":[1,\"button-height\"],\"fontColor\":[1,\"font-color\"],\"backgroundColor\":[1,\"background-color\"]}]]],[\"ur-button.cjs\",[[1,\"ur-button\",{\"disabled\":[4],\"variant\":[1],\"icon\":[8],\"endIcon\":[8,\"end-icon\"],\"fullWidth\":[4,\"full-width\"],\"loading\":[4],\"fontColor\":[1,\"font-color\"],\"buttonHeight\":[1,\"button-height\"],\"borderRadius\":[1,\"border-radius\"],\"backgroundColor\":[1,\"background-color\"]}]]]]"), options);
|
|
8
|
+
return index.bootstrapLazy(JSON.parse("[[\"ur-main-menu.cjs\",[[1,\"ur-main-menu\",{\"opened\":[4],\"loggedIn\":[4,\"logged-in\"],\"userName\":[1,\"user-name\"],\"userRole\":[1,\"user-role\"],\"userAvatar\":[1,\"user-avatar\"],\"badgeCount\":[2,\"badge-count\"],\"termsText\":[1,\"terms-text\"],\"rulesText\":[1,\"rules-text\"],\"privacyText\":[1,\"privacy-text\"],\"paymentText\":[1,\"payment-text\"],\"acceptableUseText\":[1,\"acceptable-use-text\"],\"partnershipText\":[1,\"partnership-text\"],\"homeText\":[1,\"home-text\"],\"storiesText\":[1,\"stories-text\"],\"pagesText\":[1,\"pages-text\"],\"competitionsText\":[1,\"competitions-text\"],\"notificationText\":[1,\"notification-text\"],\"facebookText\":[1,\"facebook-text\"],\"xText\":[1,\"x-text\"],\"discordText\":[1,\"discord-text\"],\"contactUsText\":[1,\"contact-us-text\"],\"signUpText\":[1,\"sign-up-text\"],\"premiumText\":[1,\"premium-text\"],\"whatsNewText\":[1,\"whats-new-text\"],\"faqsText\":[1,\"faqs-text\"],\"currentRoute\":[1,\"current-route\"],\"notificationCenterOpened\":[4,\"notification-center-opened\"],\"expanded\":[32],\"parentHeight\":[32],\"updateCounter\":[32]},null,{\"opened\":[\"watchOpenedHandler\"],\"userName\":[\"watchUserNameHandler\"],\"userRole\":[\"watchUserRoleHandler\"],\"userAvatar\":[\"watchUserAvatarHandler\"],\"badgeCount\":[\"watchBadgeCountHandler\"],\"currentRoute\":[\"watchCurrentRouteHandler\"],\"notificationCenterOpened\":[\"watchNotificationCenterOpenedHandler\"]}]]],[\"ur-library-shelf-selector.cjs\",[[1,\"ur-library-shelf-selector\",{\"chooseButtonText\":[1,\"choose-button-text\"],\"createButtonText\":[1,\"create-button-text\"],\"chooseShelfLabelText\":[1,\"choose-shelf-label-text\"],\"createNewShelfLabelText\":[1,\"create-new-shelf-label-text\"],\"createNewShelfSubtitleText\":[1,\"create-new-shelf-subtitle-text\"],\"orCreateNewShelf\":[1,\"or-create-new-shelf\"],\"newShelfPlaceholder\":[1,\"new-shelf-placeholder\"],\"shelves\":[16],\"selectedShelf\":[1025,\"selected-shelf\"],\"newShelfName\":[32],\"isShelfPublic\":[32]},[[2,\"valueSelected\",\"handleRadioSelection\"]]]]],[\"ur-novl-overview-info.cjs\",[[1,\"ur-novl-overview-info\",{\"novlTitle\":[1,\"novl-title\"],\"coverImage\":[1,\"cover-image\"],\"completeText\":[1,\"complete-text\"],\"ongoingText\":[1,\"ongoing-text\"],\"storyCompleteStatus\":[4,\"story-complete-status\"],\"likes\":[2],\"deviceSize\":[1,\"device-size\"],\"likesText\":[1,\"likes-text\"],\"views\":[2],\"editTitleMode\":[4,\"edit-title-mode\"],\"editDescriptionMode\":[4,\"edit-description-mode\"],\"viewsText\":[1,\"views-text\"],\"readingDuration\":[1,\"reading-duration\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"description\":[1],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"showLessText\":[1,\"show-less-text\"],\"showMoreText\":[1,\"show-more-text\"],\"readStoryText\":[1,\"read-story-text\"],\"writeStoryText\":[1,\"write-story-text\"],\"descriptionText\":[1,\"description-text\"],\"chapterListText\":[1,\"chapter-list-text\"],\"buyStoryText\":[1,\"buy-story-text\"],\"addToLibraryText\":[1,\"add-to-library-text\"],\"removeFromLibraryText\":[1,\"remove-from-library-text\"],\"novlPrice\":[1,\"novl-price\"],\"isUserLoggedIn\":[4,\"is-user-logged-in\"],\"isNovlLibrary\":[4,\"is-novl-library\"],\"hasBranches\":[4,\"has-branches\"],\"writeEnabled\":[4,\"write-enabled\"],\"novlPaid\":[4,\"novl-paid\"],\"novlPurchasedAt\":[1,\"novl-purchased-at\"],\"isOwner\":[4,\"is-owner\"],\"attachRequestStatus\":[1025,\"attach-request-status\"],\"attachStoryText\":[1,\"attach-story-text\"],\"ownerAvatar\":[1,\"owner-avatar\"],\"ownerName\":[1,\"owner-name\"],\"visibility\":[1],\"visibilityPublicText\":[1,\"visibility-public-text\"],\"visibilityPrivateText\":[1,\"visibility-private-text\"],\"completeStoryText\":[1,\"complete-story-text\"],\"revertStoryText\":[1,\"revert-story-text\"],\"expanded\":[4],\"showPublishedButton\":[4,\"show-published-button\"],\"attachButtonHoverState\":[32],\"reset\":[64]}]]],[\"ur-comment-form.cjs\",[[1,\"ur-comment-form\",{\"user\":[16],\"isServer\":[4,\"is-server\"],\"placeholder\":[1],\"maxLength\":[2,\"max-length\"],\"minLength\":[2,\"min-length\"],\"disabled\":[4],\"variant\":[1],\"formState\":[32]}]]],[\"ur-feedback.cjs\",[[1,\"ur-feedback\",{\"titleText\":[1,\"title-text\"],\"descriptionText\":[1,\"description-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"feedbackText\":[1,\"feedback-text\"],\"supportText\":[1,\"support-text\"],\"pressText\":[1,\"press-text\"],\"successText\":[1,\"success-text\"],\"user\":[4],\"failureText\":[1,\"failure-text\"],\"messageLabel\":[1,\"message-label\"],\"emailLabel\":[1,\"email-label\"],\"emailPlaceholder\":[1,\"email-placeholder\"],\"sendText\":[1,\"send-text\"],\"text\":[32],\"disabled\":[32],\"success\":[32],\"failure\":[32],\"mode\":[32],\"userEmail\":[32],\"emailError\":[32],\"reset\":[64],\"handleSubmitSuccess\":[64],\"handleSubmitFailure\":[64]}]]],[\"ur-page-carousel.cjs\",[[1,\"ur-page-carousel\",{\"pages\":[16],\"loading\":[32],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4],\"destroyListeners\":[4,\"destroy-listeners\"],\"debug\":[4],\"disabledPrev\":[32],\"disabledNext\":[32],\"addPages\":[64],\"updateNovlsByIndex\":[64],\"reset\":[64]}]]],[\"ur-page-profile.cjs\",[[1,\"ur-page-profile\",{\"pageId\":[1,\"page-id\"],\"platform\":[1],\"avatar\":[8],\"name\":[8],\"about\":[8],\"location\":[8],\"facebook_url\":[8],\"twitter_url\":[8],\"linkedin_url\":[8],\"email\":[8],\"phone\":[8],\"website\":[8],\"stories\":[2],\"views\":[2],\"pageCreatedText\":[1,\"page-created-text\"],\"following\":[2],\"followers\":[2],\"members\":[2],\"showFollow\":[4,\"show-follow\"],\"websiteText\":[1,\"website-text\"],\"showBecomeMember\":[4,\"show-become-member\"],\"showDonate\":[4,\"show-donate\"],\"showSendMessage\":[4,\"show-send-message\"],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"isPageOwner\":[4,\"is-page-owner\"],\"pageCreatorName\":[8,\"page-creator-name\"],\"pageCreatorImage\":[8,\"page-creator-image\"],\"pageType\":[1,\"page-type\"],\"pageCreationDate\":[8,\"page-creation-date\"],\"createdByText\":[1,\"created-by-text\"],\"literatureTypesText\":[1,\"literature-types-text\"],\"genresText\":[1,\"genres-text\"],\"languagesText\":[1,\"languages-text\"],\"viewsText\":[1,\"views-text\"],\"storiesText\":[1,\"stories-text\"],\"followersText\":[1,\"followers-text\"],\"membersText\":[1,\"members-text\"],\"followText\":[1,\"follow-text\"],\"becomeMemberText\":[1,\"become-member-text\"],\"donateText\":[1,\"donate-text\"],\"sendMessageText\":[1,\"send-message-text\"],\"followed\":[4],\"memberRequestStatus\":[1025,\"member-request-status\"],\"memberButtonHoverState\":[32]}]]],[\"ur-profile-card.cjs\",[[1,\"ur-profile-card\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarAlt\":[1,\"avatar-alt\"],\"name\":[1],\"avatarSize\":[1,\"avatar-size\"],\"description\":[1],\"followButtonText\":[1,\"follow-button-text\"],\"isOwner\":[4,\"is-owner\"],\"profileType\":[1,\"profile-type\"],\"nameFontSize\":[1,\"name-font-size\"],\"unfollowButtonText\":[1,\"unfollow-button-text\"],\"buttonHeight\":[1,\"button-height\"],\"buttonWidth\":[1,\"button-width\"],\"pageActionsTooltipText\":[1,\"page-actions-tooltip-text\"],\"memberActionsTooltipText\":[1,\"member-actions-tooltip-text\"],\"showDescription\":[4,\"show-description\"],\"showMemberActions\":[4,\"show-member-actions\"],\"showPageActions\":[4,\"show-page-actions\"],\"hideFollowActions\":[4,\"hide-follow-actions\"],\"initialFollowState\":[4,\"initial-follow-state\"],\"isFollowing\":[32]}]]],[\"ur-user-carousel.cjs\",[[1,\"ur-user-carousel\",{\"users\":[16],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4]}]]],[\"ur-autosave-drawer.cjs\",[[1,\"ur-autosave-drawer\",{\"autosaves\":[1040],\"emptyMessage\":[1,\"empty-message\"],\"chapterText\":[1,\"chapter-text\"],\"yesText\":[1,\"yes-text\"],\"noText\":[1,\"no-text\"],\"autosavesTitle\":[1,\"autosaves-title\"],\"deleteConfirmMessage\":[1,\"delete-confirm-message\"],\"forceRender\":[32]},null,{\"autosaves\":[\"autosavesChanged\"]}]]],[\"ur-chapter-item.cjs\",[[1,\"ur-chapter-item\",{\"chapterId\":[1,\"chapter-id\"],\"chapterNumber\":[2,\"chapter-number\"],\"chapterTitle\":[1,\"chapter-title\"],\"createdAt\":[1,\"created-at\"],\"isBound\":[4,\"is-bound\"],\"isStoryCompleted\":[4,\"is-story-completed\"],\"likes\":[2],\"views\":[2],\"isOwner\":[4,\"is-owner\"],\"readingDuration\":[2,\"reading-duration\"],\"readChapterText\":[1,\"read-chapter-text\"],\"likesText\":[1,\"likes-text\"],\"viewsText\":[1,\"views-text\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"isLocked\":[4,\"is-locked\"],\"loading\":[32]}]]],[\"ur-main-desktop-top-app-bar.cjs\",[[1,\"ur-main-desktop-top-app-bar\",{\"variant\":[1],\"logoRotation\":[2,\"logo-rotation\"],\"logoOpacity\":[2,\"logo-opacity\"],\"fontColor\":[1,\"font-color\"],\"quillText\":[1,\"quill-text\"],\"deviceVariant\":[1,\"device-variant\"],\"searchText\":[1,\"search-text\"],\"quillCount\":[2,\"quill-count\"]}]]],[\"ur-notification.cjs\",[[1,\"ur-notification\",{\"notification\":[16],\"isRead\":[32],\"isFollowing\":[32],\"memberRequestStatus\":[32],\"novlAttachRequestStatus\":[32]}]]],[\"ur-player.cjs\",[[1,\"ur-player\",{\"src\":[1],\"storyTitle\":[1,\"story-title\"],\"author\":[1],\"coverImage\":[1,\"cover-image\"],\"chapterName\":[1,\"chapter-name\"],\"playText\":[1,\"play-text\"],\"pauseText\":[1,\"pause-text\"],\"forwardText\":[1,\"forward-text\"],\"backwardText\":[1,\"backward-text\"],\"speedText\":[1,\"speed-text\"],\"volumeText\":[1,\"volume-text\"],\"autoPlay\":[4,\"auto-play\"],\"showControls\":[4,\"show-controls\"],\"primaryColor\":[1,\"primary-color\"],\"accentColor\":[1,\"accent-color\"],\"darkMode\":[4,\"dark-mode\"],\"isPlaying\":[32],\"currentTime\":[32],\"duration\":[32],\"loadedPercentage\":[32],\"volume\":[32],\"playbackRate\":[32],\"play\":[64],\"pause\":[64],\"togglePlay\":[64],\"seekTo\":[64],\"setVolume\":[64],\"setPlaybackRate\":[64],\"skipForward\":[64],\"skipBackward\":[64]},null,{\"src\":[\"onSourceChange\"]}]]],[\"ur-read-rail.cjs\",[[1,\"ur-read-rail\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"likes\":[2],\"dislike\":[1],\"comments\":[2],\"donate\":[1],\"share\":[1],\"mode\":[1],\"isFollowed\":[4,\"is-followed\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isPaidChapter\":[4,\"is-paid-chapter\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"],\"isHostSmall\":[4,\"is-host-small\"],\"isVisible\":[4,\"is-visible\"],\"isLiked\":[32],\"isDisliked\":[32]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"likes\":[\"handlePropChange\"],\"dislike\":[\"handlePropChange\"],\"comments\":[\"handlePropChange\"],\"donate\":[\"handlePropChange\"],\"share\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isPaidChapter\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isHostSmall\":[\"handlePropChange\",\"handleHostSmallChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-reader.cjs\",[[1,\"ur-reader\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"loading\":[4],\"chapterLocked\":[4,\"chapter-locked\"],\"storyTitle\":[1,\"story-title\"],\"chapterTitle\":[1,\"chapter-title\"],\"chapterContent\":[1,\"chapter-content\"],\"fontSize\":[1,\"font-size\"],\"chapterSequence\":[2,\"chapter-sequence\"],\"fontType\":[1,\"font-type\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"minutesText\":[1,\"minutes-text\"],\"likes\":[1],\"comments\":[2],\"dislike\":[1],\"donate\":[1],\"share\":[1],\"isVisible\":[4,\"is-visible\"],\"readingTimePerWord\":[2,\"reading-time-per-word\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"],\"hasPreviousChapter\":[4,\"has-previous-chapter\"],\"hasNextChapter\":[4,\"has-next-chapter\"],\"lockedMessage\":[1,\"locked-message\"],\"nextChapterText\":[1,\"next-chapter-text\"],\"previousChapterText\":[1,\"previous-chapter-text\"],\"unlockButtonLabel\":[1,\"unlock-button-label\"],\"isSmallContainer\":[32],\"baseFontSize\":[32],\"fontStyles\":[32],\"isHostSmall\":[32]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"storyTitle\":[\"handlePropChange\"],\"chapterTitle\":[\"handlePropChange\"],\"chapterContent\":[\"handlePropChange\"],\"fontSize\":[\"handlePropChange\"],\"fontType\":[\"handlePropChange\"],\"loading\":[\"handlePropChange\"],\"chapterLocked\":[\"handlePropChange\"],\"chapterSequence\":[\"handlePropChange\"],\"hasPreviousChapter\":[\"handlePropChange\"],\"hasNextChapter\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-user-page-profile.cjs\",[[1,\"ur-user-page-profile\",{\"platform\":[1],\"avatar\":[8],\"name\":[8],\"about\":[8],\"location\":[8],\"facebook_url\":[8],\"twitter_url\":[8],\"linkedin_url\":[8],\"email\":[8],\"website\":[8],\"stories\":[2],\"views\":[2],\"userProfileCreatedText\":[1,\"user-profile-created-text\"],\"following\":[2],\"followers\":[2],\"members\":[2],\"showFollow\":[4,\"show-follow\"],\"isProfileFollowed\":[4,\"is-profile-followed\"],\"unFollowText\":[1,\"un-follow-text\"],\"websiteText\":[1,\"website-text\"],\"writerText\":[1,\"writer-text\"],\"readerText\":[1,\"reader-text\"],\"isLoggedIn\":[4,\"is-logged-in\"],\"showBecomeMember\":[4,\"show-become-member\"],\"showDonate\":[4,\"show-donate\"],\"showSendMessage\":[4,\"show-send-message\"],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"isProfileOwner\":[4,\"is-profile-owner\"],\"pageCreatorName\":[8,\"page-creator-name\"],\"pageCreatorImage\":[8,\"page-creator-image\"],\"isWriter\":[4,\"is-writer\"],\"userProfileCreatedDate\":[8,\"user-profile-created-date\"],\"createdByText\":[1,\"created-by-text\"],\"literatureTypesText\":[1,\"literature-types-text\"],\"genresText\":[1,\"genres-text\"],\"languagesText\":[1,\"languages-text\"],\"viewsText\":[1,\"views-text\"],\"storiesText\":[1,\"stories-text\"],\"followersText\":[1,\"followers-text\"],\"followingText\":[1,\"following-text\"],\"pagesFollowingText\":[1,\"pages-following-text\"],\"pagesFollowing\":[2,\"pages-following\"],\"logoutText\":[1,\"logout-text\"],\"followText\":[1,\"follow-text\"],\"donateText\":[1,\"donate-text\"]},null,{\"isProfileFollowed\":[\"handleIsProfileFollowedChange\"]}]]],[\"ur-novl-summary.cjs\",[[1,\"ur-novl-summary\",{\"novlTitle\":[1,\"novl-title\"],\"coverImage\":[1,\"cover-image\"],\"completeText\":[1,\"complete-text\"],\"ongoingText\":[1,\"ongoing-text\"],\"storyCompleteStatus\":[4,\"story-complete-status\"],\"likes\":[2],\"likesText\":[1,\"likes-text\"],\"views\":[2],\"viewsText\":[1,\"views-text\"],\"readingDuration\":[1,\"reading-duration\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"description\":[1],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"showLessText\":[1,\"show-less-text\"],\"showMoreText\":[1,\"show-more-text\"],\"readStoryText\":[1,\"read-story-text\"],\"learnMoreText\":[1,\"learn-more-text\"],\"writeStoryText\":[1,\"write-story-text\"],\"buyStoryText\":[1,\"buy-story-text\"],\"addToLibraryText\":[1,\"add-to-library-text\"],\"removeFromLibraryText\":[1,\"remove-from-library-text\"],\"novlPrice\":[1,\"novl-price\"],\"hasBranches\":[4,\"has-branches\"],\"writeEnabled\":[4,\"write-enabled\"],\"novlPaid\":[4,\"novl-paid\"],\"novlPurchasedAt\":[1,\"novl-purchased-at\"],\"ownerAvatar\":[1,\"owner-avatar\"],\"ownerName\":[1,\"owner-name\"],\"isUserLoggedIn\":[4,\"is-user-logged-in\"],\"isNovlLibrary\":[4,\"is-novl-library\"],\"novlIsOwn\":[4,\"novl-is-own\"],\"expanded\":[4],\"reset\":[64]}]]],[\"ur-read-rail-mobile.cjs\",[[1,\"ur-read-rail-mobile\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"likes\":[1],\"dislike\":[1],\"comments\":[2],\"donate\":[1],\"share\":[1],\"isFollowed\":[4,\"is-followed\"],\"isVisible\":[4,\"is-visible\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"likes\":[\"handlePropChange\"],\"dislike\":[\"handlePropChange\"],\"comments\":[\"handlePropChange\"],\"donate\":[\"handlePropChange\"],\"share\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-stepper.cjs\",[[1,\"ur-stepper\",{\"stepCount\":[2,\"step-count\"],\"currentStep\":[1026,\"current-step\"],\"allowStepNavigation\":[4,\"allow-step-navigation\"],\"customClass\":[1,\"custom-class\"],\"stepTitles\":[16,\"step-titles\"],\"stepDescriptions\":[16,\"step-descriptions\"],\"showStepNumbers\":[4,\"show-step-numbers\"],\"completedStepIcon\":[1,\"completed-step-icon\"],\"nextButtonText\":[1,\"next-button-text\"],\"previousButtonText\":[1,\"previous-button-text\"],\"completeButtonText\":[1,\"complete-button-text\"],\"completeStepText\":[1,\"complete-step-text\"],\"ongoingStepText\":[1,\"ongoing-step-text\"],\"nextButtonDisabled\":[4,\"next-button-disabled\"],\"completedSteps\":[32],\"stepValidation\":[32],\"goToStep\":[64],\"markStepComplete\":[64],\"markStepInvalid\":[64],\"reset\":[64]}]]],[\"ur-user-profile-settings-form.cjs\",[[1,\"ur-user-profile-settings-form\",{\"settings\":[8],\"locationLabelText\":[1,\"location-label-text\"],\"websiteLabelText\":[1,\"website-label-text\"],\"aboutLabelText\":[1,\"about-label-text\"],\"facebookLabelText\":[1,\"facebook-label-text\"],\"twitterLabelText\":[1,\"twitter-label-text\"],\"linkedinLabelText\":[1,\"linkedin-label-text\"],\"emailLabelText\":[1,\"email-label-text\"],\"personalInfoTitleText\":[1,\"personal-info-title-text\"],\"interactTitleText\":[1,\"interact-title-text\"],\"facebookTitleText\":[1,\"facebook-title-text\"],\"twitterTitleText\":[1,\"twitter-title-text\"],\"linkedinTitleText\":[1,\"linkedin-title-text\"],\"emailTitleText\":[1,\"email-title-text\"],\"facebookPrefixText\":[1,\"facebook-prefix-text\"],\"twitterPrefixText\":[1,\"twitter-prefix-text\"],\"linkedinPrefixText\":[1,\"linkedin-prefix-text\"],\"personalInfoSubtitleText\":[1,\"personal-info-subtitle-text\"],\"interactSubtitleText\":[1,\"interact-subtitle-text\"],\"socialEnabled\":[32]},null,{\"settings\":[\"settingsChanged\"]}]]],[\"ur-checkbox-group.cjs\",[[1,\"ur-checkbox-group\",{\"name\":[1],\"values\":[1040],\"required\":[4],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"maxSelectable\":[2,\"max-selectable\"],\"options\":[32],\"validate\":[64],\"reset\":[64]}]]],[\"ur-editor.cjs\",[[1,\"ur-editor\",{\"content\":[1],\"disabled\":[4],\"placeholder\":[1],\"wordLabel\":[1,\"word-label\"],\"charLabel\":[1,\"char-label\"],\"enableBold\":[4,\"enable-bold\"],\"enableItalic\":[4,\"enable-italic\"],\"enableUnderline\":[4,\"enable-underline\"],\"enableTextAlign\":[4,\"enable-text-align\"],\"enableBlockquote\":[4,\"enable-blockquote\"],\"maxLength\":[2,\"max-length\"],\"maxWords\":[2,\"max-words\"],\"showCounter\":[4,\"show-counter\"],\"showFixedToolbar\":[4,\"show-fixed-toolbar\"],\"formattingState\":[32],\"charCount\":[32],\"wordCount\":[32],\"selectionTooltip\":[32],\"isMouseDown\":[32],\"getHTML\":[64],\"getText\":[64],\"setContent\":[64],\"clearContent\":[64]},null,{\"maxLength\":[\"maxLengthUpdated\"],\"maxWords\":[\"maxWordsUpdated\"],\"content\":[\"contentUpdated\"],\"disabled\":[\"disabledUpdated\"]}]]],[\"ur-hero.cjs\",[[1,\"ur-hero\",{\"heroTitle\":[1,\"hero-title\"],\"heroSubtitle\":[1,\"hero-subtitle\"],\"ctaText\":[1,\"cta-text\"],\"backgroundImage\":[1,\"background-image\"],\"backgroundColor\":[1,\"background-color\"],\"layout\":[1],\"backgroundJustification\":[1,\"background-justification\"],\"backgroundAlignment\":[1,\"background-alignment\"],\"heroTitleColor\":[1,\"hero-title-color\"],\"heroSubtitleColor\":[1,\"hero-subtitle-color\"],\"widthClass\":[32]}]]],[\"ur-locale-filter-panel.cjs\",[[1,\"ur-locale-filter-panel\",{\"showHeader\":[4,\"show-header\"],\"showFooter\":[4,\"show-footer\"],\"locales\":[16],\"disabledLocales\":[16,\"disabled-locales\"],\"mutableLocales\":[32]}]]],[\"ur-read-mobile-top-app-bar.cjs\",[[1,\"ur-read-mobile-top-app-bar\",{\"variant\":[1],\"headerTitle\":[1,\"header-title\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"]}]]],[\"ur-read-top-app-bar.cjs\",[[1,\"ur-read-top-app-bar\",{\"variant\":[1],\"novelTitle\":[1,\"novel-title\"],\"isChapterOwner\":[4,\"is-chapter-owner\"],\"deviceVariant\":[1,\"device-variant\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"],\"topValue\":[32]}]]],[\"ur-thumbs-rating.cjs\",[[1,\"ur-thumbs-rating\",{\"likesCount\":[2,\"likes-count\"],\"dislikeText\":[1,\"dislike-text\"],\"isLiked\":[1028,\"is-liked\"],\"isDisliked\":[1028,\"is-disliked\"]}]]],[\"ur-top-app-bar.cjs\",[[1,\"ur-top-app-bar\",{\"headerTitle\":[1,\"header-title\"],\"variant\":[1],\"logoRotation\":[2,\"logo-rotation\"],\"logoOpacity\":[2,\"logo-opacity\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"]}]]],[\"ur-bottom-sheet.cjs\",[[1,\"ur-bottom-sheet\",{\"open\":[4],\"selectedDetent\":[1,\"selected-detent\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"currentDetent\":[32],\"dragPosition\":[32],\"isVisible\":[32],\"showSheet\":[64],\"hideSheet\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"ur-circular-progress.cjs\",[[1,\"ur-circular-progress\",{\"max\":[514],\"value\":[514],\"width\":[513],\"height\":[513]}]]],[\"ur-dialog.cjs\",[[1,\"ur-dialog\",{\"description\":[1],\"open\":[4],\"fullscreen\":[4],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"showHeader\":[4,\"show-header\"],\"overlayHeader\":[4,\"overlay-header\"],\"variant\":[1],\"borderRadius\":[1,\"border-radius\"],\"openDialog\":[64],\"closeDialog\":[64]}]]],[\"ur-form.cjs\",[[1,\"ur-form\",{\"submitForm\":[64],\"resetForm\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"errorStateChanged\",\"handleErrorStateChanged\"]]]]],[\"ur-image-uploader.cjs\",[[1,\"ur-image-uploader\",{\"width\":[1],\"height\":[1],\"maxHeight\":[1,\"max-height\"],\"borderRadius\":[1,\"border-radius\"],\"borderStyle\":[1,\"border-style\"],\"backgroundColor\":[1,\"background-color\"],\"hoverBackgroundColor\":[1,\"hover-background-color\"],\"acceptTypes\":[1,\"accept-types\"],\"disabled\":[4],\"placeholderText\":[1,\"placeholder-text\"],\"showFileName\":[4,\"show-file-name\"],\"maxFileSize\":[2,\"max-file-size\"],\"enableNativeUpload\":[4,\"enable-native-upload\"],\"loading\":[4],\"isDragOver\":[32],\"selectedFile\":[32],\"previewUrl\":[32],\"isUploading\":[32],\"setImageUrl\":[64],\"getImageUrl\":[64],\"clearImage\":[64],\"getSelectedFile\":[64],\"setUploadingState\":[64]}]]],[\"ur-list-subheader.cjs\",[[1,\"ur-list-subheader\",{\"text\":[1]}]]],[\"ur-loader.cjs\",[[1,\"ur-loader\"]]],[\"ur-locale-filter-button.cjs\",[[1,\"ur-locale-filter-button\",{\"count\":[2],\"selected\":[4]}]]],[\"ur-long-description.cjs\",[[1,\"ur-long-description\",{\"description\":[1],\"showLessText\":[1,\"show-less-text\"],\"showMoreText\":[1,\"show-more-text\"],\"isExpanded\":[32]}]]],[\"ur-menu-item.cjs\",[[1,\"ur-menu-item\",{\"value\":[1],\"label\":[1],\"disabled\":[4],\"selected\":[4],\"size\":[1],\"selectedIcon\":[1,\"selected-icon\"],\"fullWidth\":[4,\"full-width\"],\"leftAligned\":[4,\"left-aligned\"],\"heightNumber\":[514,\"height-number\"],\"isHovered\":[32]},null,{\"selected\":[\"selectedChanged\"],\"disabled\":[\"disabledChanged\"],\"heightNumber\":[\"heightNumberChanged\"]}]]],[\"ur-navigation-bar.cjs\",[[1,\"ur-navigation-bar\",{\"position\":[1],\"labelVisibility\":[1,\"label-visibility\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"],\"value\":[1537],\"scrollTarget\":[1,\"scroll-target\"],\"setValue\":[64]},[[0,\"change\",\"changeHandler\"]],{\"value\":[\"valueChanged\"]}]]],[\"ur-navigation-drawer.cjs\",[[1,\"ur-navigation-drawer\",{\"open\":[4],\"placement\":[1],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"contained\":[4],\"openDrawer\":[64],\"closeDrawer\":[64]}]]],[\"ur-navigation-drawer-global.cjs\",[[1,\"ur-navigation-drawer-global\",{\"open\":[4],\"placement\":[1],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"contentHeight\":[32],\"openDrawer\":[64],\"closeDrawer\":[64]}]]],[\"ur-notification-tabs.cjs\",[[1,\"ur-notification-tabs\",{\"activeTab\":[1,\"active-tab\"],\"notificationsTabText\":[1,\"notifications-tab-text\"],\"requestsTabText\":[1,\"requests-tab-text\"],\"fullWidthTabs\":[4,\"full-width-tabs\"]}]]],[\"ur-page-profile-tabs.cjs\",[[1,\"ur-page-profile-tabs\",{\"activeTab\":[1,\"active-tab\"],\"storiesTabText\":[1,\"stories-tab-text\"],\"libraryTabText\":[1,\"library-tab-text\"],\"transactionsTabText\":[1,\"transactions-tab-text\"],\"statisticsTabText\":[1,\"statistics-tab-text\"],\"settingsTabText\":[1,\"settings-tab-text\"],\"aboutTabText\":[1,\"about-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-page-shared-list-tabs.cjs\",[[1,\"ur-page-shared-list-tabs\",{\"activeTab\":[1,\"active-tab\"],\"followersTabText\":[1,\"followers-tab-text\"],\"membersTabText\":[1,\"members-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-profile.cjs\",[[1,\"ur-profile\",{\"name\":[8],\"description\":[8],\"location\":[8],\"facebook_url\":[8],\"twitter_url\":[8],\"linkedin_url\":[8],\"email\":[8],\"phone\":[8],\"website\":[8],\"show_follow\":[4],\"show_donate\":[4],\"show_become_member\":[4],\"show_send_message\":[4],\"show_stats\":[4],\"stories_count\":[2],\"views_count\":[2],\"followers_count\":[2],\"writers_count\":[2],\"show_languages\":[4],\"languages\":[1],\"show_genres\":[4],\"genres\":[1],\"show_member_since\":[4],\"member_since\":[1]}]]],[\"ur-segment-button.cjs\",[[1,\"ur-segment-button\",{\"likeLabel\":[1,\"like-label\"]}]]],[\"ur-select.cjs\",[[1,\"ur-select\",{\"value\":[1],\"name\":[1],\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"variant\":[1],\"usage\":[1],\"multiple\":[4],\"clearable\":[4],\"disabled\":[4],\"required\":[4],\"readonly\":[4],\"size\":[1],\"placement\":[1],\"icon\":[1],\"endIcon\":[1,\"end-icon\"],\"flex\":[4],\"suffix\":[1],\"clearIcon\":[1,\"clear-icon\"]},null,{\"value\":[\"handleValueChange\"]}]]],[\"ur-snackbar.cjs\",[[1,\"ur-snackbar\",{\"open\":[1540],\"placement\":[1],\"action\":[1],\"actionLoading\":[4,\"action-loading\"],\"closeable\":[4],\"closeIcon\":[1,\"close-icon\"],\"messageLine\":[2,\"message-line\"],\"autoCloseDelay\":[2,\"auto-close-delay\"],\"closeOnOutsideClick\":[4,\"close-on-outside-click\"],\"message\":[1],\"backColor\":[1,\"back-color\"],\"fontColor\":[1,\"font-color\"],\"actionColor\":[1,\"action-color\"],\"radius\":[1],\"zIndex\":[1,\"z-index\"]}]]],[\"ur-tabs.cjs\",[[1,\"ur-tabs\",{\"tabs\":[16],\"panels\":[16]}]]],[\"ur-user-profile.cjs\",[[1,\"ur-user-profile\"]]],[\"ur-user-profile-tabs.cjs\",[[1,\"ur-user-profile-tabs\",{\"activeTab\":[1,\"active-tab\"],\"storiesTabText\":[1,\"stories-tab-text\"],\"libraryTabText\":[1,\"library-tab-text\"],\"transactionsTabText\":[1,\"transactions-tab-text\"],\"statisticsTabText\":[1,\"statistics-tab-text\"],\"settingsTabText\":[1,\"settings-tab-text\"],\"aboutTabText\":[1,\"about-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-avatar.cjs\",[[1,\"ur-avatar\",{\"size\":[1],\"src\":[1],\"name\":[1],\"border\":[1],\"radius\":[1],\"variant\":[1]}]]],[\"ur-menu-profile.cjs\",[[1,\"ur-menu-profile\",{\"userAvatar\":[1,\"user-avatar\"],\"userName\":[1,\"user-name\"],\"userRole\":[1,\"user-role\"]}]]],[\"ur-page.cjs\",[[1,\"ur-page\",{\"pageId\":[1,\"page-id\"],\"loading\":[4],\"followed\":[4],\"pageTitle\":[1,\"page-title\"],\"pageCover\":[1,\"page-cover\"],\"pageCoverFallback\":[1,\"page-cover-fallback\"],\"followers\":[2],\"showStats\":[4,\"show-stats\"],\"pageDescription\":[1,\"page-description\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-user.cjs\",[[1,\"ur-user\",{\"userId\":[513,\"user-id\"],\"loading\":[4],\"followed\":[4],\"userTitle\":[1,\"user-title\"],\"userCover\":[1,\"user-cover\"],\"userCoverFallback\":[1,\"user-cover-fallback\"],\"followers\":[2],\"showStats\":[4,\"show-stats\"],\"userDescription\":[1,\"user-description\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-checkbox.cjs\",[[1,\"ur-checkbox\",{\"disabled\":[4],\"checked\":[1540],\"value\":[1],\"name\":[1]},null,{\"checked\":[\"watchChecked\"]}]]],[\"ur-linear-progress.cjs\",[[1,\"ur-linear-progress\",{\"value\":[2],\"max\":[514]},null,{\"value\":[\"validateValue\"]}]]],[\"ur-novl.cjs\",[[1,\"ur-novl\",{\"novlId\":[520,\"novl-id\"],\"loading\":[4],\"novlTitle\":[1,\"novl-title\"],\"novlCover\":[8,\"novl-cover\"],\"novlCoverFallback\":[1,\"novl-cover-fallback\"],\"likes\":[2],\"views\":[2],\"showStats\":[4,\"show-stats\"],\"novlDescription\":[8,\"novl-description\"],\"authorAvatar\":[8,\"author-avatar\"],\"authorName\":[8,\"author-name\"],\"published\":[4],\"price\":[1],\"publisherAvatar\":[1,\"publisher-avatar\"],\"publisherName\":[1,\"publisher-name\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-text-field.cjs\",[[1,\"ur-text-field\",{\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"disabled\":[4],\"required\":[4],\"variant\":[1],\"value\":[1025],\"name\":[1],\"endIcon\":[1,\"end-icon\"],\"rows\":[2],\"autosize\":[4],\"minRows\":[2,\"min-rows\"],\"maxRows\":[2,\"max-rows\"],\"minlength\":[2],\"maxlength\":[2],\"counter\":[4],\"type\":[1],\"pattern\":[1],\"min\":[8],\"max\":[8],\"step\":[8],\"error\":[1540],\"errorMessage\":[1537,\"error-message\"]}]]],[\"ur-time-ago.cjs\",[[1,\"ur-time-ago\",{\"date\":[1],\"timeAgo\":[32]},null,{\"date\":[\"watchDate\"]}]]],[\"ur-button-arrow-left_2.cjs\",[[1,\"ur-button-arrow-left\",{\"disabled\":[4]}],[1,\"ur-button-arrow-right\",{\"disabled\":[4]}]]],[\"ur-novl-carousel.cjs\",[[1,\"ur-novl-carousel\",{\"novls\":[16],\"loading\":[32],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4],\"destroyListeners\":[4,\"destroy-listeners\"],\"debug\":[4],\"disabledPrev\":[32],\"disabledNext\":[32],\"addNovls\":[64],\"updateNovlsByIndex\":[64],\"reset\":[64]}]]],[\"ur-logo.cjs\",[[1,\"ur-logo\",{\"width\":[1],\"height\":[1],\"color\":[1],\"rotation\":[2],\"opacity\":[2]}]]],[\"ur-switch.cjs\",[[1,\"ur-switch\",{\"disabled\":[4],\"checked\":[1540],\"checkedIcon\":[1,\"checked-icon\"],\"uncheckedIcon\":[1,\"unchecked-icon\"]}]]],[\"ur-list_2.cjs\",[[1,\"ur-list\"],[1,\"ur-list-item\",{\"content\":[1],\"disabled\":[4],\"active\":[4],\"nonclickable\":[4],\"rounded\":[4],\"alignment\":[1],\"icon\":[1],\"endIcon\":[1,\"end-icon\"],\"description\":[1],\"href\":[1],\"target\":[1],\"rel\":[1]}]]],[\"ur-radio-button_2.cjs\",[[1,\"ur-radio-button\",{\"disabled\":[4],\"checked\":[1540],\"value\":[1],\"name\":[1]},null,{\"checked\":[\"watchChecked\"]}],[1,\"ur-radio-group\",{\"name\":[1],\"value\":[1025],\"required\":[4],\"options\":[32],\"validate\":[64],\"reset\":[64]}]]],[\"ur-chip.cjs\",[[1,\"ur-chip\",{\"label\":[1],\"border\":[1],\"borderColor\":[1,\"border-color\"],\"radius\":[1],\"size\":[1],\"backColor\":[1,\"back-color\"],\"fontColor\":[1,\"font-color\"],\"loading\":[4],\"disabled\":[4],\"clickable\":[4]}]]],[\"ur-tooltip.cjs\",[[1,\"ur-tooltip\",{\"content\":[1],\"variant\":[1],\"placement\":[1],\"openDelay\":[2,\"open-delay\"],\"closeDelay\":[2,\"close-delay\"],\"trigger\":[1],\"colorScheme\":[1,\"color-scheme\"],\"disabled\":[4],\"isVisible\":[32]}]]],[\"ur-button-icon.cjs\",[[1,\"ur-button-icon\",{\"disabled\":[4],\"loading\":[4],\"variant\":[1],\"icon\":[1],\"selectedIcon\":[1,\"selected-icon\"],\"selected\":[4],\"active\":[4],\"borderRadius\":[1,\"border-radius\"],\"buttonWidth\":[1,\"button-width\"],\"buttonHeight\":[1,\"button-height\"],\"fontColor\":[1,\"font-color\"],\"backgroundColor\":[1,\"background-color\"]}]]],[\"ur-button.cjs\",[[1,\"ur-button\",{\"disabled\":[4],\"variant\":[1],\"icon\":[8],\"endIcon\":[8,\"end-icon\"],\"fullWidth\":[4,\"full-width\"],\"loading\":[4],\"fontColor\":[1,\"font-color\"],\"buttonHeight\":[1,\"button-height\"],\"borderRadius\":[1,\"border-radius\"],\"backgroundColor\":[1,\"background-color\"]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
exports.setNonce = index.setNonce;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BzpJiRCG.js');
|
|
4
4
|
|
|
5
|
-
const urNotificationCss = ":host{--ur-color-background:var(--mdui-color-background);--ur-color-on-background:var(--mdui-color-on-background);--ur-color-surface:var(--mdui-color-surface);--ur-color-surface-variant:var(--mdui-color-surface-variant);--ur-color-border:var(--mdui-color-border);--ur-color-on-surface:var(--mdui-color-on-surface);--ur-color-on-surface-variant:var(--mdui-color-on-surface-variant);--ur-color-error:var(--mdui-color-error);--ur-color-outline-variant:var(--mdui-color-outline-variant);padding:12px 16px;font-size:12px;display:flex;transition:background-color 0.2s ease;color:rgb(var(--ur-color-on-background));background:rgba(var(--ur-color-on-background), 0.02);border-bottom:1px solid rgb(var(--ur-color-outline-variant))}:host(:hover){background:rgba(var(--ur-color-on-background), 0.03);transition:background-color 0.2s ease}:host(.notification--read){background:rgb(var(--ur-color-background))}:host(.notification--read:hover){background:rgba(var(--ur-color-on-background), 0.03)}:host .vert{display:flex;flex:1;align-items:flex-start;gap:12px}:host .profile{flex-shrink:0;cursor:pointer}:host .content{flex:1;cursor:pointer;padding:2px 0}:host .action{flex:0 0 auto}:host .message{color:rgb(var(--ur-color-on-surface))}:host .ago{opacity:0.5;font-size:11px;font-weight:600;margin-top:4px;color:rgb(var(--ur-color-on-surface-variant))}:host .read{margin-left:auto}:host .unsupported{color:rgb(var(--ur-color-error));font-size:0.875rem;padding:8px;text-align:center}";
|
|
5
|
+
const urNotificationCss = ":host{--ur-color-background:var(--mdui-color-background);--ur-color-on-background:var(--mdui-color-on-background);--ur-color-surface:var(--mdui-color-surface);--ur-color-surface-variant:var(--mdui-color-surface-variant);--ur-color-border:var(--mdui-color-border);--ur-color-on-surface:var(--mdui-color-on-surface);--ur-color-on-surface-variant:var(--mdui-color-on-surface-variant);--ur-color-error:var(--mdui-color-error);--ur-color-outline-variant:var(--mdui-color-outline-variant);padding:12px 16px;font-size:12px;display:flex;transition:background-color 0.2s ease;color:rgb(var(--ur-color-on-background));background:rgba(var(--ur-color-on-background), 0.02);border-bottom:1px solid rgb(var(--ur-color-outline-variant))}:host(:hover){background:rgba(var(--ur-color-on-background), 0.03);transition:background-color 0.2s ease}:host(.notification--read){background:rgb(var(--ur-color-background))}:host(.notification--read:hover){background:rgba(var(--ur-color-on-background), 0.03)}:host .vert{display:flex;flex:1;align-items:flex-start;gap:12px}:host .profile{flex-shrink:0;cursor:pointer}:host .content{flex:1;cursor:pointer;padding:2px 0}:host .action{flex:0 0 auto}:host .message{color:rgb(var(--ur-color-on-surface))}:host .ago{opacity:0.5;font-size:11px;font-weight:600;margin-top:4px;color:rgb(var(--ur-color-on-surface-variant))}:host .read{margin-left:auto}:host .unsupported{color:rgb(var(--ur-color-error));font-size:0.875rem;padding:8px;text-align:center}:host .content-wrapper{flex:1;display:flex;flex-direction:column;gap:8px}:host .actions{display:flex;gap:8px;margin-top:4px;justify-content:space-evenly;width:100%}:host .actions .action{flex:0 1 auto;min-width:100px}";
|
|
6
6
|
|
|
7
7
|
const UrNotification = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -14,6 +14,9 @@ const UrNotification = class {
|
|
|
14
14
|
if (this.notification.event === 'mrequest') {
|
|
15
15
|
this.memberRequestStatus = this.notification.status;
|
|
16
16
|
}
|
|
17
|
+
if (this.notification.event === 'pranovl') {
|
|
18
|
+
this.novlAttachRequestStatus = this.notification.status;
|
|
19
|
+
}
|
|
17
20
|
if (this.notification.event === 'followed') {
|
|
18
21
|
this.isFollowing = this.notification.creator.followed;
|
|
19
22
|
}
|
|
@@ -39,6 +42,14 @@ const UrNotification = class {
|
|
|
39
42
|
this.memberRequestStatus = 'rejected';
|
|
40
43
|
this.emitEvent('mrequest_reject');
|
|
41
44
|
}
|
|
45
|
+
handleAcceptNovlAttachRequest() {
|
|
46
|
+
this.novlAttachRequestStatus = 'accepted';
|
|
47
|
+
this.emitEvent('narequest_accept');
|
|
48
|
+
}
|
|
49
|
+
handleRejectNovlAttachRequest() {
|
|
50
|
+
this.novlAttachRequestStatus = 'rejected';
|
|
51
|
+
this.emitEvent('narequest_reject');
|
|
52
|
+
}
|
|
42
53
|
renderFollowNotification() {
|
|
43
54
|
if (this.notification.event !== 'followed')
|
|
44
55
|
return null;
|
|
@@ -64,12 +75,9 @@ const UrNotification = class {
|
|
|
64
75
|
if (this.notification.event !== 'mrequest')
|
|
65
76
|
return null;
|
|
66
77
|
const { creator, page } = this.notification;
|
|
67
|
-
return (index.h("section", { class: "vert" }, index.h("ur-avatar", { class: "profile", onClick: () => this.emitEvent('profile_click'), src: creator.profileImage, name: creator.displayName, size: "40px" }), index.h("section", { class: "content", onClick: () => this.emitEvent('profile_click') }, index.h("div", { class: "message" }, this.memberRequestStatus === 'pending'
|
|
78
|
+
return (index.h("section", { class: "vert" }, index.h("ur-avatar", { class: "profile", onClick: () => this.emitEvent('profile_click'), src: creator.profileImage, name: creator.displayName, size: "40px" }), index.h("section", { class: "content-wrapper" }, index.h("section", { class: "content", onClick: () => this.emitEvent('profile_click') }, index.h("div", { class: "message" }, this.memberRequestStatus === 'pending'
|
|
68
79
|
? `${creator.displayName} has requested to become a member to ${page.name}`
|
|
69
|
-
: `You ${this.memberRequestStatus} ${creator.displayName} as a member to ${page.name}`), index.h("div", { class: "ago" }, index.h("ur-time-ago", { date: this.notification.updatedAt }))), this.memberRequestStatus === 'pending' &&
|
|
70
|
-
index.h("ur-button", { class: "action accept", variant: "filled", onClick: () => this.handleAcceptMembershipRequest() }, "Accept"),
|
|
71
|
-
index.h("ur-button", { class: "action reject", variant: "outlined", onClick: () => this.handleRejectMembershipRequest() }, "Reject")
|
|
72
|
-
]));
|
|
80
|
+
: `You ${this.memberRequestStatus} ${creator.displayName} as a member to ${page.name}`), index.h("div", { class: "ago" }, index.h("ur-time-ago", { date: this.notification.updatedAt }))), this.memberRequestStatus === 'pending' && (index.h("section", { class: "actions" }, index.h("ur-button", { class: "action accept", variant: "filled", fullWidth: true, onClick: () => this.handleAcceptMembershipRequest() }, "Accept"), index.h("ur-button", { class: "action reject", variant: "outlined", fullWidth: true, onClick: () => this.handleRejectMembershipRequest() }, "Reject"))))));
|
|
73
81
|
}
|
|
74
82
|
renderMembershipDecisionNotification() {
|
|
75
83
|
if (this.notification.event !== 'mrequestaccepted' && this.notification.event !== 'mrequestrejected')
|
|
@@ -77,8 +85,22 @@ const UrNotification = class {
|
|
|
77
85
|
const { creator, page } = this.notification;
|
|
78
86
|
return (index.h("section", { class: "vert" }, index.h("ur-avatar", { class: "profile", onClick: () => this.emitEvent('profile_click'), src: creator.profileImage, name: creator.displayName, size: "40px" }), index.h("section", { class: "content", onClick: () => this.emitEvent('profile_click') }, index.h("div", { class: "message" }, creator.displayName, " has ", this.notification.event === 'mrequestaccepted' ? 'accepted' : 'rejected', " your membership request to ", page.name, "."), index.h("div", { class: "ago" }, index.h("ur-time-ago", { date: this.notification.updatedAt })))));
|
|
79
87
|
}
|
|
88
|
+
renderNovlAttachRequestNotification() {
|
|
89
|
+
if (this.notification.event !== 'pranovl')
|
|
90
|
+
return null;
|
|
91
|
+
const { creator, page, novl } = this.notification;
|
|
92
|
+
return (index.h("section", { class: "vert" }, index.h("ur-avatar", { class: "profile", onClick: () => this.emitEvent('profile_click'), src: creator.profileImage, name: creator.displayName, size: "40px" }), index.h("section", { class: "content-wrapper" }, index.h("section", { class: "content", onClick: () => this.emitEvent('profile_click') }, index.h("div", { class: "message" }, this.novlAttachRequestStatus === 'pending'
|
|
93
|
+
? `${creator.displayName} has requested to attach ${novl.title} to ${page.name}`
|
|
94
|
+
: `You ${this.novlAttachRequestStatus} ${novl.title} as attachment to ${page.name}`), index.h("div", { class: "ago" }, index.h("ur-time-ago", { date: this.notification.updatedAt }))), this.novlAttachRequestStatus === 'pending' && (index.h("section", { class: "actions" }, index.h("ur-button", { class: "action accept", variant: "filled", fullWidth: true, onClick: () => this.handleAcceptNovlAttachRequest() }, "Accept"), index.h("ur-button", { class: "action reject", variant: "outlined", fullWidth: true, onClick: () => this.handleRejectNovlAttachRequest() }, "Reject"))))));
|
|
95
|
+
}
|
|
96
|
+
renderNovlAttachDecisionNotification() {
|
|
97
|
+
if (this.notification.event !== 'apgattreq' && this.notification.event !== 'dpgattreq')
|
|
98
|
+
return null;
|
|
99
|
+
const { creator, page, novl } = this.notification;
|
|
100
|
+
return (index.h("section", { class: "vert" }, index.h("ur-avatar", { class: "profile", onClick: () => this.emitEvent('profile_click'), src: creator.profileImage, name: creator.displayName, size: "40px" }), index.h("section", { class: "content", onClick: () => this.emitEvent('profile_click') }, index.h("div", { class: "message" }, creator.displayName, " has ", this.notification.event === 'apgattreq' ? 'accepted' : 'rejected', novl.title, " attach request to ", page.name, "."), index.h("div", { class: "ago" }, index.h("ur-time-ago", { date: this.notification.updatedAt })))));
|
|
101
|
+
}
|
|
80
102
|
render() {
|
|
81
|
-
return (index.h(index.Host, { key: '
|
|
103
|
+
return (index.h(index.Host, { key: '7bcbfa29757d97ad51edd0b8f57968d91efa8475', class: {
|
|
82
104
|
'notification': true,
|
|
83
105
|
'notification--read': this.isRead,
|
|
84
106
|
} }, (() => {
|
|
@@ -94,8 +116,13 @@ const UrNotification = class {
|
|
|
94
116
|
case 'mrequestaccepted':
|
|
95
117
|
case 'mrequestrejected':
|
|
96
118
|
return this.renderMembershipDecisionNotification();
|
|
119
|
+
case 'pranovl':
|
|
120
|
+
return this.renderNovlAttachRequestNotification();
|
|
121
|
+
case 'apgattreq':
|
|
122
|
+
case 'dpgattreq':
|
|
123
|
+
return this.renderNovlAttachDecisionNotification();
|
|
97
124
|
default:
|
|
98
|
-
return index.h("div", { class: "unsupported" }, "Unsupported notification type: ", this.notification.event);
|
|
125
|
+
return index.h("div", { class: "unsupported" }, "Unsupported notification type test: ", this.notification.event);
|
|
99
126
|
}
|
|
100
127
|
})()));
|
|
101
128
|
}
|
|
@@ -37,6 +37,7 @@ const urNovlOverviewInfoCss = ":host{--ur-color-background:var(--mdui-color-back
|
|
|
37
37
|
const UrNovlOverviewInfo = class {
|
|
38
38
|
constructor(hostRef) {
|
|
39
39
|
index.registerInstance(this, hostRef);
|
|
40
|
+
this.attachStoryEvent = index.createEvent(this, "attachStoryEvent");
|
|
40
41
|
this.readStoryEvent = index.createEvent(this, "readStoryEvent");
|
|
41
42
|
this.writeStoryEvent = index.createEvent(this, "writeStoryEvent");
|
|
42
43
|
this.buyStoryEvent = index.createEvent(this, "buyStoryEvent");
|
|
@@ -72,6 +73,9 @@ const UrNovlOverviewInfo = class {
|
|
|
72
73
|
this.isUserLoggedIn = false;
|
|
73
74
|
this.novlPurchasedAt = '';
|
|
74
75
|
this.isOwner = false;
|
|
76
|
+
this.attachRequestStatus = 'idle';
|
|
77
|
+
this.attachStoryText = 'Attach Story';
|
|
78
|
+
this.attachButtonHoverState = 'default';
|
|
75
79
|
this.visibility = 'public';
|
|
76
80
|
this.visibilityPublicText = 'Public story';
|
|
77
81
|
this.visibilityPrivateText = 'Private story';
|
|
@@ -83,6 +87,9 @@ const UrNovlOverviewInfo = class {
|
|
|
83
87
|
onReadStory() {
|
|
84
88
|
this.readStoryEvent.emit();
|
|
85
89
|
}
|
|
90
|
+
onAttachStory(status) {
|
|
91
|
+
this.attachStoryEvent.emit({ status: status });
|
|
92
|
+
}
|
|
86
93
|
onWriteStory() {
|
|
87
94
|
this.writeStoryEvent.emit();
|
|
88
95
|
}
|
|
@@ -113,9 +120,39 @@ const UrNovlOverviewInfo = class {
|
|
|
113
120
|
async reset() {
|
|
114
121
|
this.expanded = false;
|
|
115
122
|
}
|
|
123
|
+
handleAttachStoryClicked() {
|
|
124
|
+
if (this.attachRequestStatus === 'pending') {
|
|
125
|
+
// Emit cancel event for pending request
|
|
126
|
+
this.onAttachStory('canceled');
|
|
127
|
+
}
|
|
128
|
+
else if (this.attachRequestStatus === 'accepted') {
|
|
129
|
+
// Emit leave event for current member
|
|
130
|
+
this.onAttachStory('leave');
|
|
131
|
+
}
|
|
132
|
+
else if (this.attachRequestStatus === 'idle' || this.attachRequestStatus === 'rejected') {
|
|
133
|
+
// Emit pending event for new request
|
|
134
|
+
this.onAttachStory('pending');
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
getAttachButtonText() {
|
|
138
|
+
switch (this.attachRequestStatus) {
|
|
139
|
+
case 'pending':
|
|
140
|
+
return this.attachButtonHoverState === 'hover'
|
|
141
|
+
? 'Cancel Request'
|
|
142
|
+
: 'Request Pending';
|
|
143
|
+
case 'accepted':
|
|
144
|
+
return this.attachButtonHoverState === 'hover'
|
|
145
|
+
? 'Cancel Story Attach'
|
|
146
|
+
: 'Story Attached';
|
|
147
|
+
case 'rejected':
|
|
148
|
+
return this.attachStoryText;
|
|
149
|
+
default:
|
|
150
|
+
return this.attachStoryText;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
116
153
|
render() {
|
|
117
|
-
return (index.h(index.Host, { key: '
|
|
118
|
-
(this.novlPurchasedAt ? (index.h("ur-button", { class: "summary-action", variant: "filled", fullWidth: true, onClick: () => this.onReadStory() }, this.readStoryText)) : (index.h("ur-button", { class: "summary-action", variant: "filled", fullWidth: true, onClick: () => this.onBuyStory() }, this.buyStoryText, "\u00A0", index.h("span", { class: "buy-price" }, this.novlPrice)))), this.isUserLoggedIn && (index.h("ur-button", { key: '
|
|
154
|
+
return (index.h(index.Host, { key: '7d8900cc75cd08b9f4a3eef4817b642148461c73' }, index.h("div", { key: '96f410952db0610e80b45ce954dac14d422c0631', class: `overview ${this.deviceSize === 'small' ? 'small-device' : 'large-device'}` }, index.h("div", { key: '8f87100534ec31194de2e3410729c22e4379b9e0', class: "cover" }, index.h("div", { key: '920b0ca1b02494e050c62db52a96e421da7acab1', class: "inner-cover-hld" }, index.h("div", { key: 'a1c6b39d2a7cf59723078e2425dee7b4fbd75460', class: "inner-cover" }, index.h("img", { key: '8ab37478e3ef40391e6ae8761dbceeae142b9b3f', class: "cover-image", src: this.coverImage, alt: "Novl Cover" })), this.isOwner && this.renderVisibilitySwitch(), this.isOwner && this.renderAttachStory())), index.h("div", { key: '36c67aaf303bc8af2ee4118b30f854e2619e717f', class: "novl-content" }, index.h("div", { key: 'b1f0849592ce0b7027e4472bcaeba5041cb0a2a9', class: "main-content" }, index.h("div", { key: '5846bb275e9cc16ee4b953fd47c538d79909bfb0', class: "upper-hld" }, this.renderStatusChips(), index.h("div", { key: 'eb974bc173ef06f24d98c9617b57d96d192790d0', class: "title-hld" }, !this.editTitleMode ? index.h("h1", { class: "title-text" }, this.novlTitle) : index.h("slot", { name: "title-edit" }), this.isOwner && !this.editTitleMode && (index.h("ur-tooltip", { key: '438f0a917c97f7a72ff886c2a7b514f888f52166', colorScheme: "dark", placement: "left", content: "Edit title" }, index.h("ur-button-icon", { key: 'f593c0920d8b6cfb5ab528dc8b188089e3d552fe', buttonHeight: "30px", buttonWidth: "30px", class: "edit-button", icon: "edit", onClick: () => this.onEditTitle() }))))), index.h("span", { key: '0f93275a0a649ca734a2b023607fb6087e4aa2e0', class: "story-stats" }, this.likes > 0 && (index.h("span", { key: 'aa410a2e945a46b3f234d017aac83758160af886', class: "story-stat" }, index.h("span", { key: 'bdb845836541391e6ee74f82e11b10fe0abe2ba9', class: "story-stat-value" }, this.likes), index.h("span", { key: '43bb41d46d6d3f65bf5e816bd3b5e83f59ec8072', class: "story-stat-label" }, this.likesText))), this.likes > 0 && index.h("span", { key: '014dc2711fe7f60b1b0ed1a65e463aad703c36d3', class: "story-stat-separator" }, "\u00B7"), this.views > 0 && (index.h("span", { key: '2264fa39fef8fb32202c8959b92ac233ca322b94', class: "story-stat" }, index.h("span", { key: 'c366d15e6d7ea585a6b99482fb70163527e532a7', class: "story-stat-value" }, this.views), index.h("span", { key: '93dbfd9599e3b3e409acd3e30195aedeca764946', class: "story-stat-label" }, this.viewsText))), this.views > 0 && index.h("span", { key: '26cd8f8b4ca98784861be134337147a06fb5472a', class: "story-stat-separator" }, "\u00B7"), index.h("span", { key: 'ea3308641ebb8c7b57e95128e5f9ef6158baabc8', class: "story-stat" }, index.h("span", { key: 'd7e989050d9340d351f69a37c01062a026b8853e', class: "story-stat-value" }, this.readingDuration === '-1' ? 'N/A' : this.readingDuration), index.h("span", { key: '0b48dfe1dad829748a3d903637123a9c67c05d9b', class: "story-stat-label" }, this.readingDurationText))), index.h("div", { key: '04e64daba28e0669cc8f5d4b62fcf2e36ef432a9', class: "novl-details" }, this.languages.split(',').map(language => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: language }))), this.literatureTypes.split(',').map(litType => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: litType }))), this.genres.split(',').map(genre => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: genre })))), index.h("div", { key: '9e94e9b7992c06a08dd5f5446943e25ecba537d0', class: "actions-holder" }, this.hasBranches && (index.h("ur-button", { key: '8f72f4ca5902e97732fd05ce9fcdf3f459b7fadc', class: "summary-action", variant: "filled", "full-width": this.deviceSize === 'large' ? false : true, onClick: () => this.onReadStory() }, this.readStoryText)), this.writeEnabled && !this.hasBranches && (index.h("ur-button", { key: 'aa330ffdb933914cff942da4d08862e09c5c757f', class: "summary-action", variant: "filled", "full-width": this.deviceSize === 'large' ? false : true, onClick: () => this.onWriteStory() }, this.writeStoryText)), this.novlPaid &&
|
|
155
|
+
(this.novlPurchasedAt ? (index.h("ur-button", { class: "summary-action", variant: "filled", fullWidth: true, onClick: () => this.onReadStory() }, this.readStoryText)) : (index.h("ur-button", { class: "summary-action", variant: "filled", fullWidth: true, onClick: () => this.onBuyStory() }, this.buyStoryText, "\u00A0", index.h("span", { class: "buy-price" }, this.novlPrice)))), this.isUserLoggedIn && (index.h("ur-button", { key: 'ca443940fb18edb8b87bb4b2774b18e9ed90187f', class: "summary-action", icon: this.isNovlLibrary ? 'bookmark_added' : 'bookmark_add--outlined', variant: "text", onClick: () => this.onToggleLibrary() }, this.isNovlLibrary ? this.removeFromLibraryText : this.addToLibraryText)))), index.h("div", { key: '7b28be5e0ffc1dbb897e71cb8a6ae87915bb5dfd', class: "description" }, index.h("div", { key: '1f5d96797e5993cdf30f949f86d84fefaaa74fc0', class: "description-header" }, index.h("span", { key: 'ef1961452adf26a1bc6af7c8da5935754072d110', class: "label" }, this.descriptionText), this.isOwner && !this.editDescriptionMode && (index.h("ur-tooltip", { key: '6a53ede2aac6b52f771a595d0448cce325bc1aba', colorScheme: "dark", placement: "left", content: "Edit description" }, index.h("ur-button-icon", { key: '78f8cdf4b90cfa7b5e05fd4fa9ac80825bc2424f', buttonHeight: "30px", buttonWidth: "30px", class: "edit-button", icon: "edit", onClick: () => this.onEditDescription() })))), !this.editDescriptionMode ? index.h("slot", { name: "description" }) : index.h("slot", { name: "description-edit" }), this.editDescriptionMode && index.h("div", { key: '3c96587a63da907a408470cf5f6c0c0e496b94b4', class: "description-edit", slot: "description-edit" })), index.h("div", { key: 'f0bff95e623530ef48acf402c397f3bf57c242fe', class: "owner-holder" }, index.h("slot", { key: 'f233d0a4d559cb0ad276f5735c2f00862cb501fd', name: "owner" }), index.h("slot", { key: '28c5699ef91e293354b9e85a8bfb55b8226e5c9f', name: "owner-page" })), index.h("slot", { key: '437f51a15118314a1d36a609adfa50fbf6d46e2c', name: "chapters" }), !this.novlPaid && this.isOwner && this.renderCompleteActions()), index.h("div", { key: '31d17d4e63ef2dd10b7f4495fba8172c4bfe41b3', class: "ad-space" }, "\u00A0"))));
|
|
119
156
|
}
|
|
120
157
|
renderStatusChips() {
|
|
121
158
|
return (index.h("div", { class: `status ${this.deviceSize === 'small' ? 'small-device' : 'large-device'}` }, this.storyCompleteStatus ? (index.h("ur-chip", { fontColor: "#1A5100", backColor: "#C6F4D0", radius: "50px", border: "2px", size: "32px", class: "status-chip", clickable: false, label: this.completeText })) : (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-primary))", backColor: "rgb(var(--ur-color-primary-container))", size: "32px", class: "status-chip", border: "2px", radius: "50px", clickable: false, label: this.ongoingText }))));
|
|
@@ -123,6 +160,9 @@ const UrNovlOverviewInfo = class {
|
|
|
123
160
|
renderVisibilitySwitch() {
|
|
124
161
|
return (index.h("div", { class: "visibility-toggle" }, index.h("ur-switch", { checked: this.visibility === 'public', checkedIcon: "public", uncheckedIcon: "lock", onSwitchChange: () => this.onChangeVisibility() }), index.h("span", { class: "visibility-label" }, this.visibility === 'public' ? this.visibilityPublicText : this.visibilityPrivateText)));
|
|
125
162
|
}
|
|
163
|
+
renderAttachStory() {
|
|
164
|
+
return (index.h("div", { class: "visibility-toggle" }, index.h("ur-button", { class: "summary-action", variant: "filled", onMouseEnter: () => this.attachButtonHoverState = 'hover', onMouseLeave: () => this.attachButtonHoverState = 'default', onClick: () => this.handleAttachStoryClicked() }, this.getAttachButtonText())));
|
|
165
|
+
}
|
|
126
166
|
renderCompleteActions() {
|
|
127
167
|
return (index.h("div", { class: "complete-actions" }, !this.storyCompleteStatus ? (index.h("ur-button", { class: "overview-action", variant: "filled", fullWidth: true, onClick: () => this.onCompleteStory(), disabled: !this.showPublishedButton, backgroundColor: this.showPublishedButton ? 'rgb(var(--ur-color-tertiary))' : '', buttonHeight: "40px" }, this.completeStoryText)) : (index.h("ur-button", { class: "overview-action", variant: "text", fullWidth: true, onClick: () => this.onRevertStory(), buttonHeight: "40px" }, this.revertStoryText))));
|
|
128
168
|
}
|
|
@@ -148,9 +148,6 @@ const UrPageProfile = class {
|
|
|
148
148
|
this.memberRequestStatus = 'idle';
|
|
149
149
|
this.memberButtonHoverState = 'default';
|
|
150
150
|
}
|
|
151
|
-
handleFollowedChanged() {
|
|
152
|
-
this.updateFollowText();
|
|
153
|
-
}
|
|
154
151
|
componentWillLoad() {
|
|
155
152
|
this.updateFollowText();
|
|
156
153
|
}
|
|
@@ -196,10 +193,13 @@ const UrPageProfile = class {
|
|
|
196
193
|
updateFollowText() {
|
|
197
194
|
this.followText = this.followed ? 'Unfollow' : 'Follow';
|
|
198
195
|
}
|
|
199
|
-
handleFollowClicked(
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
this.pageFollowClicked.emit(
|
|
196
|
+
handleFollowClicked() {
|
|
197
|
+
this.followed = !this.followed;
|
|
198
|
+
this.updateFollowText();
|
|
199
|
+
this.pageFollowClicked.emit({
|
|
200
|
+
pageId: this.pageId,
|
|
201
|
+
followed: this.followed
|
|
202
|
+
});
|
|
203
203
|
}
|
|
204
204
|
render() {
|
|
205
205
|
const classes = {
|
|
@@ -208,14 +208,14 @@ const UrPageProfile = class {
|
|
|
208
208
|
'profile-mobile-main': this.platform === 'mobile-main',
|
|
209
209
|
'profile-mobile-secondary': this.platform === 'mobile-secondary',
|
|
210
210
|
};
|
|
211
|
-
return (index.h(index.Host, { key: '
|
|
211
|
+
return (index.h(index.Host, { key: 'c7a34370dbf302e2901567f413e3fb846f59f78a', class: classes }, index.h("div", { key: 'd1326aa4c1dea60ff9fa4459f9841d8f9a97133f', class: classes }, this.platform === 'desktop' && (index.h("div", { key: 'd83b590f0150da2f3889e147e03a7efdf6712d61', class: "desktop-content" }, index.h("div", { key: '666404fe046322d9ca499e61280c1c4e2e79c498', class: "avatar" }, index.h("ur-avatar", { key: '9d8c6e40284e22e97c40121fe3aefd396b334e19', border: "4px", radius: "25px", size: "96px", src: this.avatar, name: this.name })), index.h("div", { key: '888780043603d294968378234b9af47689c2d2fe', class: "info" }, index.h("div", { key: '7e4f7a269243a1b0f8caad50fa9d8f9a783d0005', class: "name" }, this.name), this.renderPageType(), this.about && index.h("div", { key: '640d444878d264ffc117b76f6113ee17981eced2', class: "about" }, this.about), this.renderLocation(), this.renderSocialLinks(), this.renderWebsite()), this.renderActions())), this.platform === 'desktop' && [
|
|
212
212
|
this.renderStats(),
|
|
213
213
|
this.renderLanguages(),
|
|
214
214
|
this.renderGenres(),
|
|
215
215
|
this.renderLiteratureTypes(),
|
|
216
216
|
this.renderPageCreator(),
|
|
217
217
|
this.renderPageCreationDate(),
|
|
218
|
-
], this.platform === 'mobile-main' && (index.h("div", { key: '
|
|
218
|
+
], this.platform === 'mobile-main' && (index.h("div", { key: '87c5254029dac617336700e11c1385d20dd98da6', class: "mobile-main-content" }, index.h("div", { key: 'eb6c5f9d33fbb4e9228e4e5411020ee134a4b4b7', class: "avatar" }, index.h("ur-avatar", { key: '92fb8327e19e00365c09f83a3cf53e122c851cdb', border: "4px", radius: "25px", size: "96px", src: this.avatar, name: this.name })), index.h("div", { key: '8e8e648a55bf13b72b5798d08cd29bce28540182', class: "info" }, index.h("div", { key: '22307c30afc0491819d7e975dd0155ed4125e050', class: "name" }, this.name), this.renderPageType(), this.about && index.h("div", { key: 'd80ee0ba2163e52067a50765523abb08743c130b', class: "about" }, this.about)), this.renderActions())), this.platform === 'mobile-secondary' && [
|
|
219
219
|
this.renderLocation(),
|
|
220
220
|
this.renderSocialLinks(),
|
|
221
221
|
this.renderWebsite(),
|
|
@@ -249,7 +249,7 @@ const UrPageProfile = class {
|
|
|
249
249
|
return (index.h("a", { class: "website", onClick: () => this.websiteClick.emit(), title: "website" }, index.h("span", { class: "icon", innerHTML: Icons.website }), this.websiteText));
|
|
250
250
|
}
|
|
251
251
|
renderActions() {
|
|
252
|
-
return (index.h("div", { class: `actions ${this.platform === 'mobile-main' ? 'actions--mobile-main' : ''}` }, this.showFollow && (index.h("ur-button", { class: "follow", onClick: (
|
|
252
|
+
return (index.h("div", { class: `actions ${this.platform === 'mobile-main' ? 'actions--mobile-main' : ''}` }, this.showFollow && (index.h("ur-button", { class: "follow", onClick: () => this.handleFollowClicked() }, this.followText)), this.showBecomeMember && !this.isPageOwner && (index.h("ur-button", { class: "follow", variant: "outlined", onMouseEnter: () => this.memberButtonHoverState = 'hover', onMouseLeave: () => this.memberButtonHoverState = 'default', onClick: () => this.handleBecomeMemberClicked() }, this.getBecomeMemberButtonText())), this.showDonate && !this.isPageOwner && (index.h("ur-button", { class: "follow", variant: "outlined", onClick: () => this.donate.emit() }, this.donateText)), this.showSendMessage && !this.isPageOwner && (index.h("ur-button", { class: "follow", variant: "outlined", onClick: () => this.sendMessage.emit() }, this.sendMessageText))));
|
|
253
253
|
}
|
|
254
254
|
renderStats() {
|
|
255
255
|
return (index.h("div", { class: "stats" }, (index.h("div", null, index.h("div", { class: "stat" }, index.h("div", { class: "key" }, this.storiesText), index.h("div", { class: "value" }, this.stories)))), (index.h("div", null, index.h("div", { class: "stat" }, index.h("div", { class: "key" }, this.viewsText), index.h("div", { class: "value" }, this.views)))), (index.h("div", null, index.h("div", { class: "stat" }, index.h("div", { class: "key" }, this.followersText), index.h("div", { class: "value clickable", onClick: () => this.followersClick.emit() }, this.followers)))), (index.h("div", null, index.h("div", { class: "stat" }, index.h("div", { class: "key" }, this.membersText), index.h("div", { class: "value clickable", onClick: () => this.membersClick.emit() }, this.members))))));
|
|
@@ -279,9 +279,6 @@ const UrPageProfile = class {
|
|
|
279
279
|
return null;
|
|
280
280
|
return (index.h("div", { class: "page-creation-date" }, this.pageCreatedText, " ", index.h("ur-time-ago", { date: this.pageCreationDate })));
|
|
281
281
|
}
|
|
282
|
-
static get watchers() { return {
|
|
283
|
-
"followed": ["handleFollowedChanged"]
|
|
284
|
-
}; }
|
|
285
282
|
};
|
|
286
283
|
UrPageProfile.style = urPageProfileCss;
|
|
287
284
|
|