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AAA,KAAC2W,EAAQE,SAAQ,CAACjJ,MAAOA,GAAQrL,EAA4B,EAEjEuU,gBAAiBA,KAAMC,EAAAA,EAAAA,YAAWJ,GAE1C,CACA,OAAOJ,EAASE,EACpB,CAEO,MAAMO,EAAa,CACtBC,0BAA2B,4BAC3BC,0BAA2B,4BAC3BC,0BAA2B,4B","sources":["client/hooks/useGetPartnerOrSponsorPointIcon.js","client/hooks/useGetPromoPointPoolInfo.js","client/hooks/usePromoSettingThemeStyle.js","components/MemoryMatch/Core/constants/games.js","components/MemoryMatch/Core/constants/pages.js","components/MemoryMatch/Core/constants/styles.js","components/PickThePrize/const.js","assets/icon/point_system_logo.svg","components/PointSystem/PointIcon.js","components/PointsRedeem/const.js","components/ProviderMuiPickersUtils.js","components/RedEnvelopeRain/setting.js","components/Slots/const.js","config/promoDefaultSettingValue.js","editor/game_checkIn/components/settingPanel/componentStyleModes.js","hooks/useElementRefState.js","hooks/useLineEnv.js","utils/contextGenerator.js"],"sourcesContent":["import { bindingPointPoolKeys } from 'config/functionKeysAndDisplayConfig';\nimport { gameTypes } from 'config/promoGameTypes';\nimport { prizeTypes } from 'config/promoPrizeTypes';\nimport { useSelector } from 'react-redux';\n\n// 要處理的分類,有 扣點、兑點模組和 prize\nexport const processed_type = {\n PRIZE_TYPE: 'prizeType',\n GAME_TYPE: 'gameType',\n DEDUCTION: 'deduction'\n};\n\nexport default function useGetPartnerOrSponsorPointIcon(type, data) {\n const { type: promoType } = useSelector(s => s.promo);\n const { redeemPointType = '' } = useSelector(s => s.settingPromo);\n const { pointIconUrl: partnerPointIconUrl = '' } = useSelector(s => s.partner);\n const { pointIconUrl: sponsorPointIconUrl = '' } = useSelector(s => s.sponsor);\n const settingPointSystems = useSelector(s => s.settingPointSystems);\n const qualifyWithdrawUuid = settingPointSystems?.qualifyWithdrawUuid || null;\n switch (type) {\n //對點模組 -> 要看關聯的點數池是不是會員點數 -> 如果是才可以拿 partnerPointIconUrl sponsorPointIconUrl\n case processed_type.GAME_TYPE:\n if (promoType === gameTypes.POINTS_REDEEM) {\n if (redeemPointType === bindingPointPoolKeys.MEMBER_POINT) {\n return { partnerPointIconUrl, sponsorPointIconUrl };\n }\n }\n return { partnerPointIconUrl: '', sponsorPointIconUrl: '' };\n case processed_type.DEDUCTION:\n if (!Boolean(qualifyWithdrawUuid)) {\n return { partnerPointIconUrl, sponsorPointIconUrl };\n }\n return { partnerPointIconUrl: '', sponsorPointIconUrl: '' };\n case processed_type.PRIZE_TYPE:\n if (data.type === prizeTypes.POINT) {\n return { partnerPointIconUrl, sponsorPointIconUrl };\n }\n return { partnerPointIconUrl: '', sponsorPointIconUrl: '' };\n default:\n return { partnerPointIconUrl: '', sponsorPointIconUrl: '' };\n }\n}\n","import { useCallback } from 'react';\nimport { useSelector } from 'react-redux';\n\nexport default function useGetPromoPointPoolInfo() {\n const { pointPoolInfos = {} } = useSelector(s => s.pointSystem);\n\n return useCallback(\n (pointPoolUuid = '') => {\n return pointPoolInfos[pointPoolUuid] || {};\n },\n [pointPoolInfos]\n );\n}\n","import { useMemo } from 'react';\nimport { useSelector } from 'react-redux';\n\nimport { defaultThemeSetting as dts } from 'config/promoDefaultSettingValue';\n\nexport default function usePromoSettingThemeStyle({ useDefault = false } = {}) {\n const settingTheme = useSelector(s => s.settingTheme);\n\n return useMemo(() => {\n if (useDefault) {\n return dts;\n }\n const {\n bgColor = dts.bgColor,\n btnColor = dts.btnColor,\n textColor = dts.textColor\n } = settingTheme;\n return {\n contentBgColor: bgColor,\n btnColor,\n textColor\n };\n }, [useDefault, settingTheme]);\n}\n","import { i18nLangOfGame } from 'locale/i18n';\nimport { IS_EDITOR_MODE } from 'config/envVariable';\nimport { COVER_PAGE, SUCCESS_PAGE, FAIL_PAGE } from 'components/MemoryMatch/Core/constants/pages';\n\n// 版面設定\nexport const ROW_ITEMS_MAXIMUM_PC = 6;\nexport const ROW_ITEMS_MAXIMUM_MOBILE = 4;\n\n// 卡片比例\nexport const RATIO_SQUARE = 'square';\nexport const RATIO_RECT = 'rect';\n\nexport const ratioValueMapping = {\n [RATIO_SQUARE]: 1 / 1,\n [RATIO_RECT]: 3 / 4\n};\n\n// 0: 直接開始玩不給看的拉\n// 5: 先預覽答案 5 秒才開始玩 (目前先 fixed)\nexport const PREVIEW_MINIMUM_TIME_LIMIT = 0;\nexport const PREVIEW_MAXIMUM_TIME_LIMIT = 5;\n\n// 錯誤次數上限\n// 1 ~ 30: 限制次數\nexport const FAILURE_MAXIMUM_TIMES_LIMIT = 30;\nexport const FAILURE_MINIMUM_TIMES_LIMIT = 1;\n\n// 遊戲時間的上限為 10 分 0 秒: 10 * 60\n// 以秒數為單位來儲存資料\n// > 0: 正常倒數\nexport const MAXIMUM_MINUTES_TIME_LIMIT = 10;\nexport const MAXIMUM_SECONDS_TIME_LIMIT = 59;\nexport const MAXIMUM_TIME_LIMIT = MAXIMUM_MINUTES_TIME_LIMIT * 60;\nexport const MINIMUM_TIME_LIMIT = 1;\n\n// createdAt => 參加時間新到舊排序\n// timeSpent => 翻牌花費時間由少到多\nexport const RECORD_SORT_BY_CREATED_AT = 'createdAt';\nexport const RECORD_SORT_BY_TIME_SPENT = 'timeSpent';\n\n// 不限制時的值 (共用、統一來源)\nexport const UNLIMIT_VALUE = 0;\n\n// 結果頁依 playOnce=0 出現再玩一次按鈕;playOnce = 1 則不出現(相同 Entry 只能挑戰一次)\nexport const CAN_PLAY_ONCE = 1;\nexport const CAN_REPLAY = 0;\n\nexport const defaultGameSetting = (isEditor =>\n isEditor\n ? {\n // int: 1 | 2 | 3 | 4 | 5 | 6\n rowItemsPC: 3,\n // int: 1 | 2 | 3 | 4\n rowItemsMobile: 2,\n // String: URL\n cardBack: 'https://assets.fevercdn.com/promotion/img/memoryMatch_cardBack.jpg',\n // String: 'square' | 'rect'\n ratio: RATIO_SQUARE,\n // int: 0 | 5\n previewTimeLimit: PREVIEW_MINIMUM_TIME_LIMIT,\n // int: 1 ~ 30\n // 1 ~ 30: 限制次數\n failureTimesLimit: 10,\n // as second, dynamically\n // = 0: 無限\n // > 0: 正常倒數\n timeLimit: 120,\n // Bool: 0 | 1\n playOnce: CAN_REPLAY,\n // createdAt => 參加時間新到舊排序\n // timeSpent => 翻牌花費時間由少到多\n recordSort: RECORD_SORT_BY_CREATED_AT,\n [COVER_PAGE]: {\n // Bool: 0 | 1\n isShowButton: 1,\n // Bool: 0 | 1\n isShowTitle: 1,\n // String\n title: i18nLangOfGame.t('label.memory_match.cover_page.title'),\n // String: URL\n bgImage: 'https://assets.fevercdn.com/promotion/img/memoryMatch_coverPage_bg.jpg'\n },\n [SUCCESS_PAGE]: {\n // String\n title: i18nLangOfGame.t('label.memory_match.success_page.title'),\n // String: URL\n bgImage:\n 'https://assets.fevercdn.com/promotion/img/memoryMatch_successPage_bg.jpg'\n },\n [FAIL_PAGE]: {\n // String\n title: i18nLangOfGame.t('label.memory_match.fail_page.title'),\n // String: URL\n bgImage: 'https://assets.fevercdn.com/promotion/img/memoryMatch_failPage_bg.jpg'\n }\n }\n : {})(IS_EDITOR_MODE);\n","export const COVER_PAGE = 'coverPage';\nexport const GAME_PAGE = 'gamePage';\nexport const SUCCESS_PAGE = 'successPage';\nexport const FAIL_PAGE = 'failPage';\n","import * as pages from './pages';\n\nexport const fontScaleTextAreaProps = {\n // H1 Size\n maxFontSize: 96,\n // Subtitle1 Size\n minFontSize: 16,\n rowLimit: 4,\n style: `\n text-align: center;\n `\n};\nexport const mobileFontScaleTextAreaProps = {\n // H1 Size\n maxFontSize: 40,\n // Subtitle1 Size\n minFontSize: 16,\n rowLimit: 2,\n style: `\n text-align: center;\n `\n};\n\nexport const pageTitleBlockAspectRatio = 928 / 727;\n\nexport const defaultStyleSetting = {\n titleColor: '#ffffff',\n buttonTextColor: '#ffffff',\n buttonBgColor: '#D52222',\n contentBgColor: '#FF9901',\n bgColor: 'rgb(211, 243, 253)'\n};\n\nexport const pageDefaultBackgroundImageSrc = {\n [pages.FAIL_PAGE]: 'https://assets.fevercdn.com/promotion/img/memoryMatch_failPage_bg.jpg',\n [pages.SUCCESS_PAGE]: 'https://assets.fevercdn.com/promotion/img/memoryMatch_successPage_bg.jpg'\n};\n","import i18n from 'i18next';\n\nexport const GAME_EDITOR_WIDTH = 720;\nexport const KEY_VISION_HEIGHT = 400;\nexport const GAME_EDITOR_DESIGN_WIDTH = 592;\nconst DEFAULT_EDITOR_PRIZE_CARD_NUMBER = 4;\n// 網頁背景\nexport const PICK_THE_PRIZE_BACKGROUND_IMAGE_PC_URL =\n 'https://assets.fevercdn.com/promotion/img/Slots_BG_Desktop.png';\nexport const PICK_THE_PRIZE_BACKGROUND_IMAGE_MB_URL =\n 'https://assets.fevercdn.com/promotion/img/Slots_BG_Mobile.png';\n\nexport const PRIZE_STATE = {\n SELECTABLE: 'selectable', // 可以被選取(領取)\n SELECTED: 'selected', // 已選取\n RECEIVE: 'received', // 已領取\n RUNOUT: 'isRunout', // 已發完\n LOCKED: 'isLocked', // 已達上限\n NO_DATA: 'noData'\n};\n\nexport const GAME_STATE = {\n NO_DATA: 'noData', // 初始化狀態\n SELECTABLE: 'selectable', // 還有獎品可以選\n MAXIMUM: 'maximum', // 獎品已選滿\n PENDING: 'pending', // 等待處理獎品領取\n WAITING: 'waiting', // 等待處理意外情況,當獎品都沒了\n COMPLETE: 'complete' // 結束領取\n};\n\nexport const GAME_TRANSITIONS = {\n ENTER: 'ENTER',\n SUBMIT: 'SUBMIT',\n VERIFY: 'VERIFY',\n COMPLETE: 'COMPLETE',\n PLAYED: 'PLAYED',\n SELECT: 'SELECT',\n CANCEL: 'CANCEL',\n CHECK: 'CHECK'\n};\n\nexport const PRIZE_TRANSITIONS = {\n FETCH: 'FETCH',\n LOCKED: 'LOCKED',\n RECEIVE: 'RECEIVE',\n RUNOUT: 'RUNOUT',\n SELECT: 'SELECT',\n CANCEL: 'CANCEL',\n INIT: 'INIT'\n};\n\nexport const DEFAULT_GAME_STATE = {\n state: GAME_STATE.SELECTABLE,\n context: {\n restLimitation: 1\n }\n};\n\nconst DEFAULT_PRIZE_INFO = {\n key: 0,\n title: i18n.t('label.pick_the_prize.prize_card.defalut.title'),\n caption: i18n.t('label.pick_the_prize.prize_card.defalut.desc'),\n imageSrc: 'https://assets.fevercdn.com/promotion/img/prizeImg.jpg'\n};\n\nconst DEFAULT_PRIZE_STATUS = {\n state: PRIZE_STATE.SELECTABLE,\n context: {\n key: 0,\n isLimited: true,\n restQuantity: 0,\n totalQuantity: 0\n },\n selectedPrizes: 0\n};\n\nexport const DEFAULT_PRIZE_INFO_LIST = new Array(DEFAULT_EDITOR_PRIZE_CARD_NUMBER)\n .fill(DEFAULT_PRIZE_INFO)\n .reduce((result, current, index) => {\n result[index] = {\n ...current,\n key: index\n };\n return result;\n }, {});\n\nexport const DEFAULT_PRIZE_STATUS_LIST = new Array(DEFAULT_EDITOR_PRIZE_CARD_NUMBER)\n .fill(DEFAULT_PRIZE_STATUS)\n .reduce((result, current, index) => {\n result[index] = {\n ...current,\n context: {\n ...current.context,\n key: index\n }\n };\n return result;\n }, {});\n","var _path, _path2;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nfunction SvgPointSystemLogo(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 44,\n height: 45,\n viewBox: \"0 0 44 45\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n className: \"point_bg\",\n d: \"M44 22.5C44 34.6503 34.1503 44.5 22 44.5C9.84974 44.5 0 34.6503 0 22.5C0 10.3497 9.84974 0.5 22 0.5C34.1503 0.5 44 10.3497 44 22.5Z\",\n fill: \"#FFCE00\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n className: \"point_text\",\n d: \"M12.5714 35.8571H17.7221V26.6792H22.0027C28.3018 26.6792 33 23.9572 33 18.0945C33 12.0224 28.3714 9.92857 21.8287 9.92857H12.5714V35.8571ZM17.7221 22.5962V14.0464H21.4459C25.622 14.0464 27.9886 15.0236 27.9886 18.0945C27.9886 21.1306 25.8309 22.5962 21.6199 22.5962H17.7221Z\",\n fill: \"white\"\n })));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgPointSystemLogo);\nexport default __webpack_public_path__ + \"static/media/point_system_logo.b34d8bec330554d2d1868ce2b5b1bd14.svg\";\nexport { ForwardRef as ReactComponent };","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { css } from '@emotion/core';\nimport { ReactComponent as PointLogoSVG } from 'assets/icon/point_system_logo.svg';\nimport { stylePropType } from 'utils/propTypes';\n\n/**\n * 點數 Icon\n * @param {object} iconStyle - 預設點數 icon 樣式\n * @param {object} pointIconStyle - 點數樣式設定\n * @property {string} pointIconStyle.customImgUrl - 點數池的點數 Icon 自定義圖片 Url\n * @property {string} pointIconStyle.isUseCustomImg - 點數池的點數 Icon 是否啟用自定義圖片 Url\n * @property {string} pointIconStyle.iconColor - 點數池的點數 Icon 背景顏色\n *\n */\nexport default function PointIcon({\n pointIconStyle = {},\n themeStyle = {},\n size,\n style,\n partnerPointIconUrl,\n sponsorPointIconUrl\n}) {\n const { customImgUrl, isUseCustomImg } = pointIconStyle;\n const customSystemIconUrl = Boolean(sponsorPointIconUrl)\n ? sponsorPointIconUrl\n : partnerPointIconUrl;\n\n return isUseCustomImg || Boolean(customSystemIconUrl) ? (\n \n ) : (\n \n );\n}\n\nconst customThemeStyle = (pointIconStyle, themeStyle, size) => css`\n width: ${size}px;\n height: ${size}px;\n\n .point_bg {\n fill: ${pointIconStyle.iconColor};\n }\n .point_text {\n fill: ${themeStyle.bgColor};\n }\n`;\n\nconst customImgStyle = size => css`\n width: ${size}px;\n height: ${size}px;\n margin-right: 6px;\n position: relative;\n`;\n\nPointIcon.propTypes = {\n pointIconStyle: PropTypes.shape({\n color: PropTypes.string,\n iconImageUrl: PropTypes.string,\n cdnIconImageUrl: PropTypes.string\n }),\n size: PropTypes.number,\n style: stylePropType\n};\n","import i18n from 'i18next';\nimport { prizeVisibleTypes, prizeQuantityLimitedTypes } from 'config/promoPrizeTypes';\n\nexport const GAME_EDITOR_WIDTH = 960;\nexport const KEY_VISION_HEIGHT = 200;\nexport const GAME_EDITOR_DESIGN_WIDTH = 592;\nconst DEFAULT_EDITOR_PRIZE_CARD_NUMBER = 4;\n// 網頁背景\nexport const POINTS_REDEEM_BACKGROUND_IMAGE_URL =\n 'https://s3.ap-southeast-1.amazonaws.com/assets.fevercdn.com/promotion/img/PointsRedeem_BG.png';\n\nexport const PRIZE_STATE = {\n UNREDEEMABLE: 'unRedeemable', //不足的\n REDEEMABLE: 'redeemable', //足夠\n IS_LOCKED: 'isLocked', //達到上限\n IS_RUNOUT: 'isRunout', // 發送完畢\n IS_HIDDEN: 'isHidden' // 發送完畢\n};\n\nconst DEFAULT_PRIZE_INFO = {\n key: 0,\n title: i18n.t('label.pick_the_prize.prize_card.defalut.title'),\n caption: i18n.t('label.pick_the_prize.prize_card.defalut.desc'),\n imageSrc: 'https://assets.fevercdn.com/promotion/img/prizeImg.jpg',\n isLimited: prizeQuantityLimitedTypes.UNLIMITED,\n isVisible: prizeVisibleTypes.VISIBLE,\n redeemPoints: 1\n};\n\nexport const DEFAULT_PRIZE_INFO_LIST = new Array(DEFAULT_EDITOR_PRIZE_CARD_NUMBER)\n .fill(DEFAULT_PRIZE_INFO)\n .reduce((result, current, index) => {\n result[index] = {\n ...current,\n key: index\n };\n return result;\n }, {});\n","import React from 'react';\nimport i18n from 'i18next';\nimport { MuiPickersUtilsProvider } from '@material-ui/pickers';\nimport DayjsUtils from '@date-io/dayjs';\nimport zhTwLocale from 'dayjs/locale/zh-tw';\nimport zhCNLocale from 'dayjs/locale/zh-cn';\nimport zhHKLocale from 'dayjs/locale/zh-hk';\nimport enLocale from 'dayjs/locale/en';\nimport jaLocale from 'dayjs/locale/ja';\nimport ptLocale from 'dayjs/locale/pt-br';\nimport esLocale from 'dayjs/locale/es-us';\nimport { langTypes } from 'config/gameLangOptions';\n\nconst localeMap = {\n [langTypes.ZH_TW]: zhTwLocale,\n [langTypes.ZH_CN]: zhCNLocale,\n [langTypes.ZH_HK]: zhHKLocale,\n [langTypes.EN_US]: enLocale,\n [langTypes.JA_JP]: jaLocale,\n [langTypes.PT_BR]: ptLocale,\n [langTypes.ES_419]: esLocale\n};\n\nexport default function ProviderMuiPickersUtils({ children, lang }) {\n const locale = localeMap[lang] || localeMap[i18n.language];\n return (\n \n {children}\n \n );\n}\n","import i18n from 'i18next';\n\nexport const InitialStep = 1;\nexport const PlayingStep = 2;\n\nexport const CUSTOMIZE_IMAGE_ICON_MODE = 'customizeImageIcon';\nexport const CUSTOMIZE_IMAGE_MODE = 'customizeImage';\nexport const CUSTOMIZE_IMAGE_ICON_MODE_TAB = 0;\nexport const CUSTOMIZE_IMAGE_MODE_TAB = 1;\n\nexport const VISION_LOGO_BTN_MODE = 'logoBtn';\nexport const VISION_IMAGE_MODE = 'customizeImage';\nexport const VISION_LOGO_BTN_MODE_TAB = 0;\nexport const VISION_IMAGE_MODE_TAB = 1;\n\n// 按鈕模式\nexport const BTN_CUSTOMIZE_IMAGE_MODE = 'customizeImage';\nexport const BTN_WHITEBOARD_MODE = 'whiteboard';\nexport const BTN_WHITEBOARD_MODE_TAB = 0;\nexport const BTN_CUSTOMIZE_IMAGE_MODE_TAB = 1;\n\n// focus\nexport const FOCUS_VISION_LOGO = 'focusVisionLogo';\nexport const FOCUS_VISION_BTN = 'focusVisionBtn';\nexport const FOCUS_VISION_IMAGE = 'focusVisionImage';\nexport const FOCUS_RED_ENVELOPE_IMAGE_ICON = 'focusCustomizeImageIcon';\nexport const FOCUS_RED_ENVELOPE_IMAGE = 'focusCustomizeImage';\nexport const FOCUS_DECORATE_IMAGES = 'focusDecoratImages';\n\n// image resource\nexport const openEffectImg = 'https://assets.fevercdn.com/promotion/img/red_envelope_effect.svg';\nexport const redEvelopeImg = 'https://assets.fevercdn.com/promotion/img/red_envelope_prize.svg';\nexport const redEvelopeBackgroundImg =\n 'https://assets.fevercdn.com/promotion/img/red_envelope_background.png';\nexport const redEvelopeMbBackgroundImg =\n 'https://assets.fevercdn.com/promotion/img/red_envelope_mbbackground.png';\n\nexport const generateInitialSetting = () => {\n return {\n redEnvelopeSetting: {\n customImage: '',\n // 自訂紅包\n imageIcon: 'https://assets.fevercdn.com/promotion/img/red_envelope_icon.svg',\n // 紅包 icon\n mode: CUSTOMIZE_IMAGE_ICON_MODE\n // 選用模式 自訂紅包 || 紅包 icon\n },\n initialDecorateImageSetting: {\n show: true\n // 起始畫面顯示點綴物\n },\n decorateImageSetting: {\n images: [\n 'https://assets.fevercdn.com/promotion/img/red_envelope_decorate_1.svg',\n 'https://assets.fevercdn.com/promotion/img/red_envelope_decorate_2.svg'\n ]\n // 點綴物 images\n },\n visionSetting: {\n mode: VISION_LOGO_BTN_MODE,\n // 主題視覺 預設樣式 ( logo btn ) || 自訂樣式 ( image block )\n visionImage: '',\n // 自訂樣式 圖片 ( image block )\n mainImage: 'https://assets.fevercdn.com/promotion/img/red_envelope_logo.svg',\n // logo 圖片\n showMainImage: true,\n // 顯示 logo 圖片\n btnMode: BTN_WHITEBOARD_MODE,\n // 按鈕模式 預設樣式 ( 按鈕 text, color, bgColor ) || 客製樣式 ( btnImage )\n showBtn: true,\n // 按鈕是否顯示\n btnText: i18n.t('label.start_game'),\n // 按鈕 文字\n btnTextColor: '#fff',\n // 按鈕 文字顏色\n btnBgColor: '#9D0100',\n // 按鈕 背景顏色\n btnImage: ''\n // 按鈕 客製化圖片\n }\n };\n};\n","import i18n from 'i18next';\n\nexport const REEL_QUANTITY = 3;\nexport const REEL_INIT_DISPLAY_BLOCK_QUANTITY = 3;\nexport const REEL_LENGTH = 30;\nexport const PRIZE_POSITION = 1;\nexport const SLOT_WINDOW_HEIGHT = 222;\nexport const SLOT_WIDTH = 640;\nexport const GAP_SIZE = 16;\nexport const BLOCK_QUANTITY = 30;\nexport const BLOCK_SIZE = 114;\n\nexport const slotsBackgroundImg = 'https://assets.fevercdn.com/promotion/img/Slots_BG_Desktop.png';\nexport const slotsMbBackgroundImg = 'https://assets.fevercdn.com/promotion/img/Slots_BG_Mobile.png';\n\nexport const systemIcons = [\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_1.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_2.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_3.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_4.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_5.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_6.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_7.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_8.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_9.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_10.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_11.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_12.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_13.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_14.svg',\n 'https://assets.fevercdn.com/promotion/img/Slots_SystemIcon_15.svg'\n];\n\nexport const DEFAULT_ITEMS = Array.from(Array(10), (_, i) => ({\n id: `default_${i}`,\n imgUrl: `https://via.placeholder.com/300x154.png?text=prize-${i}`\n}));\n\nexport const defaultKeyVisualConfig = {\n customImgUrl: 'https://assets.fevercdn.com/promotion/img/Slots_Cover%402x.png'\n};\n\nexport const defaultStartButtonConfig = {\n text: i18n.t('label.slots.start_button'),\n color: 'hsla(0, 0%, 100%, 1)',\n colorBg: 'hsla(44, 100%, 50%, 1)',\n isUseCustomImg: false,\n customImgUrl: ''\n};\n\nexport const defaultHandleConfig = {\n colorGrip: '#D7181E',\n colorBar: '#FFBA00',\n colorBase: '#FFBA00',\n isHandleShow: true\n};\n\nexport const defaultWindowConfig = {\n colorBorder1: '#FFBA00',\n colorBorder2: '#D40000',\n colorNeons: '#FFB666',\n colorReelBg: 'white',\n hueNeons: '31',\n isNeonAnimated: true,\n isUseCustomImg: false,\n customImgUrl: ''\n};\n\nexport const calcNeonsColor = hue => `rgba(${hue},102,255,1)`;\n\nexport const defaultDecorationsConfig = [];\n\nexport const BORDER_PREVIEW = {\n KEYVISUAL: 'keyvisual',\n WINDOW: 'window',\n START_BUTTON: 'startButton'\n};\n","import _merge from 'lodash/merge';\nimport _cloneDeep from 'lodash/cloneDeep';\nimport i18next from 'i18next';\nimport { i18nLangOfGame } from 'locale/i18n';\nimport { gameTypes } from 'config/promoGameTypes';\nimport {\n system050,\n system200,\n system900,\n promo100,\n promo500,\n zines500,\n fever700,\n fever500,\n warning,\n black,\n white\n} from 'Mui/styles/color';\n\nimport { componentStyleModes } from 'editor/game_checkIn/components/settingPanel/componentStyleModes';\nimport {\n redEvelopeBackgroundImg,\n redEvelopeMbBackgroundImg\n} from 'components/RedEnvelopeRain/setting';\nimport { slotsBackgroundImg, slotsMbBackgroundImg } from 'components/Slots/const';\nimport {\n PICK_THE_PRIZE_BACKGROUND_IMAGE_PC_URL,\n PICK_THE_PRIZE_BACKGROUND_IMAGE_MB_URL\n} from 'components/PickThePrize/const';\nimport { POINTS_REDEEM_BACKGROUND_IMAGE_URL } from 'components/PointsRedeem/const';\nimport { defaultGameSetting as memoryMatchDefaultGameSetting } from 'components/MemoryMatch/Core/constants/games';\nimport { defaultStyleSetting as memoryMatchDefaultStyleSetting } from 'components/MemoryMatch/Core/constants/styles';\nimport { ugcGameSetting } from 'ugc/components/workPage/SettingPreviews/defaultGameSetting';\nimport { galleryGameSetting } from 'editor/components/Gallery/SettingPreviews/defaultGameSetting';\nimport { bgTypes } from 'styles/generateBgStyleByType';\nimport { froalaKeyVisionTypeMapping } from 'components/KeyVision/config';\n\nfunction getCoverI18NKeyByGame(gameType) {\n switch (gameType) {\n case gameTypes.QUIZ:\n return {\n title: `default_val.quiz.cover_page_phase`,\n btn: `default_val.quiz.cover_page_btn_text`\n };\n case gameTypes.SIGN_FORM:\n case gameTypes.VOTE:\n case gameTypes.PSYCHO_QUIZ:\n case gameTypes.SURVEY:\n default:\n return {\n title: `default_val.signform.cover_page_phase`,\n btn: `default_val.signform.cover_page_btn_text`\n };\n }\n}\n\nconst separator = `\n
\n
\n
\n`;\n\nconst title = `\n

