60p82u21t54k 0.3.4 → 0.3.5
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/60p82u21t54k.es.js +6 -137
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/api/api.d.ts +1 -0
- package/dist/api/type.d.ts +1 -0
- package/dist/model/addBankCard/getAddBankCardResponse.d.ts +1 -0
- package/dist/model/addBankCard/type.d.ts +1 -0
- package/dist/model/agTransferCreditReport/getAgTransferCreditReportResponse.d.ts +1 -0
- package/dist/model/announcement/getAnnouncementResponse.d.ts +1 -0
- package/dist/model/applyGoldEgg/getApplyGoldEggResponse.d.ts +1 -0
- package/dist/model/applyPromo/getApplyPromoResponse.d.ts +1 -0
- package/dist/model/applyRedPacket/getApplyRedPacketResponse.d.ts +1 -0
- package/dist/model/applyRedPacket/type.d.ts +1 -0
- package/dist/model/applyReliefFund/getApplyReliefFundResponse.d.ts +1 -0
- package/dist/model/applySignIn/getApplySignInResponse.d.ts +1 -0
- package/dist/model/applyVipBonus/getApplyVipBonusResponse.d.ts +1 -0
- package/dist/model/applyWeekCard/getApplyWeekCardResponse.d.ts +1 -0
- package/dist/model/autoRegister/autoRegisterApi.d.ts +1 -0
- package/dist/model/betReport/getBetReportResponse.d.ts +1 -0
- package/dist/model/changePassword/getChangePasswordResponse.d.ts +1 -0
- package/dist/model/changeWithdrawalCode/getChangeWithdrawalCodeResponse.d.ts +1 -0
- package/dist/model/changeWithdrawalCode/type.d.ts +1 -0
- package/dist/model/checkGoldEggToken/getCheckGoldEggTokenResponse.d.ts +1 -0
- package/dist/model/checkGoldEggValidate/getCheckGoldEggValidateResponse.d.ts +1 -0
- package/dist/model/checkRedPacketToken/getCheckRedPacketTokenResponse.d.ts +1 -0
- package/dist/model/checkRedPacketValidate/getCheckRedPacketValidateResponse.d.ts +1 -0
- package/dist/model/checkTransferCredit/getCheckTransferCreditResponse.d.ts +1 -0
- package/dist/model/checkTransferCredit/type.d.ts +1 -0
- package/dist/model/claimIncentiveRebate/getClaimIncentiveRebateResponse.d.ts +1 -0
- package/dist/model/cmsList/getCmsListResponse.d.ts +1 -0
- package/dist/model/commissionWithdraw/getCommissionWithdrawResponse.d.ts +1 -0
- package/dist/model/commissionWithdraw/type.d.ts +1 -0
- package/dist/model/deposit/getDepositResponse.d.ts +1 -0
- package/dist/model/fishGameList/getFishGameListResponse.d.ts +1 -0
- package/dist/model/fishGameList/modifyFishGameListRequest.d.ts +1 -0
- package/dist/model/fishGameList/modifyFishGameListResponse.d.ts +1 -0
- package/dist/model/friendList/getFriendListResponse.d.ts +1 -0
- package/dist/model/friendListEdit/getFriendListEditResponse.d.ts +1 -0
- package/dist/model/friendListEdit/type.d.ts +1 -0
- package/dist/model/gameList/getGameListResponse.d.ts +1 -0
- package/dist/model/gameList/modifyGameListRequest.d.ts +1 -0
- package/dist/model/gameList/modifyGameListResponse.d.ts +1 -0
- package/dist/model/getASCMatchCount/getGetASCMatchCountResponse.d.ts +1 -0
- package/dist/model/getAccumulateDepositClaim/getGetAccumulateDepositClaimResponse.d.ts +1 -0
- package/dist/model/getAccumulateDepositData/getGetAccumulateDepositDataResponse.d.ts +1 -0
- package/dist/model/getActivePP/getGetActivePPResponse.d.ts +1 -0
- package/dist/model/getActiveProduct/getGetActiveProductResponse.d.ts +1 -0
- package/dist/model/getBankCardData/getGetBankCardDataResponse.d.ts +1 -0
- package/dist/model/getCompany/getGetCompanyResponse.d.ts +1 -0
- package/dist/model/getCompany/modifyGetCompanyResponse.d.ts +1 -0
- package/dist/model/getCountry/getGetCountryResponse.d.ts +1 -0
- package/dist/model/getCountryMobile/getGetCountryMobileResponse.d.ts +1 -0
- package/dist/model/getCryptoAddress/getGetCryptoAddressResponse.d.ts +1 -0
- package/dist/model/getCryptoList/getGetCryptoListResponse.d.ts +1 -0
- package/dist/model/getDepositPromotion/getGetDepositPromotionResponse.d.ts +1 -0
- package/dist/model/getEventList/getGetEventListResponse.d.ts +1 -0
- package/dist/model/getEventToken/getGetEventTokenReponse.d.ts +1 -0
- package/dist/model/getExtraGame/getGetExtraGameResponse.d.ts +1 -0
- package/dist/model/getFavouriteGame/getGetFavouriteGameResponse.d.ts +1 -0
- package/dist/model/getFavouriteGame/modifyGetFavouriteGameRequest.d.ts +1 -0
- package/dist/model/getFavouriteGame/modifyGetFavouriteGameResponse.d.ts +1 -0
- package/dist/model/getFourDimensionData/getGetFourDimensionDataResponse.d.ts +1 -0
- package/dist/model/getFourDimensionData/modifyGetFourDimensionDataRequest.d.ts +1 -0
- package/dist/model/getGoldEggData/getGoldEggDataResponse.d.ts +1 -0
- package/dist/model/getImage/getGetImageResponse.d.ts +1 -0
- package/dist/model/getIncentiveData/getGetIncentiveDataResponse.d.ts +1 -0
- package/dist/model/getIncentiveData/modifyGetIncentiveDataRequest.d.ts +1 -0
- package/dist/model/getIncentiveData/modifyGetIncentiveDataResponse.d.ts +1 -0
- package/dist/model/getIncentiveRebate/getGetIncentiveRebateResponse.d.ts +1 -0
- package/dist/model/getInviteRewardClaim/getGetInviteRewardClaimResponse.d.ts +1 -0
- package/dist/model/getInviteRewardClaim/type.d.ts +1 -0
- package/dist/model/getInviteRewardData/getGetInviteRewardDataResponse.d.ts +1 -0
- package/dist/model/getInviteRewardReport/getGetInviteRewardReportResponse.d.ts +1 -0
- package/dist/model/getInviteRewardSetting/getGetInviteRewardSettingResponse.d.ts +1 -0
- package/dist/model/getLanguageSetting/getGetLanguageSettingResponse.d.ts +1 -0
- package/dist/model/getMaintenanceMode/getMaintenanceModeApi.d.ts +1 -0
- package/dist/model/getMissionClaim/getGetMissionClaimResponse.d.ts +1 -0
- package/dist/model/getMissionData/getGetMissionDataResponse.d.ts +1 -0
- package/dist/model/getNewbieMissionClaim/getGetNewbieMissionClaimResponse.d.ts +1 -0
- package/dist/model/getNewbieMissionData/getGetNewbieMissionDataResponse.d.ts +1 -0
- package/dist/model/getPlatformTurnoverRate/getGetPlatformTurnoverRateResponse.d.ts +1 -0
- package/dist/model/getPopoutItem/getGetPopoutItemResponse.d.ts +1 -0
- package/dist/model/getReliefFundData/getGetReliefFundDataResponse.d.ts +1 -0
- package/dist/model/getReliefFundReport/getGetReliefFundReportResponse.d.ts +1 -0
- package/dist/model/getRewardReferral/getGetRewardReferralResponse.d.ts +1 -0
- package/dist/model/getRewardReferral/modifyGetRewardReferralRequest.d.ts +1 -0
- package/dist/model/getRewardReferral/modifyGetRewardReferralResponse.d.ts +1 -0
- package/dist/model/getRewardReferral/type.d.ts +1 -0
- package/dist/model/getSetting/getGetSettingResponse.d.ts +1 -0
- package/dist/model/getTopUpRewardClaim/getGetTopUpRewardClaimResponse.d.ts +1 -0
- package/dist/model/getTopUpRewardClaim/type.d.ts +1 -0
- package/dist/model/getTopUpRewardSetting/getGetTopUpRewardSettingResponse.d.ts +1 -0
- package/dist/model/getTopupRewardData/getGetTopupRewardDataResponse.d.ts +1 -0
- package/dist/model/getTopupRewardReport/getGetTopupRewardReportResponse.d.ts +1 -0
- package/dist/model/getTurnOverRewardClaim/getGetTurnOverRewardClaimResponse.d.ts +1 -0
- package/dist/model/getTurnOverRewardClaim/type.d.ts +1 -0
- package/dist/model/getTurnOverRewardData/getGetTurnOverRewardDataResponse.d.ts +1 -0
- package/dist/model/getTurnOverRewardReport/getGetTurnOverRewardReportResponse.d.ts +1 -0
- package/dist/model/getTurnOverRewardSetting/getGetTurnOverRewardSettingResponse.d.ts +1 -0
- package/dist/model/getTurnOverRewardSettingMult/getGetTurnOverRewardSettingMultResponse.d.ts +1 -0
- package/dist/model/getTwoFactorAuthenticate/getGetTwoFactorAuthenticateResponse.d.ts +1 -0
- package/dist/model/getUserDeviceList/getGetUserDeviceListResponse.d.ts +1 -0
- package/dist/model/getUserProfile/getGetUserProfileResponse.d.ts +3 -2
- package/dist/model/getUserProfile/getGetUserProfileResponse.d.ts.map +1 -1
- package/dist/model/getUsernameByRefer/getGetUsernameByReferResponse.d.ts +1 -0
- package/dist/model/getValidate/getGetValidateResponse.d.ts +1 -0
- package/dist/model/getVerifyPromo/getGetVerifyPromoResponse.d.ts +1 -0
- package/dist/model/getWeekCardAllData/getGetWeekCardAllDataResponse.d.ts +1 -0
- package/dist/model/getWeekCardClaim/getGetWeekCardClaimResponse.d.ts +1 -0
- package/dist/model/getWeekCardData/getGetWeekCardDataResponse.d.ts +1 -0
- package/dist/model/getWheelData/getGetWheelDataResponse.d.ts +1 -0
- package/dist/model/getWheelReport/getGetWheelReportResponse.d.ts +1 -0
- package/dist/model/getWheelTicket/getGetWheelTicketResponse.d.ts +1 -0
- package/dist/model/interestIndex/getInterestIndexResponse.d.ts +1 -0
- package/dist/model/interestTransactionList/getInterestTransactionListResponse.d.ts +1 -0
- package/dist/model/interestTransferIn/getInterestTransferInResponse.d.ts +1 -0
- package/dist/model/interestTransferOut/getInterestTransferOutResponse.d.ts +1 -0
- package/dist/model/interestWalletInfo/getInterestWalletInfoResponse.d.ts +1 -0
- package/dist/model/jackpotData/jackpotDataApi.d.ts +1 -0
- package/dist/model/loadMatch/loadMatchApi.d.ts +1 -0
- package/dist/model/login/loginApi.d.ts +1 -0
- package/dist/model/logout/logoutApi.d.ts +1 -0
- package/dist/model/mailBox/getMailBoxResponse.d.ts +1 -0
- package/dist/model/mainWallet/getMainWalletResponse.d.ts +1 -0
- package/dist/model/paymentsProvider/getPaymentsProviderResponse.d.ts +1 -0
- package/dist/model/paymentsProvider/modifyPaymentsProviderRequest.d.ts +1 -0
- package/dist/model/paymentsProvider/modifyPaymentsProviderResponse.d.ts +1 -0
- package/dist/model/playGame/getPlayGameResponse.d.ts +1 -0
- package/dist/model/promotion/getPromotionResponse.d.ts +1 -0
- package/dist/model/readMail/getReadMailResponse.d.ts +1 -0
- package/dist/model/rebateRefundSetting/getRebateRefundSettingResponse.d.ts +1 -0
- package/dist/model/referralMemberProfile/getReferralMemberProfileResponse.d.ts +1 -0
- package/dist/model/referralProfile/getReferralProfileResponse.d.ts +1 -0
- package/dist/model/registerAction/getRegisterActionResponse.d.ts +1 -0
- package/dist/model/registerForm/getRegisterFormResponse.d.ts +1 -0
- package/dist/model/rename/renameApi.d.ts +1 -0
- package/dist/model/requestForgetPassword/getRequestForgetPasswordResponse.d.ts +1 -0
- package/dist/model/requestForgetPassword/type.d.ts +1 -0
- package/dist/model/requestForgetUsername/getRequestForgetUsernameResponse.d.ts +1 -0
- package/dist/model/requestForgetUsername/type.d.ts +1 -0
- package/dist/model/requestTacCode/getRequestTacCodeResponse.d.ts +1 -0
- package/dist/model/requestTacCode/type.d.ts +1 -0
- package/dist/model/requestTransferMoney/getRequestTransferMoneyResponse.d.ts +1 -0
- package/dist/model/requestTransferMoney/type.d.ts +1 -0
- package/dist/model/requestUpdateMobileTacCode/getRequestUpdateMobileTacCodeResponse.d.ts +1 -0
- package/dist/model/requestWithdrawTac/getRequestWithdrawTacResponse.d.ts +1 -0
- package/dist/model/requestWithdrawTac/type.d.ts +1 -0
- package/dist/model/requestWithdrawalCode/getRequestWithdrawalCodeResponse.d.ts +1 -0
- package/dist/model/requestWithdrawalCode/type.d.ts +1 -0
- package/dist/model/searchByDate/getSearchByDateResponse.d.ts +1 -0
- package/dist/model/searchByDate/modifySearchByDateRequest.d.ts +1 -0
- package/dist/model/searchGameByName/getSearchGameByNameResponse.d.ts +1 -0
- package/dist/model/searchGameByName/modifySearchGameByNameRequest.d.ts +1 -0
- package/dist/model/searchGameByName/modifySearchGameByNameResponse.d.ts +1 -0
- package/dist/model/searchHot/getSearchHotResponse.d.ts +1 -0
- package/dist/model/searchHot/modifySearchHotRequest.d.ts +1 -0
- package/dist/model/searchNumberHistory/getSearchNumberHistoryResponse.d.ts +1 -0
- package/dist/model/searchNumberHistory/modifySearchNumberHistoryRequest.d.ts +1 -0
- package/dist/model/searchResultDate/getSearchResultDateResponse.d.ts +1 -0
- package/dist/model/setLocale/setLocaleApi.d.ts +1 -0
- package/dist/model/signInRecord/getSignInRecordResponse.d.ts +1 -0
- package/dist/model/signInViewInfo/getSignInViewInfoResponse.d.ts +1 -0
- package/dist/model/slotGameList/getSlotGameListResponse.d.ts +1 -0
- package/dist/model/spinWheel/getSpinWheelResponse.d.ts +1 -0
- package/dist/model/submitCryptoAccount/getSubmitCryptoAccountResponse.d.ts +1 -0
- package/dist/model/submitCryptoAccount/type.d.ts +1 -0
- package/dist/model/submitForgetPassword/getSubmitForgetPasswordResponse.d.ts +1 -0
- package/dist/model/submitForgetPassword/type.d.ts +1 -0
- package/dist/model/submitForgetUsername/getSubmitForgetUsernameResponse.d.ts +1 -0
- package/dist/model/submitGiftCode/getSubmitGiftCodeResponse.d.ts +1 -0
- package/dist/model/submitGiftCode/type.d.ts +1 -0
- package/dist/model/submitTransferMoney/getSubmitTransferMoneyResponse.d.ts +1 -0
- package/dist/model/submitTransferMoney/type.d.ts +1 -0
- package/dist/model/submitTwoFactorAuthenticate/getSubmitTwoFactorAuthenticateResponse.d.ts +1 -0
- package/dist/model/submitTwoFactorAuthenticate/type.d.ts +1 -0
- package/dist/model/submitUpdateMobileTacCode/getSubmitUpdateMobileTacCodeResponse.d.ts +1 -0
- package/dist/model/submitUpdateMobileTacCode/type.d.ts +1 -0
- package/dist/model/submitValidate/getSubmitValidateResponse.d.ts +1 -0
- package/dist/model/submitWithdrawalAlipay/getSubmitWithdrawalAlipayResponse.d.ts +1 -0
- package/dist/model/submitWithdrawalAlipay/type.d.ts +1 -0
- package/dist/model/submitWithdrawalCode/getSubmitWithdrawalCodeResponse.d.ts +1 -0
- package/dist/model/submitWithdrawalCode/type.d.ts +1 -0
- package/dist/model/telegramLogin/telegramLoginApi.d.ts +1 -0
- package/dist/model/transactionReport/getTransactionReportResponse.d.ts +1 -0
- package/dist/model/transfer/getTransferResponse.d.ts +1 -0
- package/dist/model/transfer/type.d.ts +1 -0
- package/dist/model/transferProcess/getTransferProcessResponse.d.ts +1 -0
- package/dist/model/transferProcess/type.d.ts +1 -0
- package/dist/model/transferReport/getTransferReportResponse.d.ts +1 -0
- package/dist/model/transferSetting/getTransferSettingResponse.d.ts +1 -0
- package/dist/model/transferToMain/getTransferToMainResponse.d.ts +1 -0
- package/dist/model/transferToMain/type.d.ts +1 -0
- package/dist/model/unbindUserDevice/getUnbindUserDeviceResponse.d.ts +1 -0
- package/dist/model/unbindUserDevice/type.d.ts +1 -0
- package/dist/model/upcomingMatches/getUpcomingMatchesResponse.d.ts +1 -0
- package/dist/model/updateDeviceToken/getUpdateDeviceTokenResponse.d.ts +1 -0
- package/dist/model/updateFavouriteGame/getUpdateFavouriteGameResponse.d.ts +1 -0
- package/dist/model/updateFavouriteGame/type.d.ts +1 -0
- package/dist/model/updateProfilePicture/getUpdateProfilePictureResponse.d.ts +1 -0
- package/dist/model/updateProfilePicture/type.d.ts +1 -0
- package/dist/model/vipBonus/getVipBonusResponse.d.ts +1 -0
- package/dist/model/vipFieldStatus/getVipFieldStatusResponse.d.ts +1 -0
- package/dist/model/vipList/getVipListResponse.d.ts +1 -0
- package/dist/model/vipList/modifyVipListRequest.d.ts +1 -0
- package/dist/model/vipList/modifyVipListResponse.d.ts +1 -0
- package/dist/model/vipList/type.d.ts +1 -0
- package/dist/model/vipStatus/getVipStatusResponse.d.ts +1 -0
- package/dist/model/wallet/getWalletResponse.d.ts +1 -0
- package/dist/model/withdraw/getWithdrawResponse.d.ts +1 -0
- package/dist/model/withdraw/type.d.ts +1 -0
- package/dist/model/withdrawalGet/getWithdrawalGetResponse.d.ts +1 -0
- package/dist/util/baseResponse/method.d.ts +1 -0
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -670,6 +670,8 @@ const B = {
|
|
|
670
670
|
return w(r, a.length);
|
|
671
671
|
}
|
|
672
672
|
}, X = {
|
|
673
|
+
am: "am",
|
|
674
|
+
pm: "pm",
|
|
673
675
|
midnight: "midnight",
|
|
674
676
|
noon: "noon",
|
|
675
677
|
morning: "morning",
|
|
@@ -681,15 +683,12 @@ const B = {
|
|
|
681
683
|
G: function(e, a, t) {
|
|
682
684
|
const n = e.getFullYear() > 0 ? 1 : 0;
|
|
683
685
|
switch (a) {
|
|
684
|
-
// AD, BC
|
|
685
686
|
case "G":
|
|
686
687
|
case "GG":
|
|
687
688
|
case "GGG":
|
|
688
689
|
return t.era(n, { width: "abbreviated" });
|
|
689
|
-
// A, B
|
|
690
690
|
case "GGGGG":
|
|
691
691
|
return t.era(n, { width: "narrow" });
|
|
692
|
-
// Anno Domini, Before Christ
|
|
693
692
|
case "GGGG":
|
|
694
693
|
default:
|
|
695
694
|
return t.era(n, { width: "wide" });
|
|
@@ -734,28 +733,22 @@ const B = {
|
|
|
734
733
|
Q: function(e, a, t) {
|
|
735
734
|
const n = Math.ceil((e.getMonth() + 1) / 3);
|
|
736
735
|
switch (a) {
|
|
737
|
-
// 1, 2, 3, 4
|
|
738
736
|
case "Q":
|
|
739
737
|
return String(n);
|
|
740
|
-
// 01, 02, 03, 04
|
|
741
738
|
case "QQ":
|
|
742
739
|
return w(n, 2);
|
|
743
|
-
// 1st, 2nd, 3rd, 4th
|
|
744
740
|
case "Qo":
|
|
745
741
|
return t.ordinalNumber(n, { unit: "quarter" });
|
|
746
|
-
// Q1, Q2, Q3, Q4
|
|
747
742
|
case "QQQ":
|
|
748
743
|
return t.quarter(n, {
|
|
749
744
|
width: "abbreviated",
|
|
750
745
|
context: "formatting"
|
|
751
746
|
});
|
|
752
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
753
747
|
case "QQQQQ":
|
|
754
748
|
return t.quarter(n, {
|
|
755
749
|
width: "narrow",
|
|
756
750
|
context: "formatting"
|
|
757
751
|
});
|
|
758
|
-
// 1st quarter, 2nd quarter, ...
|
|
759
752
|
case "QQQQ":
|
|
760
753
|
default:
|
|
761
754
|
return t.quarter(n, {
|
|
@@ -768,28 +761,22 @@ const B = {
|
|
|
768
761
|
q: function(e, a, t) {
|
|
769
762
|
const n = Math.ceil((e.getMonth() + 1) / 3);
|
|
770
763
|
switch (a) {
|
|
771
|
-
// 1, 2, 3, 4
|
|
772
764
|
case "q":
|
|
773
765
|
return String(n);
|
|
774
|
-
// 01, 02, 03, 04
|
|
775
766
|
case "qq":
|
|
776
767
|
return w(n, 2);
|
|
777
|
-
// 1st, 2nd, 3rd, 4th
|
|
778
768
|
case "qo":
|
|
779
769
|
return t.ordinalNumber(n, { unit: "quarter" });
|
|
780
|
-
// Q1, Q2, Q3, Q4
|
|
781
770
|
case "qqq":
|
|
782
771
|
return t.quarter(n, {
|
|
783
772
|
width: "abbreviated",
|
|
784
773
|
context: "standalone"
|
|
785
774
|
});
|
|
786
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
787
775
|
case "qqqqq":
|
|
788
776
|
return t.quarter(n, {
|
|
789
777
|
width: "narrow",
|
|
790
778
|
context: "standalone"
|
|
791
779
|
});
|
|
792
|
-
// 1st quarter, 2nd quarter, ...
|
|
793
780
|
case "qqqq":
|
|
794
781
|
default:
|
|
795
782
|
return t.quarter(n, {
|
|
@@ -805,22 +792,18 @@ const B = {
|
|
|
805
792
|
case "M":
|
|
806
793
|
case "MM":
|
|
807
794
|
return B.M(e, a);
|
|
808
|
-
// 1st, 2nd, ..., 12th
|
|
809
795
|
case "Mo":
|
|
810
796
|
return t.ordinalNumber(n + 1, { unit: "month" });
|
|
811
|
-
// Jan, Feb, ..., Dec
|
|
812
797
|
case "MMM":
|
|
813
798
|
return t.month(n, {
|
|
814
799
|
width: "abbreviated",
|
|
815
800
|
context: "formatting"
|
|
816
801
|
});
|
|
817
|
-
// J, F, ..., D
|
|
818
802
|
case "MMMMM":
|
|
819
803
|
return t.month(n, {
|
|
820
804
|
width: "narrow",
|
|
821
805
|
context: "formatting"
|
|
822
806
|
});
|
|
823
|
-
// January, February, ..., December
|
|
824
807
|
case "MMMM":
|
|
825
808
|
default:
|
|
826
809
|
return t.month(n, { width: "wide", context: "formatting" });
|
|
@@ -830,28 +813,22 @@ const B = {
|
|
|
830
813
|
L: function(e, a, t) {
|
|
831
814
|
const n = e.getMonth();
|
|
832
815
|
switch (a) {
|
|
833
|
-
// 1, 2, ..., 12
|
|
834
816
|
case "L":
|
|
835
817
|
return String(n + 1);
|
|
836
|
-
// 01, 02, ..., 12
|
|
837
818
|
case "LL":
|
|
838
819
|
return w(n + 1, 2);
|
|
839
|
-
// 1st, 2nd, ..., 12th
|
|
840
820
|
case "Lo":
|
|
841
821
|
return t.ordinalNumber(n + 1, { unit: "month" });
|
|
842
|
-
// Jan, Feb, ..., Dec
|
|
843
822
|
case "LLL":
|
|
844
823
|
return t.month(n, {
|
|
845
824
|
width: "abbreviated",
|
|
846
825
|
context: "standalone"
|
|
847
826
|
});
|
|
848
|
-
// J, F, ..., D
|
|
849
827
|
case "LLLLL":
|
|
850
828
|
return t.month(n, {
|
|
851
829
|
width: "narrow",
|
|
852
830
|
context: "standalone"
|
|
853
831
|
});
|
|
854
|
-
// January, February, ..., December
|
|
855
832
|
case "LLLL":
|
|
856
833
|
default:
|
|
857
834
|
return t.month(n, { width: "wide", context: "standalone" });
|
|
@@ -880,7 +857,6 @@ const B = {
|
|
|
880
857
|
E: function(e, a, t) {
|
|
881
858
|
const n = e.getDay();
|
|
882
859
|
switch (a) {
|
|
883
|
-
// Tue
|
|
884
860
|
case "E":
|
|
885
861
|
case "EE":
|
|
886
862
|
case "EEE":
|
|
@@ -888,19 +864,16 @@ const B = {
|
|
|
888
864
|
width: "abbreviated",
|
|
889
865
|
context: "formatting"
|
|
890
866
|
});
|
|
891
|
-
// T
|
|
892
867
|
case "EEEEE":
|
|
893
868
|
return t.day(n, {
|
|
894
869
|
width: "narrow",
|
|
895
870
|
context: "formatting"
|
|
896
871
|
});
|
|
897
|
-
// Tu
|
|
898
872
|
case "EEEEEE":
|
|
899
873
|
return t.day(n, {
|
|
900
874
|
width: "short",
|
|
901
875
|
context: "formatting"
|
|
902
876
|
});
|
|
903
|
-
// Tuesday
|
|
904
877
|
case "EEEE":
|
|
905
878
|
default:
|
|
906
879
|
return t.day(n, {
|
|
@@ -913,13 +886,10 @@ const B = {
|
|
|
913
886
|
e: function(e, a, t, n) {
|
|
914
887
|
const r = e.getDay(), s = (r - n.weekStartsOn + 8) % 7 || 7;
|
|
915
888
|
switch (a) {
|
|
916
|
-
// Numerical value (Nth day of week with current locale or weekStartsOn)
|
|
917
889
|
case "e":
|
|
918
890
|
return String(s);
|
|
919
|
-
// Padded numerical value
|
|
920
891
|
case "ee":
|
|
921
892
|
return w(s, 2);
|
|
922
|
-
// 1st, 2nd, ..., 7th
|
|
923
893
|
case "eo":
|
|
924
894
|
return t.ordinalNumber(s, { unit: "day" });
|
|
925
895
|
case "eee":
|
|
@@ -927,19 +897,16 @@ const B = {
|
|
|
927
897
|
width: "abbreviated",
|
|
928
898
|
context: "formatting"
|
|
929
899
|
});
|
|
930
|
-
// T
|
|
931
900
|
case "eeeee":
|
|
932
901
|
return t.day(r, {
|
|
933
902
|
width: "narrow",
|
|
934
903
|
context: "formatting"
|
|
935
904
|
});
|
|
936
|
-
// Tu
|
|
937
905
|
case "eeeeee":
|
|
938
906
|
return t.day(r, {
|
|
939
907
|
width: "short",
|
|
940
908
|
context: "formatting"
|
|
941
909
|
});
|
|
942
|
-
// Tuesday
|
|
943
910
|
case "eeee":
|
|
944
911
|
default:
|
|
945
912
|
return t.day(r, {
|
|
@@ -952,13 +919,10 @@ const B = {
|
|
|
952
919
|
c: function(e, a, t, n) {
|
|
953
920
|
const r = e.getDay(), s = (r - n.weekStartsOn + 8) % 7 || 7;
|
|
954
921
|
switch (a) {
|
|
955
|
-
// Numerical value (same as in `e`)
|
|
956
922
|
case "c":
|
|
957
923
|
return String(s);
|
|
958
|
-
// Padded numerical value
|
|
959
924
|
case "cc":
|
|
960
925
|
return w(s, a.length);
|
|
961
|
-
// 1st, 2nd, ..., 7th
|
|
962
926
|
case "co":
|
|
963
927
|
return t.ordinalNumber(s, { unit: "day" });
|
|
964
928
|
case "ccc":
|
|
@@ -966,19 +930,16 @@ const B = {
|
|
|
966
930
|
width: "abbreviated",
|
|
967
931
|
context: "standalone"
|
|
968
932
|
});
|
|
969
|
-
// T
|
|
970
933
|
case "ccccc":
|
|
971
934
|
return t.day(r, {
|
|
972
935
|
width: "narrow",
|
|
973
936
|
context: "standalone"
|
|
974
937
|
});
|
|
975
|
-
// Tu
|
|
976
938
|
case "cccccc":
|
|
977
939
|
return t.day(r, {
|
|
978
940
|
width: "short",
|
|
979
941
|
context: "standalone"
|
|
980
942
|
});
|
|
981
|
-
// Tuesday
|
|
982
943
|
case "cccc":
|
|
983
944
|
default:
|
|
984
945
|
return t.day(r, {
|
|
@@ -991,34 +952,27 @@ const B = {
|
|
|
991
952
|
i: function(e, a, t) {
|
|
992
953
|
const n = e.getDay(), r = n === 0 ? 7 : n;
|
|
993
954
|
switch (a) {
|
|
994
|
-
// 2
|
|
995
955
|
case "i":
|
|
996
956
|
return String(r);
|
|
997
|
-
// 02
|
|
998
957
|
case "ii":
|
|
999
958
|
return w(r, a.length);
|
|
1000
|
-
// 2nd
|
|
1001
959
|
case "io":
|
|
1002
960
|
return t.ordinalNumber(r, { unit: "day" });
|
|
1003
|
-
// Tue
|
|
1004
961
|
case "iii":
|
|
1005
962
|
return t.day(n, {
|
|
1006
963
|
width: "abbreviated",
|
|
1007
964
|
context: "formatting"
|
|
1008
965
|
});
|
|
1009
|
-
// T
|
|
1010
966
|
case "iiiii":
|
|
1011
967
|
return t.day(n, {
|
|
1012
968
|
width: "narrow",
|
|
1013
969
|
context: "formatting"
|
|
1014
970
|
});
|
|
1015
|
-
// Tu
|
|
1016
971
|
case "iiiiii":
|
|
1017
972
|
return t.day(n, {
|
|
1018
973
|
width: "short",
|
|
1019
974
|
context: "formatting"
|
|
1020
975
|
});
|
|
1021
|
-
// Tuesday
|
|
1022
976
|
case "iiii":
|
|
1023
977
|
default:
|
|
1024
978
|
return t.day(n, {
|
|
@@ -1149,21 +1103,13 @@ const B = {
|
|
|
1149
1103
|
if (n === 0)
|
|
1150
1104
|
return "Z";
|
|
1151
1105
|
switch (a) {
|
|
1152
|
-
// Hours and optional minutes
|
|
1153
1106
|
case "X":
|
|
1154
1107
|
return It(n);
|
|
1155
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
1156
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1157
|
-
// so this token always has the same output as `XX`
|
|
1158
1108
|
case "XXXX":
|
|
1159
1109
|
case "XX":
|
|
1160
1110
|
return V(n);
|
|
1161
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
1162
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1163
|
-
// so this token always has the same output as `XXX`
|
|
1164
1111
|
case "XXXXX":
|
|
1165
1112
|
case "XXX":
|
|
1166
|
-
// Hours and minutes with `:` delimiter
|
|
1167
1113
|
default:
|
|
1168
1114
|
return V(n, ":");
|
|
1169
1115
|
}
|
|
@@ -1172,21 +1118,13 @@ const B = {
|
|
|
1172
1118
|
x: function(e, a, t) {
|
|
1173
1119
|
const n = e.getTimezoneOffset();
|
|
1174
1120
|
switch (a) {
|
|
1175
|
-
// Hours and optional minutes
|
|
1176
1121
|
case "x":
|
|
1177
1122
|
return It(n);
|
|
1178
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
1179
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1180
|
-
// so this token always has the same output as `xx`
|
|
1181
1123
|
case "xxxx":
|
|
1182
1124
|
case "xx":
|
|
1183
1125
|
return V(n);
|
|
1184
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
1185
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1186
|
-
// so this token always has the same output as `xxx`
|
|
1187
1126
|
case "xxxxx":
|
|
1188
1127
|
case "xxx":
|
|
1189
|
-
// Hours and minutes with `:` delimiter
|
|
1190
1128
|
default:
|
|
1191
1129
|
return V(n, ":");
|
|
1192
1130
|
}
|
|
@@ -1195,12 +1133,10 @@ const B = {
|
|
|
1195
1133
|
O: function(e, a, t) {
|
|
1196
1134
|
const n = e.getTimezoneOffset();
|
|
1197
1135
|
switch (a) {
|
|
1198
|
-
// Short
|
|
1199
1136
|
case "O":
|
|
1200
1137
|
case "OO":
|
|
1201
1138
|
case "OOO":
|
|
1202
1139
|
return "GMT" + St(n, ":");
|
|
1203
|
-
// Long
|
|
1204
1140
|
case "OOOO":
|
|
1205
1141
|
default:
|
|
1206
1142
|
return "GMT" + V(n, ":");
|
|
@@ -1210,12 +1146,10 @@ const B = {
|
|
|
1210
1146
|
z: function(e, a, t) {
|
|
1211
1147
|
const n = e.getTimezoneOffset();
|
|
1212
1148
|
switch (a) {
|
|
1213
|
-
// Short
|
|
1214
1149
|
case "z":
|
|
1215
1150
|
case "zz":
|
|
1216
1151
|
case "zzz":
|
|
1217
1152
|
return "GMT" + St(n, ":");
|
|
1218
|
-
// Long
|
|
1219
1153
|
case "zzzz":
|
|
1220
1154
|
default:
|
|
1221
1155
|
return "GMT" + V(n, ":");
|
|
@@ -1427,15 +1361,12 @@ class In extends T {
|
|
|
1427
1361
|
}
|
|
1428
1362
|
parse(t, n, r) {
|
|
1429
1363
|
switch (n) {
|
|
1430
|
-
// AD, BC
|
|
1431
1364
|
case "G":
|
|
1432
1365
|
case "GG":
|
|
1433
1366
|
case "GGG":
|
|
1434
1367
|
return r.era(t, { width: "abbreviated" }) || r.era(t, { width: "narrow" });
|
|
1435
|
-
// A, B
|
|
1436
1368
|
case "GGGGG":
|
|
1437
1369
|
return r.era(t, { width: "narrow" });
|
|
1438
|
-
// Anno Domini, Before Christ
|
|
1439
1370
|
case "GGGG":
|
|
1440
1371
|
default:
|
|
1441
1372
|
return r.era(t, { width: "wide" }) || r.era(t, { width: "abbreviated" }) || r.era(t, { width: "narrow" });
|
|
@@ -1746,14 +1677,11 @@ class $n extends T {
|
|
|
1746
1677
|
}
|
|
1747
1678
|
parse(t, n, r) {
|
|
1748
1679
|
switch (n) {
|
|
1749
|
-
// 1, 2, 3, 4
|
|
1750
1680
|
case "Q":
|
|
1751
1681
|
case "QQ":
|
|
1752
1682
|
return k(n.length, t);
|
|
1753
|
-
// 1st, 2nd, 3rd, 4th
|
|
1754
1683
|
case "Qo":
|
|
1755
1684
|
return r.ordinalNumber(t, { unit: "quarter" });
|
|
1756
|
-
// Q1, Q2, Q3, Q4
|
|
1757
1685
|
case "QQQ":
|
|
1758
1686
|
return r.quarter(t, {
|
|
1759
1687
|
width: "abbreviated",
|
|
@@ -1762,13 +1690,11 @@ class $n extends T {
|
|
|
1762
1690
|
width: "narrow",
|
|
1763
1691
|
context: "formatting"
|
|
1764
1692
|
});
|
|
1765
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
1766
1693
|
case "QQQQQ":
|
|
1767
1694
|
return r.quarter(t, {
|
|
1768
1695
|
width: "narrow",
|
|
1769
1696
|
context: "formatting"
|
|
1770
1697
|
});
|
|
1771
|
-
// 1st quarter, 2nd quarter, ...
|
|
1772
1698
|
case "QQQQ":
|
|
1773
1699
|
default:
|
|
1774
1700
|
return r.quarter(t, {
|
|
@@ -1813,14 +1739,11 @@ class Gn extends T {
|
|
|
1813
1739
|
}
|
|
1814
1740
|
parse(t, n, r) {
|
|
1815
1741
|
switch (n) {
|
|
1816
|
-
// 1, 2, 3, 4
|
|
1817
1742
|
case "q":
|
|
1818
1743
|
case "qq":
|
|
1819
1744
|
return k(n.length, t);
|
|
1820
|
-
// 1st, 2nd, 3rd, 4th
|
|
1821
1745
|
case "qo":
|
|
1822
1746
|
return r.ordinalNumber(t, { unit: "quarter" });
|
|
1823
|
-
// Q1, Q2, Q3, Q4
|
|
1824
1747
|
case "qqq":
|
|
1825
1748
|
return r.quarter(t, {
|
|
1826
1749
|
width: "abbreviated",
|
|
@@ -1829,13 +1752,11 @@ class Gn extends T {
|
|
|
1829
1752
|
width: "narrow",
|
|
1830
1753
|
context: "standalone"
|
|
1831
1754
|
});
|
|
1832
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
1833
1755
|
case "qqqqq":
|
|
1834
1756
|
return r.quarter(t, {
|
|
1835
1757
|
width: "narrow",
|
|
1836
1758
|
context: "standalone"
|
|
1837
1759
|
});
|
|
1838
|
-
// 1st quarter, 2nd quarter, ...
|
|
1839
1760
|
case "qqqq":
|
|
1840
1761
|
default:
|
|
1841
1762
|
return r.quarter(t, {
|
|
@@ -1880,16 +1801,13 @@ class Fn extends T {
|
|
|
1880
1801
|
parse(t, n, r) {
|
|
1881
1802
|
const s = (o) => o - 1;
|
|
1882
1803
|
switch (n) {
|
|
1883
|
-
// 1, 2, ..., 12
|
|
1884
1804
|
case "M":
|
|
1885
1805
|
return M(
|
|
1886
1806
|
x(O.month, t),
|
|
1887
1807
|
s
|
|
1888
1808
|
);
|
|
1889
|
-
// 01, 02, ..., 12
|
|
1890
1809
|
case "MM":
|
|
1891
1810
|
return M(k(2, t), s);
|
|
1892
|
-
// 1st, 2nd, ..., 12th
|
|
1893
1811
|
case "Mo":
|
|
1894
1812
|
return M(
|
|
1895
1813
|
r.ordinalNumber(t, {
|
|
@@ -1897,19 +1815,16 @@ class Fn extends T {
|
|
|
1897
1815
|
}),
|
|
1898
1816
|
s
|
|
1899
1817
|
);
|
|
1900
|
-
// Jan, Feb, ..., Dec
|
|
1901
1818
|
case "MMM":
|
|
1902
1819
|
return r.month(t, {
|
|
1903
1820
|
width: "abbreviated",
|
|
1904
1821
|
context: "formatting"
|
|
1905
1822
|
}) || r.month(t, { width: "narrow", context: "formatting" });
|
|
1906
|
-
// J, F, ..., D
|
|
1907
1823
|
case "MMMMM":
|
|
1908
1824
|
return r.month(t, {
|
|
1909
1825
|
width: "narrow",
|
|
1910
1826
|
context: "formatting"
|
|
1911
1827
|
});
|
|
1912
|
-
// January, February, ..., December
|
|
1913
1828
|
case "MMMM":
|
|
1914
1829
|
default:
|
|
1915
1830
|
return r.month(t, { width: "wide", context: "formatting" }) || r.month(t, {
|
|
@@ -1948,16 +1863,13 @@ class zn extends T {
|
|
|
1948
1863
|
parse(t, n, r) {
|
|
1949
1864
|
const s = (o) => o - 1;
|
|
1950
1865
|
switch (n) {
|
|
1951
|
-
// 1, 2, ..., 12
|
|
1952
1866
|
case "L":
|
|
1953
1867
|
return M(
|
|
1954
1868
|
x(O.month, t),
|
|
1955
1869
|
s
|
|
1956
1870
|
);
|
|
1957
|
-
// 01, 02, ..., 12
|
|
1958
1871
|
case "LL":
|
|
1959
1872
|
return M(k(2, t), s);
|
|
1960
|
-
// 1st, 2nd, ..., 12th
|
|
1961
1873
|
case "Lo":
|
|
1962
1874
|
return M(
|
|
1963
1875
|
r.ordinalNumber(t, {
|
|
@@ -1965,19 +1877,16 @@ class zn extends T {
|
|
|
1965
1877
|
}),
|
|
1966
1878
|
s
|
|
1967
1879
|
);
|
|
1968
|
-
// Jan, Feb, ..., Dec
|
|
1969
1880
|
case "LLL":
|
|
1970
1881
|
return r.month(t, {
|
|
1971
1882
|
width: "abbreviated",
|
|
1972
1883
|
context: "standalone"
|
|
1973
1884
|
}) || r.month(t, { width: "narrow", context: "standalone" });
|
|
1974
|
-
// J, F, ..., D
|
|
1975
1885
|
case "LLLLL":
|
|
1976
1886
|
return r.month(t, {
|
|
1977
1887
|
width: "narrow",
|
|
1978
1888
|
context: "standalone"
|
|
1979
1889
|
});
|
|
1980
|
-
// January, February, ..., December
|
|
1981
1890
|
case "LLLL":
|
|
1982
1891
|
default:
|
|
1983
1892
|
return r.month(t, { width: "wide", context: "standalone" }) || r.month(t, {
|
|
@@ -2183,7 +2092,6 @@ class An extends T {
|
|
|
2183
2092
|
}
|
|
2184
2093
|
parse(t, n, r) {
|
|
2185
2094
|
switch (n) {
|
|
2186
|
-
// Tue
|
|
2187
2095
|
case "E":
|
|
2188
2096
|
case "EE":
|
|
2189
2097
|
case "EEE":
|
|
@@ -2191,16 +2099,13 @@ class An extends T {
|
|
|
2191
2099
|
width: "abbreviated",
|
|
2192
2100
|
context: "formatting"
|
|
2193
2101
|
}) || r.day(t, { width: "short", context: "formatting" }) || r.day(t, { width: "narrow", context: "formatting" });
|
|
2194
|
-
// T
|
|
2195
2102
|
case "EEEEE":
|
|
2196
2103
|
return r.day(t, {
|
|
2197
2104
|
width: "narrow",
|
|
2198
2105
|
context: "formatting"
|
|
2199
2106
|
});
|
|
2200
|
-
// Tu
|
|
2201
2107
|
case "EEEEEE":
|
|
2202
2108
|
return r.day(t, { width: "short", context: "formatting" }) || r.day(t, { width: "narrow", context: "formatting" });
|
|
2203
|
-
// Tuesday
|
|
2204
2109
|
case "EEEE":
|
|
2205
2110
|
default:
|
|
2206
2111
|
return r.day(t, { width: "wide", context: "formatting" }) || r.day(t, {
|
|
@@ -2244,11 +2149,9 @@ class Qn extends T {
|
|
|
2244
2149
|
return (l + s.weekStartsOn + 6) % 7 + m;
|
|
2245
2150
|
};
|
|
2246
2151
|
switch (n) {
|
|
2247
|
-
// 3
|
|
2248
2152
|
case "e":
|
|
2249
2153
|
case "ee":
|
|
2250
2154
|
return M(k(n.length, t), o);
|
|
2251
|
-
// 3rd
|
|
2252
2155
|
case "eo":
|
|
2253
2156
|
return M(
|
|
2254
2157
|
r.ordinalNumber(t, {
|
|
@@ -2256,22 +2159,18 @@ class Qn extends T {
|
|
|
2256
2159
|
}),
|
|
2257
2160
|
o
|
|
2258
2161
|
);
|
|
2259
|
-
// Tue
|
|
2260
2162
|
case "eee":
|
|
2261
2163
|
return r.day(t, {
|
|
2262
2164
|
width: "abbreviated",
|
|
2263
2165
|
context: "formatting"
|
|
2264
2166
|
}) || r.day(t, { width: "short", context: "formatting" }) || r.day(t, { width: "narrow", context: "formatting" });
|
|
2265
|
-
// T
|
|
2266
2167
|
case "eeeee":
|
|
2267
2168
|
return r.day(t, {
|
|
2268
2169
|
width: "narrow",
|
|
2269
2170
|
context: "formatting"
|
|
2270
2171
|
});
|
|
2271
|
-
// Tu
|
|
2272
2172
|
case "eeeeee":
|
|
2273
2173
|
return r.day(t, { width: "short", context: "formatting" }) || r.day(t, { width: "narrow", context: "formatting" });
|
|
2274
|
-
// Tuesday
|
|
2275
2174
|
case "eeee":
|
|
2276
2175
|
default:
|
|
2277
2176
|
return r.day(t, { width: "wide", context: "formatting" }) || r.day(t, {
|
|
@@ -2315,11 +2214,9 @@ class Xn extends T {
|
|
|
2315
2214
|
return (l + s.weekStartsOn + 6) % 7 + m;
|
|
2316
2215
|
};
|
|
2317
2216
|
switch (n) {
|
|
2318
|
-
// 3
|
|
2319
2217
|
case "c":
|
|
2320
2218
|
case "cc":
|
|
2321
2219
|
return M(k(n.length, t), o);
|
|
2322
|
-
// 3rd
|
|
2323
2220
|
case "co":
|
|
2324
2221
|
return M(
|
|
2325
2222
|
r.ordinalNumber(t, {
|
|
@@ -2327,22 +2224,18 @@ class Xn extends T {
|
|
|
2327
2224
|
}),
|
|
2328
2225
|
o
|
|
2329
2226
|
);
|
|
2330
|
-
// Tue
|
|
2331
2227
|
case "ccc":
|
|
2332
2228
|
return r.day(t, {
|
|
2333
2229
|
width: "abbreviated",
|
|
2334
2230
|
context: "standalone"
|
|
2335
2231
|
}) || r.day(t, { width: "short", context: "standalone" }) || r.day(t, { width: "narrow", context: "standalone" });
|
|
2336
|
-
// T
|
|
2337
2232
|
case "ccccc":
|
|
2338
2233
|
return r.day(t, {
|
|
2339
2234
|
width: "narrow",
|
|
2340
2235
|
context: "standalone"
|
|
2341
2236
|
});
|
|
2342
|
-
// Tu
|
|
2343
2237
|
case "cccccc":
|
|
2344
2238
|
return r.day(t, { width: "short", context: "standalone" }) || r.day(t, { width: "narrow", context: "standalone" });
|
|
2345
|
-
// Tuesday
|
|
2346
2239
|
case "cccc":
|
|
2347
2240
|
default:
|
|
2348
2241
|
return r.day(t, { width: "wide", context: "standalone" }) || r.day(t, {
|
|
@@ -2387,14 +2280,11 @@ class Jn extends T {
|
|
|
2387
2280
|
parse(t, n, r) {
|
|
2388
2281
|
const s = (o) => o === 0 ? 7 : o;
|
|
2389
2282
|
switch (n) {
|
|
2390
|
-
// 2
|
|
2391
2283
|
case "i":
|
|
2392
2284
|
case "ii":
|
|
2393
2285
|
return k(n.length, t);
|
|
2394
|
-
// 2nd
|
|
2395
2286
|
case "io":
|
|
2396
2287
|
return r.ordinalNumber(t, { unit: "day" });
|
|
2397
|
-
// Tue
|
|
2398
2288
|
case "iii":
|
|
2399
2289
|
return M(
|
|
2400
2290
|
r.day(t, {
|
|
@@ -2409,7 +2299,6 @@ class Jn extends T {
|
|
|
2409
2299
|
}),
|
|
2410
2300
|
s
|
|
2411
2301
|
);
|
|
2412
|
-
// T
|
|
2413
2302
|
case "iiiii":
|
|
2414
2303
|
return M(
|
|
2415
2304
|
r.day(t, {
|
|
@@ -2418,7 +2307,6 @@ class Jn extends T {
|
|
|
2418
2307
|
}),
|
|
2419
2308
|
s
|
|
2420
2309
|
);
|
|
2421
|
-
// Tu
|
|
2422
2310
|
case "iiiiii":
|
|
2423
2311
|
return M(
|
|
2424
2312
|
r.day(t, {
|
|
@@ -2430,7 +2318,6 @@ class Jn extends T {
|
|
|
2430
2318
|
}),
|
|
2431
2319
|
s
|
|
2432
2320
|
);
|
|
2433
|
-
// Tuesday
|
|
2434
2321
|
case "iiii":
|
|
2435
2322
|
default:
|
|
2436
2323
|
return M(
|
|
@@ -3032,6 +2919,7 @@ function We(e, a, t, n, r, s, o) {
|
|
|
3032
2919
|
return l.setUTCFullYear(e, a, t), l.setUTCHours(n, r, s, o), l;
|
|
3033
2920
|
}
|
|
3034
2921
|
const Lt = 36e5, Ir = 6e4, xe = {
|
|
2922
|
+
timezone: /([Z+-].*)$/,
|
|
3035
2923
|
timezoneZ: /^(Z)$/,
|
|
3036
2924
|
timezoneHH: /^([+-]\d{2})$/,
|
|
3037
2925
|
timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
|
|
@@ -3095,21 +2983,13 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3095
2983
|
if (n === 0)
|
|
3096
2984
|
return "Z";
|
|
3097
2985
|
switch (a) {
|
|
3098
|
-
// Hours and optional minutes
|
|
3099
2986
|
case "X":
|
|
3100
2987
|
return Ft(n);
|
|
3101
|
-
// Hours, minutes and optional seconds without `:` delimeter
|
|
3102
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
3103
|
-
// so this token always has the same output as `XX`
|
|
3104
2988
|
case "XXXX":
|
|
3105
2989
|
case "XX":
|
|
3106
2990
|
return Z(n);
|
|
3107
|
-
// Hours, minutes and optional seconds with `:` delimeter
|
|
3108
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
3109
|
-
// so this token always has the same output as `XXX`
|
|
3110
2991
|
case "XXXXX":
|
|
3111
2992
|
case "XXX":
|
|
3112
|
-
// Hours and minutes with `:` delimeter
|
|
3113
2993
|
default:
|
|
3114
2994
|
return Z(n, ":");
|
|
3115
2995
|
}
|
|
@@ -3118,21 +2998,13 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3118
2998
|
x: function(e, a, t) {
|
|
3119
2999
|
const n = ke(t.timeZone, e);
|
|
3120
3000
|
switch (a) {
|
|
3121
|
-
// Hours and optional minutes
|
|
3122
3001
|
case "x":
|
|
3123
3002
|
return Ft(n);
|
|
3124
|
-
// Hours, minutes and optional seconds without `:` delimeter
|
|
3125
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
3126
|
-
// so this token always has the same output as `xx`
|
|
3127
3003
|
case "xxxx":
|
|
3128
3004
|
case "xx":
|
|
3129
3005
|
return Z(n);
|
|
3130
|
-
// Hours, minutes and optional seconds with `:` delimeter
|
|
3131
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
3132
|
-
// so this token always has the same output as `xxx`
|
|
3133
3006
|
case "xxxxx":
|
|
3134
3007
|
case "xxx":
|
|
3135
|
-
// Hours and minutes with `:` delimeter
|
|
3136
3008
|
default:
|
|
3137
3009
|
return Z(n, ":");
|
|
3138
3010
|
}
|
|
@@ -3141,12 +3013,10 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3141
3013
|
O: function(e, a, t) {
|
|
3142
3014
|
const n = ke(t.timeZone, e);
|
|
3143
3015
|
switch (a) {
|
|
3144
|
-
// Short
|
|
3145
3016
|
case "O":
|
|
3146
3017
|
case "OO":
|
|
3147
3018
|
case "OOO":
|
|
3148
3019
|
return "GMT" + Gr(n, ":");
|
|
3149
|
-
// Long
|
|
3150
3020
|
case "OOOO":
|
|
3151
3021
|
default:
|
|
3152
3022
|
return "GMT" + Z(n, ":");
|
|
@@ -3155,12 +3025,10 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3155
3025
|
// Timezone (specific non-location)
|
|
3156
3026
|
z: function(e, a, t) {
|
|
3157
3027
|
switch (a) {
|
|
3158
|
-
// Short
|
|
3159
3028
|
case "z":
|
|
3160
3029
|
case "zz":
|
|
3161
3030
|
case "zzz":
|
|
3162
3031
|
return Ct("short", e, t);
|
|
3163
|
-
// Long
|
|
3164
3032
|
case "zzzz":
|
|
3165
3033
|
default:
|
|
3166
3034
|
return Ct("long", e, t);
|
|
@@ -3198,6 +3066,7 @@ function zt(e) {
|
|
|
3198
3066
|
const fa = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, Oe = 36e5, Wt = 6e4, Fr = 2, N = {
|
|
3199
3067
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
3200
3068
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
3069
|
+
plainTime: /:/,
|
|
3201
3070
|
// year tokens
|
|
3202
3071
|
YY: /^(\d{2})$/,
|
|
3203
3072
|
YYY: [
|
|
@@ -3811,13 +3680,13 @@ const Lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3811
3680
|
content: a.announcement_simplified ?? "",
|
|
3812
3681
|
lastUpdatedTime: a.announcement_lastupdated
|
|
3813
3682
|
}))) ?? [], hs = (e) => ({
|
|
3814
|
-
username: e.username,
|
|
3683
|
+
username: e.username ?? "",
|
|
3815
3684
|
birthday: e.mdUserDetail.dob ?? "",
|
|
3816
3685
|
dateCreated: e.mdUserDetail.datecreated ?? "",
|
|
3817
3686
|
email: e.mdUserDetail.email ?? "",
|
|
3818
3687
|
fullName: e.mdUserDetail.firstname ?? "",
|
|
3819
3688
|
phoneNumber: e.mdUserDetail.mobileno ?? "",
|
|
3820
|
-
profilePicUrl: e.mdUserDetail.profile_pic
|
|
3689
|
+
profilePicUrl: e.mdUserDetail.profile_pic ?? ""
|
|
3821
3690
|
}), _s = (e) => {
|
|
3822
3691
|
var a, t, n, r, s, o;
|
|
3823
3692
|
return {
|