\n  \n \n Hi\n \n

\n`;\n\nconst subTitle = gameType => `\n

\n \n \n "${i18nLangOfGame.t(getCoverI18NKeyByGame(gameType).title)}"\n \n \n

\n`;\n\nconst paragraph = gameType => `\n

\n \n ${i18nLangOfGame.t(getCoverI18NKeyByGame(gameType).btn)}\n \n

\n`;\n\nexport const getCoverPageContent = gameType => `\n ${separator}\n ${title}\n ${subTitle(gameType)}\n ${paragraph(gameType)}\n ${separator}\n`;\n\nexport const getInvoiceTitleTextboxContent = title =>\n `

${title}

`;\n\nexport const getDefaultFroalaText = (title, color = '#FFF') =>\n `

\n \n \n ${title}\n \n \n

`;\n\nexport const getUgcFroalaText = title =>\n `

\n \n \n ${title}\n \n \n

`;\n\nexport const getTaskPromoFroalaText = (title, color = black.color) =>\n `

${title}

`;\n\nexport const defaultThemeSetting = {\n bgColor: '#fff',\n btnColor: '#ff004e',\n textColor: system900.color\n};\n\nconst votingDefaultSetting = {\n settingPromo: {\n // TODO: 需要請後端增加預設值\n enableReCaptcha: 1\n },\n settingGame: {\n entryVotes: 1\n }\n};\n\n// [86enwj9tw] 此元件的設定值跨Editor與Client共用,所以 i18n 與 i18nLangOfGame 都會用到\nexport const defaultReferralShareCard = (isFallbackVersion = false, isEditor = false) => {\n const t = id => (isEditor ? i18nLangOfGame.t(id) : i18next.t(id));\n return {\n referralShareCard: {\n // line卡片是否啟用\n enableLineLiff: isFallbackVersion ? false : true,\n //顯示圖片\n isShowImage: isFallbackVersion ? false : true,\n // 邀請圖片 Url\n imageUrl: 'https://assets.fevercdn.com/promotion/img/MGM_Image.jpg',\n //邀請標題\n invitationTitle: `@username ${t('label.mgm_share.invitation_title')}`,\n //邀請說明\n invitationDesc: isFallbackVersion\n ? t('label.mgm_share.invitation_fallback_desc')\n : t('label.mgm_share.invitation_desc'),\n // 邀請按鈕文字\n buttonText: t('default_val.sign_up.referral_code_card.button_text'),\n // 邀請按鈕文字顏色\n buttonTextColor: '#ffffff',\n // 邀請按鈕背景顏色\n buttonBgColor: system900.color,\n // 主題文字顏色\n themeTextColor: system900.color,\n // 主題背景顏色\n themeBgColor: isFallbackVersion ? '#F1F1F1' : '#FFE4BB'\n }\n };\n};\n\nexport const defaultReferralButton = (isFallbackVersion = false, isEditor = false) => {\n const t = id => (isEditor ? i18nLangOfGame.t(id) : i18next.t(id));\n return {\n referralButton: {\n buttonText: isFallbackVersion ? '' : t('btn.referral_friend_join'),\n buttonTextColor: '#FFF',\n buttonBgColor: isFallbackVersion ? system900.color : promo500.color,\n isShowButton: true\n }\n };\n};\n\nexport const getPromoMgmMissionDefaultSettingValue = gameType => {\n const config = {\n [gameTypes.SIGN_UP]: {\n settingMGMReferral: {\n enableReferralCodeRequired: 1,\n referralCodeCard: {\n buttonText: i18nLangOfGame.t(\n 'default_val.sign_up.referral_code_card.button_text'\n )\n }\n }\n }\n };\n\n return (\n config[gameType] || {\n settingMGMReferral: {\n enableReferralCodeRequired: 0,\n referralCodeCard: {\n isShowImage: true,\n imageUrl: 'https://assets.fevercdn.com/promotion/img/prize-image.svg',\n buttonText: i18nLangOfGame.t(\n 'default_val.sign_up.referral_code_card.button_text'\n ),\n buttonTextColor: '#fff',\n buttonBgColor: system900.color,\n description: i18nLangOfGame.t(\n 'default_val.sign_up.referral_code_card.description'\n ),\n themeTextColor: system900.color,\n themeBgColor: '#FFF'\n }\n }\n }\n );\n};\n\nexport const getPromoDefaultSettingValue = (gameType, relatedWith) => {\n const config = {\n [gameTypes.PSYCHO_QUIZ]: {\n settingStyle: {\n buttonBgColor: '#0071ff',\n buttonTextColor: '#fff',\n optionBgColor: system200.color,\n optionTextColor: '#333',\n titleColor: '#333',\n descColor: '#333',\n buttonSize: 'sm',\n contentAlign: 'left'\n },\n settingGame: {\n coverPageContent: getCoverPageContent(gameType)\n }\n },\n [gameTypes.SIGN_FORM]: {\n settingGame: {\n coverPageContent: getCoverPageContent(gameType)\n }\n },\n [gameTypes.QUIZ]: {\n settingStyle: {\n buttonBgColor: '#0071ff',\n buttonTextColor: '#fff',\n optionBgColor: system200.color,\n optionTextColor: '#333',\n titleColor: '#333',\n descColor: '#333',\n buttonSize: 'sm',\n contentAlign: 'left'\n },\n settingGame: {\n coverPageContent: getCoverPageContent(gameType),\n changeQuestionOn: 2,\n playOnce: 0,\n maxFailure: 0,\n timeLimit: 0\n }\n },\n [gameTypes.VOTE]: {\n settingStyle: {\n buttonBgColor: '#0071ff',\n buttonTextColor: '#fff',\n optionBgColor: system200.color,\n optionTextColor: '#333',\n titleColor: '#333',\n descColor: '#333',\n buttonSize: 'sm',\n contentAlign: 'left'\n },\n settingGame: {\n coverPageContent: getCoverPageContent(gameType),\n voteRateDisplayMethod: 2,\n resultOptionSortMethod: 1\n }\n },\n [gameTypes.SURVEY]: {\n settingGame: {\n coverPageContent: getCoverPageContent(gameType)\n }\n },\n [gameTypes.RED_ENVELOPE_RAIN]: {\n settingStyle: {\n bgType: bgTypes.IMG,\n bgImgUrl: redEvelopeBackgroundImg,\n bgMobileImgUrl: redEvelopeMbBackgroundImg,\n bgColor: system050.color,\n contentBgColor: '#fff'\n }\n },\n [gameTypes.INVOICE]: {\n settingStyle: {\n buttonBgColor: '#0071ff',\n buttonTextColor: '#fff',\n optionBgColor: system200.color,\n optionTextColor: '#333',\n titleColor: '#333',\n descColor: '#333',\n buttonSize: 'sm',\n contentAlign: 'left'\n },\n settingGame: {\n enableInvoiceDetailRead: 1,\n enableInvoiceRealtimeValidation: 1,\n enableInvoiceImgUpload: 1,\n validation: {\n keywords: {\n combinations: [\n {\n items: [[[]]],\n logicOperators: [],\n totalCountLimit: 1,\n totalAmountLimit: 0\n }\n ],\n logicOperators: []\n },\n sellers: { type: 0 },\n totalCountLimit: 1,\n totalCountLimitType: 1,\n totalAmountLimit: 0,\n totalAmountLimitType: 0\n }\n }\n },\n [gameTypes.PHOTO_UPLOAD]: {\n settingStyle: {\n titleColor: 'rgba(0, 0, 0, 1)',\n descColor: 'rgba(0, 0, 0, 1)',\n buttonTextColor: 'rgba(255, 255, 255, 1)',\n buttonBgColor: '#000000',\n contentBgColor: '#f8f8f8',\n bgColor: 'rgb(236, 236, 236)'\n },\n settingGame: {\n ...(relatedWith.gameType === gameTypes.CONTEST_ADMIN_UPLOAD\n ? {\n btnText: i18nLangOfGame.t('btn.voting_contest.redirct.voting_page'),\n guidance: i18nLangOfGame.t('placeholder.voting_contest.voting_title'),\n guidanceNote: i18nLangOfGame.t('placeholder.voting_contest.voting_desc')\n }\n : {\n guidance: i18nLangOfGame.t('label.photo_upload.guidance_default_value'),\n guidanceNote: i18nLangOfGame.t(\n 'label.photo_upload.guidance_note_default_value'\n )\n }),\n copyrightClause: i18nLangOfGame.t(\n 'desc.photo_upload.copyright_clause_default_value'\n ),\n enableImageTitleInput: 1,\n enableImageDescriptionInput: 0,\n enableUgcAuthorNameInput: 0,\n mediaLibrariesSort: 2,\n // galleryTemplateType: ugcGalleryTypes.COLUMN_WATERFALL,\n ugcGameSetting: ugcGameSetting,\n galleryGameSetting: galleryGameSetting\n }\n },\n [gameTypes.CHECK_IN]: {\n settingStyle: {\n titleColor: '#000',\n descColor: '#000',\n contentBorderRadius: 35,\n contentBgColor: '#f8f8f8',\n optionTextColor: '#000',\n optionBgColor: '#FFB200'\n },\n settingGame: {\n title: {\n value: i18nLangOfGame.t('default_val.check_in.title'),\n enable: 1\n },\n description: {\n value: i18nLangOfGame.t('default_val.check_in.desc'),\n enable: 1\n },\n mainViewImg: {\n value:\n 'https://assets.fevercdn.com/promotion/img/check_in/check_in_main_img.png',\n enable: 1\n },\n signInBtn: {\n type: componentStyleModes.SYSTEM,\n color: '#fff',\n backgroundColor: '#02A0FC'\n },\n signInSlot: {\n type: componentStyleModes.SYSTEM,\n textColor: '#000',\n colorSigned: '#FFB200',\n colorUnSigned: '#FFF0B4',\n quantityPerRow: 4,\n dayCount: 7\n }\n }\n },\n [gameTypes.CONTEST_PHOTO_UPLOAD]: {\n ...votingDefaultSetting\n },\n [gameTypes.PHOTO_FRAME_COMPOSITE]: {\n settingStyle: {\n titleColor: 'rgba(0, 0, 0, 1)',\n descColor: 'rgba(0, 0, 0, 1)',\n buttonTextColor: 'rgba(255, 255, 255, 1)',\n buttonBgColor: '#000000',\n contentBgColor: '#F5F5F5',\n bgColor: '#EEEEEE'\n },\n settingGame: {\n guidance: i18nLangOfGame.t('label.photo_upload.guidance_default_value'),\n guidanceNote: i18nLangOfGame.t('label.photo_upload.guidance_note_default_value'),\n copyrightClause: i18nLangOfGame.t(\n 'desc.photo_upload.copyright_clause_default_value'\n ),\n enableImageTitleInput: 1,\n enableImageDescriptionInput: 0,\n enableUgcAuthorNameInput: 0,\n mediaLibrariesSort: 2,\n // galleryTemplateType: ugcGalleryTypes.COLUMN_WATERFALL,\n enableFixedFrameHeight: 0,\n ugcGameSetting: ugcGameSetting,\n galleryGameSetting: galleryGameSetting\n }\n },\n [gameTypes.SLOTS]: {\n settingStyle: {\n bgType: bgTypes.IMG,\n bgImgUrl: slotsBackgroundImg,\n bgMobileImgUrl: slotsMbBackgroundImg,\n bgColor: system050.color,\n contentBgColor: '#fff'\n }\n },\n [gameTypes.MEMORY_MATCH]: {\n settingStyle: {\n ...memoryMatchDefaultStyleSetting\n },\n settingGame: {\n ...memoryMatchDefaultGameSetting\n }\n },\n [gameTypes.PICK_THE_PRIZE]: {\n settingStyle: {\n bgType: bgTypes.IMG,\n bgImgUrl: PICK_THE_PRIZE_BACKGROUND_IMAGE_PC_URL,\n bgMobileImgUrl: PICK_THE_PRIZE_BACKGROUND_IMAGE_MB_URL,\n bgColor: system050.color,\n contentBgColor: '#fff'\n }\n },\n [gameTypes.COMMENT]: {\n settingStyle: {\n titleColor: 'rgba(0, 0, 0, 1)',\n descColor: 'rgba(0, 0, 0, 1)',\n buttonTextColor: 'rgba(255, 255, 255, 1)',\n buttonBgColor: '#000000',\n contentBgColor: '#F5F5F5',\n bgColor: '#EEEEEE'\n },\n settingGame: {\n guidance: i18nLangOfGame.t('placeholder.comment.guidance'),\n guidanceNote: i18nLangOfGame.t('label.photo_upload.guidance_note_default_value'),\n enableFixedAspectRatio: 1,\n enableParticipantName: 1\n }\n },\n [gameTypes.CONTEST_ADMIN_UPLOAD]: {\n ...votingDefaultSetting\n },\n [gameTypes.CHALLENGE_PHOTO_FRAME_COMPOSITE]: {\n settingStyle: {\n titleColor: '#000',\n descColor: '#000',\n contentBgColor: promo100.color,\n buttonTextColor: '#000',\n buttonBgColor: '#fff',\n optionTextColor: '#000',\n optionBgColor: '#fff',\n contentBorderRadius: 35\n },\n settingGame: {\n title: {\n value: i18nLangOfGame.t('default_val.challenge_photo_frame.title'),\n enable: 1\n },\n description: {\n value: i18nLangOfGame.t('default_val.challenge_photo_frame.desc'),\n enable: 1\n },\n mainViewImg: {\n value: 'https://assets.fevercdn.com/promotion/img/challenge/main_img.svg',\n enable: 1\n },\n enableTaskCardTitle: 1,\n enableTaskCardButton: 1,\n // 闖關限制 - 此設定可以限制參加者的闖關順序\n enableTaskJoinBySeq: 1,\n taskCardPerRow: {\n desktop: 3,\n mobile: 2\n },\n // 以下和其他 ugc 相框 相同\n enableImageTitleInput: 1,\n enableImageDescriptionInput: 0,\n enableUgcAuthorNameInput: 0,\n copyrightClause: i18nLangOfGame.t(\n 'desc.photo_upload.copyright_clause_default_value'\n ),\n mediaLibrariesSort: 2,\n // galleryTemplateType: ugcGalleryTypes.COLUMN_WATERFALL,\n ugcGameSetting: ugcGameSetting,\n galleryGameSetting: galleryGameSetting\n }\n },\n [gameTypes.CONTEST_PHOTO_FRAME_COMPOSITE]: {\n ...votingDefaultSetting\n },\n [gameTypes.VIDEO_UPLOAD]: {\n settingStyle: {\n titleColor: 'rgba(0, 0, 0, 1)',\n descColor: 'rgba(0, 0, 0, 1)',\n buttonTextColor: 'rgba(255, 255, 255, 1)',\n buttonBgColor: '#000000',\n contentBgColor: '#f8f8f8',\n bgColor: 'rgb(236, 236, 236)'\n },\n settingGame: {\n ...(relatedWith.gameType === gameTypes.CONTEST_ADMIN_UPLOAD\n ? {\n btnText: i18nLangOfGame.t('btn.voting_contest.redirct.voting_page'),\n guidance: i18nLangOfGame.t('placeholder.voting_contest.voting_title'),\n guidanceNote: i18nLangOfGame.t('placeholder.voting_contest.voting_desc')\n }\n : {\n guidance: i18nLangOfGame.t('desc.video_upload.guidance'),\n guidanceNote: i18nLangOfGame.t('desc.ugc.guidance_note')\n }),\n copyrightClause: i18nLangOfGame.t(\n 'desc.photo_upload.copyright_clause_default_value'\n ),\n enableUgcTitleInput: 1,\n enableUgcDescriptionInput: 0,\n enableUgcAuthorNameInput: 0,\n mediaLibrariesSort: 2,\n // galleryTemplateType: ugcGalleryTypes.COLUMN_WATERFALL,\n ugcGameSetting: ugcGameSetting,\n galleryGameSetting: galleryGameSetting\n }\n },\n [gameTypes.CONTEST_VIDEO_UPLOAD]: {\n ...votingDefaultSetting\n },\n [gameTypes.INSTAGRAM]: {\n settingStyle: {\n layoutBgColor: '#FFFFFF',\n contentBgColor: '#E9E2F7',\n contentTextColor: '#341C61',\n buttonBgColor: '#6F3FC8',\n buttonTextColor: '#FFFFFF',\n buttonBorderColor: '#5B31A9',\n titleTextColor: '#FFFFFF',\n titleBgColor: '#341C61'\n },\n settingGame: {\n html: `\n

${i18nLangOfGame.t(\n 'label.game_instagram.editor.title'\n )}

\n

${i18nLangOfGame.t(\n 'label.game_instagram.editor.desc'\n )}

\n `,\n enablePrivateReply: 1,\n privateReplyTitle: i18nLangOfGame.t('label.game_instagram.private_reply_title'),\n headerText: i18nLangOfGame.t('label.game_instagram.header_text'),\n instruction: i18nLangOfGame.t('label.game_instagram.instruction'),\n btnText: i18nLangOfGame.t('label.game_instagram.btn_text'),\n instagramPostReply: i18nLangOfGame.t('label.game_instagram.post_reply'),\n ugcGameSetting: ugcGameSetting,\n galleryGameSetting: galleryGameSetting,\n instagramPrivateReplyMessage: {\n entryExistIntroMsg: i18nLangOfGame.t(\n 'label.game_instagram.entry_exist_intro_msg'\n ),\n entryExistTemplateCardMsg: {\n template_type: 'generic',\n elements: [\n {\n title: i18nLangOfGame.t(\n 'label.game_instagram.generic_template.title'\n ),\n image_url:\n 'https://assets.fevercdn.com/promotion/img/memoryMatch_cardBack.jpg',\n subtitle: i18nLangOfGame.t(\n 'desc.game_instagram.generic_template.subtitle'\n ),\n default_action: {\n type: 'web_url',\n url: '',\n webview_height_ratio: 'tall'\n },\n buttons: [\n {\n type: 'web_url',\n url: '',\n title: i18nLangOfGame.t('btn.get_winner')\n }\n ]\n }\n ]\n },\n entryNotExistIntroMsg: i18nLangOfGame.t(\n 'label.game_instagram.entry_not_exist_intro_msg'\n ),\n entryNotExistTemplateCardMsg: {\n template_type: 'generic',\n elements: [\n {\n title: i18nLangOfGame.t(\n 'label.game_instagram.generic_template.title'\n ),\n image_url:\n 'https://assets.fevercdn.com/promotion/img/memoryMatch_cardBack.jpg',\n subtitle: i18nLangOfGame.t(\n 'desc.game_instagram.generic_template.subtitle'\n ),\n default_action: {\n type: 'web_url',\n url: '',\n webview_height_ratio: 'tall'\n },\n buttons: [\n {\n type: 'web_url',\n url: '',\n title: i18nLangOfGame.t('btn.get_winner')\n }\n ]\n }\n ]\n },\n quickReplyMsg: i18nLangOfGame.t('label.game_instagram.quickly_replay_msg'),\n quickReplyOption: i18nLangOfGame.t('label.game_instagram.quickly_replay_opt')\n }\n }\n },\n [gameTypes.PURCHASE_REWARD]: {\n settingStyle: {\n buttonBgColor: zines500.color,\n buttonTextColor: '#fff',\n actionButtonText: i18nLangOfGame.t('default_val.purchase_reward.title_text'),\n optionBgColor: system200.color,\n optionTextColor: '#333',\n titleColor: '#333',\n descColor: '#333',\n contentAlign: 'left'\n },\n settingGame: {\n // 品項關係\n itemValidationLogicOperators: 'OR',\n // 買方限制\n buyers: {\n type: 0 // 0:無限制 , 1:過濾買方統編\n },\n // 通路限制\n sellers: {\n type: 0, // 0:無限制 , 1:賣方統編 , 2:賣方名稱 , 3:賣方地址\n addresses: [], // 限制賣方地址\n names: [], // 限制賣方名稱\n taxIdNumbers: [] // 限制賣方統編\n },\n // 金額門檻\n amount: {\n totalAmountLimit: 0, // 金額門檻總金額\n type: 0 // 金額門檻Type - 0 : 無限制 / 1 : 發票總金額 / 2 : 品項總金額\n },\n // 日期限制\n dateRange: {\n type: 0, // 0 : 無限制 / 1 : 指定時間區段\n startDate: '', // 起始日期\n endDate: '' // 結束日期\n }\n },\n settingGameStyle: {\n consumptionDateDescription: i18nLangOfGame.t(\n 'default_val.purchase_reward.purchase_date_description_text'\n ),\n consumptionDateTitle: i18nLangOfGame.t(\n 'default_val.purchase_reward.purchase_date_text'\n ),\n invoiceNumberDescription: i18nLangOfGame.t(\n 'default_val.purchase_reward.invoice_number_description_text'\n ),\n invoiceNumberTitle: i18nLangOfGame.t(\n 'default_val.purchase_reward.invoice_number_text'\n ),\n randomNumberDescription: i18nLangOfGame.t(\n 'default_val.purchase_reward.random_number_description_text'\n ),\n randomNumberTitle: i18nLangOfGame.t(\n 'default_val.purchase_reward.random_number_text'\n ),\n receiptDescription: i18nLangOfGame.t(\n 'default_val.purchase_reward.receipt_number_description_text'\n ),\n receiptTitle: i18nLangOfGame.t('default_val.purchase_reward.receipt_number_text'),\n carrierNumberTitle: i18nLangOfGame.t(\n 'default_val.purchase_reward.carrier_number_text'\n ),\n carrierNumberDescription: i18nLangOfGame.t(\n 'default_val.purchase_reward.carrier_number_description_text'\n ),\n carrierCodeTitle: i18nLangOfGame.t('default_val.purchase_reward.carrier_code_text'),\n carrierCodeDescription: i18nLangOfGame.t(\n 'default_val.purchase_reward.carrier_code_description_text'\n ),\n uploadImageDescription: i18nLangOfGame.t(\n 'default_val.purchase_reward.upload_img_description_text'\n ),\n uploadImageTitle: i18nLangOfGame.t('default_val.purchase_reward.upload_img_text'),\n keyVisionSettings: {\n bgType: bgTypes.FROALA,\n bgColor: 'rgba(0,67,216,1)',\n customImgUrl: '',\n customMobileImgUrl: '',\n defaultMainVisionType: froalaKeyVisionTypeMapping.COLOR,\n froalaEditor: '',\n isShowKeyVision: true\n }\n }\n },\n [gameTypes.POINTS_REDEEM]: {\n settingStyle: {\n bgType: bgTypes.IMG,\n bgImgUrl: POINTS_REDEEM_BACKGROUND_IMAGE_URL,\n bgMobileImgUrl: POINTS_REDEEM_BACKGROUND_IMAGE_URL,\n bgColor: '#FFF5CD',\n titleColor: black.color,\n descColor: black.color,\n contentBgColor: warning.color,\n buttonBgColor: fever500.color,\n buttonTextColor: white.color\n }\n },\n [gameTypes.MGM_SHARE]: {\n settingStyle: {\n titleColor: '#000',\n contentBorderRadius: 35,\n contentBgColor: '#f8f8f8',\n optionTextColor: '#000',\n optionBgColor: '#FFB200'\n },\n settingGameStyle: {\n // 主視覺設定\n keyVisionSettings: {\n bgType: bgTypes.FROALA,\n bgColor: '#FFB54A',\n customImgUrl: '',\n customMobileImgUrl: '',\n defaultMainVisionType: froalaKeyVisionTypeMapping.COLOR,\n froalaEditor: `


\n


\n

${i18nLangOfGame.t(\n 'label.mgm_share.froala.title'\n )}

\n
`,\n isShowKeyVision: true\n },\n // 按鈕設定\n actionButtonSettings: {\n // 設定方式 ( 1 : 預設樣式 / 2 : 自訂樣式 )\n type: 1,\n // 按鈕文案\n text: i18nLangOfGame.t('lable.mgm_share.action_button_text'),\n // 文字顏色\n textColor: '#ffffff',\n // 背景顏色\n bgColor: fever700.color,\n // 按鈕連結 ( 下載 App 註冊才會提供編輯,官網註冊直接導轉至設定的 link )\n link: '',\n // 自訂樣式圖片 Url\n customImgUrl: ''\n },\n // Froala\n froalaEditor: `

\n ${i18nLangOfGame.t(\n 'label.sign_up.unregistaer_froala.title'\n )}

\n \n
    \n
  1. ${i18nLangOfGame.t(\n 'label.mgm_share.froala.old_member_join'\n )}
  2. \n
  3. ${i18nLangOfGame.t(\n 'label.mgm_share.froala.one_account_get_one_prize'\n )}
  4. \n
  5. ${i18nLangOfGame.t(\n 'label.sign_up.unregistaer_froala.prize_term'\n )}
  6. \n
  7. ${i18nLangOfGame.t(\n 'label.sign_up.unregistaer_froala.join_term'\n )}
  8. \n
`\n }\n },\n [gameTypes.SIGN_UP]: {\n settingStyle: {\n optionBgColor: '#1B7368',\n optionTextColor: '#FFFFFF',\n titleColor: '#333',\n contentBgColor: '#FFF7EE'\n },\n settingGameStyle: {\n // 未註冊頁面 - 主視覺設定\n unregisterKeyVisionSettings: {\n bgType: bgTypes.FROALA,\n bgColor: 'rgba(228,134,38,1)',\n customImgUrl: '',\n customMobileImgUrl: '',\n defaultMainVisionType: froalaKeyVisionTypeMapping.COLOR,\n froalaEditor: `


\n


\n

${i18nLangOfGame.t(\n 'label.game_type.sign_up.key_vision_title'\n )}

\n
`,\n isShowKeyVision: true\n },\n // 未註冊頁面 - 按鈕設定\n actionButtonSettings: {\n // 設定方式 ( 1 : 預設樣式 / 2 : 自訂樣式 )\n type: 1,\n // 按鈕文案\n text: '',\n // 文字顏色\n textColor: '#FFF',\n // 背景顏色\n bgColor: '#1B7368',\n // ios 按鈕連結 ( 下載 App 註冊才會提供編輯)\n iosLink: '',\n // android 按鈕連結 ( 下載 App 註冊才會提供編輯 )\n androidLink: '',\n // 其他裝置按鈕連結 ( 下載 App 註冊才會提供編輯 )\n otherLink: '',\n // 自訂樣式圖片 Url\n customImgUrl: ''\n },\n // 未註冊頁面 - Froala\n unregisterFroalaEditor: `

\n\t${i18nLangOfGame.t('label.sign_up.unregistaer_froala.title')}

\n\n
    \n\t
  1. ${i18nLangOfGame.t(\n 'label.sign_up.unregistaer_froala.new_register_join'\n )}
  2. \n\t
  3. ${i18nLangOfGame.t(\n 'label.sign_up.unregistaer_froala.one_account_get_one_prize'\n )}\n
  4. \n\t
  5. ${i18nLangOfGame.t('label.sign_up.unregistaer_froala.prize_term')}\n
  6. \n\t
  7. ${i18nLangOfGame.t(\n 'label.sign_up.unregistaer_froala.join_term'\n )}
  8. \n
`,\n // 已註冊頁面 - 主視覺\n registeredKeyVisionSettings: {\n bgType: bgTypes.FROALA,\n bgColor: 'rgba(228,134,38,1)',\n customImgUrl: '',\n customMobileImgUrl: '',\n defaultMainVisionType: froalaKeyVisionTypeMapping.COLOR,\n froalaEditor: `


\n


\n

${i18nLangOfGame.t(\n 'label.game_type.sign_up.key_vision_title'\n )}

\n
`,\n isShowKeyVision: true\n },\n // 已註冊頁面 - Froala\n registeredFroalaEditor: `

${i18nLangOfGame.t(\n 'label.sign_up.registaered_froala.welcome_join'\n )}
${i18nLangOfGame.t(\n 'label.sign_up.registaered_froala.welcome_text'\n )}
\n

\n \n

${i18nLangOfGame.t(\n 'label.sign_up.registaered_froala.go_to_new_member_shop'\n )}

`\n }\n },\n [gameTypes.MULTI_CHALLENGE]: {\n settingStyle: {\n // 關卡獎說明文字顏色\n descColor: '#000',\n // 關卡選項的文字顏色\n buttonTextColor: '#000',\n // 關卡選項的背景顏色\n buttonBgColor: '#fff',\n // 關卡獎卡牌文字顏色\n optionTextColor: '#000',\n // 關卡獎卡牌背景顏色\n optionBgColor: '#fff',\n // 不清楚\n contentBorderRadius: 35,\n // 題組背景顏色\n contentBgColor: '#FFEBBC'\n },\n settingGameStyle: {\n // 主視覺設定\n keyVisionSettings: {\n bgType: bgTypes.FROALA,\n bgColor: zines500.color,\n customImgUrl: '',\n customMobileImgUrl: '',\n defaultMainVisionType: froalaKeyVisionTypeMapping.COLOR,\n froalaEditor: getTaskPromoFroalaText(\n i18nLangOfGame.t('default_val.multi_challenge.title')\n ),\n isShowKeyVision: true\n },\n // 按鈕設定\n actionButtonSettings: {\n // 設定方式 ( 1 : 預設樣式 / 2 : 自訂樣式 )\n type: 1,\n // 按鈕文案\n text: i18nLangOfGame.t('label.multi_challenge.action_button_text'),\n // 文字顏色\n textColor: white.color,\n // 背景顏色\n bgColor: zines500.color,\n // 自訂樣式圖片 Url\n customImgUrl: ''\n },\n // (顯示/隱藏) 闖關卡牌按鈕\n enableTaskCardButton: 1,\n // (顯示/隱藏) 闖關活動說明\n enableTaskFroalaEditor: 1,\n // (顯示/隱藏) 闖關卡牌標題\n enableTaskCardTitle: 1,\n // 闖關說明\n froalaEditor: `

\n ${i18nLangOfGame.t(\n 'default_val.multi_challenge.desc'\n )}\n

`\n },\n settingGame: {\n // 闖關限制 - 此設定可以限制參加者的闖關順序 (0: 不限制, 1: 依順序闖關)\n enableTaskJoinBySeq: 0,\n // 關卡排列方式\n taskCardPerRow: {\n desktop: 3,\n mobile: 2\n }\n // 關順順序 (PromoTask 控制)\n }\n },\n [gameTypes.ORDER_REWARD]: {\n settingStyle: {\n // 主題樣式\n descColor: '#333', // 文字 -> 說明顏色\n contentBgColor: '#FFF7EE' // 題組 -> 背景顏色\n },\n settingGame: {\n // 品項關係\n itemValidationLogicOperators: 'OR',\n // 金額門檻\n amount: {\n totalAmountLimit: 0, // 金額門檻總金額\n type: 0 //金額門檻Type - 0 : 無限制/ 1 : 購買總金額(發票總金額)/ 2 : 品項總金額\n },\n // 日期限制\n dateRange: {\n type: 0, // 0 : 關閉限制購買日期 / 1 : 啟用限制購買日期\n startDate: '', // 起始日期\n endDate: '', // 結束日期\n purchaseWithinDays: 30, // 限制購買後指定天數內登錄\n enablePurchaseWithinDays: false // 是否啟用限制購買後指定天數內登錄\n }\n },\n settingGameStyle: {\n keyVisionSettings: {\n bgType: bgTypes.FROALA,\n bgColor: 'rgba(228,134,38,1)',\n customImgUrl: '',\n customMobileImgUrl: '',\n defaultMainVisionType: froalaKeyVisionTypeMapping.COLOR,\n froalaEditor: `


\n


\n

${i18nLangOfGame.t(\n 'label.game_type.order_reward.key_vision_title'\n )}

\n
`,\n isShowKeyVision: true\n },\n froalaEditor: `

\n\t${i18nLangOfGame.t('label.froala.promo_rule')}

\n\n
    \n\t
  1. ${i18nLangOfGame.t(\n 'label.froala_editor.promo_rule.join_term'\n )}
  2. \n\t
  3. ${i18nLangOfGame.t('label.froala_editor.promo_rule.sponsor_term')}\n
  4. \n\t
  5. ${i18nLangOfGame.t('label.froala_editor.promo_rule.prize_term')}\n
  6. \n\t
  7. ${i18nLangOfGame.t(\n 'label.froala_editor.promo_rule.disclaimer'\n )}
  8. \n
`,\n actionButtonSettings: {\n // 設定方式 ( 1 : 預設樣式 / 2 : 自訂樣式 )\n type: 1,\n // 按鈕文案\n text: i18nLangOfGame.t('btn.order_reward.action_button'),\n // 文字顏色\n textColor: '#FFF',\n // 背景顏色\n bgColor: '#D52222',\n // 自訂樣式圖片 Url\n customImgUrl: ''\n },\n actionHintText: i18nLangOfGame.t('label.order_reward.hint')\n }\n },\n [gameTypes.CART_REWARD]: {\n settingStyle: {\n // 主題樣式\n contentBgColor: '#FFF7EE' // 題組 -> 背景顏色\n },\n settingGame: {\n // 品項關係\n itemValidationLogicOperators: 'OR',\n // 金額門檻\n amount: {\n totalAmountLimit: 0, // 金額門檻總金額\n type: 0 //金額門檻Type - 0 : 無限制/ 1 : 購買總金額(發票總金額)/ 2 : 品項總金額\n }\n },\n settingGameStyle: {\n keyVisionSettings: {\n bgType: bgTypes.FROALA,\n bgColor: 'rgba(228,134,38,1)',\n customImgUrl: '',\n customMobileImgUrl: '',\n defaultMainVisionType: froalaKeyVisionTypeMapping.COLOR,\n froalaEditor: `


\n


\n

${i18nLangOfGame.t(\n 'label.game_type.cart_reward.key_vision_title'\n )}

\n
`,\n isShowKeyVision: true\n },\n froalaEditor: `

\n\t${i18nLangOfGame.t('label.froala.promo_rule')}

\n\n
    \n\t
  1. ${i18nLangOfGame.t(\n 'label.froala_editor.promo_rule.join_term'\n )}
  2. \n\t
  3. ${i18nLangOfGame.t('label.froala_editor.promo_rule.sponsor_term')}\n
  4. \n\t
  5. ${i18nLangOfGame.t('label.froala_editor.promo_rule.prize_term')}\n
  6. \n\t
  7. ${i18nLangOfGame.t(\n 'label.froala_editor.promo_rule.disclaimer'\n )}
  8. \n
`,\n actionButtonSettings: {\n // 設定方式 ( 1 : 預設樣式 / 2 : 自訂樣式 )\n type: 1,\n // 按鈕文案\n text: i18nLangOfGame.t('btn.cart_reward.action_button'),\n // 文字顏色\n textColor: '#FFF',\n // 背景顏色\n bgColor: '#D52222',\n // 自訂樣式圖片 Url\n customImgUrl: ''\n }\n }\n }\n };\n\n const defaults = {\n settingStyle: {\n bgType: bgTypes.COLOR,\n bgColor: system050.color,\n contentBgType: 1,\n contentBgColor: '#fff',\n ...defaultReferralButton(false, true),\n ...defaultReferralShareCard(false, true)\n }\n };\n\n return _merge(_cloneDeep(defaults), config[gameType] || {});\n};\n","import i18n from 'i18next';\n\nexport const componentStyleModes = {\n SYSTEM: 1,\n CUSTOM: 2\n};\n\nexport const getComponentStyleModeOptions = () => [\n {\n label: i18n.t('label.game_setting.check_in.style_system'),\n value: componentStyleModes.SYSTEM\n },\n { label: i18n.t('label.game_setting.check_in.style_custom'), value: componentStyleModes.CUSTOM }\n];\n","import { useState, useCallback } from 'react';\n\nfunction useElementRefState() {\n const [element, setElement] = useState(null);\n const bindElementRef = useCallback(node => {\n if (node !== null) {\n setElement(node);\n }\n }, []);\n return [element, bindElementRef];\n}\n\nexport default useElementRefState;\n","import { useMemo } from 'react';\nimport liff from '@line/liff';\n\nexport default function useLineEnv() {\n const isInLineAppBrowser = useMemo(\n () => navigator.userAgent.toLowerCase().includes('line'),\n []\n );\n const isInLiffBrowser = useMemo(() => liff.isInClient(), []);\n\n return { isInLiffBrowser, isInLineAppBrowser };\n}\n","import React, { useContext } from 'react';\n\nlet contexts = {};\n\nexport default function contextGenerator(nameSpace, defaultVal) {\n if (contexts[nameSpace] === undefined) {\n const Context = React.createContext(defaultVal);\n contexts[nameSpace] = {\n Provider: ({ value, children }) => (\n {children}\n ),\n useContextValue: () => useContext(Context)\n };\n }\n return contexts[nameSpace];\n}\n\nexport const nameSpaces = {\n CLIENT_PROMO_JOIN_CHECKER: 'CLIENT_PROMO_JOIN_CHECKER',\n EDITOR_GLOBAL_IMG_CROPPER: 'EDITOR_GLOBAL_IMG_CROPPER',\n EDITOR_PRIMARY_PROMO_DATA: 'EDITOR_PRIMARY_PROMO_DATA'\n};\n"],"names":["processed_type","PRIZE_TYPE","GAME_TYPE","DEDUCTION","useGetPartnerOrSponsorPointIcon","type","data","promoType","useSelector","s","promo","redeemPointType","settingPromo","pointIconUrl","partnerPointIconUrl","partner","sponsorPointIconUrl","sponsor","settingPointSystems","qualifyWithdrawUuid","gameTypes","POINTS_REDEEM","bindingPointPoolKeys","MEMBER_POINT","Boolean","prizeTypes","POINT","useGetPromoPointPoolInfo","pointPoolInfos","pointSystem","useCallback","arguments","length","undefined","usePromoSettingThemeStyle","useDefault","settingTheme","useMemo","dts","bgColor","btnColor","textColor","contentBgColor","ROW_ITEMS_MAXIMUM_PC","ROW_ITEMS_MAXIMUM_MOBILE","RATIO_SQUARE","RATIO_RECT","ratioValueMapping","PREVIEW_MINIMUM_TIME_LIMIT","PREVIEW_MAXIMUM_TIME_LIMIT","FAILURE_MAXIMUM_TIMES_LIMIT","FAILURE_MINIMUM_TIMES_LIMIT","MAXIMUM_MINUTES_TIME_LIMIT","MAXIMUM_SECONDS_TIME_LIMIT","MAXIMUM_TIME_LIMIT","MINIMUM_TIME_LIMIT","RECORD_SORT_BY_CREATED_AT","RECORD_SORT_BY_TIME_SPENT","UNLIMIT_VALUE","CAN_REPLAY","defaultGameSetting","IS_EDITOR_MODE","rowItemsPC","rowItemsMobile","cardBack","ratio","previewTimeLimit","failureTimesLimit","timeLimit","playOnce","recordSort","COVER_PAGE","isShowButton","isShowTitle","title","i18nLangOfGame","t","bgImage","SUCCESS_PAGE","FAIL_PAGE","GAME_PAGE","fontScaleTextAreaProps","maxFontSize","minFontSize","rowLimit","style","mobileFontScaleTextAreaProps","pageTitleBlockAspectRatio","defaultStyleSetting","titleColor","buttonTextColor","buttonBgColor","pages","GAME_EDITOR_WIDTH","KEY_VISION_HEIGHT","PICK_THE_PRIZE_BACKGROUND_IMAGE_PC_URL","PICK_THE_PRIZE_BACKGROUND_IMAGE_MB_URL","PRIZE_STATE","SELECTABLE","SELECTED","RECEIVE","RUNOUT","LOCKED","NO_DATA","GAME_STATE","MAXIMUM","PENDING","WAITING","COMPLETE","GAME_TRANSITIONS","ENTER","SUBMIT","VERIFY","PLAYED","SELECT","CANCEL","CHECK","PRIZE_TRANSITIONS","FETCH","INIT","DEFAULT_GAME_STATE","state","context","restLimitation","DEFAULT_PRIZE_INFO","key","i18n","caption","imageSrc","DEFAULT_PRIZE_STATUS","isLimited","restQuantity","totalQuantity","selectedPrizes","DEFAULT_PRIZE_INFO_LIST","Array","fill","reduce","result","current","index","DEFAULT_PRIZE_STATUS_LIST","_path","_path2","_extends","Object","assign","bind","target","i","source","prototype","hasOwnProperty","call","apply","this","SvgPointSystemLogo","_ref","svgRef","titleId","props","width","height","viewBox","xmlns","ref","id","className","d","ForwardRef","PointIcon","pointIconStyle","themeStyle","size","customImgUrl","isUseCustomImg","customSystemIconUrl","___EmotionJSX","src","css","customImgStyle","alt","PointLogoSVG","_css","customThemeStyle","iconColor","GAME_EDITOR_DESIGN_WIDTH","POINTS_REDEEM_BACKGROUND_IMAGE_URL","UNREDEEMABLE","REDEEMABLE","IS_LOCKED","IS_RUNOUT","IS_HIDDEN","prizeQuantityLimitedTypes","UNLIMITED","isVisible","prizeVisibleTypes","VISIBLE","redeemPoints","localeMap","langTypes","ZH_TW","zhTwLocale","ZH_CN","zhCNLocale","ZH_HK","zhHKLocale","EN_US","enLocale","JA_JP","jaLocale","PT_BR","ptLocale","ES_419","esLocale","ProviderMuiPickersUtils","children","lang","locale","language","MuiPickersUtilsProvider","utils","DayjsUtils","InitialStep","PlayingStep","CUSTOMIZE_IMAGE_ICON_MODE","CUSTOMIZE_IMAGE_MODE","CUSTOMIZE_IMAGE_ICON_MODE_TAB","CUSTOMIZE_IMAGE_MODE_TAB","VISION_LOGO_BTN_MODE","VISION_IMAGE_MODE","VISION_LOGO_BTN_MODE_TAB","VISION_IMAGE_MODE_TAB","BTN_CUSTOMIZE_IMAGE_MODE","BTN_WHITEBOARD_MODE","BTN_WHITEBOARD_MODE_TAB","BTN_CUSTOMIZE_IMAGE_MODE_TAB","FOCUS_VISION_LOGO","FOCUS_VISION_BTN","FOCUS_VISION_IMAGE","FOCUS_RED_ENVELOPE_IMAGE_ICON","FOCUS_RED_ENVELOPE_IMAGE","FOCUS_DECORATE_IMAGES","openEffectImg","redEvelopeImg","redEvelopeBackgroundImg","redEvelopeMbBackgroundImg","generateInitialSetting","redEnvelopeSetting","customImage","imageIcon","mode","initialDecorateImageSetting","show","decorateImageSetting","images","visionSetting","visionImage","mainImage","showMainImage","btnMode","showBtn","btnText","btnTextColor","btnBgColor","btnImage","REEL_QUANTITY","REEL_INIT_DISPLAY_BLOCK_QUANTITY","REEL_LENGTH","PRIZE_POSITION","SLOT_WINDOW_HEIGHT","SLOT_WIDTH","GAP_SIZE","BLOCK_SIZE","slotsBackgroundImg","slotsMbBackgroundImg","systemIcons","defaultKeyVisualConfig","from","_","concat","imgUrl","defaultStartButtonConfig","text","color","colorBg","defaultHandleConfig","colorGrip","colorBar","colorBase","isHandleShow","defaultWindowConfig","colorBorder1","colorBorder2","colorNeons","colorReelBg","hueNeons","isNeonAnimated","defaultDecorationsConfig","BORDER_PREVIEW","KEYVISUAL","WINDOW","START_BUTTON","getCoverI18NKeyByGame","gameType","QUIZ","btn","SIGN_FORM","VOTE","PSYCHO_QUIZ","SURVEY","separator","getCoverPageContent","subTitle","paragraph","getInvoiceTitleTextboxContent","getDefaultFroalaText","getUgcFroalaText","getTaskPromoFroalaText","black","defaultThemeSetting","system900","votingDefaultSetting","enableReCaptcha","settingGame","entryVotes","defaultReferralShareCard","isFallbackVersion","isEditor","i18next","referralShareCard","enableLineLiff","isShowImage","imageUrl","invitationTitle","invitationDesc","buttonText","themeTextColor","themeBgColor","defaultReferralButton","referralButton","promo500","getPromoMgmMissionDefaultSettingValue","SIGN_UP","settingMGMReferral","enableReferralCodeRequired","referralCodeCard","description","getPromoDefaultSettingValue","relatedWith","config","settingStyle","optionBgColor","system200","optionTextColor","descColor","buttonSize","contentAlign","coverPageContent","changeQuestionOn","maxFailure","voteRateDisplayMethod","resultOptionSortMethod","RED_ENVELOPE_RAIN","bgType","bgTypes","IMG","bgImgUrl","bgMobileImgUrl","system050","INVOICE","enableInvoiceDetailRead","enableInvoiceRealtimeValidation","enableInvoiceImgUpload","validation","keywords","combinations","items","logicOperators","totalCountLimit","totalAmountLimit","sellers","totalCountLimitType","totalAmountLimitType","PHOTO_UPLOAD","CONTEST_ADMIN_UPLOAD","guidance","guidanceNote","copyrightClause","enableImageTitleInput","enableImageDescriptionInput","enableUgcAuthorNameInput","mediaLibrariesSort","ugcGameSetting","galleryGameSetting","CHECK_IN","contentBorderRadius","value","enable","mainViewImg","signInBtn","componentStyleModes","SYSTEM","backgroundColor","signInSlot","colorSigned","colorUnSigned","quantityPerRow","dayCount","CONTEST_PHOTO_UPLOAD","PHOTO_FRAME_COMPOSITE","enableFixedFrameHeight","SLOTS","MEMORY_MATCH","memoryMatchDefaultStyleSetting","memoryMatchDefaultGameSetting","PICK_THE_PRIZE","COMMENT","enableFixedAspectRatio","enableParticipantName","CHALLENGE_PHOTO_FRAME_COMPOSITE","promo100","enableTaskCardTitle","enableTaskCardButton","enableTaskJoinBySeq","taskCardPerRow","desktop","mobile","CONTEST_PHOTO_FRAME_COMPOSITE","VIDEO_UPLOAD","enableUgcTitleInput","enableUgcDescriptionInput","CONTEST_VIDEO_UPLOAD","INSTAGRAM","layoutBgColor","contentTextColor","buttonBorderColor","titleTextColor","titleBgColor","html","enablePrivateReply","privateReplyTitle","headerText","instruction","instagramPostReply","instagramPrivateReplyMessage","entryExistIntroMsg","entryExistTemplateCardMsg","template_type","elements","image_url","subtitle","default_action","url","webview_height_ratio","buttons","entryNotExistIntroMsg","entryNotExistTemplateCardMsg","quickReplyMsg","quickReplyOption","PURCHASE_REWARD","zines500","actionButtonText","itemValidationLogicOperators","buyers","addresses","names","taxIdNumbers","amount","dateRange","startDate","endDate","settingGameStyle","consumptionDateDescription","consumptionDateTitle","invoiceNumberDescription","invoiceNumberTitle","randomNumberDescription","randomNumberTitle","receiptDescription","receiptTitle","carrierNumberTitle","carrierNumberDescription","carrierCodeTitle","carrierCodeDescription","uploadImageDescription","uploadImageTitle","keyVisionSettings","FROALA","customMobileImgUrl","defaultMainVisionType","froalaKeyVisionTypeMapping","COLOR","froalaEditor","isShowKeyVision","warning","fever500","white","MGM_SHARE","actionButtonSettings","fever700","link","unregisterKeyVisionSettings","iosLink","androidLink","otherLink","unregisterFroalaEditor","registeredKeyVisionSettings","registeredFroalaEditor","MULTI_CHALLENGE","enableTaskFroalaEditor","ORDER_REWARD","purchaseWithinDays","enablePurchaseWithinDays","actionHintText","CART_REWARD","defaults","contentBgType","_merge","_cloneDeep","CUSTOM","getComponentStyleModeOptions","label","element","setElement","useState","node","useLineEnv","isInLineAppBrowser","navigator","userAgent","toLowerCase","includes","isInLiffBrowser","liff","isInClient","contexts","contextGenerator","nameSpace","defaultVal","Context","React","Provider","useContextValue","useContext","nameSpaces","CLIENT_PROMO_JOIN_CHECKER","EDITOR_GLOBAL_IMG_CROPPER","EDITOR_PRIMARY_PROMO_DATA"],"sourceRoot":""}