diff --git a/doc/03_软件需求规格说明书.docx b/doc/03_软件需求规格说明书.docx new file mode 100644 index 0000000..1a4311d Binary files /dev/null and b/doc/03_软件需求规格说明书.docx differ diff --git a/doc/04_软件设计规格说明书.docx b/doc/04_软件设计规格说明书.docx new file mode 100644 index 0000000..c45d25c Binary files /dev/null and b/doc/04_软件设计规格说明书.docx differ diff --git a/other/07_软件开发项目的团队自评报告.xlsx b/other/07_软件开发项目的团队自评报告.xlsx new file mode 100644 index 0000000..55f4c44 Binary files /dev/null and b/other/07_软件开发项目的团队自评报告.xlsx differ diff --git a/other/08_210340110梁玮琪-实践总结报告.docx b/other/08_210340110梁玮琪-实践总结报告.docx new file mode 100644 index 0000000..bc8d4aa Binary files /dev/null and b/other/08_210340110梁玮琪-实践总结报告.docx differ diff --git a/other/08_210340133张良坤-实践总结报告.docx b/other/08_210340133张良坤-实践总结报告.docx new file mode 100644 index 0000000..68a3bf9 Binary files /dev/null and b/other/08_210340133张良坤-实践总结报告.docx differ diff --git a/other/08_210340134周雄-实践总结报告.docx b/other/08_210340134周雄-实践总结报告.docx new file mode 100644 index 0000000..cff8058 Binary files /dev/null and b/other/08_210340134周雄-实践总结报告.docx differ diff --git a/other/08_210340135周子皓-实践总结报告.docx b/other/08_210340135周子皓-实践总结报告.docx new file mode 100644 index 0000000..cc9721d Binary files /dev/null and b/other/08_210340135周子皓-实践总结报告.docx differ diff --git a/other/09_系统演示视频.mp4 b/other/09_系统演示视频.mp4 new file mode 100644 index 0000000..e9ecbdb Binary files /dev/null and b/other/09_系统演示视频.mp4 differ diff --git a/other/10_系统宣传海报.png b/other/10_系统宣传海报.png new file mode 100644 index 0000000..0c73599 Binary files /dev/null and b/other/10_系统宣传海报.png differ diff --git a/other/校园服务WeLink需求分析工作汇报.pptx b/other/校园服务WeLink需求分析工作汇报.pptx deleted file mode 100644 index 6fb7e0e..0000000 Binary files a/other/校园服务WeLink需求分析工作汇报.pptx and /dev/null differ diff --git a/src/WeLink/.eslintrc.js b/src/WeLink/.eslintrc.js new file mode 100644 index 0000000..115cc02 --- /dev/null +++ b/src/WeLink/.eslintrc.js @@ -0,0 +1,31 @@ +/* + * Eslint config file + * Documentation: https://eslint.org/docs/user-guide/configuring/ + * Install the Eslint extension before using this feature. + */ +module.exports = { + env: { + es6: true, + browser: true, + node: true, + }, + ecmaFeatures: { + modules: true, + }, + parserOptions: { + ecmaVersion: 2018, + sourceType: 'module', + }, + globals: { + wx: true, + App: true, + Page: true, + getCurrentPages: true, + getApp: true, + Component: true, + requirePlugin: true, + requireMiniProgram: true, + }, + // extends: 'eslint:recommended', + rules: {}, +} diff --git a/src/WeLink/.scannerwork/.sonar_lock b/src/WeLink/.scannerwork/.sonar_lock new file mode 100644 index 0000000..e69de29 diff --git a/src/WeLink/.scannerwork/class-mapping.csv b/src/WeLink/.scannerwork/class-mapping.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/WeLink/.scannerwork/report-task.txt b/src/WeLink/.scannerwork/report-task.txt new file mode 100644 index 0000000..7276a77 --- /dev/null +++ b/src/WeLink/.scannerwork/report-task.txt @@ -0,0 +1,6 @@ +projectKey=WeLink +serverUrl=http://localhost:9000 +serverVersion=9.9.0.65466 +dashboardUrl=http://localhost:9000/dashboard?id=WeLink +ceTaskId=AYvLyxljeUNi8qJ8sMgx +ceTaskUrl=http://localhost:9000/api/ce/task?id=AYvLyxljeUNi8qJ8sMgx diff --git a/src/WeLink/app.js b/src/WeLink/app.js new file mode 100644 index 0000000..9421e18 --- /dev/null +++ b/src/WeLink/app.js @@ -0,0 +1,75 @@ +// app.js +App({ + + com: { + // 自定义跳转的方法 + navTo(e) { + let type = e.currentTarget.dataset.type + let names = e.currentTarget.dataset.names + let path = e.currentTarget.dataset.path + let nav = 'navigateTo' + if (type == 1) { + nav = 'navigateTo' + } else if (type == 2) { + nav = 'redirectTo' + } else if (type == 3) { + nav = 'switchTab' + } + let url = path + let _names = [] + if (names) { + _names = names.split(',') + } + if (_names.length > 0) { + url += '?' + for (let i in _names) { + if (i == 0) { + url += _names[i] + '=' + e.currentTarget.dataset[_names[i]] + } else { + url += '&' + _names[i] + '=' + e.currentTarget.dataset[_names[i]] + } + } + } + wx[nav]({ + url: url, + }) + }, + }, + + onLaunch() { + + // 引入 SDK + require('./sdk-wechat.2.0.6-a') + let clientID = 'bba0e33bb57b1420a6d3' + wx.BaaS.init(clientID) + + // 微信用户登录小程序 + wx.BaaS.auth.loginWithWechat().then(user => { + // 登录成功 + console.log(user) + this.globalData.openid = user.openid; + this.globalData.user = user + }, err => { + // 登录失败 + }) + + // 展示本地存储能力 + const logs = wx.getStorageSync('logs') || [] + logs.unshift(Date.now()) + wx.setStorageSync('logs', logs) + + // 登录 + wx.login({ + success: res => { + // 发送 res.code 到后台换取 openId, sessionKey, unionId + } + }) + }, + + onShow(){ + + }, + globalData: { + userInfo: null + } +}) diff --git a/src/WeLink/app.json b/src/WeLink/app.json new file mode 100644 index 0000000..97719f5 --- /dev/null +++ b/src/WeLink/app.json @@ -0,0 +1,80 @@ +{ + "pages":[ + "pages/home/home/home", + "pages/home/notice/notice", + "pages/run/run/run", + "pages/run/createreward/createreward", + "pages/run/pay/pay", + "pages/run/rewarddetails/rewarddetails", + "pages/remark/remark/remark", + "pages/remark/createremark/createremark", + "pages/remark/remarkdetails/remarkdetails", + "pages/me/me/me", + "pages/me/myreward/myreward", + "pages/me/myrun/myrun", + "pages/me/myremark/myremark", + "pages/me/myinfo/myinfo", + "pages/me/myhead/myhead", + "pages/me/myreceiving/myreceiving", + "pages/me/instruction/instruction", + "pages/me/myinfo/myphone/myphone", + "pages/me/myinfo/mypassword/mypassword", + "pages/me/myinfo/mynickname/mynickname", + "pages/me/about/about", + "pages/index/index", + "pages/logs/logs", + "pages/login/login", + "pages/register/register", + "pages/run/search/search1/search1", + "pages/remark/search/search2/search2", + "pages/remark/search/searchResult/searchResult", + "pages/run/checkrunners/checkrunners", + "pages/run/runnerremark/runnerremark", + "pages/run/search/searchResult/searchResult", + "pages/me/admin/admin", + "pages/me/evaluationforme/evaluationforme", + "pages/me/admin/audit/audit", + "pages/me/admin/notice/notice", + "pages/me/admin/notice/addnotice/addnotice" + + ], + "window":{ + "backgroundTextStyle":"light", + "navigationBarBackgroundColor": "#2b4b6b", + "navigationBarTitleText": "WeLink", + "navigationBarTextStyle":"white" + }, + "style": "v2", + "sitemapLocation": "sitemap.json", + "usingComponents": { + "cu-custom": "/colorui/components/cu-custom" + }, + "tabBar": { + "list": [ + { + "pagePath": "pages/home/home/home", + "text": "首页", + "iconPath": "/icons/home.png", + "selectedIconPath": "/icons/home_active.png" + }, + { + "pagePath": "pages/run/run/run", + "text": "跑腿", + "iconPath": "/icons/run.png", + "selectedIconPath": "/icons/run_active.png" + }, + { + "pagePath": "pages/remark/remark/remark", + "text": "点评", + "iconPath": "/icons/remark.png", + "selectedIconPath": "/icons/remark_active.png" + }, + { + "pagePath": "pages/me/me/me", + "text": "我的", + "iconPath": "/icons/me.png", + "selectedIconPath": "/icons/me_active.png" + } + ] + } +} diff --git a/src/WeLink/app.wxss b/src/WeLink/app.wxss new file mode 100644 index 0000000..06aef6d --- /dev/null +++ b/src/WeLink/app.wxss @@ -0,0 +1,86 @@ +/**app.wxss**/ +/* 引入了另一个wxss文件 */ +@import './common.wxss'; + +.container { + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + padding: 200rpx 0; + box-sizing: border-box; +} + + +.fo-m{ + color: #FF6666 +} +.fix-t{ + width: 100%; + position: fixed; + top: 0 +} +.fo-t{ + color: #6887e1 +} +.fg1{ + width: 80rpx; + border-bottom: 1px solid #aaaaaa +} + +.fg2{ + margin: 0 30rpx; + font-size: 26rpx; + color: #888 +} +.fo-bu{ + color: #0099ff +} +.bg-b{ + background: #00CCFF +} +.fb-btn{ + line-height: 90rpx; + text-align: center; + color: #fff; + font-size: 28rpx; + border-radius: 10rpx; + background-color: #ff9900 +} +.bg-m{ + background: linear-gradient(to right top,#6183dd,#6e42d3) +} +.pa-40{ + padding: 40rpx; +} +.pa-l40{ + padding-left: 40rpx +} +.pa-r40{ + padding-right: 40rpx +} +.pa-60{ + padding: 60rpx; +} +.pa-l60{ + padding-left: 60rpx +} +.pa-r60{ + padding-right: 60rpx +} +.btns{ + line-height: 90rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 100rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-top: 80rpx; +} +.btns:active{ + background: linear-gradient(to right top,#6183dd,#6e42d3); +} +/* 引入了另两个个wxss文件,为了的是悬赏跑腿这里 */ +@import "colorui/main.wxss"; +@import "colorui/icon.wxss"; \ No newline at end of file diff --git a/src/WeLink/colorui/animation.wxss b/src/WeLink/colorui/animation.wxss new file mode 100644 index 0000000..931bb51 --- /dev/null +++ b/src/WeLink/colorui/animation.wxss @@ -0,0 +1,184 @@ +/* + Animation 微动画 + 基于ColorUI组建库的动画模块 by 文晓港 2019年3月26日19:52:28 + */ + +/* css 滤镜 控制黑白底色gif的 */ +.gif-black{ + mix-blend-mode: screen; +} +.gif-white{ + mix-blend-mode: multiply; +} + + +/* Animation css */ +[class*=animation-] { + animation-duration: .5s; + animation-timing-function: ease-out; + animation-fill-mode: both +} + +.animation-fade { + animation-name: fade; + animation-duration: .8s; + animation-timing-function: linear +} + +.animation-scale-up { + animation-name: scale-up +} + +.animation-scale-down { + animation-name: scale-down +} + +.animation-slide-top { + animation-name: slide-top +} + +.animation-slide-bottom { + animation-name: slide-bottom +} + +.animation-slide-left { + animation-name: slide-left +} + +.animation-slide-right { + animation-name: slide-right +} + +.animation-shake { + animation-name: shake +} + +.animation-reverse { + animation-direction: reverse +} + +@keyframes fade { + 0% { + opacity: 0 + } + + 100% { + opacity: 1 + } +} + +@keyframes scale-up { + 0% { + opacity: 0; + transform: scale(.2) + } + + 100% { + opacity: 1; + transform: scale(1) + } +} + +@keyframes scale-down { + 0% { + opacity: 0; + transform: scale(1.8) + } + + 100% { + opacity: 1; + transform: scale(1) + } +} + +@keyframes slide-top { + 0% { + opacity: 0; + transform: translateY(-100%) + } + + 100% { + opacity: 1; + transform: translateY(0) + } +} + +@keyframes slide-bottom { + 0% { + opacity: 0; + transform: translateY(100%) + } + + 100% { + opacity: 1; + transform: translateY(0) + } +} + +@keyframes shake { + + 0%, + 100% { + transform: translateX(0) + } + + 10% { + transform: translateX(-9px) + } + + 20% { + transform: translateX(8px) + } + + 30% { + transform: translateX(-7px) + } + + 40% { + transform: translateX(6px) + } + + 50% { + transform: translateX(-5px) + } + + 60% { + transform: translateX(4px) + } + + 70% { + transform: translateX(-3px) + } + + 80% { + transform: translateX(2px) + } + + 90% { + transform: translateX(-1px) + } +} + +@keyframes slide-left { + 0% { + opacity: 0; + transform: translateX(-100%) + } + + 100% { + opacity: 1; + transform: translateX(0) + } +} + +@keyframes slide-right { + 0% { + opacity: 0; + transform: translateX(100%) + } + + 100% { + opacity: 1; + transform: translateX(0) + } +} \ No newline at end of file diff --git a/src/WeLink/colorui/components/cu-custom.js b/src/WeLink/colorui/components/cu-custom.js new file mode 100644 index 0000000..0324164 --- /dev/null +++ b/src/WeLink/colorui/components/cu-custom.js @@ -0,0 +1,54 @@ +const app = getApp(); +Component({ + /** + * 组件的一些选项 + */ + options: { + addGlobalClass: true, + multipleSlots: true + }, + /** + * 组件的对外属性 + */ + properties: { + bgColor: { + type: String, + default: '' + }, + isCustom: { + type: [Boolean, String], + default: false + }, + isBack: { + type: [Boolean, String], + default: false + }, + bgImage: { + type: String, + default: '' + }, + }, + /** + * 组件的初始数据 + */ + data: { + StatusBar: app.globalData.StatusBar, + CustomBar: app.globalData.CustomBar, + Custom: app.globalData.Custom + }, + /** + * 组件的方法列表 + */ + methods: { + BackPage() { + wx.navigateBack({ + delta: 1 + }); + }, + toHome(){ + wx.reLaunch({ + url: '/pages/index/index', + }) + } + } +}) \ No newline at end of file diff --git a/src/WeLink/colorui/components/cu-custom.json b/src/WeLink/colorui/components/cu-custom.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/src/WeLink/colorui/components/cu-custom.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/src/WeLink/colorui/components/cu-custom.wxml b/src/WeLink/colorui/components/cu-custom.wxml new file mode 100644 index 0000000..e29bdf6 --- /dev/null +++ b/src/WeLink/colorui/components/cu-custom.wxml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/WeLink/colorui/components/cu-custom.wxss b/src/WeLink/colorui/components/cu-custom.wxss new file mode 100644 index 0000000..07675e2 --- /dev/null +++ b/src/WeLink/colorui/components/cu-custom.wxss @@ -0,0 +1 @@ +/* colorui/components/cu-custom.wxss */ \ No newline at end of file diff --git a/src/WeLink/colorui/icon.wxss b/src/WeLink/colorui/icon.wxss new file mode 100644 index 0000000..4610790 --- /dev/null +++ b/src/WeLink/colorui/icon.wxss @@ -0,0 +1,1227 @@ +@keyframes icon-spin { + 0% { + -webkit-transform: rotate(0); + transform: rotate(0); + } + + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +.iconfont-spin { + -webkit-animation: icon-spin 2s infinite linear; + animation: icon-spin 2s infinite linear; + display: inline-block; +} + +.iconfont-pulse { + -webkit-animation: icon-spin 1s infinite steps(8); + animation: icon-spin 1s infinite steps(8); + display: inline-block; +} + +text[class*="icon-"], view[class*="icon-"], button[class*="icon-"] { + font-family: "cuIcon" !important; + font-size: inherit; + font-style: normal; +} + +@font-face { + font-family: "cuIcon"; + src: url('//at.alicdn.com/t/font_533566_yfq2d9wdij.eot?t=1545239985831'); /* IE9*/ + src: url('//at.alicdn.com/t/font_533566_yfq2d9wdij.eot?t=1545239985831#iefix') format('embedded-opentype'), + /* IE6-IE8 */ url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAKQcAAsAAAABNKAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8dkoiY21hcAAAAYAAAAiaAAATkilZPq9nbHlmAAAKHAAAjqoAAQkUOjYlCmhlYWQAAJjIAAAALwAAADYUMoFgaGhlYQAAmPgAAAAfAAAAJAhwBcpobXR4AACZGAAAABkAAAScnSIAAGxvY2EAAJk0AAACUAAAAlAhX2C+bWF4cAAAm4QAAAAfAAAAIAJAAOpuYW1lAACbpAAAAUUAAAJtPlT+fXBvc3QAAJzsAAAHLQAADMYi8KXJeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWScwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByeMbzQZ27438AQw9zA0AAUZgTJAQDhHQwVeJzN1/nf1mMaxvHP9ZQiSUKWbCXZ1+w7Q0NqImNJhSSSZSyTlMQYs9hlLGPKMoRBMyU1tlIiIrKUfeycZyOpkCVLc1zPYbz8BzPdr7fb8/yQ2/29zuM6TmA5oIlsIU31460U6r+O1m9L4++b0KLx902bnq6fL+ICmtE0GqJltIl20TE6R5foHj3jmDgtzoohMSyGx4i4MC6KS+LquD5uiFvizhgb42NCTIwpMS1mxOx4IyJLtsiNc8vcN7vnodkr+2a/HJCD8oK8MkfmdTk6b8oxeUeOzUk5M1/IuTk/F+Ti/CqXztt62TIIfvIp9osDo0ccHv3ijBgcQ3/8FBfHVY2fYlTcFvfEuMZPcX9MjenxVLwYb8ZH2SRb5aa5TXbNHnlY9s5js38OzMF5qT7FNTnqh09xV47LyTkr5zR+ioW55L+f4n/+p+ip/PEnr8u4hr8wlid4mtk8/+PrRV5ufL3DPD7i48bXVywtlBZlnbJV6VMGldFlTJlZZpeXy1vlvfJBmVc+bmhoaKFXq4bWP7zaNnRo2LWhS8MBja9uDT0beupDtC+dSseyHpNKB+aVVfWpGnR2muqENaN52ZDlWUEnaUVashKtWJnWrEIbVmU1Vqcta7Ama7E27ViHdVmP9dmA9nRgQzqyEZ3YmE3YlM34ls11JrdkK7ZmG7Zlu7IandmeHdiRndiZXdiV3didPdizbFDashd7sw/78jP2Y3+68HMO4EC6chDd6M4v6MHBHEJPDuWXHMbhHMGR9OIoetOHvhzNMRxLP46jP8czgBM4kYGcxN8YxMmcwqmcxq84nTM4k7P4NYM5myGcw1CGcS7DOY8RnK+J+YbfcCG/1XP6Hb/nD3pGF3MJl+pJXc4VXMlVjORq/qTndi3XcT1/5gY9wVGM5kZu4mZu4a/cym2M4Xbu4E7u4m7u0RP+O/9gHOO5lwncx0T+yf08wIM8xMNMZgqPMJVpPMp0HuNxZuhEPMlMntK5mMUzPKvT8ZzOxQs6GXOYq9Pwkk7HK7zKa7zOG/yLN3mLt3Vexum/8y7v8T4f8KHGLvm3TtB8PmEhi1jMp3zG5yzhC77UifqapXzH9yzTySqloTQpTctypVlpXpYvK+isrVhalpVKq7JyaV1WKW3K6mWNsmZZq2xU1i7tdBLXLeuzQCeq2f96sP4P/rSs/1hpkX8om9TMs9Je78VKJ703WOmo95amaSTaGJP03s40oURHUxYQnU1TS+xnNf1jf6P+3V2s3hZxoNUbI7pavUniINPEE92M5nrvbkoBoocpD4iDTclAHGL1tomeprQgDrf6TcQRpgQhjjRlCdHLlCrEUaZ8IXqbkoboY9Tvo69R/3+PNuUQcYwpkYh+pmwijjOlFNHflFfE8abkIgaYMow4wajf94mmXCMGmhKOOMmoz2iQKfWIk035R5xi1Gd9qlGf3WlG/T7PMOrzPNOUmMRZRj0bg00pSpxt1LM0xJSsxFBTxhLDTGlLDDflLjHCaluIC01ZTFxkSmXiYlM+E5eYkpq4ypTZxEhjO71fbaV+/9cb9TzeYMp2YpQp5YnRprwnbjQlP3GT6Q4gbjbdBsQtpnuBuM10QxBjTHcFcbvp1iDuMPbU+51W6rO4x0o9D2NNtwsxznTPEONNNw4xwXT3EBNNtxBxv1Hn7AGjztmDRp2zh0y3FfGw6d4iJht1/qYYdf6mGnX+phl1/qYbdf4eM915xONGncUZRp3Fp4w6i08bdRZnmW5J4hnTfUk8a7o5idlGndcXjTqvc4w6r3ONOq8vGXVeXzbqvL5i1Hl91ajz+ppR5/V1o87rG6Z7mnjTqLP7llFn922jzu47Rp3dd406u+8ZdXbfN+rsfmDU2f3QqLMbpi5AfGTUOZ5v1Dn+2KhzvMCoc/yJUed4oalHEItMjYJYbNT5/tSo8/2ZUef7c1PzIJYYdda/MOqsf2nUWf/K1FCIr40690uNOvffmPoL8a1RM+A7U6chvjdqHiwz9RzVAlPjIYup+5BNTC2IbGrqQ+RypmZENjN1JLK5qS2Ry5t6E7mCqUGRLUxdimxlalXkyqZ+RbY2NS1yFVPnItuY2he5qqmHkauZGhm5uqmbkW1NLY1cw9TXyDVNzY1cy9ThyLVNbY5sZ+p15Dqmhkeua+p65Hqm1keub+p/5AamJki2N3VCsoOpHZIbmnoi2dHUGMmNTN2R7GRqkeTGpj5JbmpqluRmpo5Jbm5qm+QWpt5JbmlqoOQ2pi5KbmtqpeR2pn5KdjY1VXJ7U2cldzC1SnJHU8ckdzI1WnJnU7cldzG1XHJXU98ldzM1X3J3Uwcm9zC1YXJPUy8m9zI1ZHJvU1cm9zG1ZnJfU38mu5qaNHmQqVOT3Uztmuxu6tlkD1PjJg82dW/yEFMLJ3ua+jh5qKmZk4eZOjp5uKmtk0eYejt5pKnBk71MXZ7sbWr1ZB9Tvyf7mpo+eayp85P9TO2f7G/aA8jjTRsBOcC0G5ADTVsCeZJpXyAHmTYHcrBphyDPNm0T5BDTXkGeY9owyKGmXYMcZto6yHNN+wc53LSJkOeZdhJyhGk7Ic837SnkBaaNhbzUGs/VZdZ43i437TPkFabNhrzStOOQI03bDnmNae8hr7VawPM6q4GXo0xbETnatB+RN5k2JXKMaWci7zBtT+Rdpj2KvNu0UZH3mHYrcqxpyyLHmfYtcrxp8yLvNe1g5ATTNkbeZ9rLyImmDY2cZNrVyMmmrY2cYtrfyEcM5XtOtRrpOc1KzfhHrWhHyOlWat4/ZqXm/eNWat7PsLrd5RNWat4/aaXm/UwrNe9nWal5/4wV7QX5rBXtBTnbivaCfM5KvROet1LvhBes1DthjpV6J8y1Uu+E+VZq9i+wUvN+oZWa94us1LxfbKVm7RIrNfu/sFKz/0srNfu/slKzf6lp12Xe1saC/wB/IDDcAAB4nLy9CZgcxXkw3FXV93T3TE/PTM+xMzvHzsze1+zO7EraS7u67wMJSSBWiFMgzGGDESCtwICQAQMO2A4YLRK2Hx/gA4MdbGBB+CAE25+dL4njfGFt57Jx8j8h32/HCdP66+ienV20Aiff/4G2u7qnu7rqrar3ft/iEMedeRPNoCYuwy3nNnEcyA2DYicoFkTJAH5AjlIuK4bNUKSUKQf7OwHK5MzSMKgMo8owsFPAjoiSGLEjdqk3YosQsId7y/1mXwEdeEH1i0JPMdlvWraiS0pivXah3zT9MLf3ItB/tzM6viE0mdUChqnBsF9PimIOQcD7/P8sWEA8rzqAH06ZJpjN7h/oHPUrSiC0oliK+psL0PQ7o34zCi5oaS87E+A2vq/fqgwv8UHIw1TTppuQbEp+EDSWO78DT7OHTT+Y8Zsc7ib+49Ad8CLOxhe4s7jHWTFkC5FGEOkdAeUKKPehD6txxTnvV2rcUgFAPBI1kUc8eFmBOxSgOkv+QQnF1CoCCCIIEXhTjXG1usfgi1yC4xRcTyErKYBWrwARg6ai4G+U+4qwA6iKFVed3zm/V2MhFUjO71R8DRSg4G8q4AiQFXx2/h2frZjq/Lvz72oM35ed/5e8hz/D4/GbQafRCJfjurll3GqOEzJ4+Ew8QJneSEjMZbzBoyNS7o2ETQOgbKEP9xA/IAGxDeCr8lJAHrczpFyir6J0daalDEC5BcwYwaDhjJIjJMeGICj/vY5bMkza6byiPkifIIevOVOkCMhxFL8Lp3Ad+IWgUaU/QI7WxeG7Z0hfhykEXlHIIw3BGXbiBNqvl9Ao58Mj1M4Ncitxz3DHcL/wlMM9wPMSF/BlJ+lNsTAMIngy9pbxpEwBiXax2D+MO2WHDZCpvwBnXqwKQvVFdjz1U57/6Sl6PDnxoVYZheNyZs+BCzJyPIzk1hv/PJQAINFMDkCbK4/WKnixipZ6NeBj9chgvy8eQGpre0erDwXivvISABPh0VAiERoNJ+ZK7lw58208fqNcmszDYh4Vij2ihAQDNAIkRkbw8lpKetVXRJUyekG0nH/9sGqFlEPOv1qa/moXTJtvvy3JQA8C2PEdHfwmiFoBMgEwHaeFbzL+1PklXnh33sUHDVEA9mvG3DfHMFQ5IdsFJLFQsYqFMp72KSD68Sf9oFJuxEtiBP91EWh2gopVrvREbEtIYbRgRSQRnpGlt98207DrVV0LPqaHecO46LMqLH7fH/heAfqe/LkpXXKJGI0qwu1KyFI/DPxBXf9OJwzIo/xddyq2BZJ/ajTxcWgkwijwBS3w1jWycs1vAr7PZ5H/f/65pmhRDQRpV6qtKG+8hruiiRwHafufR1sx/LrICsOD2wnLlXITxUYGBiNBYDxuNrluqrhzguIyET3qXLr62LLVu+Jt5RvBxY8Nn2chPRFBgTXlO53/cWlXPrJh+E7QdWlvEEXiBgwvqXxiVwbMVKsd7ZVPPPOF1Y/0XtN1dL0eEXV97APNe9umhh/61O1de9unxjcbuhDRL9q4erfOk7GFdA5P4rENcA0Y7PjrEY4O5wgIkmlbN50h9/D3eAtEU4oBDOXgXwP+ew9P7IZw9wQ9olF8/ajzeEz13Qa0ex/+nsN7P+EjQTe1b5H1gscVLL5W+ipl8vkivhuKMHhB91mRw+PKbTkI4cEt7FheA8CaMjtqIWX9rA+dOnToFLpyv4LCMYU2lDTd+aeUCtK117YcBMO198prqvuCcXUj6LwGv4nfH3zhZl/cRCrtCu91jXP78W1Mj4YwPVrHXcdx+bBEBnMYVkq9dqRMpmOh2FeulBjhMUAxQoYXj3jOAGF8M0xIEcUAGCkUaTfx3e6eSq+dxZeYZEVKFBL1/e8E/R6wwHVmeRUEwVxHnG/Odu6JqzJqhCvLfMe4T9d3736kGJjavtGnihm7IQdUURR5aJk9ubFum+dFS0/mYC6BhE/u2aapvqi2amMNwaSSkmjH5EzOQx3LAQAry7GuQghEA4eykopyHeW1CJTb408dvX50Qui+8roHAtEG2JQwQiLAH+IDe1Z1pIACkSADmO/PAvDdnBCNKXyqhoIql3dqMUPQ+m8e9RAUm4svY3w6gudHjs1Fb0ZYIIzXvIjxAIFtXxlTwEq5N4Wn5AvvCMI7L9Bj/AyHKR+mf5gKHiFU7/JfY0oE0LD3AD46DzpVQIghoYa3Y8IAlAO/wdidq83PGXd+di2Oy61C1k9GUwxhQjxHiwuQWwRp96kx9deXY/KpHJmj0JwKFkXQzn8qym8OKACTndshI9wI8ErcXa+sjcX5MEKYHFJEiVcPwYmYjlIoRUJ+MK9lEqFm9xwnHMPx43VlVN+c6rcItT9+D/n92PG68kI4lc5B8yqEr/AztqWRTHcCKpvxFYvB6sbjhL3AH8NE+9g9CsDjeJy0T1kcWHccI7/fcw/hP+45Rtp67F6X96iHV+MCeM2HVMTuiYjzWtU8TcCCK8RNOMEj/F99E5yOx8kPx2hDp3lRsd49h9rPAZvuHjKVGWAIwzWCl/2iQMFT+gTtFxkv5QkJLQ6Mj4n8NHmIAeJxyaK09AVKS0l7cGv6GWLBTenFaKkTfz9Xa2UIM8qhRhTpHQbo+U919gpvfeWrb/H8W1/dvVVTfFF9xfpHvsvz330E48RSl6Ii+Fn8GaCdGrh7LXvuK28JeRGvdiGNcSZ7dsVtvXgBQP6rapAsNEwez7xIYSRzJpfk9nJXcCc5zhqm3F22kCccIClU6hi9Sn9fF+gjuDKHC+REWP9QGPP9figmycASzFoKMwD3zxXIoRNg6BLusRHkQIhwk/QVwnH1Fd51VRgCuAnl/iKGTimTwlxOOJSC4VnQVG7C/8BMU6UJ/0vXcZFfxXQluDKfA5bUkXo61SGGmppWB0EaYPyLGcw0ozNT7JQmHGuu+h9AlZ+WfSDwW/CfQQOzrKR+QDlUt4TvWQkLNCp5C8yYBV+KMLVcgny8qYGdHmPM6DIBzxAe4XFEaDieASAdG+FRS5swjXje150+3dwPIKN00DuD/ubT6W6wAsqyUKr+rW4GjSyuNJElvfJKpn4aN8Jo+FQoDKLmJ5OYhwsa89dVw4J1lXMBGEmCEhm6ebO68SXdwu09gb8xfzkJln6GfPhNwlovWEfNC75Qv6ZyeMyY+EB40L7FkTCaphz+zMIvv/OduuUDbp0ljTjDUQHCk5M+Akc4cjEnJBEsRsWvQ3hmO990vk7lr30QC2Ngrwr7FcV5FqwhCMI5CRUFXIzFLtKnWbwOG+msL2C+Ac/jLBbrCPXHs3wYFAATfsjk77fJ5KcyzpedL5pd/V2m86UASvRl4clsXwI5GTbyacypNycSR+C+VCaTqp5IDXbFYl2D4E0qwtDezCZaEvgf6YpAZWnWhhTXhjFCP5HGsp2EglHhA7cFMxi4VVhezmCmBRQwO+ZJZRg75LxlirZU95KGBMB22jpwHmmdc1+QtDNEWhkKOF8MBCkkg0Y3EUrwv0y8c0mq1tglnXHEgWT18SRmE7JJeHHSyeIllfYaf22ItDxBYIfHYQal8WzIETwGMgwHSOTPxFMBt7Vi4nVeNzesTuBCcNKZxqtwFK+7SSYtQiY1OjfV8ZFvMkhCT6Ast1AJkDyNz9Wfz2ccWW84hs/ctpG5Os5NcBu4C/HoLoL5gSf70sXRBubJvoWci/Pw00QGrkE7Tx8t9PcwKTi8KAcMWqujrNWTBIj0AJlsPE3RFYPALm88nDeDBsVj+DC9GG/sZFwoMCnZ4WpSMpGyKZxgFwPf35GfyB+V+2fRNB66MJ5rRSz741FzR6tkE4pXqo0ZGyf7XQU0Wp1ivfnJDjWu7vgJvaj+I/vWl+ad8ERyh2ynoux0G+wcdfsJFpy5uvb1c8PcKm4zkzQ9xomgE3dEPPRCx8vTXLARknJYXFu8/ZDT1UnCi6xZo+p0MTINAxsbd3bN9fCFs/UrrUwS/mbtWmVOM+FBHroz1O02mF60t0ymnkWzuL+YCuNp53clEjIzAVVLADpB4Wzv7qburqY9vQcfQKA7AYastt42C4wk2wF6AHFN2e6ubB49cHD4ggbnJSsSCYHl2a2jBx9wv/Em/cYAhqZYdJdjr02wSrGQY/IMIMiTCThZytcTPgzTWrpWMOaBXFu78zL93MEty31CIKb1DOGJmUqCZXaTDYbCTQBP0qbxxF2E+7o7v6ubNLWrwTndngatYJw2B3XJsQgv5fCT7ctyzst2FIyGV3bieuLRuwiTeXcm5/Zips3l3X6J13ESz9duPB/obCCcEZG7SpUy0R3iEa8QEY00t48wcMNEAqDtxv2wMR6tsH65uh7SHxEajYXntrGB2vZcPh1sBCD1MVXx8bIWz6WjpsxHYkog0YpXQkLzXegLAbl3NYSre2UQjqn92yHc3u9ryH8Dv0+Q0zfyiUx1NJN4RZRjvmB6xf6xlO2LBXhfOLN9fGxX1tQPmnG1fOfOnXeW1XgQqksevfzyR5f4XF2c18cit5zbtVgvKU9EJ30jNHHXcuD/TLedE3Tm6+qMosyoOnjgvw8G2ECpujKjwCfxwfnsHw4Wws/gCfAE/AVncS1U2+oHjCuv6YkBEWVMj9nAEjoR+/rAesWSZqgUhVekDy7HWOpKUlJEUVenFfi3CEkzZP0er/4zxZqTasAZUpQD0KLoYFoN8FDBooaLj57AdARxMdyKJbgdpXAOzOfYyxUqQIF+RgiSjJ0tCKGajrSf0mowOTUFKw+1dde4m1WHSw/ihlSnGBNE+czJoEGpwhRuMkxPOTc9WDq8qsY0dbc9hHsGbqgpTrdSvEMxGFfXXj+GWhPBn8Dl/byWFUv9OXKv1ixyE1AkW5kvhxCt3gI5xKb4s/btp6emAFdrLGZDdfVzitLZjZ49duxZhI9LK7qtqvryufZ3teP2kz56lYxOObNeB3BVzqzyOTxenTeMsRrwMcyrsagQqwFtxZE+AjSPd/pbSucDXCuWe5dxB1iP5/VOIDSh1jGypjzCL3hEoVawCDkM+zFqDJspRm5GYJkssn4s71DJx7NTYCo5ySgH7fzmrhW+W30rugbWArB2oHNCO6xNdNILZ2OyUBgsFMDeBnzO5+90urMd4DSfSIJgIpj4MY8gDyFQJPAjl4iAUXyadFmAPWCgvX2AVEpq629r62fl7wBS6WABAFLpYAET247sBRfD0GDOeZHyFcsLoSsRhAISkXCtpFhG9Qk63y9qqXCurvw4Gsd8Z45by13OfZBgHoxSpB4CwEqZarlKDJNgDBIScz0FPCOKOfJQkd7Gs8rGT1Z6ykRcp5OM6dfwY0sJPcHsKn6F6NSo1g2fCDJq9CQ6pll/xFBXPCDjpunaU9sVEHpds4Cy40s+HTdWemCluvIygd96Z0cpkuX9qrpn4+Aqng/4+VUDm/aqqp/Phvs67tzKX7ob7jgQa7HD56/S4mLP4JJuMa6tPC9st8QO7OjCtSeCAASbfOMpRIp8fpsaN4Mx37YmnowDSk2op4Bvz/rdr29X1OzlfQhKCl+6sklVtr++Z90eHxjVzu9a9cQEKkqyvr+nd1JTpDyaeGJV1/namaDxEm6t/pIR9Oblf6IZeMbl51dwa+otLETfSDhIItzWW1qGKL9PBF+U8yRu+la/95YB8uFMP2qsHnUZldsJA5ggEmD1MB3bIxiFkBvlZxqDCdPEJdWZSTQB0JQAo/TsfAaM8uTd5ayOveQ9eqjSaXMxPeDfjuIexYPB6/CrU6wGfHppasrjr1/G5NnHJbgsxozdxNLirTzS8hpf6UoBUjjXjwlZvmQWC35AERJGpBksx5TCIYa67Ui50l8yQ6BxmDSBHODKajzdDkBzCr6dagag3Xrzx4LsjJxcpWnjzsuy8PYZ+PuqIZ0xZFUU91/ubwBvgikmhmHZvj1d/XiqCEAxBQ+m29ff8YAsO59s4PkGsEeQH3ACQABf+H5AFVFzs2gFvu/sEBgOfZPilAZuFEsOV1DOjOARIgjgWVsgV27H8ABaeFJnKM8Utqm+o4yRJTW+kBN+ZggU8hk7I+TwMmAv44VALpiYTC7IEGdwCU36TU2qflbSzJQJurNwd7YbmBsPKKHqlBqA23kAtw+1rilaYy0tLWNWaKCpdWg7BFUD7hivdsNPtAaHEX6TXxNoMVfzwaQJe9JFXAVBDSBi+k9LmiadJgbN0/gu/gAug443/EBXfiTK2ubhbRC0R2yM5iNw2/A2Qz05NQsj7eQFPW9BaOVVMjJNSQC6cps3ZLtd/uU0ehEt55q59Zh7uczj2amqEa99WgZUoUc0WSmiAcVlYkMsujJ7F+Zmsp2w0lch6AcQKxYGH5JCRcqHMo2paNdfgKdzsQlFjbQNRXwxdcKOgW/FJ/AdoJBbmITgW86K2GS3GBDBt0QBA6Kh1BwCYXLDmRCA2J3Bd4phkNMt9WuEHXhG3aaTYwwflKHYSlxJeLg9jKtcGVsRBc/Y0VVqTI0MtYOwQm7FnI3RD/eKIvgarrI3FGnubWjO9OKanY3khgVAuLnUUPxfVhzXZ8XUZ5RJzJR8TaUHypf/P/BHKIDxL8G7oGZbVQAhs9OWH4uHWDj0F5KG8woYNpIBeuUHk0ay4HdecV7BP3GyKzMRmt/IdXEj3CbuIu4D3BGyHj0mkuEOVOMgy2Qe58z3+H3h+8UFv/fnPLnZlY3ntD5UTANTruDOTr/y+AZjkdtg5g98frp2k55G5tiKKrfoT86Mq3hgp5eoUo8epoiOwf3FIW/h3xz2pVGK2GVXB7aJ6knjmG42cR2Ybh6llrMsYU/LRQ9zY3pHrvsKkqc2Emq6A8JP9BWYu0SKUMkSpZo5QnYJs+GalnrtyDAxSLlCGn7CjlQoZiFyOmGAi5TGViLEGJgG5a1l/O8Iw3/XZjs6Jjo6spKiGIoC1ox6ytJKKusTU3uafZIe0/JFETz25S+9lYs0QQglKDQ0YB5r12YtqsnahVe8WBWSCVCKxsx4akPbwOEJfCPvXHrF+Zc8EZk4XOoC/E8hFprJh1uYWukhQL460XER+aqhYNpDPgv+pXN9woyIsURUikYlKaSnf/Hlz52QByoIyXJI6by0H3N3RVGJRsVOofri4DW9YMO+WABkGgpFfL38luppUFrz8cj4/eM7Ljn1U65u3vuoBmpu5nOgTkst1bsmLHL/v7tO0BTT6s0pyd6jXH37D5vo0CVp0+x0hpt3CSb/K8vAtY3gwxSYdeczZy2uN5llo/y7eSfgzTmw4Mx4oFlXB9eIefPVRANXPzLI4xbKnm7aAAKFtMu4u/odRKhuvXKO0GKXFHsCFuOo0PQ7tHeILOhramIK4airv5v2VGVEYPkXg6hqpl2hIwjfnjcCRAijkHWmam8Y0wyKtXeIdMbu1j3jKYGmGXx5ald5BdNGAt8Pct+leILBs8jQBWYgMLUUi4w7JvJ8ocgYZuJZUaAUkboiEJKI71UIY47LNmHKCS/tx4w35dUx4+0nZNV2nRZwrRL1spLEPHkEo44yq4TU4ZX6iLsG+ST5oleSRPYyedcrhYh/B6sHXxItV92ivzKgrgmF1oiW2tcpYw7er9+qmkLcD0X5UgAulUXojwumeqvuDwFF7uxTLbH2vCK/9/OC8xdhe6XPamy0fCvtsAWNmKUFb1LlfRjvQWDsk9WbgpoVM6D1Pp8DC7Clk9YvhfDsLVVD6tmb+p4v1MMC7KTN4Pl3N9ef9r+7ve9+UAviB4Pa3IML7ZshrrLALuORHouItYTyDDGprELtHNSqMedMUm+mYYrOFZEsmd6gsyHcSJc2uWI+JKBtvnVaYCYNsCrcGioTWahcHImHCoGWSn8LuZzYBeGeidwSTz5ibeY4hQtzGSwhcfkadbQXs9B2gsWbL7EeQs5To3ctYnU6ZSzSnwTprGveeHRRR61fgEW61jQYZ11nY+LgdZ/mClwvdz4ek75+YiIlwh6eOGGqrOqhhJxRc2L17e+rp0kWpitZqccAzBkFC4uYPcCCeRcWsubkD/QncJ3am63+a6Zb3QyU3ramruYVsdiKTfiwsrm7qa37tMORJlIt9Q1BQ+CDrWZhKNEwvn6iIbGiEMliUkgAkoO7Me6FGCrCt5KZdPJFIZHo3Rq1MqlUOo3/QvbWngbBoz9GEEoSgJZtx8N21FYkFDS+iN8HXVkyvirF/VMuT9qGZ+UAN8Yt59ZhCeG8BZIw02zOM7jU02k7QxCmR6drdujaXJkrzTkeQsbDVT9R8zw0TjAtJ9iHj5udMVp+SbcsZ6KbzdszeNrML6TrDAHE5AHP1JwR8dE5YiWCwYT1EpG2icD9NJs44XknNtepLYqjc51oEc9j/rIuJ7gQFvPF5iJV8lbYJKecIvlHXTTZlBeptxK7AKMejwfXVg/0jAMw3gMfoefqYCQFQCoCH2Hn6sOCoGkI7r4g3hFO9DX6g6q26gLSuUqHoTR3tE40WPkQ6BpRkQk5xsM5CVJfhNVb/XXPOHyJ1PRrt+YIPldfAkJENx9XgIrZTh5ms737eQwoMFDKTyiipooyEPZnfRqzS8ygOzBcCkT+KRRNLNxl7EjYpJYJLDX2m4h4XuGxJ5pIZOLFPakHgfKj6hs/lksqCsZ8w9rvRST7VfiKGpCg9PvgKB7XWU156y1Fc95sUWJhhJ/0gyZgS8GgqgaDkvMrp51QZ0KbH0On0QbXPngRxkAFo6YrzxaYkksi0EdYFsWkMAUo+e1EBiS+y2X6LOPF8dSfm5LukLkWFvwiutEXM6EvmAGg0hptNfjRht6Dwv7rfWLX5snLdg7HRMEvSdGYFBblzMarbrvxsmFFv+82cVcuOSTY44UVeyDoeudf8OhSN4cfmYaf19G9d4XCcjq0+0Lo/wuFOKAGhqOtFRCxpJ3pLhNG7trWMtEd9Heu2NTS2KBFDUkrtFWu3DUYjAzvqRz8cgPQG9M7xFQG7lnRfD6YYoP8YZ+RD2g7LT7dHOH1shSY80mconaqAvGdLEhFYiafp4+nSnCrnsFb4syqOpI0wakSofcHGHX8BgvayepozQQKzgMZFeMc8kgspP6g+mf0p/5/xi+AD7luvQt8D7rfww/MtQi4Pk7UF6xvUR+EkGsduJJoAKaxfD+tLu7Jc0hRrgAlgk+d168irgRPqNROML99vedoH54ZfrDQkkEht2gLrcclS4E88yG6gjY1Flq8jc9PS5hzgMw76XLnhxTVlQ6oxKOOrLkzxO2ci+ALPJULRUDnvAIMagHEoIK/B0DkNeeEv9iA2zrkvGqAZMEP9uI6wdUAGikf2Iil1oLf+Z+49kJKB1shEFxb5quojxtyrTV17rSExLG1AyhDyte53hZJC/A4LSUwwg0ooC9qUT4WGW9/yPn6B3pbotsnBqeWX/yVkYqFjHgEBbr2Ov9wy5JVoVzrXhC/tW04eI0eVVTtpCgCXg3wS3gfnOJ9+oqe7ZnLuj46/vhn7+ttbTlvy5rz9YigG2uHPtS8o+2m++4cxOf0eb1tvBqzxREIgE99QreZTAQvRpwnEwFvXUvvKoCToLylUtlCaMS8M5w+m7Tk+t2TeRKmnMEwoQTE5kKtDjkiERAi2FeQMj1kCnt0AEv6lNdhPh9WXRlNT4Nys/MSJlPTNdHn/uqMblEHfCKdOA/Nc5KH057ug11PYck07fpXYAmVueuDyXr3BGpcgtTW8guUwfjyw1SO8YPyPCtYmcopxHmNyh91liMJT3sDNEI2zL2VElVy5IdpJe74s+4vnTuTtTFE5g0R8/q9M/prOaYN+vnffPWrbwnCW1+tXNklCIkoJlNxnxVGqOWC7oe/z/Pff/iR76NohxCNqcJqnhehIAqIBzz6lI93bqNunJs3UWfT3Uz7w44YHvWXoNfHyy3lwa/+hmcfbEgAFAhhsgJlvw5ALMZ/75FHiC/yI+NDBzXVZ+tPSQLxDIXwoBL7pYI/oG7YoOLPKTuJk1Ua/42TqsfdC8PFHcSXv4dbgmGL1w5hE8lMoB7JiCieMSgRpfPkBxIy0wgsd3JY5QJ1FSBIT/AK6KlYsfpvNGJGV0W84LsDqhPHhLCcFEr5AvmhoAZQsiT25MA/5HrEElSqazHzkM+Xm8A7HhexP0n00AJSZOcrkgaCKrjh09kOYMUsYGiPOffmuwFoSYNtVr76RUY+EuxEeR2GD4jt1MJYsYj5wKXcasz9XIz7aGbM/AILgbDgHrXwnuU5q975yV70Apw6g3HSGc61fbAz+M6Cm/m8I5zluc/gMUqa1gM0jMh6hF3BWfIkJsKJ+qdHznbTAWe9+4TpBxwB/hlOs8CiF5yEYfc36Ak0wmmYYyR2zSFukruaWCI8bxiMf/L1+nCBOfYWspJL98RwikWA1NSPRVDzYMfQpNFXxOxCHyNFYqwDNXEKi1tTrqcMPrzzv3ULnzGNnFThGnJzymq3qBfMPpUKUuoOpgqwQBeuiH8LLxcejAz0yKJPVky1vf+2e4/0daoBVfYJUnWCBQDQI/w0c6chB8g+Rw43k3tHVXUfvbQiGIe2RKw1mOfGDGXa+dvBPzrvKwQFfGXHwwNrtZgsGOPFtvbmcYM4G4CrvNrxsU7eJPDs4gYJD56vny25eVPnrDg5z/iaJMgwnt19ekGMFJxkYPgBO4G3z4Kfqw9hrDqmB50pMO2MehokEi5FWOXy1NnwLynD9HzUzZBUNe2iboLI6QvM0TDTUvZk7ZeonjSGaU4Z45iVLM6DTQMiQhCMQlB3pUSRsjsBMP4WMkzTyYyTmCzl+kuSi4mzmB1GHDp5yy0nEdg4ccGRMNT9SDNR9Es3irecdBA8PDl5GMLb9ip7D8HDZ+jspnO8a2ZmKk2u8AFYkMMV4Gq23pHPP3yZZiNdv/4BHt8gLx+evPCwIBz+pemfIS9gsjYzNUki+1Kmx5eyOMQI8Q6yRKIgwyuCuUwWyWogrpPUBaITikQ/wLzF3LGzS254VylSN4STfp+CVHBzw/IYuFlFoajq3CNHZOcuQYGv/wi3ua2zGQSNP23qBAQ7PAU3Tm6BX5FljCNQO5gGhpqQQRnLlm/IiRCuqIPnnT/joTNq+h8JxkEs9AixumVBN+mS8yM/uLFn6dKeG4FogA52q6mNq6MLhA/p4rjMu7C8hSnFOagCWojPv4SJwn32ogRgHgaHq5PXnh3V1/Q3p9FyroHLc53UV48DfVTWIXyfa68wqMha5irlYE3tWfEKeSa/9tRsGTUHwydQdCDhy8dKHyKhKJlULsNDXbgJrG8/9sPqJ5hV4ypX//zJvoc2J35wQ/+t4/jRnPNz1njU4sNoRxei/nQWs8jDN/T2b4oLPDBBpOtOoDpjro3iTYB5NcyxXbXu8xsbvrk2V8APj97otLrwcn3nvovXTpFKPVnmGbwUUIdJz2Bvhz2bF2Vy0TPO8fh43LlbFeSAmgadTW/g8W7ubMNz5kf5tjQGuwj+GpTwBHlNCFmq8/F8B0b/Hw/G48GP+832IjioKyE6/i/R8ScyxdYFVo06S3u+tpapsahO8vADamCSykSdTIbEXe0M1+N/cIq6VRuAHNedJkVyANcx6QLs2qbF/IJvxTpQkzAELcSLfU0aL/gsLIwLKKjxvKTokpi+Ofet34NZj6ukp0n20vmPDUpCJCZ3T62uufUA6PMZxXBrWvADENQVyV9JKZakIH1Fm/RX9fYDjRvAEvpm7l68wucc2YmLQb2xoM5dl1oIXFWnp1apAxiqK9vUz5oFJPT3lVJMjZhyZXeqAcCfIA+U8YKzieKOVE41L0zbH4Rfq9aCVeFUzaGUOYMy/VG1Muf5Wztc5zMFXZeuHOjtnPngJgQ3dFeukHRDDBvi4bIeAHrLKgiGjg2BYrtu6uUjIg/Sc3YGYsVspnqsMd39sE8kXi5GF+6Sp7IacZXbrqVonxGNIBiRQq137JtBN628/CNNISkMScgigjEemvpYQE18YM/E0NDE+QczSgDXDfgYBLWYYUJDG7kRbh23k3AjVCHJXA8rRTd6h1n6iQuVlCVKT+pH2kOQUyRE9DqSXfEM+otIyTALdFvJKyAUV/JP966mvrZWf7A3CIJfUewfxEKlILCeUWwdP9ZK2IOWZ0rrCHOyzrprESkacAG1zUf48eZnKuuIKL0uaPWHStafKP4brJ5gv/UtNRBQOtQElglanu2mPM4a643F5GwXHtOUp2jg2gkGzNfPzvdQcrKgFrZ05xTzzI7lunEHQa/nau3No51GbZLhKcTfuHrN9Qg/yX/y4slPC0SU82YXsXF7nvUOMVK9OZ+duH3blRDs3307LX/4TgCPX3/7nM2K9GvM7deKP6xfufxcV9wgSUyepPfbqyrmY/jpyzZ8JCfK0aiUuHTpxpvRuzrmvu+Q8xncMfoqifrBC2Ts5jsB2DyhRTVJ6xu+dDdeIy4ufdnFpZXF9TMgizGlWcMPYbPilVM0AGNRJY1TlSQTjLqN/CfizGbsU01JlJ0Ti8fJVU8iJQSWMw/+X7yIz5plSc6bMh4HieqNvw//iUtyLdwYdz53CXeQu5HyboRTp6idaHBoIVzrAbEdMuc9kcjiPdTBoJyCUg/VX/aUC5i1Z24HPXO3ywWhwBIykDIN3SbRzxWvAH+qmrwP+Oz9EzCCfEKg+OTOkRXi337sGz+BcJnzzHXTKn/vtfQI9nbdPGIEJNvfvnPM1AW9ISaEYndHljZquhDS/ckwFsV90TCvas7nBi6P2cXK0mvika5rtWKTYhea1DzvN5BsGDz4GFS0RMlMKQ2Q92f7zNzI9pHDgwcPAeGxnb1LnB8q29asuVanR9jfldNQpAG/GRvf3mzYss8Y/FDWDoqYgdMgUuwGQwtLqtaw9JTe3t1zvmV29pV2fszUApmMZmRaJQFjY/znrYFZNIlpTw5LXgzXdaKiAamQwLTx1Nma0IWIbYYwwPLuLcwCmET5gcjKxuvEyriMJSXcmTraA3/Ysza0riW/Np30KcJFlYFdAoJLWloGQCAN/HCN893yhQIPl7XEW3Wzze5dba1uSQ2F7MFrKT6nngTO10bIVCMHwMGEzwYgbFgmID7MKAlhCkEQhdCGCn520lRR+jBMIgijUBfBBaLCXjEk55SkObjDdA2mGbWgqlc3bn4KJbkEt5xY6fqZE9tZ1DQScQgiUdaYKFfYCpsnZxA1YKZYQJOjmG+meTW8wpfTJLgtbfoxjl++GbhSxeblF0yFeFUwJNgq8pNDpHFD+I1x8uo4LtyRo2F5SatBMqNS8+2bmSix7XYiSvgJ/yW7seGk/UT+Wf6+ZR9wjo6i9AK5R9SCkMg9Nz+xQO4ZfldXQZU1cstHPHlHu+FjAnry5snbyKt7D/PSYefFea/Qgjcvn0evubLcam6y1hvKbZ+rN4UuWMj6IXGto8t8hCplybNdBJ1IYtgudtIQlEoZ3+ktE3/MRoBU1tNNExceCUHdkKiA9yHJ6+htCN12oXrhIfi8ENpWVPD/20KqbyiAZCkQWrOWlwRFlWSoD0nCEVVMY05REtKS4E8WJYMPBMRQ4f3If87vgry+2bI263xeH9qtmoIitrZCYjcw1d1DktmvWoUAvoaBguFPipqUThuCSHnIM5iH5jC88lhK2cJd+v7GH4u+WTJdl9ZiYiTKExKRhqW5EV3jD3ki76owazcwJOGn0YNXkxCYiYEtHwpBTSOQi5+4HF19vzNeC+raejVw/Ljhloa2HIDwyk1GEIGARoK81n5RbktqMVmSVDMpIFMT/brzRUuPGbwWahvWyR3d4M21kLv6QYQ/tvK6XPYjuykALzsK0QMH6sLRNoX8mildt3XLB5SAjr8hbigPbvjr9PIQrl2LSb7OkGag8J26JERjspbe06/ryNYmPuD6F7yEXkVLaCQdyfXTV6AeqzTUryCGkStyEut10SqFKTHCzEBfod5nau5eySL+zWxR0cX0WUu/J3zH+dau28PH/WZSXNkDj/esQLdVD0UyyL6Mxt7mTT+8YoO18TLoXe6PgzRz9yGqATipBcC2KyC8YhsM+Ks/KY0AMNZTSkWhepecMgl2MVPyvZsuw09seEDy7kjHq7+NpuCUq1JgupLr0EbuSu567hT3Ze5bGOOV6Yogk6SfJJKolGmiEKK4Jp4y5EzFAbKw/IBICI3uVQqSRURCKTBXTIolXItdLLA4L7IUiSxGfxnG0rNAjUOViF2hmrwiJsQkbQVdokRDR2ohk2wEv4bnXyOgTDY+ScXFGOl/FEUfQL0BOYyxvN4al8XQcIvu77FE//6LA6LV49dbhkOijCkMwK2QAr0I+LQdItBDvk29vgDiQ2KLKOTzii4M9eNZYssJQbDjPiEshRAK+Ho3+8K66CyJybYW6kjn7lSjaud4Pw/8+kgS9PsEMZPqH9YiQnT58qgQ0Yb7UxlR8PWD5IjuB3z/+MRessz3suP4Lgh3jdPj01jA9JdkpLfs7jQDSrJT93duSim8v9vPNzTQk5La1OnXO5NKwOzc3aIjueT3KfeqYVNEkUENI4fQPVDIZhXgS60RMOZJG7pPtfWlFg+ANhhBYjCsCElF4oU1Qe1iRWnzt43qFlSHJ/Ky7Rscard4n7YsEFim+XirfWjQZ8v5iWEVWvpom39TrdF7D4NDXqvx0fPJIXHFae4Q9xHuY3gOoU5i0R5yw+Qll5h4YTku62Dlil4Yfc4apoJTpX/uGdvTvOFFVKuHCVoIzzWCeEZcR7lG9vgwFDC/MQJKhD+h0UhdoGRH0EwrFuEFC/Q3Z5oHiORqGRndhB1h3oyj9OuqMNh8W8OQpL4eQglTTxdASE8bJujMXkvW27UIT5b+ljR+NRTQ0x1CHGmxbOh4cYlgIVu8zR+BlrCkeF8oG/NV9x/XDAhfw1InXC1p9xk2QK/zYBw8kV+mAr6dKjQ7st26Zendgi9ojC7rQkBImc7pS4p9AK+KS8CoVVQkczRPmZOhVtrgoDnEZIB0MCeL5ljeudBqSvpBX/OMHgYh/0xzH/AnmwIBI5s0wrIcNpJNmsvXvYx6sVRzHrcbc9TUEwOv6Jov7gjN9SJR5ZSfaA1cNwCRsi82db7BuL9mjxgm+oFCnmkKCpTvbgQ5IZyR+ol+ot/MmESltc6wRaMRwg0n2328P+ZDiQ/3KbzUpLe1B4VdAIKG7f5dn+xDMGWItrFVDwHVxugG3lXsB7YKzOpzZnuHlpN4ue9wXgh3HYbhKs/D09VDmglnMPqDzaHOFgQHBnNyzBZkiAUyjOhTfEAFgIfx9b6hYDtELZ2hZmgZ01isd77XtgSApa1gEAT1acMCAHP4SUvXs90NfLBtdBLscziCUJY43/VHGB/o+ZkX6+KGXasMWiQfzFy4sCvtPbRITpi0q7PwHnW+uHhemPq2NL4Pf6KFbaiXOM/t5uOt5Wka516k/nWL5Jqx3qMV8C8XyTkzeY7Wgd+dPe1M9d/eo9nz8kHYi0u8i0q0iwqtbt2v4LqHuQCN/MeMowFDKYgRDqbnOVefMT8Oj7rvoqHRU18/dWRi4gg7PUaM0oyIuwX4rdHx8SMnv37yCDs5fzfvZ1qgY/Ky+/0M8TcQsp2wbxj2pmDIgGiuMZ3QOgcbD7nddW05cmr3xo8eXLLk4EcfvZeeHnpX44brW3ZkHC1bcvD4Hx8nD9OTc/IsbWX5KkbhDMnrBzKuc4pr4XUdQDJMqKB+3Z5GliYWIWLdND0ZC3+st39kuCCJMLO8lCvERRezDUNAoaGqfQXKbmD8hUdGKpYr9AZFaGF8bdJIBDcpkE2TDM609mMU37rtG5msovpN5wvwzwYbm4YG8eRFanc5Eb3QD7IZOabFrHgDEA6ZfqsjcuC4Gg2pcFZuCMJRjIlP40peyGL0I8fNWbDWiVQqt4ztPDmBKWhMXXL/uv79bbv6+ytXdGq8Goo17WhPRW8ALaGEIPmjB+5SQ1G1OoqPNXpK9PCruG3UU4vSU3GOECYBDaD4w4hjvk4YrxfM0ekeAdNH3odh0NzUjEGBJKD6NvOaR/dsSvcS0BfPhqYp3Qvwk5i2hTDlPBXKxn3VP6YGOXKAwVrRJXvATHt0T1AaVSiF/KMtJQBKmJrllfnUzAjNUbPumlzujj+bW0fhFIkhUsgASvWpItFNzgmS/8Q5SXyVwGqwnqBRG+yFiuqcoDkh1znPuTiVxfT9A/w7bj13BeV/b+Bu5bhKNuc5szF9XqFYUxRR37xIzS2xRig9r3xXDeW6KeIhOddinHP/nUto8oYgbt2jGjdvy5eCMm/H5Gysa5cuj3U3rwoj0wfafSaKrG6JNBumT8vEIl12slEN0KDuv+no23rElPRQeLx1+PLGdxouGiBqDcpDeAXwY89fcswrZHxvfOJTz/N8Z1yLBQS1B8BHjh49KaLdm3267tuyi4fthfZrbj7QnMtBvsPAFQ0Kwp98YuK20uAoL1560e5LwOPzvkELo8wsdannHMG7/nSjnMWluCXcQaJLL+Zd92Y3PlQS8kLeixA9l8kZMbZwfmqvc3vTQB4h5zGf33OW9fucJ53nwARYhqkIxl1wkvrSMpvGqGvN+BVxfOtbr+LVu2EN8S5bW1rgOkMeGIVpMApNzVU+T2L+ZPTQkiUryEPvzC40VbtlGprSECS1KmvWkGC5ta6DTK3ytKv/eAEdxfLZGLeBm+Q+hOH2/kUyGnhM40ypPceT6eopI/X8LNKstCwetVzM02hn+jYV4ag0h6bevzhV2NMr6Eo+r/l79xQ8acx5YN1+CPevo8cvF3f3iEKDFBKxQLXXFxJ13TmEUOnC4lZNlyzfha4k1gh+Krx/USjbLgMlm/UhuT1bE6We8r6Jjw82tirggCVoS2wkyRam0Upb9saQJUvIHtQBH76cY3roMy+iz6BULc5qKcbC1y+eK/IPvj8vm0Kpd54Rk5ra8PBBmmGhxJq+9hIIL1nbjUX8ke6uUQBGwUF2i/3cNQLhSBf92elZdwkAl8x/g/wMly0Phd0fdq7gtSAK6O2DgL0XCatIFkS0gSRSe6EOYkQ+6Ga1dI84P1/sl2pjrZH0l9Eur63Oz1bYS9Lsp4l9qj8ehuJwG+1DV6LDlOOqiIRNNCnbnG9Dhut8PxmW839ICuV3/uL9ZUgG8zIgo7p8kDbNPVsfnVHnllicy7ZTlw7y0/PyY83LAlm93KgFyk3WMuQI874XZZBYjJOdIxvzPMTmteCFk3/F8391kh1rgSLMLlXfHFSpPXXyr77A2utM1Efyuf7rL6PlBA4KIAwWzXmHpyu1qBCxiCUloVnJvulMSZblu/a5sd4igHIwJPM/fpakJDEUMKWAh8ApmZcC6s+l6y7bflRULcwVKLcEnL8juUhU8Gkl6uULIt8cpjYsgpj6TcNNtFug9NiLDKBBAnhBA5cX7yNZYFjQNUyLouJ79sdIxksdgmLvyu/eQnr11W80Dn33I0YQ9Dl/RtKlWJYEpmTFmVJGIREjG81bFQnhlolHt19zHX5Cfm1vcSUMGv8C1oJNbaSK29QAllCdSTWqOPvV+TLI6ILZwqL5FogK3plkrel1JUg/CLuhf+F5wsoQoTb7cDsuIp++iB1vVAEmHldfShgd9cZ99JEFWe1qbxDqgv9CNxL78tVX4VWn3uonNxf4c68/R647l54Sx2ZGe4lC7j1cWRcVuWiav303EWlPuewq1oWLSBcuYkdqwSePnCtbHn7If6saD6pXXU1M2DeG3G7O9ZnSURKTAmdr8Tlc/j2k1/nxsnW88p7q2rZBAAbb4HP0XG0MhMMB+Bw5Lq3O1EJwnGDN8yGNnwa/ZW85atsgPBIOOCp5Afw2EHb9lJ2ZOT7Xy1M8wulYippgmdxMNggmwwImGx6SlaXfy7IgUecNL19DvS9fGwmvhtzWqyG8eutZErbh77KExaTwzHHaC5bOfOb4My/ip4H77hmS9I3kZTvDlUlipDLgymucU1QQn7rlSYSevIWV73s14DpjjARerc/zTPpUxj1y431YV/Lvvw91Wn7w1T+o3bPv2Ure1f2nXdvZzvfvOZjFgmXBfTIcKdEIAJpGh7p80/B2ojwpUwfWcEREyTmT2lSImtSYK2GdpenWvcTStDTU5Ncb0h14+gRVAC9XIqptXeY3wbLA/v2SCOwGJaeGZUvJh6G0iHXpyZtr1iXp1tO6rvoBGGiNZzQAJxXV2u9vCrUO3DqJy5I/BARbQhg3h/yy7q2dV+A0F6IZoUaIVxIVkUjuG4zOqBlNEknqinfdBNQjxr1N9GVFG2OU/03y3Sz9xOceXkpWbM/h+470qid0S9n1i/94cxeJnNn02uzrm1XwoKZMKkC2h1eN2DJUL1aWdvfaWDLEGG9oZGgJQWO9pf6Segrf2LX3gp3EI2bj1u2bFec+5Xwl5osnG5NqTDlP/nBHmzHn03MU47lOjANGiQ4BcxFSvtzfV8x7gU1kECO2UEtMV64IYs3dAKWoq1VfuRYlMefHBxJdpvOnfhH0mG0xd3mthkByfhzsjLPrYiMYE8DqCl07AwnirdhU/Znnfj7GbsyEgl+Kpy3zBX+wlgAxYn3bDLlXoWcCQbb4KqvhmPuyc9QNWnvUDZryfGHPoFmEMC/RgSWIa7h7SNQXC9eiCRlYsrQwZTszWcrGUG8lmsyBjKREdOjkNtH6sRRZ7m8sfXiG+UB59bm5w2t10tSEEjMASQakuoilbBkUEKcqKi8lk/mMirDA3tJRaIK6o+lKe09XJxHXs82FJiU4JmhC95LRsWURn6bFLaTawf6BSiloq0iFOhw0gmrRlNvaSt12g4rwXMhGK8tK3XprQL7f32Q1R+Px2PqM34SaNoknOoo0+yej8inclYSa397ZvSePv4XUzuuXDRxoEwS17QM3X9NOZLL8zgt2NmGe+BQPu1d97ptfmLA1EhEdU4P20oemHxiyg2pMFeRQVG0OqoN3rt7wsSUNUTUaQkoyOXFq19ZHlpvtfhX8WtOgmEynG+W4nivmzZsCFgyZN2U2143PELeDu4r7KPcl6n3UBQqVYWRTnXKlzKLeDepaRl0bvcSJWeIIQ0O+vNT9wv/dsQVVjJsmbQADSQbnaLPV5E/K0Q45agGpVUFKQJV0uHalYEh+nyApk2pBlaIhvLDawf//wz8TNG9KtodyMTYASRFqesPmdLeKzIRa0ht8ApCFXbsEWeVJ+240DBXiX7KYs/2/NDk8e/MMGsMUZy1eo0S3CypWjiXEZZuPYH7Q77p0utGhQMyTABk8UXJFiar9/GQjDMJ+49EseeENFRuMKkGJv/ZtzKkiCczSjUh2/CRgCZvAR37CZBD6U3VWhQdvQ1BEvMAjfOSRAOEkr+qCiHnywK22YsmipjyfKo76wj7Q7wtifnmWbkuyMxH4K3AH4aHxveqs0gk4+jYg/9Eqz3C6LUCf2tYZRFJ076ZNHq09Rfvdi+nK8vfd83rmlMRalYkba1/FJrn7/oDugu8MbYFwy9DQVgC2WuKVhpntOCFcphvZjvfsIUh7Lw4Nbbnf9F8pgY6soV8mgI45ueV2LCslKAdBlFUkEtD1pkYiDYHHqwkdxpLGv1egbIVlJy0Siejta3kpqOgqTEsIaorv9z5LRZKTlqygz3kdN0yFjXKwxtNiXoXwsztINjvgatndEI8MEwuZ10HbgkDrfC2sIRSxqJanwDAEFbv9tKU25mDwz8ANE2a6CY+xYfFwWPKerPezrHougXO5ZVmQevUbjOPCh72yHFRFUcs1N+c0URRD6uOGIQR9CC1tGAQBLaaLWlNLc86HfzPxg49qqhrV24JL4Exwsdy/Xo5kNyV19VU+oEXl8MqtK8NyVFMllEaRmA6A1vPB/WC3KNkxKbxy24qIFNNkFY2INl6rwZbOpZfUxm6MxWm/vxn5/mfde04tMqx6nS844URLmFfZwO2mOQuPcvdzj3KfI1xYnf4jU39RWvBLErjmd/LL3MW8X/Ls5Ma//Hcv7Mwc3+66jYOvsfPb7FR1L6/3nGTn375/3ukHZ7u5sS75DcmwOZe5avHy7DkOM3O5gv7ww2hNeGM85go6do1UezjfnxgUSKRVIwupIGuxUpbIcLHk2mZfF8gU650mPS/iTsWqzlhB9RY3tdEtyksC/bRwEXjtzlpjZudch8EPAwBkAt901rrhrl9/PvBlWXGWMylJle930/648uZHqG93D4nSXdBiUUL1TSwi5s1T14WCUP9GrdGX+2LKyxJtmfiiEosg6Ztu878lI4eFDdQ3Gdoy8p3hFNVrpE8GnA8FYr5/d9a5vXjmd774x+YCA7hazonTcIaLcFnM29OYr/w8PWst5K8+4q+4WJREfVT/8/fkW9EDB5nT2YqB4z6/qvhQ1aHubEyevr0G/o01LPfjOrS49etNeysHH0CsGpB+VhOVGPhwnTj+Yy/TCDvPzukCeDeerYkL4H5dyd1CItk7qULUVbdEyhWWNMVPdXJsRROmzVUpk2Bjb5nPKRMjkqe2O7tHJQWe7WWIqPn5oXFBiUYFfdcE0ZKqY7dd3Kq/+rEHX/VZgkyiwwSZybW60oovdefg+isguGzThssh4KGesBFCAB0/cOVH4VDpvBuCri9p+NFrMX9u/b2a8EMtN86c/fwwsBWU9KiqaMQBxQS57wfufR6hFz+mY3btbsM0jQ9qgl9hEq8aQIGrSZvukv3/A162CX8XXrbRCmm2oPu1hHb5vQgePzB2IJuc2qXbyNAu+SAApuE3l0kwkpDj24d1HYWNDVewWF48n6axzMtsACTrXaeb1QVTWYLVWMyykKmPYZ8rzyXHsM9SAlN1SdRhPT2rL1d7PSPdyLsK0MU30/OmC5hmMuB35p1q/iMkPw3NZwEWZo0g8YPEL29BPouYGleIavTXdNu9RkGTTOWMMlyfzuKPVfV12EMp/xtvEdHdeVMQgOGoMWfz3Bwm+61Mo1E0SfVvzVw7t4zoR9/Tj6UWydvdE6647IzH3uQzZgbOOqPe3ntsNwV7TgM068b3zdRtkuI8BEadGZI/DrlMQxWf0RHcfAp4hI/vzDIBejQ9hXvJPMQxeRgFsy5uT2M8Cbkg5u0aMZbp77EWugZ5za6QJnK4jW5INMtL+5+sXZ9xpsBUOo04/EvVDZpG+PzOy+zzMzBN4cbspn6aU86NQ3ov3WVtEOuMpmBejqGz5wWE0+cA51SdBZOwXc5f1sXS9S5CcEfnshO1EAsrfInZW5mO9B3Gz0HGOU7jn4/Mm9bT3gySXDiQ3HoZvBYHuRXML6JeM2u7BuGa4oaGWeY9moRnz7x8va6dgCaYkMRctrazn11PfUdr+Pzvmwi7lum7e0NNg93i3OOhbWb6Jiuil936o2kFEwoZqdO+mIlur/0O3bX6fI5wiZmewZoye+yDH/UeMjxlMMuhyAB/95SkYXI6JaNw7IH59GEONmuozvI9oeLpjPE8cuUAfNslEszrjxAWAyBqjfQY/veCxmu4SR/8tJ4iD6X0T39w/qU8rSJZ9fsUfDZj54KDs1gV7BL86ZQS82nSFEl3RHmXaXQHXiPEVjvAdOVEiUw1kGE3a5RLxDzS5nIqRP6RrGyhGOmt4M4ekq+Q4N5xGt4/vhdKV8iyqIu37zNXXbDKnLwDl529hFFXI6ovbaZ8ySVJX+oh+bmLbzse9ZNwfX/0+G0XPydpDZIwaPcuW9ZrD/JSA9xNxw+AKrACCAWsujYTu/6Od7eZxhEvBZ4PvsSodp+bTyZ8th5lJdfxjOLNs/RIlpAQ0ROpyM5JgNY3dnx274Wf7UyvQzlRjEbltrP19gbVR/vrO1tnTdFSdR9SwK3XbT/VFemDsD/SeWr73mUk9ZJv3QfOBggIGSiqnAsJz9eJ5Asr4XU9QmYvUcey5HG4ryEyG4n+tXI2e0CFzWehFLE7gVCulHCnp/djHiOoVb+jBwFC+zEjfOUOoXjtxNQcipqauLaZ33ElCL7z56t9odYyvD/kWy2V4WQm25DTAwE915DNBI1Lb4ZgyyW+o2yqHvVdsgXAmy/FtGB8qbx87dLxvjEvdspr/zjRKf/XewAKsNhXydgirPyX+wJuuuohBIAD0ENf+sN75fybAOALur/hBcd5kfWQ6ZFfQGN4vrIsPixCrFAsV6jvmWeml5gXms3IIeljxSzUI6NKXbnoFYhQkZ+XJ1VW8RSpNH9Azvl9jaqeFG/AFMQIxwBY1gaeaV2GOzdVM671eoJA8Ad1os9UHdGHY7IQaSA+NzAV0oAeTCLiSJ2IGB0NTkfbMlzpT1qd4WB9ILcrtD49h2fnYLCMW0+jE69dCIOsBwOa6LS81BU1Siztfy7j7RTlQgYxHQ2h5JSpEepUMnZdwIhUHzxSDxw17QGH0tEbwsWA2Rb5gE7y/uvOlBBtG5gD2YgdcDaYEYBxEPhGwHYuqkHw6RoEN9buzYOZTw+mIHBzn4JE0GwAlCgBsKR9DoAoYNsB8BMzYgc+ycA2Og+kC3x0JxZYmb10t8ShGuY8EzibL6brUku2finObU9FoD3PuNxBA8JHRQEKvHDjprRHrahTGklR1eLxLGxTWH5+Ss878VMQQF74mpdSn9YwOT9xJrcwP9vmxe3lFsmrwhY81Z95W8XVjSjJ9dToJgRj18XSOfZhHMKN8DpBOjTt+d2xfm66EfccCiLFDF3n8RO7z2E7/xvcG8rL4e7RkXe8bAZfE3gMCFKCu2vyw/dQhrOI7RYw3OYngQFk10qiG5MybM84M8OGjBoLiP2C7pXMnKFnruADavVpS7lTABJ4Qg34VfC473N1nr6vT6swGPO98ZovFoTqp79PZqL9W0UN/JtsydV/0wDQoOLPO7S1gPT9GElOpTz9tALDMeVYHU/ktTeCuaL2s7e5KBUl28XHpgJMFylX7EVa+vNf/GjlzA8Y7J3Pg08wR+XTP950ljb+7Lnn7M8TDu528GVnJSCM4uefn/Pln0GI4lLOQ52dntqVcPIjoCZO2BG29U89gvz8L40o1LaNVPYEhbBvVtVt/yEvTPyQ39adf65jweFLo8hvDK8EwuU5VcFCmOk7w/ktFHU+5/L6g1Fk+UHaZ1afdFfqXBtX0+ydbhvJBuKuPoDQrTC+XadoLvhBf4XphRfthUf5CGVk3fDtXGYXTS1miL7IQG7dddEv4R6wEPeoceg1XZNs/d09rN5XL2ywLi5dAwI+snewZGAst22i++ekX64WZor0+OVB3o5r5wbBqwzxM5n1FHoCy6xMB0s4tauI3+rcDuBihpq3h2k0kzhPZyYxhEAIvqsk6/cS+dYrmiySiInumOvuHz7irhqCD0Q0aVhAzZCdopSMUu3T8BEGMdutAguwjZCCxrFnET8k2WliJZ4i5uG0LQ3x6NnVNV59mSCoJgosVePq0gCGgI9Pi1l9zRo9K6ZJ7kC8cFIKDMXUpCwnsagP8WUsPOXKHfgQQc8e234ZH9+eG2B254Hc9jh/2fZjz1YHXUSZhZratUxRlnXpPtnWJ01ZW7tWk81J3XZ9Khks41w/ltwmuYPcIe4uTFRzjOutD+ijGUlqrm5ng6B1DphJovX+RsiaL+bVQe5YHUhvJFq7br6xBXi7wrQ08t0IPWCdA6S68LP3Hrje2vhcWA9RVA9rJMAHDy7fBHMHugaYhmCg60AObh47+KDzyUUBjlH36HuOqRf0Xrf/ehPdH7GmMT2r13obddme55I4ydKOoa/fw3oUdHe3mrrn684ptpM5PYJZlqLsvlf8VH2V9gjzKPS/8nHvKXxkufReQS/TvZpINoh+uvp2cZeSvc5BnUM9U2rW50+uj3Hw2IeFrGdpkTgIa7GYISyFT9ZorJsxkmBY5+2aXP90rfTQWUrO12rFry1C2El2faqPJ1/x5H+XDznLhWvn+iXveMTdQcvqo5bmYsY66E73hT663XMX6O5xecylhOrUawWKngqgD9VkzhRAJwCJxEKCKFFtxEc/2XFgWS3bXG/747gdM3XDhyT8ODH/IuKVdXc2X0t9t+JQ10dvpppy3llWNzNquXbGqO00QXaEzRct2rJGsCCHE1n/EmMUqdqmtv6JCwS449JfkERO52/diYIamkvU9O8YRMmjigkC6gWrVEuSNFncpzSpk5eS8MHrW+BnSNqmRwdW+cvJuaxMT5z6qfPUtw3j/o+aSIpqLwSg/+GHNd4f47y94l9Fy7kl3Pb6deNmpaolaq/PSkVSw7wrK1Xe3Q2KOuETCZ84VhLkFUGna4mpfHG/4Fu5brG8VDwM6vXdrX5Kkix11QW0x0clEkty6aSal/eJMniF1bDr0UF6v3tq9d3P8vyzd5MkVUDV9OYQSVIVNGSSokoNSgo0MDD+EiHz3vsNYLzgiwUE38N/5IeBb+vR978XOwiVaPgg2f4oQzj5XMbVTS3MxV+fZ+YITe0bt5QrAFUzOz84QLwvzrkB+YeBIJwgyujLSbJymun4hBR8F99+jrZadXuju/z7e2+RvgSdJQmxOi3x771VupfmmO6WXtunBJ/YHkdEozdvqyFhwfXC30G6Rl1A8GxFOMm02kzDPVOfLInYUudU/G6cFGuLxeVoTOhSjsvkat4FVB1fLJl0n8X3dW+uddeMjoKpxa8WKOCrs/XpIUdB2pn2thYmLR6FU54+9Ek3VnYLySBUIU5NJRKb1UttWDT1TwqQ5WeT8AtiASszBwiS+aKHbSkaFoPUnYbeTtGNzoapbEZOWcYJY36DCP4scp0FjblOEnhCHSGJyoTLhmks78Y74P9SHt1BI1tXHJIMC5odofHssgZekDf//bV77sjLQR9QBeXin6g+/Kt60bWJLT/czZtqNMSH1+1CujaTzaqmgiQfH5z8yUjFArwl5D/Yf+Hp1clBg9caxmKhylEy42HDsBqMqRuzgpDcSlyjx23eTFhvdm5Ot0+oIWl0E1gyoOTTQnMrCjvTr8mRmHLeU+s2X6EDo7C2EQSBEDMQUCxL1gaaQod3b1sLfC0KKOUAGC71JeWMLzZeQKK7P9SsuydRiVuF5YUt3IXczYtLxPYiXilUuTFvt0kmOM/tIVXvsXKuZDVgdpF9qVudmnrDc06hSUo3UkmCuZJQo1aqtjP1RXMLhhrL2btuAabrNqt2XqnbrPqJd7mnEO3BqLurO5XcyZ3NLNDiVZeWT8+rnRbm5aEj+50sozH89VEgtfySuTnPaRYrQwBDQ+siLHNjhYHnfar+IVcHurK7q9WdwP/nj+F2PfbnGGuTnsy7dK4n+sSvGG6Kpq8cnX8JuToQveRaMi86e1XepXN0kcrYZU2n9ApqxHzDKLHHDYNaRKxIFW9SKMK8mjC2Z7IG5nAYJ0FzBbtiR5idoDTagMA1l4iTlwCUWXvhMf7Jz/zoXkF8COwygvxN67SA1tIP0PZeEqKw9wAAS7rXPiSCoP621PvgSmP/QQCuurTymaWitmbp1i0AXbJ0eCWmQ3p4XANBbdyvZm8e3VyBdHfOKy5Yc19HzL9j0DCBp2N8nK6nFN3fdYTbc7Z95jFOIsgmwjZlna9umtv+Zi5O6Bzx6aO13eG8FXHSsBB/8np/7Ox70zcwzRk98u+KMF24c304oV9zR5S3AqBtsf3rnapXHT5+e15ttEDgIrv7/Gbe155/kiswLraX2bzf82ff6+xc78/7Hdwx01whCll3DzOmfKUkadEfwAvz9z0jyUDYG2e/DaZr1bSQSsmuZrXqqtw5fpz6r77I1tWreC5ejKG9nmq6qdsAi5gn7GrITX/B4oD8YG7zCRJp2mv3uK6C7Looki0fMS4nUVloFiSce5Ibk8caGsBNDZuSubgqT6ox9ffJDSllWImrjzc0XIfLjyvKPpXcN5qChYbJhobEQOJWLHQ7L9Ic82BcAR8tJsFNicQx/LRzTyLRlFBj8lZV/X1DgzqsKCeSG5LXNzScwFXuU/Bdw0hsxU/GKw10j0BMmlXnG2rMxbMncX9HueV0dl31fvrc3SMt7Hb/vG7TJ2gSc/x6XqJAoDlDCRgACZ9iCQiKC0CyueFdIIkcOxtMLkoSmFQ/OoHvXKcoxx4H/3Q3AdBxVSVncKPqTNG0/GA54YPBlecEl33Mg1cCf0RRwX/MAcz5l3FVvQ5/5tiJN4/hn24iRUVxjilxcCXmdBUSWh9TuRr/OkN5xijhsxdmTxFqYRQhMSdkC+/e8Cdso3UL9/R50k3VvBSze68ELB6cv6ehKxwvpwxL9ZHdfCDi3K16gLt1zwkvPGIMo9hYIPBptX6nnqBxxM0pMAZn6d4XZ/OM6S3TiMYKBuevMEL6FYVjWtA0TQBpBdykKL+GNDK8+savqUvnLC8IPEircQ+n/wP6YxTnwhirF7luKo17+Jk41rNwIhYxvCBp9Lu3JYTc0/8oCP/4dLKYBaCY3LxvCgn/6JyfLBaXFApXJQuFJcXi9+ZdoTh+HL+En07kE8kCgEf3/fEPnAOA/Lik8Kx7Bu75G+55To9OeI8AF+OyXJvXcjbl5zf6bG3FUg86fWJMTatjJ04joepcfDYPJTSKpaF732jco+t7Gt+4F8tFE97enQvONVpA2kT28W6n8BziVnJr2T6889JBi65MxwIp5jeX+BQJ9RdS/QXkAm6TX/T6EMBSG3rqXl3u6pL1e59CWDi9zXUxAu6unwnP5yjtdoT3OobS6NljNz1lQ9/YmA/aT9107FnnDs+rK50+S8mLA/w57muJm+DO4/a9Z/Ymmj+tLnkTcwcs1Rae6+rrJm0q5NwsTsy4UKEmKjS93m+Legqi9afafELATd0kSDm9vS0ong/RyhY3c5Mu2v6tlD71FeGdzWXCt1XjpSN5IdR9GKFge7uWkwQ45aXp0YnYqaWDXc0IDgw0ybGIIMFIX0Y3rKRA8jYhNFbwLSN5m5q7gmmN5mkK0rxNcLANDAZJHqeDGZquyc3eZDgn2Tbnibr8IKMsfzlVbc3fFYmubpeW1+QMuES8+VOQSd9kPyQqj8MPXSjuupqy7Q+gNHzwBmcbk+YxSaEyPvjizoMQXL3LESkE/uODD9RyitTvfTZE99Oek2EW7u2BL+uduSo1Y+Fc+5DrwtIJiyTWmsV4VEja0bpcJNQ0SnfgYP6Baj0SxGd+4c5l66rP0lFZh8tEThn/2d4BJPj0WDTc1HjhCvxVnUe+IGwtQzOkmJ3FrkbENw7gMfQm+89w7Y6LoQHG0NXfsurB/1fbe8BJVpV5w/ecc3PdWLdy6gpdVZ1TdVVN6OnumelJPREGZ5hIzwzDBMlRkNCAKCC4AyiLCNKElWUBBVSMSCMKKIuifvIu/kTHsLvvuosJdX+Gunwn3FtdPUF593s/6Ln33FD33pOe88T/46Vc+z15bCbiXkIb6IODy91ZtL49bkFeNHF9bjCMMAJGQNohymJAE9WFiba815GA+rxei/sxSfMRnQBWNUIxMODNc+ipNJCSV5Emw1lTDfDh64BYet+m1nhIU5VEYKjmWR/x426u8WI9F7zzSM/jXWLfKToqeJLAy2sLVuswSP1bza3vBA30BYpSWTo4SjArjbVX+3qsGZTigtxi7gDx12ZmDoZSQ4O36oTlL/f5LtCYc/FD48eYXwIxiVCAa8LdioWyWPafUPNx+8JNAYo6E+L23pMIxnULhfSlN4ekWEwR09f/3Ah2KxrT5eok6Y/uqF+/7e++pvUoWtD9bTinRqJbHT2ZFTuS9f1xAC7cH9p/Pmpbsfdq6BjwYiMOLjsKIXSSFpCCWV3WYlollwsa51rICjA1sa0YF5NhdIOl6ke+zPNfuNXkLfUGI3hEtQoRHgDId9WzSFDUSKTjwEUIXXxg+aMjqjlZNUIhozrZ9KN+Ca3jItw53H3c637edoLfXi/7WWbIojEwWKsOLARMXU7+RBP5RCTKFJiUAxyDBAZUpAnO6MRksB34KsW/rNG8T7QAmJ6aZbolXRT18QtobF+0CRxUyJclWijTnqT5Pfxuxb8uDHq8ZJ7hhNCQIg8R208zjwZ19TXCic3mniW07DVF2aj+EpIkTTxCCG59cjmED6jqXszjLZggzMwONaEsqH4QwrbJDtHQQDosYX5RgTxcSS5PYHbGiul9I1AQIMn2BN3/p6dsCoHTc6drWSke7i4dHP6lFS+lVpQ7S6YY2JbbpuWkRLg7uaLclnnTjpVTK3qTQ6EUFqB5CQQkRy1uTIccuFrVdXWDoqxKDAbTho0vur/DF9s3pB2HpKPHlzqV1wi9fTb3LOHVv4+/dKOCOvECRz4FjxqQLyzD1cH88V6FVAfT6B24UL0ZL1AFXlA1mG7HK0mnw/NoJWmV5aqipKNaSQDE1QPw/F++GpSz2um5rZpoLri4uxS3fjV8oJxM21JO25bbHhCNhZf0YPb4l8MHO5LpceA4mQ0lxZFxPRBvG6nQUHINbmL8BaucYGYduYRrgXgLXxpIrFSUDbgmPk/8HOYz09wwRYfAc6ybGinp4k1ccfFU8xOalD27OmKOvHQ0YXpfbHE+R89hAe6LpFN4XjclXrXdUzppimqGlDfOEPKymPp+qtAvqYj/Ryzf/eVtlpmHKsMYoh6ZPlpfxhACJF+ju5fKhGVoBB0TfNwI5ttKRoAJ48E5fAIyl9Zi/r7OHSLWmvkSICgNUgtGc9IsBp5IxKYGriAFXhdodHzdN43gIS2VPAXqWDNlEx37da+A7vw+XqQ3qnhYkPHh3gdOf3L5w4qyFx8umFB0oCt41EwgXpD1UHQkp1oCr4AzpVxgOx6VolnqKq9IlmO0j7vCMdzHW3On4z7u6Kbn7Tcz2dLKZHdox2us48jsUZLw+6BQWPYJ1RtlZEYl1OVyQNbtWDSJQEDRYxcYYmB7/nQ88u10snxg+JdmvNR98QK8Gmyl88RJJzsOVt9U08meS7i5uPqfejqNFRzn2F6cOcuXIAotx4QcH3vstCQEyVX9nOLjTMumq9/EvT3vYCkNGcct9LJu725gXpXyN6RfQTt80T0q11cBsKoOulXd0N2fKLVVEK6qgR7cqkA/7kRjPWhPMk0l2ybbfV//Z9Bn4BOYzhJff+ITuR6P9qFoM85EYimAiRKrzPii4Voza9fcMkzSdGFmvkiNu9Ru2yzBu00z+tjF130KLV3UdnZqOGWYKrqjFgyH25PJrwdTqUI4DG9Af3/2+XdAeMf5sb7oadGBxe7DmuNodjh8lxYMasFQCLwM918D0T2XTZzXvXehqIJc+7m374yUIvjvVLZz/3TmByD8wJn7PwBVcfDU4tSeUDzU/GP6R9yPR/G8LnKDLCsQHuXtZZGnK0NFCoWjg8TwxVP0fBLCPVibZ3c6SqJkV7zNfeQjb3MryGQkqbsBXAHImRWQnnCzLXo3MK1AURA//EkIP3kHJoJyACETIZ6euB3xQAb837do1byxxr5xAc3++g6/sxwaDFNTcD/wswAUT6R8fkd1WDr64+uu+zGJwGJ7d6qlThNegqN3UDUJgGs/CuFd1/E82X/0WuH+lsq6Xp7zOTpF7Moyll6XUd8BLwn9yY3LZED2AykSDhmQeDwNs3XaS+ICfpQolbAMJZ3AzJz/MjEzx4kOoFy1nWLfcF+wVAr2JYqZG8lC2gG+UKqUitUi+IBnbbaqx1ibP0swLDqG0/lEX9FxnPJZHUHHuZHAGXbMq88ibge1BLwjq3OZwAQca3VGFHSbUF0xRPzIR2F1uFz32Jt6bRiJ3oxEs3NGaGL5bTFCi4EWI7TDQ2eeyf3nmEbemCkmWCMM4wrZ1TJthw7l+85wqYQbYvZ/mjAJbFTVGx0n2HFWGbdTsS+RTw93EHano0ONu/87SBt6zt/uOdx0MZqzxsOd8QWxCklOXomMAZrgjdkouwFLqZQmuHqeQYSY52sUY5Q9AFLtbrWr8QbbF3RFNQPXg5+RHG9xx9Gzpo0mhcCDJCTt7osUVeSRpBGY0fqDREF+L/uZu6+8AMyotgCMT4Ojdjpom+6DZLUlHhRLFvEk49p2AU8fwVDPAYNlsKuj7vvMszotouvvyWqFO98L2mwGTkk5qQuIBRPkw1IVC43/V+p9B+LFcd0hcGtk6z6IAA8R7sNNOjznf94kSyDA3Mu99JH7NAfQ6MGLdmkm+Mf/s7YisdS2j51b8OGUhIyfg5zGTwksCWfBofHeRWZKx1w3PWK3SmAWQvenBCMVf3Ge7t2nDRt/ZY5s7yfIegbAvJNtNPQQsnSACDtV7chmYa0DEisLKdBop7fxsG5gZiyL9yQIqtFuJUIgTSKi8GqdAlYSH5HIqZmOGvSxCVkOJhaXuMbzpZsXkxhtKTstNtOi7zOFZbpc9WS4AMj358yVWwO6c60HuImpHfO4wMVXmp7k4F6WmwuzlI3xoM4Sd3W0oD732Yw7hbOeq737SbYHHiCTn7536ZwvuW1SToNaVVsxpBs5qmI4OnNsyjGymVsHnkfLqS+Z53ledmg0TYBC2UUdqYXvoMlCjkdxFCgyS5PEomDttPDq34hSLC7+8GUsDcvCT04Jv2sBw0isvSty8X5n22J61PgwwzykuIjgN6l+yxSbh1mwoPcIeFGLa5Lm7gX3akQCdhf+/cBiwDAeF/a/8Up1GaAgi+5PfUhH8ut4pM0K+kecZ49/zsv7yWI1Jrkt3HmE//I6kFi/HLZjp5ymaowMGF9dVhsuA1/UxQuE0OKxLswfVASCNwPqoBJmWLyAPpWOCqqa69WZgi74OV3dTNZGvMmSZeAMsml8j+VUjTsKfI2oCHWiLfzLU9QBhQCswt6ndNW9k6Cwgr03uP9EINTBGQoWXTx/PLxpzOJ76Q+MIPizupk8DW9C7uVk5TyDLAvgu0T4o7lV/52NKE+emVHce5mBZNv73XvwL1VwjqJ/2gjO6RPhPzHbgEmUKZJnDqrX6tUo3dkl1G9b3wI5y502DDAtByULfItuAXxAVm+5wAmq7p/VvOL+SUCqc+GtZAtVp/n8/yCIDwpZsW3ipELNDYMuZ2UBsCRbhpwJPgYmlGCw8Z6gygtgQs0zvhPOwmna1/Ozu+bmZXedMuZBLEz7EZ0tjoy0zNbKH6IHUBu1VTQzQEbDYoQGswCqZWwyfTe4f8xszrhf6MwAfvLi941s7Qd5wzQbTzJeDkvXXDLpzpZGqkf27QJLhkCnUewsupd6WSh9+8IDmDaTnJ9lQp2LTS18k1UriKV6dS7RaYgqPRzR/7I6hbwBZMCWwHL2ahaqEtz4vosnEWjrBKsym9NAwt9muD/qP32HpbpfaLcB6t78vtJ4fxJIquL+Ea8Z7LuuIYM1GXR/B3bvu7W6uAzGE4m3OaO9q6i7rw8uwWRbcWfz7YVbNw3B3oEE0NQ2FdCYccZn/wzOUl/a02je8GO1l03Fom/vwlzbvEQ8fT5ALFUFZ3xM2JCndCSW52LN5/UoqT9B9P5QDZ5TGQNM+wiWVCd2BT2MOeeKzZuvcFDY0E1o73Y/BbetWEFSeZDt1erIQCKFy2SFxgtzR14zeEOrTqhEYWlajSRv6G1lNNxp2o6+YgtMxvpGVe/B6kRVM0A6fWCM6S7HDqST562hofanEFDaU/ALUdhcc96Pmu+D224bmIzElpZX7YIkwH9hT7kqo4iuWUBd3KdhKTN0uxER5Gq5ZyFZ3cHONeWlscjkAH1q32LVZmPobeqf5mOlcPOGf6X1oH7yWTLNhsxbbPcdtmt4c6bVy4yUiWmelGe8ELOWlHyszNacN9BPUIEzMPUgeRREjrDaEc5zisKyV63d89toAbL2/AznGHE4+ln3qZAkhcCGzz75Js+/+eTl7q/WrgX25XeSxO8FNa4ePkg9JA8S7dch6u94+LCC8lH3sXY5ohTcx6L4V0++2eACf9iz5w8B/qU773wJ/ErBvyBEEf8uHlIOUr/Kw4eUBOflgZ3GcsYklTGYqrEP+LD6tAiJHhwzEyEKlb6YJd8mvjUl4i3HNJZ09DKYCaI9/r2EKSFJcrHyc6bsWApAYk5NWaUzwraMJH4AAXHHOlkGxKEVIahYOTOQlGO8vOoDCKrBkFRdyF8OPy8ixVYzi2IH7lUEoNiK9osLQkUtYgICobP/Eh6dfl8fHzRkUS/ofG82kNJlXuu4ttb7vjVKkHjQVa5Y/cpLnp3h8+ghNMV9gNB3plONYhpfMmA0Inm2tJYQYprwtuRhGmLSH4oQRjtSpz5EGejNa/yb2rzfhjz4eO9yOBQm/6JhPKnDWCJrA0PhSoSJn/A1NSRLEq/wqz4WkCwdC1XvV6JyUIkDlHbsjBx7962CxMu6IAkaunkyJMdNR0W6GjIfUTsPtSPVtkQnBLsnoHpLfPd5ePkwAaplU90izYSFCtFk1do6MIyILhiz6BA4gvDe6wX0D/BpvLZJYbxkfvgAgLxqSdc+XeqSJSjE2le0ty1vv/CpdRDIghaX+A23bmhb2JZK48erFuKNbz4Ynb5c1gResHtjlbvedfOha/+8gQd4kVu2q5xb06uFEAzqbQtSuS0Lt/zuEGHjdQjYNwCI5QTAL//UgX/4d9+f63kazz3QihFBoX5z86AOfGwDAj3pwTOJKNvwnZBaVrkmqLv7Od1RwAPU8WO3Ou7zo9Tx3jNUevwsSWFOeI2PU5s+gfc9Bg+68FdwclujB04KyNyi/pgHDv2Xb7SgMcNEqybnWB/m3r/iw+zl3aL8HPVIIXzeSb2Xw0Rav5FZQXWRZKuZOXkiT/fLKlA+eBP1Zp1R8RjiH1ATrXlq4qTvCEp0gaqBCUXzDJqUsDlEkMhVm9hRnniB6u5PPJQRZw56ZAwzeDSUlMJzBMHvQc7DGAmpLzeorzWsEPAR9/uYG5z2RRAPHIjhit+PaVkIy3+clzRCQiLNVFakvh3MqWeYhBFEQujOPxAHmqoElyBN0REP2lUR/FBxNUxpnyaoyU+rcMVvFcXtlBT3s5YuA7AUieCXasLNqcqjCpbhlMcIGfXe/QB9d3b+uyveu0tNuu+AKLrrv5WkQl49ijRV4xEoKhJ+NXDt9xKe9oLvVMAnv9HycltTwFIo4XfH3XHK7J7XD2zwha/78Qn+WD3pSJ0/Ok82IhsPzxuEIq3XjOf324fljM3cTualfqKgZeCHu3vpqr34Vydn50jKVpbOPRJ2cg4hkoyhQczRsU7M49V6LhpqAZ+Y27hPjbNZnmXLLvEaPJdAvMAsKEeBYVs6TDYmkwBpVtBIFbCs1ZGBX4wXwfLGWigC+BUAp+dF19BgVJ9ykOJRdwqYPSUswdiQN90K+DamyTaWbHryjZ+194PO3ghQJUMzm74pX/V8z7M0j+027hCT0E8iZ3uKGTSHDkRgOhnAUzjkK+zKVBL1PctbFHmYeZxPE0uoYFfgJ92HCBpiXwHspHtbld2HZFWVwU5ZnW36N38qk6IxILn2QkG1FTkgSpkMbMgJzHQliRU/jVcZGa+2+QIABfenLZAvfbOzKItf0DiTvQjeU+hrOOQV8B6ybTzAHEZBoWd7J1UcDpxbHb+iZgpyPNB3CKjUuaRze0/9UF8gLgtm7Yrx6rkfbxVL3HEw7clI04BgMc3LCY+mGsuJvAif0SkAnGedQtT+QHAlI15Em+T7gMwlrxouiShfEHkpyEVrnFNqRyUOsSkBOfjSf9CsVVc383YBgOnRK4Kwzf2OZYHBnTtBzTbcH14w4v7K4l/+0JFvCbb7nzD5X4eJlHodW1bxusaTfAogpU1tc/+Xe5GsgNtA+2l7/vJKAOzF3Oz6RHJ92v2V+3F/zduLx007y7gleUp3JjkQ9VSGGu0R1c3jXgY5u4/C/hjNmFp0imXBBZ2diwAvbKsv2C0qAZDKThY71zmTQ/XVyHCPujNEENftoA7uI9a/v8gKjEIYwytwBsI04rFgNGU7RhjASCAJYRZzE2Am2GCE12hwVI5v5uLB3/xj/M2Lj/GdyJeOyYRbbs2Ni4e044cQ1+rOKEA/ohoNAPpLhcl4bHN/vgOA1dXaKgg685UNTn5jG+a42D3ZRATq8HMvvfg5zH2GEm1wKcs00bFYWbEPXj9tLinXiA2rVl5i3ngxQPtGlMUd7JZsxXCXWYq0hOdHRcUGz5gVL//lUZTBdZjgTuV20Jl6XF2qfXMIaeU+MO/M/LqUmeyaZ7BDRHLrIg7Kgm/l8gDOCXEbcoLkZ+jHgOXu6C/l18Zjpw7kO2nlcd2HNgbzm9pKA+yGbDICdPj5F/2q35fsTOI/94ZCtQDa4khE8Tb3W3jOdSYS8PuJh26//aGEmdnQu2f/wf0dkxk4Tpp4rL9zkTqxD10/bS0pV4k1r9oxYt14MUR7R9TFHeyWbMV0l9uKOIpbSlIs8BVzyEthcVGyUEjG8gjlY4yANF40ypD4JfX1TgCguf8F4KpBP2bhLtSN+YACV6OYKBTpwM9URcKV/DyqwHeuzuGmIZmUPUsmhRkWjj+FrtPlaX56KnjGNJqWdZsf6Yabu0b4xiPw4Prg+oPQnQ4H45qiOZoaiIG7grGAisuKFofdsq5MXYPQNVOKpjT+u4v4Z3fB8oYDJEuq8p8gFgyEhJ1qIKDuFEKBYAwcd4bz8ivPoiU0x+4gW1kJxt7xpqTWSO96K84W4cG2n3YacgKIl1RtLkTxiufJPCOb/hZSi5ZQE8mi4eDSnBKU5DlzUXk+wgb7NpYnMEmRJ3PzGSyp5Ysk6tVeP3ayev5V+Oun3+ZoJhS8dW7NkiLeOK+A9mQF5cvz0lZfE+YDUJfACzx8hiWoNTH9vpelmV1OcM9QzGjmq55zxpJMbw76uep78Ir5rpPztIiBzBM0ajwiGCatWGZw9OxkpHmSpoX3QKvZuZPyvmfqjtrV09NFyPdwrTasnE0Q6hOpVJJoGwulYkE5h4J5hYBDwKsC4Wg0rCzFD3m2wfONZ33u+F8E4V9ImvsbCJz1gQsPdJJlZOiaW68eUpZivjG5auOqJI0GK+4+uKtdPZXgeVl9FsGxku2+4T5b8vn752g89nISvVb04XUIofHzc5bz3okci0OggzBaYRqiSLRcGoXUtyhKaZVE+9sDVZmLB+kDLAkJ23suUJ6dEz3W/b86nVxAEUQUMQpnLorWEoVV7amoaZptT5xFgJxUd+s9r/IK7NtUjlScsSqviKmumCSH9ixs7+Bf7aEKWaaWdZJeYiu6rUzSjFfriLJ13ceDp6nQtIy0IWccI6IOpToWgZBWG9jyGYN4gKoW/AT/6j1dHWC8JzagREU11NsZxXMr0nfh2D2vukTJnCUblo2LrFBZspkkapDJSdKBk9w8uanCXcbdTen8/Oxh0UrY3zPdOHWqJPgsbE9QtvBKNLeSRcmiXC612Fxbu0r0u0qc31VSTiJ0kIxOr78yoE69qSkEGKGE8C4loa4j0QnKGhpnND5XuaWktJRuK2sV4gdb3tI/BHAT3fsqZjtCSQuzH49de+2jPBjsB7mhQEsnLozhTlxZTEVMw27/xkHwI9yJVXcZ2PBYVgJAhHYtnhnLj19QzgadoBYIl6XIA6fAOxWgsiRla5qNzQw6zcZejWWfoGTlK9Mr7v02z3/73lhMN1HIcELXPobw14xf0IN0CyLL0jO63BYEZlitJDsWkUzgw707vyiznr47m5UeWBsi4cyVRG6REbMAhHzeiA9qQBjNvdv3p38W89icZ+GgyOGewYJB488TN4u+KYyQwFZS0kQOrzHkcKQSedL9V8UJWOjPvvw5Pxh243zEcNPK980AnkKGAwqIB9IW0NQ/Ee3Cy43v0p8NvOrZt4wTQYZr+wlkuEzp9o/gn7gRbhN3kJvm7uUe4Z7ivki0hhkquDN9Esv4RgaUn0iB+k6x9Bv9JL6G5nukHgu4alFRIt6g0Vp1TndXpDBVVJtMlFnDXl6A4aIH7uLj+zPaUSt5CQIIsIuXHoC8uhKhLz7GGaSM2zIv1stUHSbCLRIIxaSumNhmzk8P4KdhkICqRmXVkWxhSkEhU9LhqpVCQDKxSPUwyCtWKCilAabLJGNAvujqWALv6+/rEbBwLKhqrlhqV+CiVE5NmkBJxQYqpm1E5ViMX9goVuoLqiUVhWJqLLZofHzRAI+fG1CQGoNB1o2jpwBwyijuOiAckMzlh40gKYNNBPBfGc5uSunz0wZcZgdhyMafIAHFwPLZpXoqxNIHhFK6uHoMES+XsdVjF/XRjJ+du55QlL7zLj+vT8D/qTG1ePqe09vV+L58jCJzRFOLPrS2e2NJS9iVsxdsfajxnyO3zdy+uETROkLxiU98/uGJAR4CQ03KzpHm9y455Uegp2CqZ6HKYYHk1PSwambRz/GcGMGr5zncB7h/5L7MNJonHBh0jvzVUTXqB6c0E6lS5iZaH64V6XA5fhQJzYCW1pEUweODMXEsk4SvFg2TcURVp2QYtei//egpuFKNSaojW8cPjU4pFJM7Y0LWKDrleCIeL4fwsJJiU/iYDCsL/DiW7O0kaZalfPtCGWqqkpUbn8WjBfdLz2DLAIIvCBIfiY7UySCykZqKDlRATnMafdUFC6oO5vuQgns8FhtZioeQrtARFIUfw+duJqu7Oi5ogqHMKECfNyq2b6ejooK/AaqV3KaUpkMxk81mRKhrqU25S+lY0uLVzq0DZMCQBBilXZWdG9SELIKsIH5+kIyVkNpz3nsv6KEDKK62b/+IoAgDB6vbHpzIxfBvkjIdRFvWC4HDi2/bsOn2xaGAhG80kByKrXxk9048gvAYISMIr4fqTZ0kyew4ftaMGpvDDn226U9QP0ZPRPP2hA2SZLbYUhbo1ssvMsQ8zsHbLbzVLqJfAHTjHp0rg4e6Lr3xki4ZReJKdsfhnTk5EUbzs5U9hQWN0Hg4mQyPN0tfrS1aWA0kLIR5tN6uALISx377AJbeDs7/dkA8BUmYxFCEOE1SxgdfjjJUGOrgni+dqCL1ubsosh/zOWRPinpPmldZd7kipfK48xXQEZdkWYoVBQK2Kcl8ISYp4OcnqLRI7lFEhC/Tm9gTdLyclxOiosxvkwdEtZAWVVVM5SC5B+ZjWGpQJT6RBcp/Htc4/zLvuqEU0vT59LdNneQVWEaYpAi6wx7oKEkHU6ZKBSww0H7GU5ldy7DQAf/YBCGKeuDRiyhz1RwlVIXA6I6RQGM8gyMU9g1dCrLdOVzXAGAFTYG0AIAcwMVcdxaTzUSxaDqFcnJiIJMLX7hm88e6M9YX3y8oiA+A6DLMv1ynYLK9TFXA2D33JpLJxHdUFYSJYTaRuGpwbQDP07WHJsmFjZ/YoCqqump6VTQaifzkssPl0TYNgEUd+1eW+traweKJ2nuUZyUgGucE5a8EVP0cj34yfOwgF+bKHtKyhxnXqrcbLkcpujJT24WJgpPYDlscIk6GCI4umxU00cdXppjIsxddNNXwAnyDxkyw8VsWBEx03BtOAqgMt87yQqv7C6efdRGBxSBZ0KnKzAhCbp5U2JJXTvCwMcbxbK9j6WIHzRpC8pP4Iea4t325nAYmOZUW+IA5MIGKY4C5WhO5hNBv8gRK1Ydqx6Q+o4sPCxmsUL0IuhVzfrdKl51ubbtMOoKlLUdc1ge39i0TL288Fkkj5xxi7t2y3BrfCoNp+xwLpd0pJlcSb7IvdxMlBE0kmj8/FNfC2kW6A8bN88/HMyoZUm0hgRfchBSUQkkgwXHdYTZp22y82b8EgCX9vfg28Osp8sQjk3sg3DN5BylPuU4kAbNMcJ1NI5TG93bnz44DVTvfKKT6l9xyzjmyLYXiohRR1YgkYgnP8PVhb6D3IYHEdxYx51kmPJFA5ogYtkuFPFXkURsitR0uAbWyXTzuArqGeNKGdTdrGJj5zZRzSwbtYEDWVwxksz0jAZJWZ6atnB2dOzuy9CoI4BQSdBNugmGD5wX3VDOUj8SrifZu1aznJUXQdfDHFW547nToVEZD38CypsBpXIJmGeGKzSQv9VodVIt21KsIHhjhE9eiCmhUM4tpFuEhWfK/zNTdq8DMuFchXRYz8z6cVQdymtrIErsKPKo6/yDL7PsEEV6prHDbR+ESr2aq+5dXj6/Wv7nvVeAsEbQb43jr5YJ4Cv6cUziHI+hXi6j2ifpGhnPhnAfAWm1FCivUW0IgCwwfjIx3fICebIs2VFxjtPcvHwepMHTD6cb3/0UzTY1u6u5vyA6YAdMMvFIj5VrAsgLw8WgbAG3Rs2vu2nA6HT7fwqJz1DrHjJoAmKTM9s24Rfg18D3cD5hrIwKLp6uGs7zs3iXL4qcFjf+MCF6WLem7PP9dqfmbt6lenMVfRMjEhV9h98oyOIj/dXxXEL4rkXfNx19tO2atZ27PhFdkOQpD5nykI+qEfB9PjLbSDBFwbpoPnvoM8Vye4XmoONLHyb03MnvI79AtSKNx4DmuyC3FK/UO7vDx9hDJV5EW/AI1DxXywzSdVagbSJU65WULJFwGVurRgkDsQxWS/KKK7yrQGBJMoEjONEJlCDwYXrTQhsaZCWK+SMB76H4C91TENE8LkD4wb2lcCm9u/LcQM+PvkVBKhO9GgqkKfeadjuwgdMrB+DnAiI/EgpOID8l8WymkCMPbwhnVDKa1WEBfUsTrtYaf3vqWlayD2R9+geNeaEbL5WBI04CR+PVbaSxua7/5wHnDXdvw4oREzZrhwdnjsfh7CuGEIE7sNoyUH1sAX4NbOY6OjDLxHxki7HYpD+Gdo6NLH1k2OrrsEXDdnV5p6SjXjEmYhbNcCre577lWbm3ypu9aMwYafcqyziNLy1FvaSHov+dT/wHQWOqF3l8pKyu62HV/LSsvE3g1CGadTzeDtFHz/UNcjWJ6l0xIs5SFJXue4Yt6qp7os1C5StxzyQ15ET1hWTMIQeIs0IpbRcrHf+zY1FSjGQiLP3gK0xiBpDTzMK5mm8g8x9Qg6J618I2F5WbajGbM1oyHQjg3aitsiRvyEhqyMTzPV7RVg3l2gwBEg/7Ci4lOdRFvhyx+kdoZf7F9AICBxoOtvqHntWTzhveB/nZ3dXs/SMVuIzro22IpfAZ8vr3fvc7PBd7fkhecOIGKLd+8ENO+5V68x1/9ckQYXurXQhUoUqHFMjmXZ7rYLP31Gpma8mJAWKQNjAxoiwT9RTmgyvB1RfvUJtA70dc30es+Tkq9+O+vVLHxeyUAArelcrnUbQGgyeDzshZQvpQnP+vNsx3XyruZdLT30TqfzN7K6lT24SeaBQKy0zQs+qFIc64kXg6Lf8S82H10DO0xgg+Eif0l+aUQ3YGvuVQnBp7VHSfNzqHsMY7K7hS+mAwG38LiUCrFxCKyd3OA+RyCa1LErpI6zs/jqr/i50HMVLj3ylIGYpkbc+KoH2LBHRJvg0IVz6ayAUmPlqO1yiisV8IF0Q9arRbClWqhRijmGJ6bleoY5uUr9RqT3Yew9H5ypXmA1yUeyWYIybFsWMHcvBlUSCguQHxmwYA9aPMXVYYyC865cJGVqMZ10w4PLUiLQjEjK44sKHBqijcjlpbKicIK09Q1LRA3HRERfyB4cs+TNB5LUG3D0jsinJIQactbbbqsmJkED2G7Isir7aiJeFChYUgVWUEQX+BB19FbJEHA4jx4C7g0IkkiNmhBCRYMz7f+bdzegMbuq5h3yHlSwAnGP8hFaTRFlEEwSX5mLKJGZ9ZaNs9w24uI4YhQDSV81R/47qeaU+AWFy4HX1LUugL63MgiQXtJ1jRJqQbDYKDwEplfgtYf+jPRlmMOiTgo3zFvEoD+cU1xt1WtEJ42A+5VR7QAmSz6UKAYdVcX6NTShF4TPE+U4Y1xsm3lBcokLoZw6Z5Vs8BQQUNU3A8z6a7CsuMOlwSqS8xL1Qg9LldoZoOhepi5oUbRdCYPLz29e236c+n1PadfCvMZeqJnffoz3gl3yCJ3FIvd+MjaY7ccgNKT6XW9uASyqWN/5j/nG+zWKfaQcs+2S6C1ix348Yd+vZgc927usndeP+T74ZLIw5ZyKzZs/a+3QVvrOvAO2uOTnlaZbN1dvoq4eYopja8/aZvNttz7TtoP/K5FES20lBuw5WD05K083nLbXI5h4OmQllKckqjXRMRZlOYpZU0EWuZCkUYVEuoEmhGINPxwiMyaufhEKUrU9MQxVvIjE8uDNbhrVIDbJ6LhJenObvxPZIfuPQTvEB5ViH/fOTTasG9dX9dEnMUkAoFEJFbPGhiaBLf5IYuH9wxNbpy7NcaiFcFHFjvOxHYoLRbKL+N/aXYIo3OTqJPGIO6Z6C3tqvmxisYdj8N4dLANZP1ARtA30EaCFBG9scpiGBl9Z+2W4BbQ6F9cdVJzgsoyPK9VosVjGiMaam0K1Cp+lUgFD++dCUfxxwqfn6s5enauvh+P+Fe9yk5TEcyJUxEMTOE6gP6PSrhBneATpZ3NygXn6nQXuRoKPolrxCOIa+TeNE8M83inn8CjXIjGoGCZGFPMkMgQtOgMGcKdSq1nQ7hW+J9foROFptaHw/VaZDjKGql1gq0JjXRqylmarZ0l6wB0joQi97TD5ZXOtmxHKhYPet15XHwqzU4LSHNtPfWRFse3HzodbXY0cEDXD0iJYFuHE7mo3FeZALGY1t7J6ho8PkaV50lYFACk6bL3z3fZpHPkKI2/ZdzJDhKRUyxhrmewPFyt53G12+sRnirEqarN8/zBK3SE9zIzt9a5bAAWGwGaEUk0pQF1tyZsNl7x21geaAbHj2+CHKk6T91taVgu4FaQFZQG6fiRuauAcLse5k29vXiC2FzBCMtntYHFPV2Zts6exSAYOCiHt9gRoJNE9NFcIKIklWggCz/5YdVEKCBLd5A2+jBuLKhg5kgXWLwuEm6/OwzNZBiKsyeI3HWhrhzIkReAVArg1yVz2iFF/xWI5Iwzz1Q0Bb8RvwqoEdXTu9wNL0FnkRgaP5jNi1XkBpdBuGyQbtF+sGywkRlcBvAe/nRwWTO+h8QOJPH8Y61LNZ1zsWBEOdAHphkHUlhUQLedzTJBpguF9IOvg2nGmJAjdh5v8W38676O+scUtzCF5/i7KHo5lurJgwdx59SJZqXsOUoSv39hkGhfPZ9d2smVKM0PROI0yU+GSbpn8mlYzK0MEk0cdactm9QmPUjkq6jEmA/PYo0FxWt09ZskgtYgUwHvf0K64q5v4YluGMFvkCn79SN60DZ+BKEeBMHGBD36MaBH9BYs2fee6BHE/xccpT8nZ70HpOhDjwaNv6c30Jcn534Ijs4/Zt+SUN8+4WNaZFmTeDsfx9c3ZUkgkrlgACrYEMw2LGmiHY3J7oUALOyGT7N9Y9IKhy34uPvPgYz+ezVhQ/W3ZqncjiXkMJzFN7hd7EbwWvfCxv1hC7xmhd3/jQWQb8skxcgrpmkaII55mLBvi57xMIR8rfE7xBGaSwCTF1vz5c5L94PmQQsZhqjbMP7opeJlDx4DLfQl25whCswZzXl2zm/HNhtUSjZt5yRIQw9d3kQakq7+uknUnvbZdjoYTNvTbNfUG8+gCbzCt3E9mF/cfHK9MaiwAmrNtiAQFllsSdhQr1ECRXwfWjLxoZuBox2Wbt4fOvOD0mGiFuaX9sHT+paJ7pbQmrMkd1o661b6kQ44sl0I8aZ6/rgYjSvCVmhJjnr+ciGmG8oI09/C5VTvy19D9L6/HiTIA4PwVRp65D5gm+OkfcY159xZPBPuuFVT1Jj+jKQgYNx5RJN5FJ2mN5BN095EYm+J19cGYm+isQmYbPjZBvwWmPP7imLhbF5iWc/0xBJl0Xo3FesiOkH7UFuthHobj/cvE3FzaPSbphyUicDNkTSK7CPH07ilIvz4H5n9AHc2yaZ6cF1o3UESVoVuORA6dDOy/8HCjUWgpPityJRCyvnLxVhMEbar5jhY0g8juoM73LUimOYS3ThpQ9pscC8eBfjSdNDwVOVHyHuO7H8/hO/ff0Rz3C+z9gtEW9pPjeqzeAzSsTODptAezB92cTVuGW47DvjCK54pRRJJOVyulWi2tDTwfOkyXlIC1JLAsTWZYytDDqZbkIXBoc0CULSvu8skHaoA7uobBvwLd975Aj/2HBsX7lFPv98Cbwta4Y5fPSKqdxskYZ4gG3fzkvCJvitX4gfgx2x6P/5mXPtnSLs/47W3beLZOIdtS2XJe9BeXOcM5oi7m3G4HKj7PkAnqGsNi/DlakUQpWolTDK0E+iNMjiJ2D/Pif/NzRDkYo0vCJowr8ZwLLs+su9tbtno0diA+9IUlNFmkGWEgGwfupx9M8tEzJK70BaA4hFB4u+OqqDZBAPvXe01wU0/uF7/t1kQ/8Ergjz7ByTAI40B74FkC944GS62xwthev41zAsRH/luikdyPD4omzCkq6lkLbR4T4KTJo7b11hC0ASqXfB5um/U5voJ7mrQjoJkPrvfwXOGThzTBtkWcgmPgnqHy3lP4TrqDzT72hszIMto5Hns0McVm4KNZu7pudoM1Sr1KJMsvaXK/9byScqIcxHTFwkKfPPXgijQb7nZpR8PKDE6SRk2CCzD9fh+dMcdkFbgqq6qy7MPnZ63a/pRse/uob2w6eRfHhKJFFegeUTLTcXgSUyd88yeJ66Pamh/wGVVfEs1CcIDXqCm/8dVbLRrNroTAf5OZGvwKtJju05caWne2Oufy6j7t6IzgJfd3kPIiBAlWrG1ynMG4EqrBfi4IalikrqEjsPnTbsx1aQifVddBdMtA/HvvNFJDlsG7nHjs3E/vUZ/iMkao0j4qc9cNevRuHk77q/bgATiLVQule0aQTIWiKF2nvqPpmbH/UasSVJQwl8KxPm+CsV7iQYQs5bjjioIDyuOPLd2knc63iwh8erzXyQJohOunyyIDszMf60ivc2JkQf3nUQ3OXvMNyD8WeV/3ucuP5la0Y9du5/myF7FLGrHZf+Aw5VaSWIgKa3jw0+6fqyNBQ+AO2fUWEg95L5C+7JySA2m5BmAJEBNz42jtPsYTSFj+6jXtVm8twH+cSimHsbXDpOnPAigHP2Vx5LAOe5knP2oMc32+Jynz3wOXYuGOYsb4VbgVXcrd4C7guPqJKhILLDYc6KxKkpiqRoRJVyF+uBQlXpkUY41UqsTrOoxWKvWSHogUSr6CtB6s+BHPBBnMMzPkTh9ql8rknBnYvUnQn0QP7RQOoqlzz4e7ajVh5bnY6VesD5b7rGDWmnzZAEBE4l4JVu/OBJIy0SShgLmfRZVVqxzd4NUTzrdkzoDRAuxWCF6kxky8Z/7dKk9vkVXohAsaV9XevA1eHnZ/VzU0pJKaoGlVF8LC5qmTilFudjBx1L5CwYcMHxGpR2gylJNxRwS0GNyMNa1AEvEMQJrCKGJQHVs443V9394TwS/MZ2+Jxgl79ytkhfiGbb0koEeB3YsAuATeOn4wdu97oq26KKgaOtp5yxwV49p817bE7lgOeYUN3HbuL3c33F3co80Y6nDIampgxQl6kDBYgb8pvfihYn75SjwYZ0gg3jyAk9oMLLjW8jqTB+QxzwijR3DtzDQAC9XcChSxcdV0csbzDD1amUFX6yWiUaBvZzFNePhgbbLyRAvLUortrJsG+TRwlEsuTla35ZOieR3gpjpGu5wHC0ix2Iw1xjRJMlx+OduCxbjUcHU7e7QY//Gh2OCJfNStxdudgbzRHkFdMqBcpfpXoHHMw9RbqUmqiJCuoPJjSTH13e1LUmUZZi5Gky5f+DhJpRZlcHT35JEAUGx09gGNHiRyptJ9dT3rB6FAG5arEaUOAEZAjAcQQFBMgTHyfYAIPKy1rNnYOUV7rQcU0uTpduf4zGdM+NRAiUk/Ovj/Vt7JQXTFRbgcqXnq3sq7A11xgTHtfBA1JIaFCDs7M+VA/hXvKVi+Vy1hWAWJFLDhxX1bPC8q/IADryZBYagCLGiIkUsLGUOhEcoXXkCPYT2cinuFIYHQZBrpULJQ2kmTjN8PdJe94zg3cBPfnpM3gZ/P99RPwyfyAwCkMseGFsysjubA7A/9e5p3D/ZCy8EOR2870uURDBCgbn4Fj/88W2EvGzaRPwMp+DyzCl91VxGJxXOLRzYlF744kUvbVWUrS9d8vVXsASQxf+Wk6csx0/J4n/OFvLD9euJsX+n3vRjQDPwDUznuSIoFQYG81IAEKRqTCZHwTC6050J5fOhzzyiAhMLaGRZmoHZdNp9033LzJM1Kt+0X99PdYdRGsVCIJiSxHtoYJCCgEiiAnJoqjFO5Bv18U/LKTMfAlMqHvfuFe4MnMUXMLeiA8e005jK5s08PKNx1Fv/Pofp4kHMkV9zov7wkNTKdEZGKzStoIfBQedORCyLhOzVqUu0AcKs9/DCwFB0vIUj7KemOWEWvaq/h0dS/ZD03vjIol249/gNmQBRSnQOAKCg4Jr+5ZXTggIPBnskAfHmrtt5+NBXvvIQXDpCnYxXrtdBjnX09R8jHYF7E68U21p7GffbeMsYgJNp3NH5jA6hmsktXHYgqqBQUiqua4s50BABkKyAEkmvbRctyQzkH7/64n0A7Lt4zY016hg9NnM6GxWXfm0fiUlev5441W51vEHBRog3XPSmHXMar/1Brr3Ja5HIViFSLxJxiISqS0KRJBNt+tkJ72QmEM/NlogVZq01A+BMUQQ7Ayao9Wim+wn3E2bUN+G6R1uiKQiq1LygFODE1DXraVQKIsgAU5oNxyH+s7Wpzpr7AwWNjpKUolkPX+Co+SsPR8hraHYwqcYcmQRMJNQ1jPdx8VrAUbtinsgH9YJPtp08hXGv1yo854QkCpWBpWHIgeYFqu1nF6p94C3fargzX9BN5OhtbXit3CpBYCcdTKsk933uz9oLuiGEjHTmxs9i4cxIhpHIv76JGQvhhxByEjbmQNxHXLcjbDjI1i0nC9LgSvffJRROGFBAn70xndbDgmHkC4Q3YvP6ecq/cSzIJRTxZgP1nEWzgR/cZUUdoz68ZCoR4UE4HQHPffR1DYQzYcBHEmeMVuqGE23Gjd6DnzWOD2oEnFCiXqZ0ZYvmyRysG17YKIldyhOFHqyHIwaM5mp9kHrl0sAHdHo0zq/cgieAdmEObFnJx2PiqJ346EqYAWAJZi/xBvHlaCi5fwyIGSSDc2WUEQFqgys/mrCXwIerUzxf5Q1JMvCOn6pecsUFmxHoKsOwHqxAYciIOIXsojbjEkCSYdDNC+UugDZfcMUlTb0Y4WtjmL/awX2Ee4K1T95D/mDWReplgdfbEMsWJtLQXkxAqEPxKOoHc4s/8cWnfBk5ifueNBAu4CbA1Akxu4AnhhFrCfOqr9WjQ5FKlKSa9xguEn5h0ojEKKVRxeE6w2TxA45IUlUCN42ZfgLvOHLBQPuC0ILFuGikTXFoY9tZl4/19cS3W1p7BC/3hyAvt2miZQdUJYaEkXjnYkFsw6RGnhwYVxUkhC7TM+aDr7v/LUFBtgQ9VXfKuX8VkJyrJlRJ0M2iaSga4mHWCsUyNTwsewuWJFysRNRJOykFwqXeCczg20U7abjfSxv9WS2qGB1GshwNLCtAxdbCGtG2Y+a9LekMxkY/upnkZUC5yOJvXr3y6iG9SxFEskwfkCwYsyVBUMx1WaSX9GhvSh1aJCFpU7Yg2GpIjAsC/3rj19mFIUEW9UQs5gDMqWq1MQHy1r7xEJ5WmBNM6LquZJHqqJZkCZMSr6zX4rKqRWLVAiazfCC0cP2GseouQ0CCtjDWPQhgSLfQ5i4ImO6frDPfRg+gQeo7REYFiQgr4NVDEgkIDGGWK6VatF5rgj55Ys/9gyFo/LDvRuHsJ0Y1GDx85ZrAP4/eLJz36OIAtPe535vYDsD2iQkCnwTTpxZRQLvPfjJ/IMSjR296jw4ftZ/InxlE/BeeIXexe7fPYZnNUiwzlnqRYplVaMgFzcpIRdZs483/IHyB+zPiYpEm8Q1B5RfQMm0HzPyCrC7uURVfPioI+K5fEKmS6RJIzr0sN8xNcKtpRkxviftb6nBPwvK04scFrFYrUoujMeKuJwvMTbGPHmqGnkJTp4j7j14svvcBqhZfd1HUfZx64+yCV+zWdl8Br26RrftnZ6f9cFbgQA7XYO+VsKkaN8KtIPzg9FX4OsXh/xl1PsYb3ZmdnvIFara+3YjG6Pq2EVN3ys/XmiEFfsJBiuw2Opf0hUFe4ymdJ1SO+ORIRMRiDLrvdo2baYZ8pSbfNiFoqi5gjv20T8LPBh7booCAklRW/p2sO3Z/1ckrTmVH58IJACVDRgK/esHmPY6SD1f6rj81jb80feoN1xMGGaWXk/Q0alzdXEB8+2ZcUJTlWQRsQ7cf2/HyaY7lHBwGxNkOiMP784APnvbyjrU7VGZeUHc0/eJ+Rv0LxykO7QljiCMM9qn4/xeiGa8KhgQ5M8BDezfo/78PXmapgow5el1ec578/xWojM2/a+E/cWEP64/kTye6gjGyTFDMvwvdaSsHvoX/gRwFFATTBrgbiGrQueAWvGn8wQkyOEEgKnnf9+1reN71YBl/CbfG0zJTDosNKZoUdNiPUcUNX/GKmLVizkueipUsQHiISk6hRTcvtB6gKXcg2w9eIIo3EDT2IS8mDe5jBcz6oVrjaaq3Eg63qybuZOf8Vg/F/zof79nRwBjKgt789n0Alte4zxhBXhKYI4sg8RYrWbYJ93XU3WtJjw6M6zwUAqa7yX/AMVtPz3QfXY8zeC4u4pZi2QGvtF6eGy/QRZTKc14ozOwE6GKdQf6UreMTIFIX8+UIenobllIPyHD3clA9rQq687sICYRH5VTQJaTDfQNf5SGedddP2at2rrKLK9KNBh43KJ2OTcTSta0AKk/vufqDUaurWu2yjPwWQl0b43gLP0P1dt/b87SCl0hVXRCpjIxUpLAKfhGruX2Az+d53458K1qI1nk+NutxvYZxbeh8G6o5LWWBlWkEc52hjxl0tTcAFaJsEg8/RDwKbC8jEo3eOtdKZVMmAPlKDrQUj5CyRYpLQDYpP75lcjFoz4THNo9F2gqFtgguhDPt/YNbzwCldNua02uClbLwXzyfh//eLNbtpGUlbVyK52rWQ1eGw13ddnjNpoGBTWvCkPNL7jfDRmz97ujG07rMpR425DSmq8PcKm4vReYoz5nLif9qgTirFjCfV6hTI5wHZ4tlYkp+RgGJIyRa937iQs5wIisSiVwJ+8nDfUA3loYYT8MoyZlEsouW0VUVuZLXSQ/pmEL03i0ZQm2mFjDv7kW2xs7nK3JtAN8F3sKlLLzG1fFC1HUzvul5cvfNCWS7g8vpurFEtQUoKl+UQvLzmio6r2xR9GldAV3/kS8DLCsZ2guysGmTCV7QDEJBuvJvam8WO/D+11B2/4gvbzKALGx+RdGhFwmjK5idmeb5aTHk6JcuRJY6O4u/lNGF19HDqIz50kFuBc3JeoggH9N0TzT3JUVPiEZCFNoO5emOIfmxwI5heuuxuSOpDdPDC2BYAnOREtI8hIstG9deks3lspes3fjYhnWsuG7DlrUTS89KptPJs5ZOfGRi2f5UOp3av2zigsVmzFxs4P8exf9++YhmWRrZqM1S0r2EFMEH8bZEH/XYsS9AoVRq/mM/gl+WSn33q7ZlW1/VQhr+OwVYMQv/XY7/AVL+EDtmcsnt6NfoYppvWWTYfcTvhnrelPz/66U6dZclK3lTBIqgXwGeT4ROWdw/tGPn0mV9O3pXD5YsTZTwIgpkKdxxQaU2Nj1eGTpt44JVwaAYANeNjW3dPHJKxJIMiBdbw4gs6F/U2b14cX//+nXLxy/sdmSFx7yklIlsWlCpn8GZTWw1k9rgF3IrPfTnq7hbuXu5x7lnuFe4N3Avnzhj5WIP7rcAWu3yldaDcuuBdNKD+Yb9AjvyzXXO33i7dMz9f+trj70fTM9PkulHzBk+zO2FbGew3Yfm7byT7nd9sODg0EmeNt68A/z2b96SbV6luzHvBhKOd3QOmHgOkrrl5PgcmNnMXBFwQYMlQKWnm9DG4yd9UQsA8vQ7ucnHin6KyvQhPJ56MR+3n7uSeJpT/RrBj68z4pgn0dz1DKL6fBKegaVw76xDrIIS9S8v96FyyUMKKPfBQr6JmukZEmssnryMaBgZvtDyQFgGvyt2SbxjSVrA4PX1qyQzKgbtzq6JPktBQVvU8elAeOnuhZIZkYIW5jGUbFENajImiqWVSwZsKEpLYzkzqqkxJxBJ2WdLfNf2+uWTpcnC0rVCe0rLjfAreEQea40fXh3Tvaeitk8/DH4uj5esFA8k1Vp9sQ2CbSl0tdy/8pROO4lPKtai8/aOa8DOJnn3XFVsV8KENzpt974hSUdJtf2UNSnHETT+jMOJ79+++T3dsQjqlfJt0ZKW64bwDPo8Y9W5Vy21Ugizc9Y/AbPsyYhv0fgomyKVDWVguDU+xlvSMJ/WEmG6GNgsS3MFjVjpiNaTa9zQ3tPdDh6xTNOqgwWWrls/tDTNwr+3DMNCmhZO243353v7C/A9bf2NXWbcggg8a0Ut/OcuFay4SfGLOXQIATweipibXM/t4c7mLuFu4m7GXxaiK8MoHCa0ME8pYygD6QlIDx1yWGNLBz7FqGe05R5YD3nZfGoMI8BAntGCprvyNWLl+XfR/BRhUHKy0fBAT97y9rL0sJkulosp00yVyu1pSdluxHLFrCGqSNRjeVqC4m8C4XRbOhygu5D2z6ocSupxxVEVvI8F1d35/ny+31ZkCcSIZSn2LpIxStR4xd/DD8a687ISzHX3s3049qdQ87WGkXYs981gLq7pWMSQrPZ8TDdIyT7bSkUCeBji15PmXzf3WjUIgBqM3RPL5wfywFLCdwSj0fZY7IzW9/KCZDK+74/87Sjo8X1kZSplJdGibqGQ8HS+55RD1mkClOqXvfP8rt2NvqlKZQq+OjUMGu8HTjoUSoWfSnenAcCb20P4OB2CP6pUTm387tRhUN0MNfcWkjbtdbJxfx9JpyNgCdm6vzcdx3ydbLj/F1knyIsAAHicY2BkYGAAYrv7dnrx/DZfGbhZGEDghsO8jQj6fy/LJOYSIJeDgQkkCgAjQAqrAHicY2BkYGBu+N/AEMOqxAAELJMYGBlQAKM6AFVxA0YAeJxjYWBgYBnFo3gUj+JBhFmVGBgArlwEwAAAAAAAAAAAfACqAOABTAHAAfoCWgKuAuQDSAP0BDQEhgTIBR4FVgWgBegGygb6Bz4HZAemCAIIUAjcCSwJpAnWCjQKpgsyC3QLzAxEDOINkA4ADm4PBg+iD8YQfBFCEeQSEhKUE8YUIBSQFRAVlhYiFmIW+Bc4F4gX3BgKGG4YnBj6GaYaEhqwG1gb1hxEHLIdAB10HbIeMh76H4If7iBYILIhcCH2IlYivCNUI/YkbCWQJlwm+idAJ3Yn0igAKEAolijEKTgpxCnqKqArPCv2LLIs/C00LYItvC4ULnAu4C84L6Iv9DB+MOQxXDIsMy4zqjQYNEo09jU4NhY2cDbQNz43+DhgOKA5BDk8OcA6TjrOOyg7rjwOPIA9Aj2kPgg+gD7YPyY/eD/6QKBBbkG4QlpCsEMKQ45D5EQ4RH5E1kWMRj5Gzkc0R8BIekjySZhJ7koeSnxKxks8S9RMFEy4TOpNSE3iTyJPiFAqUJZRDlFgUdxSRFLeU0hT3lREVOBVVFX8VixWSlZ0VqxXFFfOWBpYeFjsWbZaBFpGWpRa3lscW1pbiFwUXL5c1l0wXYpd7F6YXwZfVF+uYDZg4mHGYjBjUGRsZMplZmXwZmRnEmdsZ9ZoMGhKaGRonGk8aVhpmGn8alZqzms6a/JsamzWbY5uKm6abyBvzm/scBxwvnEMcYByAnKecxhzpnQOdGp05HVmdaB18nZadxh4HniUeLh45nmeeh56gHqmewx8GnxifJB9Dn2IfiJ+TH7Uf0B/uoBYgPKBQoJqgyyDcoQ8hIp4nGNgZGBgVGe4x8DPAAJMQMwFhAwM/8F8BgAjigIsAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nG1WBZTruBWdqxiTzMyH3b/MWNi2u2VmZuZOZVtJtLEtjyQnM1tmZmZmZmZmZmZm5grsyd+ezjkT3SfJ0tN99z1pjaz5v+Ha//3DWSAYIECICDESpBhihDHWsYFN7MN+HMBBHIEjcQhH4Wgcg2NxHI7HCTgRJ+FknIJTcRpOxxk406x1Ni6Ci+JiuDjOwSVwSVwK5+I8XBqXwWVxOVweV8AVcSVcGVfBVXE1XB3XwDVxLVwb18F1cT1cHzfADXEj3Bg3wU1xM9wct8AtcSvcGrfBbXE73B53wB1xJ9wZd8FdcTds4e6gyJCjAMMEU8zAcT7mKFGhhkCDbUgoaLRYYIkd7OIC3AP3xL1wb9wH98X9cH88AA/Eg/BgPAQPxcPwcDwCj8Sj8Gg8Bo/F4/B4PAFPxJPwZDwFT8XT8HQ8A8/Es/BsPAfPxfPwfLwAL8SL8GK8BC/Fy/ByvAKvxKvwarwGr8Xr8Hq8AW/Em/BmvAVvxdvwdrwD78S78G68B+/F+/B+fAAfxIfwYXwEH8XH8HF8Ap/Ep/BpfAafxefweXwBX8SX8GV8BV/F1/B1fAPfxLfwbXwH38X38H38AD/Ej/Bj/AQ/xc/wc/wCv8Sv8Gv8Br/F7/B7/AF/xJ/wZ/wFf8Xf8Hf8A//Ev/Bv/IesERBCBiQgIYlITBKSkiEZkTFZJxtkk+wj+8kBcpAcQY4kh8hR5GhyDDmWHEeOJyeQE8lJ5GRyCjmVnEZOJ2eQM8lZ5Oy1IW0ayXJONQvzGcvnYV4KxQJWcB2ySpzP0wldCDnhZRk6FJeCFryejkuRU81FbYeS3gibmajZhhRtXbj17OhwZXYjdo/DRqzpRySfzvRqxJmRYlTms0DTHZ5oXrkvAwuitp6IskiWVDo3AguGOa2YpNaOPBzloqpY7daNO5yUfO4XsmBfLTSf8NWBxod3hEIWTCaKdltbEBes5AvTyxa0bA19g4buBorVRaBmook0z+dMBxnN50lOVU4LppKCq1yYj8yeSgeVkCwwI3WimNaGUjXebpna47Q3Erug23giZDVoeB4ZSzOZToTQjeS1HmjRJE1bloVY1pEFbRM68mLJJpKp2cjuRg2jghdD4zvT7iyRGTY8BzmVOtqWuSiY6ap4XUR+UtxIYSayYCYqlthpjp7+JM5RO+S4rZhSdMpGtCjMnioTYm6OWpsfkc9NsGwzWPAmXDKeiYTmmi+43l2fSG6IM1/ZVdI9a+zRhFaiVZE3wqkQhUqVcS635MRspynN0YyfzLCvN9V2S42ie+1F3h4d1h06aY3db7dn0hsD83/oQmIQMuNuzqjbqYtEWQRTo4NUsqKhNtbrez45LhSveEnlxirB3EbcrOhWsGBkVjeSdcvHHR5bL6mc+um9ERvWDPlFuBA8Z6n7dU71FJnMDJbG61CZ+SxaulGyZGlpVUBbLUYO+fP4XhdJnyJSaFsCXHecUSeEzUlJ1cx1+Qxd2aJh9dCnpZVyrJhcGI8CJaQOnAYrkRnVDH3jDpyLZnc9NzxrO8FFes8aWsr9iSIPR22jNPUsxB1OMprturUsSDNp9OwKk0Mb+cyyUhvhuQKyMkfGfT1jyue/x+PcpIORn6e5N6IJq2jJkjnbzYShO7BWXLOlnTUwrUsycyCdWuAyLDGbO6kFFgwyWqSeUyOlcCLyVg27IJk563tD7gsjDpU2lPvaFDoUmwR3kekyl0oploYqo72S1SqpqPTbWTDqZN/lcsNoGdIya6thw0TjmY88HHVB6qdSLgOb2UOPXUA0FTuciqY1AuI7vF6nWpvVO02ne5arqB37cYfXbdvWJp+72HZWYLgtTOUobVLLQd7qsKJTno9tbezVnzQl9aFVRlyxibZj3LTh1ORmM6AmovaDrirNhDvywLRBI5QNQsFFJnZSl8lOgm1jr6p0KbnPvdChcT/TM97W+czmzJyZerwwCqYTNu4Lkz+I7OQaOpS6AuRyryt3Dndl0s1T1oWRakSt/M0Zd9gIObM1MF4y16ZL1tYeubvWzt3wyKaaU4FDWevJ0WxHD70DNuPTqlVeLJse7RUrW9CLfVpyWk9L1ifcRt/RuvvkgOPKqtla59gENYWt1qHm2ukiFz46kYfrdlGXF56Y3krsvdTlOK83V7OcO8Ocy7xTooebK1W5GQf/x3a+rfr698fGhbsi56VKed69SIJJ67KCl534bWkaO7a6DE56I61YQUsXLIcS0+djakEnrrjDgW3TBS+Yq9yhQwHb4TpRc+4fHhaMK/P02c28dEeteeEYf3z98jjpJ2zsXRpbLsaqzVQueeNu++4050ZTrmdtFk1LkVEzp3sjuA9sJmz1t7m5l+xta3JwvX+MuGWHLnMc3G/Ta6u7Yfye3fvFGQd8zd3y9G/1b415YErR3FzW9QU8ZmXJG8XibbllL4e4MEqatTTg+crn8waZrtfW/gthnmJTAAAA') format('woff'), + url('//at.alicdn.com/t/font_533566_yfq2d9wdij.ttf?t=1545239985831') format('truetype'), + /* chrome, + firefox, + opera, + Safari, + Android, + iOS 4.2+*/ url('//at.alicdn.com/t/font_533566_yfq2d9wdij.svg?t=1545239985831#iconfont') format('svg'); /* iOS 4.1- */ +} + +.icon-appreciate:before { + content: "\e644"; +} + +.icon-check:before { + content: "\e645"; +} + +.icon-close:before { + content: "\e646"; +} + +.icon-edit:before { + content: "\e649"; +} + +.icon-emoji:before { + content: "\e64a"; +} + +.icon-favorfill:before { + content: "\e64b"; +} + +.icon-favor:before { + content: "\e64c"; +} + +.icon-loading:before { + content: "\e64f"; +} + +.icon-locationfill:before { + content: "\e650"; +} + +.icon-location:before { + content: "\e651"; +} + +.icon-phone:before { + content: "\e652"; +} + +.icon-roundcheckfill:before { + content: "\e656"; +} + +.icon-roundcheck:before { + content: "\e657"; +} + +.icon-roundclosefill:before { + content: "\e658"; +} + +.icon-roundclose:before { + content: "\e659"; +} + +.icon-roundrightfill:before { + content: "\e65a"; +} + +.icon-roundright:before { + content: "\e65b"; +} + +.icon-search:before { + content: "\e65c"; +} + +.icon-taxi:before { + content: "\e65d"; +} + +.icon-timefill:before { + content: "\e65e"; +} + +.icon-time:before { + content: "\e65f"; +} + +.icon-unfold:before { + content: "\e661"; +} + +.icon-warnfill:before { + content: "\e662"; +} + +.icon-warn:before { + content: "\e663"; +} + +.icon-camerafill:before { + content: "\e664"; +} + +.icon-camera:before { + content: "\e665"; +} + +.icon-commentfill:before { + content: "\e666"; +} + +.icon-comment:before { + content: "\e667"; +} + +.icon-likefill:before { + content: "\e668"; +} + +.icon-like:before { + content: "\e669"; +} + +.icon-notificationfill:before { + content: "\e66a"; +} + +.icon-notification:before { + content: "\e66b"; +} + +.icon-order:before { + content: "\e66c"; +} + +.icon-samefill:before { + content: "\e66d"; +} + +.icon-same:before { + content: "\e66e"; +} + +.icon-deliver:before { + content: "\e671"; +} + +.icon-evaluate:before { + content: "\e672"; +} + +.icon-pay:before { + content: "\e673"; +} + +.icon-send:before { + content: "\e675"; +} + +.icon-shop:before { + content: "\e676"; +} + +.icon-ticket:before { + content: "\e677"; +} + +.icon-back:before { + content: "\e679"; +} + +.icon-cascades:before { + content: "\e67c"; +} + +.icon-discover:before { + content: "\e67e"; +} + +.icon-list:before { + content: "\e682"; +} + +.icon-more:before { + content: "\e684"; +} + +.icon-scan:before { + content: "\e689"; +} + +.icon-settings:before { + content: "\e68a"; +} + +.icon-questionfill:before { + content: "\e690"; +} + +.icon-question:before { + content: "\e691"; +} + +.icon-shopfill:before { + content: "\e697"; +} + +.icon-form:before { + content: "\e699"; +} + +.icon-pic:before { + content: "\e69b"; +} + +.icon-filter:before { + content: "\e69c"; +} + +.icon-footprint:before { + content: "\e69d"; +} + +.icon-top:before { + content: "\e69e"; +} + +.icon-pulldown:before { + content: "\e69f"; +} + +.icon-pullup:before { + content: "\e6a0"; +} + +.icon-right:before { + content: "\e6a3"; +} + +.icon-refresh:before { + content: "\e6a4"; +} + +.icon-moreandroid:before { + content: "\e6a5"; +} + +.icon-deletefill:before { + content: "\e6a6"; +} + +.icon-refund:before { + content: "\e6ac"; +} + +.icon-cart:before { + content: "\e6af"; +} + +.icon-qrcode:before { + content: "\e6b0"; +} + +.icon-remind:before { + content: "\e6b2"; +} + +.icon-delete:before { + content: "\e6b4"; +} + +.icon-profile:before { + content: "\e6b7"; +} + +.icon-home:before { + content: "\e6b8"; +} + +.icon-cartfill:before { + content: "\e6b9"; +} + +.icon-discoverfill:before { + content: "\e6ba"; +} + +.icon-homefill:before { + content: "\e6bb"; +} + +.icon-message:before { + content: "\e6bc"; +} + +.icon-addressbook:before { + content: "\e6bd"; +} + +.icon-link:before { + content: "\e6bf"; +} + +.icon-lock:before { + content: "\e6c0"; +} + +.icon-unlock:before { + content: "\e6c2"; +} + +.icon-vip:before { + content: "\e6c3"; +} + +.icon-weibo:before { + content: "\e6c4"; +} + +.icon-activity:before { + content: "\e6c5"; +} + +.icon-friendaddfill:before { + content: "\e6c9"; +} + +.icon-friendadd:before { + content: "\e6ca"; +} + +.icon-friendfamous:before { + content: "\e6cb"; +} + +.icon-friend:before { + content: "\e6cc"; +} + +.icon-goods:before { + content: "\e6cd"; +} + +.icon-selection:before { + content: "\e6ce"; +} + +.icon-explore:before { + content: "\e6d2"; +} + +.icon-present:before { + content: "\e6d3"; +} + +.icon-squarecheckfill:before { + content: "\e6d4"; +} + +.icon-square:before { + content: "\e6d5"; +} + +.icon-squarecheck:before { + content: "\e6d6"; +} + +.icon-round:before { + content: "\e6d7"; +} + +.icon-roundaddfill:before { + content: "\e6d8"; +} + +.icon-roundadd:before { + content: "\e6d9"; +} + +.icon-add:before { + content: "\e6da"; +} + +.icon-notificationforbidfill:before { + content: "\e6db"; +} + +.icon-explorefill:before { + content: "\e6dd"; +} + +.icon-fold:before { + content: "\e6de"; +} + +.icon-game:before { + content: "\e6df"; +} + +.icon-redpacket:before { + content: "\e6e0"; +} + +.icon-selectionfill:before { + content: "\e6e1"; +} + +.icon-similar:before { + content: "\e6e2"; +} + +.icon-appreciatefill:before { + content: "\e6e3"; +} + +.icon-infofill:before { + content: "\e6e4"; +} + +.icon-info:before { + content: "\e6e5"; +} + +.icon-forwardfill:before { + content: "\e6ea"; +} + +.icon-forward:before { + content: "\e6eb"; +} + +.icon-rechargefill:before { + content: "\e6ec"; +} + +.icon-recharge:before { + content: "\e6ed"; +} + +.icon-vipcard:before { + content: "\e6ee"; +} + +.icon-voice:before { + content: "\e6ef"; +} + +.icon-voicefill:before { + content: "\e6f0"; +} + +.icon-friendfavor:before { + content: "\e6f1"; +} + +.icon-wifi:before { + content: "\e6f2"; +} + +.icon-share:before { + content: "\e6f3"; +} + +.icon-wefill:before { + content: "\e6f4"; +} + +.icon-we:before { + content: "\e6f5"; +} + +.icon-lightauto:before { + content: "\e6f6"; +} + +.icon-lightforbid:before { + content: "\e6f7"; +} + +.icon-lightfill:before { + content: "\e6f8"; +} + +.icon-camerarotate:before { + content: "\e6f9"; +} + +.icon-light:before { + content: "\e6fa"; +} + +.icon-barcode:before { + content: "\e6fb"; +} + +.icon-flashlightclose:before { + content: "\e6fc"; +} + +.icon-flashlightopen:before { + content: "\e6fd"; +} + +.icon-searchlist:before { + content: "\e6fe"; +} + +.icon-service:before { + content: "\e6ff"; +} + +.icon-sort:before { + content: "\e700"; +} + +.icon-down:before { + content: "\e703"; +} + +.icon-mobile:before { + content: "\e704"; +} + +.icon-mobilefill:before { + content: "\e705"; +} + +.icon-copy:before { + content: "\e706"; +} + +.icon-countdownfill:before { + content: "\e707"; +} + +.icon-countdown:before { + content: "\e708"; +} + +.icon-noticefill:before { + content: "\e709"; +} + +.icon-notice:before { + content: "\e70a"; +} + +.icon-upstagefill:before { + content: "\e70e"; +} + +.icon-upstage:before { + content: "\e70f"; +} + +.icon-babyfill:before { + content: "\e710"; +} + +.icon-baby:before { + content: "\e711"; +} + +.icon-brandfill:before { + content: "\e712"; +} + +.icon-brand:before { + content: "\e713"; +} + +.icon-choicenessfill:before { + content: "\e714"; +} + +.icon-choiceness:before { + content: "\e715"; +} + +.icon-clothesfill:before { + content: "\e716"; +} + +.icon-clothes:before { + content: "\e717"; +} + +.icon-creativefill:before { + content: "\e718"; +} + +.icon-creative:before { + content: "\e719"; +} + +.icon-female:before { + content: "\e71a"; +} + +.icon-keyboard:before { + content: "\e71b"; +} + +.icon-male:before { + content: "\e71c"; +} + +.icon-newfill:before { + content: "\e71d"; +} + +.icon-new:before { + content: "\e71e"; +} + +.icon-pullleft:before { + content: "\e71f"; +} + +.icon-pullright:before { + content: "\e720"; +} + +.icon-rankfill:before { + content: "\e721"; +} + +.icon-rank:before { + content: "\e722"; +} + +.icon-bad:before { + content: "\e723"; +} + +.icon-cameraadd:before { + content: "\e724"; +} + +.icon-focus:before { + content: "\e725"; +} + +.icon-friendfill:before { + content: "\e726"; +} + +.icon-cameraaddfill:before { + content: "\e727"; +} + +.icon-apps:before { + content: "\e729"; +} + +.icon-paintfill:before { + content: "\e72a"; +} + +.icon-paint:before { + content: "\e72b"; +} + +.icon-picfill:before { + content: "\e72c"; +} + +.icon-refresharrow:before { + content: "\e72d"; +} + +.icon-colorlens:before { + content: "\e6e6"; +} + +.icon-markfill:before { + content: "\e730"; +} + +.icon-mark:before { + content: "\e731"; +} + +.icon-presentfill:before { + content: "\e732"; +} + +.icon-repeal:before { + content: "\e733"; +} + +.icon-album:before { + content: "\e734"; +} + +.icon-peoplefill:before { + content: "\e735"; +} + +.icon-people:before { + content: "\e736"; +} + +.icon-servicefill:before { + content: "\e737"; +} + +.icon-repair:before { + content: "\e738"; +} + +.icon-file:before { + content: "\e739"; +} + +.icon-repairfill:before { + content: "\e73a"; +} + +.icon-taoxiaopu:before { + content: "\e73b"; +} + +.icon-weixin:before { + content: "\e612"; +} + +.icon-attentionfill:before { + content: "\e73c"; +} + +.icon-attention:before { + content: "\e73d"; +} + +.icon-commandfill:before { + content: "\e73e"; +} + +.icon-command:before { + content: "\e73f"; +} + +.icon-communityfill:before { + content: "\e740"; +} + +.icon-community:before { + content: "\e741"; +} + +.icon-read:before { + content: "\e742"; +} + +.icon-calendar:before { + content: "\e74a"; +} + +.icon-cut:before { + content: "\e74b"; +} + +.icon-magic:before { + content: "\e74c"; +} + +.icon-backwardfill:before { + content: "\e74d"; +} + +.icon-playfill:before { + content: "\e74f"; +} + +.icon-stop:before { + content: "\e750"; +} + +.icon-tagfill:before { + content: "\e751"; +} + +.icon-tag:before { + content: "\e752"; +} + +.icon-group:before { + content: "\e753"; +} + +.icon-all:before { + content: "\e755"; +} + +.icon-backdelete:before { + content: "\e756"; +} + +.icon-hotfill:before { + content: "\e757"; +} + +.icon-hot:before { + content: "\e758"; +} + +.icon-post:before { + content: "\e759"; +} + +.icon-radiobox:before { + content: "\e75b"; +} + +.icon-rounddown:before { + content: "\e75c"; +} + +.icon-upload:before { + content: "\e75d"; +} + +.icon-writefill:before { + content: "\e760"; +} + +.icon-write:before { + content: "\e761"; +} + +.icon-radioboxfill:before { + content: "\e763"; +} + +.icon-punch:before { + content: "\e764"; +} + +.icon-shake:before { + content: "\e765"; +} + +.icon-move:before { + content: "\e768"; +} + +.icon-safe:before { + content: "\e769"; +} + +.icon-activityfill:before { + content: "\e775"; +} + +.icon-crownfill:before { + content: "\e776"; +} + +.icon-crown:before { + content: "\e777"; +} + +.icon-goodsfill:before { + content: "\e778"; +} + +.icon-messagefill:before { + content: "\e779"; +} + +.icon-profilefill:before { + content: "\e77a"; +} + +.icon-sound:before { + content: "\e77b"; +} + +.icon-sponsorfill:before { + content: "\e77c"; +} + +.icon-sponsor:before { + content: "\e77d"; +} + +.icon-upblock:before { + content: "\e77e"; +} + +.icon-weblock:before { + content: "\e77f"; +} + +.icon-weunblock:before { + content: "\e780"; +} + +.icon-my:before { + content: "\e78b"; +} + +.icon-myfill:before { + content: "\e78c"; +} + +.icon-emojifill:before { + content: "\e78d"; +} + +.icon-emojiflashfill:before { + content: "\e78e"; +} + +.icon-flashbuyfill:before { + content: "\e78f"; +} + +.icon-text:before { + content: "\e791"; +} + +.icon-goodsfavor:before { + content: "\e794"; +} + +.icon-musicfill:before { + content: "\e795"; +} + +.icon-musicforbidfill:before { + content: "\e796"; +} + +.icon-card:before { + content: "\e624"; +} + +.icon-triangledownfill:before { + content: "\e79b"; +} + +.icon-triangleupfill:before { + content: "\e79c"; +} + +.icon-roundleftfill-copy:before { + content: "\e79e"; +} + +.icon-font:before { + content: "\e76a"; +} + +.icon-title:before { + content: "\e82f"; +} + +.icon-recordfill:before { + content: "\e7a4"; +} + +.icon-record:before { + content: "\e7a6"; +} + +.icon-cardboardfill:before { + content: "\e7a9"; +} + +.icon-cardboard:before { + content: "\e7aa"; +} + +.icon-formfill:before { + content: "\e7ab"; +} + +.icon-coin:before { + content: "\e7ac"; +} + +.icon-cardboardforbid:before { + content: "\e7af"; +} + +.icon-circlefill:before { + content: "\e7b0"; +} + +.icon-circle:before { + content: "\e7b1"; +} + +.icon-attentionforbid:before { + content: "\e7b2"; +} + +.icon-attentionforbidfill:before { + content: "\e7b3"; +} + +.icon-attentionfavorfill:before { + content: "\e7b4"; +} + +.icon-attentionfavor:before { + content: "\e7b5"; +} + +.icon-titles:before { + content: "\e701"; +} + +.icon-icloading:before { + content: "\e67a"; +} + +.icon-full:before { + content: "\e7bc"; +} + +.icon-mail:before { + content: "\e7bd"; +} + +.icon-peoplelist:before { + content: "\e7be"; +} + +.icon-goodsnewfill:before { + content: "\e7bf"; +} + +.icon-goodsnew:before { + content: "\e7c0"; +} + +.icon-medalfill:before { + content: "\e7c1"; +} + +.icon-medal:before { + content: "\e7c2"; +} + +.icon-newsfill:before { + content: "\e7c3"; +} + +.icon-newshotfill:before { + content: "\e7c4"; +} + +.icon-newshot:before { + content: "\e7c5"; +} + +.icon-news:before { + content: "\e7c6"; +} + +.icon-videofill:before { + content: "\e7c7"; +} + +.icon-video:before { + content: "\e7c8"; +} + +.icon-exit:before { + content: "\e7cb"; +} + +.icon-skinfill:before { + content: "\e7cc"; +} + +.icon-skin:before { + content: "\e7cd"; +} + +.icon-moneybagfill:before { + content: "\e7ce"; +} + +.icon-usefullfill:before { + content: "\e7cf"; +} + +.icon-usefull:before { + content: "\e7d0"; +} + +.icon-moneybag:before { + content: "\e7d1"; +} + +.icon-redpacket_fill:before { + content: "\e7d3"; +} + +.icon-subscription:before { + content: "\e7d4"; +} + +.icon-loading1:before { + content: "\e633"; +} + +.icon-github:before { + content: "\e692"; +} + +.icon-global:before { + content: "\e7eb"; +} + +.icon-settingsfill:before { + content: "\e6ab"; +} + +.icon-back_android:before { + content: "\e7ed"; +} + +.icon-expressman:before { + content: "\e7ef"; +} + +.icon-evaluate_fill:before { + content: "\e7f0"; +} + +.icon-group_fill:before { + content: "\e7f5"; +} + +.icon-play_forward_fill:before { + content: "\e7f6"; +} + +.icon-deliver_fill:before { + content: "\e7f7"; +} + +.icon-notice_forbid_fill:before { + content: "\e7f8"; +} + +.icon-fork:before { + content: "\e60c"; +} + +.icon-pick:before { + content: "\e7fa"; +} + +.icon-wenzi:before { + content: "\e6a7"; +} + +.icon-ellipse:before { + content: "\e600"; +} + +.icon-qr_code:before { + content: "\e61b"; +} + +.icon-dianhua:before { + content: "\e64d"; +} + +.icon-icon:before { + content: "\e602"; +} + +.icon-loading2:before { + content: "\e7f1"; +} + +.icon-btn:before { + content: "\e601"; +} diff --git a/src/WeLink/colorui/main.wxss b/src/WeLink/colorui/main.wxss new file mode 100644 index 0000000..fda6f76 --- /dev/null +++ b/src/WeLink/colorui/main.wxss @@ -0,0 +1,3747 @@ +/* + ColorUi for MP-weixin v2.1.2 | by 文晓港 2019年3月28日21:24:42 + 仅供学习交流,如作它用所承受的法律责任一概与作者无关 + 使用ColorUi开发扩展与插件时,请注明基于ColorUi开发 + + (QQ交流群:240787041) + 文档:http://www.color-ui.com/ +*/ + +/* ================== + 初始化round-dot + ==================== */ + +page { + background-color: #ffffff; + font-size: 28rpx; + color: #333; + font-family: Helvetica Neue, Helvetica, sans-serif; + /* Color 可以自定义相关配色 */ + --red: #fc5d13; + --orange: #f37b1d; + --yellow: #fbbd08; + --olive: #8dc63f; + --green: #39b54a; + --cyan: #1cbbb4; + --blue: #0081ff; + --purple: #6739b6; + --mauve: #9c26b0; + --pink: #e03997; + --brown: #a5673f; + --grey: #8799a3; + --gray: #aaa; + --black: #333; + --white: #fff; + --gradualRed: linear-gradient(45deg, #f43f3b, #ec008c); + --gradualOrange: linear-gradient(45deg, #ff9700, #ed1c24); + --gradualGreen: linear-gradient(45deg, #39b54a, #8dc63f); + --gradualPurple: linear-gradient(45deg, #9000ff, #5e00ff); + --gradualPink: linear-gradient(45deg, #ec008c, #6739b6); + --gradualBlue: linear-gradient(45deg, #0081ff, #1cbbb4); + --gradualGray: linear-gradient(45deg, #c2c2c2, #ffffff); +} + +view, scroll-view, swiper, button, input, textarea, label, navigator, image { + box-sizing: border-box; +} + +.round { + border-radius: 5000rpx; +} + +.radius { + border-radius: 6rpx; +} + +/* ================== + 图片 + ==================== */ + +image { + max-width: 100%; + display: inline-block; + position: relative; + z-index: 0; +} + +image.loading::before { + content: ""; + background-color: #f5f5f5; + display: block; + position: absolute; + width: 100%; + height: 100%; + z-index: -2; +} + +image.loading::after { + content: "\e7f1"; + font-family: "cuIcon"; + position: absolute; + top: 0; + left: 0; + width: 32rpx; + height: 32rpx; + line-height: 32rpx; + right: 0; + bottom: 0; + z-index: -1; + font-size: 32rpx; + margin: auto; + color: #ccc; + -webkit-animation: icon-spin 2s infinite linear; + animation: icon-spin 2s infinite linear; + display: block; +} + +.response { + width: 100%; +} + +/* ================== + 开关 + ==================== */ + +switch, checkbox, radio { + position: relative; +} + +switch::after, switch::before { + font-family: "cuIcon"; + content: "\e645"; + position: absolute; + color: #fff !important; + top: 0%; + left: 0rpx; + font-size: 26rpx; + line-height: 26px; + width: 26px; + text-align: center; + pointer-events: none; + transform: scale(0, 0); + transition: all 0.3s ease-in-out 0s; + z-index: 9; +} + +switch::before { + content: "\e646"; + right: 0; + transform: scale(1, 1); + left: auto; +} + +switch[checked]::after, switch.checked::after { + transform: scale(1, 1); +} + +switch[checked]::before, switch.checked::before { + transform: scale(0, 0); +} + +radio::before, checkbox::before { + font-family: "cuIcon"; + content: "\e645"; + position: absolute; + color: #fff !important; + top: 50%; + margin-top: -8px; + right: 5px; + font-size: 32rpx; + line-height: 16px; + pointer-events: none; + transform: scale(1, 1); + transition: all 0.3s ease-in-out 0s; + z-index: 9; +} + +switch[checked]::before { + transform: scale(0, 0); +} + +switch .wx-switch-input { + border: none; + padding: 0 24px; + width: 48px; + height: 26px; + margin: 0; + border-radius: 100rpx; +} + +switch .wx-switch-input:not([class*="bg-"]) { + background: var(--grey) !important; +} + +switch .wx-switch-input::after { + margin: auto; + width: 26px; + height: 26px; + border-radius: 100rpx; + left: 0rpx; + top: 0rpx; + bottom: 0rpx; + position: absolute; + transform: scale(0.9, 0.9); + transition: all 0.1s ease-in-out 0s; +} + +switch .wx-switch-input.wx-switch-input-checked::after { + margin: auto; + left: 22px; + box-shadow: none; + transform: scale(0.9, 0.9); +} + +radio-group { + display: inline-block; +} + +radio .wx-radio-input, checkbox .wx-checkbox-input { + margin: 0; + width: 24px; + height: 24px; +} + +checkbox.round .wx-checkbox-input { + border-radius: 100rpx; +} + +switch.radius .wx-switch-input::after, switch.radius .wx-switch-input, +switch.radius .wx-switch-input::before { + border-radius: 10rpx; +} + +switch .wx-switch-input::before, radio.radio::before, +checkbox .wx-checkbox-input::before, radio .wx-radio-input::before { + display: none; +} + +radio.radio[checked]::after { + content: ""; + background-color: transparent; + display: block; + position: absolute; + width: 8px; + height: 8px; + z-index: 999; + top: 0rpx; + left: 0rpx; + right: 0; + bottom: 0; + margin: auto; + border-radius: 200rpx; + border: 8px solid #fff !important; +} + +.switch-sex::after { + content: "\e71c"; +} + +.switch-sex::before { + content: "\e71a"; +} + +.switch-sex .wx-switch-input { + background: var(--red) !important; + border-color: var(--red) !important; +} + +.switch-sex[checked] .wx-switch-input { + background: var(--blue) !important; + border-color: var(--blue) !important; +} + +switch.red[checked] .wx-switch-input, checkbox.red[checked] .wx-checkbox-input, +radio.red[checked] .wx-radio-input { + border-color: var(--red) !important; +} + +switch.orange[checked] .wx-switch-input, +checkbox.orange[checked] .wx-checkbox-input, +radio.orange[checked] .wx-radio-input { + border-color: var(--orange) !important; +} + +switch.yellow[checked] .wx-switch-input, +checkbox.yellow[checked] .wx-checkbox-input, +radio.yellow[checked] .wx-radio-input { + border-color: var(--yellow) !important; +} + +switch.olive[checked] .wx-switch-input, +checkbox.olive[checked] .wx-checkbox-input, radio.olive[checked] .wx-radio-input { + border-color: var(--olive) !important; +} + +switch.green[checked] .wx-switch-input, +checkbox.green[checked] .wx-checkbox-input, checkbox[checked] .wx-checkbox-input, +radio.green[checked] .wx-radio-input { + border-color: var(--green) !important; +} + +switch.cyan[checked] .wx-switch-input, checkbox.cyan[checked] .wx-checkbox-input, +radio.cyan[checked] .wx-radio-input { + border-color: var(--cyan) !important; +} + +switch.blue[checked] .wx-switch-input, checkbox.blue[checked] .wx-checkbox-input, +radio.blue[checked] .wx-radio-input { + border-color: var(--blue) !important; +} + +switch.purple[checked] .wx-switch-input, +checkbox.purple[checked] .wx-checkbox-input, +radio.purple[checked] .wx-radio-input { + border-color: var(--purple) !important; +} + +switch.mauve[checked] .wx-switch-input, +checkbox.mauve[checked] .wx-checkbox-input, radio.mauve[checked] .wx-radio-input { + border-color: var(--mauve) !important; +} + +switch.pink[checked] .wx-switch-input, checkbox.pink[checked] .wx-checkbox-input, +radio.pink[checked] .wx-radio-input { + border-color: var(--pink) !important; +} + +switch.brown[checked] .wx-switch-input, +checkbox.brown[checked] .wx-checkbox-input, radio.brown[checked] .wx-radio-input { + border-color: var(--brown) !important; +} + +switch.grey[checked] .wx-switch-input, checkbox.grey[checked] .wx-checkbox-input, +radio.grey[checked] .wx-radio-input { + border-color: var(--grey) !important; +} + +switch.gray[checked] .wx-switch-input, checkbox.gray[checked] .wx-checkbox-input, +radio.gray[checked] .wx-radio-input { + border-color: var(--grey) !important; +} + +switch.black[checked] .wx-switch-input, +checkbox.black[checked] .wx-checkbox-input, radio.black[checked] .wx-radio-input { + border-color: var(--black) !important; +} + +switch.white[checked] .wx-switch-input, +checkbox.white[checked] .wx-checkbox-input, radio.white[checked] .wx-radio-input { + border-color: #fff !important; +} + +switch.red[checked] .wx-switch-input.wx-switch-input-checked, +checkbox.red[checked] .wx-checkbox-input, radio.red[checked] .wx-radio-input { + background-color: var(--red) !important; + color: #fff !important; +} + +switch.orange[checked] .wx-switch-input, +checkbox.orange[checked] .wx-checkbox-input, +radio.orange[checked] .wx-radio-input { + background-color: var(--orange) !important; + color: #fff !important; +} + +switch.yellow[checked] .wx-switch-input, +checkbox.yellow[checked] .wx-checkbox-input, +radio.yellow[checked] .wx-radio-input { + background-color: var(--yellow) !important; + color: var(--black) !important; +} + +switch.olive[checked] .wx-switch-input, +checkbox.olive[checked] .wx-checkbox-input, radio.olive[checked] .wx-radio-input { + background-color: var(--olive) !important; + color: #fff !important; +} + +switch.green[checked] .wx-switch-input, switch[checked] .wx-switch-input, +checkbox.green[checked] .wx-checkbox-input, checkbox[checked] .wx-checkbox-input, +radio.green[checked] .wx-radio-input, radio[checked] .wx-radio-input { + background-color: var(--green) !important; + color: #fff !important; +} + +switch.cyan[checked] .wx-switch-input, checkbox.cyan[checked] .wx-checkbox-input, +radio.cyan[checked] .wx-radio-input { + background-color: var(--cyan) !important; + color: #fff !important; +} + +switch.blue[checked] .wx-switch-input, checkbox.blue[checked] .wx-checkbox-input, +radio.blue[checked] .wx-radio-input { + background-color: var(--blue) !important; + color: #fff !important; +} + +switch.purple[checked] .wx-switch-input, +checkbox.purple[checked] .wx-checkbox-input, +radio.purple[checked] .wx-radio-input { + background-color: var(--purple) !important; + color: #fff !important; +} + +switch.mauve[checked] .wx-switch-input, +checkbox.mauve[checked] .wx-checkbox-input, radio.mauve[checked] .wx-radio-input { + background-color: var(--mauve) !important; + color: #fff !important; +} + +switch.pink[checked] .wx-switch-input, checkbox.pink[checked] .wx-checkbox-input, +radio.pink[checked] .wx-radio-input { + background-color: var(--pink) !important; + color: #fff !important; +} + +switch.brown[checked] .wx-switch-input, +checkbox.brown[checked] .wx-checkbox-input, radio.brown[checked] .wx-radio-input { + background-color: var(--brown) !important; + color: #fff !important; +} + +switch.grey[checked] .wx-switch-input, checkbox.grey[checked] .wx-checkbox-input, +radio.grey[checked] .wx-radio-input { + background-color: var(--grey) !important; + color: #fff !important; +} + +switch.gray[checked] .wx-switch-input, checkbox.gray[checked] .wx-checkbox-input, +radio.gray[checked] .wx-radio-input { + background-color: #f0f0f0 !important; + color: #666 !important; +} + +switch.black[checked] .wx-switch-input, +checkbox.black[checked] .wx-checkbox-input, radio.black[checked] .wx-radio-input { + background-color: var(--black) !important; + color: #fff !important; +} + +switch.white[checked] .wx-switch-input, +checkbox.white[checked] .wx-checkbox-input, radio.white[checked] .wx-radio-input { + background-color: #fff !important; + color: #666 !important; +} + +/* ================== + 边框 + ==================== */ + +/* -- 实线 -- */ + +.solid, .solid-top, .solid-right, .solid-bottom, .solid-left, .solids, +.solids-top, .solids-right, .solids-bottom, .solids-left, .dashed, .dashed-top, +.dashed-right, .dashed-bottom, .dashed-left { + position: relative; +} + +.solid::after, .solid-top::after, .solid-right::after, .solid-bottom::after, +.solid-left::after, .solids::after, .solids-top::after, .solids-right::after, +.solids-bottom::after, .solids-left::after, .dashed::after, .dashed-top::after, +.dashed-right::after, .dashed-bottom::after, .dashed-left::after { + content: " "; + width: 200%; + height: 200%; + position: absolute; + top: 0; + left: 0; + border-radius: inherit; + transform: scale(0.5); + transform-origin: 0 0; + pointer-events: none; + box-sizing: border-box; +} + +.solid::after { + border: 1rpx solid rgba(0, 0, 0, 0.1); +} + +.solid-top::after { + border-top: 1rpx solid rgba(0, 0, 0, 0.1); +} + +.solid-right::after { + border-right: 1rpx solid rgba(0, 0, 0, 0.1); +} + +.solid-bottom::after { + border-bottom: 1rpx solid rgba(0, 0, 0, 0.1); +} + +.solid-left::after { + border-left: 1rpx solid rgba(0, 0, 0, 0.1); +} + +.solids::after { + border: 8rpx solid #eee; +} + +.solids-top::after { + border-top: 8rpx solid #eee; +} + +.solids-right::after { + border-right: 8rpx solid #eee; +} + +.solids-bottom::after { + border-bottom: 8rpx solid #eee; +} + +.solids-left::after { + border-left: 8rpx solid #eee; +} + +/* -- 虚线 -- */ + +.dashed::after { + border: 1rpx dashed #ddd; +} + +.dashed-top::after { + border-top: 1rpx dashed #ddd; +} + +.dashed-right::after { + border-right: 1rpx dashed #ddd; +} + +.dashed-bottom::after { + border-bottom: 1rpx dashed #ddd; +} + +.dashed-left::after { + border-left: 1rpx dashed #ddd; +} + +/* -- 阴影 -- */ + +.shadow { + box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0.1); +} + +.shadow-lg { + box-shadow: 0rpx 40rpx 100rpx 0rpx rgba(0, 0, 0, 0.07); +} + +.shadow-warp { + position: relative; + box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1); +} + +.shadow-warp:before, .shadow-warp:after { + position: absolute; + content: ""; + top: 20rpx; + bottom: 30rpx; + left: 20rpx; + width: 50%; + box-shadow: 0 30rpx 20rpx rgba(0, 0, 0, 0.2); + transform: rotate(-3deg); + z-index: -1; +} + +.shadow-warp:after { + right: 20rpx; + left: auto; + transform: rotate(3deg); +} + +.shadow-blur { + position: relative; +} + +.shadow-blur::before { + content: ""; + display: block; + background: inherit; + filter: blur(10rpx); + position: absolute; + width: 100%; + height: 100%; + top: 10rpx; + left: 10rpx; + z-index: -1; + opacity: 0.4; + transform-origin: 0 0; + border-radius: inherit; + transform: scale(1, 1); +} + +/* ================== + 按钮 + ==================== */ + +.cu-btn { + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; + box-sizing: border-box; + padding: 0 30rpx; + font-size: 28rpx; + height: 64rpx; + line-height: 1; + text-align: center; + text-decoration: none; + overflow: visible; + margin-left: initial; + transform: translate(0rpx, 0rpx); + margin-right: initial; +} + +.cu-btn::after { + display: none; +} + +.cu-btn:not([class*="bg-"]) { + background-color: #f0f0f0; +} + +.cu-btn[class*="line"] { + background-color: transparent; +} + +.cu-btn[class*="line"]::after { + content: " "; + display: block; + width: 200%; + height: 200%; + position: absolute; + top: 0; + left: 0; + border: 1rpx solid currentColor; + transform: scale(0.5); + transform-origin: 0 0; + box-sizing: border-box; + border-radius: 12rpx; + z-index: 1; + pointer-events: none; +} + +.cu-btn.round[class*="line"]::after { + border-radius: 1000rpx; +} + +.cu-btn[class*="lines"]::after { + border: 6rpx solid currentColor; +} + +.cu-btn[class*="bg-"]::after { + display: none; +} + +.cu-btn.sm { + padding: 0 20rpx; + font-size: 20rpx; + height: 48rpx; +} + +.cu-btn.lg { + padding: 0 40rpx; + font-size: 32rpx; + height: 80rpx; +} + +.cu-btn.icon.sm { + width: 48rpx; + height: 48rpx; +} + +.cu-btn.icon { + width: 64rpx; + height: 64rpx; + border-radius: 500rpx; + padding: 0; +} + +button.icon.lg { + width: 80rpx; + height: 80rpx; +} + +.cu-btn.shadow-blur::before { + top: 4rpx; + left: 4rpx; + filter: blur(6rpx); + opacity: 0.6; +} + +.cu-btn.button-hover { + transform: translate(1rpx, 1rpx); +} + +.block { + display: block; +} + +.cu-btn.block { + display: flex; +} + +.cu-btn[disabled] { + opacity: 0.6; + color: #fff; +} + +/* ================== + 徽章 + ==================== */ + +.cu-tag { + font-size: 24rpx; + vertical-align: middle; + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; + box-sizing: border-box; + padding: 0rpx 16rpx; + height: 48rpx; + font-family: Helvetica Neue, Helvetica, sans-serif; + white-space: nowrap; +} + +.cu-tag:not([class*="bg"]):not([class*="line"]) { + background-color: #f1f1f1; +} + +.cu-tag[class*="line-"]::after { + content: " "; + width: 200%; + height: 200%; + position: absolute; + top: 0; + left: 0; + border: 1rpx solid currentColor; + transform: scale(0.5); + transform-origin: 0 0; + box-sizing: border-box; + border-radius: inherit; + z-index: 1; + pointer-events: none; +} + +.cu-tag.radius[class*="line"]::after { + border-radius: 12rpx; +} + +.cu-tag.round[class*="line"]::after { + border-radius: 1000rpx; +} + +.cu-tag[class*="line-"]::after { + border-radius: 0; +} + +.cu-tag+.cu-tag { + margin-left: 10rpx; +} + +.cu-tag.sm { + font-size: 20rpx; + padding: 0rpx 12rpx; + height: 32rpx; +} + +.cu-capsule { + display: inline-flex; + vertical-align: middle; +} + +.cu-capsule+.cu-capsule { + margin-left: 10rpx; +} + +.cu-capsule .cu-tag { + margin: 0; +} + +.cu-capsule .cu-tag[class*="line-"]:last-child::after { + border-left: 0rpx solid transparent; +} + +.cu-capsule .cu-tag[class*="line-"]:first-child::after { + border-right: 0rpx solid transparent; +} + +.cu-capsule.radius .cu-tag:first-child { + border-top-left-radius: 6rpx; + border-bottom-left-radius: 6rpx; +} + +.cu-capsule.radius .cu-tag:last-child::after, +.cu-capsule.radius .cu-tag[class*="line-"] { + border-top-right-radius: 12rpx; + border-bottom-right-radius: 12rpx; +} + +.cu-capsule.round .cu-tag:first-child { + border-top-left-radius: 200rpx; + border-bottom-left-radius: 200rpx; + text-indent: 4rpx; +} + +.cu-capsule.round .cu-tag:last-child::after, +.cu-capsule.round .cu-tag:last-child { + border-top-right-radius: 200rpx; + border-bottom-right-radius: 200rpx; + text-indent: -4rpx; +} + +.cu-tag.badge { + border-radius: 200rpx; + position: absolute; + top: -10rpx; + right: -10rpx; + font-size: 20rpx; + padding: 0rpx 10rpx; + height: 28rpx; + color: #fff; +} + +.cu-tag.badge:not([class*="bg-"]) { + background-color: #dd514c; +} + +.cu-tag:empty:not([class*="icon"]) { + padding: 0rpx; + width: 16rpx; + height: 16rpx; + top: -4rpx; + right: -4rpx; +} + +.cu-tag[class*="icon"] { + width: 32rpx; + height: 32rpx; + top: -4rpx; + right: -4rpx; +} + +/* ================== + 头像 + ==================== */ + +.cu-avatar { + font-variant: small-caps; + margin: 0; + padding: 0; + display: inline-flex; + text-align: center; + justify-content: center; + align-items: center; + background-color: #ccc; + color: #fff; + white-space: nowrap; + position: relative; + width: 64rpx; + height: 64rpx; + background-size: cover; + background-position: center; + vertical-align: middle; + font-size: 1.5em; +} + +.cu-avatar.sm { + width: 48rpx; + height: 48rpx; + font-size: 1em; +} + +.cu-avatar.lg { + width: 96rpx; + height: 96rpx; + font-size: 2em; +} + +.cu-avatar.xl { + width: 128rpx; + height: 128rpx; + font-size: 2.5em; +} + +.cu-avatar .avatar-text { + font-size: 0.4em; +} + +.cu-avatar-group { + direction: rtl; + unicode-bidi: bidi-override; + padding: 0 10rpx 0 40rpx; + display: inline-block; +} + +.cu-avatar-group .cu-avatar { + margin-left: -30rpx; + border: 4rpx solid #f1f1f1; + vertical-align: middle; +} + +.cu-avatar-group .cu-avatar.sm { + margin-left: -20rpx; + border: 1rpx solid #f1f1f1; +} + +/* ================== + 进度条 + ==================== */ + +.cu-progress { + overflow: hidden; + height: 28rpx; + background-color: #ebeef5; + display: inline-flex; + align-items: center; + width: 100%; +} + +.cu-progress+view, .cu-progress+text { + line-height: 1; +} + +.cu-progress.xs { + height: 10rpx; +} + +.cu-progress.sm { + height: 20rpx; +} + +.cu-progress view { + width: 0; + height: 100%; + align-items: center; + display: flex; + justify-items: flex-end; + justify-content: space-around; + font-size: 20rpx; + color: #fff; + transition: width 0.6s ease; +} + +.cu-progress text { + align-items: center; + display: flex; + font-size: 20rpx; + color: #666; + text-indent: 10rpx; +} + +.cu-progress.text-progress { + padding-right: 60rpx; +} + +.cu-progress.striped view { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 72rpx 72rpx; +} + +.cu-progress.active view { + animation: progress-stripes 2s linear infinite; +} + +@keyframes progress-stripes { + from { + background-position: 72rpx 0; + } + + to { + background-position: 0 0; + } +} + +/* ================== + 加载 + ==================== */ + +.cu-load { + display: block; + line-height: 3em; + text-align: center; +} + +.cu-load::before { + font-family: "cuIcon"; + display: inline-block; + margin-right: 6rpx; +} + +.cu-load.loading::before { + content: "\e67a"; + animation: icon-spin 2s infinite linear; +} + +.cu-load.loading::after { + content: "加载中..."; +} + +.cu-load.over::before { + content: "\e64a"; +} + +.cu-load.over::after { + content: "没有更多了"; +} + +.cu-load.erro::before { + content: "\e658"; +} + +.cu-load.erro::after { + content: "加载失败"; +} + +.cu-load.load-icon::before { + font-size: 32rpx; +} + +.cu-load.load-icon::after { + display: none; +} + +.cu-load.load-icon.over { + display: none; +} + +.cu-load.load-modal { + position: fixed; + top: 0; + right: 0; + bottom: 140rpx; + left: 0; + margin: auto; + width: 260rpx; + height: 260rpx; + background-color: #fff; + border-radius: 10rpx; + box-shadow: 0 0 0rpx 2000rpx rgba(0, 0, 0, 0.5); + display: flex; + align-items: center; + flex-direction: column; + justify-content: center; + font-size: 28rpx; + z-index: 9999; + line-height: 2.4em; +} + +.cu-load.load-modal [class*="icon"] { + font-size: 60rpx; +} + +.cu-load.load-modal image { + width: 70rpx; + height: 70rpx; +} + +.cu-load.load-modal::after { + content: ""; + position: absolute; + background-color: #fff; + border-radius: 50%; + width: 200rpx; + height: 200rpx; + font-size: 10px; + border-top: 6rpx solid rgba(0, 0, 0, 0.05); + border-right: 6rpx solid rgba(0, 0, 0, 0.05); + border-bottom: 6rpx solid rgba(0, 0, 0, 0.05); + border-left: 6rpx solid var(--orange); + animation: icon-spin 1s infinite linear; + z-index: -1; +} + +.load-progress { + pointer-events: none; + top: 0; + position: fixed; + width: 100%; + left: 0; + z-index: 2000; +} + +.load-progress.hide { + display: none; +} + +.load-progress .load-progress-bar { + position: relative; + width: 100%; + height: 4rpx; + overflow: hidden; + transition: all 200ms ease 0s; +} + +.load-progress .load-progress-spinner { + position: absolute; + top: 10rpx; + right: 10rpx; + z-index: 2000; + display: block; +} + +.load-progress .load-progress-spinner::after { + content: ""; + display: block; + width: 24rpx; + height: 24rpx; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: solid 4rpx transparent; + border-top-color: inherit; + border-left-color: inherit; + border-radius: 50%; + -webkit-animation: load-progress-spinner 0.4s linear infinite; + animation: load-progress-spinner 0.4s linear infinite; +} + +@-webkit-keyframes load-progress-spinner { + 0% { + -webkit-transform: rotate(0); + transform: rotate(0); + } + + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes load-progress-spinner { + 0% { + -webkit-transform: rotate(0); + transform: rotate(0); + } + + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +/* ================== + 列表 + ==================== */ + +.grayscale { + filter: grayscale(1); +} + +.cu-list+.cu-list { + margin-top: 30rpx; +} + +.cu-list>.cu-item { + transition: all 0.6s ease-in-out 0s; + transform: translateX(0rpx); +} + +.cu-list>.cu-item.move-cur { + transform: translateX(-260rpx); +} + +.cu-list>.cu-item .move { + position: absolute; + right: 0; + display: flex; + width: 260rpx; + height: 100%; + transform: translateX(100%); +} + +.cu-list>.cu-item .move view { + display: flex; + flex: 1; + justify-content: center; + align-items: center; +} + +.cu-list.menu-avatar { + overflow: hidden; +} + +.cu-list.menu-avatar>.cu-item { + position: relative; + display: flex; + padding-right: 3rpx; + height: 300rpx; + background-color: #fff; + justify-content: flex-end; + align-items: center; +} + +.cu-list.menu-avatar>.cu-item>.cu-avatar { + position: absolute; + left: 30rpx; +} + +.cu-list.menu-avatar>.cu-item .flex .text-cut { + max-width: 510rpx; +} + +.cu-list.menu-avatar>.cu-item .content { + position: absolute; + left: 15rpx; + width: calc(100% - 30rpx); + line-height: 1.9em; +} + +.cu-list.menu-avatar>.cu-item .content.flex-sub { + width: calc(100% - 96rpx - 60rpx - 20rpx); +} + +.cu-list.menu-avatar>.cu-item .content>view:first-child { + font-size: 30rpx; + display: flex; + align-items: center; +} + +.cu-list.menu-avatar>.cu-item .content .cu-tag.sm { + display: inline-block; + margin-left: 10rpx; + height: 28rpx; + font-size: 16rpx; + line-height: 32rpx; +} + +.cu-list.menu-avatar>.cu-item .action { + width: 150rpx; + text-align: center; +} + +.cu-list.menu-avatar>.cu-item .action view+view { + margin-top: 10rpx; +} + +.cu-list.menu-avatar.comment>.cu-item .content { + position: relative; + left: 0; + width: auto; + flex: 1; +} + +.cu-list.menu-avatar.comment>.cu-item { + padding: 30rpx 30rpx 30rpx 120rpx; + height: auto; +} + +.cu-list.menu-avatar.comment .cu-avatar { + align-self: flex-start; +} + +.cu-list.menu>.cu-item { + position: relative; + display: flex; + padding: 0 30rpx; + min-height: 100rpx; + background-color: #fff; + justify-content: space-between; + align-items: center; +} + +.cu-list.menu>.cu-item:last-child:after { + border: none; +} + +.cu-list.menu>.cu-item:after { + position: absolute; + top: 0; + left: 0; + box-sizing: border-box; + width: 200%; + height: 200%; + border-bottom: 1rpx solid #ddd; + border-radius: inherit; + content: " "; + transform: scale(0.5); + transform-origin: 0 0; + pointer-events: none; +} + +.cu-list.menu>.cu-item.grayscale { + background-color: #f5f5f5; +} + +.cu-list.menu>.cu-item.cur { + background-color: #fcf7e9; +} + +.cu-list.menu>.cu-item.arrow { + padding-right: 90rpx; +} + +.cu-list.menu>.cu-item.arrow:before { + content: "\e6a3"; + position: absolute; + top: 0; + right: 30rpx; + bottom: 0; + display: block; + margin: auto; + width: 30rpx; + height: 30rpx; + color: var(--grey); + text-align: center; + font-size: 34rpx; + font-family: cuIcon; + line-height: 30rpx; +} + +.cu-list.menu>.cu-item button.content { + padding: 0; + background-color: transparent; + justify-content: flex-start; +} + +.cu-list.menu>.cu-item button.content:after { + display: none; +} + +.cu-list.menu>.cu-item .cu-avatar-group .cu-avatar { + border-color: #fff; +} + +.cu-list.menu>.cu-item .content>view:first-child { + display: flex; + align-items: center; +} + +.cu-list.menu>.cu-item .content>text[class*=icon] { + display: inline-block; + margin-right: 10rpx; + width: 1.6em; + text-align: center; +} + +.cu-list.menu>.cu-item .content>image { + display: inline-block; + margin-right: 10rpx; + width: 1.6em; + height: 1.6em; + vertical-align: middle; +} + +.cu-list.menu>.cu-item .content { + font-size: 30rpx; + line-height: 1.6em; + flex: 1; +} + +.cu-list.menu>.cu-item .content .cu-tag.sm { + display: inline-block; + margin-left: 10rpx; + height: 28rpx; + font-size: 16rpx; + line-height: 32rpx; +} + +.cu-list.menu>.cu-item .action .cu-tag:empty { + right: 10rpx; +} + +.cu-list.menu { + display: block; + overflow: hidden; +} + +.cu-list.menu.sm-border>.cu-item:after { + left: 30rpx; + width: calc(200% - 120rpx); +} + +.cu-list.grid>.cu-item { + position: relative; + display: flex; + padding: 20rpx 0 30rpx; + transition-duration: 0s; + flex-direction: column; +} + +.cu-list.grid>.cu-item:after { + position: absolute; + top: 0; + left: 0; + box-sizing: border-box; + width: 200%; + height: 200%; + border-right: 1px solid rgba(0, 0, 0, 0.1); + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + border-radius: inherit; + content: " "; + transform: scale(0.5); + transform-origin: 0 0; + pointer-events: none; +} + +.cu-list.grid>.cu-item text { + display: block; + margin-top: 10rpx; + color: #888; + font-size: 26rpx; + line-height: 40rpx; +} + +.cu-list.grid>.cu-item [class*=icon] { + position: relative; + display: block; + margin-top: 20rpx; + width: 100%; + font-size: 48rpx; +} + +.cu-list.grid>.cu-item .cu-tag { + right: auto; + left: 50%; + margin-left: 20rpx; +} + +.cu-list.grid { + background-color: #fff; + text-align: center; +} + +.cu-list.grid.no-border>.cu-item { + padding-top: 10rpx; + padding-bottom: 20rpx; +} + +.cu-list.grid.no-border>.cu-item:after { + border: none; +} + +.cu-list.grid.no-border { + padding: 20rpx 10rpx; +} + +.cu-list.grid.col-3>.cu-item:nth-child(3n):after, +.cu-list.grid.col-4>.cu-item:nth-child(4n):after, +.cu-list.grid.col-5>.cu-item:nth-child(5n):after { + border-right-width: 0; +} + +.cu-list.card-menu { + overflow: hidden; + margin-right: 30rpx; + margin-left: 30rpx; + border-radius: 20rpx; +} + +/* ================== + 操作条 + ==================== */ + +.cu-bar { + display: flex; + position: relative; + align-items: center; + min-height: 100rpx; + justify-content: space-between; +} + +.cu-bar .action { + display: flex; + align-items: center; + height: 100%; + justify-content: center; + max-width: 100%; +} + +.cu-bar .action.border-title { + position: relative; + top: -10rpx; +} + +.cu-bar .action.border-title text[class*="bg-"]:last-child { + position: absolute; + bottom: -0.5rem; + min-width: 2rem; + height: 6rpx; + left: 0; +} + +.cu-bar .action.sub-title { + position: relative; + top: -0.2rem; +} + +.cu-bar .action.sub-title text { + position: relative; + z-index: 1; +} + +.cu-bar .action.sub-title text[class*="bg-"]:last-child { + position: absolute; + display: inline-block; + bottom: -0.2rem; + border-radius: 6rpx; + width: 100%; + height: 0.6rem; + left: 0.6rem; + opacity: 0.3; + z-index: 0; +} + +.cu-bar .action.sub-title text[class*="text-"]:last-child { + position: absolute; + display: inline-block; + bottom: -0.7rem; + left: 0.5rem; + opacity: 0.2; + z-index: 0; + text-align: right; + font-weight: 900; + font-size: 36rpx; +} + +.cu-bar.justify-center .action.border-title text:last-child, +.cu-bar.justify-center .action.sub-title text:last-child { + left: 0; + right: 0; + margin: auto; + text-align: center; +} + +.cu-bar .action:first-child { + margin-left: 30rpx; + font-size: 30rpx; +} + +.cu-bar .action text.text-cut { + text-align: left; + width: 100%; +} + +.cu-bar .cu-avatar:first-child { + margin-left: 20rpx; +} + +.cu-bar .action:first-child>text[class*="icon"] { + margin-left: -0.3em; + margin-right: 0.3em; +} + +.cu-bar .action:last-child { + margin-right: 30rpx; +} + +.cu-bar .action>text[class*="icon"], .cu-bar .action>view[class*="icon"] { + font-size: 36rpx; +} + +.cu-bar .action>text[class*="icon"]+text[class*="icon"] { + margin-left: 0.5em; +} + +.cu-bar .content { + position: absolute; + text-align: center; + width: calc(100% - 340rpx); + left: 0; + right: 0; + bottom: 0; + top: 0; + margin: auto; + height: 60rpx; + font-size: 32rpx; + line-height: 60rpx; + cursor: none; + pointer-events: none; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; +} + +.cu-bar.ios .content { + bottom: 7px; + height: 30px; + font-size: 32rpx; + line-height: 30px; +} + +.cu-bar.btn-group { + justify-content: space-around; +} + +.cu-bar.btn-group button { + padding: 20rpx 32rpx; +} + +.cu-bar.btn-group button { + flex: 1; + margin: 0 20rpx; + max-width: 50%; +} + +.cu-bar .search-form { + background-color: #f5f5f5; + line-height: 64rpx; + height: 64rpx; + font-size: 24rpx; + color: #666; + flex: 1; + display: flex; + align-items: center; + margin: 0 20rpx; +} + +.cu-bar .search-form+.action { + margin-right: 20rpx; +} + +.cu-bar .search-form input { + flex: 1; + padding-right: 20rpx; + height: 64rpx; + line-height: 64rpx; + font-size: 26rpx; +} + +.cu-bar .search-form [class*="icon"] { + margin: 0 0.5em 0 0.8em; +} + +.cu-bar .search-form [class*="icon"]::before { + top: 0rpx; +} + +.cu-bar.fixed, .nav.fixed { + position: fixed; + width: 100%; + top: 0; + z-index: 1024; + box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0.1); +} + +.cu-bar.foot { + position: fixed; + width: 100%; + bottom: 0; + z-index: 100; + box-shadow: 0 -1rpx 6rpx rgba(0, 0, 0, 0.1); +} + +.cu-bar.tabbar { + padding: 0; + height: calc(100rpx + env(safe-area-inset-bottom) / 2); + padding-bottom: calc(env(safe-area-inset-bottom) / 2); +} + +.cu-tabbar-height { + min-height: 100rpx; + height: calc(100rpx + env(safe-area-inset-bottom) / 2); +} + +.cu-bar.tabbar.shadow { + box-shadow: 0 -1rpx 6rpx rgba(0, 0, 0, 0.1); +} + +.cu-bar.tabbar .action { + font-size: 22rpx; + position: relative; + flex: 1; + text-align: center; + padding: 0; + display: block; + height: auto; + line-height: 1; + margin: 0; + background-color: inherit; + overflow: initial; +} + +.cu-bar.tabbar.shop .action { + width: 140rpx; + flex: initial; +} + +.cu-bar.tabbar .action.add-action { + position: relative; + z-index: 2; + padding-top: 50rpx; +} + +.cu-bar.tabbar .action.add-action [class*="icon"] { + position: absolute; + width: 70rpx; + z-index: 2; + height: 70rpx; + border-radius: 50%; + line-height: 70rpx; + font-size: 50rpx; + top: -35rpx; + left: 0; + right: 0; + margin: auto; + padding: 0; +} + +.cu-bar.tabbar .action.add-action::after { + content: ""; + position: absolute; + width: 100rpx; + height: 100rpx; + top: -50rpx; + left: 0; + right: 0; + margin: auto; + box-shadow: 0 -3rpx 8rpx rgba(0, 0, 0, 0.08); + border-radius: 50rpx; + background-color: inherit; + z-index: 0; +} + +.cu-bar.tabbar .action.add-action::before { + content: ""; + position: absolute; + width: 100rpx; + height: 30rpx; + bottom: 30rpx; + left: 0; + right: 0; + margin: auto; + background-color: inherit; + z-index: 1; +} + +.cu-bar.tabbar .btn-group { + flex: 1; + display: flex; + justify-content: space-around; + align-items: center; + padding: 0 10rpx; +} + +.cu-bar.tabbar button.action::after { + border: 0; +} + +.cu-bar.tabbar .action [class*="icon"] { + width: 100rpx; + position: relative; + display: block; + height: auto; + margin: 0 auto 10rpx; + text-align: center; + font-size: 40rpx; +} + +.cu-bar.tabbar .action .icon-cu-image { + margin: 0 auto; +} + +.cu-bar.tabbar .action .icon-cu-image image { + width: 50rpx; + height: 50rpx; + display: inline-block; +} + +.cu-bar.tabbar .submit { + align-items: center; + display: flex; + justify-content: center; + text-align: center; + position: relative; + flex: 2; + align-self: stretch; +} + +.cu-bar.tabbar .submit:last-child { + flex: 2.6; +} + +.cu-bar.tabbar .submit+.submit { + flex: 2; +} + +.cu-bar.tabbar.border .action::before { + content: " "; + width: 200%; + height: 200%; + position: absolute; + top: 0; + left: 0; + transform: scale(0.5); + transform-origin: 0 0; + border-right: 1rpx solid rgba(0, 0, 0, 0.1); + z-index: 3; +} + +.cu-bar.tabbar.border .action:last-child:before { + display: none; +} + +.cu-bar.input { + padding-right: 20rpx; + background-color: #fff; +} + +.cu-bar.input input { + overflow: initial; + line-height: 64rpx; + height: 64rpx; + min-height: 64rpx; + flex: 1; + font-size: 30rpx; + margin: 0 20rpx; +} + +.cu-bar.input .action { + margin-left: 20rpx; +} + +.cu-bar.input .action [class*="icon"] { + font-size: 48rpx; +} + +.cu-bar.input input+.action { + margin-right: 20rpx; + margin-left: 0rpx; +} + +.cu-bar.input .action:first-child [class*="icon"] { + margin-left: 0rpx; +} + +.cu-custom { + display: block; + position: relative; +} + +.cu-custom .cu-bar .content { + width: calc(100% - 440rpx); +} + +.cu-custom .cu-bar { + min-height: 0px; + padding-right: 200rpx; + box-shadow: 0rpx 0rpx 0rpx; + z-index: 9999; +} + +.cu-custom .cu-bar .content image { + height: 60rpx; + width: 240rpx; +} + +.cu-custom .cu-bar .border-custom { + position: relative; + background: rgba(0, 0, 0, 0.15); + border-radius: 1000rpx; + height: 30px; +} + +.cu-custom .cu-bar .border-custom::after { + content: " "; + width: 200%; + height: 200%; + position: absolute; + top: 0; + left: 0; + border-radius: inherit; + transform: scale(0.5); + transform-origin: 0 0; + pointer-events: none; + box-sizing: border-box; + border: 1rpx solid #fff; + opacity: 0.5; +} + +.cu-custom .cu-bar .border-custom::before { + content: " "; + width: 1rpx; + height: 110%; + position: absolute; + top: 22.5%; + left: 0; + right: 0; + margin: auto; + transform: scale(0.5); + transform-origin: 0 0; + pointer-events: none; + box-sizing: border-box; + opacity: 0.6; + background-color: #fff; +} + +.cu-custom .cu-bar .border-custom text { + display: block; + flex: 1; + margin: auto !important; + text-align: center; + font-size: 34rpx; +} + +/* ================== + 导航栏 + ==================== */ + +.nav { + white-space: nowrap; +} + +::-webkit-scrollbar { + display: none; +} + +.nav .cu-item { + height: 90rpx; + display: inline-block; + line-height: 90rpx; + margin: 0 10rpx; + padding: 0 20rpx; +} + +.nav .cu-item.cur { + border-bottom: 4rpx solid; +} + +/* ================== + 时间轴 + ==================== */ + +.cu-timeline { + display: block; + background-color: #fff; +} + +.cu-timeline .cu-time { + width: 120rpx; + text-align: center; + padding: 20rpx 0; + font-size: 26rpx; + color: #888; + display: block; +} + +.cu-timeline>.cu-item { + padding: 30rpx 30rpx 30rpx 120rpx; + position: relative; + display: block; + z-index: 0; +} + +.cu-timeline>.cu-item:not([class*="text-"]) { + color: #ccc; +} + +.cu-timeline>.cu-item::after { + content: ""; + display: block; + position: absolute; + width: 1rpx; + background-color: #ddd; + left: 60rpx; + height: 100%; + top: 0; + z-index: 8; +} + +.cu-timeline>.cu-item::before { + font-family: "cuIcon"; + display: block; + position: absolute; + top: 36rpx; + z-index: 9; + background-color: #fff; + width: 50rpx; + height: 50rpx; + text-align: center; + border: none; + line-height: 50rpx; + left: 36rpx; +} + +.cu-timeline>.cu-item:not([class*="icon-"])::before { + content: "\e763"; +} + +.cu-timeline>.cu-item[class*="icon"]::before { + background-color: #fff; + width: 50rpx; + height: 50rpx; + text-align: center; + border: none; + line-height: 50rpx; + left: 36rpx; +} + +.cu-timeline>.cu-item>.content { + padding: 30rpx; + border-radius: 6rpx; + display: block; + line-height: 1.6; +} + +.cu-timeline>.cu-item>.content:not([class*="bg-"]) { + background-color: #f1f1f1; + color: #666; +} + +.cu-timeline>.cu-item>.content+.content { + margin-top: 20rpx; +} + +/* ================== + 聊天 + ==================== */ + +.cu-chat { + display: flex; + flex-direction: column; +} + +.cu-chat .cu-item { + display: flex; + padding: 30rpx 30rpx 70rpx; + position: relative; +} + +.cu-chat .cu-item>.cu-avatar { + width: 80rpx; + height: 80rpx; +} + +.cu-chat .cu-item>.main { + max-width: calc(100% - 260rpx); + margin: 0 40rpx; + display: flex; + align-items: center; +} + +.cu-chat .cu-item>image { + height: 320rpx; +} + +.cu-chat .cu-item>.main .content { + padding: 20rpx; + border-radius: 6rpx; + display: inline-flex; + max-width: 100%; + align-items: center; + font-size: 30rpx; + position: relative; + min-height: 80rpx; + line-height: 40rpx; + text-align: left; +} + +.cu-chat .cu-item>.main .content:not([class*="bg-"]) { + background-color: #fff; + color: #666; +} + +.cu-chat .cu-item .date { + position: absolute; + font-size: 24rpx; + color: var(--grey); + width: calc(100% - 320rpx); + bottom: 20rpx; + left: 160rpx; +} + +.cu-chat .cu-item .action { + padding: 0 30rpx; + display: flex; + align-items: center; +} + +.cu-chat .cu-item>.main .content::after { + content: ""; + top: 27rpx; + transform: rotate(45deg); + position: absolute; + z-index: 100; + display: inline-block; + overflow: hidden; + width: 24rpx; + height: 24rpx; + left: -12rpx; + right: initial; + background-color: inherit; +} + +.cu-chat .cu-item.self>.main .content::after { + left: auto; + right: -12rpx; +} + +.cu-chat .cu-item>.main .content::before { + content: ""; + top: 30rpx; + transform: rotate(45deg); + position: absolute; + z-index: -1; + display: inline-block; + overflow: hidden; + width: 24rpx; + height: 24rpx; + left: -12rpx; + right: initial; + background-color: inherit; + filter: blur(5rpx); + opacity: 0.3; +} + +.cu-chat .cu-item>.main .content:not([class*="bg-"])::before { + background-color: var(--black); + opacity: 0.1; +} + +.cu-chat .cu-item.self>.main .content::before { + left: auto; + right: -12rpx; +} + +.cu-chat .cu-item.self { + justify-content: flex-end; + text-align: right; +} + +.cu-chat .cu-info { + display: inline-block; + margin: 20rpx auto; + font-size: 24rpx; + padding: 8rpx 12rpx; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 6rpx; + color: #fff; + max-width: 400rpx; + line-height: 1.4; +} + +/* ================== + 卡片 + ==================== */ + +.cu-card { + display: block; + overflow: hidden; +} + +.cu-card>.cu-item { + display: block; + background-color: #fff; + overflow: hidden; + border-radius: 10rpx; + margin: 30rpx; +} + +.cu-card>.cu-item.shadow-blur { + overflow: initial; +} + +.cu-card.no-card>.cu-item { + margin: 0rpx; + border-radius: 0rpx; +} + +.cu-card .grid.grid-square { + margin-bottom: -20rpx; +} + +.cu-card.case .image { + position: relative; +} + +.cu-card.case .image image { + width: 100%; +} + +.cu-card.case .image .cu-tag { + position: absolute; + right: 0; + top: 0; +} + +.cu-card.case .image .cu-bar { + position: absolute; + bottom: 0; + width: 100%; + background-color: transparent; + padding: 0rpx 30rpx; +} + +.cu-card.case.no-card .image { + margin: 30rpx 30rpx 0; + overflow: hidden; + border-radius: 10rpx; +} + +.cu-card.dynamic { + display: block; +} + +.cu-card.dynamic>.cu-item { + display: block; + background-color: #fff; + overflow: hidden; +} + +.cu-card.dynamic>.cu-item>.text-content { + padding: 0 30rpx 0; + max-height: 6.4em; + overflow: hidden; + font-size: 30rpx; + margin-bottom: 20rpx; +} + +.cu-card.dynamic>.cu-item .square-img { + width: 100%; + height: 200rpx; + border-radius: 6rpx; +} + +.cu-card.dynamic>.cu-item .only-img { + width: 100%; + height: 320rpx; + border-radius: 6rpx; +} + +/* card.dynamic>.cu-item .comment { + padding: 20rpx; + background-color: #f1f1f1; + margin: 0 30rpx 30rpx; + border-radius: 6rpx; +} */ + +.cu-card.article { + display: block; +} + +.cu-card.article>.cu-item { + padding-bottom: 30rpx; +} + +.cu-card.article>.cu-item .title { + font-size: 30rpx; + font-weight: 900; + color: var(--black); + line-height: 100rpx; + padding: 0 30rpx; +} + +.cu-card.article>.cu-item .content { + display: flex; + padding: 0 30rpx; +} + +.cu-card.article>.cu-item .content>image { + width: 240rpx; + height: 6.4em; + margin-right: 20rpx; + border-radius: 6rpx; +} + +.cu-card.article>.cu-item .content .desc { + flex: 1; + display: flex; + flex-direction: column; + justify-content: space-between; +} + +.cu-card.article>.cu-item .content .text-content { + font-size: 28rpx; + color: #888; + height: 4.8em; + overflow: hidden; +} + +/* ================== + 表单 + ==================== */ + +.cu-form-group { + background-color: #fff; + padding: 1rpx 30rpx; + display: flex; + align-items: center; + min-height: 100rpx; + justify-content: space-between; +} + +.cu-form-group+.cu-form-group { + border-top: 1rpx solid #eee; +} + +.cu-form-group .title { + text-align: justify; + padding-right: 30rpx; + font-size: 30rpx; + position: relative; + height: 60rpx; + line-height: 60rpx; +} + +.cu-form-group input { + flex: 1; + font-size: 30rpx; + color: #555; + padding-right: 20rpx; +} + +.cu-form-group>text[class*="icon"] { + font-size: 36rpx; + padding: 0; + box-sizing: border-box; +} + +.cu-form-group.top .title { + height: 1em; + line-height: 1; + align-self: flex-start; + margin-top: 16px; +} + +.cu-form-group textarea { + margin: 32rpx 0 30rpx; + height: 4.6em; + width: 100%; + line-height: 1.2em; + flex: 1; + font-size: 28rpx; + padding: 0; + box-sizing: content-box; + display: inline-block; + vertical-align: top; +} + +.cu-form-group textarea .placeholder { + color: transparent; +} + +.cu-form-group textarea::after { + content: attr(data-placeholder); + color: gray; + position: absolute; + top: 0; + left: 0; + pointer-events: none; + transition: 0.2s; + opacity: 1; +} + +.cu-form-group textarea.value::after { + opacity: 0; +} + +.cu-form-group picker { + flex: 1; + padding-right: 40rpx; + overflow: hidden; + position: relative; +} + +.cu-form-group picker .picker { + line-height: 100rpx; + font-size: 32rpx; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + width: 100%; + text-align: right; +} + +.cu-form-group picker::after { + font-family: cuIcon; + display: block; + content: "\e6a3"; + position: absolute; + font-size: 34rpx; + color: var(--grey); + line-height: 100rpx; + width: 60rpx; + text-align: center; + top: 0; + bottom: 0; + right: -20rpx; + margin: auto; +} + +.cu-form-group textarea[disabled], +.cu-form-group textarea[disabled] .placeholder { + color: transparent; +} + +/* ================== + 模态窗口 + ==================== */ + +.cu-modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1110; + opacity: 0; + outline: 0; + text-align: center; + -ms-transform: scale(1.185); + transform: scale(1.185); + backface-visibility: hidden; + perspective: 2000rpx; + background: rgba(0, 0, 0, 0.6); + transition: all 0.3s ease-in-out 0s; + pointer-events: none; +} + +.cu-modal::before { + content: "\200B"; + display: inline-block; + height: 100%; + vertical-align: middle; +} + +.cu-modal.show { + opacity: 1; + transition-duration: 0.3s; + -ms-transform: scale(1); + transform: scale(1); + overflow-x: hidden; + overflow-y: auto; + pointer-events: auto; +} + +.cu-dialog { + position: relative; + display: inline-block; + vertical-align: middle; + margin-left: auto; + margin-right: auto; + width: 680rpx; + max-width: 100%; + background-color: #f8f8f8; + border-radius: 10rpx; + overflow: hidden; +} + +.cu-modal.bottom-modal::before { + vertical-align: bottom; +} + +.cu-modal.bottom-modal .cu-dialog { + width: 100%; + border-radius: 0; +} + +.cu-modal.bottom-modal { + margin-bottom: -1000rpx; +} + +.cu-modal.bottom-modal.show { + margin-bottom: 0; +} + +.cu-modal.drawer-modal { + transform: scale(1); + display: flex; +} + +.cu-modal.drawer-modal .cu-dialog { + height: 100%; + min-width: 200rpx; + border-radius: 0; + margin: initial; + transition-duration: 0.3s; +} + +.cu-modal.drawer-modal.justify-start .cu-dialog { + transform: translateX(-100%); +} + +.cu-modal.drawer-modal.justify-end .cu-dialog { + transform: translateX(100%); +} + +.cu-modal.drawer-modal.show .cu-dialog { + transform: translateX(0%); +} + +/* ================== + 轮播 + ==================== */ + +swiper.square-dot .wx-swiper-dot { + background-color: #fff; + opacity: 0.4; + width: 10rpx; + height: 10rpx; + border-radius: 20rpx; + transition: all 0.3s ease-in-out 0s; +} + +swiper.square-dot .wx-swiper-dot.wx-swiper-dot-active { + opacity: 1; + width: 30rpx; +} + +swiper.round-dot .wx-swiper-dot { + width: 10rpx; + height: 10rpx; + top: -4rpx; + transition: all 0.3s ease-in-out 0s; + position: relative; +} + +swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active::after { + content: ""; + position: absolute; + width: 10rpx; + height: 10rpx; + top: 0rpx; + left: 0rpx; + right: 0; + bottom: 0; + margin: auto; + background-color: #fff; + border-radius: 20rpx; +} + +swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active { + width: 18rpx; + height: 18rpx; + top: 0rpx; +} + +.screen-swiper { + min-height: 375rpx; +} + +.screen-swiper image, .screen-swiper video, .swiper-item image, +.swiper-item video { + width: 100%; + display: block; + height: 100%; + margin: 0; + pointer-events: none; +} + +.card-swiper { + height: 420rpx; +} + +.card-swiper swiper-item { + width: 610rpx !important; + left: 70rpx; + box-sizing: border-box; + padding: 40rpx 0rpx 70rpx; + overflow: initial; +} + +.card-swiper swiper-item .swiper-item { + width: 100%; + display: block; + height: 100%; + border-radius: 10rpx; + transform: scale(0.9); + transition: all 0.2s ease-in 0s; + overflow: hidden; +} + +.card-swiper swiper-item.cur .swiper-item { + transform: none; + transition: all 0.2s ease-in 0s; +} + +.tower-swiper { + height: 420rpx; + position: relative; + max-width: 750rpx; + overflow: hidden; +} + +.tower-swiper .tower-item { + position: absolute; + width: 300rpx; + height: 380rpx; + top: 0; + bottom: 0; + left: 50%; + margin: auto; + transition: all 0.2s ease-in 0s; + opacity: 1; +} + +.tower-swiper .tower-item.none { + opacity: 0; +} + +.tower-swiper .tower-item .swiper-item { + width: 100%; + height: 100%; + border-radius: 6rpx; + overflow: hidden; +} + +/* ================== + 步骤条 + ==================== */ + +.cu-steps { + display: flex; +} + +scroll-view.cu-steps { + display: block; + white-space: nowrap; +} + +scroll-view.cu-steps .cu-item { + display: inline-block; +} + +.cu-steps .cu-item { + flex: 1; + text-align: center; + position: relative; + min-width: 100rpx; +} + +.cu-steps .cu-item:not([class*="text-"]) { + color: var(--grey); +} + +.cu-steps .cu-item [class*="icon"], .cu-steps .cu-item .num { + display: block; + font-size: 40rpx; + line-height: 80rpx; +} + +.cu-steps .cu-item::before, .cu-steps .cu-item::after, +.cu-steps.steps-arrow .cu-item::before, .cu-steps.steps-arrow .cu-item::after { + content: ""; + display: block; + position: absolute; + height: 0px; + width: calc(100% - 80rpx); + border-bottom: 1px solid #ccc; + left: calc(0px - (100% - 80rpx) / 2); + top: 40rpx; + z-index: 0; +} + +.cu-steps.steps-arrow .cu-item::before, .cu-steps.steps-arrow .cu-item::after { + content: "\e6a3"; + font-family: 'cuIcon'; + height: 30rpx; + border-bottom-width: 0px; + line-height: 30rpx; + top: 0; + bottom: 0; + margin: auto; + color: #ccc; +} + +.cu-steps.steps-bottom .cu-item::before, .cu-steps.steps-bottom .cu-item::after { + bottom: 40rpx; + top: initial; +} + +.cu-steps .cu-item::after { + border-bottom: 1px solid currentColor; + width: 0px; + transition: all 0.3s ease-in-out 0s; +} + +.cu-steps .cu-item[class*="text-"]::after { + width: calc(100% - 80rpx); + color: currentColor; +} + +.cu-steps .cu-item:first-child::before, .cu-steps .cu-item:first-child::after { + display: none; +} + +.cu-steps .cu-item .num { + width: 40rpx; + height: 40rpx; + border-radius: 50%; + line-height: 40rpx; + margin: 20rpx auto; + font-size: 24rpx; + border: 1px solid currentColor; + position: relative; + overflow: hidden; +} + +.cu-steps .cu-item[class*="text-"] .num { + background-color: currentColor; +} + +.cu-steps .cu-item .num::before, .cu-steps .cu-item .num::after { + content: attr(data-index); + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: auto; + transition: all 0.3s ease-in-out 0s; + transform: translateY(0rpx); +} + +.cu-steps .cu-item[class*="text-"] .num::before { + transform: translateY(-40rpx); + color: #fff; +} + +.cu-steps .cu-item .num::after { + transform: translateY(40rpx); + color: #fff; + transition: all 0.3s ease-in-out 0s; +} + +.cu-steps .cu-item[class*="text-"] .num::after { + content: "\e645"; + font-family: 'cuIcon'; + color: #fff; + transform: translateY(0rpx); +} + +.cu-steps .cu-item[class*="text-"] .num.err::after { + content: "\e646"; +} + +/* ================== + 布局 + ==================== */ + +/* -- flex弹性布局 -- */ + +.flex { + display: flex; +} + +.basis-xs { + flex-basis: 20%; +} + +.basis-sm { + flex-basis: 40%; +} + +.basis-df { + flex-basis: 50%; +} + +.basis-lg { + flex-basis: 60%; +} + +.basis-xl { + flex-basis: 80%; +} + +.flex-sub { + flex: 1; +} + +.flex-twice { + flex: 2; +} + +.flex-treble { + flex: 3; +} + +.flex-direction { + flex-direction: column; +} + +.flex-wrap { + flex-wrap: wrap; +} + +.align-start { + align-items: flex-start; +} + +.align-end { + align-items: flex-end; +} + +.align-center { + align-items: center; +} + +.align-stretch { + align-items: stretch; +} + +.self-start { + align-self: flex-start; +} + +.self-center { + align-self: flex-center; +} + +.self-end { + align-self: flex-end; +} + +.self-stretch { + align-self: stretch; +} + +.align-stretch { + align-items: stretch; +} + +.justify-start { + justify-content: flex-start; +} + +.justify-end { + justify-content: flex-end; +} + +.justify-center { + justify-content: center; +} + +.justify-between { + justify-content: space-between; +} + +.justify-around { + justify-content: space-around; +} + +/* grid布局 */ + +.grid { + display: flex; + flex-wrap: wrap; +} + +.grid.grid-square { + overflow: hidden; +} + +.grid.grid-square .cu-tag { + position: absolute; + right: 0; + top: 0; + border-bottom-left-radius: 6rpx; + padding: 6rpx 12rpx; + height: auto; + background-color: rgba(0, 0, 0, 0.5); +} + +.grid.grid-square>view>text[class*="icon"] { + font-size: 52rpx; + position: absolute; + color: var(--grey); + margin: auto; + top: 0; + bottom: 0; + left: 0; + right: 0; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +.grid.grid-square>view { + margin-right: 20rpx; + margin-bottom: 20rpx; + border-radius: 6rpx; + position: relative; + overflow: hidden; +} + +.grid.col-1.grid-square>view { + padding-bottom: 100%; + height: 0; + margin-right: 0; +} + +.grid.col-2.grid-square>view { + padding-bottom: calc((100% - 20rpx)/2); + height: 0; + width: calc((100% - 20rpx)/2); +} + +.grid.col-2.grid-square>view:nth-child(2n) { + margin-right: 0; +} + +.grid.col-3.grid-square>view { + padding-bottom: calc((100% - 40rpx)/3); + height: 0; + width: calc((100% - 40rpx)/3); +} + +.grid.col-3.grid-square>view:nth-child(3n) { + margin-right: 0; +} + +.grid.col-4.grid-square>view { + padding-bottom: calc((100% - 60rpx)/4); + height: 0; + width: calc((100% - 60rpx)/4); +} + +.grid.col-4.grid-square>view:nth-child(4n) { + margin-right: 0; +} + +.grid.col-5.grid-square>view { + padding-bottom: calc((100% - 80rpx)/5); + height: 0; + width: calc((100% - 80rpx)/5); +} + +.grid.col-1>view { + width: 100%; +} + +.grid.col-2>view { + width: 50%; +} + +.grid.col-3>view { + width: 33.33%; +} + +.grid.col-4>view { + width: 25%; +} + +.grid.col-5>view { + width: 20%; +} + +/* -- 内外边距 -- */ + +.margin-0 { + margin: 0; +} + +.margin-xs { + margin: 10rpx; +} + +.margin-sm { + margin: 20rpx; +} + +.margin { + margin: 30rpx; +} + +.margin-lg { + margin: 40rpx; +} + +.margin-xl { + margin: 50rpx; +} + +.margin-top-xs { + margin-top: 10rpx; +} + +.margin-top-sm { + margin-top: 20rpx; +} + +.margin-top { + margin-top: 30rpx; +} + +.margin-top-lg { + margin-top: 40rpx; +} + +.margin-top-xl { + margin-top: 50rpx; +} + +.margin-right-xs { + margin-right: 10rpx; +} + +.margin-right-sm { + margin-right: 20rpx; +} + +.margin-right { + margin-right: 30rpx; +} + +.margin-right-lg { + margin-right: 40rpx; +} + +.margin-right-xl { + margin-right: 50rpx; +} + +.margin-bottom-xs { + margin-bottom: 10rpx; +} + +.margin-bottom-sm { + margin-bottom: 20rpx; +} + +.margin-bottom { + margin-bottom: 30rpx; +} + +.margin-bottom-lg { + margin-bottom: 40rpx; +} + +.margin-bottom-xl { + margin-bottom: 50rpx; +} + +.margin-left-xs { + margin-left: 10rpx; +} + +.margin-left-sm { + margin-left: 20rpx; +} + +.margin-left { + margin-left: 30rpx; +} + +.margin-left-lg { + margin-left: 40rpx; +} + +.margin-left-xl { + margin-left: 50rpx; +} + +.margin-lr-xs { + margin-left: 10rpx; + margin-right: 10rpx; +} + +.margin-lr-sm { + margin-left: 20rpx; + margin-right: 20rpx; +} + +.margin-lr { + margin-left: 30rpx; + margin-right: 30rpx; +} + +.margin-lr-lg { + margin-left: 40rpx; + margin-right: 40rpx; +} + +.margin-lr-xl { + margin-left: 50rpx; + margin-right: 50rpx; +} + +.margin-tb-xs { + margin-top: 10rpx; + margin-bottom: 10rpx; +} + +.margin-tb-sm { + margin-top: 20rpx; + margin-bottom: 20rpx; +} + +.margin-tb { + margin-top: 30rpx; + margin-bottom: 30rpx; +} + +.margin-tb-lg { + margin-top: 40rpx; + margin-bottom: 40rpx; +} + +.margin-tb-xl { + margin-top: 50rpx; + margin-bottom: 50rpx; +} + +.padding-0 { + padding: 0; +} + +.padding-xs { + padding: 10rpx; +} + +.padding-sm { + padding: 20rpx; +} + +.padding { + padding: 30rpx; +} + +.padding-lg { + padding: 40rpx; +} + +.padding-xl { + padding: 50rpx; +} + +.padding-top-xs { + padding-top: 10rpx; +} + +.padding-top-sm { + padding-top: 20rpx; +} + +.padding-top { + padding-top: 30rpx; +} + +.padding-top-lg { + padding-top: 40rpx; +} + +.padding-top-xl { + padding-top: 50rpx; +} + +.padding-right-xs { + padding-right: 10rpx; +} + +.padding-right-sm { + padding-right: 20rpx; +} + +.padding-right { + padding-right: 30rpx; +} + +.padding-right-lg { + padding-right: 40rpx; +} + +.padding-right-xl { + padding-right: 50rpx; +} + +.padding-bottom-xs { + padding-bottom: 10rpx; +} + +.padding-bottom-sm { + padding-bottom: 20rpx; +} + +.padding-bottom { + padding-bottom: 30rpx; +} + +.padding-bottom-lg { + padding-bottom: 40rpx; +} + +.padding-bottom-xl { + padding-bottom: 50rpx; +} + +.padding-left-xs { + padding-left: 10rpx; +} + +.padding-left-sm { + padding-left: 20rpx; +} + +.padding-left { + padding-left: 30rpx; +} + +.padding-left-lg { + padding-left: 40rpx; +} + +.padding-left-xl { + padding-left: 50rpx; +} + +.padding-lr-xs { + padding-left: 10rpx; + padding-right: 10rpx; +} + +.padding-lr-sm { + padding-left: 20rpx; + padding-right: 20rpx; +} + +.padding-lr { + padding-left: 30rpx; + padding-right: 30rpx; +} + +.padding-lr-lg { + padding-left: 40rpx; + padding-right: 40rpx; +} + +.padding-lr-xl { + padding-left: 50rpx; + padding-right: 50rpx; +} + +.padding-tb-xs { + padding-top: 10rpx; + padding-bottom: 10rpx; +} + +.padding-tb-sm { + padding-top: 20rpx; + padding-bottom: 20rpx; +} + +.padding-tb { + padding-top: 30rpx; + padding-bottom: 30rpx; +} + +.padding-tb-lg { + padding-top: 40rpx; + padding-bottom: 40rpx; +} + +.padding-tb-xl { + padding-top: 50rpx; + padding-bottom: 50rpx; +} + +/* -- 浮动 -- */ + +.cf::after, .cf::before { + content: " "; + display: table; +} + +.cf::after { + clear: both; +} + +.fl { + float: left; +} + +.fr { + float: right; +} + +/* ================== + 背景 + ==================== */ + +.line-red::after, .lines-red::after { + border-color: var(--red); +} + +.line-orange::after, .lines-orange::after { + border-color: var(--orange); +} + +.line-yellow::after, .lines-yellow::after { + border-color: var(--yellow); +} + +.line-olive::after, .lines-olive::after { + border-color: var(--olive); +} + +.line-green::after, .lines-green::after { + border-color: var(--green); +} + +.line-cyan::after, .lines-cyan::after { + border-color: var(--cyan); +} + +.line-blue::after, .lines-blue::after { + border-color: var(--blue); +} + +.line-purple::after, .lines-purple::after { + border-color: var(--purple); +} + +.line-mauve::after, .lines-mauve::after { + border-color: var(--mauve); +} + +.line-pink::after, .lines-pink::after { + border-color: var(--pink); +} + +.line-brown::after, .lines-brown::after { + border-color: var(--brown); +} + +.line-grey::after, .lines-grey::after { + border-color: var(--grey); +} + +.line-gray::after, .lines-gray::after { + border-color: var(--grey); +} + +.line-black::after, .lines-black::after { + border-color: var(--black); +} + +.line-white::after, .lines-white::after { + border-color: #fff; +} + +.bg-red { + background-color: var(--red); + color: #fff; +} + +.bg-orange { + background-color: var(--orange); + color: #fff; +} + +.bg-yellow { + background-color: var(--yellow); + color: var(--black); +} + +.bg-olive { + background-color: var(--olive); + color: #fff; +} + +.bg-green { + background-color: var(--green); + color: #fff; +} + +.bg-cyan { + background-color: var(--cyan); + color: #fff; +} + +.bg-blue { + background-color: var(--blue); + color: #fff; +} + +.bg-purple { + background-color: var(--purple); + color: #fff; +} + +.bg-mauve { + background-color: var(--mauve); + color: #fff; +} + +.bg-pink { + background-color: var(--pink); + color: #fff; +} + +.bg-brown { + background-color: var(--brown); + color: #fff; +} + +.bg-grey { + background-color: var(--grey); + color: #fff; +} + +.bg-gray { + background-color: #f0f0f0; + color: #666; +} + +.bg-black { + background-color: var(--black); + color: #fff; +} + +.bg-white { + background-color: #fff; + color: #666; +} + +.bg-shadeTop { + background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01)); + color: #fff; +} + +.bg-BlueTop { + background-image: linear-gradient(rgb(3, 94, 129,1), rgba(3, 94, 129,0.01)); + color: #fff; +} + +.bg-shadeBottom { + background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1)); + color: #fff; +} + +.bg-red.light { + color: var(--red); + background-color: #fadbd9; +} + +.bg-orange.light { + color: var(--orange); + background-color: #fde6d2; +} + +.bg-yellow.light { + color: var(--yellow); + background-color: #fef2ce; +} + +.bg-olive.light { + color: var(--olive); + background-color: #e8f4d9; +} + +.bg-green.light { + color: var(--green); + background-color: #d7f0db; +} + +.bg-cyan.light { + color: var(--cyan); + background-color: #d2f1f0; +} + +.bg-blue.light { + color: var(--blue); + background-color: #cce6ff; +} + +.bg-purple.light { + color: var(--purple); + background-color: #e1d7f0; +} + +.bg-mauve.light { + color: var(--mauve); + background-color: #ebd4ef; +} + +.bg-pink.light { + color: var(--pink); + background-color: #f9d7ea; +} + +.bg-brown.light { + color: var(--brown); + background-color: #ede1d9; +} + +.bg-grey.light { + color: var(--grey); + background-color: #e7ebed; +} + +.bg-gray.light { + color: #666; + background-color: #fadbd9; +} + +.bg-gray.light { + color: #888; + background-color: #f1f1f1; +} + +.bg-gradual-red { + background-image: var(--gradualRed); + color: #fff; +} + +.bg-gradual-orange { + background-image: var(--gradualOrange); + color: #fff; +} + +.bg-gradual-green { + background-image: var(--gradualGreen); + color: #fff; +} + +.bg-gradual-purple { + background-image: var(--gradualPurple); + color: #fff; +} + +.bg-gradual-pink { + background-image: var(--gradualPink); + color: #fff; +} + +.bg-gradual-blue { + background-image: var(--gradualBlue); + color: #fff; +} + +.shadow[class*="-red"] { + box-shadow: 6rpx 6rpx 8rpx rgba(204, 69, 59, 0.2); +} + +.shadow[class*="-orange"] { + box-shadow: 6rpx 6rpx 8rpx rgba(217, 109, 26, 0.2); +} + +.shadow[class*="-yellow"] { + box-shadow: 6rpx 6rpx 8rpx rgba(224, 170, 7, 0.2); +} + +.shadow[class*="-olive"] { + box-shadow: 6rpx 6rpx 8rpx rgba(124, 173, 55, 0.2); +} + +.shadow[class*="-green"] { + box-shadow: 6rpx 6rpx 8rpx rgba(48, 156, 63, 0.2); +} + +.shadow[class*="-cyan"] { + box-shadow: 6rpx 6rpx 8rpx rgba(28, 187, 180, 0.2); +} + +.shadow[class*="-blue"] { + box-shadow: 6rpx 6rpx 8rpx rgba(0, 102, 204, 0.2); +} + +.shadow[class*="-purple"] { + box-shadow: 6rpx 6rpx 8rpx rgba(88, 48, 156, 0.2); +} + +.shadow[class*="-mauve"] { + box-shadow: 6rpx 6rpx 8rpx rgba(133, 33, 150, 0.2); +} + +.shadow[class*="-pink"] { + box-shadow: 6rpx 6rpx 8rpx rgba(199, 50, 134, 0.2); +} + +.cu-btn.shadow[class*="-brown"] { + box-shadow: 6rpx 6rpx 8rpx rgba(140, 88, 53, 0.2); +} + +.cu-btn.shadow[class*="-grey"] { + box-shadow: 6rpx 6rpx 8rpx rgba(114, 130, 138, 0.2); +} + +.cu-btn.shadow[class*="-gray"] { + box-shadow: 6rpx 6rpx 8rpx rgba(114, 130, 138, 0.2); +} + +.cu-btn.shadow[class*="-black"] { + box-shadow: 6rpx 6rpx 8rpx rgba(26, 26, 26, 0.2); +} + +.bg-img { + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +.bg-mask { + background-color: var(--black); + position: relative; +} + +.bg-mask::after { + content: ""; + border-radius: inherit; + width: 100%; + height: 100%; + display: block; + background-color: rgba(0, 0, 0, 0.4); + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; +} + +.bg-mask view, .bg-mask cover-view { + z-index: 5; + position: relative; +} + +.bg-video { + position: relative; +} + +.bg-video video { + display: block; + height: 100%; + width: 100%; + -o-object-fit: cover; + object-fit: cover; + position: absolute; + top: 0; + z-index: 0; + pointer-events: none; +} + +/* ================== + 文本 + ==================== */ + +.text-xs { + font-size: 28rpx; +} + +.text-sm { + font-size: 24rpx; +} + +.text-df { + font-size: 28rpx; +} + +.text-lg { + font-size: 32rpx; +} + +.text-xl { + font-size: 36rpx; +} + +.text-xxl { + font-size: 44rpx; +} + +.text-sl { + font-size: 80rpx; +} + +.text-xsl { + font-size: 120rpx; +} + +.text-Abc { + text-transform: Capitalize; +} + +.text-ABC { + text-transform: Uppercase; +} + +.text-abc { + text-transform: Lowercase; +} + +.text-price::before { + content: "¥"; + font-size: 80%; + margin-right: 4rpx; +} + +.text-cut { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; +} + +.text-bold { + font-weight: bold; +} + +.text-center { + text-align: center; +} + +.text-content { + line-height: 1.6; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-red, .line-red, .lines-red { + color: var(--red); +} + +.text-orange, .line-orange, .lines-orange { + color: var(--orange); +} + +.text-yellow, .line-yellow, .lines-yellow { + color: var(--yellow); +} + +.text-olive, .line-olive, .lines-olive { + color: var(--olive); +} + +.text-green, .line-green, .lines-green { + color: var(--green); +} + +.text-cyan, .line-cyan, .lines-cyan { + color: var(--cyan); +} + +.text-blue, .line-blue, .lines-blue { + color: var(--blue); +} + +.text-newblue, .line-newblue, .lines-newblue { + color: #6887e1; +} + +.text-purple, .line-purple, .lines-purple { + color: var(--purple); +} + +.text-mauve, .line-mauve, .lines-mauve { + color: var(--mauve); +} + +.text-pink, .line-pink, .lines-pink { + color: var(--pink); +} + +.text-brown, .line-brown, .lines-brown { + color: var(--brown); +} + +.text-grey, .line-grey, .lines-grey { + color: var(--grey); +} + +.text-gray, .line-gray, .lines-gray { + color: var(--grey); +} + +.text-black, .line-black, .lines-black { + color: var(--black); +} + +.text-white, .line-white, .lines-white { + color: #fff; +} + +.text-shadow { + text-shadow: 2rpx 4rpx 6rpx rgba(0, 0, 0, 0.4); +} diff --git a/src/WeLink/common.wxss b/src/WeLink/common.wxss new file mode 100644 index 0000000..0ed807e --- /dev/null +++ b/src/WeLink/common.wxss @@ -0,0 +1,496 @@ +/*下划线*/ +.th-line{ + text-decoration: line-through +} +/*居中*/ +.text-center{ + text-align: center +} +.text-right{ + text-align: right +} +/*加粗*/ +.bold{ + font-weight: bold +} +/*斜体*/ +.it{ + font-style: italic +} +/*省略号*/ +.ell{ + overflow:hidden; + text-overflow:ellipsis; + white-space: nowrap +} +.ell-2{ + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; +} +.ell-3{ + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + overflow: hidden; +} +.ell-4{ + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 4; + overflow: hidden; +} +/* 弹性布局 */ +.panel{ + padding: 30rpx; + background: #ffffff +} +.panel-start{ + display: flex; + justify-content: flex-start; +} +.panel-between{ + display: flex; + justify-content: space-between; +} +.panel-end{ + display: flex; + justify-content: flex-end; +} +.panel-around{ + display: flex; + justify-content: space-around; +} +.panel-center{ + display: flex; + justify-content: center; +} +.wrap{ + flex-flow: wrap +} +.item-center{ + align-items: center +} +.item-start{ + align-items: flex-start +} +.item-end{ + align-items: flex-end +} + +/* 背景颜色 */ + +.bg-w{ + background-color: #fff +} +.bg-b{ + background-color: #000 +} +.bg-g{ + background-color: #f3f3f3 +} + +/*字体颜色*/ +.fo-w{ + color: #fff +} +.fo-b{ + color: #000 +} +.fo-g{ + color: #999 +} +.fo-f3{ + color: #f3f3f3 +} +.fo-333{ + color: #333333 +} + +/* 外边距规范 */ +.ma-30{ + margin: 30rpx +} +.ma-l30{ + margin-left: 30rpx +} +.ma-r30{ + margin-right: 30rpx +} +.ma-t30{ + margin-top: 30rpx +} +.ma-b30{ + margin-bottom: 30rpx +} + +.ma-20{ + margin: 20rpx +} +.ma-l20{ + margin-left: 20rpx +} +.ma-r20{ + margin-right: 20rpx +} +.ma-t20{ + margin-top: 20rpx +} +.ma-b20{ + margin-bottom: 20rpx +} + +.ma-10{ + margin: 10rpx +} +.ma-l10{ + margin-left: 10rpx +} +.ma-r10{ + margin-right: 10rpx +} +.ma-t10{ + margin-top: 10rpx +} +.ma-b10{ + margin-bottom: 10rpx +} + +/* 内边距规范 */ +.pa-10{ + padding: 10rpx +} +.pa-l10{ + padding-left: 10rpx +} +.pa-r10{ + padding-right: 10rpx +} +.pa-t10{ + padding-top: 10rpx +} +.pa-b10{ + padding-bottom: 10rpx +} + +.pa-20{ + padding: 20rpx +} +.pa-l20{ + padding-left: 20rpx +} +.pa-r20{ + padding-right: 20rpx +} +.pa-t20{ + padding-top: 20rpx +} +.pa-b20{ + padding-bottom: 20rpx +} + +.pa-30{ + padding: 30rpx +} +.pa-l30{ + padding-left: 30rpx +} +.pa-r30{ + padding-right: 30rpx +} +.pa-t30{ + padding-top: 30rpx +} +.pa-b30{ + padding-bottom: 30rpx +} + +/*圆角*/ +.ra-30{ + border-radius: 30rpx +} +.ra-20{ + border-radius: 20rpx +} +.ra-10{ + border-radius: 10rpx +} +.ra-l30{ + border-radius: 30rpx 0 0 30rpx +} +.ra-l20{ + border-radius: 20rpx 0 0 20rpx +} +.ra-l10{ + border-radius: 10rpx 0 0 10rpx +} +.ra-r30{ + border-radius: 0 30rpx 30rpx 0 +} +.ra-r20{ + border-radius: 0 20rpx 20rpx 0 +} +.ra-r10{ + border-radius: 0 10rpx 10rpx 0 +} +.ra-t30{ + border-radius: 30rpx 30rpx 0 0 +} +.ra-t20{ + border-radius: 20rpx 20rpx 0 0 +} +.ra-t10{ + border-radius: 10rpx 10rpx 0 0 +} +.ra-b30{ + border-radius: 0 0 30rpx 30rpx +} +.ra-b20{ + border-radius: 0 0 20rpx 20rpx +} +.ra-b10{ + border-radius: 0 0 10rpx 10rpx +} + +/*阴影*/ +.shadow{ + box-shadow: 0 0 20rpx 0 #e1e1e1 +} + +/*边框*/ +.border{ + border: solid 1px #e1e1e1 +} +.border-b{ + border-bottom: solid 1px #e1e1e1 +} +.border-t{ + border-top: solid 1px #e1e1e1 +} +.border-l{ + border-left: solid 1px #e1e1e1 +} +.border-r{ + border-right: solid 1px #e1e1e1 +} + +/*加载动画*/ +@keyframes three-quarters-loader { + 0% { + -moz-transform: rotate(0deg); + -ms-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -moz-transform: rotate(360deg); + -ms-transform: rotate(360deg); + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.three-quarters-loader:not(:required) { + animation: three-quarters-loader 1250ms infinite linear; + border: 8rpx solid #aaa; + border-right-color: transparent; + border-radius: 20rpx; + box-sizing: border-box; + display: inline-block; + overflow: hidden; + text-indent: -9999px; + width: 35rpx; + height: 35rpx; +} +.loading-txt{ + margin-left: 20rpx; + font-size: 30rpx; + color: #aaa; +} + +/*字体大小*/ +.fo-20{ + font-size: 20rpx +} +.fo-22{ + font-size: 22rpx +} +.fo-24{ + font-size: 24rpx +} +.fo-26{ + font-size: 26rpx +} +.fo-28{ + font-size: 28rpx +} +.fo-30{ + font-size: 30rpx +} +.fo-32{ + font-size: 32rpx +} +.fo-34{ + font-size: 34rpx +} +.fo-36{ + font-size: 36rpx +} +.fo-38{ + font-size: 38rpx +} +.fo-40{ + font-size: 40rpx +} +.fo-42{ + font-size: 42rpx +} +.fo-44{ + font-size: 44rpx +} +.fo-46{ + font-size: 46rpx +} +.fo-48{ + font-size: 48rpx +} +.fo-50{ + font-size: 50rpx +} +/*图标*/ +.icon-20{ + width: 20rpx; + height: 20rpx +} +.icon-25{ + width: 25rpx; + height: 25rpx +} +.icon-30{ + width: 30rpx; + height: 30rpx +} +.icon-35{ + width: 35rpx; + height: 35rpx +} +.icon-40{ + width: 40rpx; + height: 40rpx +} +.icon-45{ + width: 45rpx; + height: 45rpx +} +.icon-50{ + width: 50rpx; + height: 50rpx +} +.icon-60{ + width: 60rpx; + height: 60rpx +} +/*优先级*/ +.z-1{ + z-index: 1 +} +.z-2{ + z-index: 2 +} +.z-3{ + z-index:3 +} +.z-4{ + z-index: 4 +} +.z-5{ + z-index: 5 +} +.z-6{ + z-index: 6 +} +.z-7{ + z-index: 7 +} + +/*行高*/ +.lh-30{ + line-height: 30rpx +} +.lh-40{ + line-height: 40rpx +} +.lh-50{ + line-height: 50rpx +} +.lh-60{ + line-height: 60rpx +} +.lh-70{ + line-height: 70rpx +} +.lh-80{ + line-height: 80rpx +} +.lh-90{ + line-height: 90rpx +} +.lh-100{ + line-height: 100rpx +} + +/* +百分比宽度 +*/ +.w-20{ + width: 20% +} +.w-25{ + width: 25% +} +.w-33{ + width: 33% +} +.w-3333{ + width: 33.33% +} +.w-50{ + width: 50%; +} +.w-100{ + width: 100% +} +.w-40{ + width: 40% +} +.w-60{ + width: 60% +} +.w-30{ + width: 30% +} +.w-70{ + width: 70% +} +.filter-btn{ + background: none; + padding: 0; + border: none; + outline: none; + line-height: unset; + box-sizing: unset; + -webkit-tap-highlight-color: unset; + position: unset; + display: block +} +.filter-btn::after{ + background: none; + padding: 0; + border: none; + outline: none; + line-height: unset; + box-sizing: unset; + -webkit-tap-highlight-color: unset; + position: unset; + display: block +} \ No newline at end of file diff --git a/src/WeLink/icons/clear.png b/src/WeLink/icons/clear.png new file mode 100644 index 0000000..311169b Binary files /dev/null and b/src/WeLink/icons/clear.png differ diff --git a/src/WeLink/icons/down.png b/src/WeLink/icons/down.png new file mode 100644 index 0000000..904c757 Binary files /dev/null and b/src/WeLink/icons/down.png differ diff --git a/src/WeLink/icons/empty.png b/src/WeLink/icons/empty.png new file mode 100644 index 0000000..6f878e0 Binary files /dev/null and b/src/WeLink/icons/empty.png differ diff --git a/src/WeLink/icons/filled.png b/src/WeLink/icons/filled.png new file mode 100644 index 0000000..c946310 Binary files /dev/null and b/src/WeLink/icons/filled.png differ diff --git a/src/WeLink/icons/half.png b/src/WeLink/icons/half.png new file mode 100644 index 0000000..74e7f3b Binary files /dev/null and b/src/WeLink/icons/half.png differ diff --git a/src/WeLink/icons/home.png b/src/WeLink/icons/home.png new file mode 100644 index 0000000..2674c98 Binary files /dev/null and b/src/WeLink/icons/home.png differ diff --git a/src/WeLink/icons/home_active.png b/src/WeLink/icons/home_active.png new file mode 100644 index 0000000..518d130 Binary files /dev/null and b/src/WeLink/icons/home_active.png differ diff --git a/src/WeLink/icons/me.png b/src/WeLink/icons/me.png new file mode 100644 index 0000000..3bdf42d Binary files /dev/null and b/src/WeLink/icons/me.png differ diff --git a/src/WeLink/icons/me_active.png b/src/WeLink/icons/me_active.png new file mode 100644 index 0000000..d4653f0 Binary files /dev/null and b/src/WeLink/icons/me_active.png differ diff --git a/src/WeLink/icons/picture.png b/src/WeLink/icons/picture.png new file mode 100644 index 0000000..6d6e778 Binary files /dev/null and b/src/WeLink/icons/picture.png differ diff --git a/src/WeLink/icons/remark.png b/src/WeLink/icons/remark.png new file mode 100644 index 0000000..b233862 Binary files /dev/null and b/src/WeLink/icons/remark.png differ diff --git a/src/WeLink/icons/remark_active.png b/src/WeLink/icons/remark_active.png new file mode 100644 index 0000000..434880d Binary files /dev/null and b/src/WeLink/icons/remark_active.png differ diff --git a/src/WeLink/icons/remark_home.png b/src/WeLink/icons/remark_home.png new file mode 100644 index 0000000..6df3c2c Binary files /dev/null and b/src/WeLink/icons/remark_home.png differ diff --git a/src/WeLink/icons/right.png b/src/WeLink/icons/right.png new file mode 100644 index 0000000..52453ac Binary files /dev/null and b/src/WeLink/icons/right.png differ diff --git a/src/WeLink/icons/run.png b/src/WeLink/icons/run.png new file mode 100644 index 0000000..c1a0fa2 Binary files /dev/null and b/src/WeLink/icons/run.png differ diff --git a/src/WeLink/icons/run_active.png b/src/WeLink/icons/run_active.png new file mode 100644 index 0000000..002b6f1 Binary files /dev/null and b/src/WeLink/icons/run_active.png differ diff --git a/src/WeLink/icons/run_home.png b/src/WeLink/icons/run_home.png new file mode 100644 index 0000000..7a03d15 Binary files /dev/null and b/src/WeLink/icons/run_home.png differ diff --git a/src/WeLink/icons/search1.png b/src/WeLink/icons/search1.png new file mode 100644 index 0000000..fe9433f Binary files /dev/null and b/src/WeLink/icons/search1.png differ diff --git a/src/WeLink/icons/search2.png b/src/WeLink/icons/search2.png new file mode 100644 index 0000000..17019e5 Binary files /dev/null and b/src/WeLink/icons/search2.png differ diff --git a/src/WeLink/icons/公告.png b/src/WeLink/icons/公告.png new file mode 100644 index 0000000..489e6de Binary files /dev/null and b/src/WeLink/icons/公告.png differ diff --git a/src/WeLink/icons/审核.png b/src/WeLink/icons/审核.png new file mode 100644 index 0000000..ba94adb Binary files /dev/null and b/src/WeLink/icons/审核.png differ diff --git a/src/WeLink/images/1.jpg b/src/WeLink/images/1.jpg new file mode 100644 index 0000000..35aaeae Binary files /dev/null and b/src/WeLink/images/1.jpg differ diff --git a/src/WeLink/images/3.jpg b/src/WeLink/images/3.jpg new file mode 100644 index 0000000..7ce50a4 Binary files /dev/null and b/src/WeLink/images/3.jpg differ diff --git a/src/WeLink/images/background.png b/src/WeLink/images/background.png new file mode 100644 index 0000000..88834f8 Binary files /dev/null and b/src/WeLink/images/background.png differ diff --git a/src/WeLink/images/background1.png b/src/WeLink/images/background1.png new file mode 100644 index 0000000..451fb8a Binary files /dev/null and b/src/WeLink/images/background1.png differ diff --git a/src/WeLink/images/background2.png b/src/WeLink/images/background2.png new file mode 100644 index 0000000..7819682 Binary files /dev/null and b/src/WeLink/images/background2.png differ diff --git a/src/WeLink/img/bj.png b/src/WeLink/img/bj.png new file mode 100644 index 0000000..c895eff Binary files /dev/null and b/src/WeLink/img/bj.png differ diff --git a/src/WeLink/img/cn.png b/src/WeLink/img/cn.png new file mode 100644 index 0000000..a9b7f96 Binary files /dev/null and b/src/WeLink/img/cn.png differ diff --git a/src/WeLink/img/d1.png b/src/WeLink/img/d1.png new file mode 100644 index 0000000..2e9675f Binary files /dev/null and b/src/WeLink/img/d1.png differ diff --git a/src/WeLink/img/d2.png b/src/WeLink/img/d2.png new file mode 100644 index 0000000..1214411 Binary files /dev/null and b/src/WeLink/img/d2.png differ diff --git a/src/WeLink/img/d3.png b/src/WeLink/img/d3.png new file mode 100644 index 0000000..8f48fe4 Binary files /dev/null and b/src/WeLink/img/d3.png differ diff --git a/src/WeLink/img/d4.png b/src/WeLink/img/d4.png new file mode 100644 index 0000000..712e773 Binary files /dev/null and b/src/WeLink/img/d4.png differ diff --git a/src/WeLink/img/d5.png b/src/WeLink/img/d5.png new file mode 100644 index 0000000..89bd191 Binary files /dev/null and b/src/WeLink/img/d5.png differ diff --git a/src/WeLink/img/d6.png b/src/WeLink/img/d6.png new file mode 100644 index 0000000..34b083d Binary files /dev/null and b/src/WeLink/img/d6.png differ diff --git a/src/WeLink/img/dh.png b/src/WeLink/img/dh.png new file mode 100644 index 0000000..8488b95 Binary files /dev/null and b/src/WeLink/img/dh.png differ diff --git a/src/WeLink/img/jt.png b/src/WeLink/img/jt.png new file mode 100644 index 0000000..8b56d40 Binary files /dev/null and b/src/WeLink/img/jt.png differ diff --git a/src/WeLink/img/l.png b/src/WeLink/img/l.png new file mode 100644 index 0000000..51988b9 Binary files /dev/null and b/src/WeLink/img/l.png differ diff --git a/src/WeLink/img/l1.png b/src/WeLink/img/l1.png new file mode 100644 index 0000000..cb75850 Binary files /dev/null and b/src/WeLink/img/l1.png differ diff --git a/src/WeLink/img/l2.png b/src/WeLink/img/l2.png new file mode 100644 index 0000000..a34bdf2 Binary files /dev/null and b/src/WeLink/img/l2.png differ diff --git a/src/WeLink/img/ljt.png b/src/WeLink/img/ljt.png new file mode 100644 index 0000000..d7d2df0 Binary files /dev/null and b/src/WeLink/img/ljt.png differ diff --git a/src/WeLink/img/location.png b/src/WeLink/img/location.png new file mode 100644 index 0000000..29e7a36 Binary files /dev/null and b/src/WeLink/img/location.png differ diff --git a/src/WeLink/img/logo.png b/src/WeLink/img/logo.png new file mode 100644 index 0000000..15bc1a0 Binary files /dev/null and b/src/WeLink/img/logo.png differ diff --git a/src/WeLink/img/m.png b/src/WeLink/img/m.png new file mode 100644 index 0000000..b4c03db Binary files /dev/null and b/src/WeLink/img/m.png differ diff --git a/src/WeLink/img/mt.png b/src/WeLink/img/mt.png new file mode 100644 index 0000000..408632e Binary files /dev/null and b/src/WeLink/img/mt.png differ diff --git a/src/WeLink/img/mt2.png b/src/WeLink/img/mt2.png new file mode 100644 index 0000000..a4282d9 Binary files /dev/null and b/src/WeLink/img/mt2.png differ diff --git a/src/WeLink/img/none.png b/src/WeLink/img/none.png new file mode 100644 index 0000000..0e97d92 Binary files /dev/null and b/src/WeLink/img/none.png differ diff --git a/src/WeLink/img/pjh.png b/src/WeLink/img/pjh.png new file mode 100644 index 0000000..9b6d259 Binary files /dev/null and b/src/WeLink/img/pjh.png differ diff --git a/src/WeLink/img/right.png b/src/WeLink/img/right.png new file mode 100644 index 0000000..52453ac Binary files /dev/null and b/src/WeLink/img/right.png differ diff --git a/src/WeLink/img/s1.png b/src/WeLink/img/s1.png new file mode 100644 index 0000000..7b1c60a Binary files /dev/null and b/src/WeLink/img/s1.png differ diff --git a/src/WeLink/img/s2.png b/src/WeLink/img/s2.png new file mode 100644 index 0000000..d11e36c Binary files /dev/null and b/src/WeLink/img/s2.png differ diff --git a/src/WeLink/img/s3.png b/src/WeLink/img/s3.png new file mode 100644 index 0000000..a2f0ec2 Binary files /dev/null and b/src/WeLink/img/s3.png differ diff --git a/src/WeLink/img/s4.png b/src/WeLink/img/s4.png new file mode 100644 index 0000000..f6723e4 Binary files /dev/null and b/src/WeLink/img/s4.png differ diff --git a/src/WeLink/img/s5.png b/src/WeLink/img/s5.png new file mode 100644 index 0000000..ac934df Binary files /dev/null and b/src/WeLink/img/s5.png differ diff --git a/src/WeLink/img/s6.png b/src/WeLink/img/s6.png new file mode 100644 index 0000000..5e61bfd Binary files /dev/null and b/src/WeLink/img/s6.png differ diff --git a/src/WeLink/img/search2.png b/src/WeLink/img/search2.png new file mode 100644 index 0000000..17019e5 Binary files /dev/null and b/src/WeLink/img/search2.png differ diff --git a/src/WeLink/img/sh.png b/src/WeLink/img/sh.png new file mode 100644 index 0000000..235cb55 Binary files /dev/null and b/src/WeLink/img/sh.png differ diff --git a/src/WeLink/img/sh1.png b/src/WeLink/img/sh1.png new file mode 100644 index 0000000..2636f5f Binary files /dev/null and b/src/WeLink/img/sh1.png differ diff --git a/src/WeLink/img/sh2.png b/src/WeLink/img/sh2.png new file mode 100644 index 0000000..82d01c9 Binary files /dev/null and b/src/WeLink/img/sh2.png differ diff --git a/src/WeLink/img/t1.png b/src/WeLink/img/t1.png new file mode 100644 index 0000000..09c6b99 Binary files /dev/null and b/src/WeLink/img/t1.png differ diff --git a/src/WeLink/img/t2.png b/src/WeLink/img/t2.png new file mode 100644 index 0000000..c04e078 Binary files /dev/null and b/src/WeLink/img/t2.png differ diff --git a/src/WeLink/img/t3.png b/src/WeLink/img/t3.png new file mode 100644 index 0000000..4298795 Binary files /dev/null and b/src/WeLink/img/t3.png differ diff --git a/src/WeLink/img/t4.png b/src/WeLink/img/t4.png new file mode 100644 index 0000000..54ada96 Binary files /dev/null and b/src/WeLink/img/t4.png differ diff --git a/src/WeLink/img/t5.png b/src/WeLink/img/t5.png new file mode 100644 index 0000000..5b93418 Binary files /dev/null and b/src/WeLink/img/t5.png differ diff --git a/src/WeLink/img/t6.png b/src/WeLink/img/t6.png new file mode 100644 index 0000000..f590695 Binary files /dev/null and b/src/WeLink/img/t6.png differ diff --git a/src/WeLink/img/t7.png b/src/WeLink/img/t7.png new file mode 100644 index 0000000..9543b72 Binary files /dev/null and b/src/WeLink/img/t7.png differ diff --git a/src/WeLink/img/t8.png b/src/WeLink/img/t8.png new file mode 100644 index 0000000..fb3b368 Binary files /dev/null and b/src/WeLink/img/t8.png differ diff --git a/src/WeLink/img/tx.png b/src/WeLink/img/tx.png new file mode 100644 index 0000000..bc19f38 Binary files /dev/null and b/src/WeLink/img/tx.png differ diff --git a/src/WeLink/miniprogram_npm/dayjs/index.js b/src/WeLink/miniprogram_npm/dayjs/index.js new file mode 100644 index 0000000..529678a --- /dev/null +++ b/src/WeLink/miniprogram_npm/dayjs/index.js @@ -0,0 +1,13 @@ +module.exports = (function() { +var __MODS__ = {}; +var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; }; +var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; }; +var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } }; +var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; }; +__DEFINE__(1697554598548, function(require, module, exports) { +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t) Sept. ([#1831](https://github.com/iamkun/dayjs/issues/1831)) ([4e2802c](https://github.com/iamkun/dayjs/commit/4e2802cc3bec2941ffb737a15fb531c90951eafe)) +* update Italian (Switzerland) [it-ch] locale relativeTime ([#1829](https://github.com/iamkun/dayjs/issues/1829)) ([8e6d11d](https://github.com/iamkun/dayjs/commit/8e6d11d053393d97bee1ba411adb2d82de1a58c4)) +* update Kurdish [ku] locale strings and formatted output contains non-standard kurdish characters ([#1848](https://github.com/iamkun/dayjs/issues/1848)) ([a597d0b](https://github.com/iamkun/dayjs/commit/a597d0b1b8dd28e626f8c59d326622088f7b51e7)) +* update locale bo [Tibetan]: corrected the orders in formats ([#1823](https://github.com/iamkun/dayjs/issues/1823)) ([e790516](https://github.com/iamkun/dayjs/commit/e79051617af6787358f6c9b5443d987b8b53a9e1)) + +# [1.11.0](https://github.com/iamkun/dayjs/compare/v1.10.8...v1.11.0) (2022-03-14) + + +### Bug Fixes + +* Add Kirundi (rn) locale ([#1793](https://github.com/iamkun/dayjs/issues/1793)) ([74e5247](https://github.com/iamkun/dayjs/commit/74e5247227a779fffde39bdfcd1ee19911496709)) +* add missing date shorthand D type definition ([#1752](https://github.com/iamkun/dayjs/issues/1752)) ([b045baf](https://github.com/iamkun/dayjs/commit/b045baf1646a81f7e4f446f355d02d5fb0ef4aa7)) +* Add relative time to Galician (gl) and fix ordinals ([#1800](https://github.com/iamkun/dayjs/issues/1800)) ([dcbf170](https://github.com/iamkun/dayjs/commit/dcbf1708400624addfbddbc71e0f6a9ac15fa961)) +* update German locales (de-at, de-ch) ([#1775](https://github.com/iamkun/dayjs/issues/1775)) ([f9055a7](https://github.com/iamkun/dayjs/commit/f9055a77bf3d84c575e5fcf99e21611138ba64d7)) +* update Icelandic [is] locale relativeTime config ([#1796](https://github.com/iamkun/dayjs/issues/1796)) ([76f9e17](https://github.com/iamkun/dayjs/commit/76f9e1756de7e99c01e471dab30ea074b9ec9629)) +* Update index.d.ts note ([#1716](https://github.com/iamkun/dayjs/issues/1716)) ([5a108ff](https://github.com/iamkun/dayjs/commit/5a108ff3159c53fd270ea7638f33c35c934d6457)) +* Update locale German [de] monthsShort ([#1746](https://github.com/iamkun/dayjs/issues/1746)) ([4a7b7d0](https://github.com/iamkun/dayjs/commit/4a7b7d07c885bb9338514c234dbb708e24e9863e)) +* update meridiem function to Kurdish (ku) locale ([#1725](https://github.com/iamkun/dayjs/issues/1725)) ([efd3904](https://github.com/iamkun/dayjs/commit/efd3904ff8cbf0a4fc064911dda76fc86b669f7b)) +* update updateLocal plugin typescript types ([#1692](https://github.com/iamkun/dayjs/issues/1692)) ([c7a3f73](https://github.com/iamkun/dayjs/commit/c7a3f73064dbb63b4d365b2ad4c792f075f4d8d8)) + + +### Features + +* Fallback to language only locale + support uppercase locales ([#1524](https://github.com/iamkun/dayjs/issues/1524)) ([9138dc2](https://github.com/iamkun/dayjs/commit/9138dc28206875372da4fb74c64716437cd11b95)) + +## [1.10.8](https://github.com/iamkun/dayjs/compare/v1.10.7...v1.10.8) (2022-02-28) + + +### Bug Fixes + +* set locale pt, pt-br correct weekdays and months ([#1697](https://github.com/iamkun/dayjs/issues/1697)) ([e019301](https://github.com/iamkun/dayjs/commit/e01930171c8235f58a114236f146086428f99569)) + +## [1.10.7](https://github.com/iamkun/dayjs/compare/v1.10.6...v1.10.7) (2021-09-10) + + +### Bug Fixes + +* Add Spanish (Mexico) [es-mx] locale ([#1614](https://github.com/iamkun/dayjs/issues/1614)) ([3393f2a](https://github.com/iamkun/dayjs/commit/3393f2ad55346d55902683a2e31c6f253d96c8c2)) +* Add Arabic (Iraq) [ar-iq] locale ([#1627](https://github.com/iamkun/dayjs/issues/1627)) ([b5a1391](https://github.com/iamkun/dayjs/commit/b5a1391011b247d08863d291542db5937b23b427)) +* add format object type to type file ([#1572](https://github.com/iamkun/dayjs/issues/1572)) ([5a79cc6](https://github.com/iamkun/dayjs/commit/5a79cc6408e825d9e123629eb44fc19c996d7751)) +* duration plugin when parsing duration from ISO string, set missing components to 0 instead of NaN ([#1611](https://github.com/iamkun/dayjs/issues/1611)) ([252585b](https://github.com/iamkun/dayjs/commit/252585b4b2bd59508150e21bb994908a9d78f9b0)) +* narrow type for `add` and `subtract` ([#1576](https://github.com/iamkun/dayjs/issues/1576)) ([1686962](https://github.com/iamkun/dayjs/commit/16869621b1a42563064dbf87f80c1ebfd74c1188)) +* update customParseFormat plugin strict x X parsing ([#1571](https://github.com/iamkun/dayjs/issues/1571)) ([08adda5](https://github.com/iamkun/dayjs/commit/08adda54edbcca38601f57841921d0f87f84e49e)) +* update Lithuanian [lt] locale spelling for single month ([#1609](https://github.com/iamkun/dayjs/issues/1609)) ([255dc54](https://github.com/iamkun/dayjs/commit/255dc54d9295de135a9037ce6ca13cae4bfd2cfb)) +* Update Norwegian Bokmål [nb] local yearStart 4 ([#1608](https://github.com/iamkun/dayjs/issues/1608)) ([7a8467c](https://github.com/iamkun/dayjs/commit/7a8467c0b7d59821f7e19d4a6973bcda8e4c19b1)) +* update plugin advancedFormat `isValid` validation ([#1566](https://github.com/iamkun/dayjs/issues/1566)) ([755fc8b](https://github.com/iamkun/dayjs/commit/755fc8bb1c532eb991459f180eee81367d12016c)) +* update Sinhalese [si] locale month name ([#1475](https://github.com/iamkun/dayjs/issues/1475)) ([63de2a8](https://github.com/iamkun/dayjs/commit/63de2a8b7dcd7e68c132c85d88572d4c9d296907)) +* update utcOffset plugin type file ([#1604](https://github.com/iamkun/dayjs/issues/1604)) ([f68e4b1](https://github.com/iamkun/dayjs/commit/f68e4b1a29fc33542f74cde10ec6d9fb045ca37e)) + +## [1.10.6](https://github.com/iamkun/dayjs/compare/v1.10.5...v1.10.6) (2021-07-06) + + +### Bug Fixes + +* add invalid date string override ([#1465](https://github.com/iamkun/dayjs/issues/1465)) ([#1470](https://github.com/iamkun/dayjs/issues/1470)) ([06f88f4](https://github.com/iamkun/dayjs/commit/06f88f425828b1ce96b737332d25145a95a4ee9d)) +* add sv-fi Finland Swedish locale ([#1522](https://github.com/iamkun/dayjs/issues/1522)) ([8e32164](https://github.com/iamkun/dayjs/commit/8e32164855cff724642e24c37a631eb4c4d760c8)) +* customParseFormat support parsing X x timestamp ([#1567](https://github.com/iamkun/dayjs/issues/1567)) ([eb087f5](https://github.com/iamkun/dayjs/commit/eb087f52861313b8dd8a5c1b77858665ec72859e)) +* dayjs ConfigTypeMap add null & undefined ([#1560](https://github.com/iamkun/dayjs/issues/1560)) ([b5e40e6](https://github.com/iamkun/dayjs/commit/b5e40e6f16abeaea6a0facfa466d20aefaa8a444)) +* Fix DayOfYear plugin when using BadMutable plugin ([#1511](https://github.com/iamkun/dayjs/issues/1511)) ([0b0c6a3](https://github.com/iamkun/dayjs/commit/0b0c6a31ec9c0aff991b0e8dd6eed116201274cc)) +* Implement ordinal in Bulgarian translation (fixes [#1501](https://github.com/iamkun/dayjs/issues/1501)) ([#1502](https://github.com/iamkun/dayjs/issues/1502)) ([b728da5](https://github.com/iamkun/dayjs/commit/b728da5ed9ed08210004ed20ce5fcd52a92de7da)) +* more strict delimiter in REGEX_PARSE ([#1555](https://github.com/iamkun/dayjs/issues/1555)) ([bfdab5c](https://github.com/iamkun/dayjs/commit/bfdab5c0d45a5736b68e8e1b1354fc021e05f607)) +* parameter type ([#1549](https://github.com/iamkun/dayjs/issues/1549)) ([f369844](https://github.com/iamkun/dayjs/commit/f369844dd69d253c4c7cbf68150939db3db233be)) +* update customParseFormat plugin to custom two-digit year parse function ([#1421](https://github.com/iamkun/dayjs/issues/1421)) ([bb5df55](https://github.com/iamkun/dayjs/commit/bb5df55cd3975dc7638b8f4e762afa470b6620f7)) +* update names of weekdays and months in Bulgarian [bg] to lowercase ([#1438](https://github.com/iamkun/dayjs/issues/1438)) ([b246210](https://github.com/iamkun/dayjs/commit/b24621091fec9cf6704de21e4b323f6f0c4abbf1)) +* update type file `.diff` ([#1505](https://github.com/iamkun/dayjs/issues/1505)) ([6508494](https://github.com/iamkun/dayjs/commit/6508494a4e62977b4397baaeef293d1bcf3c7235)) +* update UTC plugin type file for strict parsing ([#1443](https://github.com/iamkun/dayjs/issues/1443)) ([b4f28df](https://github.com/iamkun/dayjs/commit/b4f28df219fe63202dffdbeeaec5677c4d2c9111)) + +## [1.10.5](https://github.com/iamkun/dayjs/compare/v1.10.4...v1.10.5) (2021-05-26) + + +### Bug Fixes + +* add meridiem in ar locales ([#1375](https://github.com/iamkun/dayjs/issues/1375)) ([319f616](https://github.com/iamkun/dayjs/commit/319f616e572a03b984013d04d1b3a18ffd5b1190)) +* Added Zulu support to customParseFormat ([#1359](https://github.com/iamkun/dayjs/issues/1359)) ([1138a3f](https://github.com/iamkun/dayjs/commit/1138a3f0a76592c6d72fb86c4399e133fa41e2ec)) +* fix Bengali [bn] locale monthsShort error ([a0e6c0c](https://github.com/iamkun/dayjs/commit/a0e6c0cf3e1828020dfa11432c6716990f6ed5e0)) +* fix missing types for ArraySupport plugin ([#1401](https://github.com/iamkun/dayjs/issues/1401)) ([b1abdc4](https://github.com/iamkun/dayjs/commit/b1abdc40ee6c9d18ff46c311a114e0755677ea6f)) +* fix Ukrainian [uk] locale ([#1463](https://github.com/iamkun/dayjs/issues/1463)) ([0fdac93](https://github.com/iamkun/dayjs/commit/0fdac93ff2531542301b76952be9b084b2e2dfa0)) +* hotfix for `Duration` types ([#1357](https://github.com/iamkun/dayjs/issues/1357)) ([855b7b3](https://github.com/iamkun/dayjs/commit/855b7b3d049a3903794f91db3419f167c00dabd2)), closes [#1354](https://github.com/iamkun/dayjs/issues/1354) +* timezone plugin DST error ([#1352](https://github.com/iamkun/dayjs/issues/1352)) ([71bed15](https://github.com/iamkun/dayjs/commit/71bed155edf32bff24379930ac684fc783538d8f)) +* Update duration plugin change string to number ([#1394](https://github.com/iamkun/dayjs/issues/1394)) ([e1546d1](https://github.com/iamkun/dayjs/commit/e1546d1a0cdb97ae92cf11efe61d94707af6a3a3)) +* update Duration plugin to support no-argument ([#1400](https://github.com/iamkun/dayjs/issues/1400)) ([8d9a5ae](https://github.com/iamkun/dayjs/commit/8d9a5ae0749e1b4e76babd4deeaa3b1d9776c29b)) +* Update Finnish [fi] locale to set yearStart ([#1378](https://github.com/iamkun/dayjs/issues/1378)) ([f3370bd](https://github.com/iamkun/dayjs/commit/f3370bda4e435118f714c8a7daf5c88cfc4b69ba)) +* update Russian [ru] locale meridiem and unit tests ([#1403](https://github.com/iamkun/dayjs/issues/1403)) ([f10f39d](https://github.com/iamkun/dayjs/commit/f10f39de7db70244a3c35e4a421090a12972457b)) +* update Russian [ru] locale yearStart config ([#1372](https://github.com/iamkun/dayjs/issues/1372)) ([5052515](https://github.com/iamkun/dayjs/commit/5052515fe35b2444201ef8ef87220b1876a94d0a)) +* update Slovenian [sl] locale to set correct ordinal ([#1386](https://github.com/iamkun/dayjs/issues/1386)) ([cb4f746](https://github.com/iamkun/dayjs/commit/cb4f74633b3020d6dbf19548c8cb13613dafca18)) +* update Spanish [es] locale to change month names to lowercase ([#1414](https://github.com/iamkun/dayjs/issues/1414)) ([9c20e77](https://github.com/iamkun/dayjs/commit/9c20e77caf7b1b5eccf418175203b198d4e29535)) +* update Swedish [sv] locale to set correct yearStart ([#1385](https://github.com/iamkun/dayjs/issues/1385)) ([66c5935](https://github.com/iamkun/dayjs/commit/66c59354964ef456bcd5f6152819618f44978082)) +* update UTC plugin to support string argument like +HH:mm ([#1395](https://github.com/iamkun/dayjs/issues/1395)) ([656127c](https://github.com/iamkun/dayjs/commit/656127cc44eda50923a1ac755602863fc32b9e69)) + +## [1.10.4](https://github.com/iamkun/dayjs/compare/v1.10.3...v1.10.4) (2021-01-22) + + +### Bug Fixes + +* Correct handling negative duration ([#1317](https://github.com/iamkun/dayjs/issues/1317)) ([3f5c085](https://github.com/iamkun/dayjs/commit/3f5c085608182472f20b84766b10949945663e44)) +* Improve `Duration` types ([#1338](https://github.com/iamkun/dayjs/issues/1338)) ([4aca4b1](https://github.com/iamkun/dayjs/commit/4aca4b1b584a15de1146d929f95c944594032f20)) +* parse a string for MMM month format with underscore delimiter ([#1349](https://github.com/iamkun/dayjs/issues/1349)) ([82ef9a3](https://github.com/iamkun/dayjs/commit/82ef9a304f06287ac0a14c4da9a7fe6152b5fec9)) +* Update Bengali [bn] locale ([#1329](https://github.com/iamkun/dayjs/issues/1329)) ([02d96ec](https://github.com/iamkun/dayjs/commit/02d96ec7189f62d6ef8987135919cbb5ceff20a6)) +* update locale Portuguese [pt] yearStart ([#1345](https://github.com/iamkun/dayjs/issues/1345)) ([5c785d5](https://github.com/iamkun/dayjs/commit/5c785d528cc08811638d7cbfc7fc158d67b32d75)) +* update Polish [pl] locale yearStart ([#1348](https://github.com/iamkun/dayjs/issues/1348)) ([e93e6b8](https://github.com/iamkun/dayjs/commit/e93e6b8ffa61036b26382f1763e3864d4a7d5df5)) +* Update Slovenian [sl] relativeTime locale ([#1333](https://github.com/iamkun/dayjs/issues/1333)) ([fe5f1d0](https://github.com/iamkun/dayjs/commit/fe5f1d0afbe57b70339e268047e6c3028ca3d59b)) + +## [1.10.3](https://github.com/iamkun/dayjs/compare/v1.10.2...v1.10.3) (2021-01-09) + + +### Bug Fixes + +* fix customParseFormat plugin strict mode parse meridiem bug ([#1321](https://github.com/iamkun/dayjs/issues/1321)) ([e49eeef](https://github.com/iamkun/dayjs/commit/e49eeefbe8acb36419d36ca2e7ed8bc152f73ac1)) +* fix weekYear plugin missing locale bug ([#1319](https://github.com/iamkun/dayjs/issues/1319)) ([344bdc0](https://github.com/iamkun/dayjs/commit/344bdc0eed6843edb05723dc7853a41833d88f08)), closes [#1304](https://github.com/iamkun/dayjs/issues/1304) +* update advancedFormat plugin to add format options for iso week and weekyear ([#1309](https://github.com/iamkun/dayjs/issues/1309)) ([2c54c64](https://github.com/iamkun/dayjs/commit/2c54c6441871a175ac9b95e41e4cd075dbac10cb)) +* update devHelper to add dev warning setting locale before loading ([c5cc893](https://github.com/iamkun/dayjs/commit/c5cc89355e1e206ca72433c19c40cb528690b04f)) +* update German [de] locale yearStart ([1858df8](https://github.com/iamkun/dayjs/commit/1858df8008de56570680723df89b36a8cbc970ef)), closes [#1264](https://github.com/iamkun/dayjs/issues/1264) + +## [1.10.2](https://github.com/iamkun/dayjs/compare/v1.10.1...v1.10.2) (2021-01-05) + + +### Bug Fixes + +* fix parse regex bug ([#1307](https://github.com/iamkun/dayjs/issues/1307)) ([db2b6a5](https://github.com/iamkun/dayjs/commit/db2b6a5ea8e70f9fda645d113ca33495aa96b616)), closes [#1305](https://github.com/iamkun/dayjs/issues/1305) +* remove module entry in package.json to revert 1.10.1 change ([#1314](https://github.com/iamkun/dayjs/issues/1314)) ([824dcb8](https://github.com/iamkun/dayjs/commit/824dcb8dfcccf14f64b6a2741a00fcdfe53dcd98)) +* update devHelper add warning "passing Year as a Number will be parsed as a Unix timestamp" ([#1315](https://github.com/iamkun/dayjs/issues/1315)) ([b0dda31](https://github.com/iamkun/dayjs/commit/b0dda3139e25441ab4e7c1f4f192dee0ecce6ef8)) + +## [1.10.1](https://github.com/iamkun/dayjs/compare/v1.10.0...v1.10.1) (2021-01-03) + + +### Bug Fixes + +* fix typescript type error UnitTypeLongPlural ([#1302](https://github.com/iamkun/dayjs/issues/1302)) ([bfaabe4](https://github.com/iamkun/dayjs/commit/bfaabe4f398c11564eca6cda7c8aded22e1b231a)), closes [#1300](https://github.com/iamkun/dayjs/issues/1300) + +# [1.10.0](https://github.com/iamkun/dayjs/compare/v1.9.8...v1.10.0) (2021-01-03) + + +### Bug Fixes + +* add ordinal to localeData plugin ([#1266](https://github.com/iamkun/dayjs/issues/1266)) ([fd229fa](https://github.com/iamkun/dayjs/commit/fd229fa5bd26bcba810e2535eb937ea8d99106c2)) +* add preParsePostFormat plugin & update Arabic [ar] locale ([#1255](https://github.com/iamkun/dayjs/issues/1255)) ([f2e4790](https://github.com/iamkun/dayjs/commit/f2e479006a9a49bc0917f8620101d40ac645f7f2)) +* add type support for plural forms of units ([#1289](https://github.com/iamkun/dayjs/issues/1289)) ([de49bb1](https://github.com/iamkun/dayjs/commit/de49bb100badfb92b9a5933cc568841f340a923f)) +* escape last period to match only milliseconds ([#1239](https://github.com/iamkun/dayjs/issues/1239)) ([#1295](https://github.com/iamkun/dayjs/issues/1295)) ([64037e6](https://github.com/iamkun/dayjs/commit/64037e6a8cf303dcfd2b954f309bd9691f87fffc)) + + +### Features + +* add ES6 Module Support, package.json module point to "esm/index.js" ([#1298](https://github.com/iamkun/dayjs/issues/1298)) ([f63375d](https://github.com/iamkun/dayjs/commit/f63375dea89becbd3bb2bb8ea7289c58c752bfed)), closes [#598](https://github.com/iamkun/dayjs/issues/598) [#313](https://github.com/iamkun/dayjs/issues/313) + +## [1.9.8](https://github.com/iamkun/dayjs/compare/v1.9.7...v1.9.8) (2020-12-27) + + +### Bug Fixes + +* fix Ukrainian [uk] locale typo ([1605cc0](https://github.com/iamkun/dayjs/commit/1605cc0f6fe0e9c46a92d529bc9cd6e130432337)) +* update Hebrew [he] locale for double units ([#1287](https://github.com/iamkun/dayjs/issues/1287)) ([1c4b0da](https://github.com/iamkun/dayjs/commit/1c4b0da1468522e59dc9ee646d10dd2b31477d99)) +* update zh locale meridiem "noon" ([0e7ff3d](https://github.com/iamkun/dayjs/commit/0e7ff3dd29ca3aed85cb76dfcb8298d326e26542)) +* update zh-cn locale definition of noon ([#1278](https://github.com/iamkun/dayjs/issues/1278)) ([d5930b9](https://github.com/iamkun/dayjs/commit/d5930b96ff884f4176ca3fcb1bc95e8f1ec75c71)) + +## [1.9.7](https://github.com/iamkun/dayjs/compare/v1.9.6...v1.9.7) (2020-12-05) + + +### Bug Fixes + +* add duration.format to format a Duration ([#1202](https://github.com/iamkun/dayjs/issues/1202)) ([9a859a1](https://github.com/iamkun/dayjs/commit/9a859a147ba223a1eeff0f2bb6f33d97e0ccc6c7)) +* Add function handling for relativeTime.future and relativeTime.past ([#1197](https://github.com/iamkun/dayjs/issues/1197)) ([ef1979c](https://github.com/iamkun/dayjs/commit/ef1979ce85c61fe2d759ef3c37cb6aaf2358094f)) +* avoid install installed plugin ([#1214](https://github.com/iamkun/dayjs/issues/1214)) ([a92eb6c](https://github.com/iamkun/dayjs/commit/a92eb6c4dc1437ec920e69484d52984f5921a8ea)) +* avoid memory leak after installing a plugin too many times ([b8d2e32](https://github.com/iamkun/dayjs/commit/b8d2e32a9eb59661a7ed6200daa070687becaebd)) +* fix diff bug when UTC plugin enabled ([#1201](https://github.com/iamkun/dayjs/issues/1201)) ([9544ed2](https://github.com/iamkun/dayjs/commit/9544ed2a6c466b8308d26b33a388a6737435a1f4)), closes [#1200](https://github.com/iamkun/dayjs/issues/1200) +* fix startOf/endOf bug in timezone plugin ([#1229](https://github.com/iamkun/dayjs/issues/1229)) ([eb5fbc4](https://github.com/iamkun/dayjs/commit/eb5fbc4c7d1b62a8615d2f263b404a9515d8e15c)) +* fix utc plugin diff edge case ([#1187](https://github.com/iamkun/dayjs/issues/1187)) ([971b3d4](https://github.com/iamkun/dayjs/commit/971b3d40b4c9403165138f1034e2223cd97c3abf)) +* update customParseFormat plugin to parse 2-digit offset ([#1209](https://github.com/iamkun/dayjs/issues/1209)) ([b56936a](https://github.com/iamkun/dayjs/commit/b56936ab77b8f6289a1b77d49307b495c4bf9f91)), closes [#1205](https://github.com/iamkun/dayjs/issues/1205) +* Update timezone plugin type definition ([#1221](https://github.com/iamkun/dayjs/issues/1221)) ([34cfb92](https://github.com/iamkun/dayjs/commit/34cfb920b9653ad44d4b31fe49e533692a3ce01b)) + +## [1.9.6](https://github.com/iamkun/dayjs/compare/v1.9.5...v1.9.6) (2020-11-10) + + +### Bug Fixes + +* fix customParseFormat plugin parsing date bug ([#1198](https://github.com/iamkun/dayjs/issues/1198)) ([50f05ad](https://github.com/iamkun/dayjs/commit/50f05ad3addf27827c5657ae7519514e40d9faec)), closes [#1194](https://github.com/iamkun/dayjs/issues/1194) +* Update lv (Latvian) locale relative time ([#1192](https://github.com/iamkun/dayjs/issues/1192)) ([6d6c684](https://github.com/iamkun/dayjs/commit/6d6c6841b13ba4f7e69de92caf132a3592c5253a)) + +## [1.9.5](https://github.com/iamkun/dayjs/compare/v1.9.4...v1.9.5) (2020-11-05) + + +### Bug Fixes + +* customParseFormat plugin supports parsing localizedFormats ([#1110](https://github.com/iamkun/dayjs/issues/1110)) ([402b603](https://github.com/iamkun/dayjs/commit/402b603aa3ee4199786950bc88b3fdc6b527aa35)) +* fix customParseFormat plugin parse meridiem bug ([#1169](https://github.com/iamkun/dayjs/issues/1169)) ([9e8f8d9](https://github.com/iamkun/dayjs/commit/9e8f8d96c69d557f4d267f42567c25ae9e7ab227)), closes [#1168](https://github.com/iamkun/dayjs/issues/1168) +* fix devHelper error in umd bundle in browser ([#1165](https://github.com/iamkun/dayjs/issues/1165)) ([d11b5ee](https://github.com/iamkun/dayjs/commit/d11b5ee7dc11af671355f65ccda00f6ba42cc725)) +* fix utc plugin diff bug in DST ([#1171](https://github.com/iamkun/dayjs/issues/1171)) ([f8da3fe](https://github.com/iamkun/dayjs/commit/f8da3fe7e50c84c0502bf5be0b364910922dbd79)), closes [#1097](https://github.com/iamkun/dayjs/issues/1097) [#1021](https://github.com/iamkun/dayjs/issues/1021) +* isoWeek plugin type ([#1177](https://github.com/iamkun/dayjs/issues/1177)) ([c3d0436](https://github.com/iamkun/dayjs/commit/c3d0436b06f74989e3a2c751a5d170f8072c4aad)) +* update localeData plugin to support meridiem ([#1174](https://github.com/iamkun/dayjs/issues/1174)) ([fdb09e4](https://github.com/iamkun/dayjs/commit/fdb09e4074cc7e8f6196846f18d3566c1f9e8fcd)), closes [#1172](https://github.com/iamkun/dayjs/issues/1172) +* update timezone plugin parse Date instance / timestamp logic & remove useless test ([#1183](https://github.com/iamkun/dayjs/issues/1183)) ([a7f858b](https://github.com/iamkun/dayjs/commit/a7f858bb70ad81f718ba35c479e84b54eace48b2)) + +## [1.9.4](https://github.com/iamkun/dayjs/compare/v1.9.3...v1.9.4) (2020-10-23) + + +### Bug Fixes + +* Add descriptions to types ([#1148](https://github.com/iamkun/dayjs/issues/1148)) ([9a407a1](https://github.com/iamkun/dayjs/commit/9a407a140b089345a387d1aceab4d0d1635229c7)) +* add devHelper plugin ([#1163](https://github.com/iamkun/dayjs/issues/1163)) ([de49dc8](https://github.com/iamkun/dayjs/commit/de49dc80c83b85de4170571b64412bd60ada221b)) +* Fix Hungarian (hu) locale ([#1112](https://github.com/iamkun/dayjs/issues/1112)) ([ab13754](https://github.com/iamkun/dayjs/commit/ab13754f43c5033dacaa0eb2042dc4ab1a7a2754)) +* fix minMax plugin parsing empty array bug ([#1062](https://github.com/iamkun/dayjs/issues/1062)) ([368108b](https://github.com/iamkun/dayjs/commit/368108bc6d5cb1542f711b8eba722bd4dfaab0cd)) +* update adding/subtracting Duration from Dayjs object ([#1156](https://github.com/iamkun/dayjs/issues/1156)) ([f861aca](https://github.com/iamkun/dayjs/commit/f861acac3e83e28d3a4a96312c71119fd6b544fc)) +* update en-NZ locale to use proper ordinal formatting function ([#1143](https://github.com/iamkun/dayjs/issues/1143)) ([fcdbc58](https://github.com/iamkun/dayjs/commit/fcdbc5880710456a29b2bacf250542230bf48b99)) +* update localeData plugin type ([#1116](https://github.com/iamkun/dayjs/issues/1116)) ([ee5a4ec](https://github.com/iamkun/dayjs/commit/ee5a4ec41edddfb57d103c35182dc635c9264a10)) +* update timezone plugin to support custom parse format ([#1160](https://github.com/iamkun/dayjs/issues/1160)) ([48cbf31](https://github.com/iamkun/dayjs/commit/48cbf3118ba5427de428777c2e025896db654f2e)), closes [#1159](https://github.com/iamkun/dayjs/issues/1159) +* update timezone plugin to support keepLocalTime ([#1161](https://github.com/iamkun/dayjs/issues/1161)) ([1d429e5](https://github.com/iamkun/dayjs/commit/1d429e5fe4467ebddcf81b43cf6f36e5e3be944c)), closes [#1149](https://github.com/iamkun/dayjs/issues/1149) + +## [1.9.3](https://github.com/iamkun/dayjs/compare/v1.9.2...v1.9.3) (2020-10-13) + + +### Bug Fixes + +* fix localizedFormat export error ([#1133](https://github.com/iamkun/dayjs/issues/1133)) ([deecd6a](https://github.com/iamkun/dayjs/commit/deecd6ab8a2f4173ee7046f6b568b41fd2677531)), closes [#1132](https://github.com/iamkun/dayjs/issues/1132) + +## [1.9.2](https://github.com/iamkun/dayjs/compare/v1.9.1...v1.9.2) (2020-10-13) + + +### Bug Fixes + +* add arraySupport plugin ([#1129](https://github.com/iamkun/dayjs/issues/1129)) ([be505c2](https://github.com/iamkun/dayjs/commit/be505c2c540261027342cecc55d8919a3d18d893)) +* export type of duration plugin ([#1094](https://github.com/iamkun/dayjs/issues/1094)) ([2c92e71](https://github.com/iamkun/dayjs/commit/2c92e71bf55d09601120cdf433da7a19cc8abff6)) +* Fix LocaleData plugin longDateFormat lowercase error ([#1101](https://github.com/iamkun/dayjs/issues/1101)) ([7937ccd](https://github.com/iamkun/dayjs/commit/7937ccdeac47d094a60e65ebb62a6020b81c46f4)) +* Fix objectSupport plugin bug in UTC ([#1107](https://github.com/iamkun/dayjs/issues/1107)) ([fe90bb6](https://github.com/iamkun/dayjs/commit/fe90bb6944f2ff1969ca975954d303b449dfa95b)), closes [#1105](https://github.com/iamkun/dayjs/issues/1105) +* fix Serbian locale grammar (sr, sr-cyrl) ([#1108](https://github.com/iamkun/dayjs/issues/1108)) ([cc87eff](https://github.com/iamkun/dayjs/commit/cc87eff8b75b0d86ce0956516319d402bccae6c0)) +* Fix typo for "monday" in arabic ([#1067](https://github.com/iamkun/dayjs/issues/1067)) ([2e1e426](https://github.com/iamkun/dayjs/commit/2e1e42650124f30282dc4d710798d576b928f1c7)) +* support dayjs.add(Duration), dayjs.subtract(Duration) ([#1099](https://github.com/iamkun/dayjs/issues/1099)) ([b1a0294](https://github.com/iamkun/dayjs/commit/b1a02942c5238203aaa04ce9a074c73742324ab7)) +* update Breton [br] locale relativeTime config ([#1103](https://github.com/iamkun/dayjs/issues/1103)) ([b038bfd](https://github.com/iamkun/dayjs/commit/b038bfdb128889d677c95534d2be29cc30c9e72f)) +* update Catalan [ca] locale ordinal ([73da380](https://github.com/iamkun/dayjs/commit/73da38024c8b550bdcfbe3ff7e578e742c7aecf2)) +* update German [de] locale relativeTime config ([#1109](https://github.com/iamkun/dayjs/issues/1109)) ([f6e771b](https://github.com/iamkun/dayjs/commit/f6e771b70f93d19ebb12e6b794aa4628a1796248)) +* update localeData plugin to add longDateFormat to global localeData ([#1106](https://github.com/iamkun/dayjs/issues/1106)) ([16937d1](https://github.com/iamkun/dayjs/commit/16937d16e053b8c1d4a607622fa2fdbfd9809832)) +* Update objectSupport plugin to return current date time while parsing empty object ([f56783e](https://github.com/iamkun/dayjs/commit/f56783e14d8cf50916b015e7188b23bb6fbca839)) + +## [1.9.1](https://github.com/iamkun/dayjs/compare/v1.9.0...v1.9.1) (2020-09-28) + + +### Bug Fixes + +* Fix objectSupport plugin to get the correct result (zero-based month) ([#1089](https://github.com/iamkun/dayjs/issues/1089)) ([f95ac15](https://github.com/iamkun/dayjs/commit/f95ac15a4577ae5a3d1ce353872a2cd9fc454bc2)) + +# [1.9.0](https://github.com/iamkun/dayjs/compare/v1.8.36...v1.9.0) (2020-09-28) + + +### Bug Fixes + +* Add `setDefault` typing to timezone.d.ts ([#1057](https://github.com/iamkun/dayjs/issues/1057)) ([c0f0886](https://github.com/iamkun/dayjs/commit/c0f088620f17260e6e3ebce7697d561b5623f5f3)) +* fix DST bug in utc plugin ([#1053](https://github.com/iamkun/dayjs/issues/1053)) ([3d73543](https://github.com/iamkun/dayjs/commit/3d7354361f042ced1176d91f9ae9edffe6173425)) +* Fix optional type for timezone plugin ([#1081](https://github.com/iamkun/dayjs/issues/1081)) ([a6ebcf2](https://github.com/iamkun/dayjs/commit/a6ebcf283a83273562dce5663155e3b3a12ea9a5)), closes [#1079](https://github.com/iamkun/dayjs/issues/1079) +* Fix timezone plugin conversion bug ([#1073](https://github.com/iamkun/dayjs/issues/1073)) ([16816a3](https://github.com/iamkun/dayjs/commit/16816a31ff43220aca9d1d179df6b729182abb55)) +* update duration plugin type file ([#1065](https://github.com/iamkun/dayjs/issues/1065)) ([94af9af](https://github.com/iamkun/dayjs/commit/94af9af27c5bc182cbb24f1845e561dd1d82d776)) +* update timezone plugin to support getting offset name e.g. EST ([#1069](https://github.com/iamkun/dayjs/issues/1069)) ([cbb755e](https://github.com/iamkun/dayjs/commit/cbb755e5c68d49c5678291f3ce832b32831a056e)) +* update utc plugin to support keepLocalTime `.utc(true)` ([#1080](https://github.com/iamkun/dayjs/issues/1080)) ([5ce4e0d](https://github.com/iamkun/dayjs/commit/5ce4e0d2f552f3645262537ff7afdc946f5a7e72)) + + +### Features + +* Correct casing for en-sg locale name ([#1048](https://github.com/iamkun/dayjs/issues/1048)) ([2edaddc](https://github.com/iamkun/dayjs/commit/2edaddc22a7eb914f915531f389766217acd7034)) + +## [1.8.36](https://github.com/iamkun/dayjs/compare/v1.8.35...v1.8.36) (2020-09-17) + + +### Bug Fixes + +* Add Amharic (am) locale ([#1046](https://github.com/iamkun/dayjs/issues/1046)) ([cdc49a1](https://github.com/iamkun/dayjs/commit/cdc49a1911c74b7ea96ed222f42796d53715cfed)) +* Export Duration type in duration plugin ([#1043](https://github.com/iamkun/dayjs/issues/1043)) ([0f20c3a](https://github.com/iamkun/dayjs/commit/0f20c3ac75d9ac1026a15a7bb343d3a150d9b30f)) +* Fix duration plugin parsing milliseconds bug ([#1042](https://github.com/iamkun/dayjs/issues/1042)) ([fe2301b](https://github.com/iamkun/dayjs/commit/fe2301b22318886aaa89ed1620e0a118e98c2b8a)) +* Timezone plugin set default timezone ([#1033](https://github.com/iamkun/dayjs/issues/1033)) ([0c2050a](https://github.com/iamkun/dayjs/commit/0c2050a152da708b01edd6150a5013f642b14576)) +* Timezone plugin should have the same behavior in latest ICU version ([#1032](https://github.com/iamkun/dayjs/issues/1032)) ([de31592](https://github.com/iamkun/dayjs/commit/de315921575cc50c38464b27d0338e30a54d8e2a)) +* Update Finnish (fi) locale ([#963](https://github.com/iamkun/dayjs/issues/963)) ([cf8b6a0](https://github.com/iamkun/dayjs/commit/cf8b6a096f24b54cbdb95675ac386d8ac85ea616)) +* Update Polish (pl) , Hungarian (hr) and Lithuanian (lt) localization ([#1045](https://github.com/iamkun/dayjs/issues/1045)) ([638fd39](https://github.com/iamkun/dayjs/commit/638fd394fc24f4188390faf387da6b156e7c6320)) + +## [1.8.35](https://github.com/iamkun/dayjs/compare/v1.8.34...v1.8.35) (2020-09-02) + + +### Bug Fixes + +* Fix BadMutable plugin bug in .diff ([#1023](https://github.com/iamkun/dayjs/issues/1023)) ([40ab6d9](https://github.com/iamkun/dayjs/commit/40ab6d9a53e8047cfca63c611c25dd045372d021)) +* fix LocaleData plugin to support instance.weekdays() API ([#1019](https://github.com/iamkun/dayjs/issues/1019)) ([a09d259](https://github.com/iamkun/dayjs/commit/a09d259a407b81d1cb6bb5623fad551c775d8674)), closes [#1017](https://github.com/iamkun/dayjs/issues/1017) +* Update Dutch (nl) locale to set correct yearStart ([1533a2c](https://github.com/iamkun/dayjs/commit/1533a2cc1475270032da2d87b19fc3d62327e6e3)) + +## [1.8.34](https://github.com/iamkun/dayjs/compare/v1.8.33...v1.8.34) (2020-08-20) + + +### Bug Fixes + +* Fix Timezone plugin to preserve milliseconds while changing timezone ([#1003](https://github.com/iamkun/dayjs/issues/1003)) ([5f446ed](https://github.com/iamkun/dayjs/commit/5f446eda770fa97e895c81a8195b3ba5d082cef0)), closes [#1002](https://github.com/iamkun/dayjs/issues/1002) +* support parsing unlimited decimals of millisecond ([#1010](https://github.com/iamkun/dayjs/issues/1010)) ([d1bdd36](https://github.com/iamkun/dayjs/commit/d1bdd36a56e3d1786523a180e3fc18068f609135)), closes [#544](https://github.com/iamkun/dayjs/issues/544) +* update Duration plugin to support global locale ([#1008](https://github.com/iamkun/dayjs/issues/1008)) ([1c49c83](https://github.com/iamkun/dayjs/commit/1c49c83e79811eede13db6372b5d65db598aee77)), closes [#1007](https://github.com/iamkun/dayjs/issues/1007) + +## [1.8.33](https://github.com/iamkun/dayjs/compare/v1.8.32...v1.8.33) (2020-08-10) + + +### Bug Fixes + +* Add PluralGetSet plugin for plural getters/setters ([#996](https://github.com/iamkun/dayjs/issues/996)) ([f76e3ce](https://github.com/iamkun/dayjs/commit/f76e3ce2fbe5d3e9ed9121086baf55eb0cc4d355)) +* Add typescript type defs in esm build ([#985](https://github.com/iamkun/dayjs/issues/985)) ([50e3b3c](https://github.com/iamkun/dayjs/commit/50e3b3c6719cb0b4ec6eff394dacd63d5db8f253)) +* Fix isoWeek Plugin cal bug in UTC mode ([#993](https://github.com/iamkun/dayjs/issues/993)) ([f2e5f32](https://github.com/iamkun/dayjs/commit/f2e5f327aaf12b4572296ec6e107ecc05fcf76e7)) +* Fix Timezone plugin parsing js date, Day.js object, timestamp bug && update type file ([#994](https://github.com/iamkun/dayjs/issues/994)) ([22f3d49](https://github.com/iamkun/dayjs/commit/22f3d49405da98db6da56d1673eebcd01b57554b)), closes [#992](https://github.com/iamkun/dayjs/issues/992) [#989](https://github.com/iamkun/dayjs/issues/989) +* Fix Timezone plugin UTCOffset rounding bug ([#987](https://github.com/iamkun/dayjs/issues/987)) ([b07182b](https://github.com/iamkun/dayjs/commit/b07182bbdf5aef7f6bf1e88fcd38432e2b8ee465)), closes [#986](https://github.com/iamkun/dayjs/issues/986) +* Fix UTC plugin bug while comparing an utc instance to a local one ([#995](https://github.com/iamkun/dayjs/issues/995)) ([747c0fb](https://github.com/iamkun/dayjs/commit/747c0fb4eba6353755b5dad3417fd8d5a408c378)) +* Update pt-br locale weekStart 0 ([#984](https://github.com/iamkun/dayjs/issues/984)) ([0f881c1](https://github.com/iamkun/dayjs/commit/0f881c18efb02b9d0ba7f76cba92bb504226fa95)) + +## [1.8.32](https://github.com/iamkun/dayjs/compare/v1.8.31...v1.8.32) (2020-08-04) + + +### Bug Fixes + +* Add Experimental Timezone Plugin ([#974](https://github.com/iamkun/dayjs/issues/974)) ([e69caba](https://github.com/iamkun/dayjs/commit/e69caba1b0957241a855aa0ae38db899fa2c3795)) +* fix parse date string error e.g. '2020/9/30' ([#980](https://github.com/iamkun/dayjs/issues/980)) ([231790d](https://github.com/iamkun/dayjs/commit/231790da62af0494732960c2c50d86ae9bf63ec6)), closes [#979](https://github.com/iamkun/dayjs/issues/979) +* update monthDiff function to get more accurate results ([19e8a7f](https://github.com/iamkun/dayjs/commit/19e8a7f2f7582b717f49d446822e39603694433c)) +* Update UTC plugin to support keepLocalTime ([#973](https://github.com/iamkun/dayjs/issues/973)) ([9f488e5](https://github.com/iamkun/dayjs/commit/9f488e5aca92f0b4c2951459436829d79f86d8d7)) + +## [1.8.31](https://github.com/iamkun/dayjs/compare/v1.8.30...v1.8.31) (2020-07-29) + + +### Bug Fixes + +* Rollback LocalePresetType to string ([#968](https://github.com/iamkun/dayjs/issues/968)) ([b342bd3](https://github.com/iamkun/dayjs/commit/b342bd3d84987d6c7587a0c4590d614fb0e670d7)) +* Update Regex to parse 'YYYY' correctly ([#969](https://github.com/iamkun/dayjs/issues/969)) ([70c1239](https://github.com/iamkun/dayjs/commit/70c123990dcc6bd479fa2b5d7f9985127872a826)) + +## [1.8.30](https://github.com/iamkun/dayjs/compare/v1.8.29...v1.8.30) (2020-07-22) + + +### Bug Fixes + +* Add Haitian Creole (ht) and Spanish Puerto Rico (es-pr) locale configs ([#958](https://github.com/iamkun/dayjs/issues/958)) ([b2642e2](https://github.com/iamkun/dayjs/commit/b2642e2d1f87734a34808c66e5176cb18bc0414d)) +* Fix UTC plugin wrong hour bug while adding month or year ([#957](https://github.com/iamkun/dayjs/issues/957)) ([28ae070](https://github.com/iamkun/dayjs/commit/28ae070024ff26685c88ce4cc8747307e86923c9)) +* Update French (fr) locale to set correct yearStart ([14ab808](https://github.com/iamkun/dayjs/commit/14ab808a7b7e226f2eb2cbe894916a18ed5d967d)), closes [#956](https://github.com/iamkun/dayjs/issues/956) + +## [1.8.29](https://github.com/iamkun/dayjs/compare/v1.8.28...v1.8.29) (2020-07-02) + + +### Bug Fixes + +* Duration plugin supports parse ISO string with week (W) ([#950](https://github.com/iamkun/dayjs/issues/950)) ([f0fc12a](https://github.com/iamkun/dayjs/commit/f0fc12adadcab53fb0577ad8f5e2f1cf784fd8f5)) +* LocaleData plugin supports locale order ([#938](https://github.com/iamkun/dayjs/issues/938)) ([62f429d](https://github.com/iamkun/dayjs/commit/62f429db73a0a069b1267231dea172b85f4b90e3)), closes [#936](https://github.com/iamkun/dayjs/issues/936) +* Update type definition to support array format ([#945](https://github.com/iamkun/dayjs/issues/945)) ([81d4740](https://github.com/iamkun/dayjs/commit/81d4740511d47e34f891b21afeb0449ef8a28688)), closes [#944](https://github.com/iamkun/dayjs/issues/944) +* Update type definition to support strict mode ([#951](https://github.com/iamkun/dayjs/issues/951)) ([8d54f3f](https://github.com/iamkun/dayjs/commit/8d54f3f7d4d161e72c767fa09699e70a2b3d681c)) + +## [1.8.28](https://github.com/iamkun/dayjs/compare/v1.8.27...v1.8.28) (2020-05-28) + + +### Bug Fixes + +* Fix CustomParseFormat plugin month index error ([#918](https://github.com/iamkun/dayjs/issues/918)) ([fa2ec7f](https://github.com/iamkun/dayjs/commit/fa2ec7fcb980dcd2c7498dafe2f9ca2e52d735cf)), closes [#915](https://github.com/iamkun/dayjs/issues/915) +* Update Ukrainian (uk) locale monthFormat and monthStandalone ([#899](https://github.com/iamkun/dayjs/issues/899)) ([a08756e](https://github.com/iamkun/dayjs/commit/a08756e80bd1d7126fca28c5ad9e382613fc86c4)) + +## [1.8.27](https://github.com/iamkun/dayjs/compare/v1.8.26...v1.8.27) (2020-05-14) + + +### Bug Fixes + +* Add Kinyarwanda (rw) locale ([#903](https://github.com/iamkun/dayjs/issues/903)) ([f355235](https://github.com/iamkun/dayjs/commit/f355235a836540d77880959fb1b614c87e9f7b3e)) +* Add plugin objectSupport ([#887](https://github.com/iamkun/dayjs/issues/887)) ([52dfb13](https://github.com/iamkun/dayjs/commit/52dfb13a6b84f0a753cc5761192b92416f440961)) +* Add Turkmen (tk) locale ([#893](https://github.com/iamkun/dayjs/issues/893)) ([a9ca8dc](https://github.com/iamkun/dayjs/commit/a9ca8dcbbd0964c5b9abb4e8a2d620c983cf091a)) +* Fix CustomParseFormat plugin set locale error ([#896](https://github.com/iamkun/dayjs/issues/896)) ([8035c8a](https://github.com/iamkun/dayjs/commit/8035c8a760549b631252252718db3cdc4ab2f68f)) +* Fix locale month function bug ([#908](https://github.com/iamkun/dayjs/issues/908)) ([bf347c3](https://github.com/iamkun/dayjs/commit/bf347c36e401f50727fb5afcc537497b54b90d6b)) +* Update CustomParseFormat plugin to support Array formats ([#906](https://github.com/iamkun/dayjs/issues/906)) ([97856c6](https://github.com/iamkun/dayjs/commit/97856c603ef5fbbeb1cf8a42387479e56a77dbe8)) + +## [1.8.26](https://github.com/iamkun/dayjs/compare/v1.8.25...v1.8.26) (2020-04-30) + + +### Bug Fixes + +* Fix Duration plugin `.toISOString` format bug ([#889](https://github.com/iamkun/dayjs/issues/889)) ([058d624](https://github.com/iamkun/dayjs/commit/058d624808fd2be024ae846bcb2e03885f39b556)), closes [#888](https://github.com/iamkun/dayjs/issues/888) +* Fix WeekOfYear plugin bug while using BadMutable plugin ([#884](https://github.com/iamkun/dayjs/issues/884)) ([2977438](https://github.com/iamkun/dayjs/commit/2977438458542573a4500e21f7ba5d1f8442960e)) +* Update CustomParseFormat plugin strict mode ([#882](https://github.com/iamkun/dayjs/issues/882)) ([db642ac](https://github.com/iamkun/dayjs/commit/db642ac73e52e00d8c41546b2935c9e691cf66e0)) +* Update RelativeTime plugin default config ([#883](https://github.com/iamkun/dayjs/issues/883)) ([0606f42](https://github.com/iamkun/dayjs/commit/0606f425aef8ccbfc3da3e43cba368130603b0cc)) + +## [1.8.25](https://github.com/iamkun/dayjs/compare/v1.8.24...v1.8.25) (2020-04-21) + + +### Bug Fixes + +* Fix CustomParseFormat plugin of parsing only YYYY / YYYY-MM bug ([#873](https://github.com/iamkun/dayjs/issues/873)) ([3cea04d](https://github.com/iamkun/dayjs/commit/3cea04d33d54d44bbdd3d026b5c7f67ebf176116)), closes [#849](https://github.com/iamkun/dayjs/issues/849) +* Fix Duration plugin get seconds ([#867](https://github.com/iamkun/dayjs/issues/867)) ([62b092d](https://github.com/iamkun/dayjs/commit/62b092d9f9a3db5506ef01f798bdf211f163f53f)) +* Fix type definition of locale ([9790b85](https://github.com/iamkun/dayjs/commit/9790b853e6113243a7f4a81dd12c6509e406a102)) +* Fix UTC plugin startOf, endOf bug ([#872](https://github.com/iamkun/dayjs/issues/872)) ([4141084](https://github.com/iamkun/dayjs/commit/4141084ba96d35cadcda3f1e661bf1d0f6c8e4de)), closes [#809](https://github.com/iamkun/dayjs/issues/809) [#808](https://github.com/iamkun/dayjs/issues/808) + +## [1.8.24](https://github.com/iamkun/dayjs/compare/v1.8.23...v1.8.24) (2020-04-10) + + +### Bug Fixes + +* Add config option to RelativeTime plugin ([#851](https://github.com/iamkun/dayjs/issues/851)) ([bd24034](https://github.com/iamkun/dayjs/commit/bd24034b95bfc656024b75ef3f3c986708845fed)) +* add Duration plugin ([#858](https://github.com/iamkun/dayjs/issues/858)) ([d568273](https://github.com/iamkun/dayjs/commit/d568273223199ca0497f238e2cc3a8d3dcf32d0f)) +* Add en-in, en-tt locales ([#855](https://github.com/iamkun/dayjs/issues/855)) ([c39fb96](https://github.com/iamkun/dayjs/commit/c39fb96e2a9102c14b004c14a6c073af9d266f2f)) +* add isToday, isTomorrow, isYesterday plugins ([#857](https://github.com/iamkun/dayjs/issues/857)) ([fc08ab6](https://github.com/iamkun/dayjs/commit/fc08ab68f8a28269802deeab9d6b0473b92cdc51)) +* Add option callback to Calendar plugin ([#839](https://github.com/iamkun/dayjs/issues/839)) ([b25be90](https://github.com/iamkun/dayjs/commit/b25be9094325295310c8fc5e617fb058be8a5f68)) +* Fix monthsShort for locale fr ([#862](https://github.com/iamkun/dayjs/issues/862)) ([d2de9a0](https://github.com/iamkun/dayjs/commit/d2de9a0b44b830038ed0094f79bfd40726311f2a)) +* Update Breton locale (br) meridiem config ([#856](https://github.com/iamkun/dayjs/issues/856)) ([a2a6672](https://github.com/iamkun/dayjs/commit/a2a66720abb788a8f1cffbfd0929b35579f29c72)) +* Update Ukrainian (uk) locale relative time ([#842](https://github.com/iamkun/dayjs/issues/842)) ([578bc1a](https://github.com/iamkun/dayjs/commit/578bc1a23c6e737783bbac3da12c0ed5d1edcf82)) + +## [1.8.23](https://github.com/iamkun/dayjs/compare/v1.8.22...v1.8.23) (2020-03-16) + + +### Bug Fixes + +* Add Chinese (zh) locale ([f9b8945](https://github.com/iamkun/dayjs/commit/f9b89453166d8b53d33b1d7eefd9942022552e6e)) +* Fix IsoWeek plugin typescript definition ([#828](https://github.com/iamkun/dayjs/issues/828)) ([30aab0c](https://github.com/iamkun/dayjs/commit/30aab0c7bce85dfac0ae208a891def30f88b5cb4)) +* Update Arabic (ar) locale relative time ([#836](https://github.com/iamkun/dayjs/issues/836)) ([14044c6](https://github.com/iamkun/dayjs/commit/14044c6fda1229e3f0e5473d3f886bd79589b15f)) +* Update Slovak (sk) locale, Czech (cs) locale ([#833](https://github.com/iamkun/dayjs/issues/833)) ([f0d451f](https://github.com/iamkun/dayjs/commit/f0d451f795e9ebf752cd854d51b25b11de2343a3)) +* Update Thai (th) locale relativeTime ([#826](https://github.com/iamkun/dayjs/issues/826)) ([63b7c03](https://github.com/iamkun/dayjs/commit/63b7c03a6dbb0507d60776e8bad6cccde3828b88)), closes [#816](https://github.com/iamkun/dayjs/issues/816) + +## [1.8.22](https://github.com/iamkun/dayjs/compare/v1.8.21...v1.8.22) (2020-03-08) + + +### Bug Fixes + +* Add IsoWeek plugin ([#811](https://github.com/iamkun/dayjs/issues/811)) ([28a2207](https://github.com/iamkun/dayjs/commit/28a2207ef9849afbac15dd29267b2e7a09cd3c16)) +* Fix unsupported locale fallback to previous one ([#819](https://github.com/iamkun/dayjs/issues/819)) ([4868715](https://github.com/iamkun/dayjs/commit/48687152cf5bee6a4c1b8ceea4bda8b9bab9be10)) + +## [1.8.21](https://github.com/iamkun/dayjs/compare/v1.8.20...v1.8.21) (2020-02-26) + + +### Bug Fixes + +* Set + Get accept 'D' as the short version of 'date' ([#795](https://github.com/iamkun/dayjs/issues/795)) ([523c038](https://github.com/iamkun/dayjs/commit/523c03880fa8bbad83214494ad02cd606cdb8b30)) +* Update DayOfYear plugin type ([#799](https://github.com/iamkun/dayjs/issues/799)) ([5809652](https://github.com/iamkun/dayjs/commit/5809652e40245b7759827d9bf317abdcfa75a330)) +* Update fi (Finnish) locale relativeTime ([#797](https://github.com/iamkun/dayjs/issues/797)) ([4a470fb](https://github.com/iamkun/dayjs/commit/4a470fbd6fef9e051727d0f26d53cc050b85935d)) + +## [1.8.20](https://github.com/iamkun/dayjs/compare/v1.8.19...v1.8.20) (2020-02-04) + + +### Bug Fixes + +* Add Bislama Locale (bi) ([#780](https://github.com/iamkun/dayjs/issues/780)) ([9ac6ab4](https://github.com/iamkun/dayjs/commit/9ac6ab481bc883dd4ecc02caab12c8b2fc218a42)) +* Fix weekOfYear plugin to support yearStart locale for better week number result ([#769](https://github.com/iamkun/dayjs/issues/769)) ([f00db36](https://github.com/iamkun/dayjs/commit/f00db36e70bc7beaca1abadeb30a9b1fbb3261ee)) +* Update et (Estonian) locale relativeTime ([#790](https://github.com/iamkun/dayjs/issues/790)) ([d8e0f45](https://github.com/iamkun/dayjs/commit/d8e0f45f6cd2d5e5704b9797929227454c92d1a5)) +* Update LocaleData plugin to support dayjs.localeData().weekdays() API ([287fed6](https://github.com/iamkun/dayjs/commit/287fed6db9eb4fd979b4861aca4dacbd32422533)), closes [#779](https://github.com/iamkun/dayjs/issues/779) +* Update LocaleData plugin to support dayjs.months dayjs.weekdays API ([144c2ae](https://github.com/iamkun/dayjs/commit/144c2ae6e15fbf89e3acd7c8cb9e237c5f6e1348)), closes [#779](https://github.com/iamkun/dayjs/issues/779) +* Update pl locale fusional config ([d372475](https://github.com/iamkun/dayjs/commit/d3724758bb27d5b17587b995ba14e7e80dcd1151)) + +## [1.8.19](https://github.com/iamkun/dayjs/compare/v1.8.18...v1.8.19) (2020-01-06) + + +### Bug Fixes + +* Add UpdateLocale plugin to update a locale's properties ([#766](https://github.com/iamkun/dayjs/issues/766)) ([82ce2ba](https://github.com/iamkun/dayjs/commit/82ce2ba8d7e402e40f6d005d400eb5356a0b0633)) +* Fix CustomParseFormat Plugin 'YYYY-MM' use first day of the month ([ba709ec](https://github.com/iamkun/dayjs/commit/ba709eca86a71ae648bc68bf67d9abdc229198d4)), closes [#761](https://github.com/iamkun/dayjs/issues/761) +* Fix CustomParseFormat Plugin to set correct locale ([66ce23f](https://github.com/iamkun/dayjs/commit/66ce23f2e18c5506e8f1a7ef20d3483a4df80087)) +* Fix WeekOfYear Plugin wrong calender week number bug ([79b86db](https://github.com/iamkun/dayjs/commit/79b86dbbf3cfd3f1e2165b3d479a7061ad1b6925)), closes [#760](https://github.com/iamkun/dayjs/issues/760) +* Update RelativeTime plugin to support function to make additional processing ([#767](https://github.com/iamkun/dayjs/issues/767)) ([4bd9250](https://github.com/iamkun/dayjs/commit/4bd9250fbe7131e2fddfb5fa1b3350e8c2262ca9)) +* Update ru, uk, cs locale to support relativeTime with plural ([3f080f7](https://github.com/iamkun/dayjs/commit/3f080f7d6bfdc4018cbb7c4d0112ff1ead4ef6b8)) + +## [1.8.18](https://github.com/iamkun/dayjs/compare/v1.8.17...v1.8.18) (2019-12-18) + + +### Bug Fixes + +* Add missing locale type definition ([#716](https://github.com/iamkun/dayjs/issues/716)) ([cde5d0b](https://github.com/iamkun/dayjs/commit/cde5d0b91be7b2f5f3098de4aa0b9a4f0f28ea5c)) +* Fix .locale() handel unsupported locale ([78ec173](https://github.com/iamkun/dayjs/commit/78ec173fcecc1299516ab7b44f4554d431b4b2fd)) +* Update Italian locale (it) ([#727](https://github.com/iamkun/dayjs/issues/727)) ([5b53e98](https://github.com/iamkun/dayjs/commit/5b53e98c0a3ba0eb9573a9c77caeb907439be9e7)) +* Update locale (fa) ([#733](https://github.com/iamkun/dayjs/issues/733)) ([9ad2e47](https://github.com/iamkun/dayjs/commit/9ad2e47e0569b23991bb0d5578f49c792c12df08)) +* Update locale (zh-cn) ([#706](https://github.com/iamkun/dayjs/issues/706)) ([e31e544](https://github.com/iamkun/dayjs/commit/e31e54414fb90e1f54da13a117748ba37f52645d)) +* Update locale (zh-cn) meridiem ([#735](https://github.com/iamkun/dayjs/issues/735)) ([15d1b81](https://github.com/iamkun/dayjs/commit/15d1b813e7faf5a1f9d1ea6fc673fd27ac49d8b1)) +* Update LocaleData plugin to support dayjs().longDateFormat() ([#734](https://github.com/iamkun/dayjs/issues/734)) ([aa0f210](https://github.com/iamkun/dayjs/commit/aa0f210a1e3c4f6aba61c3b96f9eb445b43a33f0)), closes [#680](https://github.com/iamkun/dayjs/issues/680) +* Update Mongolian (mn) locale relativeTime ([#753](https://github.com/iamkun/dayjs/issues/753)) ([6d51435](https://github.com/iamkun/dayjs/commit/6d51435092c0c94d8e50256d3f0f058cdd15febe)) +* Update Swedish locale (sv) fix ordinal error ([#745](https://github.com/iamkun/dayjs/issues/745)) ([49670d5](https://github.com/iamkun/dayjs/commit/49670d5ae31e4e21636cc5a8bfe35fef0f6d9e4a)), closes [#743](https://github.com/iamkun/dayjs/issues/743) + +## [1.8.17](https://github.com/iamkun/dayjs/compare/v1.8.16...v1.8.17) (2019-11-06) + + +### Bug Fixes + +* Fix set utcOffset in utc mode ([d148115](https://github.com/iamkun/dayjs/commit/d148115dad8f1a5afc0a64e9b8163dfeba4616b6)) +* Update advancedFormat plugin to support w ww wo week tokens … ([#678](https://github.com/iamkun/dayjs/issues/678)) ([26cfa63](https://github.com/iamkun/dayjs/commit/26cfa63a524b803f7966dac5464f9cbf8f63387e)), closes [#676](https://github.com/iamkun/dayjs/issues/676) +* Update ka locale weekdays ([f8ca3d4](https://github.com/iamkun/dayjs/commit/f8ca3d4ba1d3cbe41613d3909c0627935a51a0c4)) +* Update nb locale ([#679](https://github.com/iamkun/dayjs/issues/679)) ([1063b0e](https://github.com/iamkun/dayjs/commit/1063b0e1b5c19a1354d233cc0f21438e7073233a)) +* Update Polish locale (pl)([#713](https://github.com/iamkun/dayjs/issues/713)) ([30d2f02](https://github.com/iamkun/dayjs/commit/30d2f026b47188833a4f44fee4bab52467d4a718)) +* Update Ukrainian locale (uk) ([#710](https://github.com/iamkun/dayjs/issues/710)) ([360161c](https://github.com/iamkun/dayjs/commit/360161cac75f597fdd51d9d1ff138601282a1b4b)) +* UTC plugin set utcOffset value ([#668](https://github.com/iamkun/dayjs/issues/668)) ([8877883](https://github.com/iamkun/dayjs/commit/88778838e71dd309e79cd1a8094d5bea36ca3390)) + +## [1.8.16](https://github.com/iamkun/dayjs/compare/v1.8.15...v1.8.16) (2019-08-27) + + +### Bug Fixes + +* Fix relativeTime Plugin .FromNow() result error in UTC mode ([a385d5c](https://github.com/iamkun/dayjs/commit/a385d5c)) +* Handle locale in WeekOfYear plugin ([#658](https://github.com/iamkun/dayjs/issues/658)) ([0e45b0a](https://github.com/iamkun/dayjs/commit/0e45b0a)) +* LocaleData plugin returns all months and weekdays data when pas no argument ([#645](https://github.com/iamkun/dayjs/issues/645)) ([95e70b4](https://github.com/iamkun/dayjs/commit/95e70b4)) +* Return null in toJSON if not valid ([#633](https://github.com/iamkun/dayjs/issues/633)) ([19affc8](https://github.com/iamkun/dayjs/commit/19affc8)) +* Update Danish (da) locale ([#626](https://github.com/iamkun/dayjs/issues/626)) ([ac2ec77](https://github.com/iamkun/dayjs/commit/ac2ec77)) +* Update Korean locale meridiem ([#642](https://github.com/iamkun/dayjs/issues/642)) ([b457146](https://github.com/iamkun/dayjs/commit/b457146)) +* update Occitan locale Catalan locale ([#630](https://github.com/iamkun/dayjs/issues/630)) ([fef135e](https://github.com/iamkun/dayjs/commit/fef135e)) +* update pt-br locale ([#628](https://github.com/iamkun/dayjs/issues/628)) ([ccf596d](https://github.com/iamkun/dayjs/commit/ccf596d)) +* Update weekdaysShort to some locale files ([#643](https://github.com/iamkun/dayjs/issues/643)) ([cc1f15f](https://github.com/iamkun/dayjs/commit/cc1f15f)) + +## [1.8.15](https://github.com/iamkun/dayjs/compare/v1.8.14...v1.8.15) (2019-07-08) + + +### Bug Fixes + +* Fix dayjs.locale() returns current global locale ([#602](https://github.com/iamkun/dayjs/issues/602)) ([790cd1a](https://github.com/iamkun/dayjs/commit/790cd1a)) +* Fix incorrect Thai locale translation of July ([#607](https://github.com/iamkun/dayjs/issues/607)) ([43cbfd3](https://github.com/iamkun/dayjs/commit/43cbfd3)) +* Lowercase french locale months and weekdays ([#615](https://github.com/iamkun/dayjs/issues/615)) ([e5a257c](https://github.com/iamkun/dayjs/commit/e5a257c)) +* Type - Export Ls object to query all available locales ([#623](https://github.com/iamkun/dayjs/issues/623)) ([f6bfae0](https://github.com/iamkun/dayjs/commit/f6bfae0)) +* Update nb (Norsk Bokmål) locale ([#604](https://github.com/iamkun/dayjs/issues/604)) ([907f5c9](https://github.com/iamkun/dayjs/commit/907f5c9)) +* Update types of `.diff` API ([#617](https://github.com/iamkun/dayjs/issues/617)) ([f0f43d2](https://github.com/iamkun/dayjs/commit/f0f43d2)) + +## [1.8.14](https://github.com/iamkun/dayjs/compare/v1.8.13...v1.8.14) (2019-05-07) + + +### Bug Fixes + +* Fix `.format` API returns UTC offset when value is 0 bug ([b254964](https://github.com/iamkun/dayjs/commit/b254964)) +* Fix QuarterOfYear plugin bug ([#591](https://github.com/iamkun/dayjs/issues/591)) ([434f774](https://github.com/iamkun/dayjs/commit/434f774)) +* Fix UTC plugin add day DST bug ([#590](https://github.com/iamkun/dayjs/issues/590)) ([86cd839](https://github.com/iamkun/dayjs/commit/86cd839)) + +## [1.8.13](https://github.com/iamkun/dayjs/compare/v1.8.12...v1.8.13) (2019-04-26) + + +### Bug Fixes + +* Add missing relativeTime and formats for some locales ([#560](https://github.com/iamkun/dayjs/issues/560)) ([96b917e](https://github.com/iamkun/dayjs/commit/96b917e)) +* Add weekday (locale aware day of the week) plugin ([#569](https://github.com/iamkun/dayjs/issues/569)) ([9007cc5](https://github.com/iamkun/dayjs/commit/9007cc5)), closes [#559](https://github.com/iamkun/dayjs/issues/559) +* Allow customizing "am" / "pm" strings with locale meridiem function ([#580](https://github.com/iamkun/dayjs/issues/580)) ([576e93e](https://github.com/iamkun/dayjs/commit/576e93e)), closes [#578](https://github.com/iamkun/dayjs/issues/578) +* Fix `.add` day/week decimal rouding bug ([800f6c9](https://github.com/iamkun/dayjs/commit/800f6c9)) +* Fix `.diff` type definition error ([#565](https://github.com/iamkun/dayjs/issues/565)) ([c4921ae](https://github.com/iamkun/dayjs/commit/c4921ae)), closes [#561](https://github.com/iamkun/dayjs/issues/561) +* Fix CustomParseFormat plugin bug ([#568](https://github.com/iamkun/dayjs/issues/568)) ([1f5a9db](https://github.com/iamkun/dayjs/commit/1f5a9db)), closes [#555](https://github.com/iamkun/dayjs/issues/555) +* Fix relativeTime plugin Math.round bug ([40bea40](https://github.com/iamkun/dayjs/commit/40bea40)) +* skip square brackets in buddhistEra, advancedFormat plugins ([#556](https://github.com/iamkun/dayjs/issues/556)) ([9279718](https://github.com/iamkun/dayjs/commit/9279718)), closes [#554](https://github.com/iamkun/dayjs/issues/554) +* Update Indonesian locale([#574](https://github.com/iamkun/dayjs/issues/574)) ([0aa7143](https://github.com/iamkun/dayjs/commit/0aa7143)) +* Update locale month to support both array and function ([#581](https://github.com/iamkun/dayjs/issues/581)) ([b6599d3](https://github.com/iamkun/dayjs/commit/b6599d3)) +* Update LocalizedFormat plugin lowercase formats logic ([#557](https://github.com/iamkun/dayjs/issues/557)) ([d409304](https://github.com/iamkun/dayjs/commit/d409304)) + +## [1.8.12](https://github.com/iamkun/dayjs/compare/v1.8.11...v1.8.12) (2019-04-02) + + +### Bug Fixes + +* Add .get API ([7318797](https://github.com/iamkun/dayjs/commit/7318797)) +* Add 79 locales ([#541](https://github.com/iamkun/dayjs/issues/541)) ([f75a125](https://github.com/iamkun/dayjs/commit/f75a125)) +* Add Calendar plugin ([d1b9cf9](https://github.com/iamkun/dayjs/commit/d1b9cf9)) +* Add isoWeeksInYear plugin ([2db8631](https://github.com/iamkun/dayjs/commit/2db8631)) +* Add Occitan (oc-lnc) locale file ([#551](https://github.com/iamkun/dayjs/issues/551)) ([c30b715](https://github.com/iamkun/dayjs/commit/c30b715)) +* Add plugin minMax to sopport .max .min ([2870a23](https://github.com/iamkun/dayjs/commit/2870a23)) +* Fix set Month Year error in last day of the month ([d058f4a](https://github.com/iamkun/dayjs/commit/d058f4a)) +* Update ko locale weekdaysShort ([#543](https://github.com/iamkun/dayjs/issues/543)) ([317fd3e](https://github.com/iamkun/dayjs/commit/317fd3e)) +* Update localizedFormat plugin to support lowercase localizable formats (l, ll, lll, llll) ([#546](https://github.com/iamkun/dayjs/issues/546)) ([f2b5ebf](https://github.com/iamkun/dayjs/commit/f2b5ebf)) + +## [1.8.11](https://github.com/iamkun/dayjs/compare/v1.8.10...v1.8.11) (2019-03-21) + + +### Bug Fixes + +* Add .add('quarter') .startOf('quarter') through plugin quarterOfYear ([dde39e9](https://github.com/iamkun/dayjs/commit/dde39e9)), closes [#537](https://github.com/iamkun/dayjs/issues/537) [#531](https://github.com/iamkun/dayjs/issues/531) +* Add locale support for Azerbaijani language (az) ([#535](https://github.com/iamkun/dayjs/issues/535)) ([eeb20fa](https://github.com/iamkun/dayjs/commit/eeb20fa)) +* Correct typescript definition `add` ([22a249c](https://github.com/iamkun/dayjs/commit/22a249c)), closes [#531](https://github.com/iamkun/dayjs/issues/531) +* Fix CustomParseFormat plugin formatting bug ([#536](https://github.com/iamkun/dayjs/issues/536)) ([8578546](https://github.com/iamkun/dayjs/commit/8578546)), closes [#533](https://github.com/iamkun/dayjs/issues/533) +* Update pt locale ([#538](https://github.com/iamkun/dayjs/issues/538)) ([1ac9e1e](https://github.com/iamkun/dayjs/commit/1ac9e1e)) + +## [1.8.10](https://github.com/iamkun/dayjs/compare/v1.8.9...v1.8.10) (2019-03-10) + + +### Bug Fixes + +* **locale:** Add nepali (ne) locale ([#524](https://github.com/iamkun/dayjs/issues/524)) ([bdbec01](https://github.com/iamkun/dayjs/commit/bdbec01)) +* Add WeekYear plugin ([a892608](https://github.com/iamkun/dayjs/commit/a892608)) +* API .locale() with no argument should return current locale name string ([8d63d88](https://github.com/iamkun/dayjs/commit/8d63d88)) +* CustomParseFormat correct parse HH:mm:ss with only one digit like 0:12:10 ([600d547](https://github.com/iamkun/dayjs/commit/600d547)) +* CustomParseFormat plugin parse Do format string ([bf27fda](https://github.com/iamkun/dayjs/commit/bf27fda)), closes [#522](https://github.com/iamkun/dayjs/issues/522) +* Expand setters like .year(2000) .hour(12) ([ac532a0](https://github.com/iamkun/dayjs/commit/ac532a0)) +* Move toObject, toArray API to separate plugin from core ([40a3431](https://github.com/iamkun/dayjs/commit/40a3431)) + +## [1.8.9](https://github.com/iamkun/dayjs/compare/v1.8.8...v1.8.9) (2019-03-06) + + +### Features + +* Add UTC mode with UTC plugin ([#517](https://github.com/iamkun/dayjs/issues/517)) ([caf335c](https://github.com/iamkun/dayjs/commit/caf335c)) + +> For plugin developers: Please note, we have changed the name of some method in `Utils` in order to reduce the file size. ([#517](https://github.com/iamkun/dayjs/issues/517)) ([detail](https://github.com/iamkun/dayjs/pull/517/files#diff-2b4ca49d4bb0a774c4d4c1672d7aa781R46)) + +### Bug Fixes + +* Add locale de-AT ([#515](https://github.com/iamkun/dayjs/issues/515)) ([d93f7b6](https://github.com/iamkun/dayjs/commit/d93f7b6)) +* Add locale zh-hk ([#516](https://github.com/iamkun/dayjs/issues/516)) ([5fc05a6](https://github.com/iamkun/dayjs/commit/5fc05a6)) + +## [1.8.8](https://github.com/iamkun/dayjs/compare/v1.8.7...v1.8.8) (2019-02-25) + + +### Bug Fixes + +* Update relativeTime plugin type definition ([de56f2c](https://github.com/iamkun/dayjs/commit/de56f2c)) + +## [1.8.7](https://github.com/iamkun/dayjs/compare/v1.8.6...v1.8.7) (2019-02-24) + + +### Bug Fixes + +* Add plugin type definitions ([#418](https://github.com/iamkun/dayjs/issues/418)) ([361d437](https://github.com/iamkun/dayjs/commit/361d437)) +* Add Swahili locale ([#508](https://github.com/iamkun/dayjs/issues/508)) ([b9cee84](https://github.com/iamkun/dayjs/commit/b9cee84)) +* Parse month string 'MMMM MMM (February, Feb)' in customParseFormat ([#457](https://github.com/iamkun/dayjs/issues/457)) ([f343206](https://github.com/iamkun/dayjs/commit/f343206)) +* Update declaration file .diff .isBefore .isSame .isAfter ([#496](https://github.com/iamkun/dayjs/issues/496)) ([4523275](https://github.com/iamkun/dayjs/commit/4523275)) +* Word orders corrections for locale 'fa' ([#491](https://github.com/iamkun/dayjs/issues/491)) ([56050c2](https://github.com/iamkun/dayjs/commit/56050c2)) + +## [1.8.6](https://github.com/iamkun/dayjs/compare/v1.8.5...v1.8.6) (2019-02-14) + + +### Bug Fixes + +* Add Bahasa Melayu (Malaysia) locale ([#485](https://github.com/iamkun/dayjs/issues/485)) ([cb208b0](https://github.com/iamkun/dayjs/commit/cb208b0)) +* Copy & export built-in en locale to /locale folder as a separate file ([a7e05e0](https://github.com/iamkun/dayjs/commit/a7e05e0)) +* Fix bug in customParseFormat plugin while month(MM) is '01' ([9884ca5](https://github.com/iamkun/dayjs/commit/9884ca5)), closes [#494](https://github.com/iamkun/dayjs/issues/494) +* Fix startOf week bug while week start is not Sunday ([5eaf77b](https://github.com/iamkun/dayjs/commit/5eaf77b)) +* Implemented isBetween inclusivity ([#464](https://github.com/iamkun/dayjs/issues/464)) ([af2f4f1](https://github.com/iamkun/dayjs/commit/af2f4f1)) +* Update Swedish and Finnish locales ([#488](https://github.com/iamkun/dayjs/issues/488)) ([f142082](https://github.com/iamkun/dayjs/commit/f142082)) +* Fix commonJS require ES Module bug in webpack4 ([23f9f3d](https://github.com/iamkun/dayjs/commit/23f9f3d)), check [#492](https://github.com/iamkun/dayjs/issues/492) + +> Get access to ESM code with `import dayjs from 'dayjs/esm'` + +## [1.8.5](https://github.com/iamkun/dayjs/compare/v1.8.4...v1.8.5) (2019-02-07) + + +### Bug Fixes + +* Add en-gb locale ([#478](https://github.com/iamkun/dayjs/issues/478)) ([508c3a7](https://github.com/iamkun/dayjs/commit/508c3a7)) +* **module:** transpile everything except ES6 modules in the 'module' entrypoint ([#477](https://github.com/iamkun/dayjs/issues/477)) ([#480](https://github.com/iamkun/dayjs/issues/480)) ([#482](https://github.com/iamkun/dayjs/issues/482)) ([767017d](https://github.com/iamkun/dayjs/commit/767017d)) +* update customParseFormat plugin support hh:mm ([54947cc](https://github.com/iamkun/dayjs/commit/54947cc)), closes [#484](https://github.com/iamkun/dayjs/issues/484) +* Update module in package.json ([5c5a7a0](https://github.com/iamkun/dayjs/commit/5c5a7a0)) + +## [1.8.4](https://github.com/iamkun/dayjs/compare/v1.8.3...v1.8.4) (2019-02-05) + +* Allow set start day of week in locale && Allow set week in weekOfYear plugin ([1295591](https://github.com/iamkun/dayjs/commit/1295591)) +### Bug Fixes +* update all locale files with correct week start ([5b03412](https://github.com/iamkun/dayjs/commit/5b03412)) +* update es es-do locale adding weekStart && update weekStart test ([66e42ec](https://github.com/iamkun/dayjs/commit/66e42ec)) +* Revert default export ([b00da1b](https://github.com/iamkun/dayjs/commit/b00da1b)) + +## [1.8.3](https://github.com/iamkun/dayjs/compare/v1.8.2...v1.8.3) (2019-02-04) + + +### Bug Fixes + +* fix ios safari YYYY-MM-DD HH:mm parse BUG ([e02ae82](https://github.com/iamkun/dayjs/commit/e02ae82)), closes [#254](https://github.com/iamkun/dayjs/issues/254) + +## [1.8.2](https://github.com/iamkun/dayjs/compare/v1.8.1...v1.8.2) (2019-02-02) + + +### Bug Fixes + +* Add missing czech language locale ([#461](https://github.com/iamkun/dayjs/issues/461)) ([7e04004](https://github.com/iamkun/dayjs/commit/7e04004)) +* Add utcOffset api method and fix calculating diff error in DST ([#453](https://github.com/iamkun/dayjs/issues/453)) ([ce2e30e](https://github.com/iamkun/dayjs/commit/ce2e30e)) +* Fix it locale error ([#458](https://github.com/iamkun/dayjs/issues/458)) ([f6d9a64](https://github.com/iamkun/dayjs/commit/f6d9a64)) +* Add DayOfYear plugin (#454) +* Fix es locale monthsShort error + +## [1.8.1](https://github.com/iamkun/dayjs/compare/v1.8.0...v1.8.1) (2019-02-02) + +* Add LocalizedFormat plugin supplying format like LTS, LT, LLLL + +* update declaration File with default export (#278) +> From v1.8.1, in TypeScript Project, just `import from dayjs from 'dayjs'` +* add ES2015 module support (#451) + +### Performance Improvements + +* **format:** reuse matches instead of created when replacing ([#441](https://github.com/iamkun/dayjs/issues/441)) ([10b79d8](https://github.com/iamkun/dayjs/commit/10b79d8)) + +# [1.8.0](https://github.com/iamkun/dayjs/compare/v1.7.8...v1.8.0) (2019-01-14) + + +### Features + +* add CustomParseFormat plugin and QuarterOfYear plugin ([#450](https://github.com/iamkun/dayjs/issues/450)) ([8f6f63c](https://github.com/iamkun/dayjs/commit/8f6f63c)) + +## [1.7.8](https://github.com/iamkun/dayjs/compare/v1.7.7...v1.7.8) (2018-12-13) + + +### Feature + +* update isSame isBefore isAfter supports units ([fd65464](https://github.com/iamkun/dayjs/commit/fd65464)) + +* add greek lithuanian locales + +## [1.7.7](https://github.com/iamkun/dayjs/compare/v1.7.6...v1.7.7) (2018-09-26) + + +### Bug Fixes + +* **DST:** fix daylight saving time DST bug && add test ([#354](https://github.com/iamkun/dayjs/issues/354)) ([6fca6d5](https://github.com/iamkun/dayjs/commit/6fca6d5)) + +## [1.7.6](https://github.com/iamkun/dayjs/compare/v1.7.5...v1.7.6) (2018-09-25) + + +### Bug Fixes + +* **add dayjs.unix:** add dayjs.unix to parse timestamp in seconds && locale update ([5711c5e](https://github.com/iamkun/dayjs/commit/5711c5e)) + +## [1.7.5](https://github.com/iamkun/dayjs/compare/v1.7.4...v1.7.5) (2018-08-10) + + +### Bug Fixes + +* add isBetween API & update ([b5fc3d1](https://github.com/iamkun/dayjs/commit/b5fc3d1)) + +## [1.7.4](https://github.com/iamkun/dayjs/compare/v1.7.3...v1.7.4) (2018-07-11) + + +### Bug Fixes + +* update set week logic ([60b6325](https://github.com/iamkun/dayjs/commit/60b6325)), closes [#276](https://github.com/iamkun/dayjs/issues/276) + +## [1.7.3](https://github.com/iamkun/dayjs/compare/v1.7.2...v1.7.3) (2018-07-10) + + +### Bug Fixes + +* **locale-nl:** set correct weekdays and months ([6d089d7](https://github.com/iamkun/dayjs/commit/6d089d7)) + +## [1.7.2](https://github.com/iamkun/dayjs/compare/v1.7.1...v1.7.2) (2018-07-04) + + +### Bug Fixes + +* DEPRECATED isLeapYear, use IsLeapYear plugin instead ([e2e5116](https://github.com/iamkun/dayjs/commit/e2e5116)) + +## [1.7.1](https://github.com/iamkun/dayjs/compare/v1.7.0...v1.7.1) (2018-07-03) + + +### Bug Fixes + +* fix week() error near the end of the year ([fa03689](https://github.com/iamkun/dayjs/commit/fa03689)) + +# [1.7.0](https://github.com/iamkun/dayjs/compare/v1.6.10...v1.7.0) (2018-07-02) + + +### Features + +* Added method `.week()` to retrieve week of the year ([e1c1b1c](https://github.com/iamkun/dayjs/commit/e1c1b1c)) +* Updated Japanese locae + +## [1.6.10](https://github.com/iamkun/dayjs/compare/v1.6.9...v1.6.10) (2018-06-25) + + +### Bug Fixes + +* Add relative locales to russian language ([c7e9898](https://github.com/iamkun/dayjs/commit/c7e9898)), closes [#256](https://github.com/iamkun/dayjs/issues/256) + +## [1.6.9](https://github.com/iamkun/dayjs/compare/v1.6.8...v1.6.9) (2018-06-14) + + +### Bug Fixes + +* add isDayjs => boolean API ([6227c8b](https://github.com/iamkun/dayjs/commit/6227c8b)) + +## [1.6.8](https://github.com/iamkun/dayjs/compare/v1.6.7...v1.6.8) (2018-06-14) + + +### Bug Fixes + +* fix Advanced format bug in zh-cn ([0c07874](https://github.com/iamkun/dayjs/commit/0c07874)), closes [#242](https://github.com/iamkun/dayjs/issues/242) + +## [1.6.7](https://github.com/iamkun/dayjs/compare/v1.6.6...v1.6.7) (2018-06-11) + + +### Bug Fixes + +* fix id locale ([1ebbeb8](https://github.com/iamkun/dayjs/commit/1ebbeb8)), closes [#234](https://github.com/iamkun/dayjs/issues/234) + + +## [1.6.6](https://github.com/iamkun/dayjs/compare/v1.6.5...v1.6.6) (2018-06-06) + + +### Bug Fixes + +* format API update and locale file update ([5ca48f0](https://github.com/iamkun/dayjs/commit/5ca48f0)), closes [#228](https://github.com/iamkun/dayjs/issues/228) + + +## [1.6.5](https://github.com/iamkun/dayjs/compare/v1.6.4...v1.6.5) (2018-05-31) + + +### Bug Fixes + +* bugfix, utils update and locale file update ([ebcb6d5](https://github.com/iamkun/dayjs/commit/ebcb6d5)), closes [#214](https://github.com/iamkun/dayjs/issues/214) + + +## [1.6.4](https://github.com/iamkun/dayjs/compare/v1.6.3...v1.6.4) (2018-05-25) + + +### Bug Fixes + +* add RelativeTime plugin and locale file update ([c1fbbca](https://github.com/iamkun/dayjs/commit/c1fbbca)), closes [#198](https://github.com/iamkun/dayjs/issues/198) + + +## [1.6.3](https://github.com/iamkun/dayjs/compare/v1.6.2...v1.6.3) (2018-05-21) + + +### Bug Fixes + +* Changing locales locally is immutable from this release ([2cce729](https://github.com/iamkun/dayjs/commit/2cce729)), closes [#182](https://github.com/iamkun/dayjs/issues/182) +* instance locale change should be immutable ([84597c9](https://github.com/iamkun/dayjs/commit/84597c9)) +* Add more locales +* english ordinal fix + + +## [1.6.2](https://github.com/iamkun/dayjs/compare/v1.6.1...v1.6.2) (2018-05-18) + + +### Bug Fixes + +* change-log update && test new npm release ([aa49cba](https://github.com/iamkun/dayjs/commit/aa49cba)), closes [#163](https://github.com/iamkun/dayjs/issues/163) + + +## [1.6.1](https://github.com/iamkun/dayjs/compare/v1.6.0...v1.6.1) (2018-05-18) + + +### Bug Fixes + +* Add German, Brazilian Portuguese locales +* add() & parse() bug fix & add locale de, pt-br ([bf1331e](https://github.com/iamkun/dayjs/commit/bf1331e)) + + +# [1.6.0](https://github.com/iamkun/dayjs/compare/v1.5.24...v1.6.0) (2018-05-15) + + +### Features + +* Locale && Plugin ([2342c55](https://github.com/iamkun/dayjs/commit/2342c55)), closes [#141](https://github.com/iamkun/dayjs/issues/141) diff --git a/src/WeLink/node_modules/dayjs/LICENSE b/src/WeLink/node_modules/dayjs/LICENSE new file mode 100644 index 0000000..caf9315 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018-present, iamkun + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/WeLink/node_modules/dayjs/README.md b/src/WeLink/node_modules/dayjs/README.md new file mode 100644 index 0000000..3e514dc --- /dev/null +++ b/src/WeLink/node_modules/dayjs/README.md @@ -0,0 +1,149 @@ +English | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) | [Türkçe](./docs/tr/README-tr.md) | [සිංහල](./docs/si/README-si.md) | [עברית](./docs/he/README-he.md) + +

Day.js

+

Fast 2kB alternative to Moment.js with the same modern API

+

+ Gzip Size + NPM Version + Build Status + Codecov + License +
+ + Sauce Test Status + +

+ +> Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js. + +```js +dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss'); +``` + +* 🕒 Familiar Moment.js API & patterns +* 💪 Immutable +* 🔥 Chainable +* 🌐 I18n support +* 📦 2kb mini library +* 👫 All browsers supported + +--- + +## Getting Started + +### Documentation + +You can find more details, API, and other docs on [day.js.org](https://day.js.org/) website. + +### Installation + +```console +npm install dayjs --save +``` + +📚[Installation Guide](https://day.js.org/docs/en/installation/installation) + +### API + +It's easy to use Day.js APIs to parse, validate, manipulate, and display dates and times. + +```javascript +dayjs('2018-08-08') // parse + +dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display + +dayjs().set('month', 3).month() // get & set + +dayjs().add(1, 'year') // manipulate + +dayjs().isBefore(dayjs()) // query +``` + +📚[API Reference](https://day.js.org/docs/en/parse/parse) + +### I18n + +Day.js has great support for internationalization. + +But none of them will be included in your build unless you use it. + +```javascript +import 'dayjs/locale/es' // load on demand + +dayjs.locale('es') // use Spanish locale globally + +dayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance +``` + +📚[Internationalization](https://day.js.org/docs/en/i18n/i18n) + +### Plugin + +A plugin is an independent module that can be added to Day.js to extend functionality or add new features. + +```javascript +import advancedFormat from 'dayjs/plugin/advancedFormat' // load on demand + +dayjs.extend(advancedFormat) // use plugin + +dayjs().format('Q Do k kk X x') // more available formats +``` + +📚[Plugin List](https://day.js.org/docs/en/plugin/plugin) + +## Sponsors + +Support this project by becoming a sponsor. Your logo will show up here with a link to your website. + +[[Become a sponsor via Github](https://github.com/sponsors/iamkun/)] [[Become a sponsor via OpenCollective](https://opencollective.com/dayjs#sponsor)] + + + + +         + + + +         + + + +         + + + +         + +         + +         + +         + + +## Contributors + +This project exists thanks to all the people who contribute. + +Please give us a 💖 star 💖 to support us. Thank you. + +And thank you to all our backers! 🙏 + + + + + +
+ + +## License + +Day.js is licensed under a [MIT License](./LICENSE). diff --git a/src/WeLink/node_modules/dayjs/dayjs.min.js b/src/WeLink/node_modules/dayjs/dayjs.min.js new file mode 100644 index 0000000..61916d8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/dayjs.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t) + +export = dayjs; + +declare function dayjs (date?: dayjs.ConfigType): dayjs.Dayjs + +declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, strict?: boolean): dayjs.Dayjs + +declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, locale?: string, strict?: boolean): dayjs.Dayjs + +declare namespace dayjs { + interface ConfigTypeMap { + default: string | number | Date | Dayjs | null | undefined + } + + export type ConfigType = ConfigTypeMap[keyof ConfigTypeMap] + + export interface FormatObject { locale?: string, format?: string, utc?: boolean } + + export type OptionType = FormatObject | string | string[] + + export type UnitTypeShort = 'd' | 'D' | 'M' | 'y' | 'h' | 'm' | 's' | 'ms' + + export type UnitTypeLong = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | 'date' + + export type UnitTypeLongPlural = 'milliseconds' | 'seconds' | 'minutes' | 'hours' | 'days' | 'months' | 'years' | 'dates' + + export type UnitType = UnitTypeLong | UnitTypeLongPlural | UnitTypeShort; + + export type OpUnitType = UnitType | "week" | "weeks" | 'w'; + export type QUnitType = UnitType | "quarter" | "quarters" | 'Q'; + export type ManipulateType = Exclude; + class Dayjs { + constructor (config?: ConfigType) + /** + * All Day.js objects are immutable. Still, `dayjs#clone` can create a clone of the current object if you need one. + * ``` + * dayjs().clone()// => Dayjs + * dayjs(dayjs('2019-01-25')) // passing a Dayjs object to a constructor will also clone it + * ``` + * Docs: https://day.js.org/docs/en/parse/dayjs-clone + */ + clone(): Dayjs + /** + * This returns a `boolean` indicating whether the Day.js object contains a valid date or not. + * ``` + * dayjs().isValid()// => boolean + * ``` + * Docs: https://day.js.org/docs/en/parse/is-valid + */ + isValid(): boolean + /** + * Get the year. + * ``` + * dayjs().year()// => 2020 + * ``` + * Docs: https://day.js.org/docs/en/get-set/year + */ + year(): number + /** + * Set the year. + * ``` + * dayjs().year(2000)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/year + */ + year(value: number): Dayjs + /** + * Get the month. + * + * Months are zero indexed, so January is month 0. + * ``` + * dayjs().month()// => 0-11 + * ``` + * Docs: https://day.js.org/docs/en/get-set/month + */ + month(): number + /** + * Set the month. + * + * Months are zero indexed, so January is month 0. + * + * Accepts numbers from 0 to 11. If the range is exceeded, it will bubble up to the next year. + * ``` + * dayjs().month(0)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/month + */ + month(value: number): Dayjs + /** + * Get the date of the month. + * ``` + * dayjs().date()// => 1-31 + * ``` + * Docs: https://day.js.org/docs/en/get-set/date + */ + date(): number + /** + * Set the date of the month. + * + * Accepts numbers from 1 to 31. If the range is exceeded, it will bubble up to the next months. + * ``` + * dayjs().date(1)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/date + */ + date(value: number): Dayjs + /** + * Get the day of the week. + * + * Returns numbers from 0 (Sunday) to 6 (Saturday). + * ``` + * dayjs().day()// 0-6 + * ``` + * Docs: https://day.js.org/docs/en/get-set/day + */ + day(): number + /** + * Set the day of the week. + * + * Accepts numbers from 0 (Sunday) to 6 (Saturday). If the range is exceeded, it will bubble up to next weeks. + * ``` + * dayjs().day(0)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/day + */ + day(value: number): Dayjs + /** + * Get the hour. + * ``` + * dayjs().hour()// => 0-23 + * ``` + * Docs: https://day.js.org/docs/en/get-set/hour + */ + hour(): number + /** + * Set the hour. + * + * Accepts numbers from 0 to 23. If the range is exceeded, it will bubble up to the next day. + * ``` + * dayjs().hour(12)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/hour + */ + hour(value: number): Dayjs + /** + * Get the minutes. + * ``` + * dayjs().minute()// => 0-59 + * ``` + * Docs: https://day.js.org/docs/en/get-set/minute + */ + minute(): number + /** + * Set the minutes. + * + * Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next hour. + * ``` + * dayjs().minute(59)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/minute + */ + minute(value: number): Dayjs + /** + * Get the seconds. + * ``` + * dayjs().second()// => 0-59 + * ``` + * Docs: https://day.js.org/docs/en/get-set/second + */ + second(): number + /** + * Set the seconds. + * + * Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next minutes. + * ``` + * dayjs().second(1)// Dayjs + * ``` + */ + second(value: number): Dayjs + /** + * Get the milliseconds. + * ``` + * dayjs().millisecond()// => 0-999 + * ``` + * Docs: https://day.js.org/docs/en/get-set/millisecond + */ + millisecond(): number + /** + * Set the milliseconds. + * + * Accepts numbers from 0 to 999. If the range is exceeded, it will bubble up to the next seconds. + * ``` + * dayjs().millisecond(1)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/millisecond + */ + millisecond(value: number): Dayjs + /** + * Generic setter, accepting unit as first argument, and value as second, returns a new instance with the applied changes. + * + * In general: + * ``` + * dayjs().set(unit, value) === dayjs()[unit](value) + * ``` + * Units are case insensitive, and support plural and short forms. + * ``` + * dayjs().set('date', 1) + * dayjs().set('month', 3) // April + * dayjs().set('second', 30) + * ``` + * Docs: https://day.js.org/docs/en/get-set/set + */ + set(unit: UnitType, value: number): Dayjs + /** + * String getter, returns the corresponding information getting from Day.js object. + * + * In general: + * ``` + * dayjs().get(unit) === dayjs()[unit]() + * ``` + * Units are case insensitive, and support plural and short forms. + * ``` + * dayjs().get('year') + * dayjs().get('month') // start 0 + * dayjs().get('date') + * ``` + * Docs: https://day.js.org/docs/en/get-set/get + */ + get(unit: UnitType): number + /** + * Returns a cloned Day.js object with a specified amount of time added. + * ``` + * dayjs().add(7, 'day')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/add + */ + add(value: number, unit?: ManipulateType): Dayjs + /** + * Returns a cloned Day.js object with a specified amount of time subtracted. + * ``` + * dayjs().subtract(7, 'year')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/subtract + */ + subtract(value: number, unit?: ManipulateType): Dayjs + /** + * Returns a cloned Day.js object and set it to the start of a unit of time. + * ``` + * dayjs().startOf('year')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/start-of + */ + startOf(unit: OpUnitType): Dayjs + /** + * Returns a cloned Day.js object and set it to the end of a unit of time. + * ``` + * dayjs().endOf('month')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/end-of + */ + endOf(unit: OpUnitType): Dayjs + /** + * Get the formatted date according to the string of tokens passed in. + * + * To escape characters, wrap them in square brackets (e.g. [MM]). + * ``` + * dayjs().format()// => current date in ISO8601, without fraction seconds e.g. '2020-04-02T08:02:17-05:00' + * dayjs('2019-01-25').format('[YYYYescape] YYYY-MM-DDTHH:mm:ssZ[Z]')// 'YYYYescape 2019-01-25T00:00:00-02:00Z' + * dayjs('2019-01-25').format('DD/MM/YYYY') // '25/01/2019' + * ``` + * Docs: https://day.js.org/docs/en/display/format + */ + format(template?: string): string + /** + * This indicates the difference between two date-time in the specified unit. + * + * To get the difference in milliseconds, use `dayjs#diff` + * ``` + * const date1 = dayjs('2019-01-25') + * const date2 = dayjs('2018-06-05') + * date1.diff(date2) // 20214000000 default milliseconds + * date1.diff() // milliseconds to current time + * ``` + * + * To get the difference in another unit of measurement, pass that measurement as the second argument. + * ``` + * const date1 = dayjs('2019-01-25') + * date1.diff('2018-06-05', 'month') // 7 + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/display/difference + */ + diff(date?: ConfigType, unit?: QUnitType | OpUnitType, float?: boolean): number + /** + * This returns the number of **milliseconds** since the Unix Epoch of the Day.js object. + * ``` + * dayjs('2019-01-25').valueOf() // 1548381600000 + * +dayjs(1548381600000) // 1548381600000 + * ``` + * To get a Unix timestamp (the number of seconds since the epoch) from a Day.js object, you should use Unix Timestamp `dayjs#unix()`. + * + * Docs: https://day.js.org/docs/en/display/unix-timestamp-milliseconds + */ + valueOf(): number + /** + * This returns the Unix timestamp (the number of **seconds** since the Unix Epoch) of the Day.js object. + * ``` + * dayjs('2019-01-25').unix() // 1548381600 + * ``` + * This value is floored to the nearest second, and does not include a milliseconds component. + * + * Docs: https://day.js.org/docs/en/display/unix-timestamp + */ + unix(): number + /** + * Get the number of days in the current month. + * ``` + * dayjs('2019-01-25').daysInMonth() // 31 + * ``` + * Docs: https://day.js.org/docs/en/display/days-in-month + */ + daysInMonth(): number + /** + * To get a copy of the native `Date` object parsed from the Day.js object use `dayjs#toDate`. + * ``` + * dayjs('2019-01-25').toDate()// => Date + * ``` + */ + toDate(): Date + /** + * To serialize as an ISO 8601 string. + * ``` + * dayjs('2019-01-25').toJSON() // '2019-01-25T02:00:00.000Z' + * ``` + * Docs: https://day.js.org/docs/en/display/as-json + */ + toJSON(): string + /** + * To format as an ISO 8601 string. + * ``` + * dayjs('2019-01-25').toISOString() // '2019-01-25T02:00:00.000Z' + * ``` + * Docs: https://day.js.org/docs/en/display/as-iso-string + */ + toISOString(): string + /** + * Returns a string representation of the date. + * ``` + * dayjs('2019-01-25').toString() // 'Fri, 25 Jan 2019 02:00:00 GMT' + * ``` + * Docs: https://day.js.org/docs/en/display/as-string + */ + toString(): string + /** + * Get the UTC offset in minutes. + * ``` + * dayjs().utcOffset() + * ``` + * Docs: https://day.js.org/docs/en/manipulate/utc-offset + */ + utcOffset(): number + /** + * This indicates whether the Day.js object is before the other supplied date-time. + * ``` + * dayjs().isBefore(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isBefore('2011-01-01', 'year')// => boolean + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/query/is-before + */ + isBefore(date?: ConfigType, unit?: OpUnitType): boolean + /** + * This indicates whether the Day.js object is the same as the other supplied date-time. + * ``` + * dayjs().isSame(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isSame('2011-01-01', 'year')// => boolean + * ``` + * Docs: https://day.js.org/docs/en/query/is-same + */ + isSame(date?: ConfigType, unit?: OpUnitType): boolean + /** + * This indicates whether the Day.js object is after the other supplied date-time. + * ``` + * dayjs().isAfter(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isAfter('2011-01-01', 'year')// => boolean + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/query/is-after + */ + isAfter(date?: ConfigType, unit?: OpUnitType): boolean + + locale(): string + + locale(preset: string | ILocale, object?: Partial): Dayjs + } + + export type PluginFunc = (option: T, c: typeof Dayjs, d: typeof dayjs) => void + + export function extend(plugin: PluginFunc, option?: T): Dayjs + + export function locale(preset?: string | ILocale, object?: Partial, isLocal?: boolean): string + + export function isDayjs(d: any): d is Dayjs + + export function unix(t: number): Dayjs + + const Ls : { [key: string] : ILocale } +} diff --git a/src/WeLink/node_modules/dayjs/esm/index.js b/src/WeLink/node_modules/dayjs/esm/index.js new file mode 100644 index 0000000..a82986b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/index.js @@ -0,0 +1,541 @@ +import * as C from './constant'; +import en from './locale/en'; +import U from './utils'; +var L = 'en'; // global locale + +var Ls = {}; // global loaded locale + +Ls[L] = en; +var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define + +var isDayjs = function isDayjs(d) { + return d instanceof Dayjs || !!(d && d[IS_DAYJS]); +}; + +var parseLocale = function parseLocale(preset, object, isLocal) { + var l; + if (!preset) return L; + + if (typeof preset === 'string') { + var presetLower = preset.toLowerCase(); + + if (Ls[presetLower]) { + l = presetLower; + } + + if (object) { + Ls[presetLower] = object; + l = presetLower; + } + + var presetSplit = preset.split('-'); + + if (!l && presetSplit.length > 1) { + return parseLocale(presetSplit[0]); + } + } else { + var name = preset.name; + Ls[name] = preset; + l = name; + } + + if (!isLocal && l) L = l; + return l || !isLocal && L; +}; + +var dayjs = function dayjs(date, c) { + if (isDayjs(date)) { + return date.clone(); + } // eslint-disable-next-line no-nested-ternary + + + var cfg = typeof c === 'object' ? c : {}; + cfg.date = date; + cfg.args = arguments; // eslint-disable-line prefer-rest-params + + return new Dayjs(cfg); // eslint-disable-line no-use-before-define +}; + +var wrapper = function wrapper(date, instance) { + return dayjs(date, { + locale: instance.$L, + utc: instance.$u, + x: instance.$x, + $offset: instance.$offset // todo: refactor; do not use this.$offset in you code + + }); +}; + +var Utils = U; // for plugin use + +Utils.l = parseLocale; +Utils.i = isDayjs; +Utils.w = wrapper; + +var parseDate = function parseDate(cfg) { + var date = cfg.date, + utc = cfg.utc; + if (date === null) return new Date(NaN); // null is invalid + + if (Utils.u(date)) return new Date(); // today + + if (date instanceof Date) return new Date(date); + + if (typeof date === 'string' && !/Z$/i.test(date)) { + var d = date.match(C.REGEX_PARSE); + + if (d) { + var m = d[2] - 1 || 0; + var ms = (d[7] || '0').substring(0, 3); + + if (utc) { + return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms)); + } + + return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms); + } + } + + return new Date(date); // everything else +}; + +var Dayjs = /*#__PURE__*/function () { + function Dayjs(cfg) { + this.$L = parseLocale(cfg.locale, null, true); + this.parse(cfg); // for plugin + + this.$x = this.$x || cfg.x || {}; + this[IS_DAYJS] = true; + } + + var _proto = Dayjs.prototype; + + _proto.parse = function parse(cfg) { + this.$d = parseDate(cfg); + this.init(); + }; + + _proto.init = function init() { + var $d = this.$d; + this.$y = $d.getFullYear(); + this.$M = $d.getMonth(); + this.$D = $d.getDate(); + this.$W = $d.getDay(); + this.$H = $d.getHours(); + this.$m = $d.getMinutes(); + this.$s = $d.getSeconds(); + this.$ms = $d.getMilliseconds(); + } // eslint-disable-next-line class-methods-use-this + ; + + _proto.$utils = function $utils() { + return Utils; + }; + + _proto.isValid = function isValid() { + return !(this.$d.toString() === C.INVALID_DATE_STRING); + }; + + _proto.isSame = function isSame(that, units) { + var other = dayjs(that); + return this.startOf(units) <= other && other <= this.endOf(units); + }; + + _proto.isAfter = function isAfter(that, units) { + return dayjs(that) < this.startOf(units); + }; + + _proto.isBefore = function isBefore(that, units) { + return this.endOf(units) < dayjs(that); + }; + + _proto.$g = function $g(input, get, set) { + if (Utils.u(input)) return this[get]; + return this.set(set, input); + }; + + _proto.unix = function unix() { + return Math.floor(this.valueOf() / 1000); + }; + + _proto.valueOf = function valueOf() { + // timezone(hour) * 60 * 60 * 1000 => ms + return this.$d.getTime(); + }; + + _proto.startOf = function startOf(units, _startOf) { + var _this = this; + + // startOf -> endOf + var isStartOf = !Utils.u(_startOf) ? _startOf : true; + var unit = Utils.p(units); + + var instanceFactory = function instanceFactory(d, m) { + var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this); + return isStartOf ? ins : ins.endOf(C.D); + }; + + var instanceFactorySet = function instanceFactorySet(method, slice) { + var argumentStart = [0, 0, 0, 0]; + var argumentEnd = [23, 59, 59, 999]; + return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread + _this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this); + }; + + var $W = this.$W, + $M = this.$M, + $D = this.$D; + var utcPad = "set" + (this.$u ? 'UTC' : ''); + + switch (unit) { + case C.Y: + return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11); + + case C.M: + return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1); + + case C.W: + { + var weekStart = this.$locale().weekStart || 0; + var gap = ($W < weekStart ? $W + 7 : $W) - weekStart; + return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M); + } + + case C.D: + case C.DATE: + return instanceFactorySet(utcPad + "Hours", 0); + + case C.H: + return instanceFactorySet(utcPad + "Minutes", 1); + + case C.MIN: + return instanceFactorySet(utcPad + "Seconds", 2); + + case C.S: + return instanceFactorySet(utcPad + "Milliseconds", 3); + + default: + return this.clone(); + } + }; + + _proto.endOf = function endOf(arg) { + return this.startOf(arg, false); + }; + + _proto.$set = function $set(units, _int) { + var _C$D$C$DATE$C$M$C$Y$C; + + // private set + var unit = Utils.p(units); + var utcPad = "set" + (this.$u ? 'UTC' : ''); + var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[C.D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[C.DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[C.M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[C.Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[C.H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[C.MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[C.S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[C.MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit]; + var arg = unit === C.D ? this.$D + (_int - this.$W) : _int; + + if (unit === C.M || unit === C.Y) { + // clone is for badMutable plugin + var date = this.clone().set(C.DATE, 1); + date.$d[name](arg); + date.init(); + this.$d = date.set(C.DATE, Math.min(this.$D, date.daysInMonth())).$d; + } else if (name) this.$d[name](arg); + + this.init(); + return this; + }; + + _proto.set = function set(string, _int2) { + return this.clone().$set(string, _int2); + }; + + _proto.get = function get(unit) { + return this[Utils.p(unit)](); + }; + + _proto.add = function add(number, units) { + var _this2 = this, + _C$MIN$C$H$C$S$unit; + + number = Number(number); // eslint-disable-line no-param-reassign + + var unit = Utils.p(units); + + var instanceFactorySet = function instanceFactorySet(n) { + var d = dayjs(_this2); + return Utils.w(d.date(d.date() + Math.round(n * number)), _this2); + }; + + if (unit === C.M) { + return this.set(C.M, this.$M + number); + } + + if (unit === C.Y) { + return this.set(C.Y, this.$y + number); + } + + if (unit === C.D) { + return instanceFactorySet(1); + } + + if (unit === C.W) { + return instanceFactorySet(7); + } + + var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[C.MIN] = C.MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[C.H] = C.MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[C.S] = C.MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms + + var nextTimeStamp = this.$d.getTime() + number * step; + return Utils.w(nextTimeStamp, this); + }; + + _proto.subtract = function subtract(number, string) { + return this.add(number * -1, string); + }; + + _proto.format = function format(formatStr) { + var _this3 = this; + + var locale = this.$locale(); + if (!this.isValid()) return locale.invalidDate || C.INVALID_DATE_STRING; + var str = formatStr || C.FORMAT_DEFAULT; + var zoneStr = Utils.z(this); + var $H = this.$H, + $m = this.$m, + $M = this.$M; + var weekdays = locale.weekdays, + months = locale.months, + meridiem = locale.meridiem; + + var getShort = function getShort(arr, index, full, length) { + return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length); + }; + + var get$H = function get$H(num) { + return Utils.s($H % 12 || 12, num, '0'); + }; + + var meridiemFunc = meridiem || function (hour, minute, isLowercase) { + var m = hour < 12 ? 'AM' : 'PM'; + return isLowercase ? m.toLowerCase() : m; + }; + + var matches = function matches(match) { + switch (match) { + case 'YY': + return String(_this3.$y).slice(-2); + + case 'YYYY': + return Utils.s(_this3.$y, 4, '0'); + + case 'M': + return $M + 1; + + case 'MM': + return Utils.s($M + 1, 2, '0'); + + case 'MMM': + return getShort(locale.monthsShort, $M, months, 3); + + case 'MMMM': + return getShort(months, $M); + + case 'D': + return _this3.$D; + + case 'DD': + return Utils.s(_this3.$D, 2, '0'); + + case 'd': + return String(_this3.$W); + + case 'dd': + return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2); + + case 'ddd': + return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3); + + case 'dddd': + return weekdays[_this3.$W]; + + case 'H': + return String($H); + + case 'HH': + return Utils.s($H, 2, '0'); + + case 'h': + return get$H(1); + + case 'hh': + return get$H(2); + + case 'a': + return meridiemFunc($H, $m, true); + + case 'A': + return meridiemFunc($H, $m, false); + + case 'm': + return String($m); + + case 'mm': + return Utils.s($m, 2, '0'); + + case 's': + return String(_this3.$s); + + case 'ss': + return Utils.s(_this3.$s, 2, '0'); + + case 'SSS': + return Utils.s(_this3.$ms, 3, '0'); + + case 'Z': + return zoneStr; + // 'ZZ' logic below + + default: + break; + } + + return null; + }; + + return str.replace(C.REGEX_FORMAT, function (match, $1) { + return $1 || matches(match) || zoneStr.replace(':', ''); + }); // 'ZZ' + }; + + _proto.utcOffset = function utcOffset() { + // Because a bug at FF24, we're rounding the timezone offset around 15 minutes + // https://github.com/moment/moment/pull/1871 + return -Math.round(this.$d.getTimezoneOffset() / 15) * 15; + }; + + _proto.diff = function diff(input, units, _float) { + var _this4 = this; + + var unit = Utils.p(units); + var that = dayjs(input); + var zoneDelta = (that.utcOffset() - this.utcOffset()) * C.MILLISECONDS_A_MINUTE; + var diff = this - that; + + var getMonth = function getMonth() { + return Utils.m(_this4, that); + }; + + var result; + + switch (unit) { + case C.Y: + result = getMonth() / 12; + break; + + case C.M: + result = getMonth(); + break; + + case C.Q: + result = getMonth() / 3; + break; + + case C.W: + result = (diff - zoneDelta) / C.MILLISECONDS_A_WEEK; + break; + + case C.D: + result = (diff - zoneDelta) / C.MILLISECONDS_A_DAY; + break; + + case C.H: + result = diff / C.MILLISECONDS_A_HOUR; + break; + + case C.MIN: + result = diff / C.MILLISECONDS_A_MINUTE; + break; + + case C.S: + result = diff / C.MILLISECONDS_A_SECOND; + break; + + default: + result = diff; // milliseconds + + break; + } + + return _float ? result : Utils.a(result); + }; + + _proto.daysInMonth = function daysInMonth() { + return this.endOf(C.M).$D; + }; + + _proto.$locale = function $locale() { + // get locale object + return Ls[this.$L]; + }; + + _proto.locale = function locale(preset, object) { + if (!preset) return this.$L; + var that = this.clone(); + var nextLocaleName = parseLocale(preset, object, true); + if (nextLocaleName) that.$L = nextLocaleName; + return that; + }; + + _proto.clone = function clone() { + return Utils.w(this.$d, this); + }; + + _proto.toDate = function toDate() { + return new Date(this.valueOf()); + }; + + _proto.toJSON = function toJSON() { + return this.isValid() ? this.toISOString() : null; + }; + + _proto.toISOString = function toISOString() { + // ie 8 return + // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000) + // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]') + return this.$d.toISOString(); + }; + + _proto.toString = function toString() { + return this.$d.toUTCString(); + }; + + return Dayjs; +}(); + +var proto = Dayjs.prototype; +dayjs.prototype = proto; +[['$ms', C.MS], ['$s', C.S], ['$m', C.MIN], ['$H', C.H], ['$W', C.D], ['$M', C.M], ['$y', C.Y], ['$D', C.DATE]].forEach(function (g) { + proto[g[1]] = function (input) { + return this.$g(input, g[0], g[1]); + }; +}); + +dayjs.extend = function (plugin, option) { + if (!plugin.$i) { + // install plugin only once + plugin(option, Dayjs, dayjs); + plugin.$i = true; + } + + return dayjs; +}; + +dayjs.locale = parseLocale; +dayjs.isDayjs = isDayjs; + +dayjs.unix = function (timestamp) { + return dayjs(timestamp * 1e3); +}; + +dayjs.en = Ls[L]; +dayjs.Ls = Ls; +dayjs.p = {}; +export default dayjs; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/af.js b/src/WeLink/node_modules/dayjs/esm/locale/af.js new file mode 100644 index 0000000..ce0c285 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/af.js @@ -0,0 +1,39 @@ +// Afrikaans [af] +import dayjs from '../index'; +var locale = { + name: 'af', + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), + weekStart: 1, + weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'oor %s', + past: '%s gelede', + s: "'n paar sekondes", + m: "'n minuut", + mm: '%d minute', + h: "'n uur", + hh: '%d ure', + d: "'n dag", + dd: '%d dae', + M: "'n maand", + MM: '%d maande', + y: "'n jaar", + yy: '%d jaar' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/am.js b/src/WeLink/node_modules/dayjs/esm/locale/am.js new file mode 100644 index 0000000..cf25510 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/am.js @@ -0,0 +1,40 @@ +// Amharic [am] +import dayjs from '../index'; +var locale = { + name: 'am', + weekdays: 'እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ'.split('_'), + weekdaysShort: 'እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ'.split('_'), + weekdaysMin: 'እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ'.split('_'), + months: 'ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር'.split('_'), + monthsShort: 'ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም'.split('_'), + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'በ%s', + past: '%s በፊት', + s: 'ጥቂት ሰከንዶች', + m: 'አንድ ደቂቃ', + mm: '%d ደቂቃዎች', + h: 'አንድ ሰዓት', + hh: '%d ሰዓታት', + d: 'አንድ ቀን', + dd: '%d ቀናት', + M: 'አንድ ወር', + MM: '%d ወራት', + y: 'አንድ ዓመት', + yy: '%d ዓመታት' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM D ፣ YYYY', + LLL: 'MMMM D ፣ YYYY HH:mm', + LLLL: 'dddd ፣ MMMM D ፣ YYYY HH:mm' + }, + ordinal: function ordinal(n) { + return n + "\u129B"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ar-dz.js b/src/WeLink/node_modules/dayjs/esm/locale/ar-dz.js new file mode 100644 index 0000000..3ecc04f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ar-dz.js @@ -0,0 +1,41 @@ +// Arabic (Algeria) [ar-dz] +import dayjs from '../index'; +var locale = { + name: 'ar-dz', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysMin: 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ar-iq.js b/src/WeLink/node_modules/dayjs/esm/locale/ar-iq.js new file mode 100644 index 0000000..dfe31bf --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ar-iq.js @@ -0,0 +1,42 @@ +// Arabic (Iraq) [ar-iq] +import dayjs from '../index'; +var locale = { + name: 'ar-iq', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول'.split('_'), + weekStart: 1, + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ar-kw.js b/src/WeLink/node_modules/dayjs/esm/locale/ar-kw.js new file mode 100644 index 0000000..73bf90a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ar-kw.js @@ -0,0 +1,41 @@ +// Arabic (Kuwait) [ar-kw] +import dayjs from '../index'; +var locale = { + name: 'ar-kw', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ar-ly.js b/src/WeLink/node_modules/dayjs/esm/locale/ar-ly.js new file mode 100644 index 0000000..5caa869 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ar-ly.js @@ -0,0 +1,27 @@ +// Arabic (Lybia) [ar-ly] +import dayjs from '../index'; +var locale = { + name: 'ar-ly', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekStart: 6, + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/‏M/‏YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ar-ma.js b/src/WeLink/node_modules/dayjs/esm/locale/ar-ma.js new file mode 100644 index 0000000..ed6dfef --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ar-ma.js @@ -0,0 +1,42 @@ +// Arabic (Morocco) [ar-ma] +import dayjs from '../index'; +var locale = { + name: 'ar-ma', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekStart: 6, + weekdaysShort: 'احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ar-sa.js b/src/WeLink/node_modules/dayjs/esm/locale/ar-sa.js new file mode 100644 index 0000000..8eb9687 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ar-sa.js @@ -0,0 +1,41 @@ +// Arabic (Saudi Arabia) [ar-sa] +import dayjs from '../index'; +var locale = { + name: 'ar-sa', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ar-tn.js b/src/WeLink/node_modules/dayjs/esm/locale/ar-tn.js new file mode 100644 index 0000000..3c1f2b0 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ar-tn.js @@ -0,0 +1,42 @@ +// Arabic (Tunisia) [ar-tn] +import dayjs from '../index'; +var locale = { + name: 'ar-tn', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekStart: 1, + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ar.js b/src/WeLink/node_modules/dayjs/esm/locale/ar.js new file mode 100644 index 0000000..78b99b8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ar.js @@ -0,0 +1,77 @@ +// Arabic [ar] +import dayjs from '../index'; +var months = 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'); +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠' +}; +var numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' +}; +var locale = { + name: 'ar', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + months: months, + monthsShort: months, + weekStart: 6, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: 'ثانية واحدة', + m: 'دقيقة واحدة', + mm: '%d دقائق', + h: 'ساعة واحدة', + hh: '%d ساعات', + d: 'يوم واحد', + dd: '%d أيام', + M: 'شهر واحد', + MM: '%d أشهر', + y: 'عام واحد', + yy: '%d أعوام' + }, + preparse: function preparse(string) { + return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }).replace(/،/g, ','); + }, + postformat: function postformat(string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/‏M/‏YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/az.js b/src/WeLink/node_modules/dayjs/esm/locale/az.js new file mode 100644 index 0000000..3505c8a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/az.js @@ -0,0 +1,39 @@ +// Azerbaijani [az] +import dayjs from '../index'; +var locale = { + name: 'az', + weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'), + weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm' + }, + relativeTime: { + future: '%s sonra', + past: '%s əvvəl', + s: 'bir neçə saniyə', + m: 'bir dəqiqə', + mm: '%d dəqiqə', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir il', + yy: '%d il' + }, + ordinal: function ordinal(n) { + return n; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/be.js b/src/WeLink/node_modules/dayjs/esm/locale/be.js new file mode 100644 index 0000000..5642e39 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/be.js @@ -0,0 +1,24 @@ +// Belarusian [be] +import dayjs from '../index'; +var locale = { + name: 'be', + weekdays: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'), + months: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'), + weekStart: 1, + weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., HH:mm', + LLLL: 'dddd, D MMMM YYYY г., HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/bg.js b/src/WeLink/node_modules/dayjs/esm/locale/bg.js new file mode 100644 index 0000000..e60a2a3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/bg.js @@ -0,0 +1,55 @@ +// Bulgarian [bg] +import dayjs from '../index'; +var locale = { + name: 'bg', + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'), + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'), + monthsShort: 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekStart: 1, + ordinal: function ordinal(n) { + var last2Digits = n % 100; + + if (last2Digits > 10 && last2Digits < 20) { + return n + "-\u0442\u0438"; + } + + var lastDigit = n % 10; + + if (lastDigit === 1) { + return n + "-\u0432\u0438"; + } else if (lastDigit === 2) { + return n + "-\u0440\u0438"; + } else if (lastDigit === 7 || lastDigit === 8) { + return n + "-\u043C\u0438"; + } + + return n + "-\u0442\u0438"; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm' + }, + relativeTime: { + future: 'след %s', + past: 'преди %s', + s: 'няколко секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + M: 'месец', + MM: '%d месеца', + y: 'година', + yy: '%d години' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/bi.js b/src/WeLink/node_modules/dayjs/esm/locale/bi.js new file mode 100644 index 0000000..6230f25 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/bi.js @@ -0,0 +1,39 @@ +// Bislama [bi] +import dayjs from '../index'; +var locale = { + name: 'bi', + weekdays: 'Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade'.split('_'), + months: 'Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba'.split('_'), + weekStart: 1, + weekdaysShort: 'San_Man_Tus_Wen_Tos_Frae_Sar'.split('_'), + monthsShort: 'Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis'.split('_'), + weekdaysMin: 'San_Ma_Tu_We_To_Fr_Sar'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'lo %s', + past: '%s bifo', + s: 'sam seken', + m: 'wan minit', + mm: '%d minit', + h: 'wan haoa', + hh: '%d haoa', + d: 'wan dei', + dd: '%d dei', + M: 'wan manis', + MM: '%d manis', + y: 'wan yia', + yy: '%d yia' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/bm.js b/src/WeLink/node_modules/dayjs/esm/locale/bm.js new file mode 100644 index 0000000..0d61093 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/bm.js @@ -0,0 +1,39 @@ +// Bambara [bm] +import dayjs from '../index'; +var locale = { + name: 'bm', + weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), + months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'), + weekStart: 1, + weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), + weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM [tile] D [san] YYYY', + LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm' + }, + relativeTime: { + future: '%s kɔnɔ', + past: 'a bɛ %s bɔ', + s: 'sanga dama dama', + m: 'miniti kelen', + mm: 'miniti %d', + h: 'lɛrɛ kelen', + hh: 'lɛrɛ %d', + d: 'tile kelen', + dd: 'tile %d', + M: 'kalo kelen', + MM: 'kalo %d', + y: 'san kelen', + yy: 'san %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/bn-bd.js b/src/WeLink/node_modules/dayjs/esm/locale/bn-bd.js new file mode 100644 index 0000000..f13b660 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/bn-bd.js @@ -0,0 +1,81 @@ +// Bengali (Bangladesh) [bn-bd] +import dayjs from '../index'; +var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০' +}; +var numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0' +}; +var locale = { + name: 'bn-bd', + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), + weekStart: 0, + preparse: function preparse(string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function postformat(string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + ordinal: function ordinal(n) { + var s = ['ই', 'লা', 'রা', 'ঠা', 'শে']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + }, + formats: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY খ্রিস্টাব্দ', + LL: 'D MMMM YYYY খ্রিস্টাব্দ', + LLL: 'D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়' + }, + meridiem: function meridiem(hour) { + return ( + /* eslint-disable no-nested-ternary */ + hour < 4 ? 'রাত' : hour < 6 ? 'ভোর' : hour < 12 ? 'সকাল' : hour < 15 ? 'দুপুর' : hour < 18 ? 'বিকাল' : hour < 20 ? 'সন্ধ্যা' : 'রাত' + ); + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/bn.js b/src/WeLink/node_modules/dayjs/esm/locale/bn.js new file mode 100644 index 0000000..25fc170 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/bn.js @@ -0,0 +1,72 @@ +// Bengali [bn] +import dayjs from '../index'; +var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০' +}; +var numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0' +}; +var locale = { + name: 'bn', + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), + preparse: function preparse(string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function postformat(string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়' + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/bo.js b/src/WeLink/node_modules/dayjs/esm/locale/bo.js new file mode 100644 index 0000000..fce3344 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/bo.js @@ -0,0 +1,38 @@ +// Tibetan [bo] +import dayjs from '../index'; +var locale = { + name: 'bo', + weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + weekdaysMin: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), + monthsShort: 'ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm' + }, + relativeTime: { + future: '%s ལ་', + past: '%s སྔོན་ལ་', + s: 'ཏོག་ཙམ་', + m: 'སྐར་མ་གཅིག་', + mm: 'སྐར་མ་ %d', + h: 'ཆུ་ཚོད་གཅིག་', + hh: 'ཆུ་ཚོད་ %d', + d: 'ཉིན་གཅིག་', + dd: 'ཉིན་ %d', + M: 'ཟླ་བ་གཅིག་', + MM: 'ཟླ་བ་ %d', + y: 'ལོ་གཅིག་', + yy: 'ལོ་ %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/br.js b/src/WeLink/node_modules/dayjs/esm/locale/br.js new file mode 100644 index 0000000..d18b4fe --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/br.js @@ -0,0 +1,93 @@ +// Breton [br] +import dayjs from '../index'; + +function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); + } + + return number; +} + +function softMutation(text) { + var mutationTable = { + m: 'v', + b: 'v', + d: 'z' + }; + return mutationTable[text.charAt(0)] + text.substring(1); +} + +function mutation(text, number) { + if (number === 2) { + return softMutation(text); + } + + return text; +} + +function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + mm: 'munutenn', + MM: 'miz', + dd: 'devezh' + }; + return number + " " + mutation(format[key], number); +} + +function specialMutationForYears(number) { + /* istanbul ignore next line */ + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + " bloaz"; + + default: + return number + " vloaz"; + } +} + +var locale = { + name: 'br', + weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'), + months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'), + weekStart: 1, + weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h[e]mm A', + LTS: 'h[e]mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [a viz] MMMM YYYY', + LLL: 'D [a viz] MMMM YYYY h[e]mm A', + LLLL: 'dddd, D [a viz] MMMM YYYY h[e]mm A' + }, + relativeTime: { + future: 'a-benn %s', + past: '%s ʼzo', + s: 'un nebeud segondennoù', + m: 'ur vunutenn', + mm: relativeTimeWithMutation, + h: 'un eur', + hh: '%d eur', + d: 'un devezh', + dd: relativeTimeWithMutation, + M: 'ur miz', + MM: relativeTimeWithMutation, + y: 'ur bloaz', + yy: specialMutationForYears + }, + meridiem: function meridiem(hour) { + return hour < 12 ? 'a.m.' : 'g.m.'; + } // a-raok merenn | goude merenn + +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/bs.js b/src/WeLink/node_modules/dayjs/esm/locale/bs.js new file mode 100644 index 0000000..328a1fe --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/bs.js @@ -0,0 +1,24 @@ +// Bosnian [bs] +import dayjs from '../index'; +var locale = { + name: 'bs', + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), + weekStart: 1, + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ca.js b/src/WeLink/node_modules/dayjs/esm/locale/ca.js new file mode 100644 index 0000000..94fc0b9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ca.js @@ -0,0 +1,44 @@ +// Catalan [ca] +import dayjs from '../index'; +var locale = { + name: 'ca', + weekdays: 'Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte'.split('_'), + weekdaysShort: 'Dg._Dl._Dt._Dc._Dj._Dv._Ds.'.split('_'), + weekdaysMin: 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), + months: 'Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre'.split('_'), + monthsShort: 'Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + LLL: 'D MMMM [de] YYYY [a les] H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY, H:mm', + llll: 'ddd D MMM YYYY, H:mm' + }, + relativeTime: { + future: 'd\'aquí %s', + past: 'fa %s', + s: 'uns segons', + m: 'un minut', + mm: '%d minuts', + h: 'una hora', + hh: '%d hores', + d: 'un dia', + dd: '%d dies', + M: 'un mes', + MM: '%d mesos', + y: 'un any', + yy: '%d anys' + }, + ordinal: function ordinal(n) { + var ord; + if (n === 1 || n === 3) ord = 'r';else if (n === 2) ord = 'n';else if (n === 4) ord = 't';else ord = 'è'; + return "" + n + ord; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/cs.js b/src/WeLink/node_modules/dayjs/esm/locale/cs.js new file mode 100644 index 0000000..165b662 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/cs.js @@ -0,0 +1,120 @@ +// Czech [cs] +import dayjs from '../index'; + +function plural(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; // eslint-disable-line +} +/* eslint-disable */ + + +function translate(number, withoutSuffix, key, isFuture) { + var result = number + " "; + + switch (key) { + case 's': + // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami'; + + case 'm': + // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; + + case 'mm': + // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minuty' : 'minut'); + } + + return result + "minutami"; + + case 'h': + // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + + case 'hh': + // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodin'); + } + + return result + "hodinami"; + + case 'd': + // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'den' : 'dnem'; + + case 'dd': + // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dny' : 'dní'); + } + + return result + "dny"; + + case 'M': + // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'měsíc' : 'měsícem'; + + case 'MM': + // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'měsíce' : 'měsíců'); + } + + return result + "m\u011Bs\xEDci"; + + case 'y': + // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokem'; + + case 'yy': + // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'let'); + } + + return result + "lety"; + } +} +/* eslint-enable */ + + +var locale = { + name: 'cs', + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), + months: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), + monthsShort: 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), + weekStart: 1, + yearStart: 4, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY' + }, + relativeTime: { + future: 'za %s', + past: 'před %s', + s: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/cv.js b/src/WeLink/node_modules/dayjs/esm/locale/cv.js new file mode 100644 index 0000000..7dc41f7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/cv.js @@ -0,0 +1,24 @@ +// Chuvash [cv] +import dayjs from '../index'; +var locale = { + name: 'cv', + weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'), + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'), + weekStart: 1, + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/cy.js b/src/WeLink/node_modules/dayjs/esm/locale/cy.js new file mode 100644 index 0000000..63e6c33 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/cy.js @@ -0,0 +1,39 @@ +// Welsh [cy] +import dayjs from '../index'; +var locale = { + name: 'cy', + weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'), + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), + weekStart: 1, + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/da.js b/src/WeLink/node_modules/dayjs/esm/locale/da.js new file mode 100644 index 0000000..38fd134 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/da.js @@ -0,0 +1,39 @@ +// Danish [da] +import dayjs from '../index'; +var locale = { + name: 'da', + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'søn._man._tirs._ons._tors._fre._lør.'.split('_'), + weekdaysMin: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.'.split('_'), + weekStart: 1, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm' + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'få sekunder', + m: 'et minut', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dage', + M: 'en måned', + MM: '%d måneder', + y: 'et år', + yy: '%d år' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/de-at.js b/src/WeLink/node_modules/dayjs/esm/locale/de-at.js new file mode 100644 index 0000000..e109d97 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/de-at.js @@ -0,0 +1,63 @@ +// German (Austria) [de-at] +import dayjs from '../index'; +var texts = { + s: 'ein paar Sekunden', + m: ['eine Minute', 'einer Minute'], + mm: '%d Minuten', + h: ['eine Stunde', 'einer Stunde'], + hh: '%d Stunden', + d: ['ein Tag', 'einem Tag'], + dd: ['%d Tage', '%d Tagen'], + M: ['ein Monat', 'einem Monat'], + MM: ['%d Monate', '%d Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: ['%d Jahre', '%d Jahren'] +}; + +function relativeTimeFormatter(number, withoutSuffix, key) { + var l = texts[key]; + + if (Array.isArray(l)) { + l = l[withoutSuffix ? 0 : 1]; + } + + return l.replace('%d', number); +} + +var locale = { + name: 'de-at', + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + formats: { + LTS: 'HH:mm:ss', + LT: 'HH:mm', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/de-ch.js b/src/WeLink/node_modules/dayjs/esm/locale/de-ch.js new file mode 100644 index 0000000..1ffbbf7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/de-ch.js @@ -0,0 +1,63 @@ +// German (Switzerland) [de-ch] +import dayjs from '../index'; +var texts = { + s: 'ein paar Sekunden', + m: ['eine Minute', 'einer Minute'], + mm: '%d Minuten', + h: ['eine Stunde', 'einer Stunde'], + hh: '%d Stunden', + d: ['ein Tag', 'einem Tag'], + dd: ['%d Tage', '%d Tagen'], + M: ['ein Monat', 'einem Monat'], + MM: ['%d Monate', '%d Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: ['%d Jahre', '%d Jahren'] +}; + +function relativeTimeFormatter(number, withoutSuffix, key) { + var l = texts[key]; + + if (Array.isArray(l)) { + l = l[withoutSuffix ? 0 : 1]; + } + + return l.replace('%d', number); +} + +var locale = { + name: 'de-ch', + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/de.js b/src/WeLink/node_modules/dayjs/esm/locale/de.js new file mode 100644 index 0000000..8ccd483 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/de.js @@ -0,0 +1,64 @@ +// German [de] +import dayjs from '../index'; +var texts = { + s: 'ein paar Sekunden', + m: ['eine Minute', 'einer Minute'], + mm: '%d Minuten', + h: ['eine Stunde', 'einer Stunde'], + hh: '%d Stunden', + d: ['ein Tag', 'einem Tag'], + dd: ['%d Tage', '%d Tagen'], + M: ['ein Monat', 'einem Monat'], + MM: ['%d Monate', '%d Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: ['%d Jahre', '%d Jahren'] +}; + +function relativeTimeFormatter(number, withoutSuffix, key) { + var l = texts[key]; + + if (Array.isArray(l)) { + l = l[withoutSuffix ? 0 : 1]; + } + + return l.replace('%d', number); +} + +var locale = { + name: 'de', + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + yearStart: 4, + formats: { + LTS: 'HH:mm:ss', + LT: 'HH:mm', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/dv.js b/src/WeLink/node_modules/dayjs/esm/locale/dv.js new file mode 100644 index 0000000..8943fdd --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/dv.js @@ -0,0 +1,39 @@ +// Maldivian [dv] +import dayjs from '../index'; +var locale = { + name: 'dv', + weekdays: 'އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު'.split('_'), + months: 'ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު'.split('_'), + weekStart: 7, + weekdaysShort: 'އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު'.split('_'), + monthsShort: 'ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު'.split('_'), + weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/M/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'ތެރޭގައި %s', + past: 'ކުރިން %s', + s: 'ސިކުންތުކޮޅެއް', + m: 'މިނިޓެއް', + mm: 'މިނިޓު %d', + h: 'ގަޑިއިރެއް', + hh: 'ގަޑިއިރު %d', + d: 'ދުވަހެއް', + dd: 'ދުވަސް %d', + M: 'މަހެއް', + MM: 'މަސް %d', + y: 'އަހަރެއް', + yy: 'އަހަރު %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/el.js b/src/WeLink/node_modules/dayjs/esm/locale/el.js new file mode 100644 index 0000000..2aa9917 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/el.js @@ -0,0 +1,39 @@ +// Greek [el] +import dayjs from '../index'; +var locale = { + name: 'el', + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + months: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'), + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + weekStart: 1, + relativeTime: { + future: 'σε %s', + past: 'πριν %s', + s: 'μερικά δευτερόλεπτα', + m: 'ένα λεπτό', + mm: '%d λεπτά', + h: 'μία ώρα', + hh: '%d ώρες', + d: 'μία μέρα', + dd: '%d μέρες', + M: 'ένα μήνα', + MM: '%d μήνες', + y: 'ένα χρόνο', + yy: '%d χρόνια' + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-au.js b/src/WeLink/node_modules/dayjs/esm/locale/en-au.js new file mode 100644 index 0000000..f9dde03 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-au.js @@ -0,0 +1,39 @@ +// English (Australia) [en-au] +import dayjs from '../index'; +var locale = { + name: 'en-au', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekStart: 1, + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-ca.js b/src/WeLink/node_modules/dayjs/esm/locale/en-ca.js new file mode 100644 index 0000000..8e416c9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-ca.js @@ -0,0 +1,38 @@ +// English (Canada) [en-ca] +import dayjs from '../index'; +var locale = { + name: 'en-ca', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'YYYY-MM-DD', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-gb.js b/src/WeLink/node_modules/dayjs/esm/locale/en-gb.js new file mode 100644 index 0000000..f979b44 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-gb.js @@ -0,0 +1,42 @@ +// English (United Kingdom) [en-gb] +import dayjs from '../index'; +var locale = { + name: 'en-gb', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-ie.js b/src/WeLink/node_modules/dayjs/esm/locale/en-ie.js new file mode 100644 index 0000000..8098d2f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-ie.js @@ -0,0 +1,39 @@ +// English (Ireland) [en-ie] +import dayjs from '../index'; +var locale = { + name: 'en-ie', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekStart: 1, + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-il.js b/src/WeLink/node_modules/dayjs/esm/locale/en-il.js new file mode 100644 index 0000000..56c241a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-il.js @@ -0,0 +1,38 @@ +// English (Israel) [en-il] +import dayjs from '../index'; +var locale = { + name: 'en-il', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-in.js b/src/WeLink/node_modules/dayjs/esm/locale/en-in.js new file mode 100644 index 0000000..7ccb206 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-in.js @@ -0,0 +1,42 @@ +// English (India) [en-in] +import dayjs from '../index'; +var locale = { + name: 'en-in', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-nz.js b/src/WeLink/node_modules/dayjs/esm/locale/en-nz.js new file mode 100644 index 0000000..08c562e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-nz.js @@ -0,0 +1,41 @@ +// English (New Zealand) [en-nz] +import dayjs from '../index'; +var locale = { + name: 'en-nz', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekStart: 1, + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-sg.js b/src/WeLink/node_modules/dayjs/esm/locale/en-sg.js new file mode 100644 index 0000000..3c5edce --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-sg.js @@ -0,0 +1,39 @@ +// English (Singapore) [en-sg] +import dayjs from '../index'; +var locale = { + name: 'en-sg', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekStart: 1, + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en-tt.js b/src/WeLink/node_modules/dayjs/esm/locale/en-tt.js new file mode 100644 index 0000000..ef47eeb --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en-tt.js @@ -0,0 +1,42 @@ +// English (Trinidad & Tobago) [en-tt] +import dayjs from '../index'; +var locale = { + name: 'en-tt', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/en.js b/src/WeLink/node_modules/dayjs/esm/locale/en.js new file mode 100644 index 0000000..8ba6107 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/en.js @@ -0,0 +1,12 @@ +// English [en] +// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale +export default { + name: 'en', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + } +}; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/eo.js b/src/WeLink/node_modules/dayjs/esm/locale/eo.js new file mode 100644 index 0000000..e62599a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/eo.js @@ -0,0 +1,39 @@ +// Esperanto [eo] +import dayjs from '../index'; +var locale = { + name: 'eo', + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'), + weekStart: 1, + weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'), + weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D[-a de] MMMM, YYYY', + LLL: 'D[-a de] MMMM, YYYY HH:mm', + LLLL: 'dddd, [la] D[-a de] MMMM, YYYY HH:mm' + }, + relativeTime: { + future: 'post %s', + past: 'antaŭ %s', + s: 'sekundoj', + m: 'minuto', + mm: '%d minutoj', + h: 'horo', + hh: '%d horoj', + d: 'tago', + dd: '%d tagoj', + M: 'monato', + MM: '%d monatoj', + y: 'jaro', + yy: '%d jaroj' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/es-do.js b/src/WeLink/node_modules/dayjs/esm/locale/es-do.js new file mode 100644 index 0000000..09410cf --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/es-do.js @@ -0,0 +1,39 @@ +// Spanish (Dominican Republic) [es-do] +import dayjs from '../index'; +var locale = { + name: 'es-do', + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + weekStart: 1, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/es-mx.js b/src/WeLink/node_modules/dayjs/esm/locale/es-mx.js new file mode 100644 index 0000000..0207f83 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/es-mx.js @@ -0,0 +1,38 @@ +// Spanish (Mexico) [es-mx] +import dayjs from '../index'; +var locale = { + name: 'es-mx', + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/es-pr.js b/src/WeLink/node_modules/dayjs/esm/locale/es-pr.js new file mode 100644 index 0000000..5edc359 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/es-pr.js @@ -0,0 +1,39 @@ +// Spanish (Puerto Rico) [es-PR] +import dayjs from '../index'; +var locale = { + name: 'es-pr', + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + weekStart: 1, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A' + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/es-us.js b/src/WeLink/node_modules/dayjs/esm/locale/es-us.js new file mode 100644 index 0000000..f9b01a0 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/es-us.js @@ -0,0 +1,38 @@ +// Spanish (United States) [es-us] +import dayjs from '../index'; +var locale = { + name: 'es-us', + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/es.js b/src/WeLink/node_modules/dayjs/esm/locale/es.js new file mode 100644 index 0000000..84bdfbe --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/es.js @@ -0,0 +1,39 @@ +// Spanish [es] +import dayjs from '../index'; +var locale = { + name: 'es', + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm' + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/et.js b/src/WeLink/node_modules/dayjs/esm/locale/et.js new file mode 100644 index 0000000..7f7c5ff --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/et.js @@ -0,0 +1,65 @@ +// Estonian [et] +import dayjs from '../index'; + +function relativeTimeWithTense(number, withoutSuffix, key, isFuture) { + var format = { + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + m: ['ühe minuti', 'üks minut'], + mm: ['%d minuti', '%d minutit'], + h: ['ühe tunni', 'tund aega', 'üks tund'], + hh: ['%d tunni', '%d tundi'], + d: ['ühe päeva', 'üks päev'], + M: ['kuu aja', 'kuu aega', 'üks kuu'], + MM: ['%d kuu', '%d kuud'], + y: ['ühe aasta', 'aasta', 'üks aasta'], + yy: ['%d aasta', '%d aastat'] + }; + + if (withoutSuffix) { + return (format[key][2] ? format[key][2] : format[key][1]).replace('%d', number); + } + + return (isFuture ? format[key][0] : format[key][1]).replace('%d', number); +} + +var locale = { + name: 'et', + // Estonian + weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'), + // Note weekdays are not capitalized in Estonian + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), + // There is no short form of weekdays in Estonian except this 1 letter format so it is used for both 'weekdaysShort' and 'weekdaysMin' + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), + // Note month names are not capitalized in Estonian + monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + relativeTime: { + future: '%s pärast', + past: '%s tagasi', + s: relativeTimeWithTense, + m: relativeTimeWithTense, + mm: relativeTimeWithTense, + h: relativeTimeWithTense, + hh: relativeTimeWithTense, + d: relativeTimeWithTense, + dd: '%d päeva', + M: relativeTimeWithTense, + MM: relativeTimeWithTense, + y: relativeTimeWithTense, + yy: relativeTimeWithTense + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/eu.js b/src/WeLink/node_modules/dayjs/esm/locale/eu.js new file mode 100644 index 0000000..5cb73d0 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/eu.js @@ -0,0 +1,43 @@ +// Basque [eu] +import dayjs from '../index'; +var locale = { + name: 'eu', + weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'), + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), + weekStart: 1, + weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), + monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), + weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY[ko] MMMM[ren] D[a]', + LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l: 'YYYY-M-D', + ll: 'YYYY[ko] MMM D[a]', + lll: 'YYYY[ko] MMM D[a] HH:mm', + llll: 'ddd, YYYY[ko] MMM D[a] HH:mm' + }, + relativeTime: { + future: '%s barru', + past: 'duela %s', + s: 'segundo batzuk', + m: 'minutu bat', + mm: '%d minutu', + h: 'ordu bat', + hh: '%d ordu', + d: 'egun bat', + dd: '%d egun', + M: 'hilabete bat', + MM: '%d hilabete', + y: 'urte bat', + yy: '%d urte' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/fa.js b/src/WeLink/node_modules/dayjs/esm/locale/fa.js new file mode 100644 index 0000000..089459e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/fa.js @@ -0,0 +1,39 @@ +// Persian [fa] +import dayjs from '../index'; +var locale = { + name: 'fa', + weekdays: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split('_'), + weekdaysShort: "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split('_'), + weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekStart: 6, + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), + monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'در %s', + past: '%s پیش', + s: 'چند ثانیه', + m: 'یک دقیقه', + mm: '%d دقیقه', + h: 'یک ساعت', + hh: '%d ساعت', + d: 'یک روز', + dd: '%d روز', + M: 'یک ماه', + MM: '%d ماه', + y: 'یک سال', + yy: '%d سال' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/fi.js b/src/WeLink/node_modules/dayjs/esm/locale/fi.js new file mode 100644 index 0000000..1ded894 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/fi.js @@ -0,0 +1,88 @@ +// Finnish [fi] +import dayjs from '../index'; + +function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { + var past = { + s: 'muutama sekunti', + m: 'minuutti', + mm: '%d minuuttia', + h: 'tunti', + hh: '%d tuntia', + d: 'päivä', + dd: '%d päivää', + M: 'kuukausi', + MM: '%d kuukautta', + y: 'vuosi', + yy: '%d vuotta', + numbers: 'nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän'.split('_') + }; + var future = { + s: 'muutaman sekunnin', + m: 'minuutin', + mm: '%d minuutin', + h: 'tunnin', + hh: '%d tunnin', + d: 'päivän', + dd: '%d päivän', + M: 'kuukauden', + MM: '%d kuukauden', + y: 'vuoden', + yy: '%d vuoden', + numbers: 'nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän'.split('_') + }; + var words = isFuture && !withoutSuffix ? future : past; + var result = words[key]; + + if (number < 10) { + return result.replace('%d', words.numbers[number]); + } + + return result.replace('%d', number); +} + +var locale = { + name: 'fi', + // Finnish + weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'), + // Note weekdays are not capitalized in Finnish + weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), + // There is no short form of weekdays in Finnish except this 2 letter format so it is used for both 'weekdaysShort' and 'weekdaysMin' + weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), + months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'), + // Note month names are not capitalized in Finnish + monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + yearStart: 4, + relativeTime: { + future: '%s päästä', + past: '%s sitten', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM[ta] YYYY', + LLL: 'D. MMMM[ta] YYYY, [klo] HH.mm', + LLLL: 'dddd, D. MMMM[ta] YYYY, [klo] HH.mm', + l: 'D.M.YYYY', + ll: 'D. MMM YYYY', + lll: 'D. MMM YYYY, [klo] HH.mm', + llll: 'ddd, D. MMM YYYY, [klo] HH.mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/fo.js b/src/WeLink/node_modules/dayjs/esm/locale/fo.js new file mode 100644 index 0000000..07c3761 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/fo.js @@ -0,0 +1,39 @@ +// Faroese [fo] +import dayjs from '../index'; +var locale = { + name: 'fo', + weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'), + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + weekStart: 1, + weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D. MMMM, YYYY HH:mm' + }, + relativeTime: { + future: 'um %s', + past: '%s síðani', + s: 'fá sekund', + m: 'ein minuttur', + mm: '%d minuttir', + h: 'ein tími', + hh: '%d tímar', + d: 'ein dagur', + dd: '%d dagar', + M: 'ein mánaður', + MM: '%d mánaðir', + y: 'eitt ár', + yy: '%d ár' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/fr-ca.js b/src/WeLink/node_modules/dayjs/esm/locale/fr-ca.js new file mode 100644 index 0000000..688d695 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/fr-ca.js @@ -0,0 +1,38 @@ +// French (Canada) [fr-ca] +import dayjs from '../index'; +var locale = { + name: 'fr-ca', + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/fr-ch.js b/src/WeLink/node_modules/dayjs/esm/locale/fr-ch.js new file mode 100644 index 0000000..593dba8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/fr-ch.js @@ -0,0 +1,39 @@ +// French (Switzerland) [fr-ch] +import dayjs from '../index'; +var locale = { + name: 'fr-ch', + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + weekStart: 1, + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/fr.js b/src/WeLink/node_modules/dayjs/esm/locale/fr.js new file mode 100644 index 0000000..b31c11d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/fr.js @@ -0,0 +1,41 @@ +// French [fr] +import dayjs from '../index'; +var locale = { + name: 'fr', + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans' + }, + ordinal: function ordinal(n) { + var o = n === 1 ? 'er' : ''; + return "" + n + o; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/fy.js b/src/WeLink/node_modules/dayjs/esm/locale/fy.js new file mode 100644 index 0000000..4b9f9de --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/fy.js @@ -0,0 +1,39 @@ +// Frisian [fy] +import dayjs from '../index'; +var locale = { + name: 'fy', + weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), + months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), + monthsShort: 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + weekStart: 1, + weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'oer %s', + past: '%s lyn', + s: 'in pear sekonden', + m: 'ien minút', + mm: '%d minuten', + h: 'ien oere', + hh: '%d oeren', + d: 'ien dei', + dd: '%d dagen', + M: 'ien moanne', + MM: '%d moannen', + y: 'ien jier', + yy: '%d jierren' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ga.js b/src/WeLink/node_modules/dayjs/esm/locale/ga.js new file mode 100644 index 0000000..8cdfa9f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ga.js @@ -0,0 +1,39 @@ +// Irish or Irish Gaelic [ga] +import dayjs from '../index'; +var locale = { + name: 'ga', + weekdays: 'Dé Domhnaigh_Dé Luain_Dé Máirt_Dé Céadaoin_Déardaoin_Dé hAoine_Dé Satharn'.split('_'), + months: 'Eanáir_Feabhra_Márta_Aibreán_Bealtaine_Méitheamh_Iúil_Lúnasa_Meán Fómhair_Deaireadh Fómhair_Samhain_Nollaig'.split('_'), + weekStart: 1, + weekdaysShort: 'Dom_Lua_Mái_Céa_Déa_hAo_Sat'.split('_'), + monthsShort: 'Eaná_Feab_Márt_Aibr_Beal_Méit_Iúil_Lúna_Meán_Deai_Samh_Noll'.split('_'), + weekdaysMin: 'Do_Lu_Má_Ce_Dé_hA_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'i %s', + past: '%s ó shin', + s: 'cúpla soicind', + m: 'nóiméad', + mm: '%d nóiméad', + h: 'uair an chloig', + hh: '%d uair an chloig', + d: 'lá', + dd: '%d lá', + M: 'mí', + MM: '%d mí', + y: 'bliain', + yy: '%d bliain' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/gd.js b/src/WeLink/node_modules/dayjs/esm/locale/gd.js new file mode 100644 index 0000000..fcf62cd --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/gd.js @@ -0,0 +1,39 @@ +// Scottish Gaelic [gd] +import dayjs from '../index'; +var locale = { + name: 'gd', + weekdays: 'Didòmhnaich_Diluain_Dimàirt_Diciadain_Diardaoin_Dihaoine_Disathairne'.split('_'), + months: 'Am Faoilleach_An Gearran_Am Màrt_An Giblean_An Cèitean_An t-Ògmhios_An t-Iuchar_An Lùnastal_An t-Sultain_An Dàmhair_An t-Samhain_An Dùbhlachd'.split('_'), + weekStart: 1, + weekdaysShort: 'Did_Dil_Dim_Dic_Dia_Dih_Dis'.split('_'), + monthsShort: 'Faoi_Gear_Màrt_Gibl_Cèit_Ògmh_Iuch_Lùn_Sult_Dàmh_Samh_Dùbh'.split('_'), + weekdaysMin: 'Dò_Lu_Mà_Ci_Ar_Ha_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'ann an %s', + past: 'bho chionn %s', + s: 'beagan diogan', + m: 'mionaid', + mm: '%d mionaidean', + h: 'uair', + hh: '%d uairean', + d: 'latha', + dd: '%d latha', + M: 'mìos', + MM: '%d mìosan', + y: 'bliadhna', + yy: '%d bliadhna' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/gl.js b/src/WeLink/node_modules/dayjs/esm/locale/gl.js new file mode 100644 index 0000000..23d687f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/gl.js @@ -0,0 +1,39 @@ +// Galician [gl] +import dayjs from '../index'; +var locale = { + name: 'gl', + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'), + weekStart: 1, + weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'), + weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm' + }, + relativeTime: { + future: 'en %s', + past: 'fai %s', + s: 'uns segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'unha hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un ano', + yy: '%d anos' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/gom-latn.js b/src/WeLink/node_modules/dayjs/esm/locale/gom-latn.js new file mode 100644 index 0000000..d621f5b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/gom-latn.js @@ -0,0 +1,25 @@ +// Konkani Latin script [gom-latn] +import dayjs from '../index'; +var locale = { + name: 'gom-latn', + weekdays: "Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split('_'), + months: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'), + weekStart: 1, + weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), + monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm [vazta]', + LTS: 'A h:mm:ss [vazta]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [vazta]', + LLLL: 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]', + llll: 'ddd, D MMM YYYY, A h:mm [vazta]' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/gu.js b/src/WeLink/node_modules/dayjs/esm/locale/gu.js new file mode 100644 index 0000000..e05f44b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/gu.js @@ -0,0 +1,38 @@ +// Gujarati [gu] +import dayjs from '../index'; +var locale = { + name: 'gu', + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'), + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'), + weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), + monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'), + weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm વાગ્યે', + LTS: 'A h:mm:ss વાગ્યે', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm વાગ્યે', + LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે' + }, + relativeTime: { + future: '%s મા', + past: '%s પેહલા', + s: 'અમુક પળો', + m: 'એક મિનિટ', + mm: '%d મિનિટ', + h: 'એક કલાક', + hh: '%d કલાક', + d: 'એક દિવસ', + dd: '%d દિવસ', + M: 'એક મહિનો', + MM: '%d મહિનો', + y: 'એક વર્ષ', + yy: '%d વર્ષ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/he.js b/src/WeLink/node_modules/dayjs/esm/locale/he.js new file mode 100644 index 0000000..a8868ff --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/he.js @@ -0,0 +1,78 @@ +// Hebrew [he] +import dayjs from '../index'; +var texts = { + s: 'מספר שניות', + ss: '%d שניות', + m: 'דקה', + mm: '%d דקות', + h: 'שעה', + hh: '%d שעות', + hh2: 'שעתיים', + d: 'יום', + dd: '%d ימים', + dd2: 'יומיים', + M: 'חודש', + MM: '%d חודשים', + MM2: 'חודשיים', + y: 'שנה', + yy: '%d שנים', + yy2: 'שנתיים' +}; + +function relativeTimeFormatter(number, withoutSuffix, key) { + var text = texts[key + (number === 2 ? '2' : '')] || texts[key]; + return text.replace('%d', number); +} + +var locale = { + name: 'he', + weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin: 'א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳'.split('_'), + months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), + monthsShort: 'ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ'.split('_'), + relativeTime: { + future: 'בעוד %s', + past: 'לפני %s', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + }, + ordinal: function ordinal(n) { + return n; + }, + format: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/hi.js b/src/WeLink/node_modules/dayjs/esm/locale/hi.js new file mode 100644 index 0000000..e877ed6 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/hi.js @@ -0,0 +1,38 @@ +// Hindi [hi] +import dayjs from '../index'; +var locale = { + name: 'hi', + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'), + weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm बजे', + LTS: 'A h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, A h:mm बजे' + }, + relativeTime: { + future: '%s में', + past: '%s पहले', + s: 'कुछ ही क्षण', + m: 'एक मिनट', + mm: '%d मिनट', + h: 'एक घंटा', + hh: '%d घंटे', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महीने', + MM: '%d महीने', + y: 'एक वर्ष', + yy: '%d वर्ष' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/hr.js b/src/WeLink/node_modules/dayjs/esm/locale/hr.js new file mode 100644 index 0000000..a760fe3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/hr.js @@ -0,0 +1,53 @@ +// Croatian [hr] +import dayjs from '../index'; +var monthFormat = 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'); +var monthStandalone = 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_'); +var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/; + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; +var locale = { + name: 'hr', + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + months: months, + monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'sekunda', + m: 'minuta', + mm: '%d minuta', + h: 'sat', + hh: '%d sati', + d: 'dan', + dd: '%d dana', + M: 'mjesec', + MM: '%d mjeseci', + y: 'godina', + yy: '%d godine' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ht.js b/src/WeLink/node_modules/dayjs/esm/locale/ht.js new file mode 100644 index 0000000..896739e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ht.js @@ -0,0 +1,38 @@ +// Haitian Creole (Haiti) [ht] +import dayjs from '../index'; +var locale = { + name: 'ht', + weekdays: 'dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi'.split('_'), + months: 'janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm'.split('_'), + weekdaysShort: 'dim._len._mad._mèk._jed._van._sam.'.split('_'), + monthsShort: 'jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.'.split('_'), + weekdaysMin: 'di_le_ma_mè_je_va_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'nan %s', + past: 'sa gen %s', + s: 'kèk segond', + m: 'yon minit', + mm: '%d minit', + h: 'inèdtan', + hh: '%d zè', + d: 'yon jou', + dd: '%d jou', + M: 'yon mwa', + MM: '%d mwa', + y: 'yon ane', + yy: '%d ane' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/hu.js b/src/WeLink/node_modules/dayjs/esm/locale/hu.js new file mode 100644 index 0000000..18df6e4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/hu.js @@ -0,0 +1,61 @@ +// Hungarian [hu] +import dayjs from '../index'; +var locale = { + name: 'hu', + weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), + months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), + monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + relativeTime: { + future: '%s múlva', + past: '%s', + s: function s(_, _s, ___, isFuture) { + return "n\xE9h\xE1ny m\xE1sodperc" + (isFuture || _s ? '' : 'e'); + }, + m: function m(_, s, ___, isFuture) { + return "egy perc" + (isFuture || s ? '' : 'e'); + }, + mm: function mm(n, s, ___, isFuture) { + return n + " perc" + (isFuture || s ? '' : 'e'); + }, + h: function h(_, s, ___, isFuture) { + return "egy " + (isFuture || s ? 'óra' : 'órája'); + }, + hh: function hh(n, s, ___, isFuture) { + return n + " " + (isFuture || s ? 'óra' : 'órája'); + }, + d: function d(_, s, ___, isFuture) { + return "egy " + (isFuture || s ? 'nap' : 'napja'); + }, + dd: function dd(n, s, ___, isFuture) { + return n + " " + (isFuture || s ? 'nap' : 'napja'); + }, + M: function M(_, s, ___, isFuture) { + return "egy " + (isFuture || s ? 'hónap' : 'hónapja'); + }, + MM: function MM(n, s, ___, isFuture) { + return n + " " + (isFuture || s ? 'hónap' : 'hónapja'); + }, + y: function y(_, s, ___, isFuture) { + return "egy " + (isFuture || s ? 'év' : 'éve'); + }, + yy: function yy(n, s, ___, isFuture) { + return n + " " + (isFuture || s ? 'év' : 'éve'); + } + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY. MMMM D.', + LLL: 'YYYY. MMMM D. H:mm', + LLLL: 'YYYY. MMMM D., dddd H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/hy-am.js b/src/WeLink/node_modules/dayjs/esm/locale/hy-am.js new file mode 100644 index 0000000..937f2be --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/hy-am.js @@ -0,0 +1,39 @@ +// Armenian [hy-am] +import dayjs from '../index'; +var locale = { + name: 'hy-am', + weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'), + months: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'), + weekStart: 1, + weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY թ.', + LLL: 'D MMMM YYYY թ., HH:mm', + LLLL: 'dddd, D MMMM YYYY թ., HH:mm' + }, + relativeTime: { + future: '%s հետո', + past: '%s առաջ', + s: 'մի քանի վայրկյան', + m: 'րոպե', + mm: '%d րոպե', + h: 'ժամ', + hh: '%d ժամ', + d: 'օր', + dd: '%d օր', + M: 'ամիս', + MM: '%d ամիս', + y: 'տարի', + yy: '%d տարի' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/id.js b/src/WeLink/node_modules/dayjs/esm/locale/id.js new file mode 100644 index 0000000..f743a12 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/id.js @@ -0,0 +1,39 @@ +// Indonesian [id] +import dayjs from '../index'; +var locale = { + name: 'id', + weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + weekStart: 1, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lalu', + s: 'beberapa detik', + m: 'semenit', + mm: '%d menit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/index.d.ts b/src/WeLink/node_modules/dayjs/esm/locale/index.d.ts new file mode 100644 index 0000000..beb0d36 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/index.d.ts @@ -0,0 +1,11 @@ +/// + +declare module 'dayjs/esm/locale/*' { + namespace locale { + interface Locale extends ILocale {} + } + + const locale: locale.Locale + + export = locale +} diff --git a/src/WeLink/node_modules/dayjs/esm/locale/is.js b/src/WeLink/node_modules/dayjs/esm/locale/is.js new file mode 100644 index 0000000..22d8121 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/is.js @@ -0,0 +1,68 @@ +// Icelandic [is] +import dayjs from '../index'; +var texts = { + s: ['nokkrar sekúndur', 'nokkrar sekúndur', 'nokkrum sekúndum'], + m: ['mínúta', 'mínútu', 'mínútu'], + mm: ['mínútur', 'mínútur', 'mínútum'], + h: ['klukkustund', 'klukkustund', 'klukkustund'], + hh: ['klukkustundir', 'klukkustundir', 'klukkustundum'], + d: ['dagur', 'dag', 'degi'], + dd: ['dagar', 'daga', 'dögum'], + M: ['mánuður', 'mánuð', 'mánuði'], + MM: ['mánuðir', 'mánuði', 'mánuðum'], + y: ['ár', 'ár', 'ári'], + yy: ['ár', 'ár', 'árum'] +}; + +function resolveTemplate(key, number, isFuture, withoutSuffix) { + var suffixIndex = isFuture ? 1 : 2; + var index = withoutSuffix ? 0 : suffixIndex; + var keyShouldBeSingular = key.length === 2 && number % 10 === 1; + var correctedKey = keyShouldBeSingular ? key[0] : key; + var unitText = texts[correctedKey]; + var text = unitText[index]; + return key.length === 1 ? text : "%d " + text; +} + +function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { + var template = resolveTemplate(key, number, isFuture, withoutSuffix); + return template.replace('%d', number); +} + +var locale = { + name: 'is', + weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), + weekStart: 1, + weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm' + }, + relativeTime: { + future: 'eftir %s', + past: 'fyrir %s síðan', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/it-ch.js b/src/WeLink/node_modules/dayjs/esm/locale/it-ch.js new file mode 100644 index 0000000..cfbb94d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/it-ch.js @@ -0,0 +1,39 @@ +// Italian (Switzerland) [it-ch] +import dayjs from '../index'; +var locale = { + name: 'it-ch', + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), + weekStart: 1, + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'alcuni secondi', + m: 'un minuto', + mm: '%d minuti', + h: 'un\'ora', + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/it.js b/src/WeLink/node_modules/dayjs/esm/locale/it.js new file mode 100644 index 0000000..e8d2490 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/it.js @@ -0,0 +1,39 @@ +// Italian [it] +import dayjs from '../index'; +var locale = { + name: 'it', + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), + weekStart: 1, + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'qualche secondo', + m: 'un minuto', + mm: '%d minuti', + h: 'un\' ora', + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ja.js b/src/WeLink/node_modules/dayjs/esm/locale/ja.js new file mode 100644 index 0000000..6568e13 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ja.js @@ -0,0 +1,45 @@ +// Japanese [ja] +import dayjs from '../index'; +var locale = { + name: 'ja', + weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort: '日_月_火_水_木_金_土'.split('_'), + weekdaysMin: '日_月_火_水_木_金_土'.split('_'), + months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + ordinal: function ordinal(n) { + return n + "\u65E5"; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日 dddd HH:mm', + l: 'YYYY/MM/DD', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日(ddd) HH:mm' + }, + meridiem: function meridiem(hour) { + return hour < 12 ? '午前' : '午後'; + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '数秒', + m: '1分', + mm: '%d分', + h: '1時間', + hh: '%d時間', + d: '1日', + dd: '%d日', + M: '1ヶ月', + MM: '%dヶ月', + y: '1年', + yy: '%d年' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/jv.js b/src/WeLink/node_modules/dayjs/esm/locale/jv.js new file mode 100644 index 0000000..81a3f66 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/jv.js @@ -0,0 +1,39 @@ +// Javanese [jv] +import dayjs from '../index'; +var locale = { + name: 'jv', + weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'), + weekStart: 1, + weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + relativeTime: { + future: 'wonten ing %s', + past: '%s ingkang kepengker', + s: 'sawetawis detik', + m: 'setunggal menit', + mm: '%d menit', + h: 'setunggal jam', + hh: '%d jam', + d: 'sedinten', + dd: '%d dinten', + M: 'sewulan', + MM: '%d wulan', + y: 'setaun', + yy: '%d taun' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ka.js b/src/WeLink/node_modules/dayjs/esm/locale/ka.js new file mode 100644 index 0000000..381fffa --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ka.js @@ -0,0 +1,39 @@ +// Georgian [ka] +import dayjs from '../index'; +var locale = { + name: 'ka', + weekdays: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'), + weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'), + monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekStart: 1, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: '%s შემდეგ', + past: '%s წინ', + s: 'წამი', + m: 'წუთი', + mm: '%d წუთი', + h: 'საათი', + hh: '%d საათის', + d: 'დღეს', + dd: '%d დღის განმავლობაში', + M: 'თვის', + MM: '%d თვის', + y: 'წელი', + yy: '%d წლის' + }, + ordinal: function ordinal(n) { + return n; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/kk.js b/src/WeLink/node_modules/dayjs/esm/locale/kk.js new file mode 100644 index 0000000..f2ca045 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/kk.js @@ -0,0 +1,39 @@ +// Kazakh [kk] +import dayjs from '../index'; +var locale = { + name: 'kk', + weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'), + weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'), + monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekStart: 1, + relativeTime: { + future: '%s ішінде', + past: '%s бұрын', + s: 'бірнеше секунд', + m: 'бір минут', + mm: '%d минут', + h: 'бір сағат', + hh: '%d сағат', + d: 'бір күн', + dd: '%d күн', + M: 'бір ай', + MM: '%d ай', + y: 'бір жыл', + yy: '%d жыл' + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/km.js b/src/WeLink/node_modules/dayjs/esm/locale/km.js new file mode 100644 index 0000000..7fd185b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/km.js @@ -0,0 +1,39 @@ +// Cambodian [km] +import dayjs from '../index'; +var locale = { + name: 'km', + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + weekStart: 1, + weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/kn.js b/src/WeLink/node_modules/dayjs/esm/locale/kn.js new file mode 100644 index 0000000..b9ca9b9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/kn.js @@ -0,0 +1,38 @@ +// Kannada [kn] +import dayjs from '../index'; +var locale = { + name: 'kn', + weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'), + months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'), + weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), + monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split('_'), + weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm' + }, + relativeTime: { + future: '%s ನಂತರ', + past: '%s ಹಿಂದೆ', + s: 'ಕೆಲವು ಕ್ಷಣಗಳು', + m: 'ಒಂದು ನಿಮಿಷ', + mm: '%d ನಿಮಿಷ', + h: 'ಒಂದು ಗಂಟೆ', + hh: '%d ಗಂಟೆ', + d: 'ಒಂದು ದಿನ', + dd: '%d ದಿನ', + M: 'ಒಂದು ತಿಂಗಳು', + MM: '%d ತಿಂಗಳು', + y: 'ಒಂದು ವರ್ಷ', + yy: '%d ವರ್ಷ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ko.js b/src/WeLink/node_modules/dayjs/esm/locale/ko.js new file mode 100644 index 0000000..cfad49d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ko.js @@ -0,0 +1,45 @@ +// Korean [ko] +import dayjs from '../index'; +var locale = { + name: 'ko', + weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort: '일_월_화_수_목_금_토'.split('_'), + weekdaysMin: '일_월_화_수_목_금_토'.split('_'), + months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + ordinal: function ordinal(n) { + return n + "\uC77C"; + }, + formats: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY년 MMMM D일', + LLL: 'YYYY년 MMMM D일 A h:mm', + LLLL: 'YYYY년 MMMM D일 dddd A h:mm', + l: 'YYYY.MM.DD.', + ll: 'YYYY년 MMMM D일', + lll: 'YYYY년 MMMM D일 A h:mm', + llll: 'YYYY년 MMMM D일 dddd A h:mm' + }, + meridiem: function meridiem(hour) { + return hour < 12 ? '오전' : '오후'; + }, + relativeTime: { + future: '%s 후', + past: '%s 전', + s: '몇 초', + m: '1분', + mm: '%d분', + h: '한 시간', + hh: '%d시간', + d: '하루', + dd: '%d일', + M: '한 달', + MM: '%d달', + y: '일 년', + yy: '%d년' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ku.js b/src/WeLink/node_modules/dayjs/esm/locale/ku.js new file mode 100644 index 0000000..e56664e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ku.js @@ -0,0 +1,77 @@ +// Kurdish [ku] +import dayjs from '../index'; +export var englishToArabicNumbersMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠' +}; +var arabicToEnglishNumbersMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' +}; +var months = ['کانوونی دووەم', 'شوبات', 'ئادار', 'نیسان', 'ئایار', 'حوزەیران', 'تەممووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', 'تشرینی دووەم', 'کانوونی یەکەم']; +var locale = { + name: 'ku', + months: months, + monthsShort: months, + weekdays: 'یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە'.split('_'), + weekdaysShort: 'یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە'.split('_'), + weekStart: 6, + weekdaysMin: 'ی_د_س_چ_پ_هـ_ش'.split('_'), + preparse: function preparse(string) { + return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return arabicToEnglishNumbersMap[match]; + }).replace(/،/g, ','); + }, + postformat: function postformat(string) { + return string.replace(/\d/g, function (match) { + return englishToArabicNumbersMap[match]; + }).replace(/,/g, '،'); + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour < 12 ? 'پ.ن' : 'د.ن'; + }, + relativeTime: { + future: 'لە %s', + past: 'لەمەوپێش %s', + s: 'چەند چرکەیەک', + m: 'یەک خولەک', + mm: '%d خولەک', + h: 'یەک کاتژمێر', + hh: '%d کاتژمێر', + d: 'یەک ڕۆژ', + dd: '%d ڕۆژ', + M: 'یەک مانگ', + MM: '%d مانگ', + y: 'یەک ساڵ', + yy: '%d ساڵ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ky.js b/src/WeLink/node_modules/dayjs/esm/locale/ky.js new file mode 100644 index 0000000..fd04477 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ky.js @@ -0,0 +1,39 @@ +// Kyrgyz [ky] +import dayjs from '../index'; +var locale = { + name: 'ky', + weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), + months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), + weekStart: 1, + weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'), + weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s ичинде', + past: '%s мурун', + s: 'бирнече секунд', + m: 'бир мүнөт', + mm: '%d мүнөт', + h: 'бир саат', + hh: '%d саат', + d: 'бир күн', + dd: '%d күн', + M: 'бир ай', + MM: '%d ай', + y: 'бир жыл', + yy: '%d жыл' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/lb.js b/src/WeLink/node_modules/dayjs/esm/locale/lb.js new file mode 100644 index 0000000..21ef4aa --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/lb.js @@ -0,0 +1,24 @@ +// Luxembourgish [lb] +import dayjs from '../index'; +var locale = { + name: 'lb', + weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'), + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + weekStart: 1, + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/lo.js b/src/WeLink/node_modules/dayjs/esm/locale/lo.js new file mode 100644 index 0000000..7732ec4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/lo.js @@ -0,0 +1,38 @@ +// Lao [lo] +import dayjs from '../index'; +var locale = { + name: 'lo', + weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'ວັນdddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'ອີກ %s', + past: '%sຜ່ານມາ', + s: 'ບໍ່ເທົ່າໃດວິນາທີ', + m: '1 ນາທີ', + mm: '%d ນາທີ', + h: '1 ຊົ່ວໂມງ', + hh: '%d ຊົ່ວໂມງ', + d: '1 ມື້', + dd: '%d ມື້', + M: '1 ເດືອນ', + MM: '%d ເດືອນ', + y: '1 ປີ', + yy: '%d ປີ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/lt.js b/src/WeLink/node_modules/dayjs/esm/locale/lt.js new file mode 100644 index 0000000..cb46ca9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/lt.js @@ -0,0 +1,70 @@ +// Lithuanian [lt] +import dayjs from '../index'; +var monthFormat = 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'); +var monthStandalone = 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'); // eslint-disable-next-line no-useless-escape + +var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/; + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; +var locale = { + name: 'lt', + weekdays: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'), + weekdaysShort: 'sek_pir_ant_tre_ket_pen_šeš'.split('_'), + weekdaysMin: 's_p_a_t_k_pn_š'.split('_'), + months: months, + monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + relativeTime: { + future: 'už %s', + past: 'prieš %s', + s: 'kelias sekundes', + m: 'minutę', + mm: '%d minutes', + h: 'valandą', + hh: '%d valandas', + d: 'dieną', + dd: '%d dienas', + M: 'mėnesį', + MM: '%d mėnesius', + y: 'metus', + yy: '%d metus' + }, + format: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/lv.js b/src/WeLink/node_modules/dayjs/esm/locale/lv.js new file mode 100644 index 0000000..4b18a61 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/lv.js @@ -0,0 +1,39 @@ +// Latvian [lv] +import dayjs from '../index'; +var locale = { + name: 'lv', + weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'), + months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'), + weekStart: 1, + weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), + monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY.', + LL: 'YYYY. [gada] D. MMMM', + LLL: 'YYYY. [gada] D. MMMM, HH:mm', + LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm' + }, + relativeTime: { + future: 'pēc %s', + past: 'pirms %s', + s: 'dažām sekundēm', + m: 'minūtes', + mm: '%d minūtēm', + h: 'stundas', + hh: '%d stundām', + d: 'dienas', + dd: '%d dienām', + M: 'mēneša', + MM: '%d mēnešiem', + y: 'gada', + yy: '%d gadiem' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/me.js b/src/WeLink/node_modules/dayjs/esm/locale/me.js new file mode 100644 index 0000000..465c0ff --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/me.js @@ -0,0 +1,24 @@ +// Montenegrin [me] +import dayjs from '../index'; +var locale = { + name: 'me', + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), + weekStart: 1, + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/mi.js b/src/WeLink/node_modules/dayjs/esm/locale/mi.js new file mode 100644 index 0000000..3b56f0e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/mi.js @@ -0,0 +1,39 @@ +// Maori [mi] +import dayjs from '../index'; +var locale = { + name: 'mi', + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'), + weekStart: 1, + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm' + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/mk.js b/src/WeLink/node_modules/dayjs/esm/locale/mk.js new file mode 100644 index 0000000..8522c26 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/mk.js @@ -0,0 +1,39 @@ +// Macedonian [mk] +import dayjs from '../index'; +var locale = { + name: 'mk', + weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'), + months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'), + weekStart: 1, + weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm' + }, + relativeTime: { + future: 'после %s', + past: 'пред %s', + s: 'неколку секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + M: 'месец', + MM: '%d месеци', + y: 'година', + yy: '%d години' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ml.js b/src/WeLink/node_modules/dayjs/esm/locale/ml.js new file mode 100644 index 0000000..bfcc277 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ml.js @@ -0,0 +1,38 @@ +// Malayalam [ml] +import dayjs from '../index'; +var locale = { + name: 'ml', + weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'), + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'), + weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'), + weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm -നു', + LTS: 'A h:mm:ss -നു', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm -നു', + LLLL: 'dddd, D MMMM YYYY, A h:mm -നു' + }, + relativeTime: { + future: '%s കഴിഞ്ഞ്', + past: '%s മുൻപ്', + s: 'അൽപ നിമിഷങ്ങൾ', + m: 'ഒരു മിനിറ്റ്', + mm: '%d മിനിറ്റ്', + h: 'ഒരു മണിക്കൂർ', + hh: '%d മണിക്കൂർ', + d: 'ഒരു ദിവസം', + dd: '%d ദിവസം', + M: 'ഒരു മാസം', + MM: '%d മാസം', + y: 'ഒരു വർഷം', + yy: '%d വർഷം' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/mn.js b/src/WeLink/node_modules/dayjs/esm/locale/mn.js new file mode 100644 index 0000000..d93cae2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/mn.js @@ -0,0 +1,38 @@ +// Mongolian [mn] +import dayjs from '../index'; +var locale = { + name: 'mn', + weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), + months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split('_'), + weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), + monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split('_'), + weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY оны MMMMын D', + LLL: 'YYYY оны MMMMын D HH:mm', + LLLL: 'dddd, YYYY оны MMMMын D HH:mm' + }, + relativeTime: { + future: '%s', + past: '%s', + s: 'саяхан', + m: 'м', + mm: '%dм', + h: '1ц', + hh: '%dц', + d: '1ө', + dd: '%dө', + M: '1с', + MM: '%dс', + y: '1ж', + yy: '%dж' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/mr.js b/src/WeLink/node_modules/dayjs/esm/locale/mr.js new file mode 100644 index 0000000..9eac8a7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/mr.js @@ -0,0 +1,23 @@ +// Marathi [mr] +import dayjs from '../index'; +var locale = { + name: 'mr', + weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'), + weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm वाजता', + LTS: 'A h:mm:ss वाजता', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm वाजता', + LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ms-my.js b/src/WeLink/node_modules/dayjs/esm/locale/ms-my.js new file mode 100644 index 0000000..5138219 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ms-my.js @@ -0,0 +1,39 @@ +// Malay [ms-my] +import dayjs from '../index'; +var locale = { + name: 'ms-my', + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), + weekStart: 1, + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ms.js b/src/WeLink/node_modules/dayjs/esm/locale/ms.js new file mode 100644 index 0000000..86349f3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ms.js @@ -0,0 +1,39 @@ +// Malay [ms] +import dayjs from '../index'; +var locale = { + name: 'ms', + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekStart: 1, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH.mm', + LLLL: 'dddd, D MMMM YYYY HH.mm' + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/mt.js b/src/WeLink/node_modules/dayjs/esm/locale/mt.js new file mode 100644 index 0000000..9c90953 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/mt.js @@ -0,0 +1,39 @@ +// Maltese (Malta) [mt] +import dayjs from '../index'; +var locale = { + name: 'mt', + weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'), + months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'), + weekStart: 1, + weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), + monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'), + weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'f’ %s', + past: '%s ilu', + s: 'ftit sekondi', + m: 'minuta', + mm: '%d minuti', + h: 'siegħa', + hh: '%d siegħat', + d: 'ġurnata', + dd: '%d ġranet', + M: 'xahar', + MM: '%d xhur', + y: 'sena', + yy: '%d sni' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/my.js b/src/WeLink/node_modules/dayjs/esm/locale/my.js new file mode 100644 index 0000000..73b2633 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/my.js @@ -0,0 +1,39 @@ +// Burmese [my] +import dayjs from '../index'; +var locale = { + name: 'my', + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'), + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'), + weekStart: 1, + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/nb.js b/src/WeLink/node_modules/dayjs/esm/locale/nb.js new file mode 100644 index 0000000..1d7b1eb --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/nb.js @@ -0,0 +1,40 @@ +// Norwegian Bokmål [nb] +import dayjs from '../index'; +var locale = { + name: 'nb', + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort: 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm' + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'noen sekunder', + m: 'ett minutt', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dager', + M: 'en måned', + MM: '%d måneder', + y: 'ett år', + yy: '%d år' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ne.js b/src/WeLink/node_modules/dayjs/esm/locale/ne.js new file mode 100644 index 0000000..4f5a004 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ne.js @@ -0,0 +1,40 @@ +// Nepalese [ne] +import dayjs from '../index'; +var locale = { + name: 'ne', + weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'), + weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'), + monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'), + relativeTime: { + future: '%s पछि', + past: '%s अघि', + s: 'सेकेन्ड', + m: 'एक मिनेट', + mm: '%d मिनेट', + h: 'घन्टा', + hh: '%d घन्टा', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महिना', + MM: '%d महिना', + y: 'एक वर्ष', + yy: '%d वर्ष' + }, + ordinal: function ordinal(n) { + return ("" + n).replace(/\d/g, function (i) { + return '०१२३४५६७८९'[i]; + }); + }, + formats: { + LT: 'Aको h:mm बजे', + LTS: 'Aको h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, Aको h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/nl-be.js b/src/WeLink/node_modules/dayjs/esm/locale/nl-be.js new file mode 100644 index 0000000..51465b7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/nl-be.js @@ -0,0 +1,39 @@ +// Dutch (Belgium) [nl-be] +import dayjs from '../index'; +var locale = { + name: 'nl-be', + weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + monthsShort: 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + weekStart: 1, + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/nl.js b/src/WeLink/node_modules/dayjs/esm/locale/nl.js new file mode 100644 index 0000000..ee1ac74 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/nl.js @@ -0,0 +1,40 @@ +// Dutch [nl] +import dayjs from '../index'; +var locale = { + name: 'nl', + weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + monthsShort: 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + ordinal: function ordinal(n) { + return "[" + n + (n === 1 || n === 8 || n >= 20 ? 'ste' : 'de') + "]"; + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + m: 'een minuut', + mm: '%d minuten', + h: 'een uur', + hh: '%d uur', + d: 'een dag', + dd: '%d dagen', + M: 'een maand', + MM: '%d maanden', + y: 'een jaar', + yy: '%d jaar' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/nn.js b/src/WeLink/node_modules/dayjs/esm/locale/nn.js new file mode 100644 index 0000000..43767a4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/nn.js @@ -0,0 +1,39 @@ +// Nynorsk [nn] +import dayjs from '../index'; +var locale = { + name: 'nn', + weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort: 'sun_mån_tys_ons_tor_fre_lau'.split('_'), + weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'), + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + relativeTime: { + future: 'om %s', + past: 'for %s sidan', + s: 'nokre sekund', + m: 'eitt minutt', + mm: '%d minutt', + h: 'ein time', + hh: '%d timar', + d: 'ein dag', + dd: '%d dagar', + M: 'ein månad', + MM: '%d månadar', + y: 'eitt år', + yy: '%d år' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/oc-lnc.js b/src/WeLink/node_modules/dayjs/esm/locale/oc-lnc.js new file mode 100644 index 0000000..91e2f0d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/oc-lnc.js @@ -0,0 +1,39 @@ +// Occitan, lengadocian dialecte [oc-lnc] +import dayjs from '../index'; +var locale = { + name: 'oc-lnc', + weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split('_'), + weekdaysShort: 'Dg_Dl_Dm_Dc_Dj_Dv_Ds'.split('_'), + weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'), + months: 'genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split('_'), + monthsShort: 'gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + LLL: 'D MMMM [de] YYYY [a] H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a] H:mm' + }, + relativeTime: { + future: 'd\'aquí %s', + past: 'fa %s', + s: 'unas segondas', + m: 'una minuta', + mm: '%d minutas', + h: 'una ora', + hh: '%d oras', + d: 'un jorn', + dd: '%d jorns', + M: 'un mes', + MM: '%d meses', + y: 'un an', + yy: '%d ans' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/pa-in.js b/src/WeLink/node_modules/dayjs/esm/locale/pa-in.js new file mode 100644 index 0000000..624a852 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/pa-in.js @@ -0,0 +1,38 @@ +// Punjabi (India) [pa-in] +import dayjs from '../index'; +var locale = { + name: 'pa-in', + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'), + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), + weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), + weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm ਵਜੇ', + LTS: 'A h:mm:ss ਵਜੇ', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ' + }, + relativeTime: { + future: '%s ਵਿੱਚ', + past: '%s ਪਿਛਲੇ', + s: 'ਕੁਝ ਸਕਿੰਟ', + m: 'ਇਕ ਮਿੰਟ', + mm: '%d ਮਿੰਟ', + h: 'ਇੱਕ ਘੰਟਾ', + hh: '%d ਘੰਟੇ', + d: 'ਇੱਕ ਦਿਨ', + dd: '%d ਦਿਨ', + M: 'ਇੱਕ ਮਹੀਨਾ', + MM: '%d ਮਹੀਨੇ', + y: 'ਇੱਕ ਸਾਲ', + yy: '%d ਸਾਲ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/pl.js b/src/WeLink/node_modules/dayjs/esm/locale/pl.js new file mode 100644 index 0000000..368b2a5 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/pl.js @@ -0,0 +1,87 @@ +// Polish [pl] +import dayjs from '../index'; + +function plural(n) { + return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; // eslint-disable-line +} +/* eslint-disable */ + + +function translate(number, withoutSuffix, key) { + var result = number + " "; + + switch (key) { + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + + case 'mm': + return result + (plural(number) ? 'minuty' : 'minut'); + + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + + case 'hh': + return result + (plural(number) ? 'godziny' : 'godzin'); + + case 'MM': + return result + (plural(number) ? 'miesiące' : 'miesięcy'); + + case 'yy': + return result + (plural(number) ? 'lata' : 'lat'); + } +} +/* eslint-enable */ + + +var monthFormat = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'); +var monthStandalone = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'); +var MONTHS_IN_FORMAT = /D MMMM/; + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; +var locale = { + name: 'pl', + weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), + weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + months: months, + monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'za %s', + past: '%s temu', + s: 'kilka sekund', + m: translate, + mm: translate, + h: translate, + hh: translate, + d: '1 dzień', + dd: '%d dni', + M: 'miesiąc', + MM: translate, + y: 'rok', + yy: translate + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/pt-br.js b/src/WeLink/node_modules/dayjs/esm/locale/pt-br.js new file mode 100644 index 0000000..0635cd8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/pt-br.js @@ -0,0 +1,38 @@ +// Portuguese (Brazil) [pt-br] +import dayjs from '../index'; +var locale = { + name: 'pt-br', + weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split('_'), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm' + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'poucos segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/pt.js b/src/WeLink/node_modules/dayjs/esm/locale/pt.js new file mode 100644 index 0000000..cba2331 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/pt.js @@ -0,0 +1,40 @@ +// Portuguese [pt] +import dayjs from '../index'; +var locale = { + name: 'pt', + weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split('_'), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sab'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sa'.split('_'), + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm' + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'alguns segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/rn.js b/src/WeLink/node_modules/dayjs/esm/locale/rn.js new file mode 100644 index 0000000..21b3cdb --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/rn.js @@ -0,0 +1,39 @@ +// Kirundi [rn] +import dayjs from '../index'; +var locale = { + name: 'rn', + weekdays: 'Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu'.split('_'), + weekdaysShort: 'Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat'.split('_'), + weekdaysMin: 'K7_K1_K2_K3_K4_K5_K6'.split('_'), + months: 'Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama'.split('_'), + monthsShort: 'Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig'.split('_'), + weekStart: 1, + ordinal: function ordinal(n) { + return n; + }, + relativeTime: { + future: 'mu %s', + past: '%s', + s: 'amasegonda', + m: 'Umunota', + mm: '%d iminota', + h: 'isaha', + hh: '%d amasaha', + d: 'Umunsi', + dd: '%d iminsi', + M: 'ukwezi', + MM: '%d amezi', + y: 'umwaka', + yy: '%d imyaka' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ro.js b/src/WeLink/node_modules/dayjs/esm/locale/ro.js new file mode 100644 index 0000000..93ef6bf --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ro.js @@ -0,0 +1,39 @@ +// Romanian [ro] +import dayjs from '../index'; +var locale = { + name: 'ro', + weekdays: 'Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă'.split('_'), + weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + months: 'Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie'.split('_'), + monthsShort: 'Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm' + }, + relativeTime: { + future: 'peste %s', + past: 'acum %s', + s: 'câteva secunde', + m: 'un minut', + mm: '%d minute', + h: 'o oră', + hh: '%d ore', + d: 'o zi', + dd: '%d zile', + M: 'o lună', + MM: '%d luni', + y: 'un an', + yy: '%d ani' + }, + ordinal: function ordinal(n) { + return n; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ru.js b/src/WeLink/node_modules/dayjs/esm/locale/ru.js new file mode 100644 index 0000000..fbb1b35 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ru.js @@ -0,0 +1,99 @@ +// Russian [ru] +import dayjs from '../index'; +var monthFormat = 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'); +var monthStandalone = 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'); +var monthShortFormat = 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'); +var monthShortStandalone = 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_'); +var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]; // eslint-disable-line +} + +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + hh: 'час_часа_часов', + dd: 'день_дня_дней', + MM: 'месяц_месяца_месяцев', + yy: 'год_года_лет' + }; + + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; + } + + return number + " " + plural(format[key], +number); +} + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; + +var monthsShort = function monthsShort(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthShortFormat[dayjsInstance.month()]; + } + + return monthShortStandalone[dayjsInstance.month()]; +}; + +monthsShort.s = monthShortStandalone; +monthsShort.f = monthShortFormat; +var locale = { + name: 'ru', + weekdays: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'), + weekdaysShort: 'вск_пнд_втр_срд_чтв_птн_сбт'.split('_'), + weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + months: months, + monthsShort: monthsShort, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm' + }, + relativeTime: { + future: 'через %s', + past: '%s назад', + s: 'несколько секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: 'час', + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural + }, + ordinal: function ordinal(n) { + return n; + }, + meridiem: function meridiem(hour) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } + + return 'вечера'; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/rw.js b/src/WeLink/node_modules/dayjs/esm/locale/rw.js new file mode 100644 index 0000000..1e53ac7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/rw.js @@ -0,0 +1,35 @@ +// Kinyarwanda (Rwanda) [rw] +import dayjs from '../index'; +var locale = { + name: 'rw', + weekdays: 'Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu'.split('_'), + months: 'Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza'.split('_'), + relativeTime: { + future: 'mu %s', + past: '%s', + s: 'amasegonda', + m: 'Umunota', + mm: '%d iminota', + h: 'isaha', + hh: '%d amasaha', + d: 'Umunsi', + dd: '%d iminsi', + M: 'ukwezi', + MM: '%d amezi', + y: 'umwaka', + yy: '%d imyaka' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + ordinal: function ordinal(n) { + return n; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sd.js b/src/WeLink/node_modules/dayjs/esm/locale/sd.js new file mode 100644 index 0000000..a429f8d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sd.js @@ -0,0 +1,39 @@ +// Sindhi [sd] +import dayjs from '../index'; +var locale = { + name: 'sd', + weekdays: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'), + months: 'جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر'.split('_'), + weekStart: 1, + weekdaysShort: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'), + monthsShort: 'جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر'.split('_'), + weekdaysMin: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s پوء', + past: '%s اڳ', + s: 'چند سيڪنڊ', + m: 'هڪ منٽ', + mm: '%d منٽ', + h: 'هڪ ڪلاڪ', + hh: '%d ڪلاڪ', + d: 'هڪ ڏينهن', + dd: '%d ڏينهن', + M: 'هڪ مهينو', + MM: '%d مهينا', + y: 'هڪ سال', + yy: '%d سال' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/se.js b/src/WeLink/node_modules/dayjs/esm/locale/se.js new file mode 100644 index 0000000..691099c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/se.js @@ -0,0 +1,39 @@ +// Northern Sami [se] +import dayjs from '../index'; +var locale = { + name: 'se', + weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'), + months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'), + weekStart: 1, + weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdaysMin: 's_v_m_g_d_b_L'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'MMMM D. [b.] YYYY', + LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm' + }, + relativeTime: { + future: '%s geažes', + past: 'maŋit %s', + s: 'moadde sekunddat', + m: 'okta minuhta', + mm: '%d minuhtat', + h: 'okta diimmu', + hh: '%d diimmut', + d: 'okta beaivi', + dd: '%d beaivvit', + M: 'okta mánnu', + MM: '%d mánut', + y: 'okta jahki', + yy: '%d jagit' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/si.js b/src/WeLink/node_modules/dayjs/esm/locale/si.js new file mode 100644 index 0000000..89b67bf --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/si.js @@ -0,0 +1,38 @@ +// Sinhalese [si] +import dayjs from '../index'; +var locale = { + name: 'si', + weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'), + months: 'දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්'.split('_'), + weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + monthsShort: 'දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු'.split('_'), + weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'a h:mm', + LTS: 'a h:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY MMMM D', + LLL: 'YYYY MMMM D, a h:mm', + LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss' + }, + relativeTime: { + future: '%sකින්', + past: '%sකට පෙර', + s: 'තත්පර කිහිපය', + m: 'විනාඩිය', + mm: 'විනාඩි %d', + h: 'පැය', + hh: 'පැය %d', + d: 'දිනය', + dd: 'දින %d', + M: 'මාසය', + MM: 'මාස %d', + y: 'වසර', + yy: 'වසර %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sk.js b/src/WeLink/node_modules/dayjs/esm/locale/sk.js new file mode 100644 index 0000000..222401f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sk.js @@ -0,0 +1,121 @@ +// Slovak [sk] +import dayjs from '../index'; + +function plural(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; // eslint-disable-line +} +/* eslint-disable */ + + +function translate(number, withoutSuffix, key, isFuture) { + var result = number + " "; + + switch (key) { + case 's': + // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami'; + + case 'm': + // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou'; + + case 'mm': + // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minúty' : 'minút'); + } + + return result + "min\xFAtami"; + + case 'h': + // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + + case 'hh': + // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodín'); + } + + return result + "hodinami"; + + case 'd': + // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'deň' : 'dňom'; + + case 'dd': + // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dni' : 'dní'); + } + + return result + "d\u0148ami"; + + case 'M': + // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom'; + + case 'MM': + // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'mesiace' : 'mesiacov'); + } + + return result + "mesiacmi"; + + case 'y': + // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokom'; + + case 'yy': + // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'rokov'); + } + + return result + "rokmi"; + } +} +/* eslint-enable */ + + +var locale = { + name: 'sk', + weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), + months: 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'), + monthsShort: 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'), + weekStart: 1, + yearStart: 4, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY' + }, + relativeTime: { + future: 'za %s', + // Should be `o %s` (change when moment/moment#5408 is fixed) + past: 'pred %s', + s: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sl.js b/src/WeLink/node_modules/dayjs/esm/locale/sl.js new file mode 100644 index 0000000..e3c5839 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sl.js @@ -0,0 +1,141 @@ +// Slovenian [sl] +import dayjs from '../index'; + +function dual(n) { + return n % 100 == 2; // eslint-disable-line +} + +function threeFour(n) { + return n % 100 == 3 || n % 100 == 4; // eslint-disable-line +} +/* eslint-disable */ + + +function translate(number, withoutSuffix, key, isFuture) { + var result = number + " "; + + switch (key) { + case 's': + // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami'; + + case 'm': + // a minute / in a minute / a minute ago + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + + case 'mm': + // 9 minutes / in 9 minutes / 9 minutes ago + if (dual(number)) { + return result + (withoutSuffix || isFuture ? 'minuti' : 'minutama'); + } + + if (threeFour(number)) { + return result + (withoutSuffix || isFuture ? 'minute' : 'minutami'); + } + + return result + (withoutSuffix || isFuture ? 'minut' : 'minutami'); + + case 'h': + // an hour / in an hour / an hour ago + return withoutSuffix ? 'ena ura' : isFuture ? 'eno uro' : 'eno uro'; + + case 'hh': + // 9 hours / in 9 hours / 9 hours ago + if (dual(number)) { + return result + (withoutSuffix || isFuture ? 'uri' : 'urama'); + } + + if (threeFour(number)) { + return result + (withoutSuffix || isFuture ? 'ure' : 'urami'); + } + + return result + (withoutSuffix || isFuture ? 'ur' : 'urami'); + + case 'd': + // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + + case 'dd': + // 9 days / in 9 days / 9 days ago + if (dual(number)) { + return result + (withoutSuffix || isFuture ? 'dneva' : 'dnevoma'); + } + + return result + (withoutSuffix || isFuture ? 'dni' : 'dnevi'); + + case 'M': + // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + + case 'MM': + // 9 months / in 9 months / 9 months ago + if (dual(number)) { + // 2 minutes / in 2 minutes + return result + (withoutSuffix || isFuture ? 'meseca' : 'mesecema'); + } + + if (threeFour(number)) { + return result + (withoutSuffix || isFuture ? 'mesece' : 'meseci'); + } + + return result + (withoutSuffix || isFuture ? 'mesecev' : 'meseci'); + + case 'y': + // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + + case 'yy': + // 9 years / in 9 years / 9 years ago + if (dual(number)) { + // 2 minutes / in 2 minutes + return result + (withoutSuffix || isFuture ? 'leti' : 'letoma'); + } + + if (threeFour(number)) { + return result + (withoutSuffix || isFuture ? 'leta' : 'leti'); + } + + return result + (withoutSuffix || isFuture ? 'let' : 'leti'); + } +} +/* eslint-enable */ + + +var locale = { + name: 'sl', + weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'), + weekStart: 1, + weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), + weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + l: 'D. M. YYYY' + }, + relativeTime: { + future: 'čez %s', + past: 'pred %s', + s: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sq.js b/src/WeLink/node_modules/dayjs/esm/locale/sq.js new file mode 100644 index 0000000..625b701 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sq.js @@ -0,0 +1,39 @@ +// Albanian [sq] +import dayjs from '../index'; +var locale = { + name: 'sq', + weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'), + months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'), + weekStart: 1, + weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'në %s', + past: '%s më parë', + s: 'disa sekonda', + m: 'një minutë', + mm: '%d minuta', + h: 'një orë', + hh: '%d orë', + d: 'një ditë', + dd: '%d ditë', + M: 'një muaj', + MM: '%d muaj', + y: 'një vit', + yy: '%d vite' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sr-cyrl.js b/src/WeLink/node_modules/dayjs/esm/locale/sr-cyrl.js new file mode 100644 index 0000000..2e40d51 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sr-cyrl.js @@ -0,0 +1,74 @@ +// Serbian Cyrillic [sr-cyrl] +import dayjs from '../index'; +var translator = { + words: { + m: ['један минут', 'једног минута'], + mm: ['%d минут', '%d минута', '%d минута'], + h: ['један сат', 'једног сата'], + hh: ['%d сат', '%d сата', '%d сати'], + d: ['један дан', 'једног дана'], + dd: ['%d дан', '%d дана', '%d дана'], + M: ['један месец', 'једног месеца'], + MM: ['%d месец', '%d месеца', '%d месеци'], + y: ['једну годину', 'једне године'], + yy: ['%d годину', '%d године', '%d година'] + }, + correctGrammarCase: function correctGrammarCase(number, wordKey) { + if (number % 10 >= 1 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + + return wordKey[2]; + }, + relativeTimeFormatter: function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key]; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'једна година'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + var word = translator.correctGrammarCase(number, wordKey); // Nominativ + + if (key === 'yy' && withoutSuffix && word === '%d годину') return number + " \u0433\u043E\u0434\u0438\u043D\u0430"; + return word.replace('%d', number); + } +}; +var locale = { + name: 'sr-cyrl', + weekdays: 'Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота'.split('_'), + weekdaysShort: 'Нед._Пон._Уто._Сре._Чет._Пет._Суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + months: 'Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар'.split('_'), + monthsShort: 'Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.'.split('_'), + weekStart: 1, + relativeTime: { + future: 'за %s', + past: 'пре %s', + s: 'неколико секунди', + m: translator.relativeTimeFormatter, + mm: translator.relativeTimeFormatter, + h: translator.relativeTimeFormatter, + hh: translator.relativeTimeFormatter, + d: translator.relativeTimeFormatter, + dd: translator.relativeTimeFormatter, + M: translator.relativeTimeFormatter, + MM: translator.relativeTimeFormatter, + y: translator.relativeTimeFormatter, + yy: translator.relativeTimeFormatter + }, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sr.js b/src/WeLink/node_modules/dayjs/esm/locale/sr.js new file mode 100644 index 0000000..f5174ce --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sr.js @@ -0,0 +1,74 @@ +// Serbian [sr] +import dayjs from '../index'; +var translator = { + words: { + m: ['jedan minut', 'jednog minuta'], + mm: ['%d minut', '%d minuta', '%d minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['%d sat', '%d sata', '%d sati'], + d: ['jedan dan', 'jednog dana'], + dd: ['%d dan', '%d dana', '%d dana'], + M: ['jedan mesec', 'jednog meseca'], + MM: ['%d mesec', '%d meseca', '%d meseci'], + y: ['jednu godinu', 'jedne godine'], + yy: ['%d godinu', '%d godine', '%d godina'] + }, + correctGrammarCase: function correctGrammarCase(number, wordKey) { + if (number % 10 >= 1 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + + return wordKey[2]; + }, + relativeTimeFormatter: function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key]; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'jedna godina'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + var word = translator.correctGrammarCase(number, wordKey); // Nominativ + + if (key === 'yy' && withoutSuffix && word === '%d godinu') return number + " godina"; + return word.replace('%d', number); + } +}; +var locale = { + name: 'sr', + weekdays: 'Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota'.split('_'), + weekdaysShort: 'Ned._Pon._Uto._Sre._Čet._Pet._Sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + months: 'Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar'.split('_'), + monthsShort: 'Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.'.split('_'), + weekStart: 1, + relativeTime: { + future: 'za %s', + past: 'pre %s', + s: 'nekoliko sekundi', + m: translator.relativeTimeFormatter, + mm: translator.relativeTimeFormatter, + h: translator.relativeTimeFormatter, + hh: translator.relativeTimeFormatter, + d: translator.relativeTimeFormatter, + dd: translator.relativeTimeFormatter, + M: translator.relativeTimeFormatter, + MM: translator.relativeTimeFormatter, + y: translator.relativeTimeFormatter, + yy: translator.relativeTimeFormatter + }, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ss.js b/src/WeLink/node_modules/dayjs/esm/locale/ss.js new file mode 100644 index 0000000..4354a48 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ss.js @@ -0,0 +1,39 @@ +// siSwati [ss] +import dayjs from '../index'; +var locale = { + name: 'ss', + weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'), + months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'), + weekStart: 1, + weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'nga %s', + past: 'wenteka nga %s', + s: 'emizuzwana lomcane', + m: 'umzuzu', + mm: '%d emizuzu', + h: 'lihora', + hh: '%d emahora', + d: 'lilanga', + dd: '%d emalanga', + M: 'inyanga', + MM: '%d tinyanga', + y: 'umnyaka', + yy: '%d iminyaka' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sv-fi.js b/src/WeLink/node_modules/dayjs/esm/locale/sv-fi.js new file mode 100644 index 0000000..a18977f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sv-fi.js @@ -0,0 +1,46 @@ +// Finland Swedish [sv-fi] +import dayjs from '../index'; +var locale = { + name: 'sv-fi', + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekStart: 1, + yearStart: 4, + ordinal: function ordinal(n) { + var b = n % 10; + var o = b === 1 || b === 2 ? 'a' : 'e'; + return "[" + n + o + "]"; + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY, [kl.] HH.mm', + LLLL: 'dddd, D. MMMM YYYY, [kl.] HH.mm', + l: 'D.M.YYYY', + ll: 'D. MMM YYYY', + lll: 'D. MMM YYYY, [kl.] HH.mm', + llll: 'ddd, D. MMM YYYY, [kl.] HH.mm' + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sv.js b/src/WeLink/node_modules/dayjs/esm/locale/sv.js new file mode 100644 index 0000000..2563ee7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sv.js @@ -0,0 +1,44 @@ +// Swedish [sv] +import dayjs from '../index'; +var locale = { + name: 'sv', + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekStart: 1, + yearStart: 4, + ordinal: function ordinal(n) { + var b = n % 10; + var o = b === 1 || b === 2 ? 'a' : 'e'; + return "[" + n + o + "]"; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd D MMM YYYY HH:mm' + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/sw.js b/src/WeLink/node_modules/dayjs/esm/locale/sw.js new file mode 100644 index 0000000..287bf33 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/sw.js @@ -0,0 +1,39 @@ +// Swahili [sw] +import dayjs from '../index'; +var locale = { + name: 'sw', + weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'), + weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekStart: 1, + ordinal: function ordinal(n) { + return n; + }, + relativeTime: { + future: '%s baadaye', + past: 'tokea %s', + s: 'hivi punde', + m: 'dakika moja', + mm: 'dakika %d', + h: 'saa limoja', + hh: 'masaa %d', + d: 'siku moja', + dd: 'masiku %d', + M: 'mwezi mmoja', + MM: 'miezi %d', + y: 'mwaka mmoja', + yy: 'miaka %d' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ta.js b/src/WeLink/node_modules/dayjs/esm/locale/ta.js new file mode 100644 index 0000000..6df25f8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ta.js @@ -0,0 +1,38 @@ +// Tamil [ta] +import dayjs from '../index'; +var locale = { + name: 'ta', + weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'), + months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), + weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'), + monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), + weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, HH:mm', + LLLL: 'dddd, D MMMM YYYY, HH:mm' + }, + relativeTime: { + future: '%s இல்', + past: '%s முன்', + s: 'ஒரு சில விநாடிகள்', + m: 'ஒரு நிமிடம்', + mm: '%d நிமிடங்கள்', + h: 'ஒரு மணி நேரம்', + hh: '%d மணி நேரம்', + d: 'ஒரு நாள்', + dd: '%d நாட்கள்', + M: 'ஒரு மாதம்', + MM: '%d மாதங்கள்', + y: 'ஒரு வருடம்', + yy: '%d ஆண்டுகள்' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/te.js b/src/WeLink/node_modules/dayjs/esm/locale/te.js new file mode 100644 index 0000000..392a247 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/te.js @@ -0,0 +1,38 @@ +// Telugu [te] +import dayjs from '../index'; +var locale = { + name: 'te', + weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'), + months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'), + weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'), + weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm' + }, + relativeTime: { + future: '%s లో', + past: '%s క్రితం', + s: 'కొన్ని క్షణాలు', + m: 'ఒక నిమిషం', + mm: '%d నిమిషాలు', + h: 'ఒక గంట', + hh: '%d గంటలు', + d: 'ఒక రోజు', + dd: '%d రోజులు', + M: 'ఒక నెల', + MM: '%d నెలలు', + y: 'ఒక సంవత్సరం', + yy: '%d సంవత్సరాలు' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tet.js b/src/WeLink/node_modules/dayjs/esm/locale/tet.js new file mode 100644 index 0000000..ff83eea --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tet.js @@ -0,0 +1,39 @@ +// Tetun Dili (East Timor) [tet] +import dayjs from '../index'; +var locale = { + name: 'tet', + weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), + months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'), + weekStart: 1, + weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'iha %s', + past: '%s liuba', + s: 'minutu balun', + m: 'minutu ida', + mm: 'minutu %d', + h: 'oras ida', + hh: 'oras %d', + d: 'loron ida', + dd: 'loron %d', + M: 'fulan ida', + MM: 'fulan %d', + y: 'tinan ida', + yy: 'tinan %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tg.js b/src/WeLink/node_modules/dayjs/esm/locale/tg.js new file mode 100644 index 0000000..536df0b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tg.js @@ -0,0 +1,39 @@ +// Tajik [tg] +import dayjs from '../index'; +var locale = { + name: 'tg', + weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split('_'), + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), + weekStart: 1, + weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'баъди %s', + past: '%s пеш', + s: 'якчанд сония', + m: 'як дақиқа', + mm: '%d дақиқа', + h: 'як соат', + hh: '%d соат', + d: 'як рӯз', + dd: '%d рӯз', + M: 'як моҳ', + MM: '%d моҳ', + y: 'як сол', + yy: '%d сол' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/th.js b/src/WeLink/node_modules/dayjs/esm/locale/th.js new file mode 100644 index 0000000..5cbcdf2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/th.js @@ -0,0 +1,38 @@ +// Thai [th] +import dayjs from '../index'; +var locale = { + name: 'th', + weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), + weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'), + monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'), + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY เวลา H:mm', + LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm' + }, + relativeTime: { + future: 'อีก %s', + past: '%sที่แล้ว', + s: 'ไม่กี่วินาที', + m: '1 นาที', + mm: '%d นาที', + h: '1 ชั่วโมง', + hh: '%d ชั่วโมง', + d: '1 วัน', + dd: '%d วัน', + M: '1 เดือน', + MM: '%d เดือน', + y: '1 ปี', + yy: '%d ปี' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tk.js b/src/WeLink/node_modules/dayjs/esm/locale/tk.js new file mode 100644 index 0000000..93390f1 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tk.js @@ -0,0 +1,39 @@ +// Turkmen [tk] +import dayjs from '../index'; +var locale = { + name: 'tk', + weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split('_'), + weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'), + weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'), + months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split('_'), + monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'), + weekStart: 1, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s soň', + past: '%s öň', + s: 'birnäçe sekunt', + m: 'bir minut', + mm: '%d minut', + h: 'bir sagat', + hh: '%d sagat', + d: 'bir gün', + dd: '%d gün', + M: 'bir aý', + MM: '%d aý', + y: 'bir ýyl', + yy: '%d ýyl' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tl-ph.js b/src/WeLink/node_modules/dayjs/esm/locale/tl-ph.js new file mode 100644 index 0000000..0fa84f3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tl-ph.js @@ -0,0 +1,39 @@ +// Tagalog (Philippines) [tl-ph] +import dayjs from '../index'; +var locale = { + name: 'tl-ph', + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'), + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), + weekStart: 1, + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm' + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tlh.js b/src/WeLink/node_modules/dayjs/esm/locale/tlh.js new file mode 100644 index 0000000..30f52fe --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tlh.js @@ -0,0 +1,24 @@ +// Klingon [tlh] +import dayjs from '../index'; +var locale = { + name: 'tlh', + weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'), + weekStart: 1, + weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'), + weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tr.js b/src/WeLink/node_modules/dayjs/esm/locale/tr.js new file mode 100644 index 0000000..e7fe24f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tr.js @@ -0,0 +1,39 @@ +// Turkish [tr] +import dayjs from '../index'; +var locale = { + name: 'tr', + weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), + weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), + weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), + monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekStart: 1, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s sonra', + past: '%s önce', + s: 'birkaç saniye', + m: 'bir dakika', + mm: '%d dakika', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir yıl', + yy: '%d yıl' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/types.d.ts b/src/WeLink/node_modules/dayjs/esm/locale/types.d.ts new file mode 100644 index 0000000..2c24a64 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/types.d.ts @@ -0,0 +1,33 @@ +declare interface ILocale { + name: string + weekdays?: string[] + months?: string[] + weekStart?: number + weekdaysShort?: string[] + monthsShort?: string[] + weekdaysMin?: string[] + ordinal?: (n: number) => number | string + formats: Partial<{ + LT: string + LTS: string + L: string + LL: string + LLL: string + LLLL: string + }> + relativeTime: Partial<{ + future: string + past: string + s: string + m: string + mm: string + h: string + hh: string + d: string + dd: string + M: string + MM: string + y: string + yy: string + }> +} diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tzl.js b/src/WeLink/node_modules/dayjs/esm/locale/tzl.js new file mode 100644 index 0000000..9fa0cd2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tzl.js @@ -0,0 +1,24 @@ +// Talossan [tzl] +import dayjs from '../index'; +var locale = { + name: 'tzl', + weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'), + weekStart: 1, + weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM [dallas] YYYY', + LLL: 'D. MMMM [dallas] YYYY HH.mm', + LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tzm-latn.js b/src/WeLink/node_modules/dayjs/esm/locale/tzm-latn.js new file mode 100644 index 0000000..e5ac6af --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tzm-latn.js @@ -0,0 +1,39 @@ +// Central Atlas Tamazight Latin [tzm-latn] +import dayjs from '../index'; +var locale = { + name: 'tzm-latn', + weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + weekStart: 6, + weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'dadkh s yan %s', + past: 'yan %s', + s: 'imik', + m: 'minuḍ', + mm: '%d minuḍ', + h: 'saɛa', + hh: '%d tassaɛin', + d: 'ass', + dd: '%d ossan', + M: 'ayowr', + MM: '%d iyyirn', + y: 'asgas', + yy: '%d isgasn' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/tzm.js b/src/WeLink/node_modules/dayjs/esm/locale/tzm.js new file mode 100644 index 0000000..d94a6c0 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/tzm.js @@ -0,0 +1,39 @@ +// Central Atlas Tamazight [tzm] +import dayjs from '../index'; +var locale = { + name: 'tzm', + weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), + weekStart: 6, + weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), + weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past: 'ⵢⴰⵏ %s', + s: 'ⵉⵎⵉⴽ', + m: 'ⵎⵉⵏⵓⴺ', + mm: '%d ⵎⵉⵏⵓⴺ', + h: 'ⵙⴰⵄⴰ', + hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d: 'ⴰⵙⵙ', + dd: '%d oⵙⵙⴰⵏ', + M: 'ⴰⵢoⵓⵔ', + MM: '%d ⵉⵢⵢⵉⵔⵏ', + y: 'ⴰⵙⴳⴰⵙ', + yy: '%d ⵉⵙⴳⴰⵙⵏ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ug-cn.js b/src/WeLink/node_modules/dayjs/esm/locale/ug-cn.js new file mode 100644 index 0000000..d3d6392 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ug-cn.js @@ -0,0 +1,39 @@ +// Uyghur (China) [ug-cn] +import dayjs from '../index'; +var locale = { + name: 'ug-cn', + weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split('_'), + months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'), + weekStart: 1, + weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'), + weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى', + LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm' + }, + relativeTime: { + future: '%s كېيىن', + past: '%s بۇرۇن', + s: 'نەچچە سېكونت', + m: 'بىر مىنۇت', + mm: '%d مىنۇت', + h: 'بىر سائەت', + hh: '%d سائەت', + d: 'بىر كۈن', + dd: '%d كۈن', + M: 'بىر ئاي', + MM: '%d ئاي', + y: 'بىر يىل', + yy: '%d يىل' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/uk.js b/src/WeLink/node_modules/dayjs/esm/locale/uk.js new file mode 100644 index 0000000..3c70b13 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/uk.js @@ -0,0 +1,77 @@ +// Ukrainian [uk] +import dayjs from '../index'; +var monthFormat = 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'); +var monthStandalone = 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_'); +var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]; // eslint-disable-line +} + +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд', + mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + dd: 'день_дні_днів', + MM: 'місяць_місяці_місяців', + yy: 'рік_роки_років' + }; + + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; + } else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; + } + + return number + " " + plural(format[key], +number); +} + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; +var locale = { + name: 'uk', + weekdays: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'), + weekdaysShort: 'ндл_пнд_втр_срд_чтв_птн_сбт'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + months: months, + monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), + weekStart: 1, + relativeTime: { + future: 'за %s', + past: '%s тому', + s: 'декілька секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: relativeTimeWithPlural, + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + M: 'місяць', + MM: relativeTimeWithPlural, + y: 'рік', + yy: relativeTimeWithPlural + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY р.', + LLL: 'D MMMM YYYY р., HH:mm', + LLLL: 'dddd, D MMMM YYYY р., HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/ur.js b/src/WeLink/node_modules/dayjs/esm/locale/ur.js new file mode 100644 index 0000000..7464c1e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/ur.js @@ -0,0 +1,39 @@ +// Urdu [ur] +import dayjs from '../index'; +var locale = { + name: 'ur', + weekdays: 'اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ'.split('_'), + months: 'جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر'.split('_'), + weekStart: 1, + weekdaysShort: 'اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ'.split('_'), + monthsShort: 'جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر'.split('_'), + weekdaysMin: 'اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s بعد', + past: '%s قبل', + s: 'چند سیکنڈ', + m: 'ایک منٹ', + mm: '%d منٹ', + h: 'ایک گھنٹہ', + hh: '%d گھنٹے', + d: 'ایک دن', + dd: '%d دن', + M: 'ایک ماہ', + MM: '%d ماہ', + y: 'ایک سال', + yy: '%d سال' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/uz-latn.js b/src/WeLink/node_modules/dayjs/esm/locale/uz-latn.js new file mode 100644 index 0000000..befdfee --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/uz-latn.js @@ -0,0 +1,39 @@ +// Uzbek Latin [uz-latn] +import dayjs from '../index'; +var locale = { + name: 'uz-latn', + weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'), + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'), + weekStart: 1, + weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm' + }, + relativeTime: { + future: 'Yaqin %s ichida', + past: '%s oldin', + s: 'soniya', + m: 'bir daqiqa', + mm: '%d daqiqa', + h: 'bir soat', + hh: '%d soat', + d: 'bir kun', + dd: '%d kun', + M: 'bir oy', + MM: '%d oy', + y: 'bir yil', + yy: '%d yil' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/uz.js b/src/WeLink/node_modules/dayjs/esm/locale/uz.js new file mode 100644 index 0000000..4433263 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/uz.js @@ -0,0 +1,39 @@ +// Uzbek [uz] +import dayjs from '../index'; +var locale = { + name: 'uz', + weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), + weekStart: 1, + weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm' + }, + relativeTime: { + future: 'Якин %s ичида', + past: '%s олдин', + s: 'фурсат', + m: 'бир дакика', + mm: '%d дакика', + h: 'бир соат', + hh: '%d соат', + d: 'бир кун', + dd: '%d кун', + M: 'бир ой', + MM: '%d ой', + y: 'бир йил', + yy: '%d йил' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/vi.js b/src/WeLink/node_modules/dayjs/esm/locale/vi.js new file mode 100644 index 0000000..f55cc73 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/vi.js @@ -0,0 +1,43 @@ +// Vietnamese [vi] +import dayjs from '../index'; +var locale = { + name: 'vi', + weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'), + months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), + weekStart: 1, + weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), + weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [năm] YYYY', + LLL: 'D MMMM [năm] YYYY HH:mm', + LLLL: 'dddd, D MMMM [năm] YYYY HH:mm', + l: 'DD/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm' + }, + relativeTime: { + future: '%s tới', + past: '%s trước', + s: 'vài giây', + m: 'một phút', + mm: '%d phút', + h: 'một giờ', + hh: '%d giờ', + d: 'một ngày', + dd: '%d ngày', + M: 'một tháng', + MM: '%d tháng', + y: 'một năm', + yy: '%d năm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/x-pseudo.js b/src/WeLink/node_modules/dayjs/esm/locale/x-pseudo.js new file mode 100644 index 0000000..ceb6782 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/x-pseudo.js @@ -0,0 +1,39 @@ +// Pseudo [x-pseudo] +import dayjs from '../index'; +var locale = { + name: 'x-pseudo', + weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'), + months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'), + weekStart: 1, + weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'), + weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'í~ñ %s', + past: '%s á~gó', + s: 'á ~féw ~sécó~ñds', + m: 'á ~míñ~úté', + mm: '%d m~íñú~tés', + h: 'á~ñ hó~úr', + hh: '%d h~óúrs', + d: 'á ~dáý', + dd: '%d d~áýs', + M: 'á ~móñ~th', + MM: '%d m~óñt~hs', + y: 'á ~ýéár', + yy: '%d ý~éárs' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/yo.js b/src/WeLink/node_modules/dayjs/esm/locale/yo.js new file mode 100644 index 0000000..1f79468 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/yo.js @@ -0,0 +1,39 @@ +// Yoruba Nigeria [yo] +import dayjs from '../index'; +var locale = { + name: 'yo', + weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), + months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'), + weekStart: 1, + weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), + monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'ní %s', + past: '%s kọjá', + s: 'ìsẹjú aayá die', + m: 'ìsẹjú kan', + mm: 'ìsẹjú %d', + h: 'wákati kan', + hh: 'wákati %d', + d: 'ọjọ́ kan', + dd: 'ọjọ́ %d', + M: 'osù kan', + MM: 'osù %d', + y: 'ọdún kan', + yy: 'ọdún %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/zh-cn.js b/src/WeLink/node_modules/dayjs/esm/locale/zh-cn.js new file mode 100644 index 0000000..1a7ebf4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/zh-cn.js @@ -0,0 +1,67 @@ +// Chinese (China) [zh-cn] +import dayjs from '../index'; +var locale = { + name: 'zh-cn', + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + ordinal: function ordinal(number, period) { + switch (period) { + case 'W': + return number + "\u5468"; + + default: + return number + "\u65E5"; + } + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm' + }, + relativeTime: { + future: '%s内', + past: '%s前', + s: '几秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年' + }, + meridiem: function meridiem(hour, minute) { + var hm = hour * 100 + minute; + + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1100) { + return '上午'; + } else if (hm < 1300) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } + + return '晚上'; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/zh-hk.js b/src/WeLink/node_modules/dayjs/esm/locale/zh-hk.js new file mode 100644 index 0000000..3896747 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/zh-hk.js @@ -0,0 +1,44 @@ +// Chinese (Hong Kong) [zh-hk] +import dayjs from '../index'; +var locale = { + name: 'zh-hk', + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + ordinal: function ordinal(number, period) { + switch (period) { + case 'W': + return number + "\u9031"; + + default: + return number + "\u65E5"; + } + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm' + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + m: '一分鐘', + mm: '%d 分鐘', + h: '一小時', + hh: '%d 小時', + d: '一天', + dd: '%d 天', + M: '一個月', + MM: '%d 個月', + y: '一年', + yy: '%d 年' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/zh-tw.js b/src/WeLink/node_modules/dayjs/esm/locale/zh-tw.js new file mode 100644 index 0000000..ada89ee --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/zh-tw.js @@ -0,0 +1,65 @@ +// Chinese (Taiwan) [zh-tw] +import dayjs from '../index'; +var locale = { + name: 'zh-tw', + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + ordinal: function ordinal(number, period) { + switch (period) { + case 'W': + return number + "\u9031"; + + default: + return number + "\u65E5"; + } + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm' + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年' + }, + meridiem: function meridiem(hour, minute) { + var hm = hour * 100 + minute; + + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1100) { + return '上午'; + } else if (hm < 1300) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } + + return '晚上'; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/locale/zh.js b/src/WeLink/node_modules/dayjs/esm/locale/zh.js new file mode 100644 index 0000000..b98ab70 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/locale/zh.js @@ -0,0 +1,67 @@ +// Chinese [zh] +import dayjs from '../index'; +var locale = { + name: 'zh', + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + ordinal: function ordinal(number, period) { + switch (period) { + case 'W': + return number + "\u5468"; + + default: + return number + "\u65E5"; + } + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm' + }, + relativeTime: { + future: '%s后', + past: '%s前', + s: '几秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年' + }, + meridiem: function meridiem(hour, minute) { + var hm = hour * 100 + minute; + + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1100) { + return '上午'; + } else if (hm < 1300) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } + + return '晚上'; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/advancedFormat/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/advancedFormat/index.js new file mode 100644 index 0000000..f45e4e0 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/advancedFormat/index.js @@ -0,0 +1,66 @@ +import { FORMAT_DEFAULT } from '../../constant'; +export default (function (o, c) { + // locale needed later + var proto = c.prototype; + var oldFormat = proto.format; + + proto.format = function (formatStr) { + var _this = this; + + var locale = this.$locale(); + + if (!this.isValid()) { + return oldFormat.bind(this)(formatStr); + } + + var utils = this.$utils(); + var str = formatStr || FORMAT_DEFAULT; + var result = str.replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function (match) { + switch (match) { + case 'Q': + return Math.ceil((_this.$M + 1) / 3); + + case 'Do': + return locale.ordinal(_this.$D); + + case 'gggg': + return _this.weekYear(); + + case 'GGGG': + return _this.isoWeekYear(); + + case 'wo': + return locale.ordinal(_this.week(), 'W'); + // W for week + + case 'w': + case 'ww': + return utils.s(_this.week(), match === 'w' ? 1 : 2, '0'); + + case 'W': + case 'WW': + return utils.s(_this.isoWeek(), match === 'W' ? 1 : 2, '0'); + + case 'k': + case 'kk': + return utils.s(String(_this.$H === 0 ? 24 : _this.$H), match === 'k' ? 1 : 2, '0'); + + case 'X': + return Math.floor(_this.$d.getTime() / 1000); + + case 'x': + return _this.$d.getTime(); + + case 'z': + return "[" + _this.offsetName() + "]"; + + case 'zzz': + return "[" + _this.offsetName('long') + "]"; + + default: + return match; + } + }); + return oldFormat.bind(this)(result); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts new file mode 100644 index 0000000..30f8d9c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare module 'dayjs/esm' { + interface ConfigTypeMap { + arraySupport: [number?, number?, number?, number?, number?, number?, number?] + } +} + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/arraySupport/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/arraySupport/index.js new file mode 100644 index 0000000..c7edc79 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/arraySupport/index.js @@ -0,0 +1,33 @@ +export default (function (o, c, dayjs) { + var proto = c.prototype; + + var parseDate = function parseDate(cfg) { + var date = cfg.date, + utc = cfg.utc; + + if (Array.isArray(date)) { + if (utc) { + if (!date.length) { + return new Date(); + } + + return new Date(Date.UTC.apply(null, date)); + } + + if (date.length === 1) { + return dayjs(String(date[0])).toDate(); + } + + return new (Function.prototype.bind.apply(Date, [null].concat(date)))(); + } + + return date; + }; + + var oldParse = proto.parse; + + proto.parse = function (cfg) { + cfg.date = parseDate.bind(this)(cfg); + oldParse.bind(this)(cfg); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/badMutable/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/badMutable/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/badMutable/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/badMutable/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/badMutable/index.js new file mode 100644 index 0000000..679edee --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/badMutable/index.js @@ -0,0 +1,61 @@ +export default (function (o, c) { + // locale needed later + var proto = c.prototype; + + proto.$g = function (input, get, set) { + if (this.$utils().u(input)) return this[get]; + return this.$set(set, input); + }; + + proto.set = function (string, _int) { + return this.$set(string, _int); + }; + + var oldStartOf = proto.startOf; + + proto.startOf = function (units, startOf) { + this.$d = oldStartOf.bind(this)(units, startOf).toDate(); + this.init(); + return this; + }; + + var oldAdd = proto.add; + + proto.add = function (number, units) { + this.$d = oldAdd.bind(this)(number, units).toDate(); + this.init(); + return this; + }; + + var oldLocale = proto.locale; + + proto.locale = function (preset, object) { + if (!preset) return this.$L; + this.$L = oldLocale.bind(this)(preset, object).$L; + return this; + }; + + var oldDaysInMonth = proto.daysInMonth; + + proto.daysInMonth = function () { + return oldDaysInMonth.bind(this.clone())(); + }; + + var oldIsSame = proto.isSame; + + proto.isSame = function (that, units) { + return oldIsSame.bind(this.clone())(that, units); + }; + + var oldIsBefore = proto.isBefore; + + proto.isBefore = function (that, units) { + return oldIsBefore.bind(this.clone())(that, units); + }; + + var oldIsAfter = proto.isAfter; + + proto.isAfter = function (that, units) { + return oldIsAfter.bind(this.clone())(that, units); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts new file mode 100644 index 0000000..0829ead --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs/esm' + +declare module 'dayjs/esm' { + interface ConfigTypeMap { + bigIntSupport: BigInt + } + export function unix(t: BigInt): Dayjs +} + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/bigIntSupport/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/bigIntSupport/index.js new file mode 100644 index 0000000..fa93982 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/bigIntSupport/index.js @@ -0,0 +1,32 @@ +// eslint-disable-next-line valid-typeof +var isBigInt = function isBigInt(num) { + return typeof num === 'bigint'; +}; + +export default (function (o, c, dayjs) { + var proto = c.prototype; + + var parseDate = function parseDate(cfg) { + var date = cfg.date; + + if (isBigInt(date)) { + return Number(date); + } + + return date; + }; + + var oldParse = proto.parse; + + proto.parse = function (cfg) { + cfg.date = parseDate.bind(this)(cfg); + oldParse.bind(this)(cfg); + }; + + var oldUnix = dayjs.unix; + + dayjs.unix = function (timestamp) { + var ts = isBigInt(timestamp) ? Number(timestamp) : timestamp; + return oldUnix(ts); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/buddhistEra/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/buddhistEra/index.js new file mode 100644 index 0000000..76ce44c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/buddhistEra/index.js @@ -0,0 +1,21 @@ +import { FORMAT_DEFAULT } from '../../constant'; +export default (function (o, c) { + // locale needed later + var proto = c.prototype; + var oldFormat = proto.format; // extend en locale here + + proto.format = function (formatStr) { + var _this = this; + + var yearBias = 543; + var str = formatStr || FORMAT_DEFAULT; + var result = str.replace(/(\[[^\]]+])|BBBB|BB/g, function (match, a) { + var _this$$utils; + + var year = String(_this.$y + yearBias); + var args = match === 'BB' ? [year.slice(-2), 2] : [year, 4]; + return a || (_this$$utils = _this.$utils()).s.apply(_this$$utils, args.concat(['0'])); + }); + return oldFormat.bind(this)(result); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/calendar/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/calendar/index.d.ts new file mode 100644 index 0000000..42bff4b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/calendar/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + calendar(referenceTime?: ConfigType, formats?: object): string + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/calendar/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/calendar/index.js new file mode 100644 index 0000000..9abf1e9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/calendar/index.js @@ -0,0 +1,32 @@ +export default (function (o, c, d) { + var LT = 'h:mm A'; + var L = 'MM/DD/YYYY'; + var calendarFormat = { + lastDay: "[Yesterday at] " + LT, + sameDay: "[Today at] " + LT, + nextDay: "[Tomorrow at] " + LT, + nextWeek: "dddd [at] " + LT, + lastWeek: "[Last] dddd [at] " + LT, + sameElse: L + }; + var proto = c.prototype; + + proto.calendar = function (referenceTime, formats) { + var format = formats || this.$locale().calendar || calendarFormat; + var referenceStartOfDay = d(referenceTime || undefined).startOf('d'); + var diff = this.diff(referenceStartOfDay, 'd', true); + var sameElse = 'sameElse'; + /* eslint-disable no-nested-ternary */ + + var retVal = diff < -6 ? sameElse : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : sameElse; + /* eslint-enable no-nested-ternary */ + + var currentFormat = format[retVal] || calendarFormat[retVal]; + + if (typeof currentFormat === 'function') { + return currentFormat.call(this, d()); + } + + return this.format(currentFormat); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts new file mode 100644 index 0000000..7da585e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs/esm' + +declare interface PluginOptions { + parseTwoDigitYear?: (yearString: string) => number +} + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/customParseFormat/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/customParseFormat/index.js new file mode 100644 index 0000000..1fd5936 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/customParseFormat/index.js @@ -0,0 +1,320 @@ +import { u } from '../localizedFormat/utils'; +var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g; +var match1 = /\d/; // 0 - 9 + +var match2 = /\d\d/; // 00 - 99 + +var match3 = /\d{3}/; // 000 - 999 + +var match4 = /\d{4}/; // 0000 - 9999 + +var match1to2 = /\d\d?/; // 0 - 99 + +var matchSigned = /[+-]?\d+/; // -inf - inf + +var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z + +var matchWord = /\d*[^-_:/,()\s\d]+/; // Word + +var locale = {}; + +var parseTwoDigitYear = function parseTwoDigitYear(input) { + input = +input; + return input + (input > 68 ? 1900 : 2000); +}; + +function offsetFromString(string) { + if (!string) return 0; + if (string === 'Z') return 0; + var parts = string.match(/([+-]|\d\d)/g); + var minutes = +(parts[1] * 60) + (+parts[2] || 0); + return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary +} + +var addInput = function addInput(property) { + return function (input) { + this[property] = +input; + }; +}; + +var zoneExpressions = [matchOffset, function (input) { + var zone = this.zone || (this.zone = {}); + zone.offset = offsetFromString(input); +}]; + +var getLocalePart = function getLocalePart(name) { + var part = locale[name]; + return part && (part.indexOf ? part : part.s.concat(part.f)); +}; + +var meridiemMatch = function meridiemMatch(input, isLowerCase) { + var isAfternoon; + var _locale = locale, + meridiem = _locale.meridiem; + + if (!meridiem) { + isAfternoon = input === (isLowerCase ? 'pm' : 'PM'); + } else { + for (var i = 1; i <= 24; i += 1) { + // todo: fix input === meridiem(i, 0, isLowerCase) + if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) { + isAfternoon = i > 12; + break; + } + } + } + + return isAfternoon; +}; + +var expressions = { + A: [matchWord, function (input) { + this.afternoon = meridiemMatch(input, false); + }], + a: [matchWord, function (input) { + this.afternoon = meridiemMatch(input, true); + }], + S: [match1, function (input) { + this.milliseconds = +input * 100; + }], + SS: [match2, function (input) { + this.milliseconds = +input * 10; + }], + SSS: [match3, function (input) { + this.milliseconds = +input; + }], + s: [match1to2, addInput('seconds')], + ss: [match1to2, addInput('seconds')], + m: [match1to2, addInput('minutes')], + mm: [match1to2, addInput('minutes')], + H: [match1to2, addInput('hours')], + h: [match1to2, addInput('hours')], + HH: [match1to2, addInput('hours')], + hh: [match1to2, addInput('hours')], + D: [match1to2, addInput('day')], + DD: [match2, addInput('day')], + Do: [matchWord, function (input) { + var _locale2 = locale, + ordinal = _locale2.ordinal; + + var _input$match = input.match(/\d+/); + + this.day = _input$match[0]; + if (!ordinal) return; + + for (var i = 1; i <= 31; i += 1) { + if (ordinal(i).replace(/\[|\]/g, '') === input) { + this.day = i; + } + } + }], + M: [match1to2, addInput('month')], + MM: [match2, addInput('month')], + MMM: [matchWord, function (input) { + var months = getLocalePart('months'); + var monthsShort = getLocalePart('monthsShort'); + var matchIndex = (monthsShort || months.map(function (_) { + return _.slice(0, 3); + })).indexOf(input) + 1; + + if (matchIndex < 1) { + throw new Error(); + } + + this.month = matchIndex % 12 || matchIndex; + }], + MMMM: [matchWord, function (input) { + var months = getLocalePart('months'); + var matchIndex = months.indexOf(input) + 1; + + if (matchIndex < 1) { + throw new Error(); + } + + this.month = matchIndex % 12 || matchIndex; + }], + Y: [matchSigned, addInput('year')], + YY: [match2, function (input) { + this.year = parseTwoDigitYear(input); + }], + YYYY: [match4, addInput('year')], + Z: zoneExpressions, + ZZ: zoneExpressions +}; + +function correctHours(time) { + var afternoon = time.afternoon; + + if (afternoon !== undefined) { + var hours = time.hours; + + if (afternoon) { + if (hours < 12) { + time.hours += 12; + } + } else if (hours === 12) { + time.hours = 0; + } + + delete time.afternoon; + } +} + +function makeParser(format) { + format = u(format, locale && locale.formats); + var array = format.match(formattingTokens); + var length = array.length; + + for (var i = 0; i < length; i += 1) { + var token = array[i]; + var parseTo = expressions[token]; + var regex = parseTo && parseTo[0]; + var parser = parseTo && parseTo[1]; + + if (parser) { + array[i] = { + regex: regex, + parser: parser + }; + } else { + array[i] = token.replace(/^\[|\]$/g, ''); + } + } + + return function (input) { + var time = {}; + + for (var _i = 0, start = 0; _i < length; _i += 1) { + var _token = array[_i]; + + if (typeof _token === 'string') { + start += _token.length; + } else { + var _regex = _token.regex, + _parser = _token.parser; + var part = input.slice(start); + + var match = _regex.exec(part); + + var value = match[0]; + + _parser.call(time, value); + + input = input.replace(value, ''); + } + } + + correctHours(time); + return time; + }; +} + +var parseFormattedInput = function parseFormattedInput(input, format, utc) { + try { + if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input); + var parser = makeParser(format); + + var _parser2 = parser(input), + year = _parser2.year, + month = _parser2.month, + day = _parser2.day, + hours = _parser2.hours, + minutes = _parser2.minutes, + seconds = _parser2.seconds, + milliseconds = _parser2.milliseconds, + zone = _parser2.zone; + + var now = new Date(); + var d = day || (!year && !month ? now.getDate() : 1); + var y = year || now.getFullYear(); + var M = 0; + + if (!(year && !month)) { + M = month > 0 ? month - 1 : now.getMonth(); + } + + var h = hours || 0; + var m = minutes || 0; + var s = seconds || 0; + var ms = milliseconds || 0; + + if (zone) { + return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000)); + } + + if (utc) { + return new Date(Date.UTC(y, M, d, h, m, s, ms)); + } + + return new Date(y, M, d, h, m, s, ms); + } catch (e) { + return new Date(''); // Invalid Date + } +}; + +export default (function (o, C, d) { + d.p.customParseFormat = true; + + if (o && o.parseTwoDigitYear) { + parseTwoDigitYear = o.parseTwoDigitYear; + } + + var proto = C.prototype; + var oldParse = proto.parse; + + proto.parse = function (cfg) { + var date = cfg.date, + utc = cfg.utc, + args = cfg.args; + this.$u = utc; + var format = args[1]; + + if (typeof format === 'string') { + var isStrictWithoutLocale = args[2] === true; + var isStrictWithLocale = args[3] === true; + var isStrict = isStrictWithoutLocale || isStrictWithLocale; + var pl = args[2]; + + if (isStrictWithLocale) { + pl = args[2]; + } + + locale = this.$locale(); + + if (!isStrictWithoutLocale && pl) { + locale = d.Ls[pl]; + } + + this.$d = parseFormattedInput(date, format, utc); + this.init(); + if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat + // input number 1410715640579 and format string '1410715640579' equal + // eslint-disable-next-line eqeqeq + + if (isStrict && date != this.format(format)) { + this.$d = new Date(''); + } // reset global locale to make parallel unit test + + + locale = {}; + } else if (format instanceof Array) { + var len = format.length; + + for (var i = 1; i <= len; i += 1) { + args[1] = format[i - 1]; + var result = d.apply(this, args); + + if (result.isValid()) { + this.$d = result.$d; + this.$L = result.$L; + this.init(); + break; + } + + if (i === len) this.$d = new Date(''); + } + } else { + oldParse.call(this, cfg); + } + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts new file mode 100644 index 0000000..4b9601e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + dayOfYear(): number + dayOfYear(value: number): Dayjs + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/dayOfYear/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/dayOfYear/index.js new file mode 100644 index 0000000..0cb1158 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/dayOfYear/index.js @@ -0,0 +1,9 @@ +export default (function (o, c, d) { + var proto = c.prototype; + + proto.dayOfYear = function (input) { + // d(this) is for badMutable + var dayOfYear = Math.round((d(this).startOf('day') - d(this).startOf('year')) / 864e5) + 1; + return input == null ? dayOfYear : this.add(input - dayOfYear, 'day'); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/devHelper/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/devHelper/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/devHelper/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/devHelper/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/devHelper/index.js new file mode 100644 index 0000000..9e2af82 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/devHelper/index.js @@ -0,0 +1,38 @@ +/* eslint-disable no-console */ +export default (function (o, c, d) { + /* istanbul ignore next line */ + if (!process || process.env.NODE_ENV !== 'production') { + var proto = c.prototype; + var oldParse = proto.parse; + + proto.parse = function (cfg) { + var date = cfg.date; + + if (typeof date === 'string' && date.length === 13) { + console.warn("To parse a Unix timestamp like " + date + ", you should pass it as a Number. https://day.js.org/docs/en/parse/unix-timestamp-milliseconds"); + } + + if (typeof date === 'number' && String(date).length === 4) { + console.warn("Guessing you may want to parse the Year " + date + ", you should pass it as a String " + date + ", not a Number. Otherwise, " + date + " will be treated as a Unix timestamp"); + } + + if (cfg.args.length >= 2 && !d.p.customParseFormat) { + console.warn("To parse a date-time string like " + date + " using the given format, you should enable customParseFormat plugin first. https://day.js.org/docs/en/parse/string-format"); + } + + return oldParse.bind(this)(cfg); + }; + + var oldLocale = d.locale; + + d.locale = function (preset, object, isLocal) { + if (typeof object === 'undefined' && typeof preset === 'string') { + if (!d.Ls[preset]) { + console.warn("Guessing you may want to use locale " + preset + ", you have to load it before using it. https://day.js.org/docs/en/i18n/loading-into-nodejs"); + } + } + + return oldLocale(preset, object, isLocal); + }; + } +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/duration/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/duration/index.d.ts new file mode 100644 index 0000000..dc974a5 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/duration/index.d.ts @@ -0,0 +1,88 @@ +import { PluginFunc } from 'dayjs/esm' +import { OpUnitType, UnitTypeLongPlural } from 'dayjs/esm'; + +declare const plugin: PluginFunc +export as namespace plugin; +export = plugin + +declare namespace plugin { + /** + * @deprecated Please use more strict types + */ + type DurationInputType = string | number | object + /** + * @deprecated Please use more strict types + */ + type DurationAddType = number | object | Duration + + type DurationUnitsObjectType = Partial<{ + [unit in Exclude | "weeks"]: number + }>; + type DurationUnitType = Exclude + type CreateDurationType = + ((units: DurationUnitsObjectType) => Duration) + & ((time: number, unit?: DurationUnitType) => Duration) + & ((ISO_8601: string) => Duration) + type AddDurationType = CreateDurationType & ((duration: Duration) => Duration) + + interface Duration { + new (input: string | number | object, unit?: string, locale?: string): Duration + + clone(): Duration + + humanize(withSuffix?: boolean): string + + milliseconds(): number + asMilliseconds(): number + + seconds(): number + asSeconds(): number + + minutes(): number + asMinutes(): number + + hours(): number + asHours(): number + + days(): number + asDays(): number + + weeks(): number + asWeeks(): number + + months(): number + asMonths(): number + + years(): number + asYears(): number + + as(unit: DurationUnitType): number + + get(unit: DurationUnitType): number + + add: AddDurationType + + subtract: AddDurationType + + toJSON(): string + + toISOString(): string + + format(formatStr?: string): string + + locale(locale: string): Duration + } +} + +declare module 'dayjs/esm' { + interface Dayjs { + add(duration: plugin.Duration): Dayjs + subtract(duration: plugin.Duration): Dayjs + } + + /** + * @param time If unit is not present, time treated as number of milliseconds + */ + export const duration: plugin.CreateDurationType; + export function isDuration(d: any): d is plugin.Duration +} \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/duration/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/duration/index.js new file mode 100644 index 0000000..a241d4b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/duration/index.js @@ -0,0 +1,356 @@ +import { MILLISECONDS_A_DAY, MILLISECONDS_A_HOUR, MILLISECONDS_A_MINUTE, MILLISECONDS_A_SECOND, MILLISECONDS_A_WEEK, REGEX_FORMAT } from '../../constant'; +var MILLISECONDS_A_YEAR = MILLISECONDS_A_DAY * 365; +var MILLISECONDS_A_MONTH = MILLISECONDS_A_YEAR / 12; +var durationRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; +var unitToMS = { + years: MILLISECONDS_A_YEAR, + months: MILLISECONDS_A_MONTH, + days: MILLISECONDS_A_DAY, + hours: MILLISECONDS_A_HOUR, + minutes: MILLISECONDS_A_MINUTE, + seconds: MILLISECONDS_A_SECOND, + milliseconds: 1, + weeks: MILLISECONDS_A_WEEK +}; + +var isDuration = function isDuration(d) { + return d instanceof Duration; +}; // eslint-disable-line no-use-before-define + + +var $d; +var $u; + +var wrapper = function wrapper(input, instance, unit) { + return new Duration(input, unit, instance.$l); +}; // eslint-disable-line no-use-before-define + + +var prettyUnit = function prettyUnit(unit) { + return $u.p(unit) + "s"; +}; + +var isNegative = function isNegative(number) { + return number < 0; +}; + +var roundNumber = function roundNumber(number) { + return isNegative(number) ? Math.ceil(number) : Math.floor(number); +}; + +var absolute = function absolute(number) { + return Math.abs(number); +}; + +var getNumberUnitFormat = function getNumberUnitFormat(number, unit) { + if (!number) { + return { + negative: false, + format: '' + }; + } + + if (isNegative(number)) { + return { + negative: true, + format: "" + absolute(number) + unit + }; + } + + return { + negative: false, + format: "" + number + unit + }; +}; + +var Duration = /*#__PURE__*/function () { + function Duration(input, unit, locale) { + var _this = this; + + this.$d = {}; + this.$l = locale; + + if (input === undefined) { + this.$ms = 0; + this.parseFromMilliseconds(); + } + + if (unit) { + return wrapper(input * unitToMS[prettyUnit(unit)], this); + } + + if (typeof input === 'number') { + this.$ms = input; + this.parseFromMilliseconds(); + return this; + } + + if (typeof input === 'object') { + Object.keys(input).forEach(function (k) { + _this.$d[prettyUnit(k)] = input[k]; + }); + this.calMilliseconds(); + return this; + } + + if (typeof input === 'string') { + var d = input.match(durationRegex); + + if (d) { + var properties = d.slice(2); + var numberD = properties.map(function (value) { + return value != null ? Number(value) : 0; + }); + this.$d.years = numberD[0]; + this.$d.months = numberD[1]; + this.$d.weeks = numberD[2]; + this.$d.days = numberD[3]; + this.$d.hours = numberD[4]; + this.$d.minutes = numberD[5]; + this.$d.seconds = numberD[6]; + this.calMilliseconds(); + return this; + } + } + + return this; + } + + var _proto = Duration.prototype; + + _proto.calMilliseconds = function calMilliseconds() { + var _this2 = this; + + this.$ms = Object.keys(this.$d).reduce(function (total, unit) { + return total + (_this2.$d[unit] || 0) * unitToMS[unit]; + }, 0); + }; + + _proto.parseFromMilliseconds = function parseFromMilliseconds() { + var $ms = this.$ms; + this.$d.years = roundNumber($ms / MILLISECONDS_A_YEAR); + $ms %= MILLISECONDS_A_YEAR; + this.$d.months = roundNumber($ms / MILLISECONDS_A_MONTH); + $ms %= MILLISECONDS_A_MONTH; + this.$d.days = roundNumber($ms / MILLISECONDS_A_DAY); + $ms %= MILLISECONDS_A_DAY; + this.$d.hours = roundNumber($ms / MILLISECONDS_A_HOUR); + $ms %= MILLISECONDS_A_HOUR; + this.$d.minutes = roundNumber($ms / MILLISECONDS_A_MINUTE); + $ms %= MILLISECONDS_A_MINUTE; + this.$d.seconds = roundNumber($ms / MILLISECONDS_A_SECOND); + $ms %= MILLISECONDS_A_SECOND; + this.$d.milliseconds = $ms; + }; + + _proto.toISOString = function toISOString() { + var Y = getNumberUnitFormat(this.$d.years, 'Y'); + var M = getNumberUnitFormat(this.$d.months, 'M'); + var days = +this.$d.days || 0; + + if (this.$d.weeks) { + days += this.$d.weeks * 7; + } + + var D = getNumberUnitFormat(days, 'D'); + var H = getNumberUnitFormat(this.$d.hours, 'H'); + var m = getNumberUnitFormat(this.$d.minutes, 'M'); + var seconds = this.$d.seconds || 0; + + if (this.$d.milliseconds) { + seconds += this.$d.milliseconds / 1000; + seconds = Math.round(seconds * 1000) / 1000; + } + + var S = getNumberUnitFormat(seconds, 'S'); + var negativeMode = Y.negative || M.negative || D.negative || H.negative || m.negative || S.negative; + var T = H.format || m.format || S.format ? 'T' : ''; + var P = negativeMode ? '-' : ''; + var result = P + "P" + Y.format + M.format + D.format + T + H.format + m.format + S.format; + return result === 'P' || result === '-P' ? 'P0D' : result; + }; + + _proto.toJSON = function toJSON() { + return this.toISOString(); + }; + + _proto.format = function format(formatStr) { + var str = formatStr || 'YYYY-MM-DDTHH:mm:ss'; + var matches = { + Y: this.$d.years, + YY: $u.s(this.$d.years, 2, '0'), + YYYY: $u.s(this.$d.years, 4, '0'), + M: this.$d.months, + MM: $u.s(this.$d.months, 2, '0'), + D: this.$d.days, + DD: $u.s(this.$d.days, 2, '0'), + H: this.$d.hours, + HH: $u.s(this.$d.hours, 2, '0'), + m: this.$d.minutes, + mm: $u.s(this.$d.minutes, 2, '0'), + s: this.$d.seconds, + ss: $u.s(this.$d.seconds, 2, '0'), + SSS: $u.s(this.$d.milliseconds, 3, '0') + }; + return str.replace(REGEX_FORMAT, function (match, $1) { + return $1 || String(matches[match]); + }); + }; + + _proto.as = function as(unit) { + return this.$ms / unitToMS[prettyUnit(unit)]; + }; + + _proto.get = function get(unit) { + var base = this.$ms; + var pUnit = prettyUnit(unit); + + if (pUnit === 'milliseconds') { + base %= 1000; + } else if (pUnit === 'weeks') { + base = roundNumber(base / unitToMS[pUnit]); + } else { + base = this.$d[pUnit]; + } + + return base || 0; // a === 0 will be true on both 0 and -0 + }; + + _proto.add = function add(input, unit, isSubtract) { + var another; + + if (unit) { + another = input * unitToMS[prettyUnit(unit)]; + } else if (isDuration(input)) { + another = input.$ms; + } else { + another = wrapper(input, this).$ms; + } + + return wrapper(this.$ms + another * (isSubtract ? -1 : 1), this); + }; + + _proto.subtract = function subtract(input, unit) { + return this.add(input, unit, true); + }; + + _proto.locale = function locale(l) { + var that = this.clone(); + that.$l = l; + return that; + }; + + _proto.clone = function clone() { + return wrapper(this.$ms, this); + }; + + _proto.humanize = function humanize(withSuffix) { + return $d().add(this.$ms, 'ms').locale(this.$l).fromNow(!withSuffix); + }; + + _proto.valueOf = function valueOf() { + return this.asMilliseconds(); + }; + + _proto.milliseconds = function milliseconds() { + return this.get('milliseconds'); + }; + + _proto.asMilliseconds = function asMilliseconds() { + return this.as('milliseconds'); + }; + + _proto.seconds = function seconds() { + return this.get('seconds'); + }; + + _proto.asSeconds = function asSeconds() { + return this.as('seconds'); + }; + + _proto.minutes = function minutes() { + return this.get('minutes'); + }; + + _proto.asMinutes = function asMinutes() { + return this.as('minutes'); + }; + + _proto.hours = function hours() { + return this.get('hours'); + }; + + _proto.asHours = function asHours() { + return this.as('hours'); + }; + + _proto.days = function days() { + return this.get('days'); + }; + + _proto.asDays = function asDays() { + return this.as('days'); + }; + + _proto.weeks = function weeks() { + return this.get('weeks'); + }; + + _proto.asWeeks = function asWeeks() { + return this.as('weeks'); + }; + + _proto.months = function months() { + return this.get('months'); + }; + + _proto.asMonths = function asMonths() { + return this.as('months'); + }; + + _proto.years = function years() { + return this.get('years'); + }; + + _proto.asYears = function asYears() { + return this.as('years'); + }; + + return Duration; +}(); + +var manipulateDuration = function manipulateDuration(date, duration, k) { + return date.add(duration.years() * k, 'y').add(duration.months() * k, 'M').add(duration.days() * k, 'd').add(duration.hours() * k, 'h').add(duration.minutes() * k, 'm').add(duration.seconds() * k, 's').add(duration.milliseconds() * k, 'ms'); +}; + +export default (function (option, Dayjs, dayjs) { + $d = dayjs; + $u = dayjs().$utils(); + + dayjs.duration = function (input, unit) { + var $l = dayjs.locale(); + return wrapper(input, { + $l: $l + }, unit); + }; + + dayjs.isDuration = isDuration; + var oldAdd = Dayjs.prototype.add; + var oldSubtract = Dayjs.prototype.subtract; + + Dayjs.prototype.add = function (value, unit) { + if (isDuration(value)) { + return manipulateDuration(this, value, 1); + } + + return oldAdd.bind(this)(value, unit); + }; + + Dayjs.prototype.subtract = function (value, unit) { + if (isDuration(value)) { + return manipulateDuration(this, value, -1); + } + + return oldSubtract.bind(this)(value, unit); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isBetween/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isBetween/index.d.ts new file mode 100644 index 0000000..1c62711 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isBetween/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)' | '(]'): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isBetween/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isBetween/index.js new file mode 100644 index 0000000..2182a89 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isBetween/index.js @@ -0,0 +1,10 @@ +export default (function (o, c, d) { + c.prototype.isBetween = function (a, b, u, i) { + var dA = d(a); + var dB = d(b); + i = i || '()'; + var dAi = i[0] === '('; + var dBi = i[1] === ')'; + return (dAi ? this.isAfter(dA, u) : !this.isBefore(dA, u)) && (dBi ? this.isBefore(dB, u) : !this.isAfter(dB, u)) || (dAi ? this.isBefore(dA, u) : !this.isAfter(dA, u)) && (dBi ? this.isAfter(dB, u) : !this.isBefore(dB, u)); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts new file mode 100644 index 0000000..627ec5a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isLeapYear(): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isLeapYear/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isLeapYear/index.js new file mode 100644 index 0000000..bf1309d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isLeapYear/index.js @@ -0,0 +1,7 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.isLeapYear = function () { + return this.$y % 4 === 0 && this.$y % 100 !== 0 || this.$y % 400 === 0; + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isMoment/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isMoment/index.d.ts new file mode 100644 index 0000000..6e3a69f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isMoment/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + + export function isMoment(input: any): boolean + +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isMoment/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isMoment/index.js new file mode 100644 index 0000000..48c8a89 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isMoment/index.js @@ -0,0 +1,5 @@ +export default (function (o, c, f) { + f.isMoment = function (input) { + return f.isDayjs(input); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts new file mode 100644 index 0000000..7b6d239 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isSameOrAfter(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js new file mode 100644 index 0000000..6a5c56f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js @@ -0,0 +1,5 @@ +export default (function (o, c) { + c.prototype.isSameOrAfter = function (that, units) { + return this.isSame(that, units) || this.isAfter(that, units); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts new file mode 100644 index 0000000..7ec009f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isSameOrBefore(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js new file mode 100644 index 0000000..18d526a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js @@ -0,0 +1,5 @@ +export default (function (o, c) { + c.prototype.isSameOrBefore = function (that, units) { + return this.isSame(that, units) || this.isBefore(that, units); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isToday/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isToday/index.d.ts new file mode 100644 index 0000000..8d55da8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isToday/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isToday(): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isToday/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isToday/index.js new file mode 100644 index 0000000..93b36c8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isToday/index.js @@ -0,0 +1,9 @@ +export default (function (o, c, d) { + var proto = c.prototype; + + proto.isToday = function () { + var comparisonTemplate = 'YYYY-MM-DD'; + var now = d(); + return this.format(comparisonTemplate) === now.format(comparisonTemplate); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts new file mode 100644 index 0000000..7652237 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isTomorrow(): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isTomorrow/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isTomorrow/index.js new file mode 100644 index 0000000..8cc7238 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isTomorrow/index.js @@ -0,0 +1,9 @@ +export default (function (o, c, d) { + var proto = c.prototype; + + proto.isTomorrow = function () { + var comparisonTemplate = 'YYYY-MM-DD'; + var tomorrow = d().add(1, 'day'); + return this.format(comparisonTemplate) === tomorrow.format(comparisonTemplate); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts new file mode 100644 index 0000000..f4370dc --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isYesterday(): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isYesterday/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isYesterday/index.js new file mode 100644 index 0000000..fa55373 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isYesterday/index.js @@ -0,0 +1,9 @@ +export default (function (o, c, d) { + var proto = c.prototype; + + proto.isYesterday = function () { + var comparisonTemplate = 'YYYY-MM-DD'; + var yesterday = d().subtract(1, 'day'); + return this.format(comparisonTemplate) === yesterday.format(comparisonTemplate); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts new file mode 100644 index 0000000..6e6a75a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts @@ -0,0 +1,27 @@ +import { PluginFunc, OpUnitType, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +type ISOUnitType = OpUnitType | 'isoWeek'; + +declare module 'dayjs/esm' { + interface Dayjs { + isoWeekYear(): number + isoWeek(): number + isoWeek(value: number): Dayjs + + isoWeekday(): number + isoWeekday(value: number): Dayjs + + startOf(unit: ISOUnitType): Dayjs + + endOf(unit: ISOUnitType): Dayjs + + isSame(date?: ConfigType, unit?: ISOUnitType): boolean + + isBefore(date?: ConfigType, unit?: ISOUnitType): boolean + + isAfter(date?: ConfigType, unit?: ISOUnitType): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isoWeek/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isoWeek/index.js new file mode 100644 index 0000000..289ea7c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isoWeek/index.js @@ -0,0 +1,57 @@ +import { D, W, Y } from '../../constant'; +var isoWeekPrettyUnit = 'isoweek'; +export default (function (o, c, d) { + var getYearFirstThursday = function getYearFirstThursday(year, isUtc) { + var yearFirstDay = (isUtc ? d.utc : d)().year(year).startOf(Y); + var addDiffDays = 4 - yearFirstDay.isoWeekday(); + + if (yearFirstDay.isoWeekday() > 4) { + addDiffDays += 7; + } + + return yearFirstDay.add(addDiffDays, D); + }; + + var getCurrentWeekThursday = function getCurrentWeekThursday(ins) { + return ins.add(4 - ins.isoWeekday(), D); + }; + + var proto = c.prototype; + + proto.isoWeekYear = function () { + var nowWeekThursday = getCurrentWeekThursday(this); + return nowWeekThursday.year(); + }; + + proto.isoWeek = function (week) { + if (!this.$utils().u(week)) { + return this.add((week - this.isoWeek()) * 7, D); + } + + var nowWeekThursday = getCurrentWeekThursday(this); + var diffWeekThursday = getYearFirstThursday(this.isoWeekYear(), this.$u); + return nowWeekThursday.diff(diffWeekThursday, W) + 1; + }; + + proto.isoWeekday = function (week) { + if (!this.$utils().u(week)) { + return this.day(this.day() % 7 ? week : week - 7); + } + + return this.day() || 7; + }; + + var oldStartOf = proto.startOf; + + proto.startOf = function (units, startOf) { + var utils = this.$utils(); + var isStartOf = !utils.u(startOf) ? startOf : true; + var unit = utils.p(units); + + if (unit === isoWeekPrettyUnit) { + return isStartOf ? this.date(this.date() - (this.isoWeekday() - 1)).startOf('day') : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf('day'); + } + + return oldStartOf.bind(this)(units, startOf); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts new file mode 100644 index 0000000..986360f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isoWeeksInYear(): number + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js new file mode 100644 index 0000000..7161894 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js @@ -0,0 +1,15 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.isoWeeksInYear = function () { + var isLeapYear = this.isLeapYear(); + var last = this.endOf('y'); + var day = last.day(); + + if (day === 4 || isLeapYear && day === 5) { + return 53; + } + + return 52; + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/localeData/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/localeData/index.d.ts new file mode 100644 index 0000000..9f8762e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/localeData/index.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + type WeekdayNames = [string, string, string, string, string, string, string]; + type MonthNames = [string, string, string, string, string, string, string, string, string, string, string, string]; + + interface InstanceLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(instance?: Dayjs): WeekdayNames; + weekdaysShort(instance?: Dayjs): WeekdayNames; + weekdaysMin(instance?: Dayjs): WeekdayNames; + months(instance?: Dayjs): MonthNames; + monthsShort(instance?: Dayjs): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface GlobalLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(): WeekdayNames; + weekdaysShort(): WeekdayNames; + weekdaysMin(): WeekdayNames; + months(): MonthNames; + monthsShort(): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface Dayjs { + localeData(): InstanceLocaleDataReturn; + } + + export function weekdays(localOrder?: boolean): WeekdayNames; + export function weekdaysShort(localOrder?: boolean): WeekdayNames; + export function weekdaysMin(localOrder?: boolean): WeekdayNames; + export function monthsShort(): MonthNames; + export function months(): MonthNames; + export function localeData(): GlobalLocaleDataReturn; +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/localeData/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/localeData/index.js new file mode 100644 index 0000000..c48d92c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/localeData/index.js @@ -0,0 +1,114 @@ +import { t } from '../localizedFormat/utils'; +export default (function (o, c, dayjs) { + // locale needed later + var proto = c.prototype; + + var getLocalePart = function getLocalePart(part) { + return part && (part.indexOf ? part : part.s); + }; + + var getShort = function getShort(ins, target, full, num, localeOrder) { + var locale = ins.name ? ins : ins.$locale(); + var targetLocale = getLocalePart(locale[target]); + var fullLocale = getLocalePart(locale[full]); + var result = targetLocale || fullLocale.map(function (f) { + return f.slice(0, num); + }); + if (!localeOrder) return result; + var weekStart = locale.weekStart; + return result.map(function (_, index) { + return result[(index + (weekStart || 0)) % 7]; + }); + }; + + var getDayjsLocaleObject = function getDayjsLocaleObject() { + return dayjs.Ls[dayjs.locale()]; + }; + + var getLongDateFormat = function getLongDateFormat(l, format) { + return l.formats[format] || t(l.formats[format.toUpperCase()]); + }; + + var localeData = function localeData() { + var _this = this; + + return { + months: function months(instance) { + return instance ? instance.format('MMMM') : getShort(_this, 'months'); + }, + monthsShort: function monthsShort(instance) { + return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3); + }, + firstDayOfWeek: function firstDayOfWeek() { + return _this.$locale().weekStart || 0; + }, + weekdays: function weekdays(instance) { + return instance ? instance.format('dddd') : getShort(_this, 'weekdays'); + }, + weekdaysMin: function weekdaysMin(instance) { + return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2); + }, + weekdaysShort: function weekdaysShort(instance) { + return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3); + }, + longDateFormat: function longDateFormat(format) { + return getLongDateFormat(_this.$locale(), format); + }, + meridiem: this.$locale().meridiem, + ordinal: this.$locale().ordinal + }; + }; + + proto.localeData = function () { + return localeData.bind(this)(); + }; + + dayjs.localeData = function () { + var localeObject = getDayjsLocaleObject(); + return { + firstDayOfWeek: function firstDayOfWeek() { + return localeObject.weekStart || 0; + }, + weekdays: function weekdays() { + return dayjs.weekdays(); + }, + weekdaysShort: function weekdaysShort() { + return dayjs.weekdaysShort(); + }, + weekdaysMin: function weekdaysMin() { + return dayjs.weekdaysMin(); + }, + months: function months() { + return dayjs.months(); + }, + monthsShort: function monthsShort() { + return dayjs.monthsShort(); + }, + longDateFormat: function longDateFormat(format) { + return getLongDateFormat(localeObject, format); + }, + meridiem: localeObject.meridiem, + ordinal: localeObject.ordinal + }; + }; + + dayjs.months = function () { + return getShort(getDayjsLocaleObject(), 'months'); + }; + + dayjs.monthsShort = function () { + return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3); + }; + + dayjs.weekdays = function (localeOrder) { + return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder); + }; + + dayjs.weekdaysShort = function (localeOrder) { + return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder); + }; + + dayjs.weekdaysMin = function (localeOrder) { + return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/index.js new file mode 100644 index 0000000..9defb1f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/index.js @@ -0,0 +1,20 @@ +import { FORMAT_DEFAULT } from '../../constant'; +import { u, englishFormats } from './utils'; +export default (function (o, c, d) { + var proto = c.prototype; + var oldFormat = proto.format; + d.en.formats = englishFormats; + + proto.format = function (formatStr) { + if (formatStr === void 0) { + formatStr = FORMAT_DEFAULT; + } + + var _this$$locale = this.$locale(), + _this$$locale$formats = _this$$locale.formats, + formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats; + + var result = u(formatStr, formats); + return oldFormat.call(this, result); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/utils.js b/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/utils.js new file mode 100644 index 0000000..1f48eff --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/localizedFormat/utils.js @@ -0,0 +1,20 @@ +// eslint-disable-next-line import/prefer-default-export +export var t = function t(format) { + return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) { + return a || b.slice(1); + }); +}; +export var englishFormats = { + LTS: 'h:mm:ss A', + LT: 'h:mm A', + L: 'MM/DD/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A' +}; +export var u = function u(formatStr, formats) { + return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) { + var B = b && b.toUpperCase(); + return a || formats[b] || englishFormats[b] || t(formats[B]); + }); +}; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/minMax/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/minMax/index.d.ts new file mode 100644 index 0000000..143370c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/minMax/index.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + export function max(dayjs: Dayjs[]): Dayjs | null + export function max(...dayjs: Dayjs[]): Dayjs | null + export function min(dayjs: Dayjs[]): Dayjs | null + export function min(...dayjs: Dayjs[]): Dayjs | null +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/minMax/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/minMax/index.js new file mode 100644 index 0000000..0fd68e9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/minMax/index.js @@ -0,0 +1,39 @@ +export default (function (o, c, d) { + var sortBy = function sortBy(method, dates) { + if (!dates || !dates.length || dates.length === 1 && !dates[0] || dates.length === 1 && Array.isArray(dates[0]) && !dates[0].length) { + return null; + } + + if (dates.length === 1 && dates[0].length > 0) { + var _dates = dates; + dates = _dates[0]; + } + + dates = dates.filter(function (date) { + return date; + }); + var result; + var _dates2 = dates; + result = _dates2[0]; + + for (var i = 1; i < dates.length; i += 1) { + if (!dates[i].isValid() || dates[i][method](result)) { + result = dates[i]; + } + } + + return result; + }; + + d.max = function () { + var args = [].slice.call(arguments, 0); // eslint-disable-line prefer-rest-params + + return sortBy('isAfter', args); + }; + + d.min = function () { + var args = [].slice.call(arguments, 0); // eslint-disable-line prefer-rest-params + + return sortBy('isBefore', args); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts new file mode 100644 index 0000000..03b8b7c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts @@ -0,0 +1,48 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + set(argument: object): Dayjs + add(argument: object): Dayjs + subtract(argument: object): Dayjs + } + + interface ConfigTypeMap { + objectSupport: { + years?: number | string; + year?: number | string; + y?: number | string; + + months?: number | string; + month?: number | string; + M?: number | string; + + days?: number | string; + day?: number | string; + d?: number | string; + + dates?: number | string; + date?: number | string; + D?: number | string; + + hours?: number | string; + hour?: number | string; + h?: number | string; + + minutes?: number | string; + minute?: number | string; + m?: number | string; + + seconds?: number | string; + second?: number | string; + s?: number | string; + + milliseconds?: number | string; + millisecond?: number | string; + ms?: number | string; + } + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/objectSupport/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/objectSupport/index.js new file mode 100644 index 0000000..61636e7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/objectSupport/index.js @@ -0,0 +1,97 @@ +export default (function (o, c, dayjs) { + var proto = c.prototype; + + var isObject = function isObject(obj) { + return obj !== null && !(obj instanceof Date) && !(obj instanceof Array) && !proto.$utils().u(obj) && obj.constructor.name === 'Object'; + }; + + var prettyUnit = function prettyUnit(u) { + var unit = proto.$utils().p(u); + return unit === 'date' ? 'day' : unit; + }; + + var parseDate = function parseDate(cfg) { + var date = cfg.date, + utc = cfg.utc; + var $d = {}; + + if (isObject(date)) { + if (!Object.keys(date).length) { + return new Date(); + } + + var now = utc ? dayjs.utc() : dayjs(); + Object.keys(date).forEach(function (k) { + $d[prettyUnit(k)] = date[k]; + }); + var d = $d.day || (!$d.year && !($d.month >= 0) ? now.date() : 1); + var y = $d.year || now.year(); + var M = $d.month >= 0 ? $d.month : !$d.year && !$d.day ? now.month() : 0; // eslint-disable-line no-nested-ternary,max-len + + var h = $d.hour || 0; + var m = $d.minute || 0; + var s = $d.second || 0; + var ms = $d.millisecond || 0; + + if (utc) { + return new Date(Date.UTC(y, M, d, h, m, s, ms)); + } + + return new Date(y, M, d, h, m, s, ms); + } + + return date; + }; + + var oldParse = proto.parse; + + proto.parse = function (cfg) { + cfg.date = parseDate.bind(this)(cfg); + oldParse.bind(this)(cfg); + }; + + var oldSet = proto.set; + var oldAdd = proto.add; + var oldSubtract = proto.subtract; + + var callObject = function callObject(call, argument, string, offset) { + if (offset === void 0) { + offset = 1; + } + + var keys = Object.keys(argument); + var chain = this; + keys.forEach(function (key) { + chain = call.bind(chain)(argument[key] * offset, key); + }); + return chain; + }; + + proto.set = function (unit, value) { + value = value === undefined ? unit : value; + + if (unit.constructor.name === 'Object') { + return callObject.bind(this)(function (i, s) { + return oldSet.bind(this)(s, i); + }, value, unit); + } + + return oldSet.bind(this)(unit, value); + }; + + proto.add = function (value, unit) { + if (value.constructor.name === 'Object') { + return callObject.bind(this)(oldAdd, value, unit); + } + + return oldAdd.bind(this)(value, unit); + }; + + proto.subtract = function (value, unit) { + if (value.constructor.name === 'Object') { + return callObject.bind(this)(oldAdd, value, unit, -1); + } + + return oldSubtract.bind(this)(value, unit); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts new file mode 100644 index 0000000..7ef7167 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc, UnitType, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + years(): number + + years(value: number): Dayjs + + months(): number + + months(value: number): Dayjs + + dates(): number + + dates(value: number): Dayjs + + weeks(): number + + weeks(value: number): Dayjs + + days(): number + + days(value: number): Dayjs + + hours(): number + + hours(value: number): Dayjs + + minutes(): number + + minutes(value: number): Dayjs + + seconds(): number + + seconds(value: number): Dayjs + + milliseconds(): number + + milliseconds(value: number): Dayjs + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/pluralGetSet/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/pluralGetSet/index.js new file mode 100644 index 0000000..d8214d6 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/pluralGetSet/index.js @@ -0,0 +1,7 @@ +export default (function (o, c) { + var proto = c.prototype; + var pluralAliases = ['milliseconds', 'seconds', 'minutes', 'hours', 'days', 'weeks', 'isoWeeks', 'months', 'quarters', 'years', 'dates']; + pluralAliases.forEach(function (alias) { + proto[alias] = proto[alias.replace(/s$/, '')]; + }); +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js new file mode 100644 index 0000000..7654ccb --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js @@ -0,0 +1,40 @@ +// Plugin template from https://day.js.org/docs/en/plugin/plugin +export default (function (option, dayjsClass) { + var oldParse = dayjsClass.prototype.parse; + + dayjsClass.prototype.parse = function (cfg) { + if (typeof cfg.date === 'string') { + var locale = this.$locale(); + cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date; + } // original parse result + + + return oldParse.bind(this)(cfg); + }; // // overriding existing API + // // e.g. extend dayjs().format() + + + var oldFormat = dayjsClass.prototype.format; + + dayjsClass.prototype.format = function () { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + // original format result + var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result + + var locale = this.$locale(); + return locale && locale.postformat ? locale.postformat(result) : result; + }; + + var oldFromTo = dayjsClass.prototype.fromToBase; + + if (oldFromTo) { + dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) { + var locale = this.$locale() || instance.$locale(); // original format result + + return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat); + }; + } +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts new file mode 100644 index 0000000..37691c1 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts @@ -0,0 +1,26 @@ +import { PluginFunc, ConfigType, QUnitType, OpUnitType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + quarter(): number + + quarter(quarter: number): Dayjs + + add(value: number, unit: QUnitType): Dayjs + + subtract(value: number, unit: QUnitType): Dayjs + + startOf(unit: QUnitType | OpUnitType): Dayjs + + endOf(unit: QUnitType | OpUnitType): Dayjs + + isSame(date?: ConfigType, unit?: QUnitType): boolean + + isBefore(date?: ConfigType, unit?: QUnitType): boolean + + isAfter(date?: ConfigType, unit?: QUnitType): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/quarterOfYear/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/quarterOfYear/index.js new file mode 100644 index 0000000..e376889 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/quarterOfYear/index.js @@ -0,0 +1,41 @@ +import { Q, M, D } from '../../constant'; +export default (function (o, c) { + var proto = c.prototype; + + proto.quarter = function (quarter) { + if (!this.$utils().u(quarter)) { + return this.month(this.month() % 3 + (quarter - 1) * 3); + } + + return Math.ceil((this.month() + 1) / 3); + }; + + var oldAdd = proto.add; + + proto.add = function (number, units) { + number = Number(number); // eslint-disable-line no-param-reassign + + var unit = this.$utils().p(units); + + if (unit === Q) { + return this.add(number * 3, M); + } + + return oldAdd.bind(this)(number, units); + }; + + var oldStartOf = proto.startOf; + + proto.startOf = function (units, startOf) { + var utils = this.$utils(); + var isStartOf = !utils.u(startOf) ? startOf : true; + var unit = utils.p(units); + + if (unit === Q) { + var quarter = this.quarter() - 1; + return isStartOf ? this.month(quarter * 3).startOf(M).startOf(D) : this.month(quarter * 3 + 2).endOf(M).endOf(D); + } + + return oldStartOf.bind(this)(units, startOf); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts new file mode 100644 index 0000000..e1b17cf --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts @@ -0,0 +1,24 @@ +import { PluginFunc, ConfigType } from 'dayjs/esm' + +declare interface RelativeTimeThreshold { + l: string + r?: number + d?: string +} + +declare interface RelativeTimeOptions { + rounding?: (num: number) => number + thresholds?: RelativeTimeThreshold[] +} + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + fromNow(withoutSuffix?: boolean): string + from(compared: ConfigType, withoutSuffix?: boolean): string + toNow(withoutSuffix?: boolean): string + to(compared: ConfigType, withoutSuffix?: boolean): string + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/relativeTime/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/relativeTime/index.js new file mode 100644 index 0000000..88fdbbe --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/relativeTime/index.js @@ -0,0 +1,130 @@ +import * as C from '../../constant'; +export default (function (o, c, d) { + o = o || {}; + var proto = c.prototype; + var relObj = { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + }; + d.en.relativeTime = relObj; + + proto.fromToBase = function (input, withoutSuffix, instance, isFrom, postFormat) { + var loc = instance.$locale().relativeTime || relObj; + var T = o.thresholds || [{ + l: 's', + r: 44, + d: C.S + }, { + l: 'm', + r: 89 + }, { + l: 'mm', + r: 44, + d: C.MIN + }, { + l: 'h', + r: 89 + }, { + l: 'hh', + r: 21, + d: C.H + }, { + l: 'd', + r: 35 + }, { + l: 'dd', + r: 25, + d: C.D + }, { + l: 'M', + r: 45 + }, { + l: 'MM', + r: 10, + d: C.M + }, { + l: 'y', + r: 17 + }, { + l: 'yy', + d: C.Y + }]; + var Tl = T.length; + var result; + var out; + var isFuture; + + for (var i = 0; i < Tl; i += 1) { + var t = T[i]; + + if (t.d) { + result = isFrom ? d(input).diff(instance, t.d, true) : instance.diff(input, t.d, true); + } + + var abs = (o.rounding || Math.round)(Math.abs(result)); + isFuture = result > 0; + + if (abs <= t.r || !t.r) { + if (abs <= 1 && i > 0) t = T[i - 1]; // 1 minutes -> a minute, 0 seconds -> 0 second + + var format = loc[t.l]; + + if (postFormat) { + abs = postFormat("" + abs); + } + + if (typeof format === 'string') { + out = format.replace('%d', abs); + } else { + out = format(abs, withoutSuffix, t.l, isFuture); + } + + break; + } + } + + if (withoutSuffix) return out; + var pastOrFuture = isFuture ? loc.future : loc.past; + + if (typeof pastOrFuture === 'function') { + return pastOrFuture(out); + } + + return pastOrFuture.replace('%s', out); + }; + + function fromTo(input, withoutSuffix, instance, isFrom) { + return proto.fromToBase(input, withoutSuffix, instance, isFrom); + } + + proto.to = function (input, withoutSuffix) { + return fromTo(input, withoutSuffix, this, true); + }; + + proto.from = function (input, withoutSuffix) { + return fromTo(input, withoutSuffix, this); + }; + + var makeNow = function makeNow(thisDay) { + return thisDay.$u ? d.utc() : d(); + }; + + proto.toNow = function (withoutSuffix) { + return this.to(makeNow(this), withoutSuffix); + }; + + proto.fromNow = function (withoutSuffix) { + return this.from(makeNow(this), withoutSuffix); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/timezone/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/timezone/index.d.ts new file mode 100644 index 0000000..5a2d9f2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/timezone/index.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + tz(timezone?: string, keepLocalTime?: boolean): Dayjs + offsetName(type?: 'short' | 'long'): string | undefined + } + + interface DayjsTimezone { + (date?: ConfigType, timezone?: string): Dayjs + (date: ConfigType, format: string, timezone?: string): Dayjs + guess(): string + setDefault(timezone?: string): void + } + + const tz: DayjsTimezone +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/timezone/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/timezone/index.js new file mode 100644 index 0000000..490aff2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/timezone/index.js @@ -0,0 +1,189 @@ +import { MIN, MS } from '../../constant'; +var typeToPos = { + year: 0, + month: 1, + day: 2, + hour: 3, + minute: 4, + second: 5 +}; // Cache time-zone lookups from Intl.DateTimeFormat, +// as it is a *very* slow method. + +var dtfCache = {}; + +var getDateTimeFormat = function getDateTimeFormat(timezone, options) { + if (options === void 0) { + options = {}; + } + + var timeZoneName = options.timeZoneName || 'short'; + var key = timezone + "|" + timeZoneName; + var dtf = dtfCache[key]; + + if (!dtf) { + dtf = new Intl.DateTimeFormat('en-US', { + hour12: false, + timeZone: timezone, + year: 'numeric', + month: '2-digit', + day: '2-digit', + hour: '2-digit', + minute: '2-digit', + second: '2-digit', + timeZoneName: timeZoneName + }); + dtfCache[key] = dtf; + } + + return dtf; +}; + +export default (function (o, c, d) { + var defaultTimezone; + + var makeFormatParts = function makeFormatParts(timestamp, timezone, options) { + if (options === void 0) { + options = {}; + } + + var date = new Date(timestamp); + var dtf = getDateTimeFormat(timezone, options); + return dtf.formatToParts(date); + }; + + var tzOffset = function tzOffset(timestamp, timezone) { + var formatResult = makeFormatParts(timestamp, timezone); + var filled = []; + + for (var i = 0; i < formatResult.length; i += 1) { + var _formatResult$i = formatResult[i], + type = _formatResult$i.type, + value = _formatResult$i.value; + var pos = typeToPos[type]; + + if (pos >= 0) { + filled[pos] = parseInt(value, 10); + } + } + + var hour = filled[3]; // Workaround for the same behavior in different node version + // https://github.com/nodejs/node/issues/33027 + + /* istanbul ignore next */ + + var fixedHour = hour === 24 ? 0 : hour; + var utcString = filled[0] + "-" + filled[1] + "-" + filled[2] + " " + fixedHour + ":" + filled[4] + ":" + filled[5] + ":000"; + var utcTs = d.utc(utcString).valueOf(); + var asTS = +timestamp; + var over = asTS % 1000; + asTS -= over; + return (utcTs - asTS) / (60 * 1000); + }; // find the right offset a given local time. The o input is our guess, which determines which + // offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST) + // https://github.com/moment/luxon/blob/master/src/datetime.js#L76 + + + var fixOffset = function fixOffset(localTS, o0, tz) { + // Our UTC time is just a guess because our offset is just a guess + var utcGuess = localTS - o0 * 60 * 1000; // Test whether the zone matches the offset for this ts + + var o2 = tzOffset(utcGuess, tz); // If so, offset didn't change and we're done + + if (o0 === o2) { + return [utcGuess, o0]; + } // If not, change the ts by the difference in the offset + + + utcGuess -= (o2 - o0) * 60 * 1000; // If that gives us the local time we want, we're done + + var o3 = tzOffset(utcGuess, tz); + + if (o2 === o3) { + return [utcGuess, o2]; + } // If it's different, we're in a hole time. + // The offset has changed, but the we don't adjust the time + + + return [localTS - Math.min(o2, o3) * 60 * 1000, Math.max(o2, o3)]; + }; + + var proto = c.prototype; + + proto.tz = function (timezone, keepLocalTime) { + if (timezone === void 0) { + timezone = defaultTimezone; + } + + var oldOffset = this.utcOffset(); + var date = this.toDate(); + var target = date.toLocaleString('en-US', { + timeZone: timezone + }); + var diff = Math.round((date - new Date(target)) / 1000 / 60); + var ins = d(target, { + locale: this.$L + }).$set(MS, this.$ms).utcOffset(-Math.round(date.getTimezoneOffset() / 15) * 15 - diff, true); + + if (keepLocalTime) { + var newOffset = ins.utcOffset(); + ins = ins.add(oldOffset - newOffset, MIN); + } + + ins.$x.$timezone = timezone; + return ins; + }; + + proto.offsetName = function (type) { + // type: short(default) / long + var zone = this.$x.$timezone || d.tz.guess(); + var result = makeFormatParts(this.valueOf(), zone, { + timeZoneName: type + }).find(function (m) { + return m.type.toLowerCase() === 'timezonename'; + }); + return result && result.value; + }; + + var oldStartOf = proto.startOf; + + proto.startOf = function (units, startOf) { + if (!this.$x || !this.$x.$timezone) { + return oldStartOf.call(this, units, startOf); + } + + var withoutTz = d(this.format('YYYY-MM-DD HH:mm:ss:SSS'), { + locale: this.$L + }); + var startOfWithoutTz = oldStartOf.call(withoutTz, units, startOf); + return startOfWithoutTz.tz(this.$x.$timezone, true); + }; + + d.tz = function (input, arg1, arg2) { + var parseFormat = arg2 && arg1; + var timezone = arg2 || arg1 || defaultTimezone; + var previousOffset = tzOffset(+d(), timezone); + + if (typeof input !== 'string') { + // timestamp number || js Date || Day.js + return d(input).tz(timezone); + } + + var localTs = d.utc(input, parseFormat).valueOf(); + + var _fixOffset = fixOffset(localTs, previousOffset, timezone), + targetTs = _fixOffset[0], + targetOffset = _fixOffset[1]; + + var ins = d(targetTs).utcOffset(targetOffset); + ins.$x.$timezone = timezone; + return ins; + }; + + d.tz.guess = function () { + return Intl.DateTimeFormat().resolvedOptions().timeZone; + }; + + d.tz.setDefault = function (timezone) { + defaultTimezone = timezone; + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/toArray/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/toArray/index.d.ts new file mode 100644 index 0000000..5033831 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/toArray/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + toArray(): number[] + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/toArray/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/toArray/index.js new file mode 100644 index 0000000..2b795f4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/toArray/index.js @@ -0,0 +1,7 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.toArray = function () { + return [this.$y, this.$M, this.$D, this.$H, this.$m, this.$s, this.$ms]; + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/toObject/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/toObject/index.d.ts new file mode 100644 index 0000000..ad21520 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/toObject/index.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +interface DayjsObject { + years: number + months: number + date: number + hours: number + minutes: number + seconds: number + milliseconds: number +} + +declare module 'dayjs/esm' { + interface Dayjs { + toObject(): DayjsObject + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/toObject/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/toObject/index.js new file mode 100644 index 0000000..e35d93f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/toObject/index.js @@ -0,0 +1,15 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.toObject = function () { + return { + years: this.$y, + months: this.$M, + date: this.$D, + hours: this.$H, + minutes: this.$m, + seconds: this.$s, + milliseconds: this.$ms + }; + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts new file mode 100644 index 0000000..994a884 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + export function updateLocale(localeName: string, customConfig: Record): Record +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/updateLocale/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/updateLocale/index.js new file mode 100644 index 0000000..1b9965c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/updateLocale/index.js @@ -0,0 +1,12 @@ +export default (function (option, Dayjs, dayjs) { + dayjs.updateLocale = function (locale, customConfig) { + var localeList = dayjs.Ls; + var localeConfig = localeList[locale]; + if (!localeConfig) return; + var customConfigKeys = customConfig ? Object.keys(customConfig) : []; + customConfigKeys.forEach(function (c) { + localeConfig[c] = customConfig[c]; + }); + return localeConfig; // eslint-disable-line consistent-return + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/utc/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/utc/index.d.ts new file mode 100644 index 0000000..15c61fe --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/utc/index.d.ts @@ -0,0 +1,19 @@ +import { PluginFunc, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + + utc(keepLocalTime?: boolean): Dayjs + + local(): Dayjs + + isUTC(): boolean + + utcOffset(offset: number | string, keepLocalTime?: boolean): Dayjs + } + + export function utc(config?: ConfigType, format?: string, strict?: boolean): Dayjs +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/utc/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/utc/index.js new file mode 100644 index 0000000..a8a05f5 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/utc/index.js @@ -0,0 +1,188 @@ +import { MILLISECONDS_A_MINUTE, MIN } from '../../constant'; +var REGEX_VALID_OFFSET_FORMAT = /[+-]\d\d(?::?\d\d)?/g; +var REGEX_OFFSET_HOURS_MINUTES_FORMAT = /([+-]|\d\d)/g; + +function offsetFromString(value) { + if (value === void 0) { + value = ''; + } + + var offset = value.match(REGEX_VALID_OFFSET_FORMAT); + + if (!offset) { + return null; + } + + var _ref = ("" + offset[0]).match(REGEX_OFFSET_HOURS_MINUTES_FORMAT) || ['-', 0, 0], + indicator = _ref[0], + hoursOffset = _ref[1], + minutesOffset = _ref[2]; + + var totalOffsetInMinutes = +hoursOffset * 60 + +minutesOffset; + + if (totalOffsetInMinutes === 0) { + return 0; + } + + return indicator === '+' ? totalOffsetInMinutes : -totalOffsetInMinutes; +} + +export default (function (option, Dayjs, dayjs) { + var proto = Dayjs.prototype; + + dayjs.utc = function (date) { + var cfg = { + date: date, + utc: true, + args: arguments + }; // eslint-disable-line prefer-rest-params + + return new Dayjs(cfg); // eslint-disable-line no-use-before-define + }; + + proto.utc = function (keepLocalTime) { + var ins = dayjs(this.toDate(), { + locale: this.$L, + utc: true + }); + + if (keepLocalTime) { + return ins.add(this.utcOffset(), MIN); + } + + return ins; + }; + + proto.local = function () { + return dayjs(this.toDate(), { + locale: this.$L, + utc: false + }); + }; + + var oldParse = proto.parse; + + proto.parse = function (cfg) { + if (cfg.utc) { + this.$u = true; + } + + if (!this.$utils().u(cfg.$offset)) { + this.$offset = cfg.$offset; + } + + oldParse.call(this, cfg); + }; + + var oldInit = proto.init; + + proto.init = function () { + if (this.$u) { + var $d = this.$d; + this.$y = $d.getUTCFullYear(); + this.$M = $d.getUTCMonth(); + this.$D = $d.getUTCDate(); + this.$W = $d.getUTCDay(); + this.$H = $d.getUTCHours(); + this.$m = $d.getUTCMinutes(); + this.$s = $d.getUTCSeconds(); + this.$ms = $d.getUTCMilliseconds(); + } else { + oldInit.call(this); + } + }; + + var oldUtcOffset = proto.utcOffset; + + proto.utcOffset = function (input, keepLocalTime) { + var _this$$utils = this.$utils(), + u = _this$$utils.u; + + if (u(input)) { + if (this.$u) { + return 0; + } + + if (!u(this.$offset)) { + return this.$offset; + } + + return oldUtcOffset.call(this); + } + + if (typeof input === 'string') { + input = offsetFromString(input); + + if (input === null) { + return this; + } + } + + var offset = Math.abs(input) <= 16 ? input * 60 : input; + var ins = this; + + if (keepLocalTime) { + ins.$offset = offset; + ins.$u = input === 0; + return ins; + } + + if (input !== 0) { + var localTimezoneOffset = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset(); + ins = this.local().add(offset + localTimezoneOffset, MIN); + ins.$offset = offset; + ins.$x.$localOffset = localTimezoneOffset; + } else { + ins = this.utc(); + } + + return ins; + }; + + var oldFormat = proto.format; + var UTC_FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ss[Z]'; + + proto.format = function (formatStr) { + var str = formatStr || (this.$u ? UTC_FORMAT_DEFAULT : ''); + return oldFormat.call(this, str); + }; + + proto.valueOf = function () { + var addedOffset = !this.$utils().u(this.$offset) ? this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset()) : 0; + return this.$d.valueOf() - addedOffset * MILLISECONDS_A_MINUTE; + }; + + proto.isUTC = function () { + return !!this.$u; + }; + + proto.toISOString = function () { + return this.toDate().toISOString(); + }; + + proto.toString = function () { + return this.toDate().toUTCString(); + }; + + var oldToDate = proto.toDate; + + proto.toDate = function (type) { + if (type === 's' && this.$offset) { + return dayjs(this.format('YYYY-MM-DD HH:mm:ss:SSS')).toDate(); + } + + return oldToDate.call(this); + }; + + var oldDiff = proto.diff; + + proto.diff = function (input, units, _float) { + if (input && this.$u === input.$u) { + return oldDiff.call(this, input, units, _float); + } + + var localThis = this.local(); + var localInput = dayjs(input).local(); + return oldDiff.call(localThis, localInput, units, _float); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts new file mode 100644 index 0000000..340051b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + week(): number + + week(value : number): Dayjs + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/weekOfYear/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/weekOfYear/index.js new file mode 100644 index 0000000..c92406e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/weekOfYear/index.js @@ -0,0 +1,44 @@ +import { MS, Y, D, W } from '../../constant'; +export default (function (o, c, d) { + var proto = c.prototype; + + proto.week = function (week) { + if (week === void 0) { + week = null; + } + + if (week !== null) { + return this.add((week - this.week()) * 7, D); + } + + var yearStart = this.$locale().yearStart || 1; + + if (this.month() === 11 && this.date() > 25) { + // d(this) is for badMutable + var nextYearStartDay = d(this).startOf(Y).add(1, Y).date(yearStart); + var thisEndOfWeek = d(this).endOf(W); + + if (nextYearStartDay.isBefore(thisEndOfWeek)) { + return 1; + } + } + + var yearStartDay = d(this).startOf(Y).date(yearStart); + var yearStartWeek = yearStartDay.startOf(W).subtract(1, MS); + var diffInWeek = this.diff(yearStartWeek, W, true); + + if (diffInWeek < 0) { + return d(this).startOf('week').week(); + } + + return Math.ceil(diffInWeek); + }; + + proto.weeks = function (week) { + if (week === void 0) { + week = null; + } + + return this.week(week); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/weekYear/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/weekYear/index.d.ts new file mode 100644 index 0000000..5b713e5 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/weekYear/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + weekYear(): number + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/weekYear/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/weekYear/index.js new file mode 100644 index 0000000..140dcd4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/weekYear/index.js @@ -0,0 +1,19 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.weekYear = function () { + var month = this.month(); + var weekOfYear = this.week(); + var year = this.year(); + + if (weekOfYear === 1 && month === 11) { + return year + 1; + } + + if (month === 0 && weekOfYear >= 52) { + return year - 1; + } + + return year; + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/weekday/index.d.ts b/src/WeLink/node_modules/dayjs/esm/plugin/weekday/index.d.ts new file mode 100644 index 0000000..41945e7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/weekday/index.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + weekday(): number + + weekday(value: number): Dayjs + } +} diff --git a/src/WeLink/node_modules/dayjs/esm/plugin/weekday/index.js b/src/WeLink/node_modules/dayjs/esm/plugin/weekday/index.js new file mode 100644 index 0000000..18032b3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/plugin/weekday/index.js @@ -0,0 +1,15 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.weekday = function (input) { + var weekStart = this.$locale().weekStart || 0; + var $W = this.$W; + var weekday = ($W < weekStart ? $W + 7 : $W) - weekStart; + + if (this.$utils().u(input)) { + return weekday; + } + + return this.subtract(weekday, 'day').add(input, 'day'); + }; +}); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/esm/utils.js b/src/WeLink/node_modules/dayjs/esm/utils.js new file mode 100644 index 0000000..b5a8131 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/esm/utils.js @@ -0,0 +1,58 @@ +import * as C from './constant'; + +var padStart = function padStart(string, length, pad) { + var s = String(string); + if (!s || s.length >= length) return string; + return "" + Array(length + 1 - s.length).join(pad) + string; +}; + +var padZoneStr = function padZoneStr(instance) { + var negMinutes = -instance.utcOffset(); + var minutes = Math.abs(negMinutes); + var hourOffset = Math.floor(minutes / 60); + var minuteOffset = minutes % 60; + return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0'); +}; + +var monthDiff = function monthDiff(a, b) { + // function from moment.js in order to keep the same result + if (a.date() < b.date()) return -monthDiff(b, a); + var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()); + var anchor = a.clone().add(wholeMonthDiff, C.M); + var c = b - anchor < 0; + var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), C.M); + return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0); +}; + +var absFloor = function absFloor(n) { + return n < 0 ? Math.ceil(n) || 0 : Math.floor(n); +}; + +var prettyUnit = function prettyUnit(u) { + var special = { + M: C.M, + y: C.Y, + w: C.W, + d: C.D, + D: C.DATE, + h: C.H, + m: C.MIN, + s: C.S, + ms: C.MS, + Q: C.Q + }; + return special[u] || String(u || '').toLowerCase().replace(/s$/, ''); +}; + +var isUndefined = function isUndefined(s) { + return s === undefined; +}; + +export default { + s: padStart, + z: padZoneStr, + m: monthDiff, + a: absFloor, + p: prettyUnit, + u: isUndefined +}; \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/index.d.ts b/src/WeLink/node_modules/dayjs/index.d.ts new file mode 100644 index 0000000..766bd79 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/index.d.ts @@ -0,0 +1,429 @@ +/// + +export = dayjs; + +declare function dayjs (date?: dayjs.ConfigType): dayjs.Dayjs + +declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, strict?: boolean): dayjs.Dayjs + +declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, locale?: string, strict?: boolean): dayjs.Dayjs + +declare namespace dayjs { + interface ConfigTypeMap { + default: string | number | Date | Dayjs | null | undefined + } + + export type ConfigType = ConfigTypeMap[keyof ConfigTypeMap] + + export interface FormatObject { locale?: string, format?: string, utc?: boolean } + + export type OptionType = FormatObject | string | string[] + + export type UnitTypeShort = 'd' | 'D' | 'M' | 'y' | 'h' | 'm' | 's' | 'ms' + + export type UnitTypeLong = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | 'date' + + export type UnitTypeLongPlural = 'milliseconds' | 'seconds' | 'minutes' | 'hours' | 'days' | 'months' | 'years' | 'dates' + + export type UnitType = UnitTypeLong | UnitTypeLongPlural | UnitTypeShort; + + export type OpUnitType = UnitType | "week" | "weeks" | 'w'; + export type QUnitType = UnitType | "quarter" | "quarters" | 'Q'; + export type ManipulateType = Exclude; + class Dayjs { + constructor (config?: ConfigType) + /** + * All Day.js objects are immutable. Still, `dayjs#clone` can create a clone of the current object if you need one. + * ``` + * dayjs().clone()// => Dayjs + * dayjs(dayjs('2019-01-25')) // passing a Dayjs object to a constructor will also clone it + * ``` + * Docs: https://day.js.org/docs/en/parse/dayjs-clone + */ + clone(): Dayjs + /** + * This returns a `boolean` indicating whether the Day.js object contains a valid date or not. + * ``` + * dayjs().isValid()// => boolean + * ``` + * Docs: https://day.js.org/docs/en/parse/is-valid + */ + isValid(): boolean + /** + * Get the year. + * ``` + * dayjs().year()// => 2020 + * ``` + * Docs: https://day.js.org/docs/en/get-set/year + */ + year(): number + /** + * Set the year. + * ``` + * dayjs().year(2000)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/year + */ + year(value: number): Dayjs + /** + * Get the month. + * + * Months are zero indexed, so January is month 0. + * ``` + * dayjs().month()// => 0-11 + * ``` + * Docs: https://day.js.org/docs/en/get-set/month + */ + month(): number + /** + * Set the month. + * + * Months are zero indexed, so January is month 0. + * + * Accepts numbers from 0 to 11. If the range is exceeded, it will bubble up to the next year. + * ``` + * dayjs().month(0)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/month + */ + month(value: number): Dayjs + /** + * Get the date of the month. + * ``` + * dayjs().date()// => 1-31 + * ``` + * Docs: https://day.js.org/docs/en/get-set/date + */ + date(): number + /** + * Set the date of the month. + * + * Accepts numbers from 1 to 31. If the range is exceeded, it will bubble up to the next months. + * ``` + * dayjs().date(1)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/date + */ + date(value: number): Dayjs + /** + * Get the day of the week. + * + * Returns numbers from 0 (Sunday) to 6 (Saturday). + * ``` + * dayjs().day()// 0-6 + * ``` + * Docs: https://day.js.org/docs/en/get-set/day + */ + day(): number + /** + * Set the day of the week. + * + * Accepts numbers from 0 (Sunday) to 6 (Saturday). If the range is exceeded, it will bubble up to next weeks. + * ``` + * dayjs().day(0)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/day + */ + day(value: number): Dayjs + /** + * Get the hour. + * ``` + * dayjs().hour()// => 0-23 + * ``` + * Docs: https://day.js.org/docs/en/get-set/hour + */ + hour(): number + /** + * Set the hour. + * + * Accepts numbers from 0 to 23. If the range is exceeded, it will bubble up to the next day. + * ``` + * dayjs().hour(12)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/hour + */ + hour(value: number): Dayjs + /** + * Get the minutes. + * ``` + * dayjs().minute()// => 0-59 + * ``` + * Docs: https://day.js.org/docs/en/get-set/minute + */ + minute(): number + /** + * Set the minutes. + * + * Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next hour. + * ``` + * dayjs().minute(59)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/minute + */ + minute(value: number): Dayjs + /** + * Get the seconds. + * ``` + * dayjs().second()// => 0-59 + * ``` + * Docs: https://day.js.org/docs/en/get-set/second + */ + second(): number + /** + * Set the seconds. + * + * Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next minutes. + * ``` + * dayjs().second(1)// Dayjs + * ``` + */ + second(value: number): Dayjs + /** + * Get the milliseconds. + * ``` + * dayjs().millisecond()// => 0-999 + * ``` + * Docs: https://day.js.org/docs/en/get-set/millisecond + */ + millisecond(): number + /** + * Set the milliseconds. + * + * Accepts numbers from 0 to 999. If the range is exceeded, it will bubble up to the next seconds. + * ``` + * dayjs().millisecond(1)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/millisecond + */ + millisecond(value: number): Dayjs + /** + * Generic setter, accepting unit as first argument, and value as second, returns a new instance with the applied changes. + * + * In general: + * ``` + * dayjs().set(unit, value) === dayjs()[unit](value) + * ``` + * Units are case insensitive, and support plural and short forms. + * ``` + * dayjs().set('date', 1) + * dayjs().set('month', 3) // April + * dayjs().set('second', 30) + * ``` + * Docs: https://day.js.org/docs/en/get-set/set + */ + set(unit: UnitType, value: number): Dayjs + /** + * String getter, returns the corresponding information getting from Day.js object. + * + * In general: + * ``` + * dayjs().get(unit) === dayjs()[unit]() + * ``` + * Units are case insensitive, and support plural and short forms. + * ``` + * dayjs().get('year') + * dayjs().get('month') // start 0 + * dayjs().get('date') + * ``` + * Docs: https://day.js.org/docs/en/get-set/get + */ + get(unit: UnitType): number + /** + * Returns a cloned Day.js object with a specified amount of time added. + * ``` + * dayjs().add(7, 'day')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/add + */ + add(value: number, unit?: ManipulateType): Dayjs + /** + * Returns a cloned Day.js object with a specified amount of time subtracted. + * ``` + * dayjs().subtract(7, 'year')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/subtract + */ + subtract(value: number, unit?: ManipulateType): Dayjs + /** + * Returns a cloned Day.js object and set it to the start of a unit of time. + * ``` + * dayjs().startOf('year')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/start-of + */ + startOf(unit: OpUnitType): Dayjs + /** + * Returns a cloned Day.js object and set it to the end of a unit of time. + * ``` + * dayjs().endOf('month')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/end-of + */ + endOf(unit: OpUnitType): Dayjs + /** + * Get the formatted date according to the string of tokens passed in. + * + * To escape characters, wrap them in square brackets (e.g. [MM]). + * ``` + * dayjs().format()// => current date in ISO8601, without fraction seconds e.g. '2020-04-02T08:02:17-05:00' + * dayjs('2019-01-25').format('[YYYYescape] YYYY-MM-DDTHH:mm:ssZ[Z]')// 'YYYYescape 2019-01-25T00:00:00-02:00Z' + * dayjs('2019-01-25').format('DD/MM/YYYY') // '25/01/2019' + * ``` + * Docs: https://day.js.org/docs/en/display/format + */ + format(template?: string): string + /** + * This indicates the difference between two date-time in the specified unit. + * + * To get the difference in milliseconds, use `dayjs#diff` + * ``` + * const date1 = dayjs('2019-01-25') + * const date2 = dayjs('2018-06-05') + * date1.diff(date2) // 20214000000 default milliseconds + * date1.diff() // milliseconds to current time + * ``` + * + * To get the difference in another unit of measurement, pass that measurement as the second argument. + * ``` + * const date1 = dayjs('2019-01-25') + * date1.diff('2018-06-05', 'month') // 7 + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/display/difference + */ + diff(date?: ConfigType, unit?: QUnitType | OpUnitType, float?: boolean): number + /** + * This returns the number of **milliseconds** since the Unix Epoch of the Day.js object. + * ``` + * dayjs('2019-01-25').valueOf() // 1548381600000 + * +dayjs(1548381600000) // 1548381600000 + * ``` + * To get a Unix timestamp (the number of seconds since the epoch) from a Day.js object, you should use Unix Timestamp `dayjs#unix()`. + * + * Docs: https://day.js.org/docs/en/display/unix-timestamp-milliseconds + */ + valueOf(): number + /** + * This returns the Unix timestamp (the number of **seconds** since the Unix Epoch) of the Day.js object. + * ``` + * dayjs('2019-01-25').unix() // 1548381600 + * ``` + * This value is floored to the nearest second, and does not include a milliseconds component. + * + * Docs: https://day.js.org/docs/en/display/unix-timestamp + */ + unix(): number + /** + * Get the number of days in the current month. + * ``` + * dayjs('2019-01-25').daysInMonth() // 31 + * ``` + * Docs: https://day.js.org/docs/en/display/days-in-month + */ + daysInMonth(): number + /** + * To get a copy of the native `Date` object parsed from the Day.js object use `dayjs#toDate`. + * ``` + * dayjs('2019-01-25').toDate()// => Date + * ``` + */ + toDate(): Date + /** + * To serialize as an ISO 8601 string. + * ``` + * dayjs('2019-01-25').toJSON() // '2019-01-25T02:00:00.000Z' + * ``` + * Docs: https://day.js.org/docs/en/display/as-json + */ + toJSON(): string + /** + * To format as an ISO 8601 string. + * ``` + * dayjs('2019-01-25').toISOString() // '2019-01-25T02:00:00.000Z' + * ``` + * Docs: https://day.js.org/docs/en/display/as-iso-string + */ + toISOString(): string + /** + * Returns a string representation of the date. + * ``` + * dayjs('2019-01-25').toString() // 'Fri, 25 Jan 2019 02:00:00 GMT' + * ``` + * Docs: https://day.js.org/docs/en/display/as-string + */ + toString(): string + /** + * Get the UTC offset in minutes. + * ``` + * dayjs().utcOffset() + * ``` + * Docs: https://day.js.org/docs/en/manipulate/utc-offset + */ + utcOffset(): number + /** + * This indicates whether the Day.js object is before the other supplied date-time. + * ``` + * dayjs().isBefore(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isBefore('2011-01-01', 'year')// => boolean + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/query/is-before + */ + isBefore(date?: ConfigType, unit?: OpUnitType): boolean + /** + * This indicates whether the Day.js object is the same as the other supplied date-time. + * ``` + * dayjs().isSame(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isSame('2011-01-01', 'year')// => boolean + * ``` + * Docs: https://day.js.org/docs/en/query/is-same + */ + isSame(date?: ConfigType, unit?: OpUnitType): boolean + /** + * This indicates whether the Day.js object is after the other supplied date-time. + * ``` + * dayjs().isAfter(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isAfter('2011-01-01', 'year')// => boolean + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/query/is-after + */ + isAfter(date?: ConfigType, unit?: OpUnitType): boolean + + locale(): string + + locale(preset: string | ILocale, object?: Partial): Dayjs + } + + export type PluginFunc = (option: T, c: typeof Dayjs, d: typeof dayjs) => void + + export function extend(plugin: PluginFunc, option?: T): Dayjs + + export function locale(preset?: string | ILocale, object?: Partial, isLocal?: boolean): string + + export function isDayjs(d: any): d is Dayjs + + export function unix(t: number): Dayjs + + const Ls : { [key: string] : ILocale } +} diff --git a/src/WeLink/node_modules/dayjs/locale.json b/src/WeLink/node_modules/dayjs/locale.json new file mode 100644 index 0000000..45a01c4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale.json @@ -0,0 +1 @@ +[{"key":"af","name":"Afrikaans"},{"key":"am","name":"Amharic"},{"key":"ar-dz","name":"Arabic (Algeria)"},{"key":"ar-iq","name":" Arabic (Iraq)"},{"key":"ar-kw","name":"Arabic (Kuwait)"},{"key":"ar-ly","name":"Arabic (Lybia)"},{"key":"ar-ma","name":"Arabic (Morocco)"},{"key":"ar-sa","name":"Arabic (Saudi Arabia)"},{"key":"ar-tn","name":" Arabic (Tunisia)"},{"key":"ar","name":"Arabic"},{"key":"az","name":"Azerbaijani"},{"key":"be","name":"Belarusian"},{"key":"bg","name":"Bulgarian"},{"key":"bi","name":"Bislama"},{"key":"bm","name":"Bambara"},{"key":"bn-bd","name":"Bengali (Bangladesh)"},{"key":"bn","name":"Bengali"},{"key":"bo","name":"Tibetan"},{"key":"br","name":"Breton"},{"key":"bs","name":"Bosnian"},{"key":"ca","name":"Catalan"},{"key":"cs","name":"Czech"},{"key":"cv","name":"Chuvash"},{"key":"cy","name":"Welsh"},{"key":"da","name":"Danish"},{"key":"de-at","name":"German (Austria)"},{"key":"de-ch","name":"German (Switzerland)"},{"key":"de","name":"German"},{"key":"dv","name":"Maldivian"},{"key":"el","name":"Greek"},{"key":"en-au","name":"English (Australia)"},{"key":"en-ca","name":"English (Canada)"},{"key":"en-gb","name":"English (United Kingdom)"},{"key":"en-ie","name":"English (Ireland)"},{"key":"en-il","name":"English (Israel)"},{"key":"en-in","name":"English (India)"},{"key":"en-nz","name":"English (New Zealand)"},{"key":"en-sg","name":"English (Singapore)"},{"key":"en-tt","name":"English (Trinidad & Tobago)"},{"key":"en","name":"English"},{"key":"eo","name":"Esperanto"},{"key":"es-do","name":"Spanish (Dominican Republic)"},{"key":"es-mx","name":"Spanish (Mexico)"},{"key":"es-pr","name":"Spanish (Puerto Rico)"},{"key":"es-us","name":"Spanish (United States)"},{"key":"es","name":"Spanish"},{"key":"et","name":"Estonian"},{"key":"eu","name":"Basque"},{"key":"fa","name":"Persian"},{"key":"fi","name":"Finnish"},{"key":"fo","name":"Faroese"},{"key":"fr-ca","name":"French (Canada)"},{"key":"fr-ch","name":"French (Switzerland)"},{"key":"fr","name":"French"},{"key":"fy","name":"Frisian"},{"key":"ga","name":"Irish or Irish Gaelic"},{"key":"gd","name":"Scottish Gaelic"},{"key":"gl","name":"Galician"},{"key":"gom-latn","name":"Konkani Latin script"},{"key":"gu","name":"Gujarati"},{"key":"hi","name":"Hindi"},{"key":"he","name":"Hebrew"},{"key":"hr","name":"Croatian"},{"key":"ht","name":"Haitian Creole (Haiti)"},{"key":"hu","name":"Hungarian"},{"key":"hy-am","name":"Armenian"},{"key":"id","name":"Indonesian"},{"key":"is","name":"Icelandic"},{"key":"it-ch","name":"Italian (Switzerland)"},{"key":"it","name":"Italian"},{"key":"ja","name":"Japanese"},{"key":"jv","name":"Javanese"},{"key":"ka","name":"Georgian"},{"key":"kk","name":"Kazakh"},{"key":"km","name":"Cambodian"},{"key":"kn","name":"Kannada"},{"key":"ko","name":"Korean"},{"key":"ku","name":"Kurdish"},{"key":"ky","name":"Kyrgyz"},{"key":"lb","name":"Luxembourgish"},{"key":"lo","name":"Lao"},{"key":"lt","name":"Lithuanian"},{"key":"lv","name":"Latvian"},{"key":"me","name":"Montenegrin"},{"key":"mi","name":"Maori"},{"key":"mk","name":"Macedonian"},{"key":"ml","name":"Malayalam"},{"key":"mn","name":"Mongolian"},{"key":"mr","name":"Marathi"},{"key":"ms-my","name":"Malay"},{"key":"ms","name":"Malay"},{"key":"mt","name":"Maltese (Malta)"},{"key":"my","name":"Burmese"},{"key":"nb","name":"Norwegian Bokmål"},{"key":"ne","name":"Nepalese"},{"key":"nl-be","name":"Dutch (Belgium)"},{"key":"nl","name":"Dutch"},{"key":"nn","name":"Nynorsk"},{"key":"oc-lnc","name":"Occitan, lengadocian dialecte"},{"key":"pa-in","name":"Punjabi (India)"},{"key":"pl","name":"Polish"},{"key":"pt-br","name":"Portuguese (Brazil)"},{"key":"pt","name":"Portuguese"},{"key":"rn","name":"Kirundi"},{"key":"ro","name":"Romanian"},{"key":"sd","name":"Sindhi"},{"key":"si","name":"Sinhalese"},{"key":"se","name":"Northern Sami"},{"key":"sk","name":"Slovak"},{"key":"sl","name":"Slovenian"},{"key":"sq","name":"Albanian"},{"key":"sr-cyrl","name":"Serbian Cyrillic"},{"key":"sr","name":"Serbian"},{"key":"ss","name":"siSwati"},{"key":"sv-fi","name":"Finland Swedish"},{"key":"sv","name":"Swedish"},{"key":"sw","name":"Swahili"},{"key":"ta","name":"Tamil"},{"key":"te","name":"Telugu"},{"key":"tg","name":"Tajik"},{"key":"tet","name":"Tetun Dili (East Timor)"},{"key":"th","name":"Thai"},{"key":"tk","name":"Turkmen"},{"key":"tl-ph","name":"Tagalog (Philippines)"},{"key":"tlh","name":"Klingon"},{"key":"tr","name":"Turkish"},{"key":"tzl","name":"Talossan"},{"key":"tzm-latn","name":"Central Atlas Tamazight Latin"},{"key":"ug-cn","name":"Uyghur (China)"},{"key":"tzm","name":"Central Atlas Tamazight"},{"key":"uk","name":"Ukrainian"},{"key":"ur","name":"Urdu"},{"key":"uz-latn","name":"Uzbek Latin"},{"key":"vi","name":"Vietnamese"},{"key":"uz","name":"Uzbek"},{"key":"yo","name":"Yoruba Nigeria"},{"key":"x-pseudo","name":"Pseudo"},{"key":"zh-cn","name":"Chinese (China)"},{"key":"zh-hk","name":"Chinese (Hong Kong)"},{"key":"zh-tw","name":"Chinese (Taiwan)"},{"key":"zh","name":"Chinese"},{"key":"rw","name":"Kinyarwanda (Rwanda)"},{"key":"ru","name":"Russian"}] \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/af.js b/src/WeLink/node_modules/dayjs/locale/af.js new file mode 100644 index 0000000..62c75e4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/af.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_af=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/am.js b/src/WeLink/node_modules/dayjs/locale/am.js new file mode 100644 index 0000000..7b588a8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/am.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_am=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"am",weekdays:"እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysShort:"እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysMin:"እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ".split("_"),months:"ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር".split("_"),monthsShort:"ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"በ%s",past:"%s በፊት",s:"ጥቂት ሰከንዶች",m:"አንድ ደቂቃ",mm:"%d ደቂቃዎች",h:"አንድ ሰዓት",hh:"%d ሰዓታት",d:"አንድ ቀን",dd:"%d ቀናት",M:"አንድ ወር",MM:"%d ወራት",y:"አንድ ዓመት",yy:"%d ዓመታት"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D ፣ YYYY",LLL:"MMMM D ፣ YYYY HH:mm",LLLL:"dddd ፣ MMMM D ፣ YYYY HH:mm"},ordinal:function(e){return e+"ኛ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ar-dz.js b/src/WeLink/node_modules/dayjs/locale/ar-dz.js new file mode 100644 index 0000000..5522790 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ar-dz.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_dz=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ar-iq.js b/src/WeLink/node_modules/dayjs/locale/ar-iq.js new file mode 100644 index 0000000..07e8c71 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ar-iq.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_iq=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-iq",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ar-kw.js b/src/WeLink/node_modules/dayjs/locale/ar-kw.js new file mode 100644 index 0000000..a876ca0 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ar-kw.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_kw=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ar-ly.js b/src/WeLink/node_modules/dayjs/locale/ar-ly.js new file mode 100644 index 0000000..9dbe09b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ar-ly.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_ly=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},meridiem:function(_){return _>12?"م":"ص"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ar-ma.js b/src/WeLink/node_modules/dayjs/locale/ar-ma.js new file mode 100644 index 0000000..dbb77cc --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ar-ma.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_ma=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ar-sa.js b/src/WeLink/node_modules/dayjs/locale/ar-sa.js new file mode 100644 index 0000000..9c2c0d4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ar-sa.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_sa=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ar-tn.js b/src/WeLink/node_modules/dayjs/locale/ar-tn.js new file mode 100644 index 0000000..944b46d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ar-tn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_tn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ar.js b/src/WeLink/node_modules/dayjs/locale/ar.js new file mode 100644 index 0000000..517c49e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ar.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:r,monthsShort:r,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return _[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return d[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return n.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/az.js b/src/WeLink/node_modules/dayjs/locale/az.js new file mode 100644 index 0000000..d63ed1f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/az.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_az=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var _=e(a),t={name:"az",weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(a){return a}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/be.js b/src/WeLink/node_modules/dayjs/locale/be.js new file mode 100644 index 0000000..704a87d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/be.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_be=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"be",weekdays:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),months:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),weekStart:1,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/bg.js b/src/WeLink/node_modules/dayjs/locale/bg.js new file mode 100644 index 0000000..4a3d316 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/bg.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bg=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(e){var _=e%100;if(_>10&&_<20)return e+"-ти";var t=e%10;return 1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/bi.js b/src/WeLink/node_modules/dayjs/locale/bi.js new file mode 100644 index 0000000..e457dff --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/bi.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bi=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),_={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};return n.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/bm.js b/src/WeLink/node_modules/dayjs/locale/bm.js new file mode 100644 index 0000000..3c4fbdd --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/bm.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_bm=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var l=e(a),t={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};return l.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/bn-bd.js b/src/WeLink/node_modules/dayjs/locale/bn-bd.js new file mode 100644 index 0000000..ae76f9f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/bn-bd.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bn_bd=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),n={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},d={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r={name:"bn-bd",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),weekStart:0,preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return d[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return n[e]}))},ordinal:function(e){var t=["ই","লা","রা","ঠা","শে"],_=e%100;return"["+e+(t[(_-20)%10]||t[_]||t[0])+"]"},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY খ্রিস্টাব্দ",LL:"D MMMM YYYY খ্রিস্টাব্দ",LLL:"D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়",LLLL:"dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়"},meridiem:function(e){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return _.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/bn.js b/src/WeLink/node_modules/dayjs/locale/bn.js new file mode 100644 index 0000000..30ffa02 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/bn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),n={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},d={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},o={name:"bn",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return d[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return n[e]}))},ordinal:function(e){return e},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return t.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/bo.js b/src/WeLink/node_modules/dayjs/locale/bo.js new file mode 100644 index 0000000..92bb7cc --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/bo.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_bo=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔོན་ལ་",s:"ཏོག་ཙམ་",m:"སྐར་མ་གཅིག་",mm:"སྐར་མ་ %d",h:"ཆུ་ཚོད་གཅིག་",hh:"ཆུ་ཚོད་ %d",d:"ཉིན་གཅིག་",dd:"ཉིན་ %d",M:"ཟླ་བ་གཅིག་",MM:"ཟླ་བ་ %d",y:"ལོ་གཅིག་",yy:"ལོ་ %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/br.js b/src/WeLink/node_modules/dayjs/locale/br.js new file mode 100644 index 0000000..0b2317f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/br.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_br=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=n(e);function r(e){return e>9?r(e%10):e}function t(e,n,u){return e+" "+function(e,n){return 2===n?function(e){return{m:"v",b:"v",d:"z"}[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[u],e)}var o={name:"br",weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),weekStart:1,weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},meridiem:function(e){return e<12?"a.m.":"g.m."}};return u.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/bs.js b/src/WeLink/node_modules/dayjs/locale/bs.js new file mode 100644 index 0000000..25dcd6d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/bs.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bs=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),a={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ca.js b/src/WeLink/node_modules/dayjs/locale/ca.js new file mode 100644 index 0000000..1614cc2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ca.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ca=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=s(e),_={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return""+e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/cs.js b/src/WeLink/node_modules/dayjs/locale/cs.js new file mode 100644 index 0000000..43bddb9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/cs.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_cs=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e);function s(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,n,t,r){var d=e+" ";switch(t){case"s":return n||r?"pár sekund":"pár sekundami";case"m":return n?"minuta":r?"minutu":"minutou";case"mm":return n||r?d+(s(e)?"minuty":"minut"):d+"minutami";case"h":return n?"hodina":r?"hodinu":"hodinou";case"hh":return n||r?d+(s(e)?"hodiny":"hodin"):d+"hodinami";case"d":return n||r?"den":"dnem";case"dd":return n||r?d+(s(e)?"dny":"dní"):d+"dny";case"M":return n||r?"měsíc":"měsícem";case"MM":return n||r?d+(s(e)?"měsíce":"měsíců"):d+"měsíci";case"y":return n||r?"rok":"rokem";case"yy":return n||r?d+(s(e)?"roky":"let"):d+"lety"}}var d={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/cv.js b/src/WeLink/node_modules/dayjs/locale/cv.js new file mode 100644 index 0000000..a30efe0 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/cv.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_cv=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/cy.js b/src/WeLink/node_modules/dayjs/locale/cy.js new file mode 100644 index 0000000..ee1910f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/cy.js @@ -0,0 +1 @@ +!function(d,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(d="undefined"!=typeof globalThis?globalThis:d||self).dayjs_locale_cy=e(d.dayjs)}(this,(function(d){"use strict";function e(d){return d&&"object"==typeof d&&"default"in d?d:{default:d}}var _=e(d),a={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(d){return d},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/da.js b/src/WeLink/node_modules/dayjs/locale/da.js new file mode 100644 index 0000000..fd45a45 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/da.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_da=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=t(e),n={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};return d.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/de-at.js b/src/WeLink/node_modules/dayjs/locale/de-at.js new file mode 100644 index 0000000..ca51ef5 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/de-at.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de_at=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function a(e,n,t){var a=i[t];return Array.isArray(a)&&(a=a[n?0:1]),a.replace("%d",e)}var r={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/de-ch.js b/src/WeLink/node_modules/dayjs/locale/de-ch.js new file mode 100644 index 0000000..3fef218 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/de-ch.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de_ch=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function i(e,n,t){var i=a[t];return Array.isArray(i)&&(i=i[n?0:1]),i.replace("%d",e)}var r={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/de.js b/src/WeLink/node_modules/dayjs/locale/de.js new file mode 100644 index 0000000..35f05ec --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/de.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function i(e,n,t){var i=a[t];return Array.isArray(i)&&(i=i[n?0:1]),i.replace("%d",e)}var r={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/dv.js b/src/WeLink/node_modules/dayjs/locale/dv.js new file mode 100644 index 0000000..b0bd8f9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/dv.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_dv=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/el.js b/src/WeLink/node_modules/dayjs/locale/el.js new file mode 100644 index 0000000..1488034 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/el.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_el=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(e){return e},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-au.js b/src/WeLink/node_modules/dayjs/locale/en-au.js new file mode 100644 index 0000000..b952cdb --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-au.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_au=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-ca.js b/src/WeLink/node_modules/dayjs/locale/en-ca.js new file mode 100644 index 0000000..bf76621 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-ca.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_ca=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=a(e),t={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-gb.js b/src/WeLink/node_modules/dayjs/locale/en-gb.js new file mode 100644 index 0000000..7fc7c3f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-gb.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_gb=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-ie.js b/src/WeLink/node_modules/dayjs/locale/en-ie.js new file mode 100644 index 0000000..b0ad3f9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-ie.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_ie=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-il.js b/src/WeLink/node_modules/dayjs/locale/en-il.js new file mode 100644 index 0000000..d8bea62 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-il.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_il=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=a(e),t={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-in.js b/src/WeLink/node_modules/dayjs/locale/en-in.js new file mode 100644 index 0000000..af8cff3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-in.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_in=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),n={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-nz.js b/src/WeLink/node_modules/dayjs/locale/en-nz.js new file mode 100644 index 0000000..058abbe --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-nz.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_nz=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),n={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-sg.js b/src/WeLink/node_modules/dayjs/locale/en-sg.js new file mode 100644 index 0000000..787fa84 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-sg.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_sg=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en-tt.js b/src/WeLink/node_modules/dayjs/locale/en-tt.js new file mode 100644 index 0000000..afc4d36 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en-tt.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_tt=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),_={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}};return a.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/en.js b/src/WeLink/node_modules/dayjs/locale/en.js new file mode 100644 index 0000000..847cbfd --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/en.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en=n()}(this,(function(){"use strict";return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var n=["th","st","nd","rd"],t=e%100;return"["+e+(n[(t-20)%10]||n[t]||n[0])+"]"}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/eo.js b/src/WeLink/node_modules/dayjs/locale/eo.js new file mode 100644 index 0000000..2dcbe01 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/eo.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_eo=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(e),t={name:"eo",weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}};return a.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/es-do.js b/src/WeLink/node_modules/dayjs/locale/es-do.js new file mode 100644 index 0000000..07907ad --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/es-do.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_do=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-do",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/es-mx.js b/src/WeLink/node_modules/dayjs/locale/es-mx.js new file mode 100644 index 0000000..f865a2d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/es-mx.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_mx=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/es-pr.js b/src/WeLink/node_modules/dayjs/locale/es-pr.js new file mode 100644 index 0000000..56fdeb4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/es-pr.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_pr=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/es-us.js b/src/WeLink/node_modules/dayjs/locale/es-us.js new file mode 100644 index 0000000..35f5535 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/es-us.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_us=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=s(e),d={name:"es-us",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return o.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/es.js b/src/WeLink/node_modules/dayjs/locale/es.js new file mode 100644 index 0000000..eb33b81 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/es.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/et.js b/src/WeLink/node_modules/dayjs/locale/et.js new file mode 100644 index 0000000..4158d13 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/et.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_et=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e);function u(e,a,t,u){var s={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return a?(s[t][2]?s[t][2]:s[t][1]).replace("%d",e):(u?s[t][0]:s[t][1]).replace("%d",e)}var s={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:u,m:u,mm:u,h:u,hh:u,d:u,dd:"%d päeva",M:u,MM:u,y:u,yy:u},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return t.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/eu.js b/src/WeLink/node_modules/dayjs/locale/eu.js new file mode 100644 index 0000000..ed8e228 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/eu.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_eu=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),l={name:"eu",weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),weekStart:1,weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"}};return t.default.locale(l,null,!0),l})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/fa.js b/src/WeLink/node_modules/dayjs/locale/fa.js new file mode 100644 index 0000000..648bb4e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/fa.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_fa=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"fa",weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/fi.js b/src/WeLink/node_modules/dayjs/locale/fi.js new file mode 100644 index 0000000..2681ebd --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/fi.js @@ -0,0 +1 @@ +!function(u,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(u="undefined"!=typeof globalThis?globalThis:u||self).dayjs_locale_fi=e(u.dayjs)}(this,(function(u){"use strict";function e(u){return u&&"object"==typeof u&&"default"in u?u:{default:u}}var t=e(u);function n(u,e,t,n){var i={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},a={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=n&&!e?a:i,_=s[t];return u<10?_.replace("%d",s.numbers[u]):_.replace("%d",u)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/fo.js b/src/WeLink/node_modules/dayjs/locale/fo.js new file mode 100644 index 0000000..ff6f8d8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/fo.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fo=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),r={name:"fo",weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"}};return a.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/fr-ca.js b/src/WeLink/node_modules/dayjs/locale/fr-ca.js new file mode 100644 index 0000000..9cc0d03 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/fr-ca.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr_ca=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),_={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/fr-ch.js b/src/WeLink/node_modules/dayjs/locale/fr-ch.js new file mode 100644 index 0000000..1308de9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/fr-ch.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr_ch=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),_={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/fr.js b/src/WeLink/node_modules/dayjs/locale/fr.js new file mode 100644 index 0000000..8c42be4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/fr.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/fy.js b/src/WeLink/node_modules/dayjs/locale/fy.js new file mode 100644 index 0000000..291dd5f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/fy.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fy=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),t={name:"fy",weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),weekStart:1,weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ga.js b/src/WeLink/node_modules/dayjs/locale/ga.js new file mode 100644 index 0000000..0b2489f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ga.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_ga=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var i=e(a),n={name:"ga",weekdays:"Dé Domhnaigh_Dé Luain_Dé Máirt_Dé Céadaoin_Déardaoin_Dé hAoine_Dé Satharn".split("_"),months:"Eanáir_Feabhra_Márta_Aibreán_Bealtaine_Méitheamh_Iúil_Lúnasa_Meán Fómhair_Deaireadh Fómhair_Samhain_Nollaig".split("_"),weekStart:1,weekdaysShort:"Dom_Lua_Mái_Céa_Déa_hAo_Sat".split("_"),monthsShort:"Eaná_Feab_Márt_Aibr_Beal_Méit_Iúil_Lúna_Meán_Deai_Samh_Noll".split("_"),weekdaysMin:"Do_Lu_Má_Ce_Dé_hA_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"}};return i.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/gd.js b/src/WeLink/node_modules/dayjs/locale/gd.js new file mode 100644 index 0000000..c7e47ab --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/gd.js @@ -0,0 +1 @@ +!function(a,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],i):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_gd=i(a.dayjs)}(this,(function(a){"use strict";function i(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var n=i(a),e={name:"gd",weekdays:"Didòmhnaich_Diluain_Dimàirt_Diciadain_Diardaoin_Dihaoine_Disathairne".split("_"),months:"Am Faoilleach_An Gearran_Am Màrt_An Giblean_An Cèitean_An t-Ògmhios_An t-Iuchar_An Lùnastal_An t-Sultain_An Dàmhair_An t-Samhain_An Dùbhlachd".split("_"),weekStart:1,weekdaysShort:"Did_Dil_Dim_Dic_Dia_Dih_Dis".split("_"),monthsShort:"Faoi_Gear_Màrt_Gibl_Cèit_Ògmh_Iuch_Lùn_Sult_Dàmh_Samh_Dùbh".split("_"),weekdaysMin:"Dò_Lu_Mà_Ci_Ar_Ha_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"}};return n.default.locale(e,null,!0),e})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/gl.js b/src/WeLink/node_modules/dayjs/locale/gl.js new file mode 100644 index 0000000..f5cf483 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/gl.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_gl=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"gl",weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/gom-latn.js b/src/WeLink/node_modules/dayjs/locale/gom-latn.js new file mode 100644 index 0000000..1596618 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/gom-latn.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_gom_latn=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),_={name:"gom-latn",weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),weekStart:1,weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"}};return a.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/gu.js b/src/WeLink/node_modules/dayjs/locale/gu.js new file mode 100644 index 0000000..f42a17c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/gu.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_gu=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/he.js b/src/WeLink/node_modules/dayjs/locale/he.js new file mode 100644 index 0000000..3e4062e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/he.js @@ -0,0 +1 @@ +!function(Y,M){"object"==typeof exports&&"undefined"!=typeof module?module.exports=M(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],M):(Y="undefined"!=typeof globalThis?globalThis:Y||self).dayjs_locale_he=M(Y.dayjs)}(this,(function(Y){"use strict";function M(Y){return Y&&"object"==typeof Y&&"default"in Y?Y:{default:Y}}var d=M(Y),e={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function _(Y,M,d){return(e[d+(2===Y?"2":"")]||e[d]).replace("%d",Y)}var l={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},ordinal:function(Y){return Y},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return d.default.locale(l,null,!0),l})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/hi.js b/src/WeLink/node_modules/dayjs/locale/hi.js new file mode 100644 index 0000000..9dca3cf --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/hi.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_hi=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/hr.js b/src/WeLink/node_modules/dayjs/locale/hr.js new file mode 100644 index 0000000..12e8387 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/hr.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_hr=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),n="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),_=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,o=function(e,a){return _.test(a)?s[e.month()]:n[e.month()]};o.s=n,o.f=s;var i={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:o,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(e){return e+"."}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ht.js b/src/WeLink/node_modules/dayjs/locale/ht.js new file mode 100644 index 0000000..3b2d9a3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ht.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ht=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=n(e),a={name:"ht",weekdays:"dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._mèk._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_mè_je_va_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"kèk segond",m:"yon minit",mm:"%d minit",h:"inèdtan",hh:"%d zè",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};return d.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/hu.js b/src/WeLink/node_modules/dayjs/locale/hu.js new file mode 100644 index 0000000..e2aff04 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/hu.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_hu=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),r={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(e,n,t,r){return"néhány másodperc"+(r||n?"":"e")},m:function(e,n,t,r){return"egy perc"+(r||n?"":"e")},mm:function(e,n,t,r){return e+" perc"+(r||n?"":"e")},h:function(e,n,t,r){return"egy "+(r||n?"óra":"órája")},hh:function(e,n,t,r){return e+" "+(r||n?"óra":"órája")},d:function(e,n,t,r){return"egy "+(r||n?"nap":"napja")},dd:function(e,n,t,r){return e+" "+(r||n?"nap":"napja")},M:function(e,n,t,r){return"egy "+(r||n?"hónap":"hónapja")},MM:function(e,n,t,r){return e+" "+(r||n?"hónap":"hónapja")},y:function(e,n,t,r){return"egy "+(r||n?"év":"éve")},yy:function(e,n,t,r){return e+" "+(r||n?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/hy-am.js b/src/WeLink/node_modules/dayjs/locale/hy-am.js new file mode 100644 index 0000000..44daa15 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/hy-am.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_hy_am=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"hy-am",weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),months:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),weekStart:1,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/id.js b/src/WeLink/node_modules/dayjs/locale/id.js new file mode 100644 index 0000000..0637a65 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/id.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_id=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/index.d.ts b/src/WeLink/node_modules/dayjs/locale/index.d.ts new file mode 100644 index 0000000..bd2dca2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/index.d.ts @@ -0,0 +1,11 @@ +/// + +declare module 'dayjs/locale/*' { + namespace locale { + interface Locale extends ILocale {} + } + + const locale: locale.Locale + + export = locale +} diff --git a/src/WeLink/node_modules/dayjs/locale/is.js b/src/WeLink/node_modules/dayjs/locale/is.js new file mode 100644 index 0000000..de6799b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/is.js @@ -0,0 +1 @@ +!function(u,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],r):(u="undefined"!=typeof globalThis?globalThis:u||self).dayjs_locale_is=r(u.dayjs)}(this,(function(u){"use strict";function r(u){return u&&"object"==typeof u&&"default"in u?u:{default:u}}var n=r(u),e={s:["nokkrar sekúndur","nokkrar sekúndur","nokkrum sekúndum"],m:["mínúta","mínútu","mínútu"],mm:["mínútur","mínútur","mínútum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","dögum"],M:["mánuður","mánuð","mánuði"],MM:["mánuðir","mánuði","mánuðum"],y:["ár","ár","ári"],yy:["ár","ár","árum"]};function t(u,r,n,t){var a=function(u,r,n,t){var a=t?0:n?1:2,d=2===u.length&&r%10==1?u[0]:u,m=e[d][a];return 1===u.length?m:"%d "+m}(n,u,t,r);return a.replace("%d",u)}var a={name:"is",weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),ordinal:function(u){return u},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/it-ch.js b/src/WeLink/node_modules/dayjs/locale/it-ch.js new file mode 100644 index 0000000..7e1c92f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/it-ch.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_it_ch=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=o(e),t={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/it.js b/src/WeLink/node_modules/dayjs/locale/it.js new file mode 100644 index 0000000..2ddf44b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/it.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_it=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"º"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ja.js b/src/WeLink/node_modules/dayjs/locale/ja.js new file mode 100644 index 0000000..cd52f36 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ja.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ja=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/jv.js b/src/WeLink/node_modules/dayjs/locale/jv.js new file mode 100644 index 0000000..7566308 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/jv.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_jv=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),_={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ka.js b/src/WeLink/node_modules/dayjs/locale/ka.js new file mode 100644 index 0000000..7b2ce53 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ka.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ka=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ka",weekdays:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"%s შემდეგ",past:"%s წინ",s:"წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათის",d:"დღეს",dd:"%d დღის განმავლობაში",M:"თვის",MM:"%d თვის",y:"წელი",yy:"%d წლის"},ordinal:function(_){return _}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/kk.js b/src/WeLink/node_modules/dayjs/locale/kk.js new file mode 100644 index 0000000..a2f17a3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/kk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_kk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"kk",weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekStart:1,relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/km.js b/src/WeLink/node_modules/dayjs/locale/km.js new file mode 100644 index 0000000..528923e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/km.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_km=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"km",weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekStart:1,weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/kn.js b/src/WeLink/node_modules/dayjs/locale/kn.js new file mode 100644 index 0000000..e040eba --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/kn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_kn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"kn",weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ko.js b/src/WeLink/node_modules/dayjs/locale/ko.js new file mode 100644 index 0000000..cfe8b37 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ko.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ko=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=_(e),t={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return d.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ku.js b/src/WeLink/node_modules/dayjs/locale/ku.js new file mode 100644 index 0000000..cd98fc2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ku.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("dayjs")):"function"==typeof define&&define.amd?define(["exports","dayjs"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ku={},e.dayjs)}(this,(function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t),d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},o={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},u=["کانوونی دووەم","شوبات","ئادار","نیسان","ئایار","حوزەیران","تەممووز","ئاب","ئەیلوول","تشرینی یەکەم","تشرینی دووەم","کانوونی یەکەم"],i={name:"ku",months:u,monthsShort:u,weekdays:"یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە".split("_"),weekdaysShort:"یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە".split("_"),weekStart:6,weekdaysMin:"ی_د_س_چ_پ_هـ_ش".split("_"),preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return o[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return d[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiem:function(e){return e<12?"پ.ن":"د.ن"},relativeTime:{future:"لە %s",past:"لەمەوپێش %s",s:"چەند چرکەیەک",m:"یەک خولەک",mm:"%d خولەک",h:"یەک کاتژمێر",hh:"%d کاتژمێر",d:"یەک ڕۆژ",dd:"%d ڕۆژ",M:"یەک مانگ",MM:"%d مانگ",y:"یەک ساڵ",yy:"%d ساڵ"}};r.default.locale(i,null,!0),e.default=i,e.englishToArabicNumbersMap=d,Object.defineProperty(e,"__esModule",{value:!0})})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ky.js b/src/WeLink/node_modules/dayjs/locale/ky.js new file mode 100644 index 0000000..1fdc40e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ky.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ky=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),weekStart:1,weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/lb.js b/src/WeLink/node_modules/dayjs/locale/lb.js new file mode 100644 index 0000000..b6895f2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/lb.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lb=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),n={name:"lb",weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),weekStart:1,weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/lo.js b/src/WeLink/node_modules/dayjs/locale/lo.js new file mode 100644 index 0000000..1bf09d1 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/lo.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_lo=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"lo",weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/lt.js b/src/WeLink/node_modules/dayjs/locale/lt.js new file mode 100644 index 0000000..52f2225 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/lt.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lt=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=s(e),d="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),a="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),l=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,M=function(e,s){return l.test(s)?d[e.month()]:a[e.month()]};M.s=a,M.f=d;var t={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:M,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/lv.js b/src/WeLink/node_modules/dayjs/locale/lv.js new file mode 100644 index 0000000..98fc126 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/lv.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lv=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=s(e),d={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/me.js b/src/WeLink/node_modules/dayjs/locale/me.js new file mode 100644 index 0000000..ecb22ae --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/me.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_me=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),a={name:"me",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/mi.js b/src/WeLink/node_modules/dayjs/locale/mi.js new file mode 100644 index 0000000..1b328f0 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/mi.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mi=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(e),t={name:"mi",weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/mk.js b/src/WeLink/node_modules/dayjs/locale/mk.js new file mode 100644 index 0000000..0f2ece1 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/mk.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mk=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ml.js b/src/WeLink/node_modules/dayjs/locale/ml.js new file mode 100644 index 0000000..8e7db4f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ml.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ml=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ml",weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/mn.js b/src/WeLink/node_modules/dayjs/locale/mn.js new file mode 100644 index 0000000..4de299b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/mn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_mn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"mn",weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},relativeTime:{future:"%s",past:"%s",s:"саяхан",m:"м",mm:"%dм",h:"1ц",hh:"%dц",d:"1ө",dd:"%dө",M:"1с",MM:"%dс",y:"1ж",yy:"%dж"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/mr.js b/src/WeLink/node_modules/dayjs/locale/mr.js new file mode 100644 index 0000000..af6bb3a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/mr.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_mr=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"mr",weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ms-my.js b/src/WeLink/node_modules/dayjs/locale/ms-my.js new file mode 100644 index 0000000..1917d7a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ms-my.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ms_my=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"ms-my",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),weekStart:1,weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ms.js b/src/WeLink/node_modules/dayjs/locale/ms.js new file mode 100644 index 0000000..be4f88e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ms.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ms=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),s={name:"ms",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH.mm",LLLL:"dddd, D MMMM YYYY HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/mt.js b/src/WeLink/node_modules/dayjs/locale/mt.js new file mode 100644 index 0000000..43d481a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/mt.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mt=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),i={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};return a.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/my.js b/src/WeLink/node_modules/dayjs/locale/my.js new file mode 100644 index 0000000..95adead --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/my.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_my=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"my",weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),weekStart:1,weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/nb.js b/src/WeLink/node_modules/dayjs/locale/nb.js new file mode 100644 index 0000000..ece1f31 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/nb.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nb=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),a={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ne.js b/src/WeLink/node_modules/dayjs/locale/ne.js new file mode 100644 index 0000000..3d166bc --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ne.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ne=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(e){return(""+e).replace(/\d/g,(function(e){return"०१२३४५६७८९"[e]}))},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/nl-be.js b/src/WeLink/node_modules/dayjs/locale/nl-be.js new file mode 100644 index 0000000..7a2f60f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/nl-be.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nl_be=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),d={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"}};return n.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/nl.js b/src/WeLink/node_modules/dayjs/locale/nl.js new file mode 100644 index 0000000..47e789f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/nl.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nl=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=a(e),n={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return d.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/nn.js b/src/WeLink/node_modules/dayjs/locale/nn.js new file mode 100644 index 0000000..eba3c24 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/nn.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nn=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),a={name:"nn",weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månadar",y:"eitt år",yy:"%d år"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/oc-lnc.js b/src/WeLink/node_modules/dayjs/locale/oc-lnc.js new file mode 100644 index 0000000..12e162c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/oc-lnc.js @@ -0,0 +1 @@ +!function(e,d){"object"==typeof exports&&"undefined"!=typeof module?module.exports=d(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],d):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_oc_lnc=d(e.dayjs)}(this,(function(e){"use strict";function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=d(e),s={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),monthsShort:"gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(e){return e+"º"}};return n.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/pa-in.js b/src/WeLink/node_modules/dayjs/locale/pa-in.js new file mode 100644 index 0000000..4ee3884 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/pa-in.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_pa_in=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"pa-in",weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/pl.js b/src/WeLink/node_modules/dayjs/locale/pl.js new file mode 100644 index 0000000..3f5148c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/pl.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pl=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=t(e);function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function n(e,t,i){var n=e+" ";switch(i){case"m":return t?"minuta":"minutę";case"mm":return n+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(a(e)?"godziny":"godzin");case"MM":return n+(a(e)?"miesiące":"miesięcy");case"yy":return n+(a(e)?"lata":"lat")}}var r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),_="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),s=/D MMMM/,d=function(e,t){return s.test(t)?r[e.month()]:_[e.month()]};d.s=_,d.f=r;var o={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:d,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/pt-br.js b/src/WeLink/node_modules/dayjs/locale/pt-br.js new file mode 100644 index 0000000..629c2f1 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/pt-br.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pt_br=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(e),s={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return a.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/pt.js b/src/WeLink/node_modules/dayjs/locale/pt.js new file mode 100644 index 0000000..91652e8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/pt.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pt=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(e),t={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/rn.js b/src/WeLink/node_modules/dayjs/locale/rn.js new file mode 100644 index 0000000..a093364 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/rn.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_rn=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),u={name:"rn",weekdays:"Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu".split("_"),weekdaysShort:"Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat".split("_"),weekdaysMin:"K7_K1_K2_K3_K4_K5_K6".split("_"),months:"Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama".split("_"),monthsShort:"Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig".split("_"),weekStart:1,ordinal:function(a){return a},relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(u,null,!0),u})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ro.js b/src/WeLink/node_modules/dayjs/locale/ro.js new file mode 100644 index 0000000..445af3d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ro.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ro=i(e.dayjs)}(this,(function(e){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=i(e),_={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"câteva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ru.js b/src/WeLink/node_modules/dayjs/locale/ru.js new file mode 100644 index 0000000..f896790 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ru.js @@ -0,0 +1 @@ +!function(_,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ru=t(_.dayjs)}(this,(function(_){"use strict";function t(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var e=t(_),n="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),s="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),r="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),o="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),i=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(_,t,e){var n,s;return"m"===e?t?"минута":"минуту":_+" "+(n=+_,s={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[e].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}var u=function(_,t){return i.test(t)?n[_.month()]:s[_.month()]};u.s=s,u.f=n;var a=function(_,t){return i.test(t)?r[_.month()]:o[_.month()]};a.s=o,a.f=r;var m={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:u,monthsShort:a,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:d,mm:d,h:"час",hh:d,d:"день",dd:d,M:"месяц",MM:d,y:"год",yy:d},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};return e.default.locale(m,null,!0),m})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/rw.js b/src/WeLink/node_modules/dayjs/locale/rw.js new file mode 100644 index 0000000..bf4c280 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/rw.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_rw=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var u=e(a),t={name:"rw",weekdays:"Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu".split("_"),months:"Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza".split("_"),relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(a){return a}};return u.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sd.js b/src/WeLink/node_modules/dayjs/locale/sd.js new file mode 100644 index 0000000..b1e1ee4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sd.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_sd=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"sd",weekdays:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),months:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekStart:1,weekdaysShort:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),monthsShort:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekdaysMin:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/se.js b/src/WeLink/node_modules/dayjs/locale/se.js new file mode 100644 index 0000000..2cbb224 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/se.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_se=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"se",weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),weekStart:1,weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/si.js b/src/WeLink/node_modules/dayjs/locale/si.js new file mode 100644 index 0000000..216ae8a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/si.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_si=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"si",weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),months:"දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),monthsShort:"දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),ordinal:function(_){return _},formats:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"විනාඩිය",mm:"විනාඩි %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sk.js b/src/WeLink/node_modules/dayjs/locale/sk.js new file mode 100644 index 0000000..b2707e3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sk.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sk=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,o){var a=e+" ";switch(n){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?a+(r(e)?"roky":"rokov"):a+"rokmi"}}var a={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sl.js b/src/WeLink/node_modules/dayjs/locale/sl.js new file mode 100644 index 0000000..162d2ec --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sl.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sl=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e);function r(e){return e%100==2}function a(e){return e%100==3||e%100==4}function s(e,n,t,s){var m=e+" ";switch(t){case"s":return n||s?"nekaj sekund":"nekaj sekundami";case"m":return n?"ena minuta":"eno minuto";case"mm":return r(e)?m+(n||s?"minuti":"minutama"):a(e)?m+(n||s?"minute":"minutami"):m+(n||s?"minut":"minutami");case"h":return n?"ena ura":"eno uro";case"hh":return r(e)?m+(n||s?"uri":"urama"):a(e)?m+(n||s?"ure":"urami"):m+(n||s?"ur":"urami");case"d":return n||s?"en dan":"enim dnem";case"dd":return r(e)?m+(n||s?"dneva":"dnevoma"):m+(n||s?"dni":"dnevi");case"M":return n||s?"en mesec":"enim mesecem";case"MM":return r(e)?m+(n||s?"meseca":"mesecema"):a(e)?m+(n||s?"mesece":"meseci"):m+(n||s?"mesecev":"meseci");case"y":return n||s?"eno leto":"enim letom";case"yy":return r(e)?m+(n||s?"leti":"letoma"):a(e)?m+(n||s?"leta":"leti"):m+(n||s?"let":"leti")}}var m={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"čez %s",past:"pred %s",s:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s}};return t.default.locale(m,null,!0),m})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sq.js b/src/WeLink/node_modules/dayjs/locale/sq.js new file mode 100644 index 0000000..99bca9a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sq.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sq=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),n={name:"sq",weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"}};return _.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sr-cyrl.js b/src/WeLink/node_modules/dayjs/locale/sr-cyrl.js new file mode 100644 index 0000000..90daeeb --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sr-cyrl.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sr_cyrl=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e),a={words:{m:["један минут","једног минута"],mm:["%d минут","%d минута","%d минута"],h:["један сат","једног сата"],hh:["%d сат","%d сата","%d сати"],d:["један дан","једног дана"],dd:["%d дан","%d дана","%d дана"],M:["један месец","једног месеца"],MM:["%d месец","%d месеца","%d месеци"],y:["једну годину","једне године"],yy:["%d годину","%d године","%d година"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,r,d){var i=a.words[r];if(1===r.length)return"y"===r&&t?"једна година":d||t?i[0]:i[1];var m=a.correctGrammarCase(e,i);return"yy"===r&&t&&"%d годину"===m?e+" година":m.replace("%d",e)}},d={name:"sr-cyrl",weekdays:"Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота".split("_"),weekdaysShort:"Нед._Пон._Уто._Сре._Чет._Пет._Суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),months:"Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар".split("_"),monthsShort:"Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return r.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sr.js b/src/WeLink/node_modules/dayjs/locale/sr.js new file mode 100644 index 0000000..35a5b55 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sr.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sr=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),r={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,a,d){var n=r.words[a];if(1===a.length)return"y"===a&&t?"jedna godina":d||t?n[0]:n[1];var i=r.correctGrammarCase(e,n);return"yy"===a&&t&&"%d godinu"===i?e+" godina":i.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:r.relativeTimeFormatter,mm:r.relativeTimeFormatter,h:r.relativeTimeFormatter,hh:r.relativeTimeFormatter,d:r.relativeTimeFormatter,dd:r.relativeTimeFormatter,M:r.relativeTimeFormatter,MM:r.relativeTimeFormatter,y:r.relativeTimeFormatter,yy:r.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ss.js b/src/WeLink/node_modules/dayjs/locale/ss.js new file mode 100644 index 0000000..4df16a5 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ss.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ss=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(e),i={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};return a.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sv-fi.js b/src/WeLink/node_modules/dayjs/locale/sv-fi.js new file mode 100644 index 0000000..5b2f8af --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sv-fi.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sv_fi=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),d={name:"sv-fi",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY, [kl.] HH.mm",LLLL:"dddd, D. MMMM YYYY, [kl.] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [kl.] HH.mm",llll:"ddd, D. MMM YYYY, [kl.] HH.mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sv.js b/src/WeLink/node_modules/dayjs/locale/sv.js new file mode 100644 index 0000000..16e6d37 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sv.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sv=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),d={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/sw.js b/src/WeLink/node_modules/dayjs/locale/sw.js new file mode 100644 index 0000000..a13bd44 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/sw.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_sw=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var i=e(a),t={name:"sw",weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekStart:1,ordinal:function(a){return a},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ta.js b/src/WeLink/node_modules/dayjs/locale/ta.js new file mode 100644 index 0000000..406cf13 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ta.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ta=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ta",weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/te.js b/src/WeLink/node_modules/dayjs/locale/te.js new file mode 100644 index 0000000..c7593db --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/te.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_te=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/tet.js b/src/WeLink/node_modules/dayjs/locale/tet.js new file mode 100644 index 0000000..aec6f68 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tet.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tet=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=t(e),a={name:"tet",weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),weekStart:1,weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"}};return u.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/tg.js b/src/WeLink/node_modules/dayjs/locale/tg.js new file mode 100644 index 0000000..7643103 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tg.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_tg=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"tg",weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/th.js b/src/WeLink/node_modules/dayjs/locale/th.js new file mode 100644 index 0000000..185d4eb --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/th.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_th=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(_){return _+"."}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/tk.js b/src/WeLink/node_modules/dayjs/locale/tk.js new file mode 100644 index 0000000..1e737b5 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tk.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tk=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),_={name:"tk",weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e){return e+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/tl-ph.js b/src/WeLink/node_modules/dayjs/locale/tl-ph.js new file mode 100644 index 0000000..885f8a9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tl-ph.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tl_ph=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"tl-ph",weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),weekStart:1,weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/tlh.js b/src/WeLink/node_modules/dayjs/locale/tlh.js new file mode 100644 index 0000000..03d8996 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tlh.js @@ -0,0 +1 @@ +!function(a,j){"object"==typeof exports&&"undefined"!=typeof module?module.exports=j(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],j):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tlh=j(a.dayjs)}(this,(function(a){"use strict";function j(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=j(a),e={name:"tlh",weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),weekStart:1,weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(e,null,!0),e})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/tr.js b/src/WeLink/node_modules/dayjs/locale/tr.js new file mode 100644 index 0000000..9c7844a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tr.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tr=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),_={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/types.d.ts b/src/WeLink/node_modules/dayjs/locale/types.d.ts new file mode 100644 index 0000000..2c24a64 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/types.d.ts @@ -0,0 +1,33 @@ +declare interface ILocale { + name: string + weekdays?: string[] + months?: string[] + weekStart?: number + weekdaysShort?: string[] + monthsShort?: string[] + weekdaysMin?: string[] + ordinal?: (n: number) => number | string + formats: Partial<{ + LT: string + LTS: string + L: string + LL: string + LLL: string + LLLL: string + }> + relativeTime: Partial<{ + future: string + past: string + s: string + m: string + mm: string + h: string + hh: string + d: string + dd: string + M: string + MM: string + y: string + yy: string + }> +} diff --git a/src/WeLink/node_modules/dayjs/locale/tzl.js b/src/WeLink/node_modules/dayjs/locale/tzl.js new file mode 100644 index 0000000..2b1d598 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tzl.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tzl=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),a={name:"tzl",weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),weekStart:1,weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"}};return t.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/tzm-latn.js b/src/WeLink/node_modules/dayjs/locale/tzm-latn.js new file mode 100644 index 0000000..3f7cdd4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tzm-latn.js @@ -0,0 +1 @@ +!function(a,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tzm_latn=s(a.dayjs)}(this,(function(a){"use strict";function s(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var n=s(a),i={name:"tzm-latn",weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekStart:6,weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"}};return n.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/tzm.js b/src/WeLink/node_modules/dayjs/locale/tzm.js new file mode 100644 index 0000000..e4c4031 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/tzm.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_tzm=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"tzm",weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekStart:6,weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ug-cn.js b/src/WeLink/node_modules/dayjs/locale/ug-cn.js new file mode 100644 index 0000000..995c3b3 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ug-cn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ug_cn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/uk.js b/src/WeLink/node_modules/dayjs/locale/uk.js new file mode 100644 index 0000000..537afb1 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/uk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_uk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),s="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),n="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(_,e,t){var s,n;return"m"===t?e?"хвилина":"хвилину":"h"===t?e?"година":"годину":_+" "+(s=+_,n={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[t].split("_"),s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2])}var i=function(_,e){return o.test(e)?s[_.month()]:n[_.month()]};i.s=n,i.f=s;var r={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:i,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:d,mm:d,h:d,hh:d,d:"день",dd:d,M:"місяць",MM:d,y:"рік",yy:d},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/ur.js b/src/WeLink/node_modules/dayjs/locale/ur.js new file mode 100644 index 0000000..4f83c8b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/ur.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ur=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/uz-latn.js b/src/WeLink/node_modules/dayjs/locale/uz-latn.js new file mode 100644 index 0000000..a8ebab4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/uz-latn.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_uz_latn=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var _=e(a),n={name:"uz-latn",weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),weekStart:1,weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Yaqin %s ichida",past:"%s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"}};return _.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/uz.js b/src/WeLink/node_modules/dayjs/locale/uz.js new file mode 100644 index 0000000..f6992b1 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/uz.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_uz=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"uz",weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Якин %s ичида",past:"%s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/vi.js b/src/WeLink/node_modules/dayjs/locale/vi.js new file mode 100644 index 0000000..ee33954 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/vi.js @@ -0,0 +1 @@ +!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_vi=n(t.dayjs)}(this,(function(t){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var h=n(t),_={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};return h.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/x-pseudo.js b/src/WeLink/node_modules/dayjs/locale/x-pseudo.js new file mode 100644 index 0000000..c1215d6 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/x-pseudo.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_x_pseudo=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),d={name:"x-pseudo",weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),weekStart:1,weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"}};return _.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/yo.js b/src/WeLink/node_modules/dayjs/locale/yo.js new file mode 100644 index 0000000..b12b37b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/yo.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_yo=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),a={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};return t.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/zh-cn.js b/src/WeLink/node_modules/dayjs/locale/zh-cn.js new file mode 100644 index 0000000..21cf228 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/zh-cn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_zh_cn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,_){return"W"===_?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,_){var t=100*e+_;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/zh-hk.js b/src/WeLink/node_modules/dayjs/locale/zh-hk.js new file mode 100644 index 0000000..f4b220d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/zh-hk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_zh_hk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,e){return"W"===e?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/zh-tw.js b/src/WeLink/node_modules/dayjs/locale/zh-tw.js new file mode 100644 index 0000000..5970f17 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/zh-tw.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_zh_tw=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,e){return"W"===e?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(_,e){var t=100*_+e;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/locale/zh.js b/src/WeLink/node_modules/dayjs/locale/zh.js new file mode 100644 index 0000000..2e80015 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/locale/zh.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_zh=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,_){return"W"===_?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,_){var t=100*e+_;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/package.json b/src/WeLink/node_modules/dayjs/package.json new file mode 100644 index 0000000..417c30b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/package.json @@ -0,0 +1,84 @@ +{ + "name": "dayjs", + "version": "1.11.10", + "description": "2KB immutable date time library alternative to Moment.js with the same modern API ", + "main": "dayjs.min.js", + "types": "index.d.ts", + "scripts": { + "test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && TZ=America/Whitehorse npm run test-tz && npm run test-tz && jest", + "test-tz": "date && jest test/timezone.test --coverage=false", + "lint": "./node_modules/.bin/eslint src/* test/* build/*", + "prettier": "prettier --write \"docs/**/*.md\"", + "babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm", + "build": "cross-env BABEL_ENV=build node build && npm run size", + "sauce": "npx karma start karma.sauce.conf.js", + "test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2 && npm run sauce -- 3", + "size": "size-limit && gzip-size dayjs.min.js" + }, + "pre-commit": [ + "lint" + ], + "size-limit": [ + { + "limit": "2.99 KB", + "path": "dayjs.min.js" + } + ], + "jest": { + "roots": [ + "test" + ], + "testRegex": "test/(.*?/)?.*test.js$", + "testURL": "http://localhost", + "coverageDirectory": "./coverage/", + "collectCoverage": true, + "collectCoverageFrom": [ + "src/**/*" + ] + }, + "keywords": [ + "dayjs", + "date", + "time", + "immutable", + "moment" + ], + "author": "iamkun", + "license": "MIT", + "homepage": "https://day.js.org", + "repository": { + "type": "git", + "url": "https://github.com/iamkun/dayjs.git" + }, + "devDependencies": { + "@babel/cli": "^7.0.0-beta.44", + "@babel/core": "^7.0.0-beta.44", + "@babel/node": "^7.0.0-beta.44", + "@babel/preset-env": "^7.0.0-beta.44", + "babel-core": "^7.0.0-bridge.0", + "babel-jest": "^22.4.3", + "babel-plugin-external-helpers": "^6.22.0", + "cross-env": "^5.1.6", + "eslint": "^4.19.1", + "eslint-config-airbnb-base": "^12.1.0", + "eslint-plugin-import": "^2.10.0", + "eslint-plugin-jest": "^21.15.0", + "gzip-size-cli": "^2.1.0", + "jasmine-core": "^2.99.1", + "jest": "^22.4.3", + "karma": "^2.0.2", + "karma-jasmine": "^1.1.2", + "karma-sauce-launcher": "^1.1.0", + "mockdate": "^2.0.2", + "moment": "2.29.2", + "moment-timezone": "0.5.31", + "ncp": "^2.0.0", + "pre-commit": "^1.2.2", + "prettier": "^1.16.1", + "rollup": "^2.45.1", + "rollup-plugin-babel": "^4.4.0", + "rollup-plugin-terser": "^7.0.2", + "size-limit": "^0.18.0", + "typescript": "^2.8.3" + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/advancedFormat.d.ts b/src/WeLink/node_modules/dayjs/plugin/advancedFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/advancedFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/advancedFormat.js b/src/WeLink/node_modules/dayjs/plugin/advancedFormat.js new file mode 100644 index 0000000..88d62e7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/advancedFormat.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_advancedFormat=t()}(this,(function(){"use strict";return function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var s=this.$utils(),a=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return r.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return r.ordinal(t.week(),"W");case"w":case"ww":return s.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return s.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return s.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return n.bind(this)(a)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/arraySupport.d.ts b/src/WeLink/node_modules/dayjs/plugin/arraySupport.d.ts new file mode 100644 index 0000000..e4e44b2 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/arraySupport.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare module 'dayjs' { + interface ConfigTypeMap { + arraySupport: [number?, number?, number?, number?, number?, number?, number?] + } +} + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/arraySupport.js b/src/WeLink/node_modules/dayjs/plugin/arraySupport.js new file mode 100644 index 0000000..b16675f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/arraySupport.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_arraySupport=t()}(this,(function(){"use strict";return function(e,t,n){var o=t.prototype,i=function(e){var t=e.date,o=e.utc;return Array.isArray(t)?o?t.length?new Date(Date.UTC.apply(null,t)):new Date:1===t.length?n(String(t[0])).toDate():new(Function.prototype.bind.apply(Date,[null].concat(t))):t},a=o.parse;o.parse=function(e){e.date=i.bind(this)(e),a.bind(this)(e)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/badMutable.d.ts b/src/WeLink/node_modules/dayjs/plugin/badMutable.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/badMutable.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/badMutable.js b/src/WeLink/node_modules/dayjs/plugin/badMutable.js new file mode 100644 index 0000000..68270cc --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/badMutable.js @@ -0,0 +1 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_badMutable=i()}(this,(function(){"use strict";return function(t,i){var n=i.prototype;n.$g=function(t,i,n){return this.$utils().u(t)?this[i]:this.$set(n,t)},n.set=function(t,i){return this.$set(t,i)};var e=n.startOf;n.startOf=function(t,i){return this.$d=e.bind(this)(t,i).toDate(),this.init(),this};var s=n.add;n.add=function(t,i){return this.$d=s.bind(this)(t,i).toDate(),this.init(),this};var o=n.locale;n.locale=function(t,i){return t?(this.$L=o.bind(this)(t,i).$L,this):this.$L};var r=n.daysInMonth;n.daysInMonth=function(){return r.bind(this.clone())()};var u=n.isSame;n.isSame=function(t,i){return u.bind(this.clone())(t,i)};var f=n.isBefore;n.isBefore=function(t,i){return f.bind(this.clone())(t,i)};var d=n.isAfter;n.isAfter=function(t,i){return d.bind(this.clone())(t,i)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/bigIntSupport.d.ts b/src/WeLink/node_modules/dayjs/plugin/bigIntSupport.d.ts new file mode 100644 index 0000000..d9f2f39 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/bigIntSupport.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs' + +declare module 'dayjs' { + interface ConfigTypeMap { + bigIntSupport: BigInt + } + export function unix(t: BigInt): Dayjs +} + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/bigIntSupport.js b/src/WeLink/node_modules/dayjs/plugin/bigIntSupport.js new file mode 100644 index 0000000..0c7efac --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/bigIntSupport.js @@ -0,0 +1 @@ +!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_bigIntSupport=e()}(this,(function(){"use strict";var n=function(n){return"bigint"==typeof n};return function(e,t,i){var o=t.prototype,u=function(e){var t=e.date;return n(t)?Number(t):t},r=o.parse;o.parse=function(n){n.date=u.bind(this)(n),r.bind(this)(n)};var f=i.unix;i.unix=function(e){var t=n(e)?Number(e):e;return f(t)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/buddhistEra.d.ts b/src/WeLink/node_modules/dayjs/plugin/buddhistEra.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/buddhistEra.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/buddhistEra.js b/src/WeLink/node_modules/dayjs/plugin/buddhistEra.js new file mode 100644 index 0000000..58b137c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/buddhistEra.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_buddhistEra=e()}(this,(function(){"use strict";return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/(\[[^\]]+])|BBBB|BB/g,(function(t,n){var i,o=String(e.$y+543),f="BB"===t?[o.slice(-2),2]:[o,4];return n||(i=e.$utils()).s.apply(i,f.concat(["0"]))}));return i.bind(this)(n)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/calendar.d.ts b/src/WeLink/node_modules/dayjs/plugin/calendar.d.ts new file mode 100644 index 0000000..a8d064f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/calendar.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + calendar(referenceTime?: ConfigType, formats?: object): string + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/calendar.js b/src/WeLink/node_modules/dayjs/plugin/calendar.js new file mode 100644 index 0000000..c577098 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/calendar.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_calendar=t()}(this,(function(){"use strict";return function(e,t,a){var n="h:mm A",d={lastDay:"[Yesterday at] "+n,sameDay:"[Today at] "+n,nextDay:"[Tomorrow at] "+n,nextWeek:"dddd [at] "+n,lastWeek:"[Last] dddd [at] "+n,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var n=t||this.$locale().calendar||d,o=a(e||void 0).startOf("d"),s=this.diff(o,"d",!0),i="sameElse",f=s<-6?i:s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":i,l=n[f]||d[f];return"function"==typeof l?l.call(this,a()):this.format(l)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/customParseFormat.d.ts b/src/WeLink/node_modules/dayjs/plugin/customParseFormat.d.ts new file mode 100644 index 0000000..1b41c0d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/customParseFormat.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs' + +declare interface PluginOptions { + parseTwoDigitYear?: (yearString: string) => number +} + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/customParseFormat.js b/src/WeLink/node_modules/dayjs/plugin/customParseFormat.js new file mode 100644 index 0000000..66d6089 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/customParseFormat.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)};var a=function(e){return function(t){this[e]=+t}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],h=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,a("seconds")],ss:[r,a("seconds")],m:[r,a("minutes")],mm:[r,a("minutes")],H:[r,a("hours")],h:[r,a("hours")],HH:[r,a("hours")],hh:[r,a("hours")],D:[r,a("day")],DD:[n,a("day")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,a("month")],MM:[n,a("month")],MMM:[i,function(e){var t=h("months"),n=(h("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=h("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,a("year")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\d{4}/,a("year")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=s.length,f=0;f-1)return new Date(("X"===t?1e3:1)*e);var r=c(t)(e),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=h||0,g=u||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(e){return new Date("")}}(t,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date("")),o={}}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(""))}else i.call(this,e)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/dayOfYear.d.ts b/src/WeLink/node_modules/dayjs/plugin/dayOfYear.d.ts new file mode 100644 index 0000000..4fd6601 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/dayOfYear.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + dayOfYear(): number + dayOfYear(value: number): Dayjs + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/dayOfYear.js b/src/WeLink/node_modules/dayjs/plugin/dayOfYear.js new file mode 100644 index 0000000..4a57000 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/dayOfYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_dayOfYear=t()}(this,(function(){"use strict";return function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/devHelper.d.ts b/src/WeLink/node_modules/dayjs/plugin/devHelper.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/devHelper.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/devHelper.js b/src/WeLink/node_modules/dayjs/plugin/devHelper.js new file mode 100644 index 0000000..a3f6daf --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/devHelper.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_devHelper=t()}(this,(function(){"use strict";return function(e,t,o){if(!process||"production"!==process.env.NODE_ENV){var s=t.prototype,n=s.parse;s.parse=function(e){var t=e.date;return"string"==typeof t&&13===t.length&&console.warn("To parse a Unix timestamp like "+t+", you should pass it as a Number. https://day.js.org/docs/en/parse/unix-timestamp-milliseconds"),"number"==typeof t&&4===String(t).length&&console.warn("Guessing you may want to parse the Year "+t+", you should pass it as a String "+t+", not a Number. Otherwise, "+t+" will be treated as a Unix timestamp"),e.args.length>=2&&!o.p.customParseFormat&&console.warn("To parse a date-time string like "+t+" using the given format, you should enable customParseFormat plugin first. https://day.js.org/docs/en/parse/string-format"),n.bind(this)(e)};var a=o.locale;o.locale=function(e,t,s){return void 0===t&&"string"==typeof e&&(o.Ls[e]||console.warn("Guessing you may want to use locale "+e+", you have to load it before using it. https://day.js.org/docs/en/i18n/loading-into-nodejs")),a(e,t,s)}}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/duration.d.ts b/src/WeLink/node_modules/dayjs/plugin/duration.d.ts new file mode 100644 index 0000000..9675a80 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/duration.d.ts @@ -0,0 +1,88 @@ +import { PluginFunc } from 'dayjs' +import { OpUnitType, UnitTypeLongPlural } from 'dayjs'; + +declare const plugin: PluginFunc +export as namespace plugin; +export = plugin + +declare namespace plugin { + /** + * @deprecated Please use more strict types + */ + type DurationInputType = string | number | object + /** + * @deprecated Please use more strict types + */ + type DurationAddType = number | object | Duration + + type DurationUnitsObjectType = Partial<{ + [unit in Exclude | "weeks"]: number + }>; + type DurationUnitType = Exclude + type CreateDurationType = + ((units: DurationUnitsObjectType) => Duration) + & ((time: number, unit?: DurationUnitType) => Duration) + & ((ISO_8601: string) => Duration) + type AddDurationType = CreateDurationType & ((duration: Duration) => Duration) + + interface Duration { + new (input: string | number | object, unit?: string, locale?: string): Duration + + clone(): Duration + + humanize(withSuffix?: boolean): string + + milliseconds(): number + asMilliseconds(): number + + seconds(): number + asSeconds(): number + + minutes(): number + asMinutes(): number + + hours(): number + asHours(): number + + days(): number + asDays(): number + + weeks(): number + asWeeks(): number + + months(): number + asMonths(): number + + years(): number + asYears(): number + + as(unit: DurationUnitType): number + + get(unit: DurationUnitType): number + + add: AddDurationType + + subtract: AddDurationType + + toJSON(): string + + toISOString(): string + + format(formatStr?: string): string + + locale(locale: string): Duration + } +} + +declare module 'dayjs' { + interface Dayjs { + add(duration: plugin.Duration): Dayjs + subtract(duration: plugin.Duration): Dayjs + } + + /** + * @param time If unit is not present, time treated as number of milliseconds + */ + export const duration: plugin.CreateDurationType; + export function isDuration(d: any): d is plugin.Duration +} \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/duration.js b/src/WeLink/node_modules/dayjs/plugin/duration.js new file mode 100644 index 0000000..4578f06 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/duration.js @@ -0,0 +1 @@ +!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_duration=s()}(this,(function(){"use strict";var t,s,n=1e3,i=6e4,e=36e5,r=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,d=2628e6,a=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h={years:u,months:d,days:r,hours:e,minutes:i,seconds:n,milliseconds:1,weeks:6048e5},c=function(t){return t instanceof g},f=function(t,s,n){return new g(t,n,s.$l)},m=function(t){return s.p(t)+"s"},l=function(t){return t<0},$=function(t){return l(t)?Math.ceil(t):Math.floor(t)},y=function(t){return Math.abs(t)},v=function(t,s){return t?l(t)?{negative:!0,format:""+y(t)+s}:{negative:!1,format:""+t+s}:{negative:!1,format:""}},g=function(){function l(t,s,n){var i=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),s)return f(t*h[m(s)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach((function(s){i.$d[m(s)]=t[s]})),this.calMilliseconds(),this;if("string"==typeof t){var e=t.match(a);if(e){var r=e.slice(2).map((function(t){return null!=t?Number(t):0}));return this.$d.years=r[0],this.$d.months=r[1],this.$d.weeks=r[2],this.$d.days=r[3],this.$d.hours=r[4],this.$d.minutes=r[5],this.$d.seconds=r[6],this.calMilliseconds(),this}}return this}var y=l.prototype;return y.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(s,n){return s+(t.$d[n]||0)*h[n]}),0)},y.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=$(t/u),t%=u,this.$d.months=$(t/d),t%=d,this.$d.days=$(t/r),t%=r,this.$d.hours=$(t/e),t%=e,this.$d.minutes=$(t/i),t%=i,this.$d.seconds=$(t/n),t%=n,this.$d.milliseconds=t},y.toISOString=function(){var t=v(this.$d.years,"Y"),s=v(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var i=v(n,"D"),e=v(this.$d.hours,"H"),r=v(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var u=v(o,"S"),d=t.negative||s.negative||i.negative||e.negative||r.negative||u.negative,a=e.format||r.format||u.format?"T":"",h=(d?"-":"")+"P"+t.format+s.format+i.format+a+e.format+r.format+u.format;return"P"===h||"-P"===h?"P0D":h},y.toJSON=function(){return this.toISOString()},y.format=function(t){var n=t||"YYYY-MM-DDTHH:mm:ss",i={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return n.replace(o,(function(t,s){return s||String(i[t])}))},y.as=function(t){return this.$ms/h[m(t)]},y.get=function(t){var s=this.$ms,n=m(t);return"milliseconds"===n?s%=1e3:s="weeks"===n?$(s/h[n]):this.$d[n],s||0},y.add=function(t,s,n){var i;return i=s?t*h[m(s)]:c(t)?t.$ms:f(t,this).$ms,f(this.$ms+i*(n?-1:1),this)},y.subtract=function(t,s){return this.add(t,s,!0)},y.locale=function(t){var s=this.clone();return s.$l=t,s},y.clone=function(){return f(this.$ms,this)},y.humanize=function(s){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!s)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},l}(),p=function(t,s,n){return t.add(s.years()*n,"y").add(s.months()*n,"M").add(s.days()*n,"d").add(s.hours()*n,"h").add(s.minutes()*n,"m").add(s.seconds()*n,"s").add(s.milliseconds()*n,"ms")};return function(n,i,e){t=e,s=e().$utils(),e.duration=function(t,s){var n=e.locale();return f(t,{$l:n},s)},e.isDuration=c;var r=i.prototype.add,o=i.prototype.subtract;i.prototype.add=function(t,s){return c(t)?p(this,t,1):r.bind(this)(t,s)},i.prototype.subtract=function(t,s){return c(t)?p(this,t,-1):o.bind(this)(t,s)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isBetween.d.ts b/src/WeLink/node_modules/dayjs/plugin/isBetween.d.ts new file mode 100644 index 0000000..431fff8 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isBetween.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)' | '(]'): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isBetween.js b/src/WeLink/node_modules/dayjs/plugin/isBetween.js new file mode 100644 index 0000000..68046cb --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isBetween.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isBetween=i()}(this,(function(){"use strict";return function(e,i,t){i.prototype.isBetween=function(e,i,s,f){var n=t(e),o=t(i),r="("===(f=f||"()")[0],u=")"===f[1];return(r?this.isAfter(n,s):!this.isBefore(n,s))&&(u?this.isBefore(o,s):!this.isAfter(o,s))||(r?this.isBefore(n,s):!this.isAfter(n,s))&&(u?this.isAfter(o,s):!this.isBefore(o,s))}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isLeapYear.d.ts b/src/WeLink/node_modules/dayjs/plugin/isLeapYear.d.ts new file mode 100644 index 0000000..5be7409 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isLeapYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isLeapYear(): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isLeapYear.js b/src/WeLink/node_modules/dayjs/plugin/isLeapYear.js new file mode 100644 index 0000000..030bd46 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isLeapYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isLeapYear=t()}(this,(function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isMoment.d.ts b/src/WeLink/node_modules/dayjs/plugin/isMoment.d.ts new file mode 100644 index 0000000..dac24f6 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isMoment.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + + export function isMoment(input: any): boolean + +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isMoment.js b/src/WeLink/node_modules/dayjs/plugin/isMoment.js new file mode 100644 index 0000000..be26412 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isMoment.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isMoment=n()}(this,(function(){"use strict";return function(e,n,t){t.isMoment=function(e){return t.isDayjs(e)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isSameOrAfter.d.ts b/src/WeLink/node_modules/dayjs/plugin/isSameOrAfter.d.ts new file mode 100644 index 0000000..916bc80 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isSameOrAfter.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isSameOrAfter(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isSameOrAfter.js b/src/WeLink/node_modules/dayjs/plugin/isSameOrAfter.js new file mode 100644 index 0000000..76f8a33 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isSameOrAfter.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrAfter=t()}(this,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isSameOrBefore.d.ts b/src/WeLink/node_modules/dayjs/plugin/isSameOrBefore.d.ts new file mode 100644 index 0000000..d52b095 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isSameOrBefore.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isSameOrBefore(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isSameOrBefore.js b/src/WeLink/node_modules/dayjs/plugin/isSameOrBefore.js new file mode 100644 index 0000000..57a767e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isSameOrBefore.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrBefore=i()}(this,(function(){"use strict";return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isToday.d.ts b/src/WeLink/node_modules/dayjs/plugin/isToday.d.ts new file mode 100644 index 0000000..04ac581 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isToday.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isToday(): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isToday.js b/src/WeLink/node_modules/dayjs/plugin/isToday.js new file mode 100644 index 0000000..ee9f9cd --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isToday.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isToday=o()}(this,(function(){"use strict";return function(e,o,t){o.prototype.isToday=function(){var e="YYYY-MM-DD",o=t();return this.format(e)===o.format(e)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isTomorrow.d.ts b/src/WeLink/node_modules/dayjs/plugin/isTomorrow.d.ts new file mode 100644 index 0000000..08110b6 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isTomorrow.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isTomorrow(): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isTomorrow.js b/src/WeLink/node_modules/dayjs/plugin/isTomorrow.js new file mode 100644 index 0000000..ca85044 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isTomorrow.js @@ -0,0 +1 @@ +!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(o="undefined"!=typeof globalThis?globalThis:o||self).dayjs_plugin_isTomorrow=e()}(this,(function(){"use strict";return function(o,e,t){e.prototype.isTomorrow=function(){var o="YYYY-MM-DD",e=t().add(1,"day");return this.format(o)===e.format(o)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isYesterday.d.ts b/src/WeLink/node_modules/dayjs/plugin/isYesterday.d.ts new file mode 100644 index 0000000..2d8ae9e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isYesterday.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isYesterday(): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isYesterday.js b/src/WeLink/node_modules/dayjs/plugin/isYesterday.js new file mode 100644 index 0000000..b63b68a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isYesterday.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isYesterday=t()}(this,(function(){"use strict";return function(e,t,n){t.prototype.isYesterday=function(){var e="YYYY-MM-DD",t=n().subtract(1,"day");return this.format(e)===t.format(e)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isoWeek.d.ts b/src/WeLink/node_modules/dayjs/plugin/isoWeek.d.ts new file mode 100644 index 0000000..3f4d88f --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isoWeek.d.ts @@ -0,0 +1,27 @@ +import { PluginFunc, OpUnitType, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +type ISOUnitType = OpUnitType | 'isoWeek'; + +declare module 'dayjs' { + interface Dayjs { + isoWeekYear(): number + isoWeek(): number + isoWeek(value: number): Dayjs + + isoWeekday(): number + isoWeekday(value: number): Dayjs + + startOf(unit: ISOUnitType): Dayjs + + endOf(unit: ISOUnitType): Dayjs + + isSame(date?: ConfigType, unit?: ISOUnitType): boolean + + isBefore(date?: ConfigType, unit?: ISOUnitType): boolean + + isAfter(date?: ConfigType, unit?: ISOUnitType): boolean + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isoWeek.js b/src/WeLink/node_modules/dayjs/plugin/isoWeek.js new file mode 100644 index 0000000..202ade7 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isoWeek.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isoWeek=t()}(this,(function(){"use strict";var e="day";return function(t,i,s){var a=function(t){return t.add(4-t.isoWeekday(),e)},d=i.prototype;d.isoWeekYear=function(){return a(this).year()},d.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var i,d,n,o,r=a(this),u=(i=this.isoWeekYear(),d=this.$u,n=(d?s.utc:s)().year(i).startOf("year"),o=4-n.isoWeekday(),n.isoWeekday()>4&&(o+=7),n.add(o,e));return r.diff(u,"week")+1},d.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var n=d.startOf;d.startOf=function(e,t){var i=this.$utils(),s=!!i.u(t)||t;return"isoweek"===i.p(e)?s?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):n.bind(this)(e,t)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/isoWeeksInYear.d.ts b/src/WeLink/node_modules/dayjs/plugin/isoWeeksInYear.d.ts new file mode 100644 index 0000000..2bc02cd --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isoWeeksInYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isoWeeksInYear(): number + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/isoWeeksInYear.js b/src/WeLink/node_modules/dayjs/plugin/isoWeeksInYear.js new file mode 100644 index 0000000..2bd20cd --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/isoWeeksInYear.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isoWeeksInYear=n()}(this,(function(){"use strict";return function(e,n){n.prototype.isoWeeksInYear=function(){var e=this.isLeapYear(),n=this.endOf("y").day();return 4===n||e&&5===n?53:52}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/localeData.d.ts b/src/WeLink/node_modules/dayjs/plugin/localeData.d.ts new file mode 100644 index 0000000..ae9e557 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/localeData.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + type WeekdayNames = [string, string, string, string, string, string, string]; + type MonthNames = [string, string, string, string, string, string, string, string, string, string, string, string]; + + interface InstanceLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(instance?: Dayjs): WeekdayNames; + weekdaysShort(instance?: Dayjs): WeekdayNames; + weekdaysMin(instance?: Dayjs): WeekdayNames; + months(instance?: Dayjs): MonthNames; + monthsShort(instance?: Dayjs): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface GlobalLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(): WeekdayNames; + weekdaysShort(): WeekdayNames; + weekdaysMin(): WeekdayNames; + months(): MonthNames; + monthsShort(): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface Dayjs { + localeData(): InstanceLocaleDataReturn; + } + + export function weekdays(localOrder?: boolean): WeekdayNames; + export function weekdaysShort(localOrder?: boolean): WeekdayNames; + export function weekdaysMin(localOrder?: boolean): WeekdayNames; + export function monthsShort(): MonthNames; + export function months(): MonthNames; + export function localeData(): GlobalLocaleDataReturn; +} diff --git a/src/WeLink/node_modules/dayjs/plugin/localeData.js b/src/WeLink/node_modules/dayjs/plugin/localeData.js new file mode 100644 index 0000000..55e01ee --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/localeData.js @@ -0,0 +1 @@ +!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_localeData=e()}(this,(function(){"use strict";return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return{months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return{firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/localizedFormat.d.ts b/src/WeLink/node_modules/dayjs/plugin/localizedFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/localizedFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/localizedFormat.js b/src/WeLink/node_modules/dayjs/plugin/localizedFormat.js new file mode 100644 index 0000000..2aa4665 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/localizedFormat.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_localizedFormat=t()}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,o,n){var r=o.prototype,i=r.format;n.en.formats=e,r.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var o=this.$locale().formats,n=function(t,o){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,o){return t||o.slice(1)}))}))}(t,void 0===o?{}:o);return i.call(this,n)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/minMax.d.ts b/src/WeLink/node_modules/dayjs/plugin/minMax.d.ts new file mode 100644 index 0000000..4c5f6dc --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/minMax.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + export function max(dayjs: Dayjs[]): Dayjs | null + export function max(...dayjs: Dayjs[]): Dayjs | null + export function min(dayjs: Dayjs[]): Dayjs | null + export function min(...dayjs: Dayjs[]): Dayjs | null +} diff --git a/src/WeLink/node_modules/dayjs/plugin/minMax.js b/src/WeLink/node_modules/dayjs/plugin/minMax.js new file mode 100644 index 0000000..ce06314 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/minMax.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_minMax=n()}(this,(function(){"use strict";return function(e,n,t){var i=function(e,n){if(!n||!n.length||1===n.length&&!n[0]||1===n.length&&Array.isArray(n[0])&&!n[0].length)return null;var t;1===n.length&&n[0].length>0&&(n=n[0]);t=(n=n.filter((function(e){return e})))[0];for(var i=1;i=0?1:a.date()),s=u.year||a.year(),d=u.month>=0?u.month:u.year||u.day?0:a.month(),f=u.hour||0,b=u.minute||0,h=u.second||0,y=u.millisecond||0;return o?new Date(Date.UTC(s,d,c,f,b,h,y)):new Date(s,d,c,f,b,h,y)}return r},o=i.parse;i.parse=function(t){t.date=r.bind(this)(t),o.bind(this)(t)};var u=i.set,a=i.add,c=i.subtract,s=function(t,n,e,i){void 0===i&&(i=1);var r=Object.keys(n),o=this;return r.forEach((function(e){o=t.bind(o)(n[e]*i,e)})),o};i.set=function(t,n){return n=void 0===n?t:n,"Object"===t.constructor.name?s.bind(this)((function(t,n){return u.bind(this)(n,t)}),n,t):u.bind(this)(t,n)},i.add=function(t,n){return"Object"===t.constructor.name?s.bind(this)(a,t,n):a.bind(this)(t,n)},i.subtract=function(t,n){return"Object"===t.constructor.name?s.bind(this)(a,t,n,-1):c.bind(this)(t,n)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/pluralGetSet.d.ts b/src/WeLink/node_modules/dayjs/plugin/pluralGetSet.d.ts new file mode 100644 index 0000000..ab2d89a --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/pluralGetSet.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc, UnitType, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + years(): number + + years(value: number): Dayjs + + months(): number + + months(value: number): Dayjs + + dates(): number + + dates(value: number): Dayjs + + weeks(): number + + weeks(value: number): Dayjs + + days(): number + + days(value: number): Dayjs + + hours(): number + + hours(value: number): Dayjs + + minutes(): number + + minutes(value: number): Dayjs + + seconds(): number + + seconds(value: number): Dayjs + + milliseconds(): number + + milliseconds(value: number): Dayjs + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/pluralGetSet.js b/src/WeLink/node_modules/dayjs/plugin/pluralGetSet.js new file mode 100644 index 0000000..d758494 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/pluralGetSet.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_pluralGetSet=o()}(this,(function(){"use strict";return function(e,o){var s=o.prototype;["milliseconds","seconds","minutes","hours","days","weeks","isoWeeks","months","quarters","years","dates"].forEach((function(e){s[e]=s[e.replace(/s$/,"")]}))}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/preParsePostFormat.d.ts b/src/WeLink/node_modules/dayjs/plugin/preParsePostFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/preParsePostFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/src/WeLink/node_modules/dayjs/plugin/preParsePostFormat.js b/src/WeLink/node_modules/dayjs/plugin/preParsePostFormat.js new file mode 100644 index 0000000..5611d10 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/preParsePostFormat.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_preParsePostFormat=e()}(this,(function(){"use strict";return function(t,e){var o=e.prototype.parse;e.prototype.parse=function(t){if("string"==typeof t.date){var e=this.$locale();t.date=e&&e.preparse?e.preparse(t.date):t.date}return o.bind(this)(t)};var r=e.prototype.format;e.prototype.format=function(){for(var t=arguments.length,e=new Array(t),o=0;o number + thresholds?: RelativeTimeThreshold[] +} + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + fromNow(withoutSuffix?: boolean): string + from(compared: ConfigType, withoutSuffix?: boolean): string + toNow(withoutSuffix?: boolean): string + to(compared: ConfigType, withoutSuffix?: boolean): string + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/relativeTime.js b/src/WeLink/node_modules/dayjs/plugin/relativeTime.js new file mode 100644 index 0000000..898eee6 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/relativeTime.js @@ -0,0 +1 @@ +!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(r="undefined"!=typeof globalThis?globalThis:r||self).dayjs_plugin_relativeTime=e()}(this,(function(){"use strict";return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return"function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/timezone.d.ts b/src/WeLink/node_modules/dayjs/plugin/timezone.d.ts new file mode 100644 index 0000000..049bb08 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/timezone.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + tz(timezone?: string, keepLocalTime?: boolean): Dayjs + offsetName(type?: 'short' | 'long'): string | undefined + } + + interface DayjsTimezone { + (date?: ConfigType, timezone?: string): Dayjs + (date: ConfigType, format: string, timezone?: string): Dayjs + guess(): string + setDefault(timezone?: string): void + } + + const tz: DayjsTimezone +} diff --git a/src/WeLink/node_modules/dayjs/plugin/timezone.js b/src/WeLink/node_modules/dayjs/plugin/timezone.js new file mode 100644 index 0000000..b778bef --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/timezone.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_timezone=e()}(this,(function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u=0&&(r[c]=parseInt(m,10))}var d=r[3],l=24===d?0:d,h=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",v=+e;return(o.utc(h).valueOf()-(v-=v%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),f=o(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=f.utcOffset();f=f.add(n-s,"minute")}return f.$x.$timezone=t,f},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return[i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/toArray.d.ts b/src/WeLink/node_modules/dayjs/plugin/toArray.d.ts new file mode 100644 index 0000000..45f1f0c --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/toArray.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + toArray(): number[] + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/toArray.js b/src/WeLink/node_modules/dayjs/plugin/toArray.js new file mode 100644 index 0000000..ac06750 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/toArray.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_toArray=e()}(this,(function(){"use strict";return function(t,e){e.prototype.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/toObject.d.ts b/src/WeLink/node_modules/dayjs/plugin/toObject.d.ts new file mode 100644 index 0000000..ca12aaf --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/toObject.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +interface DayjsObject { + years: number + months: number + date: number + hours: number + minutes: number + seconds: number + milliseconds: number +} + +declare module 'dayjs' { + interface Dayjs { + toObject(): DayjsObject + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/toObject.js b/src/WeLink/node_modules/dayjs/plugin/toObject.js new file mode 100644 index 0000000..573b49e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/toObject.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_toObject=e()}(this,(function(){"use strict";return function(t,e){e.prototype.toObject=function(){return{years:this.$y,months:this.$M,date:this.$D,hours:this.$H,minutes:this.$m,seconds:this.$s,milliseconds:this.$ms}}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/updateLocale.d.ts b/src/WeLink/node_modules/dayjs/plugin/updateLocale.d.ts new file mode 100644 index 0000000..ef1c01d --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/updateLocale.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + export function updateLocale(localeName: string, customConfig: Record): Record +} diff --git a/src/WeLink/node_modules/dayjs/plugin/updateLocale.js b/src/WeLink/node_modules/dayjs/plugin/updateLocale.js new file mode 100644 index 0000000..811d9e9 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/updateLocale.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_updateLocale=n()}(this,(function(){"use strict";return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return(n?Object.keys(n):[]).forEach((function(e){o[e]=n[e]})),o}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/utc.d.ts b/src/WeLink/node_modules/dayjs/plugin/utc.d.ts new file mode 100644 index 0000000..544ea4e --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/utc.d.ts @@ -0,0 +1,19 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + + utc(keepLocalTime?: boolean): Dayjs + + local(): Dayjs + + isUTC(): boolean + + utcOffset(offset: number | string, keepLocalTime?: boolean): Dayjs + } + + export function utc(config?: ConfigType, format?: string, strict?: boolean): Dayjs +} diff --git a/src/WeLink/node_modules/dayjs/plugin/utc.js b/src/WeLink/node_modules/dayjs/plugin/utc.js new file mode 100644 index 0000000..af07564 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/utc.js @@ -0,0 +1 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_utc=i()}(this,(function(){"use strict";var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else r.call(this)};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/weekOfYear.d.ts b/src/WeLink/node_modules/dayjs/plugin/weekOfYear.d.ts new file mode 100644 index 0000000..d988014 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/weekOfYear.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + week(): number + + week(value : number): Dayjs + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/weekOfYear.js b/src/WeLink/node_modules/dayjs/plugin/weekOfYear.js new file mode 100644 index 0000000..7e234c4 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/weekOfYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekOfYear=t()}(this,(function(){"use strict";var e="week",t="year";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),o=this.diff(a,e,!0);return o<0?r(this).startOf("week").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/weekYear.d.ts b/src/WeLink/node_modules/dayjs/plugin/weekYear.d.ts new file mode 100644 index 0000000..df25331 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/weekYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + weekYear(): number + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/weekYear.js b/src/WeLink/node_modules/dayjs/plugin/weekYear.js new file mode 100644 index 0000000..d90d137 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/weekYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekYear=t()}(this,(function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}})); \ No newline at end of file diff --git a/src/WeLink/node_modules/dayjs/plugin/weekday.d.ts b/src/WeLink/node_modules/dayjs/plugin/weekday.d.ts new file mode 100644 index 0000000..87a8025 --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/weekday.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + weekday(): number + + weekday(value: number): Dayjs + } +} diff --git a/src/WeLink/node_modules/dayjs/plugin/weekday.js b/src/WeLink/node_modules/dayjs/plugin/weekday.js new file mode 100644 index 0000000..ae2276b --- /dev/null +++ b/src/WeLink/node_modules/dayjs/plugin/weekday.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekday=t()}(this,(function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,i=this.$W,n=(i { + var notices = res.data.data.objects; + // 遍历runs数组并转换时间戳 + for(let run of notices){ + run.created_at_readable = dayjs.unix(run.created_at).format('YYYY-MM-DD HH:mm:ss'); + run.updated_at_readable = dayjs.unix(run.updated_at).format('YYYY-MM-DD HH:mm:ss'); + } + //排序使得先展示最新时间创建的任务 + notices.sort((a, b) => b.created_at - a.created_at); + this.setData({ + notices:notices + }) + }) + + // setInterval(() => { + // // 在这里编写你需要执行的刷新逻辑 + // that.onShow(); + // console.log("我在刷新") + // }, 60000); // 10 秒钟的间隔时间 + }, + + onPullDownRefresh: function () { + // 设置一个定时器,延迟一定时间后关闭下拉刷新 + setTimeout(function () { + wx.stopPullDownRefresh(); + }, 1000); + this.onShow(); + + } + +}) \ No newline at end of file diff --git a/src/WeLink/pages/home/home/home.json b/src/WeLink/pages/home/home/home.json new file mode 100644 index 0000000..b9ed379 --- /dev/null +++ b/src/WeLink/pages/home/home/home.json @@ -0,0 +1,5 @@ +{ + "usingComponents": {}, + "enablePullDownRefresh": true, + "backgroundColor": "#2b4b6b" +} \ No newline at end of file diff --git a/src/WeLink/pages/home/home/home.wxml b/src/WeLink/pages/home/home/home.wxml new file mode 100644 index 0000000..0e1e80f --- /dev/null +++ b/src/WeLink/pages/home/home/home.wxml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + 跑腿 + + + + + 点评 + + + + + + + + + + + + + + + + + 公告:{{item.name}} + 内容:{{item.content}} + + + + + + 创建者id:{{item.createrid}} + 创建时间:{{item.created_at_readable}} + + + + + + + + \ No newline at end of file diff --git a/src/WeLink/pages/home/home/home.wxss b/src/WeLink/pages/home/home/home.wxss new file mode 100644 index 0000000..6085d9a --- /dev/null +++ b/src/WeLink/pages/home/home/home.wxss @@ -0,0 +1,197 @@ +/* pages/home/home/home.wxss */ +.background { + width: 100vw; + height: 100vh; + object-fit: cover; + position: fixed; + top: 0; + left: 0; + z-index: -1; + } + +/* 设置swiper的高度 */ +swiper { + border-radius: 40rpx; /* 通过border-radius属性来设置边角弧度,根据需要调整值 */ + overflow: hidden; /* 隐藏超出边角弧度的部分 */ + margin-top: 45rpx; + width: 700rpx; + height: 450rpx; + margin-left: 20rpx; +} + +/* 设置两个图标卡片容器 */ +.icon-container { + display: flex; + justify-content: center; + margin-top: 50rpx; + display: flex; + /* 添加内边距来创建卡片效果 */ + padding: 10rpx; +} + +.icon-item { + margin-left: 20rpx; + /* 设置宽度为父容器的 50% */ + width: 45%; + /* 设置高度为 200rpx */ + height: 200rpx; + /* 使用 flex 布局 */ + display: flex; + /* 设置图标文字成纵向布局 */ + flex-direction: column; + /* 将元素在垂直方向上居中对齐 */ + align-items: center; + /* 将元素在水平方向上居中对齐 */ + justify-content: center; + /* 添加边框,弧度和阴影来创建卡片效果 */ + border: 1rpx solid #efefef; + border-radius: 10rpx; + box-shadow: 0 4rpx 6rpx rgba(0, 0, 0, 0.1); /* 添加立体感阴影效果 */ + /* 设置元素的盒模型为 border-box,即元素的总宽度和高度包括边框和内边距 */ + box-sizing: border-box; +} + +.icon-image { + width: 100rpx; + height: 100rpx; +} + +.icon-text { + font-size: 24rpx; + margin-top: 10rpx; +} + +/* 常见问题组件格式 */ +/* 常见问题矩形容器样式 */ +.faq-container { + margin-top: 20rpx; + /* 创建矩形效果 */ + border-radius: 10rpx; + /* 添加立体感阴影效果 */ + box-shadow: 0 4rpx 6rpx rgba(0, 0, 0, 0.1); +} + +/* 常见问题矩形内部样式 */ +.faq-box { + /* 添加边框样式 */ + border: 1rpx solid #efefef; + /* 设置内边距 */ + padding: 20rpx; +} + +/* 常见问题文本样式 */ +.faq-item { + font-size: 16rpx; + margin-bottom: 10rpx; + /* 添加其他文本样式 */ +} + + +/* 从helpmaster直接复制过来,应该是一个个列表式 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} +.titem{ + padding: 30rpx; + background-color: #ffffff; + box-shadow: 0 0 10rpx 2rpx #cdd9df; + margin-bottom: 20rpx; + border-radius: 30rpx; +} +.avatar{ + width: 60rpx; + height: 60rpx; + border-radius: 60rpx; + background: #e1e1e1 +} +.state{ + padding:0 15rpx; + height: 50rpx; + font-size: 24rpx; + width: 120rpx; + text-align: center; + line-height: 50rpx; + border-radius: 5rpx +} +.ste1{ + background-color: rgba(0, 204, 153,0.08); + color: #00cc99 +} +.ste2{ + background-color: rgba(51, 153, 255, 0.08); + color: rgb(51, 153, 255) +} +.ste3{ + background-color: rgba(255, 153, 0,0.08); + color: rgb(255, 153, 0) +} +.ste4{ + background-color: rgba(255, 102, 102,0.08); + color: #ff6666 +} +.ste5{ + background-color: rgba(136, 136, 136,0.08); + color: rgb(136, 136, 136) +} +.ste6{ + color: #317291; + +} +.bzBtn{ + font-size: 26rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) +} +.bzBtn2{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) +} +.bzBtn3{ + font-size: 26rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) +} +.bzBtn4{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) +} +/* 查看详情按钮 */ +.bzBtn5{ + font-size: 26rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) +} \ No newline at end of file diff --git a/src/WeLink/pages/home/notice/notice.js b/src/WeLink/pages/home/notice/notice.js new file mode 100644 index 0000000..67d4b9e --- /dev/null +++ b/src/WeLink/pages/home/notice/notice.js @@ -0,0 +1,66 @@ +// pages/home/notice/notice.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/src/WeLink/pages/home/notice/notice.json b/src/WeLink/pages/home/notice/notice.json new file mode 100644 index 0000000..cd742cd --- /dev/null +++ b/src/WeLink/pages/home/notice/notice.json @@ -0,0 +1,9 @@ +{ + "usingComponents": {}, + "window":{ + "backgroundTextStyle":"light", + "navigationBarBackgroundColor": "#2b4b6b", + "navigationBarTitleText": "公告", + "navigationBarTextStyle":"white" + } +} diff --git a/src/WeLink/pages/home/notice/notice.wxml b/src/WeLink/pages/home/notice/notice.wxml new file mode 100644 index 0000000..1dcd552 --- /dev/null +++ b/src/WeLink/pages/home/notice/notice.wxml @@ -0,0 +1,2 @@ + + diff --git a/src/WeLink/pages/home/notice/notice.wxss b/src/WeLink/pages/home/notice/notice.wxss new file mode 100644 index 0000000..b753c6f --- /dev/null +++ b/src/WeLink/pages/home/notice/notice.wxss @@ -0,0 +1 @@ +/* pages/home/notice/notice.wxss */ \ No newline at end of file diff --git a/src/WeLink/pages/index/index.js b/src/WeLink/pages/index/index.js new file mode 100644 index 0000000..0bc1771 --- /dev/null +++ b/src/WeLink/pages/index/index.js @@ -0,0 +1,48 @@ +// index.js +// 获取应用实例 +const app = getApp() + +Page({ + data: { + motto: 'Hello World', + userInfo: {}, + hasUserInfo: false, + canIUse: wx.canIUse('button.open-type.getUserInfo'), + canIUseGetUserProfile: false, + canIUseOpenData: wx.canIUse('open-data.type.userAvatarUrl') && wx.canIUse('open-data.type.userNickName') // 如需尝试获取用户信息可改为false + }, + // 事件处理函数 + bindViewTap() { + wx.navigateTo({ + url: '../logs/logs' + }) + }, + onLoad() { + if (wx.getUserProfile) { + this.setData({ + canIUseGetUserProfile: true + }) + } + }, + getUserProfile(e) { + // 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认,开发者妥善保管用户快速填写的头像昵称,避免重复弹窗 + wx.getUserProfile({ + desc: '展示用户信息', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写 + success: (res) => { + console.log(res) + this.setData({ + userInfo: res.userInfo, + hasUserInfo: true + }) + } + }) + }, + getUserInfo(e) { + // 不推荐使用getUserInfo获取用户信息,预计自2021年4月13日起,getUserInfo将不再弹出弹窗,并直接返回匿名的用户个人信息 + console.log(e) + this.setData({ + userInfo: e.detail.userInfo, + hasUserInfo: true + }) + } +}) diff --git a/src/WeLink/pages/index/index.json b/src/WeLink/pages/index/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/WeLink/pages/index/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/WeLink/pages/index/index.wxml b/src/WeLink/pages/index/index.wxml new file mode 100644 index 0000000..f00d294 --- /dev/null +++ b/src/WeLink/pages/index/index.wxml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + 请使用1.4.4及以上版本基础库 + + + + {{userInfo.nickName}} + + + + {{motto}} + + diff --git a/src/WeLink/pages/index/index.wxss b/src/WeLink/pages/index/index.wxss new file mode 100644 index 0000000..eb64203 --- /dev/null +++ b/src/WeLink/pages/index/index.wxss @@ -0,0 +1,19 @@ +/**index.wxss**/ +.userinfo { + display: flex; + flex-direction: column; + align-items: center; + color: #aaa; +} + +.userinfo-avatar { + overflow: hidden; + width: 128rpx; + height: 128rpx; + margin: 20rpx; + border-radius: 50%; +} + +.usermotto { + margin-top: 200px; +} \ No newline at end of file diff --git a/src/WeLink/pages/login/login.js b/src/WeLink/pages/login/login.js new file mode 100644 index 0000000..97ac4c7 --- /dev/null +++ b/src/WeLink/pages/login/login.js @@ -0,0 +1,105 @@ +const app = getApp(); +const defaultAvatarUrl = 'https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0' + +Page({ + data: { + userID: '', + password: '', + avatarUrl: defaultAvatarUrl, + }, + onChooseAvatar(e) { + const { avatarUrl } = e.detail + this.setData({ + avatarUrl:avatarUrl, + }) + }, + + onLoad(){ + //设置导航栏效果 + wx.setNavigationBarColor({ + frontColor: '#ffffff', + backgroundColor: '#6e42d3', + }) + }, + // 输入学号 + inputUserID(e) { + this.setData({ userID: e.detail.value }); + }, + // 输入密码 + inputPassword(e) { + this.setData({ password: e.detail.value }); + }, + + // 登录按钮点击事件 + login() { + // 将头像URL储存在本地存储中 + wx.setStorageSync('avatarUrl', this.data.avatarUrl); + // 获取输入的学号和密码 + const { userID, password } = this.data; + + if (!userID || !password) { + wx.showToast({ + title: '请填写完整信息', + icon: 'none', + }); + return; + } + + wx.showLoading({ + title: '登录中', + }); + + let tableName = "users"; + let Car = new wx.BaaS.TableObject(tableName); + // 创建查询对象 + let query = new wx.BaaS.Query(); + query.compare("userID", "=", userID); + // 执行查询操作 + Car.setQuery(query).find().then(res => { + if (res.data.objects.length > 0) { + // 判断密码是否匹配 + const userData = res.data.objects[0]; // 获取第一个匹配的用户数据 + if (userData.password === password) { + // 登录成功,保存用户信息并跳转到成功页面 + wx.setStorageSync('user', userData); // 保存用户信息到本地存储 + wx.showToast({ + title: '登录成功', + icon: 'success', + duration: 300, + }); + setTimeout(() => { + wx.switchTab({ + url: '/pages/home/home/home', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 300); // 延迟1秒钟后执行页面跳转 + } else { + // 登录失败,密码错误 + wx.showToast({ + title: '密码错误,请重新输入', + icon: 'none', + }); + } + } else { + // 用户不存在 + wx.showToast({ + title: '该用户未注册', + icon: 'none', + }); + } + }).catch(err => { + // 查询失败,显示错误提示 + console.error("查询失败", err); + wx.showToast({ + title: '登录失败,请稍后重试', + icon: 'none', + }); + }); + }, + + // 注册按钮点击事件 + register() { + wx.navigateTo({ + url: '/pages/register/register', // 跳转到注册页面的路径 + }); + } +}); diff --git a/src/WeLink/pages/login/login.json b/src/WeLink/pages/login/login.json new file mode 100644 index 0000000..b4e2b6c --- /dev/null +++ b/src/WeLink/pages/login/login.json @@ -0,0 +1,3 @@ +{ + "navigationBarTitleText": "欢迎登录WeLink" +} \ No newline at end of file diff --git a/src/WeLink/pages/login/login.wxml b/src/WeLink/pages/login/login.wxml new file mode 100644 index 0000000..0bd8500 --- /dev/null +++ b/src/WeLink/pages/login/login.wxml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + 登录成功后在我的页面点击图片可设置头像 + + + + + + + +管理 \ No newline at end of file diff --git a/src/WeLink/pages/login/login.wxss b/src/WeLink/pages/login/login.wxss new file mode 100644 index 0000000..47a2492 --- /dev/null +++ b/src/WeLink/pages/login/login.wxss @@ -0,0 +1,90 @@ +page { + /* 设置页面背景颜色的线性渐变 */ + background: linear-gradient(to top,#6183dd,#6e42d3); + font-size: 32rpx; +} + +/* 设置微信头部这部分容器 */ +/* 设置按钮和图片的大小相同,并显示为圆形 */ +.wechatapp .header { + width: 190rpx; /* 将宽度设置为与高度相同 */ + height: 190rpx; /* 保持高度不变 */ + border: 2px solid #fff; + margin: 0rpx auto 0; + border-radius: 50%; /* 使其成为完美的圆形 */ + overflow: hidden; + box-shadow: 1px 0px 5px rgba(50, 50, 50, 0.3); +} + +button.wechatapp { + width: 190rpx; /* 设置按钮的宽度与图片相同 */ + height: 190rpx; /* 设置按钮的高度与图片相同 */ + border: none; /* 删除按钮边框 */ + background: none; /* 删除按钮背景 */ + padding: 0; /* 删除任何填充或边距 */ + outline: none; /* 删除按钮轮廓 */ +} +.registerbt{ + background-color: transparent; + border: none; + outline: none; + text-decoration: underline; +} +/* 设置整个除头像内容 */ +.container { + /* 设置容器内边距 */ + padding: 0 60rpx; +} +/* 设置两个输入框 */ +.bgg{ + font-size: 30rpx; + text-align: center; + width: 100%; + line-height: 90rpx; + height: 90rpx; + background: rgba(255, 255, 255, 0.8); + border-radius: 20rpx;/*设置圆角*/ + margin-bottom: 20rpx; /* 添加底部间隔 */ +} +/* 设置输入框后面的面板 */ +.panels{ + padding: 30rpx; + background-color: rgba(255, 255, 255, 0.3); + border-radius: 20rpx; +} + + + + +.login-btn { + border: none; + height: 88rpx; + line-height: 88rpx; + background: #04be01; + border-radius: 45rpx; + display: flex; /* 使用弹性布局 */ + justify-content: center; /* 在水平方向上居中对齐 */ + align-items: center; /* 在垂直方向上居中对齐 */ + color: #fff; + font-size: 11pt; +} +/* 设置按钮触摸时候的样式 */ +.login-btn.button-hover { + box-shadow: inset 0 5rpx 30rpx rgba(0, 0, 0, 0.15); +} + +/* 管理员按钮 */ +.createbutton { + width: 120rpx; + height: 120rpx; + border-radius: 150rpx; + box-shadow: 0 0 10rpx 0 rgba(0, 153, 255, 0.363); + background:linear-gradient(to right top,#c9cedd,#a19ddb); + position: fixed; + bottom: 30rpx; + right: 30rpx; + line-height: 115rpx; + text-align: center; + font-size: 30rpx; /* 调整文本大小为 48rpx */ + color: #fff +} \ No newline at end of file diff --git a/src/WeLink/pages/logs/logs.js b/src/WeLink/pages/logs/logs.js new file mode 100644 index 0000000..85f6aac --- /dev/null +++ b/src/WeLink/pages/logs/logs.js @@ -0,0 +1,18 @@ +// logs.js +const util = require('../../utils/util.js') + +Page({ + data: { + logs: [] + }, + onLoad() { + this.setData({ + logs: (wx.getStorageSync('logs') || []).map(log => { + return { + date: util.formatTime(new Date(log)), + timeStamp: log + } + }) + }) + } +}) diff --git a/src/WeLink/pages/logs/logs.json b/src/WeLink/pages/logs/logs.json new file mode 100644 index 0000000..3ee76c1 --- /dev/null +++ b/src/WeLink/pages/logs/logs.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "查看启动日志", + "usingComponents": {} +} \ No newline at end of file diff --git a/src/WeLink/pages/logs/logs.wxml b/src/WeLink/pages/logs/logs.wxml new file mode 100644 index 0000000..0b6b645 --- /dev/null +++ b/src/WeLink/pages/logs/logs.wxml @@ -0,0 +1,6 @@ + + + + {{index + 1}}. {{log.date}} + + diff --git a/src/WeLink/pages/logs/logs.wxss b/src/WeLink/pages/logs/logs.wxss new file mode 100644 index 0000000..94d4b88 --- /dev/null +++ b/src/WeLink/pages/logs/logs.wxss @@ -0,0 +1,8 @@ +.log-list { + display: flex; + flex-direction: column; + padding: 40rpx; +} +.log-item { + margin: 10rpx; +} diff --git a/src/WeLink/pages/me/about/about.js b/src/WeLink/pages/me/about/about.js new file mode 100644 index 0000000..f6edb8e --- /dev/null +++ b/src/WeLink/pages/me/about/about.js @@ -0,0 +1,66 @@ +// pages/me/about/about.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/src/WeLink/pages/me/about/about.json b/src/WeLink/pages/me/about/about.json new file mode 100644 index 0000000..dcde4a0 --- /dev/null +++ b/src/WeLink/pages/me/about/about.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "关于我们" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/about/about.wxml b/src/WeLink/pages/me/about/about.wxml new file mode 100644 index 0000000..f30c663 --- /dev/null +++ b/src/WeLink/pages/me/about/about.wxml @@ -0,0 +1,9 @@ + +任我航(WeLink)是由五名中航大计算机学院学生开发,专注于丰富中航大学子校园生活的微信小程序。现在您正在使用1.0版本,如果您对我们的产品有建议,欢迎随时联系我们,我们非常开心地倾听您的见解,不断完善小程序,造福学生,愿我们的校园生活更加丰富多彩! + + + 联系我们:小陈客服 + +合作电话: 18487609727 +合作QQ: 2193811500 +E-mail:supreme2938@163.com \ No newline at end of file diff --git a/src/WeLink/pages/me/about/about.wxss b/src/WeLink/pages/me/about/about.wxss new file mode 100644 index 0000000..4f3a120 --- /dev/null +++ b/src/WeLink/pages/me/about/about.wxss @@ -0,0 +1 @@ +/* pages/me/about/about.wxss */ \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/admin.js b/src/WeLink/pages/me/admin/admin.js new file mode 100644 index 0000000..ad1acbb --- /dev/null +++ b/src/WeLink/pages/me/admin/admin.js @@ -0,0 +1,44 @@ +// pages/me/admin/admin.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + message: "欢迎管理员!", + }, + navigateToAudit() { + // 跳转到审核页面 + wx.navigateTo({ + url: '/pages/me/admin/audit/audit', + }); + }, + navigateToNotice() { + // 跳转到公告页面 + wx.navigateTo({ + url: '/pages/me/admin/notice/notice', + }); + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + +}) \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/admin.json b/src/WeLink/pages/me/admin/admin.json new file mode 100644 index 0000000..0f61fc1 --- /dev/null +++ b/src/WeLink/pages/me/admin/admin.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "管理" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/admin.wxml b/src/WeLink/pages/me/admin/admin.wxml new file mode 100644 index 0000000..47a3629 --- /dev/null +++ b/src/WeLink/pages/me/admin/admin.wxml @@ -0,0 +1,16 @@ + + + + {{message}} + + + + + 审核 + + + + + 公告 + + \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/admin.wxss b/src/WeLink/pages/me/admin/admin.wxss new file mode 100644 index 0000000..49667bc --- /dev/null +++ b/src/WeLink/pages/me/admin/admin.wxss @@ -0,0 +1,80 @@ +/* pages/me/admin/admin.wxss */ +.background { + width: 100vw; + height: 100vh; + object-fit: cover; + position: fixed; + top: 0; + left: 0; + z-index: -1; +} + +/* 显示的文字样式 */ +.message { + font-size: 35px; + text-align: center; + margin-top: 85px; + color: rgb(255, 255, 255); +} +/* 设置两个图标卡片容器 */ +.icon-container { + display: flex; + /* 添加内边距来创建卡片效果 */ + padding: 10rpx; +} + +.icon-item { + /* 设置宽度为父容器的 50% */ + width: 50%; + /* 设置高度为 200rpx */ + height: 200rpx; + /* 使用 flex 布局 */ + display: flex; + /* 设置图标文字成纵向布局 */ + flex-direction: column; + /* 将元素在垂直方向上居中对齐 */ + align-items: center; + /* 将元素在水平方向上居中对齐 */ + justify-content: center; + /* 添加边框,弧度和阴影来创建卡片效果 */ + border: 1rpx solid #efefef; + border-radius: 10rpx; + box-shadow: 0 4rpx 6rpx rgba(0, 0, 0, 0.1); /* 添加立体感阴影效果 */ + /* 设置元素的盒模型为 border-box,即元素的总宽度和高度包括边框和内边距 */ + box-sizing: border-box; +} + +.icon-image { + width: 100rpx; + height: 100rpx; +} + +.icon-text { + font-size: 24rpx; + margin-top: 10rpx; +} + +/* 常见问题组件格式 */ +/* 常见问题矩形容器样式 */ +.faq-container { + margin-top: 20rpx; + /* 创建矩形效果 */ + border-radius: 10rpx; + /* 添加立体感阴影效果 */ + box-shadow: 0 4rpx 6rpx rgba(0, 0, 0, 0.1); +} + +/* 常见问题矩形内部样式 */ +.faq-box { + /* 添加边框样式 */ + border: 1rpx solid #efefef; + /* 设置内边距 */ + padding: 20rpx; +} + +/* 常见问题文本样式 */ +.faq-item { + font-size: 16rpx; + margin-bottom: 10rpx; + /* 添加其他文本样式 */ +} \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/audit/audit.js b/src/WeLink/pages/me/admin/audit/audit.js new file mode 100644 index 0000000..07fc97c --- /dev/null +++ b/src/WeLink/pages/me/admin/audit/audit.js @@ -0,0 +1,101 @@ +const dayjs = require('dayjs'); + +Page({ + data: { + reports: [] + }, + + viewRemarkDetails(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var remark = JSON.stringify(e.currentTarget.dataset.remark); + wx.navigateTo({ + url: '/pages/remark/remarkdetails/remarkdetails?remarks=' + remark + }) + }, + + onLoad: function() { + this.fetchReportAndRemark(); + }, + + fetchReportAndRemark: function() { + return new Promise((resolve, reject) => { + let Report = new wx.BaaS.TableObject('report'); + let Remark = new wx.BaaS.TableObject('remark'); + + Report.find().then(res => { + let reports = res.data.objects; + let promises = []; + reports.forEach(report => { + let p = Remark.get(report.remark_ID).then(remark => { + report.remarkDetails = remark.data; + report.remarkDetails.isHidden = report.reviewState === 2; + report.reporter = report.report_Name; + report.reviewStateText = this.getReviewStateText(report.reviewState); + report.reviewStateClass = 'reviewState-' + report.reviewState; + report.remarkDetails.createTime = dayjs(report.remarkDetails.create_time).format('YYYY-MM-DD HH:mm:ss'); + this.setData({ reports }); + }); + promises.push(p); + }); + Promise.all(promises).then(() => { + resolve(); + }).catch(reject); + }).catch(reject); + }); + }, + + getReviewStateText: function(state) { + const states = { + 0: '未审核', + 1: '无问题', + 2: '存在问题' + }; + return states[state] || '未知状态'; + }, + + markReviewState: function(e) { + const reportId = e.currentTarget.dataset.id; + const state = e.currentTarget.dataset.state; + let Report = new wx.BaaS.TableObject('report'); + let Remark = new wx.BaaS.TableObject('remark'); + + console.log("Updating reportId: ", reportId, " with state: ", state); + + Report.get(reportId).then(report => { + const remarkId = report.data.remark_ID; + console.log("Found remarkId: ", remarkId, " for reportId: ", reportId); + + let remark = Remark.getWithoutData(remarkId); + let stateNum = Number(state); + let problem = (stateNum === 2) ? '1' : '0'; + remark.set('problem', problem); + + console.log("Updating remarkId: ", remarkId, " with problem: ", problem); + return remark.update(); + }).then(() => { + let report = Report.getWithoutData(reportId); + report.set('reviewState', state); + return report.update(); + }).then(() => { + wx.showToast({ + title: `审核状态已标记为${this.getReviewStateText(state)}`, + icon: 'success', + duration: 2000 + }); + this.fetchReportAndRemark().then(() => { + wx.setStorageSync('reports', this.data.reports); + }).catch(error => { + console.error('Fetch reports after update failed:', error); + }); + }).catch(err => { + wx.showToast({ + title: '更新失败', + icon: 'none', + duration: 2000 + }); + console.error('Error during update:', err); + }); + } + + }); + \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/audit/audit.json b/src/WeLink/pages/me/admin/audit/audit.json new file mode 100644 index 0000000..36bd65b --- /dev/null +++ b/src/WeLink/pages/me/admin/audit/audit.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "审核" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/audit/audit.wxml b/src/WeLink/pages/me/admin/audit/audit.wxml new file mode 100644 index 0000000..e86f9c0 --- /dev/null +++ b/src/WeLink/pages/me/admin/audit/audit.wxml @@ -0,0 +1,29 @@ + + + + + + 名称: {{item.remarkDetails.name}} + 内容: {{item.remarkDetails.content}} + 类型: {{item.remarkDetails.type}} + 分数: {{item.remarkDetails.score}} + + + 创建者ID: {{item.remarkDetails.createrid}} + 创建时间: {{item.remarkDetails.createTime}} + + 举报人: {{item.reporter}} + 举报原因: {{item.content}} + + + 审核状态: {{item.reviewStateText}} + + + + + + + + + + diff --git a/src/WeLink/pages/me/admin/audit/audit.wxss b/src/WeLink/pages/me/admin/audit/audit.wxss new file mode 100644 index 0000000..6480fe4 --- /dev/null +++ b/src/WeLink/pages/me/admin/audit/audit.wxss @@ -0,0 +1,138 @@ + /* 从helpmaster直接复制过来,应该是一个个列表式 */ + .bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 + } + .botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto + } + .titem{ + padding: 20rpx; + background-color: #ffffff; + border-radius: 10rpx; + box-shadow: 0 0 10rpx 5rpx #f1f1f1; + margin-bottom: 20rpx + } + .avatar{ + width: 60rpx; + height: 60rpx; + border-radius: 60rpx; + background: #e1e1e1 + } + .state{ + padding:0 15rpx; + height: 50rpx; + font-size: 24rpx; + width: 120rpx; + text-align: center; + line-height: 50rpx; + border-radius: 5rpx + } + .ste1{ + background-color: rgba(0, 204, 153,0.08); + color: #00cc99 + } + .ste2{ + background-color: rgba(51, 153, 255, 0.08); + color: rgb(51, 153, 255) + } + .ste3{ + background-color: rgba(255, 153, 0,0.08); + color: rgb(255, 153, 0) + } + .ste4{ + background-color: rgba(255, 102, 102,0.08); + color: #ff6666 + } + .ste5{ + background-color: rgba(136, 136, 136,0.08); + color: rgb(136, 136, 136) + } + .ste6{ + color: #dbcd07; + + } + .bzBtn{ + font-size: 26rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) + } + .bzBtn2{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) + } + .bzBtn3{ + font-size: 26rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) + } + .bzBtn4{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) + } + +.bzBtn5{ + font-size: 26rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) + } + + .audit-actions { + display: flex; + justify-content: space-around; + padding: 10rpx; + } + + .audit-actions > button:not(:last-child) { + margin-right: 5rpx; + } + + .audit-status { + padding: 2px 5px; + border-radius: 2px; + color: #fff; + margin-bottom: 10px; + } + + .reviewState-0 { /* 未审核 */ + background-color: #ff6666; + } + + .reviewState-1 { /* 审核通过 */ + background-color: #00cc99; + } + + .reviewState-2 { /* 审核不通过 */ + background-color: #f31a1a; + } + \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/notice/addnotice/addnotice.js b/src/WeLink/pages/me/admin/notice/addnotice/addnotice.js new file mode 100644 index 0000000..56e991e --- /dev/null +++ b/src/WeLink/pages/me/admin/notice/addnotice/addnotice.js @@ -0,0 +1,103 @@ +Page({ + data: { + name:'', + content:'', + headurl:"" + }, + + //输入公告名称 + inputName(e){ + this.setData({name: e.detail.value}); + }, + + //输入公告内容 + inputContent(e) { + this.setData({ + content: e.detail.value // 将输入的值赋给 content 字段 + }); + }, + + onLoad: function () { + + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + // 'msg.avatar_url': userData.avatar_url, + createrid: userData.userID, + userData: userData + }); + } + this.getheadurl(); + }, + getheadurl: function () { + const userId = this.data.createrid; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + headurl: record.headurl + }); + } + }); + }, + save_getorder: function() { + + const { name, content, createrid,userData } = this.data; // 添加 createrid 解构赋值 + console.log(createrid); + if (!name || !content) { + wx.showToast({ + title: '请填写完整信息', + icon: 'none', + }); + return; + } + + wx.showLoading({ + title: '正在发布公告', + icon: 'success', + duration: 300, + }); + + let table_notice = "notice"; + let Notice = new wx.BaaS.TableObject(table_notice); + let r = Notice.create(); // 修改这行的变量名 + console.log(`name: ${name}, content: ${content}, createrid: ${createrid}`); + + // 设置字段值 + r.set({ + name: name, + content: content, + createrid: userData.userID, + }); + + // 保存记录 + r.save().then(res => { + wx.hideLoading(); + // 保存成功,做相应处理 + }).catch(err => { + wx.hideLoading(); + console.log(err); + // 保存失败,处理错误 + }); + + wx.showToast({ + title: '创建成功!', + icon: 'success', + }); + + setTimeout(() => { + wx.redirectTo({ + url: '/pages/me/admin/notice/notice', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 300); // 延迟1秒钟后执行页面跳转 + + }, +}) diff --git a/src/WeLink/pages/me/admin/notice/addnotice/addnotice.json b/src/WeLink/pages/me/admin/notice/addnotice/addnotice.json new file mode 100644 index 0000000..c183b5d --- /dev/null +++ b/src/WeLink/pages/me/admin/notice/addnotice/addnotice.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "创建公告" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/notice/addnotice/addnotice.wxml b/src/WeLink/pages/me/admin/notice/addnotice/addnotice.wxml new file mode 100644 index 0000000..3697b68 --- /dev/null +++ b/src/WeLink/pages/me/admin/notice/addnotice/addnotice.wxml @@ -0,0 +1,33 @@ + + + + + + + + + + +
+ + 公告名称: + + + + 公告描述: + + + + {{item.label}} + + + + + + {{msg.des}} + +
+ +
+ +
\ No newline at end of file diff --git a/src/WeLink/pages/me/admin/notice/addnotice/addnotice.wxss b/src/WeLink/pages/me/admin/notice/addnotice/addnotice.wxss new file mode 100644 index 0000000..bb35e17 --- /dev/null +++ b/src/WeLink/pages/me/admin/notice/addnotice/addnotice.wxss @@ -0,0 +1,44 @@ +/* pages/me/admin/notice/addnotice/addnotice.wxss */ +.bz{ + padding: 30rpx; + box-shadow: 0 0 10rpx 6rpx rgba(0, 0, 0, 0.07); + border-radius: 10rpx; + margin-top: 80rpx +} +.avatar{ + width: 130rpx; + height: 130rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + position: relative; + top: -100rpx; + border: 6rpx solid #FFCC66; + background-color: #FFCC66 +} + +.fo-b{ + margin-top: 50rpx; + color: #6699CC +} +.tags{ + padding:0 30rpx; + line-height: 70rpx; + background: #f1faff; + font-size: 28rpx; + text-align: center; + margin-top: 20rpx; + margin-right: 20rpx; + color: #0099ff; + border-radius: 10rpx +} + +.avatar1{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; +} \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/notice/notice.js b/src/WeLink/pages/me/admin/notice/notice.js new file mode 100644 index 0000000..336f78a --- /dev/null +++ b/src/WeLink/pages/me/admin/notice/notice.js @@ -0,0 +1,53 @@ +// pages/me/admin/notice/notice.js +const dayjs = require('dayjs'); +Page({ + + + data: { + + }, + navTo(){ + wx.navigateTo({ + url: '/pages/me/admin/notice/addnotice/addnotice' + }) +}, + + onLoad(options) { + //设置导航栏效果 + wx.setNavigationBarColor({ + frontColor: '#ffffff', + backgroundColor: '#6e42d3', + }) + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + }, + + + onShow() { + wx.showLoading({ + title: '加载中...', + mask: true + }); + //获取分类下的具体商品 + wx.BaaS.invoke('getNotice').then(res => { + var notices = res.data.data.objects; + // 遍历runs数组并转换时间戳 + for(let run of notices){ + run.created_at_readable = dayjs.unix(run.created_at).format('YYYY-MM-DD HH:mm:ss'); + run.updated_at_readable = dayjs.unix(run.updated_at).format('YYYY-MM-DD HH:mm:ss'); + } + //排序使得先展示最新时间创建的任务 + notices.sort((a, b) => b.created_at - a.created_at); + this.setData({ + notices:notices + }) + }) + wx.hideLoading() + }, +}) \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/notice/notice.json b/src/WeLink/pages/me/admin/notice/notice.json new file mode 100644 index 0000000..b9731c8 --- /dev/null +++ b/src/WeLink/pages/me/admin/notice/notice.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "公告" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/notice/notice.wxml b/src/WeLink/pages/me/admin/notice/notice.wxml new file mode 100644 index 0000000..c0f4edb --- /dev/null +++ b/src/WeLink/pages/me/admin/notice/notice.wxml @@ -0,0 +1,26 @@ + + + + + + + + + 标题:{{item.name}} + 内容:{{item.content}} + + + + + + 创建者id:{{item.createrid}} + 创建时间:{{item.created_at_readable}} + + + + + + + + ++ \ No newline at end of file diff --git a/src/WeLink/pages/me/admin/notice/notice.wxss b/src/WeLink/pages/me/admin/notice/notice.wxss new file mode 100644 index 0000000..7a86508 --- /dev/null +++ b/src/WeLink/pages/me/admin/notice/notice.wxss @@ -0,0 +1,126 @@ +/* pages/me/admin/notice/notice.wxss */ +/* 创建悬赏按钮 */ +.createbutton { + width: 120rpx; + height: 120rpx; + border-radius: 150rpx; + box-shadow: 0 0 10rpx 0 rgba(0, 153, 255, 0.363); + background:linear-gradient(to right top,#6183dd,#4c42d3); + position: fixed; + bottom: 30rpx; + right: 30rpx; + line-height: 115rpx; + text-align: center; + font-size: 80rpx; /* 调整文本大小为 48rpx */ + color: #fff +} + + +/* 从helpmaster直接复制过来,应该是一个个列表式 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} +.titem{ + padding: 20rpx; + background-color: #ffffff; + border-radius: 10rpx; + box-shadow: 0 0 10rpx 5rpx #f1f1f1; + margin-bottom: 20rpx +} +.avatar{ + width: 60rpx; + height: 60rpx; + border-radius: 60rpx; + background: #e1e1e1 +} +.state{ + padding:0 15rpx; + height: 50rpx; + font-size: 24rpx; + width: 120rpx; + text-align: center; + line-height: 50rpx; + border-radius: 5rpx +} +.ste1{ + background-color: rgba(0, 204, 153,0.08); + color: #00cc99 +} +.ste2{ + background-color: rgba(51, 153, 255, 0.08); + color: rgb(51, 153, 255) +} +.ste3{ + background-color: rgba(255, 153, 0,0.08); + color: rgb(255, 153, 0) +} +.ste4{ + background-color: rgba(255, 102, 102,0.08); + color: #ff6666 +} +.ste5{ + background-color: rgba(136, 136, 136,0.08); + color: rgb(136, 136, 136) +} +.ste6{ + color: #dbcd07; + +} +.bzBtn{ + font-size: 26rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) +} +.bzBtn2{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) +} +.bzBtn3{ + font-size: 26rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) +} +.bzBtn4{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) +} +/* 查看详情按钮 */ +.bzBtn5{ + font-size: 26rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) +} diff --git a/src/WeLink/pages/me/evaluationforme/evaluationforme.js b/src/WeLink/pages/me/evaluationforme/evaluationforme.js new file mode 100644 index 0000000..6c74db1 --- /dev/null +++ b/src/WeLink/pages/me/evaluationforme/evaluationforme.js @@ -0,0 +1,75 @@ +Page({ + data: { + name:'', + phone:'', + score:'', + runnerid:'', + comments:[], + remarker_id:[], + headurl:"" + }, + + onLoad: function () { + let userID = wx.getStorageSync('user').userID; + this.setData({ + runnerid: userID + }); + this.check(); + }, + + check: function() { + const { runnerid } = this.data; //runnerid作为查询条件 + + let table_user = "users"; + let User = new wx.BaaS.TableObject(table_user); + let query = new wx.BaaS.Query(); + + query.compare('userID', '=', runnerid); + + User.setQuery(query).find().then(res => { + if (res.data.objects.length > 0) { + let user = res.data.objects[0]; + this.setData({ + headurl:user.headurl, + name: user.webname, + phone: user.phone_number, + }); + } else { + // 处理没有用户信息的情况 + } + }, err => { + // 处理查询错误 + }); + + let table_remark = "runner_remark"; + let Remark = new wx.BaaS.TableObject(table_remark); + let query1 = new wx.BaaS.Query(); + + query1.compare('runner_id', '=', runnerid); + + Remark.setQuery(query1).find().then(res => { + if (res.data.objects.length > 0) { + let scores = res.data.objects.map(item => parseFloat(item.score)); + let averageScore = scores.length > 0 + ? (scores.reduce((acc, score) => acc + score, 0) / scores.length).toFixed(2) + : '无评分'; + let comments = res.data.objects.map(item => item.content); + let remarker_id = res.data.objects.map(item => item.remarker_id); + + this.setData({ + score: averageScore, + comments: comments, + remarker_id: remarker_id, + }); + } else { + this.setData({ + score: '无评分', + comments: [], + remarker_id: [], + }); + } + }).catch(err => { + console.error("查询出错:", err); + }); + }, + }) \ No newline at end of file diff --git a/src/WeLink/pages/me/evaluationforme/evaluationforme.json b/src/WeLink/pages/me/evaluationforme/evaluationforme.json new file mode 100644 index 0000000..3779702 --- /dev/null +++ b/src/WeLink/pages/me/evaluationforme/evaluationforme.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "对我评价" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/evaluationforme/evaluationforme.wxml b/src/WeLink/pages/me/evaluationforme/evaluationforme.wxml new file mode 100644 index 0000000..82ec3b6 --- /dev/null +++ b/src/WeLink/pages/me/evaluationforme/evaluationforme.wxml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + 我的信息: + + + + 姓名: + + {{name}} + + + + + 手机号: + + {{phone}} + + + + + 我的平均评分: + + {{score}} + + + + 对我评价: + + + + + + {{remarker_id[index]}}:{{item}} + + + + + + + + + diff --git a/src/WeLink/pages/me/evaluationforme/evaluationforme.wxss b/src/WeLink/pages/me/evaluationforme/evaluationforme.wxss new file mode 100644 index 0000000..948f1d6 --- /dev/null +++ b/src/WeLink/pages/me/evaluationforme/evaluationforme.wxss @@ -0,0 +1,79 @@ +/* pages/run/checkrunners/checkrunners.wxss */ +.message{ + font-size: 28rpx + + } + + .bz{ + padding: 30rpx; + box-shadow: 0 0 10rpx 6rpx rgba(0, 0, 0, 0.07); + border-radius: 10rpx; + margin-top: 80rpx + } + + .container1 { + overflow: hidden; + } + .container2 { + overflow: hidden; + display: flex; + justify-content: space-between; + } + + + .zhuanhang { + white-space: pre-wrap; + word-break: break-all; + } + + + .avatar{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; + top: -100rpx; + border: 6rpx solid #FFCC66; + background-color: #FFCC66 + } + + .avatar1{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; + } + + .action2 { + display: flex; + justify-content: space-between; + align-items: center; + + + } + + .comment-container { + height: 400rpx; /* 设置评论区容器的高度 */ + + } + + .comment-list { + height: 100%; /* 将滚动视图撑满评论区容器的高度 */ + } + + .comment-item { + height:80rpx; + display: flex; + align-items: center; + white-space: pre-wrap; + word-break: break-all; + border-bottom: 1px solid #eee; /* 可选的,为评论项添加底部边框线 */ + } + + \ No newline at end of file diff --git a/src/WeLink/pages/me/instruction/instruction.js b/src/WeLink/pages/me/instruction/instruction.js new file mode 100644 index 0000000..f051d69 --- /dev/null +++ b/src/WeLink/pages/me/instruction/instruction.js @@ -0,0 +1,66 @@ +// pages/me/instruction/instruction.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/src/WeLink/pages/me/instruction/instruction.json b/src/WeLink/pages/me/instruction/instruction.json new file mode 100644 index 0000000..6709f33 --- /dev/null +++ b/src/WeLink/pages/me/instruction/instruction.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "使用说明" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/instruction/instruction.wxml b/src/WeLink/pages/me/instruction/instruction.wxml new file mode 100644 index 0000000..c1af808 --- /dev/null +++ b/src/WeLink/pages/me/instruction/instruction.wxml @@ -0,0 +1,25 @@ + +跑腿: +1.从首页点击“跑腿”按钮或者在底部导航栏选择“跑腿”进入 + +2.在“跑腿”页面浏览跑腿任务,可点击“查看详情”查看跑腿任务的详细信息,然后点击下方的“接下悬赏”接取任务;也可以直接在“跑腿”页面点击“帮助TA”接取任务 + +3.可以点击“跑腿”页面上方的搜索框搜索想接取的悬赏任务 + +点评: + +我的悬赏: +1.在“我的”页面点击“我的悬赏”可查看自己发布的悬赏任务 + +2.在“我的悬赏”页面可以对自己发布的悬赏任务进行“查看详情”、“确认完成”和“取消”操作 + +我的悬赏: + +我的点评: + +消息: + +我的信息: +1.在“我的”页面点击“我的信息”可以查看和修改自己的头像、昵称、手机号、密码等信息 + +2.点击相应的信息可对其进行修改,修改完成后点击下方的“保存修改”保存信息 \ No newline at end of file diff --git a/src/WeLink/pages/me/instruction/instruction.wxss b/src/WeLink/pages/me/instruction/instruction.wxss new file mode 100644 index 0000000..acced3e --- /dev/null +++ b/src/WeLink/pages/me/instruction/instruction.wxss @@ -0,0 +1 @@ +/* pages/me/instruction/instruction.wxss */ \ No newline at end of file diff --git a/src/WeLink/pages/me/me/me.js b/src/WeLink/pages/me/me/me.js new file mode 100644 index 0000000..1cc1e53 --- /dev/null +++ b/src/WeLink/pages/me/me/me.js @@ -0,0 +1,163 @@ +// pages/me/me/me.js +const app = getApp() +const wxBaaS = require('../../../sdk-wechat.2.0.6-a') +Page({ + + /** + * 页面的初始数据 + */ + data: { + imageUrl:"" + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + wx.setNavigationBarColor({ + frontColor: '#ffffff', + backgroundColor: '#6e42d3', + }) + + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + + }, + + getMyinfo: function () { + const userId = this.data.userID; + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + this.setData({ + pickname: record.webname, + headurl:record.headurl + }) + console.log(record.webname) + }); + }, + + + + + onShow() { + if (wx.getStorageSync("user").userID) { + this.setData({ + userInfo: wx.getStorageSync("user") + })} + this.getMyinfo() + }, + navTo(e) { + app.com.navTo(e) + }, + +// 管理员进入响应函数 +logmaster: function(){ + var id = this.data.userID; + let tableName = "users"; + let Car = new wx.BaaS.TableObject(tableName); + // 创建查询对象 + let query = new wx.BaaS.Query(); + query.compare("userID", "=", id); + // 执行查询操作 + Car.setQuery(query).find().then(res => { + if (res.data.objects.length > 0) { + if(res.data.objects[0].identity=='1'){ + wx.showToast({ + title: '管理员进入成功', + icon: 'success', + duration: 300 + }); + setTimeout(() => { + wx.navigateTo({ + url: '/pages/me/admin/admin', + }); + }, 300); }// 延迟1秒钟后执行页面跳转 + else{ + wx.showToast({ + title: '暂无权限', + icon: 'none', + duration: 1000 + }); + } +} +else{ + wx.showToast({ + title: '暂无权限', + icon: 'none', + duration: 1000 + }); +} +}).catch(err => { + console.log(err); +}); +}, + +//设置头像 +chooseImage: function() { + wx.chooseMedia({ + count: 1, + mediaType: ['image'], // 只允许选择图片 + sourceType: ['album', 'camera'], + success: (res) => { + const tempFilePath = res.tempFiles[0].tempFilePath + this.setData({ imageUrl: tempFilePath }) // 显示图片预览 + this.uploadImage(tempFilePath) + } + }) +}, + +uploadImage: function(filePath) { + let MyFile = new wxBaaS.File() + let fileParams = {filePath: filePath} + let metaData = {categoryName: '头像'} + + MyFile.upload(fileParams, metaData).then(res => { + const imageURL = res.data.path + this.saveImageInfo(imageURL) + }, err => { + console.log('上传失败', err) + }) +}, + +saveImageInfo: function(imageURL) { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + let userRecord = usersTable.getWithoutData(res.data.objects[0]._id); + userRecord.set("headurl",imageURL) + userRecord.update().then(res => { + this.onShow(); + wx.showToast({ + title: '上传/更新成功!', + icon: 'success', + }); + }) + }); +}, + + // 开启下拉刷新 + onPullDownRefresh: function () { + // 设置一个定时器,延迟一定时间后关闭下拉刷新 + setTimeout(function () { + wx.stopPullDownRefresh(); + }, 1000); + this.onShow(); + }, +}) \ No newline at end of file diff --git a/src/WeLink/pages/me/me/me.json b/src/WeLink/pages/me/me/me.json new file mode 100644 index 0000000..36d84ef --- /dev/null +++ b/src/WeLink/pages/me/me/me.json @@ -0,0 +1,6 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "个人中心", + "enablePullDownRefresh": true, + "backgroundColor": "#6e42d3" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/me/me.wxml b/src/WeLink/pages/me/me/me.wxml new file mode 100644 index 0000000..ea3da8a --- /dev/null +++ b/src/WeLink/pages/me/me/me.wxml @@ -0,0 +1,78 @@ + + + + + + + + + + {{pickname}} + + + + + + + + 我的悬赏 + + + 我的跑腿 + + + 我的点评 + + + + + + + 对我评价 + + + + + + + + 我的信息 + + + + + + 使用说明 + + + + + + + 关于我们 + + + + + + + + WeLink + + Copyright © 2023 All Rights Reserved + + + +管理 \ No newline at end of file diff --git a/src/WeLink/pages/me/me/me.wxss b/src/WeLink/pages/me/me/me.wxss new file mode 100644 index 0000000..dd94bdf --- /dev/null +++ b/src/WeLink/pages/me/me/me.wxss @@ -0,0 +1,80 @@ +/* 设置头像样式 */ +.header { + width: 120rpx; + height: 120rpx; + border: 2px solid #fff; + margin: 0rpx auto 0; + border-radius: 50%; + overflow: hidden; + box-shadow: 1px 0px 5px rgba(50, 50, 50, 0.3); +} +/* 设置页面背景的样式 */ +page{ + background: #f3f3f3 +} +/* 设置上面几个横排按钮的样式 */ +.btn-1{ + background: #ffffff; + height: 150rpx; + width: 220rpx; + border-radius: 10rpx; + box-shadow: 0 0 10rpx 0 #e1e1e1 +} + +/* 管理员按钮 */ +.createbutton { + width: 120rpx; + height: 120rpx; + border-radius: 150rpx; + box-shadow: 0 0 10rpx 0 rgba(0, 153, 255, 0.363); + background:linear-gradient(to right top,#c9cedd,#a19ddb); + position: fixed; + bottom: 30rpx; + right: 30rpx; + line-height: 115rpx; + text-align: center; + font-size: 30rpx; /* 调整文本大小为 48rpx */ + color: #fff +} + +/* 版权声明样式 */ +.footer { + width: 100%; + text-align: center; + margin-top: 30rpx; + color: grey; +} + +.contact { + width: 100% !important; + padding: 30rpx; + background: #ffffff; + display: flex; + justify-content: space-between; + align-items: center; + border-top: solid 1px #e1e1e1; +} +.contact1 { + font-weight: normal; + font-size: 28rpx; + color: black; +} + +.wechatapp .header { + width: 190rpx; /* 将宽度设置为与高度相同 */ + height: 190rpx; /* 保持高度不变 */ + border: 2px solid #fff; + margin: 0rpx auto 0; + border-radius: 50%; /* 使其成为完美的圆形 */ + overflow: hidden; + box-shadow: 1px 0px 5px rgba(50, 50, 50, 0.3); +} + +button.wechatapp { + width: 190rpx; /* 设置按钮的宽度与图片相同 */ + height: 190rpx; /* 设置按钮的高度与图片相同 */ + border: none; /* 删除按钮边框 */ + background: none; /* 删除按钮背景 */ + padding: 0; /* 删除任何填充或边距 */ + outline: none; /* 删除按钮轮廓 */ +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myhead/myhead.js b/src/WeLink/pages/me/myhead/myhead.js new file mode 100644 index 0000000..718466f --- /dev/null +++ b/src/WeLink/pages/me/myhead/myhead.js @@ -0,0 +1,99 @@ +const app = getApp(); +const wxBaaS = require('../../../sdk-wechat.2.0.6-a') +Page({ + data: { + headurl: '', // 用于存放付款码图片地址 + }, + + onLoad: function () { + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + + // 页面加载时查询数据库,获取付款码信息 + this.getheadurl(); + }, + onShow: function (){ + // 页面加载时查询数据库,获取付款码信息 + this.getheadurl(); + }, + + getheadurl: function () { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + headurl: record.headurl + }); + } + }); + }, + + //还存在一个不足:如果还有更新话,原来的图片还会存在数据库里,后续开发可以在这里进行添加更新 + chooseImage: function() { + wx.chooseMedia({ + count: 1, + mediaType: ['image'], // 只允许选择图片 + sourceType: ['album', 'camera'], + success: (res) => { + const tempFilePath = res.tempFiles[0].tempFilePath + this.setData({ imageUrl: tempFilePath }) // 显示图片预览 + this.uploadImage(tempFilePath) + } + }) + }, + + uploadImage: function(filePath) { + let MyFile = new wxBaaS.File() + let fileParams = {filePath: filePath} + let metaData = {categoryName: '头像'} + + MyFile.upload(fileParams, metaData).then(res => { + const imageURL = res.data.path + this.saveImageInfo(imageURL) + }, err => { + console.log('上传失败', err) + }) + }, + + saveImageInfo: function(imageURL) { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + let userRecord = usersTable.getWithoutData(res.data.objects[0]._id); + userRecord.set("headurl",imageURL) + userRecord.update().then(res => { + this.onShow(); + wx.showToast({ + title: '上传/更新成功!', + icon: 'success', + }); + }) + }); + }, + + previewImage: function () { + // 预览付款码大图 + wx.previewImage({ + urls: [this.data.headurl], + current: this.data.headurl + }); + } +}); diff --git a/src/WeLink/pages/me/myhead/myhead.json b/src/WeLink/pages/me/myhead/myhead.json new file mode 100644 index 0000000..4e0d36c --- /dev/null +++ b/src/WeLink/pages/me/myhead/myhead.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "头像" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myhead/myhead.wxml b/src/WeLink/pages/me/myhead/myhead.wxml new file mode 100644 index 0000000..ca9a746 --- /dev/null +++ b/src/WeLink/pages/me/myhead/myhead.wxml @@ -0,0 +1,4 @@ + + + + diff --git a/src/WeLink/pages/me/myhead/myhead.wxss b/src/WeLink/pages/me/myhead/myhead.wxss new file mode 100644 index 0000000..93829ca --- /dev/null +++ b/src/WeLink/pages/me/myhead/myhead.wxss @@ -0,0 +1,34 @@ +.container { + display: flex; + flex-direction: column; + align-items: center; +} + +.payment-code { + width: 600rpx; + height: 600rpx; + margin-top: 20rpx; +} + +.upload-button { + margin-top: 40rpx; + line-height: 50rpx; + color: #fff; + font-size: 30rpx; + padding: 10rpx; + text-align: center; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.butt { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-top: 40rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/myinfo.js b/src/WeLink/pages/me/myinfo/myinfo.js new file mode 100644 index 0000000..d9188a4 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/myinfo.js @@ -0,0 +1,58 @@ +// pages/me/myinfo/myinfo.js +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + msg: { + avatar_url: '', + name: '', + phone: '', + password: '', // 如果需要显示密码的话 + }, + }, + + onLoad: function () { + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + // 'msg.avatar_url': userData.avatar_url, + // 'msg.name': userData.webname, + // 'msg.phone': userData.phone_number, + // 'msg.password': userData.password, // 如果需要显示密码的话 + }); + } + this.getheadurl(); + }, + + getheadurl: function () { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + headurl: record.headurl, + 'msg.name': record.webname, + 'msg.phone': record.phone_number, + 'msg.password': record.password, // 如果需要显示密码的话 + }); + } + }); + }, + + //调用全局设置的跳转函数 + navTo(e) { + app.com.navTo(e) + }, +}) \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/myinfo.json b/src/WeLink/pages/me/myinfo/myinfo.json new file mode 100644 index 0000000..d76aad6 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/myinfo.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "我的信息" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/myinfo.wxml b/src/WeLink/pages/me/myinfo/myinfo.wxml new file mode 100644 index 0000000..27fc70f --- /dev/null +++ b/src/WeLink/pages/me/myinfo/myinfo.wxml @@ -0,0 +1,46 @@ + + 您可查看和修改相关信息 + +
+ + + 头像 + + + + + + + 昵称 + + {{msg.name}} + + + + + + 手机号 + + {{msg.phone}} + + + + + + 密码 + + + + + + + + 您的收款码 + + + + + + + +
\ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/myinfo.wxss b/src/WeLink/pages/me/myinfo/myinfo.wxss new file mode 100644 index 0000000..1c4c423 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/myinfo.wxss @@ -0,0 +1,3 @@ +page{ + background-color: #f3f3f3 +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/mynickname/mynickname.js b/src/WeLink/pages/me/myinfo/mynickname/mynickname.js new file mode 100644 index 0000000..df2e407 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/mynickname/mynickname.js @@ -0,0 +1,75 @@ +Page({ + data: { + phonenumber: '', // 用户输入的密码 + }, + + onLoad: function () { + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + + // 页面加载时查询数据库,获取付款码信息 + this.getheadurl(); + }, + onShow: function (){ + // 页面加载时查询数据库,获取付款码信息 + this.getheadurl(); + }, + + getheadurl: function () { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + headurl: record.headurl, + oldname:record.webname + }); + } + }); + }, + + // 输入框内容改变时触发 + inputHandler(e) { + this.setData({ + newname: e.detail.value, + }); + }, + + // 登录按钮点击事件 + loginHandler() { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + let userRecord = usersTable.getWithoutData(res.data.objects[0]._id); + userRecord.set("webname",this.data.newname) + userRecord.update().then(res => { + this.onShow(); + wx.showToast({ + title: '更新成功!', + icon: 'success', + }); + setTimeout(() => { + wx.redirectTo({ + url: '/pages/me/myinfo/myinfo', //跳转回我的点评页面 + }); + }, 1200); + }) + })} +}); \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/mynickname/mynickname.json b/src/WeLink/pages/me/myinfo/mynickname/mynickname.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/mynickname/mynickname.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/mynickname/mynickname.wxml b/src/WeLink/pages/me/myinfo/mynickname/mynickname.wxml new file mode 100644 index 0000000..0528d19 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/mynickname/mynickname.wxml @@ -0,0 +1,23 @@ + + + + + + + + + +
+ +更改昵称 + + + 原昵称为:{{oldname}} + + + + +
+ +
+
\ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/mynickname/mynickname.wxss b/src/WeLink/pages/me/myinfo/mynickname/mynickname.wxss new file mode 100644 index 0000000..6387146 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/mynickname/mynickname.wxss @@ -0,0 +1,52 @@ +.bz{ + padding: 30rpx; + box-shadow: 0 0 10rpx 6rpx rgba(0, 0, 0, 0.07); + border-radius: 10rpx; + margin-top: 80rpx +} +.avatar{ + width: 130rpx; + height: 130rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + position: relative; + top: -100rpx; + border: 6rpx solid #FFCC66; + background-color: #FFCC66 +} + +.gg { + font-weight: bold; + font-size: 40rpx; + margin-bottom: 20rpx; +} + +.inputnickname{ + border: none; /* 取消边框 */ + background-color: #f5f5f5; /* 背景色 */ + border-radius: 5rpx; /* 圆角 */ + font-size: 28rpx; /* 字体大小 */ + justify-content: center; + margin-bottom: 20rpx; /* 底部间距 */ +} +.butt { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-top: 40rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.avatar1{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/mypassword/mypassword.js b/src/WeLink/pages/me/myinfo/mypassword/mypassword.js new file mode 100644 index 0000000..7147b08 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/mypassword/mypassword.js @@ -0,0 +1,98 @@ +Page({ + data: { + oldpassword: '', // 用户输入的旧密码 + newpassword: '', //用户输入的新密码 + new2password: '', + }, + onLoad: function () { + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + + // 页面加载时查询数据库,获取付款码信息 + this.getheadurl(); + }, + onShow: function (){ + // 页面加载时查询数据库,获取付款码信息 + this.getheadurl(); + }, + + getheadurl: function () { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + headurl: record.headurl, + password:record.password + }); + } + }); + }, + // 输入框内容改变时触发 + inputHandler1(e) { + this.setData({ + oldpassword: e.detail.value, + + }); + }, + + inputHandler2(e) { + this.setData({ + newpassword: e.detail.value, + }); + }, + + inputHandler3(e) { + this.setData({ + new2password: e.detail.value, + }); + }, + + // 登录按钮点击事件 + loginHandler() { + if (this.data.oldpassword==this.data.password && this.data.newpassword===this.data.new2password) { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + let userRecord = usersTable.getWithoutData(res.data.objects[0]._id); + userRecord.set("password",this.data.newpassword) + userRecord.update().then(res => { + this.onShow(); + wx.showToast({ + title: '更新成功!', + icon: 'success', + }); + setTimeout(() => { + wx.redirectTo({ + url: '/pages/me/myinfo/myinfo', //跳转回我的点评页面 + }); + }, 1200); + }) + }) + + + } else { + wx.showModal({ + title: '提示', + content: '旧密码错误或新密码不符合规范', + }); + } + }, +}); \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/mypassword/mypassword.json b/src/WeLink/pages/me/myinfo/mypassword/mypassword.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/mypassword/mypassword.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/mypassword/mypassword.wxml b/src/WeLink/pages/me/myinfo/mypassword/mypassword.wxml new file mode 100644 index 0000000..077d66b --- /dev/null +++ b/src/WeLink/pages/me/myinfo/mypassword/mypassword.wxml @@ -0,0 +1,31 @@ + + + + + + + + +
+ + 更改密码 + + + 旧密码: + + + + 新密码: + + + + 确认新密码: + + + + + +
+ +
+
\ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/mypassword/mypassword.wxss b/src/WeLink/pages/me/myinfo/mypassword/mypassword.wxss new file mode 100644 index 0000000..ffb2346 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/mypassword/mypassword.wxss @@ -0,0 +1,55 @@ +/* pages/me/myinfo/mypassword/mypassword.wxss */ +.bz{ + padding: 30rpx; + box-shadow: 0 0 10rpx 6rpx rgba(0, 0, 0, 0.07); + border-radius: 10rpx; + margin-top: 80rpx +} +.avatar{ + width: 130rpx; + height: 130rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + position: relative; + top: -100rpx; + border: 6rpx solid #FFCC66; + background-color: #FFCC66 +} +.gg { + font-weight: bold; + font-size: 40rpx; + margin-bottom: 20rpx; +} +.input-wrapper{ + display: flex; + justify-content: center; + +} +.inputpassword { + border: none; + background-color: #f5f5f5; + border-radius: 5rpx; + font-size: 28rpx; + margin-bottom: 20rpx; +} +.butt { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-top: 40rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.avatar1{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/myphone/myphone.js b/src/WeLink/pages/me/myinfo/myphone/myphone.js new file mode 100644 index 0000000..0d8ab2d --- /dev/null +++ b/src/WeLink/pages/me/myinfo/myphone/myphone.js @@ -0,0 +1,77 @@ +Page({ + data: { + phonenumber: '', // 用户输入的密码 + }, + + onLoad: function () { + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + + // 页面加载时查询数据库,获取付款码信息 + this.getheadurl(); + }, + onShow: function (){ + // 页面加载时查询数据库,获取付款码信息 + this.getheadurl(); + }, + + getheadurl: function () { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + headurl: record.headurl + }); + } + }); + }, + + // 输入框内容改变时触发 + inputHandler(e) { + this.setData({ + phonenumber: e.detail.value, + }); + }, + + + + // 登录按钮点击事件 + loginHandler() { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + let userRecord = usersTable.getWithoutData(res.data.objects[0]._id); + userRecord.set("phone_number",this.data.phonenumber) + userRecord.update().then(res => { + this.onShow(); + wx.showToast({ + title: '更新成功!', + icon: 'success', + }); + setTimeout(() => { + wx.redirectTo({ + url: '/pages/me/myinfo/myinfo', //跳转回我的点评页面 + }); + }, 1200); + }) + })} +}); + diff --git a/src/WeLink/pages/me/myinfo/myphone/myphone.json b/src/WeLink/pages/me/myinfo/myphone/myphone.json new file mode 100644 index 0000000..3216c40 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/myphone/myphone.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "手机号" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/myphone/myphone.wxml b/src/WeLink/pages/me/myinfo/myphone/myphone.wxml new file mode 100644 index 0000000..9e56e1e --- /dev/null +++ b/src/WeLink/pages/me/myinfo/myphone/myphone.wxml @@ -0,0 +1,20 @@ + + + + + + + + +
+ +更改手机号 + + + + + +
+ +
+
\ No newline at end of file diff --git a/src/WeLink/pages/me/myinfo/myphone/myphone.wxss b/src/WeLink/pages/me/myinfo/myphone/myphone.wxss new file mode 100644 index 0000000..58aae83 --- /dev/null +++ b/src/WeLink/pages/me/myinfo/myphone/myphone.wxss @@ -0,0 +1,59 @@ +/* pages/me/myinfo/myphone/myphone.wxss */ +.bz{ + padding: 30rpx; + box-shadow: 0 0 10rpx 6rpx rgba(0, 0, 0, 0.07); + border-radius: 10rpx; + margin-top: 80rpx +} +.avatar{ + width: 130rpx; + height: 130rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + position: relative; + top: -100rpx; + border: 6rpx solid #FFCC66; + background-color: #FFCC66 +} + +.gg { + font-weight: bold; + font-size: 40rpx; + margin-bottom: 20rpx; +} + +.container { + display: flex; + flex-direction: column; + align-items: center; +} + +.inputphonenumber { + width: 374rpx; + height: 44rpx; + background-color: #f5f5f5; + border: none; + border-radius: 4rpx; + margin-bottom: 20rpx; +} +.butt { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-top: 40rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.avatar1{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myreceiving/myreceiving.js b/src/WeLink/pages/me/myreceiving/myreceiving.js new file mode 100644 index 0000000..dc5b36c --- /dev/null +++ b/src/WeLink/pages/me/myreceiving/myreceiving.js @@ -0,0 +1,101 @@ +const app = getApp(); +const wxBaaS = require('../../../sdk-wechat.2.0.6-a') +Page({ + data: { + paymentCodeUrl: '', // 用于存放付款码图片地址 + }, + + onLoad: function () { + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + + // 页面加载时查询数据库,获取付款码信息 + this.getPaymentCode(); + }, + onShow: function (){ + // 页面加载时查询数据库,获取付款码信息 + this.getPaymentCode(); + }, + + getPaymentCode: function () { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record.receivingurl) + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + paymentCodeUrl: record.receivingurl + }); + } + }); + }, + + //还存在一个不足:如果还有更新话,原来的图片还会存在数据库里,后续开发可以在这里进行添加更新 + chooseImage: function() { + wx.chooseMedia({ + count: 1, + mediaType: ['image'], // 只允许选择图片 + sourceType: ['album', 'camera'], + success: (res) => { + const tempFilePath = res.tempFiles[0].tempFilePath + this.setData({ imageUrl: tempFilePath }) // 显示图片预览 + this.uploadImage(tempFilePath) + } + }) + }, + + uploadImage: function(filePath) { + let MyFile = new wxBaaS.File() + let fileParams = {filePath: filePath} + let metaData = {categoryName: '收款码'} + + MyFile.upload(fileParams, metaData).then(res => { + const imageURL = res.data.path + this.saveImageInfo(imageURL) + }, err => { + console.log('上传失败', err) + }) + }, + + saveImageInfo: function(imageURL) { + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record.receivingurl) + let userRecord = usersTable.getWithoutData(res.data.objects[0]._id); + userRecord.set("receivingurl",imageURL) + userRecord.update().then(res => { + this.onShow(); + wx.showToast({ + title: '上传/更新成功!', + icon: 'success', + }); + }) + }); + }, + + previewImage: function () { + // 预览付款码大图 + wx.previewImage({ + urls: [this.data.paymentCodeUrl], + current: this.data.paymentCodeUrl + }); + } +}); diff --git a/src/WeLink/pages/me/myreceiving/myreceiving.json b/src/WeLink/pages/me/myreceiving/myreceiving.json new file mode 100644 index 0000000..38cd156 --- /dev/null +++ b/src/WeLink/pages/me/myreceiving/myreceiving.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "收款码" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myreceiving/myreceiving.wxml b/src/WeLink/pages/me/myreceiving/myreceiving.wxml new file mode 100644 index 0000000..35a3078 --- /dev/null +++ b/src/WeLink/pages/me/myreceiving/myreceiving.wxml @@ -0,0 +1,4 @@ + + + + diff --git a/src/WeLink/pages/me/myreceiving/myreceiving.wxss b/src/WeLink/pages/me/myreceiving/myreceiving.wxss new file mode 100644 index 0000000..93829ca --- /dev/null +++ b/src/WeLink/pages/me/myreceiving/myreceiving.wxss @@ -0,0 +1,34 @@ +.container { + display: flex; + flex-direction: column; + align-items: center; +} + +.payment-code { + width: 600rpx; + height: 600rpx; + margin-top: 20rpx; +} + +.upload-button { + margin-top: 40rpx; + line-height: 50rpx; + color: #fff; + font-size: 30rpx; + padding: 10rpx; + text-align: center; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.butt { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-top: 40rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myremark/myremark.js b/src/WeLink/pages/me/myremark/myremark.js new file mode 100644 index 0000000..e13ab20 --- /dev/null +++ b/src/WeLink/pages/me/myremark/myremark.js @@ -0,0 +1,97 @@ +const dayjs = require('dayjs'); +Page({ + data: { + tag:['我发布的','我评论的'], + myremarks:[], + myreview:[] + }, + + onLoad(options) { + wx.setNavigationBarColor({ + frontColor: '#ffffff', + backgroundColor: '#6e42d3', + }) + //设置初始选中效果 + this.setData({ + flag:0 + }) + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } +}, +changeTag(e) { + this.setData({ + flag: e.currentTarget.dataset.index + }) }, + +onShow() { + wx.showLoading({ + title: '加载中...', + mask: true + }); + //获取分类下的具体商品 + wx.BaaS.invoke('getMyremarks', {createrid: this.data.userID}).then(res => { + //将获取到的自己接单的任务存储到数组中 + var myremarks = res.data.data.objects + // 遍历myremarks数组并转换时间戳 + for(let remark of myremarks){ + remark.created_at_readable = dayjs.unix(remark.created_at).format('YYYY-MM-DD HH:mm:ss'); + remark.updated_at_readable = dayjs.unix(remark.updated_at).format('YYYY-MM-DD HH:mm:ss'); + } + //排序使得先展示最新时间创建的任务 + myremarks.sort((a, b) => b.created_at - a.created_at); + console.log(myremarks) + this.setData({ + myremarks: myremarks, + }) + wx.BaaS.invoke('getMyreviews', {reviewid: this.data.userID}).then(res => { + console.log(res.data.data.objects) + //这里得到的不是数组形式,而下面直接查找数据库的是数组的形式 + if (res.data.data.objects){ + var Myreviews = res.data.data.objects; + let tableName = "remark"; + let remarkTable = new wx.BaaS.TableObject(tableName); + + for(let i=0;i + + {{item}} + + + + + + + + + + + + + {{item.name}} + {{item.content}} + + + 存在问题 + + + 类型:{{item.type}} + 评分: {{item.score}} + + + + + 浏览量{{item.count}} + 热度🔥{{item.upvote}} + 查看详情 + + + + + + + + + + + + + {{item.name}} + {{item.content}} + + + 存在问题 + + + 类型:{{item.type}} + 评分: {{item.score}} + + + + + 浏览量{{item.count}} + 热度🔥{{item.upvote}} + 查看详情 + + + \ No newline at end of file diff --git a/src/WeLink/pages/me/myremark/myremark.wxss b/src/WeLink/pages/me/myremark/myremark.wxss new file mode 100644 index 0000000..d62fb52 --- /dev/null +++ b/src/WeLink/pages/me/myremark/myremark.wxss @@ -0,0 +1,132 @@ +.fixt{ + padding: 20rpx 40rpx; + width: 900rpx; + background: linear-gradient(to top,#6183dd,#6e42d3); +} + +/* tab切换 */ +.bbf-item{ + width: 50%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} + + +/* 从helpmaster直接复制过来,应该是一个个列表式 */ +.bbf-item{ + width: 50%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} +.titem{ + padding: 20rpx; + background-color: #ffffff; + border-radius: 10rpx; + box-shadow: 0 0 10rpx 5rpx #f1f1f1; + margin-bottom: 20rpx +} +.avatar{ + width: 60rpx; + height: 60rpx; + border-radius: 60rpx; + background: #e1e1e1 +} +.state{ + padding:10 15rpx; + height: 50rpx; + font-size: 24rpx; + width: 160rpx; + /* display: inline-block; */ + text-align: center; + line-height: 50rpx; + border-radius: 5rpx; + margin-left: 30rpx; /* 设置水平间隔 */ + +} +.ste1{ + background-color: rgba(146, 117, 192, 0.08); + color: #4c4497 +} +.ste2{ + background-color: rgba(51, 153, 255, 0.08); + color: rgb(51, 153, 255) +} +.ste3{ + background-color: rgba(255, 153, 0,0.08); + color: rgb(255, 153, 0) +} +.ste4{ + display: inline-block; + justify-content: flex-start; + padding: 0 10px; + border-radius: 5px; + background-color: rgba(255, 102, 102, 0.08); + color: #ff6666; + width: calc(25% + 1ch); + +} +.ste5{ + background-color: rgba(136, 136, 136,0.08); + color: rgb(136, 136, 136) +} +.bzBtn{ + font-size: 26rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) +} +.bzBtn2{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) +} +.bzBtn3{ + font-size: 26rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) +} +.bzBtn4{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) +} +/* 查看详情按钮 */ +.bzBtn5{ + font-size: 26rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) +} diff --git a/src/WeLink/pages/me/myreward/myreward.js b/src/WeLink/pages/me/myreward/myreward.js new file mode 100644 index 0000000..84f51b0 --- /dev/null +++ b/src/WeLink/pages/me/myreward/myreward.js @@ -0,0 +1,314 @@ +// pages/me/myreward/myreward.js +const dayjs = require('dayjs'); +Page({ + data: { + tag:['全部','未完成','已完成'], + runs:[], + runsnook:[], + runsok:[] + }, + +onLoad(options) { + //设置导航栏效果 + wx.setNavigationBarColor({ + frontColor: '#ffffff', + backgroundColor: '#6e42d3', + }) + //设置初始选中效果 + this.setData({ + flag:0 + }) + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + }, + // 选择不同tab + changeTag(e) { + this.setData({ + flag: e.currentTarget.dataset.index + }) +}, + +onShow() { + var that=this; + wx.showLoading({ + title: '加载中...', + }); + //获取分类下的具体商品 + wx.BaaS.invoke('getMyrewards', {createrid: this.data.userID}).then(res => { + var runs = res.data.data.objects; + + // 遍历runs数组并转换时间戳 + for(let run of runs){ + run.created_at_readable = dayjs.unix(run.created_at).format('YYYY-MM-DD HH:mm:ss'); + run.updated_at_readable = dayjs.unix(run.updated_at).format('YYYY-MM-DD HH:mm:ss'); + } + //排序使得先展示最新时间创建的任务 + runs.sort((a, b) => b.created_at - a.created_at); + for(let i = 0; i < runs.length; i++){ + if(runs[i].cancel==='1'){ + runs[i].state=0;//此时表示我放弃该任务 + } + else if(runs[i].cancel==='0'&&runs[i].status==='0'){ + runs[i].state=1;//表示等人接单 + } + else if(runs[i].cancel==='0'&&runs[i].status==='1'&&runs[i].accomplish==='0'){ + runs[i].state=2;//此时表示等跑手完成任务 + } + else if(runs[i].accomplish==='1'&&runs[i].pay==='0'){ + runs[i].state=3;//此时表示跑手已完成该单,正在等支付 + } + else if(runs[i].pay==='1'){ + runs[i].state=4;//此时表示该单已完结 + } + if(runs[i].remark==='0'){ + runs[i].remark=0;//此时表示未对跑手进行点评,用来展示是否显示评价跑手按钮 + } + } + // 添加一个 runnook 数组,用于存储满足条件的数据项 + var runsnook = []; + // 遍历 runs 数组,筛选符合条件的数据项并添加到 runnook 中 + for (var i = 0; i < runs.length; i++) { + if (runs[i].cancel === "0" && runs[i].pay === "0") { + runsnook.push(runs[i]); + } + } + var runsok = []; + // 遍历 runs 数组,筛选符合条件的数据项并添加到 runnook 中 + for (var i = 0; i < runs.length; i++) { + if ( runs[i].pay === "1") { + runsok.push(runs[i]); + } + } + this.setData({ + runs: runs, + runsnook: runsnook, + runsok: runsok + }) + wx.hideLoading() + }) + +}, + + +// 点击取消按钮后的执行操作 +Cancel: function(e) { + // 弹出确认对话框 + wx.showModal({ + title: '确认取消', + content: '您确定要取消任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performCancel(e); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); +}, +performCancel: function(e) { + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', e.currentTarget.dataset.id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + let run = Run.getWithoutData(record.id) + // 设置字段值 + run.set({ + cancel:'1', + status:'0' + }); + run.update().then(res => { + wx.showToast({ + title: '取消成功', + icon: 'success', + duration: 1000, + }); + // 更新成功后的操作 + // 调用onShow方法手动刷新页面 + this.onShow(); + }).catch(err => { + wx.showToast({ + title: '取消失败', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + });}, + +// 点击详情后的执行操作 +nav_to_detail: function(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var runs = JSON.stringify(e.currentTarget.dataset.runs); + wx.navigateTo({ + url: '/pages/run/rewarddetails/rewarddetails?runs=' + runs + }) +}, + +// // 点击确认完成后的执行操作 +// accomplishi: function(e) { +// // 弹出确认对话框 +// wx.showModal({ +// title: '确认完成', +// content: '您确定已经完成了任务了吗?', +// success: (res) => { +// if (res.confirm) { +// // 用户点击确定按钮 +// this.performaccomplishi(e); +// } else if (res.cancel) { +// // 用户点击取消按钮,不执行取消操作 +// console.log('用户点击了取消按钮'); +// } +// } +// }); +// }, +// performaccomplishi: function(e) { +// var that=this; +// let table_run = "run"; +// let Run = new wx.BaaS.TableObject(table_run); +// let query = new wx.BaaS.Query(); +// // 在query对象中设置查询条件,即根据id字段进行查询 +// query.compare('id', '=', e.currentTarget.dataset.id); +//    +// Run.setQuery(query).find().then(res => { +// let record = res.data.objects[0]; // 获取查询结果中的第一条记录 +// console.log(record); +// // 对获取到的记录进行更新操作,将accomplish值设置为1 +// if (record) { +// let run = Run.getWithoutData(record.id); +// // 设置字段值 +// run.set({ +// accomplish: '1', +// }); +// run.update().then(res => { +//  wx.showToast({ +// title: '完成任务成功!', +// icon: 'success', +// duration: 1000, +// }); +// // 更新成功后的操作 +// }).catch(err => { +//  wx.showToast({ +// title: '完成任务失败!', +// icon: 'success', +// duration: 1000, +// }); +// // 更新失败后的操作 +// }); +//  setTimeout(() => { +// that.onShow(); +// }, 1000); // 延迟1秒钟后执行页面跳转 +// } else { +//  console.log('未找到对应的记录'); +// } +// }).catch(err => { +// console.log('查询失败', err); +// }); +// },   + +pay1:function(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var run = JSON.stringify(e.currentTarget.dataset.run); + wx.navigateTo({ + url: '/pages/run/pay/pay?run=' + run + }) + }, + +// 点击支付后的执行操作,后面这两个函数不用,等升级到微信企业级才能接着用API +pay: function(e) { + // 弹出确认对话框 + wx.showModal({ + title: '确认付款', + content: '您确定要付款吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performPay(e); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + }, + +performPay: function(e) { + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', e.currentTarget.dataset.id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将pay值设置为1 + if (record) { + let run = Run.getWithoutData(record.id); + // 设置字段值 + run.set({ + pay: '1', + }); + run.update().then(res => { + wx.showToast({ + title: '支付成功', + icon: 'success', + duration: 1000, + }); + // 更新成功后的操作 + // 调用onShow方法手动刷新页面 + this.onShow(); + }).catch(err => { + wx.showToast({ + title: '支付失败', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }, + +// 开启下拉刷新 + onPullDownRefresh: function () { + // 设置一个定时器,延迟一定时间后关闭下拉刷新 + setTimeout(function () { + wx.stopPullDownRefresh(); + }, 1000); + this.onShow(); + + }, + +remark:function(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var runs = JSON.stringify(e.currentTarget.dataset.runs); + wx.navigateTo({ + url: '/pages/run/runnerremark/runnerremark?runs=' + runs + }) + } + }) + + + diff --git a/src/WeLink/pages/me/myreward/myreward.json b/src/WeLink/pages/me/myreward/myreward.json new file mode 100644 index 0000000..27a0720 --- /dev/null +++ b/src/WeLink/pages/me/myreward/myreward.json @@ -0,0 +1,6 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "我的悬赏", + "enablePullDownRefresh": true, + "backgroundColor": "#6e42d3" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myreward/myreward.wxml b/src/WeLink/pages/me/myreward/myreward.wxml new file mode 100644 index 0000000..0aa3cf5 --- /dev/null +++ b/src/WeLink/pages/me/myreward/myreward.wxml @@ -0,0 +1,109 @@ + + + + + {{item}} + + + + + + + + + + + + + + {{item.name}} + {{item.content}} + + + {{(item.state==3)?'待付款':(item.state==1) ? '需要帮助':(item.state==2)?'跑手飞奔':item.state==4?"已完成":item.state==0?"已取消":""}} + + + {{item.des}} + 起点: {{item.qi}} + 校区: {{item.address}} + + + + + + 悬赏¥{{item.reward_amount}} + 取消 + 查看详情 + + 进行付款 + + 评价跑手 + + + + + + + + + + + + + + {{item.name}} + {{item.content}} + + + {{(item.state==3)?'待付款':(item.state==1) ? '需要帮助':(item.state==2)?'跑手飞奔':item.state==4?"已完成":item.state==0?"已取消":""}} + + + {{item.des}} + 起点: {{item.qi}} + 校区: {{item.address}} + + + + + 悬赏¥{{item.reward_amount}} + 取消 + 查看详情 + 进行付款 + + 评价跑手 + + + + + + + + + + + + + + {{item.name}} + {{item.content}} + + + {{(item.state==3)?'待付款':(item.state==1) ? '需要帮助':(item.state==2)?'跑手飞奔':item.state==4?"已完成":item.state==0?"已取消":""}} + + + {{item.des}} + 起点: {{item.qi}} + 校区: {{item.address}} + + + + + 悬赏¥{{item.reward_amount}} + 取消 + 查看详情 + 进行付款 + 评价跑手 + + + + \ No newline at end of file diff --git a/src/WeLink/pages/me/myreward/myreward.wxss b/src/WeLink/pages/me/myreward/myreward.wxss new file mode 100644 index 0000000..475787e --- /dev/null +++ b/src/WeLink/pages/me/myreward/myreward.wxss @@ -0,0 +1,135 @@ +.fixt{ + padding: 20rpx 40rpx; + width: 900rpx; + background: linear-gradient(to top,#6183dd,#6e42d3); +} + +/* tab切换 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} + + +/* 从helpmaster直接复制过来,应该是一个个列表式 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} +.titem{ + padding: 20rpx; + background-color: #ffffff; + border-radius: 10rpx; + box-shadow: 0 0 10rpx 5rpx #f1f1f1; + margin-bottom: 20rpx +} +.avatar{ + width: 60rpx; + height: 60rpx; + border-radius: 60rpx; + background: #e1e1e1 +} +.state{ + padding:0 15rpx; + height: 50rpx; + font-size: 24rpx; + width: 180rpx; + /* display: inline-block; */ + text-align: center; + line-height: 50rpx; + border-radius: 5rpx; +} +.ste1{ + background-color: rgba(0, 204, 153,0.08); + color: #00cc99 +} +.ste2{ + background-color: rgba(51, 153, 255, 0.08); + color: rgb(51, 153, 255) +} +.ste3{ + background-color: rgba(255, 153, 0,0.08); + color: rgb(255, 153, 0) +} + +.ggg{ + justify-content: flex-start; +} +.ste4{ + display: inline-block; + justify-content: flex-start; + padding: 0 10px; + border-radius: 5px; + background-color: rgba(255, 102, 102, 0.08); + color: #ff6666; + width: calc(25% + 1ch); + +} + +.ste5{ + background-color: rgba(136, 136, 136,0.08); + color: rgb(136, 136, 136) +} +.bzBtn{ + font-size: 26rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) +} +.bzBtn2{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) +} +.bzBtn3{ + font-size: 26rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) +} +.bzBtn4{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) +} +/* 查看详情按钮 */ +.bzBtn5{ + font-size: 26rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) +} diff --git a/src/WeLink/pages/me/myrun/myrun.js b/src/WeLink/pages/me/myrun/myrun.js new file mode 100644 index 0000000..774fcdd --- /dev/null +++ b/src/WeLink/pages/me/myrun/myrun.js @@ -0,0 +1,267 @@ +const dayjs = require('dayjs'); +Page({ + data: { + tag:['全部','未完成','已完成'], + myruns:[], + myrunsok:[], + myrunsnook:[] + }, + + onLoad(options) { + wx.setNavigationBarColor({ + frontColor: '#ffffff', + backgroundColor: '#6e42d3', + }) + //设置初始选中效果 + this.setData({ + flag:0 + }) + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } +}, +changeTag(e) { + this.setData({ + flag: e.currentTarget.dataset.index + }) }, + +onShow() { + wx.showLoading({ + title: '加载中...', + mask: true + }); + //获取分类下的具体商品 + wx.BaaS.invoke('getMyruns', {runnerid: this.data.userID}).then(res => { + //将获取到的自己接单的任务存储到数组中 + var myruns = res.data.data.objects + console.log(myruns) + // 遍历myruns数组并转换时间戳 + for(let run of myruns){ + run.created_at_readable = dayjs.unix(run.created_at).format('YYYY-MM-DD HH:mm:ss'); + run.updated_at_readable = dayjs.unix(run.updated_at).format('YYYY-MM-DD HH:mm:ss'); + } + //排序使得先展示最新时间创建的任务 + myruns.sort((a, b) => b.created_at - a.created_at); + for (let i = 0; i < myruns.length; i++) { + //获取自己接单的所有任务id + wx.BaaS.invoke('getRunsfromid', { + id:myruns[i].runid + }).then(res => { + + + //获取自己选中任务的每个详细信息 + myruns[i].run= res.data.data.objects[0] + if(myruns[i].cancel==='1'){ + myruns[i].status=0;//此时表示跑手接完单后还未完成跑手便放弃该任务 + } + else if(myruns[i].cancel==='0'&&myruns[i].run.cancel==='1'){ + myruns[i].status=1;//此时表示跑手接完单后还未完成赏主便放弃该任务 + } + else if(myruns[i].cancel==='0'&&myruns[i].run.cancel==='0'&&myruns[i].run.accomplish==='0'){ + myruns[i].status=2;//此时表示跑手接完单后正在奔跑 + } + else if(myruns[i].cancel==='0'&&myruns[i].run.cancel==='0'&&myruns[i].run.accomplish==='1'&&myruns[i].run.pay==='0'){ + myruns[i].status=3;//此时表示跑手已完成该单,正在等支付 + } + else if(myruns[i].cancel==='0'&&myruns[i].run.cancel==='0'&&myruns[i].run.pay==='1'){ + myruns[i].status=4;//此时表示该单已完结 + + } + // 添加一个 runnook 数组,用于存储满足条件的数据项 + var myrunsnook = []; + // 遍历 runs 数组,筛选符合条件的数据项并添加到 runnook 中 + for (let i = 0; i < myruns.length; i++) { + if (myruns[i].cancel === "0" &&myruns[i].run.cancel === "0" && myruns[i].run.pay === "0") { + myrunsnook.push(myruns[i]); + } + } + var myrunsok = []; + // 遍历 runs 数组,筛选符合条件的数据项并添加到 runnook 中 + for (let i = 0; i < myruns.length; i++) { + if ( myruns[i].cancel === "0" && myruns[i].run.pay === "1") { + myrunsok.push(myruns[i]); + } + } + this.setData({ + myruns: myruns, + myrunsok:myrunsok, + myrunsnook:myrunsnook + }) + + }) + + } + wx.hideLoading() + }) + }, + +// 点击详情后的执行操作 +nav_to_detail: function(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var runs = JSON.stringify(e.currentTarget.dataset.runs); + wx.navigateTo({ + url: '/pages/run/rewarddetails/rewarddetails?runs=' + runs + }) +}, + +// 点击取消按钮后的执行操作 +Cancel: function(e) { + console.log(9); + // 弹出确认对话框 + wx.showModal({ + title: '确认取消', + content: '您确定要取消任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performCancel_1(e); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); +}, +performCancel_1: function(e) { + console.log(9); + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', e.currentTarget.dataset.id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将status值设置为0,runnerid设置为null + if (record) { + let run = Run.getWithoutData(record.id); + // 设置字段值 + run.set({ + status: '0', + runnerid: null, + }); + run.update().then(res => { + wx.showToast({ + title: '取消成功', + icon: 'success', + duration: 1000, + }); + // 更新成功后的操作 + // 调用onShow方法手动刷新页面 + this.onShow(); + // 查询runner_run数据表,根据runid匹配数据 + let table_runner = "runner_run"; + let RunnerRun = new wx.BaaS.TableObject(table_runner); + let runnerQuery = new wx.BaaS.Query(); + runnerQuery.compare('runid', '=', record.id); + RunnerRun.setQuery(runnerQuery).find().then(res => { + let runnerRecords = res.data.objects; // 获取查询结果 + console.log(runnerRecords); + // 对获取到的记录进行更新操作,将status值设置为0 + if (runnerRecords) { + for (let i = 0; i < runnerRecords.length; i++) { + let runnerRun = RunnerRun.getWithoutData(runnerRecords[i].id); + // 设置字段值 + runnerRun.set({ + cancel: '1', + }); + runnerRun.update().then(res => { + console.log('取消成功'); + }).catch(err => { + console.log('取消失败', err); + }); + } + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }).catch(err => { + wx.showToast({ + title: '取消失败', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + });}, + +// 开启下拉刷新 +onPullDownRefresh: function () { + // 设置一个定时器,延迟一定时间后关闭下拉刷新 + setTimeout(function () { + wx.stopPullDownRefresh(); + }, 1000); + this.onShow(); +}, + +// 点击确认完成后的执行操作 +accomplishi: function(e) { + // 弹出确认对话框 + wx.showModal({ + title: '确认完成', + content: '您确定已经完成了任务了吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performaccomplishi(e); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); +}, +performaccomplishi: function(e) { + var that=this; + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', e.currentTarget.dataset.id);  + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将accomplish值设置为1 + if (record) { + let run = Run.getWithoutData(record.id); + // 设置字段值 + run.set({ + accomplish: '1', + }); + run.update().then(res => { +  wx.showToast({ + title: '完成任务成功!', + icon: 'success', + duration: 1000, + }); + // 更新成功后的操作 + }).catch(err => { +  wx.showToast({ + title: '完成任务失败!', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + setTimeout(() => { + that.onShow(); + }, 1000); // 延迟1秒钟后执行页面跳转 + } else { +  console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + },   +}) \ No newline at end of file diff --git a/src/WeLink/pages/me/myrun/myrun.json b/src/WeLink/pages/me/myrun/myrun.json new file mode 100644 index 0000000..970acad --- /dev/null +++ b/src/WeLink/pages/me/myrun/myrun.json @@ -0,0 +1,6 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "我的跑腿", + "enablePullDownRefresh": true, + "backgroundColor": "#6e42d3" +} \ No newline at end of file diff --git a/src/WeLink/pages/me/myrun/myrun.wxml b/src/WeLink/pages/me/myrun/myrun.wxml new file mode 100644 index 0000000..573878e --- /dev/null +++ b/src/WeLink/pages/me/myrun/myrun.wxml @@ -0,0 +1,98 @@ + + + {{item}} + + + + + + + + + + + + + + + {{item.run.name}} + {{item.run.content}} + + + {{(item.status==3)?'等收款':(item.status==0) ? '取消接单':(item.status==2)?'我在飞奔':item.status==4?"已完成":item.status==0?"已取消":""}} + + + {{item.run.des}} + 校区: {{item.run.address}} + + + + + 悬赏¥{{item.run.reward_amount}} + 取消 + 查看详情 + 确认完成 + + + + + + + + + + + + + + {{item.run.name}} + {{item.run.content}} + + + {{(item.status==3)?'等收款':(item.status==0) ? '取消接单':(item.status==2)?'我在飞奔':item.status==4?"已完成":item.status==0?"已取消":""}} + + + {{item.run.des}} + 校区: {{item.run.address}} + + + + + 悬赏¥{{item.run.reward_amount}} + 取消 + 查看详情 + 确认完成 + + + + + + + + + + + + + + {{item.run.name}} + {{item.run.content}} + + + {{(item.status==3)?'等收款':(item.status==0) ? '取消接单':(item.status==2)?'我在飞奔':item.status==4?"已完成":item.status==0?"已取消":""}} + + + {{item.run.des}} + 校区: {{item.run.address}} + + + + + 悬赏¥{{item.run.reward_amount}} + 取消 + 查看详情 + 确认完成 + + + + \ No newline at end of file diff --git a/src/WeLink/pages/me/myrun/myrun.wxss b/src/WeLink/pages/me/myrun/myrun.wxss new file mode 100644 index 0000000..189bea6 --- /dev/null +++ b/src/WeLink/pages/me/myrun/myrun.wxss @@ -0,0 +1,129 @@ +.fixt{ + padding: 20rpx 40rpx; + width: 900rpx; + background: linear-gradient(to top,#6183dd,#6e42d3); +} + +/* tab切换 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} + + +/* 从helpmaster直接复制过来,应该是一个个列表式 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} +.titem{ + padding: 20rpx; + background-color: #ffffff; + border-radius: 10rpx; + box-shadow: 0 0 10rpx 5rpx #f1f1f1; + margin-bottom: 20rpx +} +.avatar{ + width: 60rpx; + height: 60rpx; + border-radius: 60rpx; + background: #e1e1e1 +} +.state{ + padding:0 15rpx; + height: 50rpx; + font-size: 24rpx; + width: 180rpx; + /* display: inline-block; */ + text-align: center; + line-height: 50rpx; + border-radius: 5rpx; +} +.ste1{ + background-color: rgba(0, 204, 153,0.08); + color: #00cc99 +} +.ste2{ + background-color: rgba(51, 153, 255, 0.08); + color: rgb(51, 153, 255) +} +.ste3{ + background-color: rgba(255, 153, 0,0.08); + color: rgb(255, 153, 0) +} +.ste4{ + display: inline-block; + padding: 0 10px; + border-radius: 5px; + background-color: rgba(255, 102, 102, 0.08); + color: #ff6666; + width: calc(25% + 1ch); + +} +.ste5{ + background-color: rgba(136, 136, 136,0.08); + color: rgb(136, 136, 136) +} +.bzBtn{ + font-size: 26rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) +} +.bzBtn2{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) +} +.bzBtn3{ + font-size: 26rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) +} +.bzBtn4{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) +} +/* 查看详情按钮 */ +.bzBtn5{ + font-size: 26rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) +} diff --git a/src/WeLink/pages/register/register.js b/src/WeLink/pages/register/register.js new file mode 100644 index 0000000..519f5e0 --- /dev/null +++ b/src/WeLink/pages/register/register.js @@ -0,0 +1,101 @@ +// pages/register/register.js +const app = getApp(); + +Page({ + data: { + name:'', + userID: '', + password: '', + phone_number: '', + }, + //输入昵称 + inputName(e) { + this.setData({ name: e.detail.value}); + }, + // 输入学号 + inputUserID(e) { + this.setData({ userID: e.detail.value }); + }, + // 输入密码 + inputPassword(e) { + this.setData({ password: e.detail.value }); + }, + // 输入电话号码 + inputPhoneNumber(e) { + this.setData({ phone_number: e.detail.value }); + }, + onLoad(){ + //设置导航栏效果 + wx.setNavigationBarColor({ + frontColor: '#ffffff', + backgroundColor: '#6e42d3', + }) +}, + // 注册按钮点击事件 + register() { + // 获取输入的学号、密码和电话号码 + const { name,userID, password, phone_number } = this.data; + + if (!name || !userID || !password || !phone_number) { + wx.showToast({ + title: '请填写完整信息', + icon: 'none', + }); + return; + } + + wx.showLoading({ + title: '注册中', + }); + + let tableName = "users"; + let Car = new wx.BaaS.TableObject(tableName); + // 创建查询对象 + let query = new wx.BaaS.Query(); + query.compare("userID", "=", userID); + // 执行查询操作 + Car.setQuery(query).find().then(res => { + if (res.data.objects.length > 0) { + // 用户已存在 + wx.showToast({ + title: '该用户已存在', + icon: 'none', + }); + } else { + // 用户不存在,可以进行注册 + // 创建一条新的用户数据 + let newUser = Car.create(); + newUser.set('webname',name); + newUser.set('userID', userID); + newUser.set('password', password); + newUser.set('phone_number', phone_number); + // 保存用户数据 + newUser.save().then(res => { + wx.showToast({ + title: '注册成功', + icon: 'success', + duration: 1500, + }); + setTimeout(() => { + wx.redirectTo({ + url: '/pages/login/login', + }); + }, 300); // 延迟300毫秒后执行页面跳转 + }).catch(err => { + console.error("注册失败", err); + wx.showToast({ + title: '注册失败,请稍后重试', + icon: 'none', + }); + }); + } + }).catch(err => { + // 查询失败,显示错误提示 + console.error("查询失败", err); + wx.showToast({ + title: '注册失败,请稍后重试', + icon: 'none', + }); + }); + } +}); diff --git a/src/WeLink/pages/register/register.json b/src/WeLink/pages/register/register.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/WeLink/pages/register/register.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/WeLink/pages/register/register.wxml b/src/WeLink/pages/register/register.wxml new file mode 100644 index 0000000..a45471a --- /dev/null +++ b/src/WeLink/pages/register/register.wxml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 同意获得你的公开信息(昵称) + + + + + \ No newline at end of file diff --git a/src/WeLink/pages/register/register.wxss b/src/WeLink/pages/register/register.wxss new file mode 100644 index 0000000..be68590 --- /dev/null +++ b/src/WeLink/pages/register/register.wxss @@ -0,0 +1,82 @@ +/* pages/login/register.wxss */ +page { + /* 设置页面背景颜色的线性渐变 */ + background: linear-gradient(to top,#6183dd,#6e42d3); + font-size: 32rpx; +} + +/* 设置微信头部这部分容器 */ +.wechatapp { + /* 设置内边距、外边距、以及文本对齐方式 */ + padding: 80rpx 0 48rpx; + margin-bottom: 72rpx; + text-align: center; +} +.wechatapp .header { + width: 190rpx; + height: 190rpx; + border: 2px solid #fff; + margin: 0rpx auto 0; + border-radius: 50%; + overflow: hidden; + box-shadow: 1px 0px 5px rgba(50, 50, 50, 0.3); +} + +/* 设置整个除头像内容 */ +.container { + /* 设置容器内边距 */ + padding: 0 60rpx; +} +/* 设置两个输入框 */ +.bgg{ + font-size: 30rpx; + text-align: center; + width: 100%; + line-height: 90rpx; + height: 90rpx; + background: rgba(255, 255, 255, 0.8); + border-radius: 20rpx;/*设置圆角*/ + margin-bottom: 20rpx; /* 添加底部间隔 */ +} +/* 设置输入框后面的面板 */ +.panels{ + padding: 30rpx; + background-color: rgba(255, 255, 255, 0.3); + border-radius: 20rpx; +} + + + + +.login-btn { + border: none; + height: 88rpx; + line-height: 88rpx; + background: #04be01; + border-radius: 45rpx; + display: flex; /* 使用弹性布局 */ + justify-content: center; /* 在水平方向上居中对齐 */ + align-items: center; /* 在垂直方向上居中对齐 */ + color: #fff; + font-size: 11pt; +} +/* 设置按钮触摸时候的样式 */ +.login-btn.button-hover { + box-shadow: inset 0 5rpx 30rpx rgba(0, 0, 0, 0.15); +} + +/* 管理员按钮 */ +.createbutton { + width: 120rpx; + height: 120rpx; + border-radius: 150rpx; + box-shadow: 0 0 10rpx 0 rgba(0, 153, 255, 0.363); + background:linear-gradient(to right top,#c9cedd,#a19ddb); + position: fixed; + bottom: 30rpx; + right: 30rpx; + line-height: 115rpx; + text-align: center; + font-size: 30rpx; /* 调整文本大小为 48rpx */ + color: #fff +} \ No newline at end of file diff --git a/src/WeLink/pages/remark/createremark/createremark.js b/src/WeLink/pages/remark/createremark/createremark.js new file mode 100644 index 0000000..f2b4790 --- /dev/null +++ b/src/WeLink/pages/remark/createremark/createremark.js @@ -0,0 +1,219 @@ +const wxBaaS = require('../../../sdk-wechat.2.0.6-a') +Page({ + data: { + maxStars: 5, + rating: 6, // 初始评价为3星6分 + stars: [], // ['empty','filled'] + rewardname: '',//点评名称 + comment: '' ,//点评内容 + array1: ['请点击选择点评类型', '美食', '选课','娱乐','运动','备考'],//点评类型 + index1: 0, + id: '', + createrid: '', + imageUrl: '', + imageID: '', + imageURL: '', + headurl:"" + }, + + // 选择图片 + chooseImage: function() { + let that = this; + wx.chooseMedia({ + count: 1, + mediaType: ['image'], + sourceType: ['album', 'camera'], + success: (res) => { + const tempFilePath = res.tempFiles[0].tempFilePath; + that.setData({ + imageUrl: tempFilePath // 保存图片的本地路径用于预览 + }); + } + }); + }, + // 上传图片 + uploadImage: function(filePath, callback) { + let that = this; + let MyFile = new wxBaaS.File(); + let fileParams = {filePath: filePath}; + let metaData = {categoryName: '展示图'}; + + MyFile.upload(fileParams, metaData).then(res => { + that.setData({ + imageID: res.data.file.id, + imageURL: res.data.path + }); + callback && callback(); // 调用回调函数 + }, err => { + console.log('上传失败', err); + callback && callback(); // 即使上传失败也调用回调函数 + }); + }, + //删除预览图片 + deleteImage: function() { + this.setData({ + imageUrl: '', // 清空图片URL + imageID: '', // 清空 imageID,如果保存了imageID + imageURL: '' // 清空 imageURL,如果保存了imageURL + }); + }, + +  bindPickerChange1: function(e) { + var that=this; +     const index1 = e.detail.value; +     this.setData({ + index1:index1, + kind:that.data.array1[index1] +     }); +   }, + getheadurl: function () { + const userId = this.data.createrid; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + headurl: record.headurl + }); + } + }); + }, + + onLoad: function() { + //获取createrid + let userID = wx.getStorageSync('user').userID; + this.setData({ + createrid: userID + }); + this.getheadurl(); + this.updateStars(this.data.rating); + // 获取rating-container的位置 + wx.createSelectorQuery().select('.rating-container').boundingClientRect((rect) => { + this.setData({ + containerLeft: rect.left, + starWidth: rect.width / this.data.maxStars + }); + }).exec(); + }, + + handleSlideRating: function(e) { + const starWidth = this.data.starWidth || 50; + const halfStarWidth = starWidth / 2; + const touchX = e.touches[0].clientX; + const containerLeft = this.data.containerLeft || 0; + const relativeTouchPosition = touchX - containerLeft; + let halfStarsFilled = Math.floor(relativeTouchPosition / halfStarWidth); + halfStarsFilled = Math.min(halfStarsFilled, 2 * this.data.maxStars); + this.setData({ + rating: halfStarsFilled + }); + this.updateStars(halfStarsFilled); + } + , + + updateStars: function(halfStarsFilled) { + const stars = []; + for (let i = 1; i <= 2 * this.data.maxStars; i += 2) { + if (i + 1 <= halfStarsFilled) { + stars.push('filled'); + } else if (i <= halfStarsFilled) { + stars.push('half'); + } else { + stars.push('empty'); + } + } + this.setData({ stars }); + }, + + + + // 处理输入的评价内容的方法 + handleInput: function(e) { + this.setData({ + comment: e.detail.value + }); + }, + handleRewardNameInput: function(e) { + this.setData({ + rewardname: e.detail.value + }); + }, + + // 提交评价 + handleSubmit: function() { + let that = this; + + if (!this.data.comment.trim()) { + wx.showToast({ + title: '评价内容不能为空', + icon: 'none' + }); + return; + } + + if (!this.data.rewardname.trim()) { + wx.showToast({ + title: '点评名称不能为空', + icon: 'none' + }); + return; + } + + if (this.data.index1 === 0) { + wx.showToast({ + title: '请选择点评类型', + icon: 'none' + }); + return; + } + + // 首先上传图片 + if (this.data.imageUrl) { + this.uploadImage(this.data.imageUrl, function() { + that.saveRemark(); + }); + } else { + this.saveRemark(); + } + }, + // 保存评价信息到数据库 + saveRemark: function() { + let that = this; + let Remark = new wx.BaaS.TableObject('remark'); + let remark = Remark.create(); + + remark.set({ + id: this.data.id, + createrid: this.data.createrid, + content: this.data.comment, + score: String(this.data.rating), + name: this.data.rewardname, // 点评名称 + type: this.data.array1[this.data.index1], // 点评类型 + imageID: this.data.imageID, + imageURL: this.data.imageURL, + }).save().then(res => { + wx.showToast({ + title: '提交成功', + icon: 'success', + duration: 1000 + }); + setTimeout(() => { + wx.redirectTo({ + url: '/pages/me/myremark/myremark', //跳转回我的点评页面 + }); + }, 1200); + }, err => { + console.error(err); + wx.showToast({ + title: '提交失败,请稍后重试', + icon: 'none' + }); + }); + }, + +}); diff --git a/src/WeLink/pages/remark/createremark/createremark.json b/src/WeLink/pages/remark/createremark/createremark.json new file mode 100644 index 0000000..0061f73 --- /dev/null +++ b/src/WeLink/pages/remark/createremark/createremark.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "创建点评" +} \ No newline at end of file diff --git a/src/WeLink/pages/remark/createremark/createremark.wxml b/src/WeLink/pages/remark/createremark/createremark.wxml new file mode 100644 index 0000000..d4944df --- /dev/null +++ b/src/WeLink/pages/remark/createremark/createremark.wxml @@ -0,0 +1,52 @@ + + + + + + + + +
+ + 点评名称(必填): + + + + + + + {{array1[index1]}} + + + + + 点评描述(必填): + + + + {{item.label}} + + + + 上传图片(至多一张): + + + + + + + 删除图片 + + + + 我的评分: + + + + + + {{msg.des}} + +
+
+
\ No newline at end of file diff --git a/src/WeLink/pages/remark/createremark/createremark.wxss b/src/WeLink/pages/remark/createremark/createremark.wxss new file mode 100644 index 0000000..93f59eb --- /dev/null +++ b/src/WeLink/pages/remark/createremark/createremark.wxss @@ -0,0 +1,83 @@ +.bz{ + padding: 30rpx; + box-shadow: 0 0 10rpx 6rpx rgba(0, 0, 0, 0.07); + border-radius: 10rpx; + margin-top: 80rpx +} +.avatar{ + width: 130rpx; + height: 130rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + position: relative; + top: -100rpx; + border: 6rpx solid #FFCC66; + background-color: #FFCC66 +} + +.fo-b{ + margin-top: 50rpx; + color: #6699CC +} +.tags{ + padding:0 30rpx; + line-height: 70rpx; + background: #f1faff; + font-size: 28rpx; + text-align: center; + margin-top: 20rpx; + margin-right: 20rpx; + color: #0099ff; + border-radius: 10rpx +} + +.rating-container { + display: flex; + align-items: center; + margin-bottom: 10rpx; + margin-top: 10px; + margin-left: 60px; +} + +.star-icon { + width: 30px; + height: 30px; + margin-right: 8px; +} + +.conx { + display: flex; + align-content: center; + justify-content: center; +} +/* 上传图标样式 */ +.upload-icon { + width: 80px; + height: 80px; + margin: 10px; +} + +/* 图片预览样式 */ +.image-preview { + width: 100px; + height: 100px; + margin-top: 10px; +} + +.delete-icon { + color: rgb(32, 194, 243); /* 删除图标的颜色 */ + font-size: 14px; /* 字体大小 */ + cursor: pointer; /* 鼠标悬停时的样式 */ + margin-left: 20px; +} + +.avatar1{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; +} diff --git a/src/WeLink/pages/remark/remark/remark.js b/src/WeLink/pages/remark/remark/remark.js new file mode 100644 index 0000000..77d0874 --- /dev/null +++ b/src/WeLink/pages/remark/remark/remark.js @@ -0,0 +1,64 @@ +Page({ + data: { + + }, + onLoad(){ + //设置初始选中效果 + this.setData({ + flag:0 + }) + }, + // 选择不同tag + changeTag(e) { + this.setData({ + flag: e.currentTarget.dataset.index + }) + }, + + // 创建点评按钮进行跳转 + navTo(){ + wx.navigateTo({ + url: '/pages/remark/createremark/createremark' + }) + }, +// 展示点评内容 + onShow(){ + this.get(); + }, + get() { + wx.showLoading({ + title: '加载中...', + }); + // 获取分类 + wx.BaaS.invoke('getRemarkClassify').then(res => { + let list = res.data.data.objects; + for (let i = 0; i < list.length; i++) { + list[i].id = i; + } + for (let i = 0; i < list.length; i++) { + wx.BaaS.invoke('getRemarks', { + type: list[i].name + }).then(res => { + let remarks = res.data.data.objects; + // 过滤掉 problem 为 '1' 的 remark + remarks = remarks.filter(remark => remark.problem === '0'); + list[i].remarks = remarks; + console.log(res.data.data); + this.setData({ + list: list, + }); + }); + wx.hideLoading(); + } + }); + }, + + // 点击详情后的执行操作 + nav_to_detail: function(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var remarks = JSON.stringify(e.currentTarget.dataset.remarks); + wx.navigateTo({ + url: '/pages/remark/remarkdetails/remarkdetails?remarks=' + remarks + }) + }, +}); \ No newline at end of file diff --git a/src/WeLink/pages/remark/remark/remark.json b/src/WeLink/pages/remark/remark/remark.json new file mode 100644 index 0000000..af94087 --- /dev/null +++ b/src/WeLink/pages/remark/remark/remark.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "校园点评" +} \ No newline at end of file diff --git a/src/WeLink/pages/remark/remark/remark.wxml b/src/WeLink/pages/remark/remark/remark.wxml new file mode 100644 index 0000000..ac2fb24 --- /dev/null +++ b/src/WeLink/pages/remark/remark/remark.wxml @@ -0,0 +1,50 @@ + + + + + 点评 + + + + + + + + + {{item.name}} + + + + + + + + + + + + + {{item.name}} + {{item.content}} + + + + + 分数: {{item.score}} + + + + + + 浏览量{{item.count}} + 热度🔥{{item.upvote}} + 查看详情 + + + + + + + + ++ \ No newline at end of file diff --git a/src/WeLink/pages/remark/remark/remark.wxss b/src/WeLink/pages/remark/remark/remark.wxss new file mode 100644 index 0000000..c7b952e --- /dev/null +++ b/src/WeLink/pages/remark/remark/remark.wxss @@ -0,0 +1,286 @@ +/* pages/remark/remark/remark.wxss */ +/* 搜索样式 */ +.search-container { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 10rpx; + margin-left: 10rpx; + margin-bottom: 20rpx; +} + +.search-box { + height: 80rpx; + justify-content: space-between; + flex: 1; + display: flex; + align-items: center; + border-radius: 20rpx; + background-color: #f5f5f5; + padding: 10rpx; + margin-right: 10rpx; +} + +.search-input { + height: 100%; + flex: 1; + display: flex; + align-items: center; + justify-content: center; + color: #6887e1; +} + +.close-icon { + color: rgb(69, 7, 184); + width: 30rpx; + height: 50%; + margin-left: 10rpx; +} + +.icon-image { + width: 40rpx; + height: 40rpx; +} + +/* 选项卡 */ +.container1 { + display: flex; + flex-direction: column; + height:fit-content; + margin: 0; +} + +.tabs { + width: 100%; + display: flex; + border: 1px solid rgb(236, 225, 225); + overflow-x: auto; +} + +.tab { + flex: 1; + padding: 10px; + text-align: center; + position: relative; /* 定位下划线 */ +} + +.tab .active { + color: #4c42d3; +} + +.tab .underline { + position: absolute; + bottom: 0; + left: 0; + right: 0; + height: 2px; + background-color: #4c42d3;/*下划线颜色 */ +} + +.content { + width: 100%; + padding: 20px; +} + +/* 创建点评按钮 */ +.createbutton { + width: 120rpx; + height: 120rpx; + border-radius: 150rpx; + box-shadow: 0 0 10rpx 0 rgba(0, 153, 255, 0.363); + background:linear-gradient(to right top,#6183dd,#4c42d3); + position: fixed; + bottom: 30rpx; + right: 30rpx; + line-height: 115rpx; + text-align: center; + font-size: 80rpx; /* 调整文本大小为 48rpx */ + color: #fff +} + +/* 从run复制过来的数据条 */ +.VerticalNav.nav { + width: 200rpx; + white-space: initial; + display: flex; + align-items: flex-start; + +} + +.VerticalNav.nav .cu-item { + width: 100%; + text-align: center; + background-color: #f1f1f1; + margin: 0; + border: none; + height: 50px; + position: relative; +} + +.VerticalNav.nav .cu-item.cur { + background-color: #fff; +} + +.VerticalNav.nav .cu-item.cur::after { + content: ""; + width: 8rpx; + height: 40rpx; + border-radius: 0 10rpx 10rpx 0; + position: absolute; + background-color: currentColor; + top: 0rpx; + left: 0rpx; + bottom: 5rpx; + margin: auto; +} + +.VerticalBox { + display: flex; +} + +.VerticalMain { + background-color: #ffffff; + display: flex; + align-items: flex-start; +} + + + + /* 父选择器中的子选择器,list是指整个商品条目块,然后这里调整它和顶部标题以及底部标题的距离。cu-bar指的是标题栏,cu-item指的是每个条目*/ + .VerticalMain .cu-list { + margin-bottom: 10rpx; +} +.VerticalMain .cu-list { + margin-top: -10rpx; +} + +/* tab切换 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} + +/* 从helpmaster直接复制过来,应该是一个个列表式 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} +.titem{ + padding: 20rpx; + background-color: #ffffff; + border-radius: 10rpx; + box-shadow: 0 0 10rpx 2rpx #cdd9df; + margin-bottom: 20rpx +} +.avatar{ + width: 60rpx; + height: 60rpx; + border-radius: 60rpx; + background: #e1e1e1 +} +.state{ + padding:10 15rpx; + height: 50rpx; + font-size: 24rpx; + width: 160rpx; + /* display: inline-block; */ + text-align: center; + line-height: 50rpx; + border-radius: 5rpx; + margin-left: 30rpx; /* 设置水平间隔 */ + +} +.ste1{ + background-color: rgba(146, 117, 192, 0.08); + color: #4c4497 +} +.ste2{ + background-color: rgba(51, 153, 255, 0.08); + color: rgb(51, 153, 255) +} +.ste3{ + background-color: rgba(255, 153, 0,0.08); + color: rgb(255, 153, 0) +} + +.ggg{ + justify-content: flex-start; +} +.ste4{ + display: inline-block; + justify-content: flex-start; + padding: 0 10px; + border-radius: 5px; + background-color: rgba(255, 102, 102, 0.08); + color: #ff6666; + width: calc(25% + 1ch); + +} + +.ste5{ + background-color: rgba(136, 136, 136,0.08); + color: rgb(136, 136, 136) +} +.bzBtn{ + font-size: 26rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) +} +.bzBtn2{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) +} +.bzBtn3{ + font-size: 26rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) +} +.bzBtn4{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) +} +/* 查看详情按钮 */ +.bzBtn5{ + font-size: 26rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) +} \ No newline at end of file diff --git a/src/WeLink/pages/remark/remarkdetails/remarkdetails.js b/src/WeLink/pages/remark/remarkdetails/remarkdetails.js new file mode 100644 index 0000000..4bc78b8 --- /dev/null +++ b/src/WeLink/pages/remark/remarkdetails/remarkdetails.js @@ -0,0 +1,374 @@ +// pages/remark/remarkdetails/remarkdetails.js +Page({ + data: { + userID:'', + userName:'', + CanVote: null, + id:'', + name:'', + creator:'', + createrid:'', + time:'', + content:'', + comments:[], + remarker_id:[], + isModalVisible: false, +    inputValue: '', + isCommentModalVisible: false, + commentValue: '', + imageURL: '', + headurl:"" + }, + + //预览图片 + previewImage: function() { + wx.previewImage({ + current: this.data.imageURL, + urls: [this.data.imageURL] + }); + }, + + onLoad: function (options) { + function formatDate(timestamp) { + var date = new Date(timestamp); + var year = date.getFullYear(); + var month = date.getMonth() + 1; + var day = date.getDate(); + var hours = date.getHours(); + var minutes = date.getMinutes(); + var seconds = date.getSeconds(); + return [ + year, + month.toString().padStart(2, '0'), + day.toString().padStart(2, '0') + ].join('-') + ' ' + [ + hours.toString().padStart(2, '0'), + minutes.toString().padStart(2, '0'), + seconds.toString().padStart(2, '0') + ].join(':'); + } + console.log(options); + var remarks = JSON.parse(options.remarks); + console.log(remarks); + this.setData({ + id:remarks.id, + name: remarks.name, + createrid: remarks.createrid, + content: remarks.content, + time: formatDate(remarks.created_at*1000), + CanVote:true, + imageURL: remarks.imageURL || '', + }); + + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + // 'msg.avatar_url': userData.avatar_url, + userID: userData.userID, + userName: userData.webname, + }); + } + + let remarkId = remarks.id; // 获取remark的主键id + let RemarkRemark = new wx.BaaS.TableObject("remark_remark"); + let query = new wx.BaaS.Query(); + query.compare("remarkID", "=", remarkId); // 构造查询条件 + + RemarkRemark.setQuery(query).find().then(res => { + if (res.data.objects.length > 0) { + let content = res.data.objects.map(item => item.content); + let remarkIds = res.data.objects.map(item => item.remarker_id); + + this.setData({ + comments: content, // 将评价内容存储到comments数组中 + remarker_id: remarkIds, // 将评论者id存储到remarker_id数组中 + }); + console.log("评价内容:", this.data.comments); // 打印评价内容 + console.log("评论者ID:", this.data.remarker_id); // 打印评论者ID + } else { + console.log("查询为空"); + } + }).catch(err => { + console.error("查询出错:", err); + }); + this.check(); + this.onShow; + }, + + check: function() { + const {createrid} = this.data; + let table_remark = "remark"; + let table_user = "users"; + let User = new wx.BaaS.TableObject(table_user); + let Remark = new wx.BaaS.TableObject(table_remark); + let query = new wx.BaaS.Query(); + + // 构造查询条件 + query.compare("userID", "=", createrid); + + User.setQuery(query).find().then(res => { + let users = res.data.objects; + if (users.length > 0) { + let webname = users[0].webname; // 获取对应的webname + console.log("Webname:", webname); + // 将 webname 存储到 data 中 + this.setData({ + headurl:users[0].headurl, + creator: webname + }); + } + }, err => { + console.log(err); + }); + }, + + onShow: function() { + let remarkId = this.data.id; // 获取remark的主键id + let Remark = new wx.BaaS.TableObject("remark"); +    let query = new wx.BaaS.Query(); +    query.compare("id", "=", remarkId); +   +    // 查询要更新的记录 +    Remark.setQuery(query).find().then(res => { +      let remarks = res.data.objects; +      if (remarks.length > 0) { +        let remark = remarks[0]; +        console.log("remark: ",remark); +        let count = parseInt(remark.count) + 1; // 将count字段值加一 + console.log("哈哈哈哈哈哈哈",count); +   + let updateRecord = Remark.getWithoutData(remarkId); + updateRecord.set('count', count.toString()); // 设置要更新的字段及其新值 + updateRecord.update().then(res => { + console.log("Count字段更新成功"); + }, err => { + console.log("Count字段更新失败", err); + }); + +      } +    }, err => { +      console.log("查询记录失败", err); +    }); + }, + + UpVote: function() { + // 首先查询vote表 + let Vote = new wx.BaaS.TableObject('vote'); + let query = new wx.BaaS.Query(Vote); + query.compare('userID', '=', this.data.userID); + query.compare('remarkID', '=', this.data.id); + + Vote.setQuery(query).find().then(response => { + if (response.data.objects.length > 0) { + // 如果已存在数据项,则显示弹窗提示 + wx.showToast({ + title: '您已经点过赞了!', + icon: 'success', + }); + } else { + // 不存在数据项,将upvote字段的值加一 + let Remark = new wx.BaaS.TableObject('remark'); // 添加此行 + let query1 = new wx.BaaS.Query(Vote); + query1.compare('id', '=', this.data.id); + Remark.setQuery(query1).find().then(res => { + let remarks = res.data.objects; + if (remarks.length > 0) { + let remark = remarks[0]; + let upVote = parseInt(remark.upvote) + 1; + // 更新remark表中的upvote字段 + let updateRecord = Remark.getWithoutData(this.data.id); + updateRecord.set('upvote', upVote.toString()); + updateRecord.update().then(res => { + wx.showToast({ + title: '点赞成功!', + icon: 'success', + }); + // 在vote表中创建新的数据项 + let Vote1 = new wx.BaaS.TableObject('vote'); + let vote1 = Vote1.create(); + vote1.set('userID', this.data.userID); + vote1.set('remarkID', this.data.id); + vote1.save().then(() => { + console.log("点赞数据项创建成功"); + }).catch(err => { + console.log("点赞数据项创建失败", err); + }); + }).catch(err => { + console.log("UpVote字段更新失败", err); + }); + } + }).catch(err => { + console.log("查询记录失败", err); + }); + } + }).catch(err => { + console.log("查询vote表失败", err); + }); + }, + + + showModal: function() { + this.setData({ + isModalVisible: true + }); + }, + + submitInput: function() { + const inputValue = this.data.inputValue; + + // 创建一个名为"report"的TableObject对象 + let table_report = "report"; + let Report = new wx.BaaS.TableObject(table_report); + + // 构建查询条件 + let query = new wx.BaaS.Query(); + query.compare('reporter_ID', '=', this.data.userID); + query.compare('remark_ID', '=', this.data.id); + + // 设置查询条件并执行查询 + Report.setQuery(query).find().then(res => { + if (res.data.objects.length > 0) { + // 查询结果不为空,显示“您已举报” + wx.showToast({ + title: '您已举报过啦', + icon: 'none', + duration: 2000 + }); + } else { + // 查询结果为空,创建新的记录 + let report = Report.create(); + let newRecord = { + remarkState: '1', + reporter_ID: this.data.userID, + report_Name: this.data.userName, + remark_ID: this.data.id, + content: inputValue, + }; + report.set(newRecord).save().then(res => { + console.log('成功存入数据库', res); + // 提示提交成功 + wx.showToast({ + title: '举报成功', + icon: 'none', + duration: 2000 + }); + + setTimeout(() => { + wx.switchTab({ + url: '/pages/remark/remark/remark', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 300); // 延迟300毫秒后执行页面跳转 + }).catch(err => { + console.error('存入数据库时发生错误', err); + // 提示提交失败 + wx.showToast({ + title: '提交失败,请重试', + icon: 'none', + duration: 2000 + }); + }); + } + }).catch(err => { + console.error('查询数据库时发生错误', err); + // 提示查询失败 + wx.showToast({ + title: '查询失败,请重试', + icon: 'none', + duration: 2000 + }); + }); + + // 清空输入框并隐藏弹窗 + this.setData({ + isModalVisible: false, + inputValue: '' + }); + }, + + hideModal: function() { + this.setData({ + isModalVisible: false, + inputValue:'', + }); + }, + + inputChange: function(e) { + this.setData({ + inputValue: e.detail.value + }); + }, + + + //评论 + showModal: function() { + this.setData({ + isModalVisible: true + }); + }, + + showCommentModal: function() { + this.setData({ + isCommentModalVisible: true + }); + }, + + hideCommentModal: function() { + this.setData({ + isCommentModalVisible: false, + commentValue: '' + }); + }, + + inputComment: function(e) { + this.setData({ + commentValue: e.detail.value + }); + }, + + submitComment: function() { + const commentValue = this.data.commentValue; + console.log("adadw",this.data.id,this.data.userName,this.data.commentValue) + let table_Re_Remark = "remark_remark"; + let Re_remark = new wx.BaaS.TableObject(table_Re_Remark); + + let newRemark = Re_remark.create(); + newRemark.set({ + userID: this.data.userID, + remarkID: this.data.id, + remarker_id: this.data.userName, + content: commentValue, + }); + + newRemark.save().then((res) => { + console.log('成功存入数据库', res); + // 清空评论输入框并隐藏评论模态框 + this.setData({ + isCommentModalVisible: false, + commentValue: '' + }); + // 提示提交成功 + wx.showToast({ + title: '提交成功!', + icon: 'success', + }); + + setTimeout(() => { + wx.switchTab({ + url: '/pages/remark/remark/remark', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 300); // 延迟300毫秒后执行页面跳转 + }, (err) => { + console.error('存入数据库时发生错误', err); + // 提示提交失败 + wx.showToast({ + title: '提交失败,请重试', + icon: 'none', + duration: 2000 + }); + }); + }, + + +}) \ No newline at end of file diff --git a/src/WeLink/pages/remark/remarkdetails/remarkdetails.json b/src/WeLink/pages/remark/remarkdetails/remarkdetails.json new file mode 100644 index 0000000..1b15a83 --- /dev/null +++ b/src/WeLink/pages/remark/remarkdetails/remarkdetails.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "点评详情" +} \ No newline at end of file diff --git a/src/WeLink/pages/remark/remarkdetails/remarkdetails.wxml b/src/WeLink/pages/remark/remarkdetails/remarkdetails.wxml new file mode 100644 index 0000000..0b2852a --- /dev/null +++ b/src/WeLink/pages/remark/remarkdetails/remarkdetails.wxml @@ -0,0 +1,102 @@ + + + + + + + + + + + + 点评详情: + + + 名称: + + {{name}} + + + + + + 创建人: + + {{creator}} + + + + + 创建时间: + + {{time}} + + + + + + + 内容: + + {{content}} + + + + 图片: + + + + + + + + + + 请输入举报详情 + + + + + {{item.label}} + + + + + 上传图片(至多一张): + + + + + + + 删除图片 + + + + + + + + {{array[index]}} + + + + + + + 您欲支付的酬金(必填): + + + {{msg.des}} + + + + + + \ No newline at end of file diff --git a/src/WeLink/pages/run/createreward/createreward.wxss b/src/WeLink/pages/run/createreward/createreward.wxss new file mode 100644 index 0000000..4ad8e46 --- /dev/null +++ b/src/WeLink/pages/run/createreward/createreward.wxss @@ -0,0 +1,95 @@ + +.bz{ + padding: 30rpx; + box-shadow: 0 0 10rpx 6rpx rgba(0, 0, 0, 0.07); + border-radius: 10rpx; + margin-top: 80rpx +} +.avatar{ + width: 130rpx; + height: 130rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + position: relative; + top: -100rpx; + border: 6rpx solid #FFCC66; + background-color: #FFCC66 +} + +.remark-type{ + height: 30rpx; + width:600rpx; + background: #fff; + margin-bottom: 0rpx; + display: flex; + flex-direction: row; + justify-content: space-around; + align-items: right; + padding-left: 0rpx; + padding-right: 20rpx; +} +.remark-type .type-label{ + height: 0rpx; + flex: 1; + color: #333; + font-size: 30rpx; + +} + +.remark-type .type-icon{ + height: 36rpx; + width: 36rpx; +} +.fo-b{ + margin-top: 50rpx; + color: #6699CC +} +.tags{ + padding:0 30rpx; + line-height: 70rpx; + background: #f1faff; + font-size: 28rpx; + text-align: center; + margin-top: 20rpx; + margin-right: 20rpx; + color: #0099ff; + border-radius: 10rpx +} + +.conx { + display: flex; + align-content: center; + justify-content: center; +} +/* 上传图标样式 */ +.upload-icon { + width: 80px; + height: 80px; + margin: 10px; +} + +/* 图片预览样式 */ +.image-preview { + width: 100px; + height: 100px; + margin-top: 10px; +} + +.delete-icon { + color: rgb(32, 194, 243); /* 删除图标的颜色 */ + font-size: 14px; /* 字体大小 */ + cursor: pointer; /* 鼠标悬停时的样式 */ + margin-left: 20px; +} + + +.avatar1{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; +} \ No newline at end of file diff --git a/src/WeLink/pages/run/pay/pay.js b/src/WeLink/pages/run/pay/pay.js new file mode 100644 index 0000000..c915618 --- /dev/null +++ b/src/WeLink/pages/run/pay/pay.js @@ -0,0 +1,111 @@ +// pages/run/pay/pay.js +Page({ + data: { + paymentCodeUrl: '', // 用于存放付款码图片地址 + }, + + onLoad(options) { + var run = JSON.parse(options.run); + console.log(run); + this.setData({ + run:run + }) + // 页面加载时查询数据库,获取付款码信息 + this.getPaymentCode(); + }, + + getPaymentCode: function () { + const userId = this.data.run.runnerid; + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', userId); + usersTable.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record.receivingurl) + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + paymentCodeUrl: record.receivingurl + }); + } + }); + }, + + confirm: function() { + // 弹出确认对话框 + wx.showModal({ + title: '确认已付款', + content: '您确定已经付款了吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performPay(); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + }, + + performPay: function() { + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', this.data.run.id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将pay值设置为1 + if (record) { + let run = Run.getWithoutData(record.id); + // 设置字段值 + run.set({ + pay: '1', + }); + run.update().then(res => { + wx.showToast({ + title: '支付成功', + icon: 'success', + duration: 1000, + }); + setTimeout(() => { + this.goBack(); + }, 1500); + + }).catch(err => { + // 更新失败后的操作 + }); + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }, + cancel: function(){ + wx.showToast({ + title: '请尽快支付', + icon: 'none', + duration: 1000, + }); + setTimeout(() => { + this.goBack(); + }, 1500); + }, + goBack: function () { + wx.navigateBack({ + delta: 1, // 返回的页面数,如果 delta 大于现有页面数,则返回到首页 + }); + }, + previewImage: function () { + // 预览付款码大图 + wx.previewImage({ + urls: [this.data.paymentCodeUrl], + current: this.data.paymentCodeUrl + }); + } +}) \ No newline at end of file diff --git a/src/WeLink/pages/run/pay/pay.json b/src/WeLink/pages/run/pay/pay.json new file mode 100644 index 0000000..38cd156 --- /dev/null +++ b/src/WeLink/pages/run/pay/pay.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "收款码" +} \ No newline at end of file diff --git a/src/WeLink/pages/run/pay/pay.wxml b/src/WeLink/pages/run/pay/pay.wxml new file mode 100644 index 0000000..5ad9f86 --- /dev/null +++ b/src/WeLink/pages/run/pay/pay.wxml @@ -0,0 +1,5 @@ + + + + + diff --git a/src/WeLink/pages/run/pay/pay.wxss b/src/WeLink/pages/run/pay/pay.wxss new file mode 100644 index 0000000..93829ca --- /dev/null +++ b/src/WeLink/pages/run/pay/pay.wxss @@ -0,0 +1,34 @@ +.container { + display: flex; + flex-direction: column; + align-items: center; +} + +.payment-code { + width: 600rpx; + height: 600rpx; + margin-top: 20rpx; +} + +.upload-button { + margin-top: 40rpx; + line-height: 50rpx; + color: #fff; + font-size: 30rpx; + padding: 10rpx; + text-align: center; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.butt { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-top: 40rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} \ No newline at end of file diff --git a/src/WeLink/pages/run/rewarddetails/rewarddetails.js b/src/WeLink/pages/run/rewarddetails/rewarddetails.js new file mode 100644 index 0000000..8e0f492 --- /dev/null +++ b/src/WeLink/pages/run/rewarddetails/rewarddetails.js @@ -0,0 +1,483 @@ +Page({ + data: { + runs:'', + creater:'', + isCreator:0, + cancel:'', + created_at:'', + phone_number:'', + webname:'', + imageURL:'', + headurl:"" + }, + // options对象获取传递给当前页面的参数,解析其中的runs参数,并将解析后的数据存储到页面的data对象中的goods属性 + // 这时候runs只是options的一个属性,被包含在options里面,因此不能纯用options,并且这里的还是json格式的字符串,还需要进行转化 + + //预览图片 + previewImage: function() { + wx.previewImage({ + current: this.data.imageURL, + urls: [this.data.imageURL] + }); + }, + + onLoad: function(options) { + function formatDate(timestamp) { + var date = new Date(timestamp); + var year = date.getFullYear(); + var month = date.getMonth() + 1; + var day = date.getDate(); + var hours = date.getHours(); + var minutes = date.getMinutes(); + var seconds = date.getSeconds(); + return [ + year, + month.toString().padStart(2, '0'), + day.toString().padStart(2, '0') + ].join('-') + ' ' + [ + hours.toString().padStart(2, '0'), + minutes.toString().padStart(2, '0'), + seconds.toString().padStart(2, '0') + ].join(':'); + } + + var that = this + var runs = JSON.parse(options.runs) + runs.created_at = formatDate(runs.created_at*1000);  + that.setData({ + runs: runs, + created_at:runs.created_at, + imageURL: runs.imageURL + }) + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + var createrid=runs.createrid; + if(this.data.userID==createrid){ + this.setData({ + isCreator: 1, + }); + } + else{ + this.setData({ + isCreator: 0, + }); + } + let table_user = "users"; +       let User = new wx.BaaS.TableObject(table_user); +       let userQuery = new wx.BaaS.Query();  +       userQuery.compare('userID', '=', createrid); // 'id' 是用户表中用户ID的字段名 + //获取悬赏人姓名和手机号 + User.setQuery(userQuery).find().then(res => { + if (res.data.objects.length > 0) { + let user = res.data.objects[0]; + that.setData({ + headurl:user.headurl, + webname: user.webname, + phone_number: user.phone_number, + }); + } else { + console.log('未找到对应的用户信息'); + } + }).catch(err => { + console.log('查询失败', err); + }); + + if(runs.cancel==='1'){ + runs.state=0;//此时表示我放弃该任务 + } + else if(runs.cancel==='0'&&runs.status==='0'){ + runs.state=1;//表示等人接单 + } + else if(runs.cancel==='0'&&runs.status==='1'&&runs.accomplish==='0'){ + runs.state=2;//此时表示等跑手完成任务 + } + else if(runs.accomplish==='1'&&runs.pay==='0'){ + runs.state=3;//此时表示跑手已完成该单,正在等支付 + } + else if(runs.pay==='1'){ + runs.state=4;//此时表示该单已完结 + } + this.setData({ + runs:runs, + }); + }, + + // 赏主点击取消后执行的操作 + Cancel: function() { + // 弹出确认对话框 + wx.showModal({ + title: '确认取消', + content: '您确定要取消任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performCancel(); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + }, +performCancel: function() { + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', this.data.runs.id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + let run = Run.getWithoutData(record.id) + // 设置字段值 + run.set({ + cancel:'1', + status:'0' + }); + run.update().then(res => { + wx.showToast({ + title: '取消成功', + icon: 'success', + duration: 1000, + }); + // 更新成功后的操作 + }).catch(err => { + wx.showToast({ + title: '取消失败', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + setTimeout(() => { + wx.switchTab({ + url: '/pages/run/run/run', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 1000); // 延迟1秒钟后执行页面跳转 + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }, + + //跑手点击接受任务后执行的操作 + getReward:function(){ + // 弹出确认对话框 + wx.showModal({ + title: '确认接受', + content: '您确定要接受任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performGet(); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + }, + // 点击接受悬赏执行的操作 + performGet: function() { + var that=this; + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', this.data.runs.id); + + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,修改runnerid和status值 + if (record) { + let run = Run.getWithoutData(record.id); + // 设置字段值 + run.set({ + runnerid: this.data.userID, // 修改runnerid为当前用户ID + status: '1', // 修改status为1,表示接受任务 + }); + run.update().then(res => { + // 更新成功后的操作 + wx.showToast({ + title: '接受任务成功!', + icon: 'success', + duration: 1000, + }); + // 在runner_run表中创建一条新记录 + let table_runner_run = "runner_run"; + let RunnerRun = new wx.BaaS.TableObject(table_runner_run); + let newRunnerRun = RunnerRun.create(); + // 设置字段值 + newRunnerRun.set({ + runid: record.id, // 设置runid为run表中的id + runnerid: this.data.userID, // 设置runnerid为当前用户ID + }); + newRunnerRun.save().then(res => { + console.log(res); + // 保存成功后的操作 + }).catch(err => { + console.log(err); + // 保存失败后的操作 + }); + }).catch(err => { + // 更新失败后的操作 + wx.showToast({ + title: '接受任务失败!', + icon: 'success', + duration: 1000, + }); + }); + setTimeout(() => { + wx.switchTab({ + url: '/pages/run/run/run', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 1000); // 延迟1秒钟后执行页面跳转 + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }, + +// 点击确认完成后的执行操作 +accomplishi: function() { + // 弹出确认对话框 + wx.showModal({ + title: '确认完成', + content: '您确定已经完成了任务了吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performaccomplishi(); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + }, +   performaccomplishi: function() { + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=',this.data.runs.id);   + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将accomplish值设置为1 + if (record) { +  let run = Run.getWithoutData(record.id); +   // 设置字段值 +    run.set({ +       accomplish: '1', +     }); +     run.update().then(res => { +     wx.showToast({ +             title: '完成任务成功!', +             icon: 'success', +             duration: 1000, +           }); +           // 更新成功后的操作 +         }).catch(err => { +           wx.showToast({ +             title: '完成任务失败!', +             icon: 'success', +             duration: 1000, +           }); +           // 更新失败后的操作 +         }); +    setTimeout(() => { + wx.redirectTo({ + url:  '/pages/me/myrun/myrun', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 1000); // 延迟1秒钟后执行页面跳转 +       } else { +         console.log('未找到对应的记录'); +       } +     }).catch(err => { +       console.log('查询失败', err); +     }); +   },   + +// 跑手点击取消按钮后的执行操作 +Cancel_1: function() { + // 弹出确认对话框 + wx.showModal({ + title: '确认取消', + content: '您确定要取消任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performCancel_1(); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); +}, +performCancel_1: function() { + console.log(); + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', this.data.runs.id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将status值设置为0,runnerid设置为null + if (record) { + let run = Run.getWithoutData(record.id); + // 设置字段值 + run.set({ + status: '0', + runnerid: null, + }); + run.update().then(res => { + wx.showToast({ + title: '取消成功', + icon: 'success', + duration: 1000, + }); + // 更新成功后的操作 + // 调用onShow方法手动刷新页面 + this.onShow(); + // 查询runner_run数据表,根据runid匹配数据 + let table_runner = "runner_run"; + let RunnerRun = new wx.BaaS.TableObject(table_runner); + let runnerQuery = new wx.BaaS.Query(); + runnerQuery.compare('runid', '=', record.id); + RunnerRun.setQuery(runnerQuery).find().then(res => { + let runnerRecords = res.data.objects; // 获取查询结果 + console.log(runnerRecords); + // 对获取到的记录进行更新操作,将status值设置为0 + if (runnerRecords) { + for (let i = 0; i < runnerRecords.length; i++) { + let runnerRun = RunnerRun.getWithoutData(runnerRecords[i].id); + // 设置字段值 + runnerRun.set({ + cancel: '1', + }); + runnerRun.update().then(res => { + setTimeout(() => { + wx.redirectTo({ + url: '/pages/me/myrun/myrun', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 1000); // 延迟1秒钟后执行页面跳转 + console.log('取消成功'); + }).catch(err => { + console.log('取消失败', err); + }); + } + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }).catch(err => { + wx.showToast({ + title: '取消失败', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + });}, + + pay1:function(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var run = JSON.stringify(this.data.runs); + wx.navigateTo({ + url: '/pages/run/pay/pay?run=' + run + }) + }, + +// 赏主点击支付后的执行操作 + pay: function() { + // 弹出确认对话框 + wx.showModal({ + title: '确认付款', + content: '您确定要付款吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performPay(); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + }, + performPay: function() { + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', this.data.runs.id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将pay值设置为1 + if (record) { + let run = Run.getWithoutData(record.id); + // 设置字段值 + run.set({ + pay: '1', + }); + run.update().then(res => { + wx.showToast({ + title: '支付成功', + icon: 'success', + duration: 1000, + }); + setTimeout(() => { + wx.redirectTo({ + url:  '/pages/me/myreward/myreward', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 1000); // 延迟1秒钟后执行页面跳转 + // 更新成功后的操作 + // 调用onShow方法手动刷新页面 + this.onShow(); + }).catch(err => { + wx.showToast({ + title: '支付失败', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }, + // 查看跑手详情 + checkrun:function(e){ + var runnerid = JSON.stringify(e.currentTarget.dataset.runnerid); + wx.navigateTo({ + url: '/pages/run/checkrunners/checkrunners?runnerid=' + runnerid, + }); + }, +}) \ No newline at end of file diff --git a/src/WeLink/pages/run/rewarddetails/rewarddetails.json b/src/WeLink/pages/run/rewarddetails/rewarddetails.json new file mode 100644 index 0000000..999f48c --- /dev/null +++ b/src/WeLink/pages/run/rewarddetails/rewarddetails.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "悬赏详情" +} \ No newline at end of file diff --git a/src/WeLink/pages/run/rewarddetails/rewarddetails.wxml b/src/WeLink/pages/run/rewarddetails/rewarddetails.wxml new file mode 100644 index 0000000..49cf331 --- /dev/null +++ b/src/WeLink/pages/run/rewarddetails/rewarddetails.wxml @@ -0,0 +1,100 @@ + + + + + + + + + + + + 创建时间: + + {{created_at}} + + + + + 赏主: + + {{webname}} + + + + + 手机号: + + {{phone_number}} + + + + + 悬赏任务名称: + + {{runs.name}} + + + + + 悬赏任务类别: + + {{runs.kind}} + + + + + 悬赏任务描述: + + {{runs.content}} + + + + 悬赏任务图片: + + + + + + 悬赏任务状态: + + {{ runs.status == 0 ? '未接单' : '已接单' }} + + + + + + 地址: + + {{runs.address}} + + + + + + + 酬金: + + {{runs.reward_amount}}元 + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/WeLink/pages/run/rewarddetails/rewarddetails.wxss b/src/WeLink/pages/run/rewarddetails/rewarddetails.wxss new file mode 100644 index 0000000..300064c --- /dev/null +++ b/src/WeLink/pages/run/rewarddetails/rewarddetails.wxss @@ -0,0 +1,138 @@ +/* pages/run/rewarddetails/rewarddetails.wxss */ +.message{ + font-size: 28rpx + +} + +.bz{ + padding: 30rpx; + box-shadow: 0 0 10rpx 6rpx rgba(0, 0, 0, 0.07); + border-radius: 10rpx; + margin-top: 80rpx +} + +.container1 { + overflow: hidden; +} +.container2 { + overflow: hidden; +} +.container3 { + overflow: hidden; +} +.left { + float: left; +} + +.right { + float: left; +} +.zhuanhang { + white-space: pre-wrap; + word-break: break-all; +} + + +.avatar{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; + top: -100rpx; + border: 6rpx solid #FFCC66; + background-color: #FFCC66 +} +.caozuo { + display: flex; +} + +.butt { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-top: 80rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.butt1 { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#5497ac,#4575a1); + margin-top: 80rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + + +.butt2 { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#e47c53,#a0470c); + margin-top: 80rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.butt3 { + line-height: 50rpx; + text-align: center; + color: #fff; + font-size: 30rpx; + border-radius: 50rpx; + background: linear-gradient(to right top,#eb8a8a,#ca0700c7); + margin-top: 80rpx; + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + +.tags{ + padding:0 30rpx; + line-height: 60rpx; + background: #f1faff; + font-size: 30rpx; + text-align: center; + margin-top: 20rpx; + margin-right: 20rpx; + color: #0099ff; + border-radius: 10rpx +} + +.action2 { + display: flex; + justify-content: flex-end; + align-items: center; + margin-left: auto; + margin-right:20px; +} + +.button-container { + display: flex; + justify-content: center; /* 水平居中 */ + align-items: center; /* 垂直居中 */ + margin-top: 0px; /* 调整上边距,根据需要进行调整 */ +} + +.image-preview { + width: 100px; + height: 100px; + margin-top: 10px; +} + +.avatar1{ + width: 160rpx; + height: 160rpx; + border-radius: 130rpx; + overflow: hidden; + margin: auto; + margin-right: 20rpx; + position: relative; +} \ No newline at end of file diff --git a/src/WeLink/pages/run/run/run.js b/src/WeLink/pages/run/run/run.js new file mode 100644 index 0000000..c2e9c50 --- /dev/null +++ b/src/WeLink/pages/run/run/run.js @@ -0,0 +1,333 @@ +// pages/run/run/run.js +const app = getApp() +Page({ + data: { + inputVal: "", + //筛选悬赏 + selectedOptionIndex: 0, + TabCur: 0, + MainCur: 0, + VerticalNavTop: 0, + list: [], + load: true, + }, + onLoad: function() { + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + }, + + onShow(){ + this.get(); + }, + get(){ + wx.showLoading({ + title: '加载中...', + }); + //云函数'get_classify'得到左侧栏分类,云函数直接在知晓云上调用 + wx.BaaS.invoke('getClassify').then(res => { + console.log(res.data) + let list = res.data.data.objects + for (let i = 0; i < list.length; i++) { + list[i].id = i + } + for (let i = 0; i < list.length; i++) { + //获取分类下的具体商品 + wx.BaaS.invoke('getRuns', { + //使用了每个分类的名字作为参数,传递给云函数 + kind: list[i].name + }).then(res => { + console.log(res) + //将获取到的具体任务数据存储到当前分类项的run属性中 + list[i].runs = res.data.data.objects + this.setData({ + list: list, + listCur: list[0] + }) + }) + wx.hideLoading() + } + + }) + }, + + tabSelect(e) { + this.setData({ + //将页面中名为 TabCur 的数据源更新为当前点击的分类选项的 id 值 + TabCur: e.currentTarget.dataset.id, + //将页面中名为 MainCur 的数据源更新为当前点击的分类选项的 id 值 + MainCur: e.currentTarget.dataset.id, + //根据当前点击的分类选项的 id 值计算出要滚动到的位置,然后将页面中名为 VerticalNavTop 的数据源更新为计算结果。这个计算结果通常用于控制左侧导航栏滚动到相应的位置,以确保当前选中的分类选项可见 + VerticalNavTop: (e.currentTarget.dataset.id - 1) * 50 + }) + }, + VerticalMain(e) { + let that = this; + let list = this.data.list; + let tabHeight = 0; + if (this.data.load) { + for (let i = 0; i < list.length; i++) { + // 创建一个选择器查询对象,并使用select方法选择指定id的元素,其中"#main-" + list[i].id是一个CSS选择器 + // exec()方法将会执行之前通过选择器查询对象调用的各种查询方法(例如select()、selectAll()等),并收集查询结果,它会触发选择器查询的执行,然后将查询结果返回给回调函数进行处理 + let view = wx.createSelectorQuery().select("#main-" + list[i].id); + view.fields({ + size: true + }, data => { + list[i].top = tabHeight; + tabHeight = tabHeight + data.height; + list[i].bottom = tabHeight; + }).exec(); + } + //表示数据加载完成,并且把更新后的list数组存放到list属性中,但是这个放在了for循环外部,为了一次性全部更新,我感觉之所以不同是因为一个是向服务器,一个可能是利用微信工具,向本地操作 + that.setData({ + load: false, + list: list + }) + } + let scrollTop = e.detail.scrollTop+20; + for (let i = 0; i < list.length; i++) { + if (scrollTop > list[i].top && scrollTop < list[i].bottom) { + that.setData({ + // 滑动右侧,左侧导航栏也会相应的改变其值 + VerticalNavTop: (list[i].id - 1) * 50, + TabCur: list[i].id + }) + return false + } + } + }, + + // 输入框事件 + inputEvent(e) { + this.setData({ + inputVal: e.detail.value + }); + }, + // 清除输入框内容 + clearInput() { + this.setData({ + inputVal: "" + }); + }, + // 筛选 picker改变事件 + pickerChange(e) { + this.setData({ + selectedOptionIndex: e.detail.value + }); + }, + + switchTab: function(e) { + this.setData({ + activeIndex: e.currentTarget.dataset.index + }); + }, + + // 创建悬赏按钮进行跳转 + navTo(){ + wx.navigateTo({ + url: '/pages/run/createreward/createreward' + }) + }, + +// 点击取消按钮后的执行操作 +Cancel: function(e) { + console.log(9); + // 弹出确认对话框 + wx.showModal({ + title: '确认取消', + content: '您确定要取消任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performCancel(e); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); +}, +performCancel: function(e) { + console.log(9) + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', e.currentTarget.dataset.id); + + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + let run = Run.getWithoutData(record.id) + // 设置字段值 + run.set({ + cancel:'1', + status:'0' + }); + run.update().then(res => { + wx.showToast({ + title: '取消成功', + icon: 'success', + duration: 1000, + }); + // 更新成功后的操作 + // 调用onShow方法手动刷新页面 + this.onShow(); + + }).catch(err => { + wx.showToast({ + title: '取消失败', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }, + + // 点击详情后的执行操作 + nav_to_detail: function(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var runs = JSON.stringify(e.currentTarget.dataset.runs); + wx.navigateTo({ + url: '/pages/run/rewarddetails/rewarddetails?runs=' + runs + }) + }, + + getReward:function(e){ + // 弹出确认对话框 + wx.showModal({ + title: '确认接受', + content: '您确定要接受任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performGetsel(e); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + }, + + performGetsel: function(e){ + //先检查数据库里有没有自己的收款码 + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query1 = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query1.compare('userID', '=', userId); + usersTable.setQuery(query1).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + if(record.receivingurl==null){ + // 弹出确认对话框 + wx.showModal({ + title: '未设置收款码', + content: '请您设置自己的收款码', + success: (res) => { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/me/myreceiving/myreceiving', + }); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + } else{ + this.performGet(e); + } + }); + }, + + + // 点击接受悬赏执行的操作 + performGet: function(e) { + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', e.currentTarget.dataset.id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,修改runnerid和status值 + if (record) { + let run = Run.getWithoutData(record.id); + // 设置字段值 + run.set({ + runnerid: this.data.userID, // 修改runnerid为当前用户ID + status: '1', // 修改status为1,表示接受任务 + }); + run.update().then(res => { + // 更新成功后的操作 + wx.showToast({ + title: '接受任务成功!', + icon: 'success', + duration: 1000, + }); + // 在runner_run表中创建一条新记录 + let table_runner_run = "runner_run"; + let RunnerRun = new wx.BaaS.TableObject(table_runner_run); + let newRunnerRun = RunnerRun.create(); + // 设置字段值 + newRunnerRun.set({ + runid: record.id, // 设置runid为run表中的id + runnerid: this.data.userID, // 设置runnerid为当前用户ID + }); + newRunnerRun.save().then(res => { + console.log(res); + // 保存成功后的操作 + // 调用onShow方法手动刷新页面 + this.onShow(); + }).catch(err => { + console.log(err); + // 保存失败后的操作 + }); + }).catch(err => { + // 更新失败后的操作 + wx.showToast({ + title: '接受任务失败!', + icon: 'success', + duration: 1000, + }); + }); + setTimeout(() => { + wx.switchTab({ + url: '/pages/run/run/run', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 1000); // 延迟1秒钟后执行页面跳转 + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + + }, + // 开启下拉刷新 + onPullDownRefresh: function () { + // 设置一个定时器,延迟一定时间后关闭下拉刷新 + setTimeout(function () { + wx.stopPullDownRefresh(); + }, 1000); + this.onShow(); + + }, + +}); \ No newline at end of file diff --git a/src/WeLink/pages/run/run/run.json b/src/WeLink/pages/run/run/run.json new file mode 100644 index 0000000..48ec536 --- /dev/null +++ b/src/WeLink/pages/run/run/run.json @@ -0,0 +1,6 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "校园跑腿", + "enablePullDownRefresh": true, + "backgroundColor": "#2b4b6b" +} \ No newline at end of file diff --git a/src/WeLink/pages/run/run/run.wxml b/src/WeLink/pages/run/run/run.wxml new file mode 100644 index 0000000..da7943d --- /dev/null +++ b/src/WeLink/pages/run/run/run.wxml @@ -0,0 +1,64 @@ + + + + + + 悬赏 + + + + + + + + + {{item.name}} + + + + + + + + + + + {{item.detail}} + + + + + + + + + + + + {{item.name}} + + + 详情:{{item.content}} + + + 校区:{{item.address}} + + + 悬赏:{{item.reward_amount}}元 + + + + 查看详情 + 取消 + 帮助TA + + + + + + + + + ++ + diff --git a/src/WeLink/pages/run/run/run.wxss b/src/WeLink/pages/run/run/run.wxss new file mode 100644 index 0000000..9d713c8 --- /dev/null +++ b/src/WeLink/pages/run/run/run.wxss @@ -0,0 +1,230 @@ +/* pages/run/run/run.wxss */ +/* 搜索样式 */ +.search-container { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 10rpx; + margin-left: 10rpx; + margin-bottom: 20rpx; +} + +.search-box { + height: 80rpx; + justify-content: space-between; + flex: 1; + display: flex; + align-items: center; + border-radius: 20rpx; + background-color: #f5f5f5; + padding: 10rpx; + margin-right: 10rpx; +} + +.search-input { + height: 100%; + flex: 1; + display: flex; + align-items: center; + justify-content: center; + color: #6887e1; +} + +.close-icon { + color: rgb(69, 7, 184); + width: 30rpx; + height: 50%; + margin-left: 10rpx; +} + +.icon-image { + width: 40rpx; + height: 40rpx; +} + +/* 创建悬赏按钮 */ +.createbutton { + width: 120rpx; + height: 120rpx; + border-radius: 150rpx; + box-shadow: 0 0 10rpx 0 rgba(0, 153, 255, 0.363); + background:linear-gradient(to right top,#6183dd,#4c42d3); + position: fixed; + bottom: 30rpx; + right: 30rpx; + line-height: 115rpx; + text-align: center; + font-size: 80rpx; /* 调整文本大小为 48rpx */ + color: #fff +} + +.VerticalNav.nav { + width: 200rpx; + white-space: initial; + display: flex; + align-items: flex-start; + +} + +.VerticalNav.nav .cu-item { + width: 100%; + text-align: center; + background-color: #ffffff; + margin: 0; + border: none; + height: 50px; + position: relative; +} + +.VerticalNav.nav .cu-item.cur { + background-color: #fff; +} + +.VerticalNav.nav .cu-item.cur::after { + content: ""; + width: 8rpx; + height: 40rpx; + border-radius: 0 10rpx 10rpx 0; + position: absolute; + background-color: currentColor; + top: 0rpx; + left: 0rpx; + bottom: 5rpx; + margin: auto; +} + +.VerticalBox { + display: flex; +} + +.VerticalMain { + background-color: #ffffff; + display: flex; + align-items: flex-start; +} + + + + /* 父选择器中的子选择器,list是指整个商品条目块,然后这里调整它和顶部标题以及底部标题的距离。cu-bar指的是标题栏,cu-item指的是每个条目*/ + .VerticalMain .cu-list { + margin-bottom: 10rpx; +} +.VerticalMain .cu-list { + margin-top: -10rpx; +} + +/* 关于几个按钮 */ +.bzBtn{ + font-size: 25rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 56rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) +} +.bzBtn2{ + font-size: 25rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 56rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) +} +.bzBtn3{ + font-size: 24rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 56rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) +} +.bzBtn4{ + font-size: 24rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 56rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) +} +/* 查看详情按钮 */ +.bzBtn5{ + font-size: 24rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 56rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) +} + +.new{ + padding: 10rpx; + background-color: #ffffff; + box-shadow: 0 0 10rpx 2rpx #cdd9df; + margin-bottom: 30rpx; + border-radius: 30rpx; + margin-top: 30rpx; +} + +.text-cut { + margin-left: 20rpx; +} +.cu-item { + margin-top: 10rpx; +} +/* 提示设置收款码 */ +.modal { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + display: flex; + justify-content: center; + align-items: center; +} + +.modal-content { + background: #fff; + padding: 20rpx; + border-radius: 10rpx; + box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1); + text-align: center; +} + +.title { + font-size: 18rpx; + font-weight: bold; + color: #333; + margin-bottom: 20rpx; +} + +.btn-group { + display: flex; + justify-content: space-around; +} + +.confirm-btn, .cancel-btn { + padding: 10rpx 20rpx; + border-radius: 5rpx; + color: #fff; + cursor: pointer; +} + +.confirm-btn { + background-color: #4CAF50; +} + +.cancel-btn { + background-color: #f44336; +} \ No newline at end of file diff --git a/src/WeLink/pages/run/runnerremark/runnerremark.js b/src/WeLink/pages/run/runnerremark/runnerremark.js new file mode 100644 index 0000000..316a2cf --- /dev/null +++ b/src/WeLink/pages/run/runnerremark/runnerremark.js @@ -0,0 +1,148 @@ +Page({ + data: { + selectedRunnerName: '', + maxStars: 5, + rating: 6, // 初始评价为3星6分 + stars: [], // ['empty','filled'] + runner_id: '', + remarker_id: '', + runid:'', + comment: '' // 用户输入的评价内容 + }, + + onLoad: function(options) { + var runs = JSON.parse(options.runs) + //从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + this.setData({ + remarker_id: userData.userID, + runs: runs, + runid:runs.id, + runner_id:runs.runnerid + }); + } + this.updateStars(this.data.rating); + // 获取rating-container的位置 + wx.createSelectorQuery().select('.rating-container').boundingClientRect((rect) => { + this.setData({ + containerLeft: rect.left, + starWidth: rect.width / this.data.maxStars + }); + }).exec(); + + //获取跑者名字 + let table_user = "users"; + let Run = new wx.BaaS.TableObject(table_user); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('userID', '=', this.data.runner_id); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record) + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + this.setData({ + selectedRunnerName: record.webname + }); + } + }); + }, + + handleSlideRating: function(e) { + const starWidth = this.data.starWidth || 50; + const halfStarWidth = starWidth / 2; + const touchX = e.touches[0].clientX; + const containerLeft = this.data.containerLeft || 0; + const relativeTouchPosition = touchX - containerLeft; + let halfStarsFilled = Math.floor(relativeTouchPosition / halfStarWidth); + halfStarsFilled = Math.min(halfStarsFilled, 2 * this.data.maxStars); + this.setData({ + rating: halfStarsFilled + }); + this.updateStars(halfStarsFilled); + }, + + updateStars: function(halfStarsFilled) { + const stars = []; + for (let i = 1; i <= 2 * this.data.maxStars; i += 2) { + if (i + 1 <= halfStarsFilled) { + stars.push('filled'); + } else if (i <= halfStarsFilled) { + stars.push('half'); + } else { + stars.push('empty'); + } + } + this.setData({ stars }); + }, + + // 处理输入的评价内容的方法 + handleInput: function(e) { + this.setData({ + comment: e.detail.value + }); + }, + + // 处理提交评价的方法 + handleSubmit: function() { + if (!this.data.comment.trim()) { + wx.showToast({ + title: '评价内容不能为空', + icon: 'none' + }); + return; + } + let Remark = new wx.BaaS.TableObject('runner_remark'); + let remark = Remark.create(); + remark.set({ + runid:this.data.runid, + runner_id: this.data.runner_id, + remarker_id: this.data.remarker_id, + content: this.data.comment, + score: String(this.data.rating) + }).save().then(res => { + wx.showToast({ + title: '提交成功', + icon: 'success', // 使用成功图标 + duration: 1000 // 提示的延迟时间 + }); + + //改run表 + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', this.data.runid); + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + let run = Run.getWithoutData(record.id) + // 设置字段值 + run.set({ + remark:'1', + }); + run.update().then(res => { + }) + } + }); + + setTimeout(() => { + wx.navigateTo({ + url: '/pages/me/myreward/myreward',//跳转回我的悬赏页面 + }); + }, 2100); //稍长于Toast的显示时间,确保Toast完全显示后再导航 + }, err => { + console.error(err); // 打印错误详情 + wx.showToast({ + title: '提交失败,请稍后重试', + icon: 'none' + }); + }); + } +}); + + + + \ No newline at end of file diff --git a/src/WeLink/pages/run/runnerremark/runnerremark.json b/src/WeLink/pages/run/runnerremark/runnerremark.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/WeLink/pages/run/runnerremark/runnerremark.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/WeLink/pages/run/runnerremark/runnerremark.wxml b/src/WeLink/pages/run/runnerremark/runnerremark.wxml new file mode 100644 index 0000000..f37cd87 --- /dev/null +++ b/src/WeLink/pages/run/runnerremark/runnerremark.wxml @@ -0,0 +1,15 @@ + + + 您对跑手满意吗? + + 跑手: {{selectedRunnerName}} + + + + + + + + + 提交评价 + diff --git a/src/WeLink/pages/run/runnerremark/runnerremark.wxss b/src/WeLink/pages/run/runnerremark/runnerremark.wxss new file mode 100644 index 0000000..4cef3ea --- /dev/null +++ b/src/WeLink/pages/run/runnerremark/runnerremark.wxss @@ -0,0 +1,69 @@ +/* pages/test/test.wxss */ +.container { + padding: 20px; + background-color: #c0cdf0; /* 背景 */ + border-radius: 10px; + margin: 20px; + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* 阴影 */ +} + +.logo { + width: 50px; + height: 50px; + margin: 10rpx 0; +} + +.title { + font-size: 24px; + font-weight: bold; + margin-bottom: 10rpx; + color: #333; /* 深色字体 */ +} + +.product-name { + font-size: 18px; + color: #555; + margin-bottom: 10rpx; +} + +.rating-container { + display: flex; + align-items: center; + margin-bottom: 10rpx; +} + +.star-icon { + width: 30px; + height: 30px; + margin-right: 8px; +} + + +.comment-section { + margin: 20rpx; +} + +.comment-box { + border: 1px solid #ddd; + border-radius: 5px; + font-size: 16px; +} + + + +.submit-button { + margin-top: 30rpx; + line-height: 60rpx; + width: 300rpx; + color: #fff; + font-size: 30rpx; + padding: 10rpx; + text-align: center; + border-radius: 50rpx; + background: linear-gradient(to right top,#6183dd,#6e42d3); + margin-right: 6px; /* 可以设置元素之间的间距 */ +} + + + + diff --git a/src/WeLink/pages/run/search/search1/search1.js b/src/WeLink/pages/run/search/search1/search1.js new file mode 100644 index 0000000..6cc5df1 --- /dev/null +++ b/src/WeLink/pages/run/search/search1/search1.js @@ -0,0 +1,61 @@ +// pages/search1/search1.js +Page({ + data: { + inputValue: '', + isExpanded: false,//下拉菜单是否展开 + selectedMenuOption: '全部',//下拉菜单选择的值 + searchSuggestions: ["快递代取", "外卖代取", "南苑建议", "北苑建议","二手出售","打听求助","快递号"],//搜索建议 + filteredSuggestions: [],//筛选建议 + }, + + // 下拉菜单 + toggleMenu() { + this.setData({ + isExpanded: !this.data.isExpanded + }); + }, + selectOption(event) { + let selectedOption = event.currentTarget.dataset.option || event.currentTarget.childNodes[0].nodeValue; + console.log("您选择了:", selectedOption); + this.setData({ + isExpanded: false, + selectedMenuOption: selectedOption + }); + }, + + // 监听输入框输入 + bindInput: function(e) { + const val = e.detail.value; + const matched = this.data.searchSuggestions.filter(s => s.includes(val)); + this.setData({ + inputValue: val, + filteredSuggestions: matched + }); + }, + + //监听用户点击搜索建议 + selectSuggestion: function(e) { + const selectedSuggestion = e.currentTarget.dataset.suggestion; + this.setData({ + inputValue: selectedSuggestion, + filteredSuggestions: [] // 清空建议列表 + }); + }, + + // 清空输入框 + clearInput: function() { + this.setData({ + inputValue: '' + }); + }, + + // 搜索功能 + searchAction: function() { + // 在这里处理搜索逻辑 + console.log("搜索内容:", this.data.inputValue); + //跳转到搜索结果页面 + wx.navigateTo({ + url: '../searchResult/searchResult?keyword=' + this.data.inputValue + '&menuOption=' + this.data.selectedMenuOption + }); + } +}); \ No newline at end of file diff --git a/src/WeLink/pages/run/search/search1/search1.json b/src/WeLink/pages/run/search/search1/search1.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/src/WeLink/pages/run/search/search1/search1.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/src/WeLink/pages/run/search/search1/search1.wxml b/src/WeLink/pages/run/search/search1/search1.wxml new file mode 100644 index 0000000..1bbf9d5 --- /dev/null +++ b/src/WeLink/pages/run/search/search1/search1.wxml @@ -0,0 +1,32 @@ + + + + + + + + {{selectedMenuOption}} + + + + + 全部 + 南苑 + 北苑 + + + + + + + + + + 搜索 + + +{{item}} + + + + diff --git a/src/WeLink/pages/run/search/search1/search1.wxss b/src/WeLink/pages/run/search/search1/search1.wxss new file mode 100644 index 0000000..793e4df --- /dev/null +++ b/src/WeLink/pages/run/search/search1/search1.wxss @@ -0,0 +1,98 @@ +/* pages/search1/search1.wxss */ +.select-search-container { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 10rpx; + margin-left: 10rpx; +} + +.search-box { + border: 1px solid rgb(112, 59, 209); + border-bottom: 4rpx solid rgb(129, 75, 179); + flex: 1; + display: flex; + align-items: center; + border-radius: 20rpx; + background-color: #f5f5f5; + padding: 10rpx; + margin-right: 10rpx; +} + +.search-input { + flex: 1; + border: none; + outline: none; + background-color: transparent; + padding: 5rpx 10rpx; +} + +.close-icon { + color: rgb(69, 7, 184); + width: 30rpx; + height: 50%; + margin-left: 10rpx; +} + +.search-btn { + padding: 8rpx 20rpx; + border-radius: 15rpx; + color: #8b3ccc; + font-size: large; +} + +/* 下拉菜单样式 */ +.qb { + color: #4c42d3; +} +.dropdown-menu { + border:unset; + position: relative; +} + +.menu-header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px; +} + +.menu-options { + position: absolute; + top: 100%; + left: 0; + width: 100%; + background-color: #f7f7f7; + z-index: 1; +} + +.menu-options view { + padding: 10px; + border-top: 1px solid #e5e5e5; +} +/* 选中文字颜色 */ +.selected { + color: #4c42d3; +} + +.icondown { + width: 30rpx; + height: 30rpx; +} + +.clear1 { + width: 40rpx; + height: 40rpx; +} +/* 搜索建议 */ +.suggestions { + display: flex; + align-items: center; + height: 80rpx; + background-color: #fff; + box-shadow: 0 3px 2px rgba(202, 13, 219, 0.1); + margin-top: 5rpx; + padding-left: 10rpx; + border-radius: 10rpx; + color: black; +} \ No newline at end of file diff --git a/src/WeLink/pages/run/search/searchResult/searchResult.js b/src/WeLink/pages/run/search/searchResult/searchResult.js new file mode 100644 index 0000000..5306c62 --- /dev/null +++ b/src/WeLink/pages/run/search/searchResult/searchResult.js @@ -0,0 +1,267 @@ +// pages/searchResult/searchResult.js +Page({ + data: { + results: [] + }, + onLoad: function(options) { + console.log(options); //传递过来的关键词和菜单选项 + const keyword = options.keyword; + const menuOption = options.menuOption || '全部'; // 默认为 '全部' + this.setData({ + keyword: keyword, + menuOption: menuOption // 设置 menuOption 到 data 对象中 + }); + this.fetchDataFromBaaS(keyword); + // 从本地存储中获取用户信息 + const userData = wx.getStorageSync('user'); + if (userData) { + // 更新页面数据,显示用户信息 + this.setData({ + userID: userData.userID, + }); + } + }, + + fetchDataFromBaaS: function(keyword) { + let tableName = 'run'; // 在知晓云中的表名称 + let queryName = new wx.BaaS.Query(); + let queryContent = new wx.BaaS.Query(); + let queryAddress = new wx.BaaS.Query(); // 新增加的查询条件 + + queryName.contains('name', keyword); + queryContent.contains('content', keyword); + + // 判断传递过来的菜单选项 + if (this.data.menuOption === '南苑') { + queryAddress.compare('address', '=', '南苑'); + }else if (this.data.menuOption === '北苑') { + queryAddress.compare('address', '=', '北苑'); + } + + // 组合查询条件 + let combinedQuery = wx.BaaS.Query.or(queryName, queryContent); + if (this.data.menuOption === '南苑') { + combinedQuery = wx.BaaS.Query.and(combinedQuery, queryAddress); + }else if (this.data.menuOption === '北苑') { + combinedQuery = wx.BaaS.Query.and(combinedQuery, queryAddress); + } + + let records = new wx.BaaS.TableObject(tableName); + records.setQuery(combinedQuery).find().then(res => { + let results = res.data.objects; + var runs = []; + for (let i = 0; i < results.length; i++) { + if (results[i].cancel === "0" && results[i].status === "0") { + runs.push(results[i]); + } + } + this.setData({ + results: results, + runs: runs + }); + }).catch(err => { + // 处理错误情况 + }); + }, + + // 点击取消按钮后的执行操作 +Cancel: function(e) { + console.log(9); + // 弹出确认对话框 + wx.showModal({ + title: '确认取消', + content: '您确定要取消任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performCancel(e); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); +}, +performCancel: function(e) { + console.log(9) + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', e.currentTarget.dataset.id); + + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,将cancel值设置为1 + if (record) { + let run = Run.getWithoutData(record.id) + // 设置字段值 + run.set({ + cancel:'1', + status:'0' + }); + run.update().then(res => { + wx.showToast({ + title: '取消成功', + icon: 'success', + duration: 1000, + }); + // 更新成功后的操作 + // 调用onShow方法手动刷新页面 + this.onShow(); + + }).catch(err => { + wx.showToast({ + title: '取消失败', + icon: 'success', + duration: 1000, + }); + // 更新失败后的操作 + }); + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + });}, + + // 点击详情后的执行操作 + nav_to_detail: function(e) { + //将商品对象转换为JSON字符串,以便在URL参数中传递 + var runs = JSON.stringify(e.currentTarget.dataset.runs); + wx.navigateTo({ + url: '/pages/run/rewarddetails/rewarddetails?runs=' + runs + }) + }, + + getReward:function(e){ + // 弹出确认对话框 + wx.showModal({ + title: '确认接受', + content: '您确定要接受任务吗?', + success: (res) => { + if (res.confirm) { + // 用户点击确定按钮 + this.performGetsel(e); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + }, + + performGetsel: function(e){ + //先检查数据库里有没有自己的收款码 + const userId = this.data.userID; // 替换成你的用户ID获取方式 + let tableName = "users"; + let usersTable = new wx.BaaS.TableObject(tableName); + let query1 = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query1.compare('userID', '=', userId); + usersTable.setQuery(query1).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + if(record.receivingurl==null){ + // 弹出确认对话框 + wx.showModal({ + title: '未设置收款码', + content: '请您设置自己的收款码', + success: (res) => { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/me/myreceiving/myreceiving', + }); + } else if (res.cancel) { + // 用户点击取消按钮,不执行取消操作 + console.log('用户点击了取消按钮'); + } + } + }); + } else{ + this.performGet(e); + } + }); + }, + // 点击接受悬赏执行的操作 + performGet: function(e) { + let table_run = "run"; + let Run = new wx.BaaS.TableObject(table_run); + let query = new wx.BaaS.Query(); + // 在query对象中设置查询条件,即根据id字段进行查询 + query.compare('id', '=', e.currentTarget.dataset.id); + + Run.setQuery(query).find().then(res => { + let record = res.data.objects[0]; // 获取查询结果中的第一条记录 + console.log(record); + // 对获取到的记录进行更新操作,修改runnerid和status值 + if (record) { + let run = Run.getWithoutData(record.id); + + // 设置字段值 + run.set({ + runnerid: this.data.userID, // 修改runnerid为当前用户ID + status: '1', // 修改status为1,表示接受任务 + }); + + run.update().then(res => { + // 更新成功后的操作 + wx.showToast({ + title: '接受任务成功!', + icon: 'success', + duration: 1000, + }); + + // 在runner_run表中创建一条新记录 + let table_runner_run = "runner_run"; + let RunnerRun = new wx.BaaS.TableObject(table_runner_run); + let newRunnerRun = RunnerRun.create(); + + // 设置字段值 + newRunnerRun.set({ + runid: record.id, // 设置runid为run表中的id + runnerid: this.data.userID, // 设置runnerid为当前用户ID + }); + + newRunnerRun.save().then(res => { + console.log(res); + // 保存成功后的操作 + + // 调用onShow方法手动刷新页面 + this.onShow(); + }).catch(err => { + console.log(err); + // 保存失败后的操作 + }); + + }).catch(err => { + // 更新失败后的操作 + wx.showToast({ + title: '接受任务失败!', + icon: 'success', + duration: 1000, + }); + }); + + setTimeout(() => { + wx.switchTab({ + url: '/pages/run/run/run', // 标签栏页面的路径,登录成功后跳转的页面 + }); + }, 1000); // 延迟1秒钟后执行页面跳转 + } else { + console.log('未找到对应的记录'); + } + }).catch(err => { + console.log('查询失败', err); + }); + }, + onPullDownRefresh: function () { + // 设置一个定时器,延迟一定时间后关闭下拉刷新 + setTimeout(function () { + wx.stopPullDownRefresh(); + }, 1000); + this.onShow(); + +} +}); diff --git a/src/WeLink/pages/run/search/searchResult/searchResult.json b/src/WeLink/pages/run/search/searchResult/searchResult.json new file mode 100644 index 0000000..b9ed379 --- /dev/null +++ b/src/WeLink/pages/run/search/searchResult/searchResult.json @@ -0,0 +1,5 @@ +{ + "usingComponents": {}, + "enablePullDownRefresh": true, + "backgroundColor": "#2b4b6b" +} \ No newline at end of file diff --git a/src/WeLink/pages/run/search/searchResult/searchResult.wxml b/src/WeLink/pages/run/search/searchResult/searchResult.wxml new file mode 100644 index 0000000..b11c512 --- /dev/null +++ b/src/WeLink/pages/run/search/searchResult/searchResult.wxml @@ -0,0 +1,40 @@ + + + + + + 悬赏 + + + + + 未找到与“{{keyword}}”相关的结果 + + + + + + + + + + {{item.name}} + {{item.content}} + + + 需要帮助 + + + {{item.run.des}} + 校区: {{item.address}} + + + + + 悬赏¥{{item.reward_amount}} + 查看详情 + 取消 + 帮助TA + + + diff --git a/src/WeLink/pages/run/search/searchResult/searchResult.wxss b/src/WeLink/pages/run/search/searchResult/searchResult.wxss new file mode 100644 index 0000000..811f09d --- /dev/null +++ b/src/WeLink/pages/run/search/searchResult/searchResult.wxss @@ -0,0 +1,152 @@ +/* 搜索样式 */ +.search-container { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 10rpx; + margin-left: 10rpx; + margin-bottom: 20rpx; +} + +.search-box { + height: 80rpx; + justify-content: space-between; + flex: 1; + display: flex; + align-items: center; + border-radius: 20rpx; + background-color: #f5f5f5; + padding: 10rpx; + margin-right: 10rpx; +} + +.search-input { + height: 100%; + flex: 1; + display: flex; + align-items: center; + justify-content: center; + color: #4c42d3; +} + +.close-icon { + color: rgb(69, 7, 184); + width: 30rpx; + height: 50%; + margin-left: 10rpx; +} + +.icon-image { + width: 40rpx; + height: 40rpx; +} +/* 项目浏览样式 */ +.bbf-item{ + width: 33.33%; + text-align: center; + color: #6887e1 +} +.botn{ + border-bottom: 4rpx solid #6887e1; + width: 60%; + margin: auto +} +.titem{ + padding: 20rpx; + background-color: #ffffff; + border-radius: 10rpx; + box-shadow: 0 0 10rpx 5rpx #f1f1f1; + margin-bottom: 20rpx +} +.avatar{ + width: 60rpx; + height: 60rpx; + border-radius: 60rpx; + background: #e1e1e1 +} +.state{ + padding:0 15rpx; + height: 50rpx; + font-size: 24rpx; + display: inline-block; + text-align: center; + line-height: 50rpx; + border-radius: 5rpx +} +.ste1{ + background-color: rgba(0, 204, 153,0.08); + color: #00cc99 +} +.ste2{ + background-color: rgba(51, 153, 255, 0.08); + color: rgb(51, 153, 255) +} +.ste3{ + background-color: rgba(255, 153, 0,0.08); + color: rgb(255, 153, 0) +} +.ste4{ + display: inline-block; + justify-content: flex-start; + padding: 0 10px; + border-radius: 5px; + background-color: rgba(255, 102, 102, 0.08); + color: #ff6666; + width: calc(25% + 1ch); + +} +.ste5{ + background-color: rgba(136, 136, 136,0.08); + color: rgb(136, 136, 136) +} +.bzBtn{ + font-size: 26rpx; + background: linear-gradient(to right top,#51c3fe,#92abff); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx rgba(82, 197, 254, 0.267) +} +.bzBtn2{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff8965,#ff64a1); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(14, 100%, 70%, 0.267) +} +.bzBtn3{ + font-size: 26rpx; + background: linear-gradient(to right top,#cc5579,#991212); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(345, 61%, 74%, 0.267) +} +.bzBtn4{ + font-size: 26rpx; + background: linear-gradient(to right top,#ff9900,#ff6633); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(36, 100%, 50%, 0.267) +} +/* 查看详情按钮 */ +.bzBtn5{ + font-size: 26rpx; + background: linear-gradient(to right top,#c8ff00,#558f25); + color: #fff; + line-height: 60rpx; + width: 150rpx; + text-align: center; + border-radius: 20rpx 0 20rpx 0; + box-shadow: 5rpx 10rpx 10rpx 0rpx hsla(81, 78%, 74%, 0.267) +} \ No newline at end of file diff --git a/src/WeLink/project.config.json b/src/WeLink/project.config.json new file mode 100644 index 0000000..16401f8 --- /dev/null +++ b/src/WeLink/project.config.json @@ -0,0 +1,52 @@ +{ + "description": "项目配置文件", + "packOptions": { + "ignore": [], + "include": [] + }, + "setting": { + "bundle": false, + "userConfirmedBundleSwitch": false, + "urlCheck": true, + "scopeDataCheck": false, + "coverView": true, + "es6": true, + "postcss": true, + "compileHotReLoad": false, + "lazyloadPlaceholderEnable": false, + "preloadBackgroundData": false, + "minified": true, + "autoAudits": false, + "newFeature": false, + "uglifyFileName": false, + "uploadWithSourceMap": true, + "useIsolateContext": true, + "nodeModules": false, + "enhance": true, + "useMultiFrameRuntime": true, + "useApiHook": true, + "useApiHostProcess": true, + "showShadowRootInWxmlPanel": true, + "packNpmManually": false, + "enableEngineNative": false, + "packNpmRelationList": [], + "minifyWXSS": true, + "showES6CompileOption": false, + "minifyWXML": true, + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + }, + "condition": false + }, + "compileType": "miniprogram", + "libVersion": "2.19.4", + "appid": "wx229a686f13e0783c", + "projectname": "miniprogram-92", + "condition": {}, + "editorSetting": { + "tabIndent": "insertSpaces", + "tabSize": 2 + } +} \ No newline at end of file diff --git a/src/WeLink/project.private.config.json b/src/WeLink/project.private.config.json new file mode 100644 index 0000000..940e98b --- /dev/null +++ b/src/WeLink/project.private.config.json @@ -0,0 +1,120 @@ +{ + "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", + "projectname": "WeLink", + "setting": { + "compileHotReLoad": true, + "urlCheck": false, + "bigPackageSizeSupport": true + }, + "condition": { + "miniprogram": { + "list": [ + { + "name": "我的跑腿", + "pathName": "pages/me/myrun/myrun", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "", + "pathName": "pages/run/runnerremark/runnerremark", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "收款码", + "pathName": "pages/me/myreceiving/myreceiving", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "", + "pathName": "pages/index/index", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "", + "pathName": "pages/logs/logs", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "", + "pathName": "pages/home/notice/notice", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "登录页面", + "pathName": "pages/login/login", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "我的", + "pathName": "pages/me/me/me", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "我的信息", + "pathName": "pages/me/myinfo/myinfo", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "我的悬赏", + "pathName": "pages/me/myreward/myreward", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "悬赏任务详情", + "pathName": "pages/run/rewarddetails/rewarddetails", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "创建公告", + "pathName": "pages/me/admin/notice/addnotice/addnotice", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "", + "pathName": "pages/me/myreward/myreward", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "注册", + "pathName": "pages/register/register", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "点评详情", + "pathName": "pages/remark/remarkdetails/remarkdetails", + "query": "", + "launchMode": "default", + "scene": null + } + ] + } + } +} \ No newline at end of file diff --git a/src/WeLink/sdk-wechat.2.0.6-a.js b/src/WeLink/sdk-wechat.2.0.6-a.js new file mode 100644 index 0000000..0634096 --- /dev/null +++ b/src/WeLink/sdk-wechat.2.0.6-a.js @@ -0,0 +1,4162 @@ +! function(t, e) { + "object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.BaaS = e() : t.BaaS = e() +}(window, function() { + return function(t) { + var e = {}; + + function n(r) { + if (e[r]) return e[r].exports; + var o = e[r] = { + i: r, + l: !1, + exports: {} + }; + return t[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports + } + return n.m = t, n.c = e, n.d = function(t, e, r) { + n.o(t, e) || Object.defineProperty(t, e, { + enumerable: !0, + get: r + }) + }, n.r = function(t) { + "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { + value: "Module" + }), Object.defineProperty(t, "__esModule", { + value: !0 + }) + }, n.t = function(t, e) { + if (1 & e && (t = n(t)), 8 & e) return t; + if (4 & e && "object" == typeof t && t && t.__esModule) return t; + var r = Object.create(null); + if (n.r(r), Object.defineProperty(r, "default", { + enumerable: !0, + value: t + }), 2 & e && "string" != typeof t) + for (var o in t) n.d(r, o, function(e) { + return t[e] + }.bind(null, o)); + return r + }, n.n = function(t) { + var e = t && t.__esModule ? function() { + return t.default + } : function() { + return t + }; + return n.d(e, "a", e), e + }, n.o = function(t, e) { + return Object.prototype.hasOwnProperty.call(t, e) + }, n.p = "", n(n.s = 32) + }([function(t, e, n) { + (function(e) { + var r = e.BaaS || {}; + r._config = n(18), r._polyfill = n(19), r.use = function(t) { + return t(r) + }, t.exports = r + }).call(this, n(10)) + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + var o = n(5), + i = n(3), + a = n(0), + u = n(2), + s = n(21), + c = function(t) { + return s({ + level: t + }) + }, + f = c(i.LOG_LEVEL.ERROR); + Array.prototype.includes || Object.defineProperty(Array.prototype, "includes", { + value: function(t, e) { + if (null == this) throw new TypeError('"this" is null or not defined'); + var n = Object(this), + r = n.length >>> 0; + if (0 === r) return !1; + var o, i, a = 0 | e, + u = Math.max(a >= 0 ? a : r - Math.abs(a), 0); + for (; u < r;) { + if ((o = n[u]) === (i = t) || "number" == typeof o && "number" == typeof i && isNaN(o) && isNaN(i)) return !0; + u++ + } + return !1 + } + }); + var l = function(t, e) { + for (var n in e = e || {}) { + var r = new RegExp(":" + n, "g"); + t = t.replace(r, encodeURIComponent(e[n])) + } + return t.replace(/([^:])\/\//g, function(t, e) { + return e + "/" + }) + }, + h = function() { + var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, + e = a._config.REQUEST_PARAMS_MAP, + n = Object.assign({}, t); + return Object.keys(t).map(function(r) { + Object.keys(e).map(function(o) { + if (r.startsWith(o)) { + var i = r.replace(o, e[o]); + delete n[r], n[i] = t[r] + } + }) + }), n + }, + p = function(t) { + var e = ""; + return 404 === t.statusCode ? e = "not found" : t.data.error_msg ? e = t.data.error_msg : t.data.message && (e = t.data.message), e + }, + d = function(t) { + return "[object Array]" === Object.prototype.toString.call(t) + }, + y = function t(e) { + if (null == e) return Object.create(null); + var n = d(e) ? [] : Object.create(Object.getPrototypeOf(e)); + for (var o in e) e.hasOwnProperty(o) && (e[o] && "object" === r(e[o]) ? (n[o] = d(e[o]) ? [] : {}, n[o] = t(e[o])) : n[o] = e[o]); + return n + }; + var _ = function(t, e) { + return t.replace(/:(\w*)/g, function(t, n) { + void 0 !== e[n] && delete e[n] + }), e + }; + t.exports = { + mergeRequestHeader: function(t) { + var e = { + "X-Hydrogen-Client-ID": a._config.CLIENT_ID, + "X-Hydrogen-Client-Version": a._config.VERSION, + "X-Hydrogen-Client-Platform": a._polyfill.CLIENT_PLATFORM, + "X-Hydrogen-Client-SDK-Type": a._polyfill.SDK_TYPE + }, + n = a.getAuthToken(); + return n && (e.Authorization = a._config.AUTH_PREFIX + " " + n), Object.assign({}, t || {}, e) + }, + log: function(t, e) { + f[t] && f[t](e) + }, + setLogLevel: function(t) { + Object.keys(i.LOG_LEVEL).forEach(function(e) { + i.LOG_LEVEL[e] === t && (f = c(t)) + }) + }, + format: l, + getSysPlatform: function() { + var t = "UNKNOWN"; + try { + t = a._polyfill.getSystemInfoSync().platform + } catch (t) {} + return t + }, + getFileNameFromPath: function(t) { + var e = t.lastIndexOf("/"); + return t.slice(e + 1) + }, + parseRegExp: function(t) { + var e = [], + n = t.toString(), + r = n.lastIndexOf("/"); + return e.push(n.substring(1, r)), r !== n.length - 1 && e.push(n.substring(r + 1)), e + }, + replaceQueryParams: h, + extractErrorMsg: p, + isArray: d, + isString: function(t) { + return "[object String]" === Object.prototype.toString.call(t) + }, + isObject: function(t) { + var e = r(t); + return null != t && "object" == e + }, + isFunction: function(t) { + var e = r(t); + return null != t && "function" == e + }, + cloneDeep: y, + isSessionExpired: function() { + return Date.now() / 1e3 >= (o.get(i.STORAGE_KEY.EXPIRES_AT) || 0) + }, + excludeParams: _, + doCreateRequestMethod: function(t) { + for (var e in t) t.hasOwnProperty(e) && (a[e] = function(e) { + var n = t[e]; + return function(t) { + var e = y(t), + r = n.method || "GET"; + if (n.defaultParams) { + var o = y(n.defaultParams); + e = Object.assign(o, e) + } + var i = l(n.url, e), + u = {}; + return e.data ? u = e.data : (u = _(n.url, e), u = h(u)), a._baasRequest({ + url: i, + method: r, + data: u + }) + } + }(e)) + }, + validateStatusCode: function(t) { + var e = parseInt(t.status || t.statusCode); + if (e >= 200 && e < 300) return t; + throw new u(e, p(t)) + }, + rateLimit: function(t) { + var e = null; + return function() { + return e || (e = t.apply(this, arguments).then(function(t) { + return e = null, t + }, function(t) { + throw e = null, t + })), e + } + }, + fnUnsupportedHandler: function() { + throw new u(611) + }, + compareVersion: function(t, e) { + try { + if ("string" != typeof t || "string" != typeof e) return 0; + t = t.replace(/^[^0-9]/, ""), e = e.replace(/^[^0-9]/, ""); + for (var n = t.split("."), r = e.split("."), o = Math.max(n.length, r.length), i = 0; i < o; i++) { + var a = n[i] ? parseInt(n[i]) : 0, + u = r[i] ? parseInt(r[i]) : 0; + if (a > u) return 1; + if (a < u) return -1 + } + return 0 + } catch (t) { + return 0 + } + }, + makeReportTicketParam: function(t) { + if (!t) throw new u(605); + var e = { + submission_type: "form_id" + }; + return e.submission_value = t, e + }, + extend: function() { + return Object.assign.apply(Object, arguments) + } + } + }, function(t, e) { + function n(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + var r = function() { + function t(e, n) { + ! function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, t); + var r = new Error; + return r.code = e, r.message = n ? "".concat(e, ": ").concat(n) : "".concat(e, ": ").concat(this.mapErrorMessage(e)), r + } + var e, r, o; + return e = t, (r = [{ + key: "mapErrorMessage", + value: function(t) { + switch (t) { + case 600: + return "network disconnected"; + case 601: + return "request timeout"; + case 602: + return "uninitialized"; + case 603: + return "unauthorized"; + case 604: + return "session missing"; + case 605: + return "incorrect parameter type"; + case 607: + return "payment cancelled"; + case 608: + return "payment failed"; + case 609: + return "wxExtend function should be executed to allow plugin use wx.login, wx.getUserInfo, wx.requestPayment"; + case 610: + return "errorTracker uninitialized"; + case 611: + return "unsupported function"; + case 612: + return "anonymous user is not allowed"; + default: + return "unknown error" + } + } + }]) && n(e.prototype, r), o && n(e, o), t + }(); + t.exports = r + }, function(t, e) { + t.exports = { + STORAGE_KEY: { + AUTH_TOKEN: "auth_token", + USERINFO: "userinfo", + UID: "uid", + OPENID: "openid", + UNIONID: "unionid", + IS_LOGINED_BAAS: "is_logined_baas", + IS_ANONYMOUS_USER: "is_anonymous_user", + EXPIRES_AT: "session_expires_at", + ALIPAY_USER_ID: "alipay_user_id", + LATEST_VERSION_CHECK_MILLISECONDS: "latest_version_check_milliseconds" + }, + VERSION_MIN_CHECK_INTERVAL: "86400000", + STATUS_CODE: { + CREATED: 201, + SUCCESS: 200, + UPDATE: 200, + PATCH: 200, + DELETE: 204, + UNAUTHORIZED: 401, + NOT_FOUND: 404, + SERVER_ERROR: 500 + }, + UPLOAD: { + UPLOAD_FILE_KEY: "file", + HEADER_AUTH: "Authorization", + HEADER_CLIENT: "X-Hydrogen-Client-ID", + HEADER_AUTH_VALUE: "Hydrogen-r1 ", + UA: "Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" + }, + USER_PROFILE_BUILD_IN_FIELDS: ["id", "created_at", "created_by", "updated_at", "country", "nickname", "province", "city", "language", "openid", "unionid", "avatar", "is_authorized", "gender"], + httpMethodCodeMap: { + GET: 200, + POST: 201, + PUT: 200, + PATCH: 200, + DELETE: 204 + }, + LOG_LEVEL: { + DEBUG: "debug", + INFO: "info", + WARN: "warn", + ERROR: "error" + } + } + }, function(t, e, n) { + function r(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + var o = n(2), + i = n(6), + a = n(1), + u = function() { + function t() { + ! function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, t), this._initQueryParams() + } + var e, n, u; + return e = t, (n = [{ + key: "_initQueryParams", + value: function() { + this._queryObject = {}, this._limit = 20, this._offset = 0, this._orderBy = null, this._keys = null, this._expand = null + } + }, { + key: "setQuery", + value: function(t) { + if (!(t instanceof i)) throw new o(605); + return this._queryObject = a.cloneDeep(t.queryObject), this + } + }, { + key: "select", + value: function(t) { + return t instanceof Array ? this._keys = t.join(",") : this._keys = t, this + } + }, { + key: "expand", + value: function(t) { + return t instanceof Array ? this._expand = t.join(",") : this._expand = t, this + } + }, { + key: "limit", + value: function(t) { + if (!Number.isInteger(t)) throw new o(605); + return this._limit = t, this + } + }, { + key: "offset", + value: function(t) { + if (!Number.isInteger(t)) throw new o(605); + return this._offset = t, this + } + }, { + key: "orderBy", + value: function(t) { + return t instanceof Array ? this._orderBy = t.join(",") : this._orderBy = t, this + } + }, { + key: "_handleAllQueryConditions", + value: function() { + var t = {}; + return t.limit = this._limit, t.offset = this._offset, this._orderBy && (t.order_by = this._orderBy), this._keys && (t.keys = this._keys), this._expand && (t.expand = this._expand), t.where = JSON.stringify(this._queryObject), t + } + }]) && r(e.prototype, n), u && r(e, u), t + }(); + t.exports = u + }, function(t, e, n) { + var r = n(0); + t.exports = { + set: function(t, e) { + r._polyfill.setStorageSync("ifx_baas_" + t, e) + }, + get: function(t) { + return r._polyfill.getStorageSync("ifx_baas_" + t) + } + } + }, function(t, e, n) { + function r(t, e, n) { + return e in t ? Object.defineProperty(t, e, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0 + }) : t[e] = n, t + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + var i = n(8), + a = n(9), + u = n(2), + s = n(1), + c = n(7)._serializeValueFuncFactory(["BaseRecord"]), + f = function() { + function t() { + ! function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, t), this.queryObject = {} + } + var e, n, f; + return e = t, f = [{ + key: "and", + value: function() { + for (var e = new t, n = { + $and: [] + }, r = arguments.length, o = new Array(r), i = 0; i < r; i++) o[i] = arguments[i]; + return o.forEach(function(t) { + n.$and.push(t.queryObject) + }), e._setQueryObject(n), e + } + }, { + key: "or", + value: function() { + for (var e = new t, n = { + $or: [] + }, r = arguments.length, o = new Array(r), i = 0; i < r; i++) o[i] = arguments[i]; + return o.forEach(function(t) { + n.$or.push(t.queryObject) + }), e._setQueryObject(n), e + } + }], (n = [{ + key: "compare", + value: function(t, e, n) { + var o = "eq"; + switch (e) { + case "=": + o = "eq"; + break; + case "!=": + o = "ne"; + break; + case "<": + o = "lt"; + break; + case "<=": + o = "lte"; + break; + case ">": + o = "gt"; + break; + case ">=": + o = "gte"; + break; + default: + throw new u(605) + } + return this._addQueryObject(t, r({}, o, c(n))), this + } + }, { + key: "contains", + value: function(t, e) { + if (e && s.isString(e)) return this._addQueryObject(t, { + contains: e + }), this; + throw new u(605) + } + }, { + key: "matches", + value: function(t, e) { + if (e && e instanceof RegExp) { + var n = s.parseRegExp(e); + return n.length > 1 ? this._addQueryObject(t, { + regex: n[0], + options: n[1] + }) : this._addQueryObject(t, { + regex: n[0] + }), this + } + throw new u(605) + } + }, { + key: "in", + value: function(t, e) { + if (e && e instanceof Array) return this._addQueryObject(t, { in: e.map(function(t) { + return c(t) + }) + }), this; + throw new u(605) + } + }, { + key: "notIn", + value: function(t, e) { + if (e && e instanceof Array) return this._addQueryObject(t, { + nin: e.map(function(t) { + return c(t) + }) + }), this; + throw new u(605) + } + }, { + key: "arrayContains", + value: function(t, e) { + if (e && e instanceof Array) return this._addQueryObject(t, { + all: e + }), this; + throw new u(605) + } + }, { + key: "isNull", + value: function(t) { + var e = this; + return t && t instanceof Array ? t.forEach(function(t) { + e._addQueryObject(t, { + isnull: !0 + }) + }) : this._addQueryObject(t, { + isnull: !0 + }), this + } + }, { + key: "isNotNull", + value: function(t) { + var e = this; + return t && t instanceof Array ? t.forEach(function(t) { + e._addQueryObject(t, { + isnull: !1 + }) + }) : this._addQueryObject(t, { + isnull: !1 + }), this + } + }, { + key: "exists", + value: function(t) { + var e = this; + return t && t instanceof Array ? t.forEach(function(t) { + e._addQueryObject(t, { + exists: !0 + }) + }) : this._addQueryObject(t, { + exists: !0 + }), this + } + }, { + key: "notExists", + value: function(t) { + var e = this; + return t && t instanceof Array ? t.forEach(function(t) { + e._addQueryObject(t, { + exists: !1 + }) + }) : this._addQueryObject(t, { + exists: !1 + }), this + } + }, { + key: "include", + value: function(t, e) { + if (e && e instanceof i) return this._addQueryObject(t, { + intersects: e.toGeoJSON() + }), this; + throw new u(605) + } + }, { + key: "within", + value: function(t, e) { + if (e && e instanceof a) return this._addQueryObject(t, { + within: e.toGeoJSON() + }), this; + throw new u(605) + } + }, { + key: "withinCircle", + value: function(t, e, n) { + if (e && e instanceof i) { + var r = { + radius: n, + coordinates: [e.longitude, e.latitude] + }; + return this._addQueryObject(t, { + center: r + }), this + } + throw new u(605) + } + }, { + key: "withinRegion", + value: function(t, e, n) { + var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0; + if (e && e instanceof i) { + var o = { + geometry: e.toGeoJSON(), + min_distance: r + }; + return n && (o.max_distance = n), this._addQueryObject(t, { + nearsphere: o + }), this + } + throw new u(605) + } + }, { + key: "hasKey", + value: function(t, e) { + if ("string" != typeof t || "string" != typeof e) throw u(605); + return this._addQueryObject(t, { + has_key: e + }), this + } + }, { + key: "_setQueryObject", + value: function(t) { + this.queryObject = t + } + }, { + key: "_addQueryObject", + value: function(t, e) { + if (e.constructor !== Object) throw new u(605); + var n = r({}, t, {}); + Object.keys(e).forEach(function(r) { + n[t]["$".concat(r)] = e[r] + }), this.queryObject.$and || (this.queryObject.$and = []), this.queryObject.$and.push(n) + } + }]) && o(e.prototype, n), f && o(e, f), t + }(); + t.exports = f + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + var i = n(2); + + function a() { + var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ["BaseRecord"], + e = n(8), + r = n(9); + return function(n) { + return t.includes("Geo") && (n instanceof e || n instanceof r) ? n.toGeoJSON() : t.includes("BaseRecord") && n instanceof u ? null == n._recordID ? "" : n._recordID.toString() : n + } + } + var u = function() { + function t(e) { + ! function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, t), this._recordID = e, this._recordValueInit() + } + var e, n, u; + return e = t, (n = [{ + key: "_recordValueInit", + value: function() { + this._record = { + $set: {}, + $unset: {} + } + } + }, { + key: "set", + value: function() { + for (var t = this, e = a(["BaseRecord", "Geo"]), n = a(["Geo"]), o = arguments.length, u = new Array(o), s = 0; s < o; s++) u[s] = arguments[s]; + if (1 === u.length) { + if ("object" !== r(u[0])) throw new i(605); + var c = u[0], + f = {}; + Object.keys(u[0]).forEach(function(r) { + if (t._record.$unset.hasOwnProperty(r)) throw new i(605); + var o = c[r]; + Array.isArray(o) ? f[r] = o.map(function(t) { + return n(t) + }) : f[r] = e(o) + }), this._record.$set = f + } else { + if (2 !== u.length) throw new i(605); + if (this._record.$unset.hasOwnProperty(u[0])) throw new i(605); + var l = u[1]; + Array.isArray(l) ? this._record.$set[u[0]] = l.map(function(t) { + return n(t) + }) : this._record.$set[u[0]] = e(l) + } + return this + } + }, { + key: "unset", + value: function() { + for (var t = this, e = arguments.length, n = new Array(e), o = 0; o < e; o++) n[o] = arguments[o]; + if ("object" === r(n[0])) { + var a = {}; + Object.keys(n[0]).forEach(function(e) { + if (t._record.$set.hasOwnProperty(e)) throw new i(605); + a[e] = "" + }), this._record.$unset = a + } else { + if ("string" != typeof n[0]) throw new i(605); + if (this._record.$set.hasOwnProperty(n[0])) throw new i(605); + this._record.$unset[n[0]] = "" + } + return this + } + }, { + key: "incrementBy", + value: function(t, e) { + return this._record.$set[t] = { + $incr_by: e + }, this + } + }, { + key: "append", + value: function(t, e) { + var n = a(["Geo"]); + return e instanceof Array || (e = [e]), e = e.map(function(t) { + return n(t) + }), this._record.$set[t] = { + $append: e + }, this + } + }, { + key: "uAppend", + value: function(t, e) { + var n = a(["Geo"]); + return e instanceof Array || (e = [e]), e = e.map(function(t) { + return n(t) + }), this._record.$set[t] = { + $append_unique: e + }, this + } + }, { + key: "remove", + value: function(t, e) { + var n = a(["Geo"]); + return e instanceof Array || (e = [e]), e = e.map(function(t) { + return n(t) + }), this._record.$set[t] = { + $remove: e + }, this + } + }, { + key: "patchObject", + value: function(t, e) { + if ("[object Object]" !== Object.prototype.toString.call(e)) throw new i(605); + return this._record.$set[t] = { + $update: e + }, this + } + }]) && o(e.prototype, n), u && o(e, u), t + }(); + u._serializeValueFuncFactory = a, t.exports = u + }, function(t, e, n) { + function r(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + var o = n(1), + i = function() { + function t(e, n) { + ! function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, t), this.longitude = e, this.latitude = n, this.geoJSON = { + type: "Point", + coordinates: [this.longitude, this.latitude] + } + } + var e, n, i; + return e = t, (n = [{ + key: "toGeoJSON", + value: function() { + return o.cloneDeep(this.geoJSON) + } + }]) && r(e.prototype, n), i && r(e, i), t + }(); + t.exports = i + }, function(t, e, n) { + function r(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + var o = n(8), + i = n(2), + a = n(1), + u = function() { + function t(e) { + if (function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, t), !(e && e instanceof Array)) throw new i(605); + if (e.length < 4) throw new i(605); + this.points = e, this.geoJSON = { + type: "Polygon", + coordinates: [] + } + } + var e, n, u; + return e = t, (n = [{ + key: "toGeoJSON", + value: function() { + var t = []; + return this.points.forEach(function(e) { + if (e instanceof o) t.push([e.longitude, e.latitude]); + else { + if (!(e instanceof Array && 2 === e.length)) throw new i(605); + t.push(e) + } + }), this.geoJSON.coordinates = [t], a.cloneDeep(this.geoJSON) + } + }]) && r(e.prototype, n), u && r(e, u), t + }(); + t.exports = u + }, function(t, e) { + var n; + n = function() { + return this + }(); + try { + n = n || new Function("return this")() + } catch (t) { + "object" == typeof window && (n = window) + } + t.exports = n + }, , function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + + function i(t, e) { + return !e || "object" !== r(e) && "function" != typeof e ? function(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t + }(t) : e + } + + function a(t) { + return (a = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) + })(t) + } + + function u(t, e) { + return (u = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, t + })(t, e) + } + var s = n(0), + c = n(7), + f = n(1), + l = n(3).USER_PROFILE_BUILD_IN_FIELDS, + h = n(2), + p = s._config.API, + d = function(t) { + function e(t) { + return function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, e), i(this, a(e).call(this, t)) + } + var n, r, l; + return function(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), e && u(t, e) + }(e, c), n = e, (r = [{ + key: "update", + value: function() { + var t = f.cloneDeep(this._record); + return this._recordValueInit(), s.updateUser({ + data: t.$set + }) + } + }, { + key: "linkWechat", + value: function() { + return this._anonymous ? Promise.reject(new h(612)) : s._polyfill.linkWechat ? s._polyfill.linkWechat.apply(null, arguments) : Promise.reject(new h(605, "linkWechat 方法未定义")) + } + }, { + key: "linkAlipay", + value: function() { + return this._anonymous ? Promise.reject(new h(612)) : s._polyfill.linkAlipay ? s._polyfill.linkAlipay.apply(null, arguments) : Promise.reject(new h(605, "linkAlipay 方法未定义")) + } + }, { + key: "updatePassword", + value: function(t) { + var e = this, + n = t.password, + r = t.newPassword; + return this._anonymous ? Promise.reject(new h(612)) : s._baasRequest({ + url: p.WEB.ACCOUNT_INFO, + method: "PUT", + data: { + password: n, + new_password: r + } + }).then(function() { + return e + }) + } + }, { + key: "setEmail", + value: function(t) { + var e = this, + n = (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).sendVerificationEmail, + r = void 0 !== n && n; + return this._anonymous ? Promise.reject(new h(612)) : s._baasRequest({ + url: p.WEB.ACCOUNT_INFO, + method: "PUT", + data: { + email: t + } + }).then(function(n) { + return r && e.requestEmailVerification(t), Object.assign(e._attribute, n.data), e + }) + } + }, { + key: "setUsername", + value: function(t) { + var e = this; + return this._anonymous ? Promise.reject(new h(612)) : s._baasRequest({ + url: p.WEB.ACCOUNT_INFO, + method: "PUT", + data: { + username: t + } + }).then(function(t) { + return Object.assign(e._attribute, t.data), e + }) + } + }, { + key: "requestEmailVerification", + value: function() { + return this._anonymous ? Promise.reject(new h(612)) : s._baasRequest({ + url: p.WEB.EMAIL_VERIFY, + method: "POST" + }) + } + }, { + key: "setAccount", + value: function() { + var t = this, + e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; + return this._anonymous ? Promise.reject(new h(612)) : (e.password && (e.new_password = e.password, delete e.password), s._baasRequest({ + url: p.WEB.ACCOUNT_INFO, + method: "PUT", + data: e + }).then(function(e) { + return Object.assign(t._attribute, e.data), t + })) + } + }, { + key: "updateMobile", + value: function(t) { + var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]; + if (this._anonymous) return Promise.reject(new h(612)); + e && this.requestMobileVerification(t) + } + }, { + key: "requestMobileVerification", + value: function() { + if (this._anonymous) return Promise.reject(new h(612)) + } + }]) && o(n.prototype, r), l && o(n, l), e + }(); + d.initCurrentUser = function(t) { + if (!f.isObject(t)) return new h(605); + var e = new d; + return e._attribute = Object.assign({}, t), e.toJSON = function() { + return this._attribute + }, e.get = function(t) { + return this._attribute[t] + }, Object.keys(t).forEach(function(n) { + ("_" === n[0] || l.includes(n)) && (e[n] = t[n]) + }), e + }, t.exports = d + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + + function i(t, e) { + return !e || "object" !== r(e) && "function" != typeof e ? function(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t + }(t) : e + } + + function a(t) { + return (a = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) + })(t) + } + + function u(t, e) { + return (u = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, t + })(t, e) + } + var s = n(0), + c = n(4), + f = n(12), + l = n(1), + h = n(2), + p = function(t) { + function e() { + return function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, e), i(this, a(e).call(this)) + } + var n, r, p; + return function(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), e && u(t, e) + }(e, c), n = e, (r = [{ + key: "get", + value: function(t) { + var e = { + userID: t + }; + return this._expand && (e.expand = this._expand), this._keys && (e.keys = this._keys), this._initQueryParams(), s.getUserDetail(e) + } + }, { + key: "getWithoutData", + value: function(t) { + if (l.isString(t) || Number.isInteger(t)) return new f(t); + throw new h(605) + } + }, { + key: "getCurrentUserWithoutData", + value: function() { + return new f + } + }, { + key: "find", + value: function() { + var t = this._handleAllQueryConditions(); + return this._initQueryParams(), s.getUserList(t) + } + }]) && o(n.prototype, r), p && o(n, p), e + }(); + t.exports = p + }, function(t, e, n) { + var r = n(0), + o = n(2), + i = r._config.API; + t.exports = function(t, e) { + var n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]; + if (!t) throw new o(605); + var a = { + function_name: t, + sync: n + }; + return void 0 !== e && (a.data = e), r._baasRequest({ + url: i.CLOUD_FUNCTION, + method: "POST", + data: a + }).then(function(t) { + return t.data + }) + } + }, function(t, e, n) { + var r = n(0), + o = n(3), + i = n(2), + a = n(5), + u = n(1), + s = n(12), + c = n(13), + f = r._config.API, + l = function() { + var t = a.get(o.STORAGE_KEY.UID); + return t ? (new c).get(t).then(function(t) { + var e = s.initCurrentUser(t.data); + return e.user_id = t.data.id, e + }) : Promise.reject(new i(604)) + }; + t.exports = { + login: u.rateLimit(function(t) { + var e = t.username ? f.WEB.LOGIN_USERNAME : f.WEB.LOGIN_EMAIL; + return r.request({ + url: e, + method: "POST", + data: t + }).then(u.validateStatusCode).then(function(t) { + return r._polyfill.handleLoginSuccess(t), l() + }) + }), + logout: function() { + return r.request({ + url: f.LOGOUT, + method: "POST" + }).then(u.validateStatusCode).then(function(t) { + return r.clearSession(), t + }) + }, + silentLogin: function() { + return Promise.reject(new i(605, "silentLogin 方法未定义")) + }, + anonymousLogin: u.rateLimit(function() { + return r.request({ + url: f.WEB.ANONYMOUS_LOGIN, + method: "POST" + }).then(u.validateStatusCode).then(function(t) { + return r._polyfill.handleLoginSuccess(t, !0), l() + }) + }), + requestPasswordReset: function() { + var t = (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}).email; + return r.request({ + url: f.WEB.PASSWORD_RESET, + method: "POST", + data: { + email: t + } + }).then(u.validateStatusCode) + }, + register: u.rateLimit(function(t) { + var e = t.username ? f.WEB.REGISTER_USERNAME : f.WEB.REGISTER_EMAIL; + return r.request({ + url: e, + method: "POST", + data: t + }).then(u.validateStatusCode).then(function(t) { + return r._polyfill.handleLoginSuccess(t), l() + }) + }), + getCurrentUser: u.rateLimit(l) + } + }, function(t, e) { + var n, r, o = t.exports = {}; + + function i() { + throw new Error("setTimeout has not been defined") + } + + function a() { + throw new Error("clearTimeout has not been defined") + } + + function u(t) { + if (n === setTimeout) return setTimeout(t, 0); + if ((n === i || !n) && setTimeout) return n = setTimeout, setTimeout(t, 0); + try { + return n(t, 0) + } catch (e) { + try { + return n.call(null, t, 0) + } catch (e) { + return n.call(this, t, 0) + } + } + }! function() { + try { + n = "function" == typeof setTimeout ? setTimeout : i + } catch (t) { + n = i + } + try { + r = "function" == typeof clearTimeout ? clearTimeout : a + } catch (t) { + r = a + } + }(); + var s, c = [], + f = !1, + l = -1; + + function h() { + f && s && (f = !1, s.length ? c = s.concat(c) : l = -1, c.length && p()) + } + + function p() { + if (!f) { + var t = u(h); + f = !0; + for (var e = c.length; e;) { + for (s = c, c = []; ++l < e;) s && s[l].run(); + l = -1, e = c.length + } + s = null, f = !1, + function(t) { + if (r === clearTimeout) return clearTimeout(t); + if ((r === a || !r) && clearTimeout) return r = clearTimeout, clearTimeout(t); + try { + r(t) + } catch (e) { + try { + return r.call(null, t) + } catch (e) { + return r.call(this, t) + } + } + }(t) + } + } + + function d(t, e) { + this.fun = t, this.array = e + } + + function y() {} + o.nextTick = function(t) { + var e = new Array(arguments.length - 1); + if (arguments.length > 1) + for (var n = 1; n < arguments.length; n++) e[n - 1] = arguments[n]; + c.push(new d(t, e)), 1 !== c.length || f || u(p) + }, d.prototype.run = function() { + this.fun.apply(null, this.array) + }, o.title = "browser", o.browser = !0, o.env = {}, o.argv = [], o.version = "", o.versions = {}, o.on = y, o.addListener = y, o.once = y, o.off = y, o.removeListener = y, o.removeAllListeners = y, o.emit = y, o.prependListener = y, o.prependOnceListener = y, o.listeners = function(t) { + return [] + }, o.binding = function(t) { + throw new Error("process.binding is not supported") + }, o.cwd = function() { + return "/" + }, o.chdir = function(t) { + throw new Error("process.chdir is not supported") + }, o.umask = function() { + return 0 + } + }, function(t, e, n) { + var r = n(0), + o = n(3), + i = n(1), + a = [], + u = !1; + t.exports = { + pushStats: function(t) { + a.includes(t) || a.push(t) + }, + reportStats: function() { + return u || !a.length ? Promise.resolve() : !r.storage.get(o.STORAGE_KEY.AUTH_TOKEN) || i.isSessionExpired() ? Promise.resolve() : (u = !0, function t() { + var e = a[0]; + return r._baasRequest({ + url: r._config.API.TEMPLATE_MESSAGE_EVENT_REPORT, + method: "POST", + data: { + stats_id: e, + platform: "ALIPAY" === r._polyfill.CLIENT_PLATFORM ? "alipay_miniapp" : "wechat_miniapp" + } + }).then(function() { + if (a.shift(), a.length) return t() + }) + }().then(function() { + return u = !1 + }).catch(function(t) { + throw u = !1, t + })) + } + } + }, function(t, e) { + var n = { + LOGOUT: "/hserve/v2.0/session/destroy/", + UPLOAD: "/hserve/v1/upload/", + CLOUD_FUNCTION: "/hserve/v1/cloud-function/job/", + USER_DETAIL: "/hserve/v2.0/user/info/:userID/", + USER_LIST: "/hserve/v2.0/user/info/", + UPDATE_USER: "/hserve/v2.0/user/info/", + TABLE_LIST: "/hserve/v2.0/table/", + TABLE_DETAIL: "/hserve/v2.0/table/:tableID/", + RECORD_LIST: "/hserve/v2.0/table/:tableID/record/", + QUERY_RECORD_LIST: "/hserve/v2.0/table/:tableID/record/", + CREATE_RECORD_LIST: "/hserve/v2.0/table/:tableID/record/?enable_trigger=:enable_trigger", + RECORD_DETAIL: "/hserve/v2.0/table/:tableID/record/:recordID/", + CREATE_RECORD: "/hserve/v2.0/table/:tableID/record/", + UPDATE_RECORD: "/hserve/v2.0/table/:tableID/record/:recordID/", + UPDATE_RECORD_LIST: "/hserve/v2.0/table/:tableID/record/?limit=:limit&offset=:offset&where=:where&enable_trigger=:enable_trigger", + DELETE_RECORD: "/hserve/v2.0/table/:tableID/record/:recordID/", + DELETE_RECORD_LIST: "/hserve/v2.0/table/:tableID/record/?limit=:limit&offset=:offset&where=:where&enable_trigger=:enable_trigger", + LAGECY_CONTENT_LIST: "/hserve/v1/content/detail/", + CONTENT_LIST: "/hserve/v2.0/content/detail/", + CONTENT_GROUP_LIST: "/hserve/v1/content/group/", + CONTENT_DETAIL: "/hserve/v2.0/content/detail/:richTextID/", + CONTENT_GROUP_DETAIL: "/hserve/v1/content/category/", + CONTENT_CATEGORY_LIST: "/hserve/v1/content/category/", + CONTENT_CATEGORY_DETAIL: "/hserve/v1/content/category/:categoryID/", + FILE_DETAIL: "/hserve/v1.3/uploaded-file/:fileID/", + FILE_LIST: "/hserve/v1.3/uploaded-file/", + DELETE_FILE: "/hserve/v1.3/uploaded-file/:fileID/", + DELETE_FILES: "/hserve/v1.3/uploaded-file/", + FILE_CATEGORY_DETAIL: "/hserve/v1.3/file-category/:categoryID/", + FILE_CATEGORY_LIST: "/hserve/v1.3/file-category/", + CENSOR_IMAGE: "/hserve/v1.7/censor-image/", + CENSOR_MSG: "/hserve/v1.7/censor-msg/", + SEND_SMS_CODE: "/hserve/v1.8/sms-verification-code/", + VERIFY_SMS_CODE: "/hserve/v1.8/sms-verification-code/verify/", + PAY: "/hserve/v2.0/idp/pay/order/", + ORDER: "/hserve/v2.0/idp/pay/order/:transactionID/", + TEMPLATE_MESSAGE_EVENT_REPORT: "/hserve/v2.0/template-message/event-report/", + WEB: { + REGISTER_USERNAME: "/hserve/v2.0/register/username/", + REGISTER_EMAIL: "/hserve/v2.0/register/email/", + LOGIN_USERNAME: "/hserve/v2.0/login/username/", + LOGIN_EMAIL: "/hserve/v2.0/login/email/", + EMAIL_VERIFY: "/hserve/v2.0/user/email-verify/", + ACCOUNT_INFO: "/hserve/v2.0/user/account/", + PASSWORD_RESET: "/hserve/v2.0/user/password/reset/", + ANONYMOUS_LOGIN: "/hserve/v2.0/login/anonymous/" + }, + WECHAT: { + SILENT_LOGIN: "/hserve/v2.0/idp/wechat/silent-login/", + AUTHENTICATE: "/hserve/v2.0/idp/wechat/authenticate/", + USER_ASSOCIATE: "/hserve/v2.0/idp/wechat/user-associate/", + TEMPLATE_MESSAGE: "/hserve/v2.0/template-message-ticket/", + DECRYPT: "/hserve/v1/wechat/decrypt/", + WXACODE: "/hserve/v1.4/miniappcode/", + CENSOR_IMAGE: "/hserve/v1.7/censor-image/", + CENSOR_MSG: "/hserve/v1.7/censor-msg/" + }, + ALIPAY: { + SILENT_LOGIN: "/hserve/v2.0/idp/alipay/silent-login/", + AUTHENTICATE: "/hserve/v2.0/idp/alipay/authenticate/", + USER_ASSOCIATE: "/hserve/v2.0/idp/alipay/user-associate/", + TEMPLATE_MESSAGE: "/hserve/v2.0/template-message-ticket/", + MINIAPP_QR_CODE: "/hserve/v2.0/idp/alipay/miniapp-qr-code/" + }, + VIDEO_SNAPSHOT: "/hserve/v1/media/video-snapshot/", + M3U8_CONCAT: "/hserve/v1/media/m3u8-concat/", + M3U8_CLIP: "/hserve/v1/media/m3u8-clip/", + M3U8_META: "/hserve/v1/media/m3u8-meta/", + VIDEO_AUDIO_META: "/hserve/v1/media/audio-video-meta/", + LATEST_VERSION: "/hserve/v1/latest-sdk-version/" + }, + r = [{ + getUserInfo: { + url: n.USER_DETAIL, + defaultParams: { + userID: "" + } + }, + getUserDetail: { + url: n.USER_DETAIL + }, + getUserList: { + url: n.USER_LIST + }, + updateUser: { + url: n.UPDATE_USER, + method: "PUT" + } + }, { + getTableList: { + url: n.TABLE_LIST + }, + getTable: { + url: n.TABLE_DETAIL + }, + getRecordList: { + url: n.RECORD_LIST + }, + queryRecordList: { + url: n.QUERY_RECORD_LIST + }, + getRecord: { + url: n.RECORD_DETAIL + }, + createRecord: { + url: n.CREATE_RECORD, + method: "POST" + }, + createRecordList: { + url: n.CREATE_RECORD_LIST, + method: "POST" + }, + updateRecord: { + url: n.UPDATE_RECORD, + method: "PUT" + }, + updateRecordList: { + url: n.UPDATE_RECORD_LIST, + method: "PUT" + }, + deleteRecord: { + url: n.DELETE_RECORD, + method: "DELETE" + }, + deleteRecordList: { + url: n.DELETE_RECORD_LIST, + method: "DELETE" + } + }, { + getContentList: { + url: n.LAGECY_CONTENT_LIST + }, + getContentList2: { + url: n.CONTENT_LIST + }, + getContent: { + url: n.CONTENT_DETAIL + }, + getContentGroupList: { + url: n.CONTENT_GROUP_LIST + }, + getContentGroup: { + url: n.CONTENT_GROUP_DETAIL + }, + getContentCategoryList: { + url: n.CONTENT_CATEGORY_LIST + }, + getContentCategory: { + url: n.CONTENT_CATEGORY_DETAIL + } + }, { + getFileDetail: { + url: n.FILE_DETAIL + }, + getFileList: { + url: n.FILE_LIST + }, + deleteFile: { + url: n.DELETE_FILE, + method: "DELETE" + }, + deleteFiles: { + url: n.DELETE_FILES, + method: "DELETE" + }, + getFileCategoryDetail: { + url: n.FILE_CATEGORY_DETAIL + }, + getFileCategoryList: { + url: n.FILE_CATEGORY_LIST + }, + sendSmsCode: { + url: n.SEND_SMS_CODE, + method: "POST" + }, + verifySmsCode: { + url: n.VERIFY_SMS_CODE, + method: "POST" + } + }, { + getOrderList: { + url: n.PAY + } + }]; + t.exports = { + API_HOST: "https://api.myminapp.com", + API: n, + AUTH_PREFIX: "Hydrogen-r1", + METHOD_MAP_LIST: r, + DEBUG: !1, + RANDOM_OPTION: { + max: 100 + }, + REQUEST_PARAMS_MAP: { + contentGroupID: "content_group_id", + categoryID: "category_id", + recordID: "id", + submissionType: "submission_type", + submissionValue: "submission_value", + categoryName: "category_name" + }, + SDK_DOWNLOAD_PAGE: "https://doc.minapp.com/js-sdk/download-sdk.html", + VERSION: "v2.0.1-a" + } + }, function(t, e, n) { + t.exports = { + getAPIHost: function() { + return "https://".concat(n(0)._config.CLIENT_ID, ".myminapp.com") + }, + SDK_TYPE: "file", + CLIENT_PLATFORM: "UNKNOWN", + checkLatestVersion: function() { + return null + } + } + }, function(t, e, n) { + var r = n(3), + o = n(5), + i = n(2), + a = n(1); + t.exports = function(t) { + t.init = function(e) { + var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { + autoLogin: !1 + }, + r = n.autoLogin, + o = n.logLevel; + if (!a.isString(e)) throw new i(605); + o && a.setLogLevel(o), t._config.AUTO_LOGIN = r, t._config.CLIENT_ID = e, t._config.API_HOST = t._polyfill.getAPIHost(e), t._polyfill.checkLatestVersion() + }, t.getAuthToken = function() { + return o.get(r.STORAGE_KEY.AUTH_TOKEN) + }, t.checkVersion = function() { + var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, + n = e.platform, + i = e.onSuccess, + u = e.onError; + i || (i = function(e) { + var o = e.statusCode || e.status; + parseInt(o) !== r.STATUS_CODE.SUCCESS ? u && u(e) : -1 === a.compareVersion(t._config.VERSION, e.data[n]) && a.log(r.LOG_LEVEL.WARN, "【知晓云 SDK 更新提示】当前 SDK 版本为 ".concat(t._config.VERSION, " 最新版本为 ").concat(e.data[n], ",请前往 ").concat(t._config.SDK_DOWNLOAD_PAGE, " 下载。")) + }); + var s = Date.now(), + c = o.get(r.STORAGE_KEY.LATEST_VERSION_CHECK_MILLISECONDS); + c && c - s <= r.VERSION_MIN_CHECK_INTERVAL || (o.set(r.STORAGE_KEY.LATEST_VERSION_CHECK_MILLISECONDS, s), t.request({ + url: t._config.API.LATEST_VERSION + }).then(i, u)) + }, t.clearSession = function() { + o.set(r.STORAGE_KEY.AUTH_TOKEN, ""), o.set(r.STORAGE_KEY.IS_LOGINED_BAAS, ""), o.set(r.STORAGE_KEY.IS_ANONYMOUS_USER, ""), o.set(r.STORAGE_KEY.USERINFO, ""), o.set(r.STORAGE_KEY.UID, "") + }, t._createRequestMethod = function() { + t._config.METHOD_MAP_LIST.map(function(t) { + a.doCreateRequestMethod(t) + }) + }, t.auth = n(15), t.ContentGroup = n(25), t.File = n(26), t.FileCategory = n(27), t.GeoPoint = n(8), t.GeoPolygon = n(9), t.invokeFunction = n(14), t.invoke = n(14), t.Query = n(6), t.storage = n(5), t.TableObject = n(28), t.User = n(13), t.Order = n(30) + } + }, function(t, e, n) { + "use strict"; + var r = n(22), + o = ["trace", "debug", "info", "warn", "error", "fatal"], + i = function() {}; + t.exports = function(t) { + (t = t || {}).level = t.level || "info"; + var e = {}; + return o.forEach(function(n) { + e[n] = function(e) { + return o.indexOf(e) >= o.indexOf(t.level) + }(n) ? function() { + var e, o = t.prefix; + if (t.stderr) e = "error"; + else switch (n) { + case "trace": + case "debug": + e = "info"; + break; + case "fatal": + e = "error"; + break; + default: + e = n + } + o && ("function" == typeof o && (o = o(n)), arguments[0] = r.format(o, arguments[0])); + console[e](r.format.apply(r, arguments)) + } : i + }), e + } + }, function(t, e, n) { + (function(t, r) { + var o = /%[sdj%]/g; + e.format = function(t) { + if (!g(t)) { + for (var e = [], n = 0; n < arguments.length; n++) e.push(u(arguments[n])); + return e.join(" ") + } + n = 1; + for (var r = arguments, i = r.length, a = String(t).replace(o, function(t) { + if ("%%" === t) return "%"; + if (n >= i) return t; + switch (t) { + case "%s": + return String(r[n++]); + case "%d": + return Number(r[n++]); + case "%j": + try { + return JSON.stringify(r[n++]) + } catch (t) { + return "[Circular]" + } + default: + return t + } + }), s = r[n]; n < i; s = r[++n]) y(s) || !m(s) ? a += " " + s : a += " " + u(s); + return a + }, e.deprecate = function(n, o) { + if (v(t.process)) return function() { + return e.deprecate(n, o).apply(this, arguments) + }; + if (!0 === r.noDeprecation) return n; + var i = !1; + return function() { + if (!i) { + if (r.throwDeprecation) throw new Error(o); + r.traceDeprecation ? console.trace(o) : console.error(o), i = !0 + } + return n.apply(this, arguments) + } + }; + var i, a = {}; + + function u(t, n) { + var r = { + seen: [], + stylize: c + }; + return arguments.length >= 3 && (r.depth = arguments[2]), arguments.length >= 4 && (r.colors = arguments[3]), d(n) ? r.showHidden = n : n && e._extend(r, n), v(r.showHidden) && (r.showHidden = !1), v(r.depth) && (r.depth = 2), v(r.colors) && (r.colors = !1), v(r.customInspect) && (r.customInspect = !0), r.colors && (r.stylize = s), f(r, t, r.depth) + } + + function s(t, e) { + var n = u.styles[e]; + return n ? "[" + u.colors[n][0] + "m" + t + "[" + u.colors[n][1] + "m" : t + } + + function c(t, e) { + return t + } + + function f(t, n, r) { + if (t.customInspect && n && O(n.inspect) && n.inspect !== e.inspect && (!n.constructor || n.constructor.prototype !== n)) { + var o = n.inspect(r, t); + return g(o) || (o = f(t, o, r)), o + } + var i = function(t, e) { + if (v(e)) return t.stylize("undefined", "undefined"); + if (g(e)) { + var n = "'" + JSON.stringify(e).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"; + return t.stylize(n, "string") + } + if (_(e)) return t.stylize("" + e, "number"); + if (d(e)) return t.stylize("" + e, "boolean"); + if (y(e)) return t.stylize("null", "null") + }(t, n); + if (i) return i; + var a = Object.keys(n), + u = function(t) { + var e = {}; + return t.forEach(function(t, n) { + e[t] = !0 + }), e + }(a); + if (t.showHidden && (a = Object.getOwnPropertyNames(n)), w(n) && (a.indexOf("message") >= 0 || a.indexOf("description") >= 0)) return l(n); + if (0 === a.length) { + if (O(n)) { + var s = n.name ? ": " + n.name : ""; + return t.stylize("[Function" + s + "]", "special") + } + if (b(n)) return t.stylize(RegExp.prototype.toString.call(n), "regexp"); + if (E(n)) return t.stylize(Date.prototype.toString.call(n), "date"); + if (w(n)) return l(n) + } + var c, m = "", + S = !1, + T = ["{", "}"]; + (p(n) && (S = !0, T = ["[", "]"]), O(n)) && (m = " [Function" + (n.name ? ": " + n.name : "") + "]"); + return b(n) && (m = " " + RegExp.prototype.toString.call(n)), E(n) && (m = " " + Date.prototype.toUTCString.call(n)), w(n) && (m = " " + l(n)), 0 !== a.length || S && 0 != n.length ? r < 0 ? b(n) ? t.stylize(RegExp.prototype.toString.call(n), "regexp") : t.stylize("[Object]", "special") : (t.seen.push(n), c = S ? function(t, e, n, r, o) { + for (var i = [], a = 0, u = e.length; a < u; ++a) I(e, String(a)) ? i.push(h(t, e, n, r, String(a), !0)) : i.push(""); + return o.forEach(function(o) { + o.match(/^\d+$/) || i.push(h(t, e, n, r, o, !0)) + }), i + }(t, n, r, u, a) : a.map(function(e) { + return h(t, n, r, u, e, S) + }), t.seen.pop(), function(t, e, n) { + if (t.reduce(function(t, e) { + return 0, e.indexOf("\n") >= 0 && 0, t + e.replace(/\u001b\[\d\d?m/g, "").length + 1 + }, 0) > 60) return n[0] + ("" === e ? "" : e + "\n ") + " " + t.join(",\n ") + " " + n[1]; + return n[0] + e + " " + t.join(", ") + " " + n[1] + }(c, m, T)) : T[0] + m + T[1] + } + + function l(t) { + return "[" + Error.prototype.toString.call(t) + "]" + } + + function h(t, e, n, r, o, i) { + var a, u, s; + if ((s = Object.getOwnPropertyDescriptor(e, o) || { + value: e[o] + }).get ? u = s.set ? t.stylize("[Getter/Setter]", "special") : t.stylize("[Getter]", "special") : s.set && (u = t.stylize("[Setter]", "special")), I(r, o) || (a = "[" + o + "]"), u || (t.seen.indexOf(s.value) < 0 ? (u = y(n) ? f(t, s.value, null) : f(t, s.value, n - 1)).indexOf("\n") > -1 && (u = i ? u.split("\n").map(function(t) { + return " " + t + }).join("\n").substr(2) : "\n" + u.split("\n").map(function(t) { + return " " + t + }).join("\n")) : u = t.stylize("[Circular]", "special")), v(a)) { + if (i && o.match(/^\d+$/)) return u; + (a = JSON.stringify("" + o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (a = a.substr(1, a.length - 2), a = t.stylize(a, "name")) : (a = a.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), a = t.stylize(a, "string")) + } + return a + ": " + u + } + + function p(t) { + return Array.isArray(t) + } + + function d(t) { + return "boolean" == typeof t + } + + function y(t) { + return null === t + } + + function _(t) { + return "number" == typeof t + } + + function g(t) { + return "string" == typeof t + } + + function v(t) { + return void 0 === t + } + + function b(t) { + return m(t) && "[object RegExp]" === S(t) + } + + function m(t) { + return "object" == typeof t && null !== t + } + + function E(t) { + return m(t) && "[object Date]" === S(t) + } + + function w(t) { + return m(t) && ("[object Error]" === S(t) || t instanceof Error) + } + + function O(t) { + return "function" == typeof t + } + + function S(t) { + return Object.prototype.toString.call(t) + } + + function T(t) { + return t < 10 ? "0" + t.toString(10) : t.toString(10) + } + e.debuglog = function(t) { + if (v(i) && (i = r.env.NODE_DEBUG || ""), t = t.toUpperCase(), !a[t]) + if (new RegExp("\\b" + t + "\\b", "i").test(i)) { + var n = r.pid; + a[t] = function() { + var r = e.format.apply(e, arguments); + console.error("%s %d: %s", t, n, r) + } + } else a[t] = function() {}; + return a[t] + }, e.inspect = u, u.colors = { + bold: [1, 22], + italic: [3, 23], + underline: [4, 24], + inverse: [7, 27], + white: [37, 39], + grey: [90, 39], + black: [30, 39], + blue: [34, 39], + cyan: [36, 39], + green: [32, 39], + magenta: [35, 39], + red: [31, 39], + yellow: [33, 39] + }, u.styles = { + special: "cyan", + number: "yellow", + boolean: "yellow", + undefined: "grey", + null: "bold", + string: "green", + date: "magenta", + regexp: "red" + }, e.isArray = p, e.isBoolean = d, e.isNull = y, e.isNullOrUndefined = function(t) { + return null == t + }, e.isNumber = _, e.isString = g, e.isSymbol = function(t) { + return "symbol" == typeof t + }, e.isUndefined = v, e.isRegExp = b, e.isObject = m, e.isDate = E, e.isError = w, e.isFunction = O, e.isPrimitive = function(t) { + return null === t || "boolean" == typeof t || "number" == typeof t || "string" == typeof t || "symbol" == typeof t || void 0 === t + }, e.isBuffer = n(23); + var A = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; + + function I(t, e) { + return Object.prototype.hasOwnProperty.call(t, e) + } + e.log = function() { + var t, n; + console.log("%s - %s", (t = new Date, n = [T(t.getHours()), T(t.getMinutes()), T(t.getSeconds())].join(":"), [t.getDate(), A[t.getMonth()], n].join(" ")), e.format.apply(e, arguments)) + }, e.inherits = n(24), e._extend = function(t, e) { + if (!e || !m(e)) return t; + for (var n = Object.keys(e), r = n.length; r--;) t[n[r]] = e[n[r]]; + return t + } + }).call(this, n(10), n(16)) + }, function(t, e) { + t.exports = function(t) { + return t && "object" == typeof t && "function" == typeof t.copy && "function" == typeof t.fill && "function" == typeof t.readUInt8 + } + }, function(t, e) { + "function" == typeof Object.create ? t.exports = function(t, e) { + t.super_ = e, t.prototype = Object.create(e.prototype, { + constructor: { + value: t, + enumerable: !1, + writable: !0, + configurable: !0 + } + }) + } : t.exports = function(t, e) { + t.super_ = e; + var n = function() {}; + n.prototype = e.prototype, t.prototype = new n, t.prototype.constructor = t + } + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + + function i(t, e) { + return !e || "object" !== r(e) && "function" != typeof e ? function(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t + }(t) : e + } + + function a(t) { + return (a = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) + })(t) + } + + function u(t, e) { + return (u = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, t + })(t, e) + } + var s = n(0), + c = n(4), + f = n(6), + l = function(t) { + function e(t) { + var n; + return function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, e), (n = i(this, a(e).call(this)))._contentGroupID = t, n + } + var n, r, l; + return function(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), e && u(t, e) + }(e, c), n = e, (r = [{ + key: "getContent", + value: function(t) { + var e = { + richTextID: t + }; + return this._expand && (e.expand = this._expand), this._keys && (e.keys = this._keys), this._initQueryParams(), s.getContent(e) + } + }, { + key: "find", + value: function() { + var t = this._handleAllQueryConditions(); + return t.contentGroupID = this._contentGroupID, this._initQueryParams(), s.getContentList2(t) + } + }, { + key: "getCategoryList", + value: function() { + return s.getContentCategoryList({ + contentGroupID: this._contentGroupID, + limit: 100 + }) + } + }, { + key: "getCategory", + value: function(t) { + var e = new f; + return e.compare("group_id", "=", this._contentGroupID), s.getContentCategory({ + categoryID: t, + where: JSON.stringify(e.queryObject) + }) + } + }]) && o(n.prototype, r), l && o(n, l), e + }(); + t.exports = l + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + + function i(t, e) { + return !e || "object" !== r(e) && "function" != typeof e ? function(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t + }(t) : e + } + + function a(t) { + return (a = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) + })(t) + } + + function u(t, e) { + return (u = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, t + })(t, e) + } + var s = n(0), + c = n(4), + f = s._config.API, + l = function(t) { + function e() { + return function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, e), i(this, a(e).call(this)) + } + var n, r, l; + return function(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), e && u(t, e) + }(e, c), n = e, (r = [{ + key: "upload", + value: function(t, e) { + return s.uploadFile(t, e, "json") + } + }, { + key: "delete", + value: function(t) { + return t instanceof Array ? s.deleteFiles({ + id__in: t + }) : s.deleteFile({ + fileID: t + }) + } + }, { + key: "get", + value: function(t) { + return s.getFileDetail({ + fileID: t + }) + } + }, { + key: "find", + value: function() { + var t = this._handleAllQueryConditions(); + return this._initQueryParams(), s.getFileList(t) + } + }, { + key: "genVideoSnapshot", + value: function(t) { + return s._baasRequest({ + url: f.VIDEO_SNAPSHOT, + method: "POST", + data: t + }).then(function(t) { + return t.data + }) + } + }, { + key: "videoConcat", + value: function(t) { + return s._baasRequest({ + url: f.M3U8_CONCAT, + method: "POST", + data: t + }).then(function(t) { + return t.data + }) + } + }, { + key: "videoClip", + value: function(t) { + return s._baasRequest({ + url: f.M3U8_CLIP, + method: "POST", + data: t + }).then(function(t) { + return t.data + }) + } + }, { + key: "videoMeta", + value: function(t) { + return s._baasRequest({ + url: f.M3U8_META, + method: "POST", + data: t + }).then(function(t) { + return t.data + }) + } + }, { + key: "videoAudioMeta", + value: function(t) { + return s._baasRequest({ + url: f.VIDEO_AUDIO_META, + method: "POST", + data: t + }).then(function(t) { + return t.data + }) + } + }]) && o(n.prototype, r), l && o(n, l), e + }(); + t.exports = l + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + + function i(t, e) { + return !e || "object" !== r(e) && "function" != typeof e ? function(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t + }(t) : e + } + + function a(t) { + return (a = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) + })(t) + } + + function u(t, e) { + return (u = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, t + })(t, e) + } + var s = n(0), + c = n(4), + f = n(6), + l = function(t) { + function e() { + return function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, e), i(this, a(e).call(this)) + } + var n, r, l; + return function(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), e && u(t, e) + }(e, c), n = e, (r = [{ + key: "get", + value: function(t) { + return s.getFileCategoryDetail({ + categoryID: t + }) + } + }, { + key: "getFileList", + value: function(t) { + var e = new f; + return e.in("category_id", [t]), s.getFileList({ + where: JSON.stringify(e.queryObject) + }) + } + }, { + key: "find", + value: function() { + var t = this._handleAllQueryConditions(); + return this._initQueryParams(), s.getFileCategoryList(t) + } + }]) && o(n.prototype, r), l && o(n, l), e + }(); + t.exports = l + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + + function i(t, e) { + return !e || "object" !== r(e) && "function" != typeof e ? function(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t + }(t) : e + } + + function a(t, e, n) { + return (a = "undefined" != typeof Reflect && Reflect.get ? Reflect.get : function(t, e, n) { + var r = function(t, e) { + for (; !Object.prototype.hasOwnProperty.call(t, e) && null !== (t = u(t));); + return t + }(t, e); + if (r) { + var o = Object.getOwnPropertyDescriptor(r, e); + return o.get ? o.get.call(n) : o.value + } + })(t, e, n || t) + } + + function u(t) { + return (u = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) + })(t) + } + + function s(t, e) { + return (s = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, t + })(t, e) + } + var c = n(0), + f = n(4), + l = n(2), + h = n(6), + p = n(29), + d = n(1), + y = n(7), + _ = function(t) { + function e(t) { + var n; + return function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, e), (n = i(this, u(e).call(this)))._tableID = t, n + } + var n, r, _; + return function(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), e && s(t, e) + }(e, f), n = e, (r = [{ + key: "create", + value: function() { + return new p(this._tableID) + } + }, { + key: "createMany", + value: function(t) { + var e = (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).enableTrigger, + n = void 0 === e || e, + r = y._serializeValueFuncFactory(["BaseRecord"]); + if (d.isArray(t)) { + var o = { + tableID: this._tableID, + data: t.map(function(t) { + return Object.keys(t).forEach(function(e) { + t[e] = r(t[e]) + }), t + }), + enable_trigger: n ? 1 : 0 + }; + return c.createRecordList(o) + } + throw new l(605) + } + }, { + key: "delete", + value: function(t) { + var e = (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).enableTrigger, + n = void 0 === e || e; + if (d.isString(t) || Number.isInteger(t)) return c.deleteRecord({ + tableID: this._tableID, + recordID: t + }); + if (t instanceof h) { + var r = { + tableID: this._tableID, + limit: this._limit, + offset: this._offset, + where: JSON.stringify(t.queryObject), + enable_trigger: n ? 1 : 0 + }; + return this._initQueryParams(), c.deleteRecordList(r) + } + throw new l(605) + } + }, { + key: "getWithoutData", + value: function(t) { + if (d.isString(t) || Number.isInteger(t)) return new p(this._tableID, t); + if (t instanceof h) { + var e = {}; + return e.limit = this._limit, e.offset = this._offset, e.where = d.cloneDeep(t.queryObject), this._initQueryParams(), new p(this._tableID, null, e) + } + throw new l(605) + } + }, { + key: "get", + value: function(t) { + var e = { + tableID: this._tableID, + recordID: t + }; + return this._expand && (e.expand = this._expand), this._keys && (e.keys = this._keys), this._initQueryParams(), c.getRecord(e) + } + }, { + key: "_handleAllQueryConditions", + value: function() { + var t = a(u(e.prototype), "_handleAllQueryConditions", this).call(this); + return t.tableID = this._tableID, t + } + }, { + key: "find", + value: function() { + var t = this._handleAllQueryConditions(); + return this._initQueryParams(), c.queryRecordList(t) + } + }, { + key: "count", + value: function() { + return this.limit(1).find().then(function(t) { + return t.data.meta.total_count + }) + } + }]) && o(n.prototype, r), _ && o(n, _), e + }(); + t.exports = _ + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + + function i(t, e) { + return !e || "object" !== r(e) && "function" != typeof e ? function(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t + }(t) : e + } + + function a(t) { + return (a = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) + })(t) + } + + function u(t, e) { + return (u = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, t + })(t, e) + } + var s = n(0), + c = n(7), + f = n(1), + l = function(t) { + function e(t, n) { + var r, o = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; + return function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, e), (r = i(this, a(e).call(this, n)))._tableID = t, r._queryObject = o, r + } + var n, r, l; + return function(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), e && u(t, e) + }(e, c), n = e, (r = [{ + key: "save", + value: function() { + var t = f.cloneDeep(this._record); + return this._recordValueInit(), s.createRecord({ + tableID: this._tableID, + data: t.$set + }) + } + }, { + key: "update", + value: function() { + var t = (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}).enableTrigger, + e = void 0 === t || t, + n = f.cloneDeep(this._record); + if (this._recordValueInit(), this._recordID) return s.updateRecord({ + tableID: this._tableID, + recordID: this._recordID, + data: n + }); + var r = { + tableID: this._tableID, + data: n, + where: JSON.stringify(this._queryObject.where), + limit: this._queryObject.limit, + offset: this._queryObject.offset, + enable_trigger: e ? 1 : 0 + }; + return this._queryObject = {}, s.updateRecordList(r) + } + }]) && o(n.prototype, r), l && o(n, l), e + }(); + t.exports = l + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + + function o(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r) + } + } + + function i(t, e) { + return !e || "object" !== r(e) && "function" != typeof e ? function(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t + }(t) : e + } + + function a(t) { + return (a = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) + })(t) + } + + function u(t, e) { + return (u = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, t + })(t, e) + } + var s = n(0), + c = n(1), + f = n(4), + l = function(t) { + function e() { + return function(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") + }(this, e), i(this, a(e).apply(this, arguments)) + } + var n, r, l; + return function(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), e && u(t, e) + }(e, f), n = e, (r = [{ + key: "get", + value: function(t) { + var e = s._config.API, + n = c.format(e.ORDER, { + transactionID: t + }); + return s._baasRequest({ + url: n + }) + } + }, { + key: "getOrderList", + value: function() { + var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, + e = Object.assign({}, this._handleAllQueryConditions(), t); + return this._initQueryParams(), s.getOrderList(Object.assign(e, t)) + } + }]) && o(n.prototype, r), l && o(n, l), e + }(); + t.exports = l + }, function(t, e, n) { + var r = n(0), + o = n(3), + i = n(1); + t.exports = { + getUploadFileConfig: function(t, e) { + return e.filename = t, r._baasRequest({ + url: r._polyfill.getAPIHost() + r._config.API.UPLOAD, + method: "POST", + data: e + }) + }, + getUploadHeaders: function() { + return { + Authorization: o.UPLOAD.HEADER_AUTH_VALUE + r.getAuthToken(), + "X-Hydrogen-Client-Version": r._config.VERSION, + "X-Hydrogen-Client-Platform": i.getSysPlatform(), + "X-Hydrogen-Client-ID": r._config.CLIENT_ID, + "User-Agent": o.UPLOAD.UA + } + } + } + }, function(t, e, n) { + var r = n(0), + o = n(20), + i = n(33), + a = n(34), + u = n(35), + s = n(36); + r._config.VERSION = "v2.0.6-a", r.use(o), r.use(a), r.use(i), r.use(u), r.use(s), r.pay = n(37), r.order = n(38), r.request = n(39), r._baasRequest = n(40), r.uploadFile = n(41), r.getWXACode = n(42), r.wxDecryptData = n(43), r.wxReportTicket = n(44), r.ErrorTracker = n(45), r._createRequestMethod(), "undefined" != typeof wx && (wx.BaaS = r), t.exports = r + }, function(t, e, n) { + var r = n(3), + o = n(2), + i = n(5), + a = n(1), + u = n(15); + t.exports = function(t) { + var e = t._polyfill, + n = t._config.API, + s = function() { + return new Promise(function(n, r) { + e.wxLogin({ + success: function(t) { + n(t.code) + }, + fail: function() { + t.request.wxRequestFail(r) + } + }) + }) + }, + c = function(e, r, o) { + var i = e.code, + u = e.createUser; + return t.request({ + url: n.WECHAT.SILENT_LOGIN, + method: "POST", + data: { + create_user: u, + code: i + } + }).then(a.validateStatusCode).then(function(e) { + t._polyfill.handleLoginSuccess(e), r(e) + }, o) + }, + f = function() { + return i.get(r.STORAGE_KEY.AUTH_TOKEN) && !a.isSessionExpired() ? Promise.resolve() : function() { + var t = (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}).createUser, + e = void 0 === t || t; + return new Promise(function(t, n) { + s().then(function(r) { + c({ + code: r, + createUser: e + }, t, n) + }, n) + }) + }.apply(void 0, arguments) + }, + l = function(t) { + if (!t || !t.detail) throw new o(603); + var e = t.detail, + n = !!t.createUser; + return e.userInfo ? f({ + createUser: n + }).then(function() { + return p().then(function(t) { + var e = { + rawData: t.rawData, + signature: t.signature, + encryptedData: t.encryptedData, + iv: t.iv + }, + n = t.userInfo; + return n.id = i.get(r.STORAGE_KEY.UID), n.openid = i.get(r.STORAGE_KEY.OPENID), n.unionid = i.get(r.STORAGE_KEY.UNIONID), i.set(r.STORAGE_KEY.USERINFO, n), h(e, n) + }) + }) : Promise.reject(Object.assign(new o(603), { + id: i.get(r.STORAGE_KEY.UID), + openid: i.get(r.STORAGE_KEY.OPENID), + unionid: i.get(r.STORAGE_KEY.UNIONID) + })) + }, + h = function(e, o) { + return t.request({ + url: n.WECHAT.AUTHENTICATE, + method: "POST", + data: e + }).then(a.validateStatusCode).then(function(t) { + !o.unionid && t.data.unionid && (o.unionid = t.data.unionid, i.set(r.STORAGE_KEY.UNIONID, o.unionid)), t.data.user_id && i.set(r.STORAGE_KEY.UID, t.data.user_id) + }) + }, + p = function() { + return new Promise(function(e, n) { + t._polyfill.wxGetUserInfo({ + success: e, + fail: n + }) + }) + }; + Object.assign(t.auth, { + silentLogin: a.rateLimit(f), + loginWithWechat: a.rateLimit(function(t) { + var e = (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { + createUser: !0 + }).createUser; + return (t && t.detail ? l(Object.assign(t, { + createUser: e + })) : f({ + createUser: e + })).then(function() { + return u.getCurrentUser() + }) + }), + handleUserInfo: a.rateLimit(l), + linkWechat: a.rateLimit(function(e) { + var r = !1; + return e && e.userInfo && (r = !0), s().then(function(e) { + return (r ? p() : Promise.resolve(null)).then(function(r) { + var o = r ? { + rawData: r.rawData, + signature: r.signature, + encryptedData: r.encryptedData, + iv: r.iv, + code: e + } : { + code: e + }; + return t._baasRequest({ + method: "POST", + url: n.WECHAT.USER_ASSOCIATE, + data: o + }) + }) + }) + }) + }), t.login = function(t) { + return !1 === t ? f().then(function() { + return t = { + id: i.get(r.STORAGE_KEY.UID), + openid: i.get(r.STORAGE_KEY.OPENID), + unionid: i.get(r.STORAGE_KEY.UNIONID) + }, e = r.STORAGE_KEY.EXPIRES_AT, n = i.get(r.STORAGE_KEY.EXPIRES_AT), e in t ? Object.defineProperty(t, e, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0 + }) : t[e] = n, t; + var t, e, n + }) : Promise.reject(new o(605)) + }, t.handleUserInfo = function(e) { + return t.auth.handleUserInfo(e).then(function() { + return u.getCurrentUser() + }).then(function(t) { + return t.toJSON() + }) + }, t.logout = t.auth.logout + } + }, function(t, e, n) { + var r = n(17), + o = n(3); + t.exports = function(t) { + Object.assign(t._polyfill, { + wxLogin: function() { + var t; + return (t = wx).login.apply(t, arguments) + }, + wxGetUserInfo: function() { + var t; + return (t = wx).getUserInfo.apply(t, arguments) + }, + wxPaymentRequest: function() { + var t; + return (t = wx).requestPayment.apply(t, arguments) + }, + CLIENT_PLATFORM: "WECHAT", + setStorageSync: function(t, e) { + try { + return wx.setStorageSync(t, e) + } catch (n) { + return wx.setStorageSync(t, e) + } + }, + getStorageSync: function(t) { + try { + return wx.getStorageSync(t) + } catch (e) { + return wx.getStorageSync(t) + } + }, + getSystemInfoSync: function() { + return wx.getSystemInfoSync() + }, + linkWechat: function() { + var e; + return (e = t.auth).linkWechat.apply(e, arguments) + }, + checkLatestVersion: function() { + "devtools" === wx.getSystemInfoSync().platform && t.checkVersion({ + platform: "wechat_miniapp" + }) + }, + handleLoginSuccess: function(e, n) { + t.storage.set(o.STORAGE_KEY.UID, e.data.user_id), t.storage.set(o.STORAGE_KEY.OPENID, e.data.openid || ""), t.storage.set(o.STORAGE_KEY.UNIONID, e.data.unionid || ""), t.storage.set(o.STORAGE_KEY.AUTH_TOKEN, e.data.token), e.data.openid && t.storage.set(o.STORAGE_KEY.USERINFO, { + id: e.data.user_id, + openid: e.data.openid, + unionid: e.data.unionid + }), t.storage.set(o.STORAGE_KEY.EXPIRES_AT, Math.floor(Date.now() / 1e3) + e.data.expires_in - 30), n ? t.storage.set(o.STORAGE_KEY.IS_ANONYMOUS_USER, 1) : (t.storage.set(o.STORAGE_KEY.IS_ANONYMOUS_USER, 0), r.reportStats()) + } + }) + } + }, function(t, e, n) { + var r = n(3), + o = n(2), + i = n(1); + t.exports = function(t) { + t.wxCensorImage = function(e) { + return new Promise(function(n, o) { + wx.uploadFile({ + url: t._polyfill.getAPIHost() + t._config.API.WECHAT.CENSOR_IMAGE, + filePath: e, + name: r.UPLOAD.UPLOAD_FILE_KEY, + header: { + Authorization: r.UPLOAD.HEADER_AUTH_VALUE + t.getAuthToken(), + "X-Hydrogen-Client-Version": t._config.VERSION, + "X-Hydrogen-Client-Platform": i.getSysPlatform(), + "X-Hydrogen-Client-ID": t._config.CLIENT_ID, + "User-Agent": r.UPLOAD.UA + }, + success: function(t) { + var e = t.statusCode, + i = t.data; + if (parseInt(e) !== r.STATUS_CODE.SUCCESS) return o(t); + n(JSON.parse(i)) + }, + fail: function() { + t.request.wxRequestFail(o) + } + }) + }) + }, t.wxCensorText = function(e) { + return e && "string" == typeof e ? t._baasRequest({ + url: t._polyfill.getAPIHost() + t._config.API.WECHAT.CENSOR_MSG, + method: "POST", + data: { + content: e + } + }) : Promise.reject(new o(605)) + } + } + }, function(t, e, n) { + var r = n(17); + t.exports = function(t) { + Object.assign(t, { + reportTemplateMsgAnalytics: function(t) { + 1014 == t.scene && t.query && t.query._H_utm_campaign && r.pushStats(t.query._H_utm_campaign), r.reportStats() + } + }) + } + }, function(t, e, n) { + var r = n(0), + o = n(2), + i = r._polyfill, + a = r._config.API, + u = { + merchandiseSchemaID: "merchandise_schema_id", + merchandiseRecordID: "merchandise_record_id", + merchandiseSnapshot: "merchandise_snapshot", + merchandiseDescription: "merchandise_description", + totalCost: "total_cost" + }; + t.exports = function(t) { + var e = {}; + for (var n in t) e[u[n]] = t[n]; + return e.gateway_type = "weixin_tenpay", r._baasRequest({ + url: a.PAY, + method: "POST", + data: e + }).then(function(t) { + var e = t.data || {}; + return new Promise(function(t, n) { + i.wxPaymentRequest({ + appId: e.appId, + timeStamp: e.timeStamp, + nonceStr: e.nonceStr, + package: e.package, + signType: "MD5", + paySign: e.paySign, + success: function(n) { + return n.transaction_no = e.transaction_no, n.trade_no = e.trade_no, t(n) + }, + complete: function(t) { + "requestPayment:fail cancel" == t.errMsg && n(new o(607)) + }, + fail: function(t) { + "requestPayment:fail cancel" == t.errMsg ? n(new o(607)) : n(new o(608, t.errMsg)) + } + }) + }) + }) + } + }, function(t, e, n) { + var r = n(0); + t.exports = function(t) { + return (new r.Order).get(t.transactionID) + } + }, function(t, e, n) { + var r = n(0), + o = n(2), + i = n(1), + a = n(3), + u = function(t) { + wx.getNetworkType({ + success: function(e) { + "none" === e.networkType ? t(new o(600)) : t(new o(601)) + } + }) + }; + t.exports = function(t) { + var e = t.url, + n = t.method, + s = void 0 === n ? "GET" : n, + c = t.data, + f = void 0 === c ? {} : c, + l = t.header, + h = void 0 === l ? {} : l, + p = t.dataType, + d = void 0 === p ? "json" : p; + return new Promise(function(t, n) { + if (!r._config.CLIENT_ID) return n(new o(602)); + var c = i.mergeRequestHeader(h); + if (!/https?:\/\//.test(e)) { + var l = r._config.DEBUG ? r._config.API_HOST : r._polyfill.getAPIHost(); + e = l.replace(/\/$/, "") + "/" + e.replace(/^\//, "") + } + wx.request({ + method: s, + url: e, + data: f, + header: c, + dataType: d, + success: t, + fail: function() { + u(n) + } + }), i.log(a.LOG_LEVEL.INFO, "Request => " + e) + }) + }, t.exports.wxRequestFail = u + }, function(t, e, n) { + var r = n(1), + o = n(0), + i = n(3), + a = n(5); + t.exports = function(t) { + var e = arguments, + n = t.url, + u = t.method, + s = void 0 === u ? "GET" : u, + c = t.data, + f = void 0 === c ? {} : c, + l = t.header, + h = void 0 === l ? {} : l, + p = t.dataType, + d = void 0 === p ? "json" : p; + return (o._config.AUTO_LOGIN ? o.auth.silentLogin() : Promise.resolve()).then(function() { + return o.request.apply(null, e) + }).then(function(t) { + return t.statusCode === i.STATUS_CODE.UNAUTHORIZED && o._config.AUTO_LOGIN ? (e = { + header: h, + method: s, + url: n, + data: f, + dataType: d + }, a.get(i.STORAGE_KEY.AUTH_TOKEN) && o.clearSession(), void o.auth.silentLogin().then(function() { + return o.request(e).then(r.validateStatusCode) + })) : r.validateStatusCode(t); + var e + }) + } + }, function(t, e, n) { + function r(t) { + return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + var o = n(3), + i = n(2), + a = n(1), + u = n(31), + s = u.getUploadFileConfig, + c = u.getUploadHeaders; + t.exports = function(t, e, n) { + if (!t || "object" !== r(t) || !t.filePath) throw new i(605); + if (e) { + if ("object" !== r(e)) throw new i(605) + } else e = {}; + var u, f, l, h, p = null, + d = new Promise(function(t, e) { + u = t, f = e + }), + y = function(t) { + return p ? p.onProgressUpdate(t) : l = t, this + }, + _ = function() { + return p && p.abort(), h = !0, this + }; + ! function t(e) { + return Object.assign(e, { + catch: function() { + for (var e, n = arguments.length, r = new Array(n), o = 0; o < n; o++) r[o] = arguments[o]; + var i = (e = Promise.prototype.catch).call.apply(e, [this].concat(r)); + return t(i), i + }, + then: function() { + for (var e, n = arguments.length, r = new Array(n), o = 0; o < n; o++) r[o] = arguments[o]; + var i = (e = Promise.prototype.then).call.apply(e, [this].concat(r)); + return t(i), i + }, + abort: _, + onProgressUpdate: y + }) + }(d); + var g = a.getFileNameFromPath(t.filePath); + return s(g, a.replaceQueryParams(e)).then(function(e) { + if (h) return f(new Error("aborted")); + var r = { + id: e.data.id, + fileName: g, + policy: e.data.policy, + authorization: e.data.authorization, + uploadUrl: e.data.upload_url, + filePath: t.filePath, + destLink: e.data.file_link + }; + p = function(t, e, n, r) { + return wx.uploadFile({ + url: t.uploadUrl, + filePath: t.filePath, + name: o.UPLOAD.UPLOAD_FILE_KEY, + formData: { + authorization: t.authorization, + policy: t.policy + }, + header: c(), + success: function(o) { + var i = {}, + u = JSON.parse(o.data); + i.status = "ok", i.path = t.destLink, i.file = { + id: t.id, + name: t.fileName, + created_at: u.time, + mime_type: u.mimetype, + cdn_path: u.url, + size: u.file_size + }, delete o.data, o.data = r && "json" === r ? i : JSON.stringify(i); + try { + e(a.validateStatusCode(o)) + } catch (t) { + n(t) + } + }, + fail: function() { + BaaS.request.wxRequestFail(n) + } + }) + }(r, function(t) { + if (h) return f(new Error("aborted")); + u(t) + }, f, n), l && p.onProgressUpdate(l) + }, f), d + } + }, function(t, e, n) { + var r = n(0), + o = n(2), + i = n(1), + a = r._config.API; + t.exports = function(t, e, n, u) { + var s = function(t, e, n, r) { + var a = {}, + u = ["wxacode", "wxacodeunlimit", "wxaqrcode"].indexOf(t); + if (!i.isString(t) || -1 === u) throw new o(605, 'type 为字符串类型且只接受 "wxacode", "wxacodeunlimit", "wxaqrcode" 其中一种'); + if (a.code_type = ["miniapp_permanent", "miniapp_temporary", "miniapp_qr"][u], !e || e.constructor !== Object) throw new o(605, "params 为 Object 类型"); + if ("wxacode" === t || "wxaqrcode" === t) { + if (!e.hasOwnProperty("path")) throw new o(605, '当 type 为 "wxacode" 或 "wxaqrcode" 时,params 中必须带有 "path" 属性'); + a.path = e.path + } + if ("wxacodeunlimit" === t) { + if (!e.hasOwnProperty("scene")) throw new o(605, '当 type 为 "wxacodeunlimit" 时,params 中必须带有 "scene" 属性'); + a.scene = e.scene, e.hasOwnProperty("page") && (a.path = e.page) + } + return a.options = {}, e.hasOwnProperty("width") && (a.options.width = e.width), e.hasOwnProperty("auto_color") && (a.options.auto_color = e.auto_color), e.hasOwnProperty("line_color") && (a.options.line_color = e.line_color), e.hasOwnProperty("is_hyaline") && (a.options.is_hyaline = e.is_hyaline), !0 === n && (a.upload_to_cdn = !0, r && (a.category_name = r)), a + }(t, e, n, u); + return r._baasRequest({ + url: a.WECHAT.WXACODE, + method: "POST", + data: s + }).then(function(t) { + return t.data + }) + } + }, function(t, e, n) { + var r = n(0), + o = n(2), + i = r._config.API, + a = function(t) { + if (!(t instanceof Array) || t.length < 3) return !1; + return -1 !== ["we-run-data", "open-gid", "phone-number"].indexOf(t[2]) + }; + t.exports = function() { + for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) e[n] = arguments[n]; + if (!a(e)) throw new o(605); + var u = { + encryptedData: e[0], + iv: e[1] + }; + return r._baasRequest({ + url: i.WECHAT.DECRYPT + e[2] + "/", + method: "POST", + data: u + }).then(function(t) { + return t.data + }, function(t) { + if (403 === t.code) throw new o(403, "微信解密插件未开启"); + throw t + }) + } + }, function(t, e, n) { + var r = n(0), + o = n(1), + i = r._config.API; + t.exports = function(t) { + var e = o.makeReportTicketParam(t); + return r._baasRequest({ + url: i.WECHAT.TEMPLATE_MESSAGE, + method: "POST", + data: e + }) + } + }, function(t, e, n) { + var r = n(0), + o = n(2), + i = r._config, + a = r._polyfill, + u = n(46), + s = !1; + t.exports = { + enable: function() { + var t = (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}).usePlugins, + e = void 0 !== t && t; + if (!r._config || !r._config.CLIENT_ID) throw new o(602); + return u.usePlugins = "plugin" === a.SDK_TYPE || e, s = !0, u.init(!0, { + clientId: r._config.CLIENT_ID + }, i.VERSION) + }, + track: function() { + if (!s) throw new o(610); + return u.track.apply(u, arguments) + }, + metaData: function() { + if (!s) throw new o(610); + return u.metaData.apply(u, arguments) + } + } + }, function(t, e, n) { + (function(r) { + var o, i, a; + + function u(t) { + return (u = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + })(t) + } + a = function() { + var t = { + url: { + sdkDown: "https://dataapi.testin.cn/sdkDown", + track: "https://dataapi.testin.cn/sendEvents" + }, + sdkDown: { + pid: "", + pl: "miniPrograms", + sv: "1.1.1", + testin_id: "", + testin_time: 0, + testin_type: "track", + testin_name: "testin_bug", + testin_first: !0, + di: { + testin_schan: ["testin_schan_bugout"], + testin_av: "", + testin_wechat_ver: "", + testin_tm: 0, + testin_pa: "", + testin_brand: "", + testin_model: "", + testin_os: "", + testin_ov: "", + testin_dh: 0, + testin_dw: 0, + testin_lan: "", + testin_net: "", + testin_bug_type: 1, + testin_bug_lan: 4, + testin_component_ver: "", + testin_bug_bn: "", + testin_bug_pr: "", + testin_bug_ww: 0, + testin_bug_wh: 0, + testin_bug_sbh: "", + testin_bug_fss: "", + testin_bus: 2 + } + }, + record: { + testin_pid: "", + testin_id: "", + testin_pl: "miniPrograms", + testin_time: 0, + testin_type: "track", + testin_name: "testin_bug", + testin_sv: "1.1.1", + attrs: { + testin_av: "", + testin_wechat_ver: "", + testin_tm: 0, + testin_pa: "", + testin_brand: "", + testin_model: "", + testin_os: "", + testin_ov: "", + testin_dh: 0, + testin_dw: 0, + testin_lan: "", + testin_url: "", + testin_net: "", + testin_bug_type: 1, + testin_bug_lan: 4, + testin_component_ver: "", + testin_bug_bn: "", + testin_bug_stack: "", + testin_bug_sv: "1.1.1", + testin_bug_pr: "0", + testin_bug_ww: 0, + testin_bug_wh: 0, + testin_bug_sbh: "", + testin_bug_fss: "", + testin_bug_rea: "", + testin_bug_slog: "", + testin_bug_name: "", + testin_bus: 2 + } + }, + breadcrumb: [], + sdkInitComplete: !1 + }, + e = { + uuid: function() { + var t, e; + ! function() { + if (!t) { + var n = new Array(16); + e = t = function() { + for (var t, e = 0; e < 16; e++) 0 == (3 & e) && (t = 4294967296 * Math.random()), n[e] = t >>> ((3 & e) << 3) & 255; + return n + } + } + }(); + for (var n = "function" == typeof r ? r : Array, o = [], i = {}, a = 0; a < 256; a++) o[a] = (a + 256).toString(16).substr(1), i[o[a]] = a; + + function u(t, e) { + var n = e || 0, + r = o; + return r[t[n++]] + r[t[n++]] + r[t[n++]] + r[t[n++]] + "-" + r[t[n++]] + r[t[n++]] + "-" + r[t[n++]] + r[t[n++]] + "-" + r[t[n++]] + r[t[n++]] + "-" + r[t[n++]] + r[t[n++]] + r[t[n++]] + r[t[n++]] + r[t[n++]] + r[t[n++]] + } + + function s(e, r, o) { + var i = r && o || 0; + "string" == typeof e && (r = "binary" === e ? new n(16) : null, e = null); + var a = (e = e || {}).random || (e.rng || t)(); + if (a[6] = 15 & a[6] | 64, a[8] = 63 & a[8] | 128, r) + for (var s = 0; s < 16; s++) r[i + s] = a[s]; + return r || u(a) + } + var c = s; + return c.v4 = s, c.parse = function(t, e, n) { + var r = e && n || 0, + o = 0; + for (e = e || [], t.toLowerCase().replace(/[0-9a-f]{2}/g, function(t) { + o < 16 && (e[r + o++] = i[t]) + }); o < 16;) e[r + o++] = 0; + return e + }, c.unparse = u, c.BufferClass = n, c._rng = t, c._mathRNG = e, c._nodeRNG = void 0, c._whatwgRNG = void 0, c() + }, + getCurrentPageUrl: function() { + var t = getCurrentPages(); + if (t.length) return t[t.length - 1] + }, + getAesKey: function() { + var t, e = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678", + n = e.length, + r = ""; + for (t = 0; t < 16; t++) r += e.charAt(Math.floor(Math.random() * n)); + return r + }, + reWriteApp: function(e) { + var n = App, + r = this; + App = function(o) { + return ["onLaunch", "onShow", "onHide", "onError"].forEach(function(n) { + var i = o[n]; + o[n] = function(o) { + "onLaunch" === n && (t.sdkDown.di.testin_chan = t.record.attrs.testin_chan = o.scene); + var a = {}; + "onError" === n ? (a.testin_bug_s_time = r.nowTime(), a.testin_bug_s_tit = "⬆⬆⬆⬆⬆BUG在此⬆⬆⬆⬆⬆", a.testin_bug_s_con = "App: " + n) : (a.testin_bug_s_time = r.nowTime(), a.testin_bug_s_tit = o && o.path || "", a.testin_bug_s_con = "App: " + n), r.pushToBreadcrumb(a), "onError" === n && e.track(o), i && i.call(this, o) + } + }), n(o) + } + }, + reWritePage: function() { + var t = this, + e = Page; + Page = function(n) { + return Object.keys(n).forEach(function(e) { + "function" == typeof n[e] && t.recordPageFn(n, e) + }), n.onReady || t.recordPageFn(n, "onReady"), n.onLoad || t.recordPageFn(n, "onLoad"), e(n) + } + }, + reWriteWxRequest: function() { + var e = this, + n = wx.request; + try { + Object.defineProperty(wx, "request", { + configurable: !0, + enumerable: !0, + writable: !0, + value: function() { + var r = arguments[0] || {}, + o = e.nowTime(); + return r.url.indexOf(t.url.sdkDown) > -1 || r.url.indexOf(t.url.track) > -1 ? n.apply(wx, arguments) : (r.complete ? e.reWriteComplete(r, o) : r.complete = function(t) { + e.pushToBreadcrumb({ + testin_bug_s_time: e.nowTime(), + testin_bug_s_tit: r.url, + testin_bug_s_con: r.method + ", status: " + t.statusCode + }) + }, n.apply(wx, arguments)) + } + }) + } catch (t) { + console.log(t, "此内容为bugout所有~~") + } + }, + reWriteComplete: function(t, e) { + var n = this, + r = t.complete; + t.complete = function(e) { + return n.pushToBreadcrumb({ + testin_bug_s_time: n.nowTime(), + testin_bug_s_tit: t.url, + testin_bug_s_con: t.method + ", status: " + e.statusCode + }), r(e) + } + }, + reWriteConsole: function() { + var t = { + log: "L", + info: "I", + error: "E", + warn: "W", + debug: "D" + }, + e = this; + this.consoleList = [], ["debug", "error", "info", "log", "warn"].forEach(function(n) { + var r; + r = console[n], console[n] = function(o) { + e.consoleList.push(e.nowTimeTrans() + " " + t[n] + "/console(0): " + o), e.consoleList.length > 100 && e.consoleList.shift(), r.apply(console, arguments) + } + }) + }, + recordPageFn: function(t, e) { + var n = t[e], + r = this; + t[e] = function() { + "onLoad" !== e && "onShow" !== e || (r.activePage = r.getCurrentPageUrl()); + var t = { + testin_bug_s_time: r.nowTime(), + testin_bug_s_tit: r.activePage ? r.activePage.route : "-", + testin_bug_s_con: "Page: " + e + }; + return "onLoad" === e && (t.args = arguments), r.pushToBreadcrumb(t), n && n.apply(this, arguments) + } + }, + nowTime: function() { + return (new Date).getTime() + }, + timeZone: function() { + return (new Date).getTimezoneOffset() / 60 + }, + nowTimeTrans: function() { + var t = new Date; + return (t.getMonth() + 1 < 10 ? "0" + (t.getMonth() + 1) : t.getMonth() + 1) + "-" + (t.getDate() < 10 ? "0" + t.getDate() : t.getDate()) + " " + (t.getHours() < 10 ? "0" + t.getHours() : t.getHours()) + ":" + (t.getMinutes() < 10 ? "0" + t.getMinutes() : t.getMinutes()) + ":" + (t.getSeconds() < 10 ? "0" + t.getSeconds() : t.getSeconds()) + "." + (t.getTime() + "").slice(-3) + }, + pushToBreadcrumb: function(e) { + t.breadcrumb.push(e), t.breadcrumb.length > 100 && t.breadcrumb.shift() + }, + getStorage: function() { + var e = this; + wx.getStorage({ + key: "testin_id", + success: function(e) { + t.sdkDown.testin_first = !1, t.sdkDown.testin_id = t.record.testin_eid = t.record.testin_id = e.data + }, + fail: function() { + var n = e.uuid(); + wx.setStorage({ + key: "testin_id", + data: n + }), t.sdkDown.testin_first = !0, t.sdkDown.testin_id = t.record.testin_eid = t.record.testin_id = n + } + }) + } + }, + n = "function" == typeof Symbol && "symbol" == u(Symbol.iterator) ? function(t) { + return u(t) + } : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : u(t) + }; + return { + init: function(r, o, i) { + var a = void 0, + u = this; + + function s(n, o) { + if (e.reWriteConsole(), n.usePlugins || (e.reWriteWxRequest(), e.reWritePage(), e.reWriteApp(u)), "boolean" == typeof r) { + if (t.sdkDown.di.testin_zone = t.record.attrs.testin_zone = e.timeZone(), t.sdkDown.di.testin_av = t.record.attrs.testin_av = i, e.bugOutPower = r, wx.getAccountInfoSync) { + var a = wx.getAccountInfoSync(); + t.sdkDown.di.testin_pa = t.record.attrs.testin_pa = a.miniProgram.appId + } + t.sdkDown.pid = t.record.testin_pid = o, t.sdkDown.testin_time = e.nowTime(), e.getStorage(), wx.getSystemInfo({ + success: function(e) { + var n = e.system.split(" "); + t.record.attrs.testin_wechat_ver = t.sdkDown.di.testin_wechat_ver = e.version, t.record.attrs.testin_brand = t.sdkDown.di.testin_brand = e.brand, t.record.attrs.testin_model = t.sdkDown.di.testin_model = e.model, t.record.attrs.testin_os = t.sdkDown.di.testin_os = n[0], t.record.attrs.testin_ov = t.sdkDown.di.testin_ov = n[1], t.record.attrs.testin_dh = t.sdkDown.di.testin_dh = e.screenHeight, t.record.attrs.testin_dw = t.sdkDown.di.testin_dw = e.screenWidth, t.record.attrs.testin_lan = t.sdkDown.di.testin_lan = e.language, t.record.attrs.testin_bug_bn = t.sdkDown.di.testin_bug_bn = e.platform, t.record.attrs.testin_component_ver = t.sdkDown.di.testin_component_ver = e.SDKVersion, t.record.attrs.testin_bug_pr = t.sdkDown.di.testin_bug_pr = e.pixelRatio.toFixed(1), t.record.attrs.testin_bug_ww = t.sdkDown.di.testin_bug_ww = e.windowWidth, t.record.attrs.testin_bug_wh = t.sdkDown.di.testin_bug_wh = e.windowHeight, t.record.attrs.testin_bug_sbh = t.sdkDown.di.testin_bug_sbh = e.statusBarHeight, t.record.attrs.testin_bug_fss = t.sdkDown.di.testin_bug_fss = e.fontSizeSetting, e.batteryLevel && (t.record.attrs.testin_bat_rem = t.sdkDown.di.testin_bat_rem = e.batteryLevel) + }, + complete: function() { + wx.getNetworkType({ + success: function(e) { + t.record.attrs.testin_net = t.sdkDown.di.testin_net = e.networkType + }, + complete: function() { + wx.request({ + url: t.url.sdkDown, + method: "POST", + data: t.sdkDown + }) + } + }) + } + }) + } else console.log("请按照集成文档正确集成SDK") + } + "object" === (void 0 === o ? "undefined" : n(o)) ? wx.request({ + url: "https://dataapi.testin.cn/api/getappkey/" + o.clientId, + header: { + "Content-Type": "text/html;charset=UTF-8" + }, + success: function(t) { + a = t.data ? t.data : "noPid", s(u, a) + } + }): "string" == typeof o && s(u, a = o) + }, + track: function(r) { + if (e.bugOutPower) { + "string" == typeof r && (t.record.attrs.testin_bug_rea = r.split("\n")[1], t.record.attrs.testin_bug_name = r.split("\n")[0], t.record.attrs.testin_bug_stack = r), "object" === (void 0 === r ? "undefined" : n(r)) && (t.record.attrs.testin_bug_rea = r.message, t.record.attrs.testin_bug_name = r.name, t.record.attrs.testin_bug_stack = r.stack), t.record.attrs.testin_bug_slog = e.consoleList.join("\n"), t.record.attrs.testin_url = e.getCurrentPageUrl() ? e.getCurrentPageUrl().route : "", t.record.testin_time = e.nowTime(), t.record.attrs.testin_bug_steps = JSON.stringify(t.breadcrumb); + var o = []; + o.push(t.record), wx.request({ + url: t.url.track, + method: "POST", + data: o + }) + } + }, + usePlugins: !1, + metaData: function(e) { + return t.record.attrs.testin_bug_user = JSON.stringify(Object.assign({}, e)) + } + } + }, "object" == u(e) && void 0 !== t ? t.exports = a() : void 0 === (i = "function" == typeof(o = a) ? o.call(e, n, e, t) : o) || (t.exports = i) + }).call(this, n(47).Buffer) + }, function(t, e, n) { + "use strict"; + (function(t) { + /*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ + var r = n(48), + o = n(49), + i = n(50); + + function a() { + return s.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823 + } + + function u(t, e) { + if (a() < e) throw new RangeError("Invalid typed array length"); + return s.TYPED_ARRAY_SUPPORT ? (t = new Uint8Array(e)).__proto__ = s.prototype : (null === t && (t = new s(e)), t.length = e), t + } + + function s(t, e, n) { + if (!(s.TYPED_ARRAY_SUPPORT || this instanceof s)) return new s(t, e, n); + if ("number" == typeof t) { + if ("string" == typeof e) throw new Error("If encoding is specified then the first argument must be a string"); + return l(this, t) + } + return c(this, t, e, n) + } + + function c(t, e, n, r) { + if ("number" == typeof e) throw new TypeError('"value" argument must not be a number'); + return "undefined" != typeof ArrayBuffer && e instanceof ArrayBuffer ? function(t, e, n, r) { + if (e.byteLength, n < 0 || e.byteLength < n) throw new RangeError("'offset' is out of bounds"); + if (e.byteLength < n + (r || 0)) throw new RangeError("'length' is out of bounds"); + e = void 0 === n && void 0 === r ? new Uint8Array(e) : void 0 === r ? new Uint8Array(e, n) : new Uint8Array(e, n, r); + s.TYPED_ARRAY_SUPPORT ? (t = e).__proto__ = s.prototype : t = h(t, e); + return t + }(t, e, n, r) : "string" == typeof e ? function(t, e, n) { + "string" == typeof n && "" !== n || (n = "utf8"); + if (!s.isEncoding(n)) throw new TypeError('"encoding" must be a valid string encoding'); + var r = 0 | d(e, n), + o = (t = u(t, r)).write(e, n); + o !== r && (t = t.slice(0, o)); + return t + }(t, e, n) : function(t, e) { + if (s.isBuffer(e)) { + var n = 0 | p(e.length); + return 0 === (t = u(t, n)).length ? t : (e.copy(t, 0, 0, n), t) + } + if (e) { + if ("undefined" != typeof ArrayBuffer && e.buffer instanceof ArrayBuffer || "length" in e) return "number" != typeof e.length || (r = e.length) != r ? u(t, 0) : h(t, e); + if ("Buffer" === e.type && i(e.data)) return h(t, e.data) + } + var r; + throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.") + }(t, e) + } + + function f(t) { + if ("number" != typeof t) throw new TypeError('"size" argument must be a number'); + if (t < 0) throw new RangeError('"size" argument must not be negative') + } + + function l(t, e) { + if (f(e), t = u(t, e < 0 ? 0 : 0 | p(e)), !s.TYPED_ARRAY_SUPPORT) + for (var n = 0; n < e; ++n) t[n] = 0; + return t + } + + function h(t, e) { + var n = e.length < 0 ? 0 : 0 | p(e.length); + t = u(t, n); + for (var r = 0; r < n; r += 1) t[r] = 255 & e[r]; + return t + } + + function p(t) { + if (t >= a()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + a().toString(16) + " bytes"); + return 0 | t + } + + function d(t, e) { + if (s.isBuffer(t)) return t.length; + if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(t) || t instanceof ArrayBuffer)) return t.byteLength; + "string" != typeof t && (t = "" + t); + var n = t.length; + if (0 === n) return 0; + for (var r = !1;;) switch (e) { + case "ascii": + case "latin1": + case "binary": + return n; + case "utf8": + case "utf-8": + case void 0: + return Y(t).length; + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return 2 * n; + case "hex": + return n >>> 1; + case "base64": + return B(t).length; + default: + if (r) return Y(t).length; + e = ("" + e).toLowerCase(), r = !0 + } + } + + function y(t, e, n) { + var r = t[e]; + t[e] = t[n], t[n] = r + } + + function _(t, e, n, r, o) { + if (0 === t.length) return -1; + if ("string" == typeof n ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, isNaN(n) && (n = o ? 0 : t.length - 1), n < 0 && (n = t.length + n), n >= t.length) { + if (o) return -1; + n = t.length - 1 + } else if (n < 0) { + if (!o) return -1; + n = 0 + } + if ("string" == typeof e && (e = s.from(e, r)), s.isBuffer(e)) return 0 === e.length ? -1 : g(t, e, n, r, o); + if ("number" == typeof e) return e &= 255, s.TYPED_ARRAY_SUPPORT && "function" == typeof Uint8Array.prototype.indexOf ? o ? Uint8Array.prototype.indexOf.call(t, e, n) : Uint8Array.prototype.lastIndexOf.call(t, e, n) : g(t, [e], n, r, o); + throw new TypeError("val must be string, number or Buffer") + } + + function g(t, e, n, r, o) { + var i, a = 1, + u = t.length, + s = e.length; + if (void 0 !== r && ("ucs2" === (r = String(r).toLowerCase()) || "ucs-2" === r || "utf16le" === r || "utf-16le" === r)) { + if (t.length < 2 || e.length < 2) return -1; + a = 2, u /= 2, s /= 2, n /= 2 + } + + function c(t, e) { + return 1 === a ? t[e] : t.readUInt16BE(e * a) + } + if (o) { + var f = -1; + for (i = n; i < u; i++) + if (c(t, i) === c(e, -1 === f ? 0 : i - f)) { + if (-1 === f && (f = i), i - f + 1 === s) return f * a + } else -1 !== f && (i -= i - f), f = -1 + } else + for (n + s > u && (n = u - s), i = n; i >= 0; i--) { + for (var l = !0, h = 0; h < s; h++) + if (c(t, i + h) !== c(e, h)) { + l = !1; + break + } + if (l) return i + } + return -1 + } + + function v(t, e, n, r) { + n = Number(n) || 0; + var o = t.length - n; + r ? (r = Number(r)) > o && (r = o) : r = o; + var i = e.length; + if (i % 2 != 0) throw new TypeError("Invalid hex string"); + r > i / 2 && (r = i / 2); + for (var a = 0; a < r; ++a) { + var u = parseInt(e.substr(2 * a, 2), 16); + if (isNaN(u)) return a; + t[n + a] = u + } + return a + } + + function b(t, e, n, r) { + return q(Y(e, t.length - n), t, n, r) + } + + function m(t, e, n, r) { + return q(function(t) { + for (var e = [], n = 0; n < t.length; ++n) e.push(255 & t.charCodeAt(n)); + return e + }(e), t, n, r) + } + + function E(t, e, n, r) { + return m(t, e, n, r) + } + + function w(t, e, n, r) { + return q(B(e), t, n, r) + } + + function O(t, e, n, r) { + return q(function(t, e) { + for (var n, r, o, i = [], a = 0; a < t.length && !((e -= 2) < 0); ++a) n = t.charCodeAt(a), r = n >> 8, o = n % 256, i.push(o), i.push(r); + return i + }(e, t.length - n), t, n, r) + } + + function S(t, e, n) { + return 0 === e && n === t.length ? r.fromByteArray(t) : r.fromByteArray(t.slice(e, n)) + } + + function T(t, e, n) { + n = Math.min(t.length, n); + for (var r = [], o = e; o < n;) { + var i, a, u, s, c = t[o], + f = null, + l = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1; + if (o + l <= n) switch (l) { + case 1: + c < 128 && (f = c); + break; + case 2: + 128 == (192 & (i = t[o + 1])) && (s = (31 & c) << 6 | 63 & i) > 127 && (f = s); + break; + case 3: + i = t[o + 1], a = t[o + 2], 128 == (192 & i) && 128 == (192 & a) && (s = (15 & c) << 12 | (63 & i) << 6 | 63 & a) > 2047 && (s < 55296 || s > 57343) && (f = s); + break; + case 4: + i = t[o + 1], a = t[o + 2], u = t[o + 3], 128 == (192 & i) && 128 == (192 & a) && 128 == (192 & u) && (s = (15 & c) << 18 | (63 & i) << 12 | (63 & a) << 6 | 63 & u) > 65535 && s < 1114112 && (f = s) + } + null === f ? (f = 65533, l = 1) : f > 65535 && (f -= 65536, r.push(f >>> 10 & 1023 | 55296), f = 56320 | 1023 & f), r.push(f), o += l + } + return function(t) { + var e = t.length; + if (e <= A) return String.fromCharCode.apply(String, t); + var n = "", + r = 0; + for (; r < e;) n += String.fromCharCode.apply(String, t.slice(r, r += A)); + return n + }(r) + } + e.Buffer = s, e.SlowBuffer = function(t) { + +t != t && (t = 0); + return s.alloc(+t) + }, e.INSPECT_MAX_BYTES = 50, s.TYPED_ARRAY_SUPPORT = void 0 !== t.TYPED_ARRAY_SUPPORT ? t.TYPED_ARRAY_SUPPORT : function() { + try { + var t = new Uint8Array(1); + return t.__proto__ = { + __proto__: Uint8Array.prototype, + foo: function() { + return 42 + } + }, 42 === t.foo() && "function" == typeof t.subarray && 0 === t.subarray(1, 1).byteLength + } catch (t) { + return !1 + } + }(), e.kMaxLength = a(), s.poolSize = 8192, s._augment = function(t) { + return t.__proto__ = s.prototype, t + }, s.from = function(t, e, n) { + return c(null, t, e, n) + }, s.TYPED_ARRAY_SUPPORT && (s.prototype.__proto__ = Uint8Array.prototype, s.__proto__ = Uint8Array, "undefined" != typeof Symbol && Symbol.species && s[Symbol.species] === s && Object.defineProperty(s, Symbol.species, { + value: null, + configurable: !0 + })), s.alloc = function(t, e, n) { + return function(t, e, n, r) { + return f(e), e <= 0 ? u(t, e) : void 0 !== n ? "string" == typeof r ? u(t, e).fill(n, r) : u(t, e).fill(n) : u(t, e) + }(null, t, e, n) + }, s.allocUnsafe = function(t) { + return l(null, t) + }, s.allocUnsafeSlow = function(t) { + return l(null, t) + }, s.isBuffer = function(t) { + return !(null == t || !t._isBuffer) + }, s.compare = function(t, e) { + if (!s.isBuffer(t) || !s.isBuffer(e)) throw new TypeError("Arguments must be Buffers"); + if (t === e) return 0; + for (var n = t.length, r = e.length, o = 0, i = Math.min(n, r); o < i; ++o) + if (t[o] !== e[o]) { + n = t[o], r = e[o]; + break + } + return n < r ? -1 : r < n ? 1 : 0 + }, s.isEncoding = function(t) { + switch (String(t).toLowerCase()) { + case "hex": + case "utf8": + case "utf-8": + case "ascii": + case "latin1": + case "binary": + case "base64": + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return !0; + default: + return !1 + } + }, s.concat = function(t, e) { + if (!i(t)) throw new TypeError('"list" argument must be an Array of Buffers'); + if (0 === t.length) return s.alloc(0); + var n; + if (void 0 === e) + for (e = 0, n = 0; n < t.length; ++n) e += t[n].length; + var r = s.allocUnsafe(e), + o = 0; + for (n = 0; n < t.length; ++n) { + var a = t[n]; + if (!s.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers'); + a.copy(r, o), o += a.length + } + return r + }, s.byteLength = d, s.prototype._isBuffer = !0, s.prototype.swap16 = function() { + var t = this.length; + if (t % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); + for (var e = 0; e < t; e += 2) y(this, e, e + 1); + return this + }, s.prototype.swap32 = function() { + var t = this.length; + if (t % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); + for (var e = 0; e < t; e += 4) y(this, e, e + 3), y(this, e + 1, e + 2); + return this + }, s.prototype.swap64 = function() { + var t = this.length; + if (t % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); + for (var e = 0; e < t; e += 8) y(this, e, e + 7), y(this, e + 1, e + 6), y(this, e + 2, e + 5), y(this, e + 3, e + 4); + return this + }, s.prototype.toString = function() { + var t = 0 | this.length; + return 0 === t ? "" : 0 === arguments.length ? T(this, 0, t) : function(t, e, n) { + var r = !1; + if ((void 0 === e || e < 0) && (e = 0), e > this.length) return ""; + if ((void 0 === n || n > this.length) && (n = this.length), n <= 0) return ""; + if ((n >>>= 0) <= (e >>>= 0)) return ""; + for (t || (t = "utf8");;) switch (t) { + case "hex": + return R(this, e, n); + case "utf8": + case "utf-8": + return T(this, e, n); + case "ascii": + return I(this, e, n); + case "latin1": + case "binary": + return P(this, e, n); + case "base64": + return S(this, e, n); + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return D(this, e, n); + default: + if (r) throw new TypeError("Unknown encoding: " + t); + t = (t + "").toLowerCase(), r = !0 + } + }.apply(this, arguments) + }, s.prototype.equals = function(t) { + if (!s.isBuffer(t)) throw new TypeError("Argument must be a Buffer"); + return this === t || 0 === s.compare(this, t) + }, s.prototype.inspect = function() { + var t = "", + n = e.INSPECT_MAX_BYTES; + return this.length > 0 && (t = this.toString("hex", 0, n).match(/.{2}/g).join(" "), this.length > n && (t += " ... ")), "" + }, s.prototype.compare = function(t, e, n, r, o) { + if (!s.isBuffer(t)) throw new TypeError("Argument must be a Buffer"); + if (void 0 === e && (e = 0), void 0 === n && (n = t ? t.length : 0), void 0 === r && (r = 0), void 0 === o && (o = this.length), e < 0 || n > t.length || r < 0 || o > this.length) throw new RangeError("out of range index"); + if (r >= o && e >= n) return 0; + if (r >= o) return -1; + if (e >= n) return 1; + if (this === t) return 0; + for (var i = (o >>>= 0) - (r >>>= 0), a = (n >>>= 0) - (e >>>= 0), u = Math.min(i, a), c = this.slice(r, o), f = t.slice(e, n), l = 0; l < u; ++l) + if (c[l] !== f[l]) { + i = c[l], a = f[l]; + break + } + return i < a ? -1 : a < i ? 1 : 0 + }, s.prototype.includes = function(t, e, n) { + return -1 !== this.indexOf(t, e, n) + }, s.prototype.indexOf = function(t, e, n) { + return _(this, t, e, n, !0) + }, s.prototype.lastIndexOf = function(t, e, n) { + return _(this, t, e, n, !1) + }, s.prototype.write = function(t, e, n, r) { + if (void 0 === e) r = "utf8", n = this.length, e = 0; + else if (void 0 === n && "string" == typeof e) r = e, n = this.length, e = 0; + else { + if (!isFinite(e)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); + e |= 0, isFinite(n) ? (n |= 0, void 0 === r && (r = "utf8")) : (r = n, n = void 0) + } + var o = this.length - e; + if ((void 0 === n || n > o) && (n = o), t.length > 0 && (n < 0 || e < 0) || e > this.length) throw new RangeError("Attempt to write outside buffer bounds"); + r || (r = "utf8"); + for (var i = !1;;) switch (r) { + case "hex": + return v(this, t, e, n); + case "utf8": + case "utf-8": + return b(this, t, e, n); + case "ascii": + return m(this, t, e, n); + case "latin1": + case "binary": + return E(this, t, e, n); + case "base64": + return w(this, t, e, n); + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return O(this, t, e, n); + default: + if (i) throw new TypeError("Unknown encoding: " + r); + r = ("" + r).toLowerCase(), i = !0 + } + }, s.prototype.toJSON = function() { + return { + type: "Buffer", + data: Array.prototype.slice.call(this._arr || this, 0) + } + }; + var A = 4096; + + function I(t, e, n) { + var r = ""; + n = Math.min(t.length, n); + for (var o = e; o < n; ++o) r += String.fromCharCode(127 & t[o]); + return r + } + + function P(t, e, n) { + var r = ""; + n = Math.min(t.length, n); + for (var o = e; o < n; ++o) r += String.fromCharCode(t[o]); + return r + } + + function R(t, e, n) { + var r = t.length; + (!e || e < 0) && (e = 0), (!n || n < 0 || n > r) && (n = r); + for (var o = "", i = e; i < n; ++i) o += G(t[i]); + return o + } + + function D(t, e, n) { + for (var r = t.slice(e, n), o = "", i = 0; i < r.length; i += 2) o += String.fromCharCode(r[i] + 256 * r[i + 1]); + return o + } + + function L(t, e, n) { + if (t % 1 != 0 || t < 0) throw new RangeError("offset is not uint"); + if (t + e > n) throw new RangeError("Trying to access beyond buffer length") + } + + function C(t, e, n, r, o, i) { + if (!s.isBuffer(t)) throw new TypeError('"buffer" argument must be a Buffer instance'); + if (e > o || e < i) throw new RangeError('"value" argument is out of bounds'); + if (n + r > t.length) throw new RangeError("Index out of range") + } + + function U(t, e, n, r) { + e < 0 && (e = 65535 + e + 1); + for (var o = 0, i = Math.min(t.length - n, 2); o < i; ++o) t[n + o] = (e & 255 << 8 * (r ? o : 1 - o)) >>> 8 * (r ? o : 1 - o) + } + + function k(t, e, n, r) { + e < 0 && (e = 4294967295 + e + 1); + for (var o = 0, i = Math.min(t.length - n, 4); o < i; ++o) t[n + o] = e >>> 8 * (r ? o : 3 - o) & 255 + } + + function N(t, e, n, r, o, i) { + if (n + r > t.length) throw new RangeError("Index out of range"); + if (n < 0) throw new RangeError("Index out of range") + } + + function j(t, e, n, r, i) { + return i || N(t, 0, n, 4), o.write(t, e, n, r, 23, 4), n + 4 + } + + function x(t, e, n, r, i) { + return i || N(t, 0, n, 8), o.write(t, e, n, r, 52, 8), n + 8 + } + s.prototype.slice = function(t, e) { + var n, r = this.length; + if ((t = ~~t) < 0 ? (t += r) < 0 && (t = 0) : t > r && (t = r), (e = void 0 === e ? r : ~~e) < 0 ? (e += r) < 0 && (e = 0) : e > r && (e = r), e < t && (e = t), s.TYPED_ARRAY_SUPPORT)(n = this.subarray(t, e)).__proto__ = s.prototype; + else { + var o = e - t; + n = new s(o, void 0); + for (var i = 0; i < o; ++i) n[i] = this[i + t] + } + return n + }, s.prototype.readUIntLE = function(t, e, n) { + t |= 0, e |= 0, n || L(t, e, this.length); + for (var r = this[t], o = 1, i = 0; ++i < e && (o *= 256);) r += this[t + i] * o; + return r + }, s.prototype.readUIntBE = function(t, e, n) { + t |= 0, e |= 0, n || L(t, e, this.length); + for (var r = this[t + --e], o = 1; e > 0 && (o *= 256);) r += this[t + --e] * o; + return r + }, s.prototype.readUInt8 = function(t, e) { + return e || L(t, 1, this.length), this[t] + }, s.prototype.readUInt16LE = function(t, e) { + return e || L(t, 2, this.length), this[t] | this[t + 1] << 8 + }, s.prototype.readUInt16BE = function(t, e) { + return e || L(t, 2, this.length), this[t] << 8 | this[t + 1] + }, s.prototype.readUInt32LE = function(t, e) { + return e || L(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3] + }, s.prototype.readUInt32BE = function(t, e) { + return e || L(t, 4, this.length), 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]) + }, s.prototype.readIntLE = function(t, e, n) { + t |= 0, e |= 0, n || L(t, e, this.length); + for (var r = this[t], o = 1, i = 0; ++i < e && (o *= 256);) r += this[t + i] * o; + return r >= (o *= 128) && (r -= Math.pow(2, 8 * e)), r + }, s.prototype.readIntBE = function(t, e, n) { + t |= 0, e |= 0, n || L(t, e, this.length); + for (var r = e, o = 1, i = this[t + --r]; r > 0 && (o *= 256);) i += this[t + --r] * o; + return i >= (o *= 128) && (i -= Math.pow(2, 8 * e)), i + }, s.prototype.readInt8 = function(t, e) { + return e || L(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t] + }, s.prototype.readInt16LE = function(t, e) { + e || L(t, 2, this.length); + var n = this[t] | this[t + 1] << 8; + return 32768 & n ? 4294901760 | n : n + }, s.prototype.readInt16BE = function(t, e) { + e || L(t, 2, this.length); + var n = this[t + 1] | this[t] << 8; + return 32768 & n ? 4294901760 | n : n + }, s.prototype.readInt32LE = function(t, e) { + return e || L(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24 + }, s.prototype.readInt32BE = function(t, e) { + return e || L(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3] + }, s.prototype.readFloatLE = function(t, e) { + return e || L(t, 4, this.length), o.read(this, t, !0, 23, 4) + }, s.prototype.readFloatBE = function(t, e) { + return e || L(t, 4, this.length), o.read(this, t, !1, 23, 4) + }, s.prototype.readDoubleLE = function(t, e) { + return e || L(t, 8, this.length), o.read(this, t, !0, 52, 8) + }, s.prototype.readDoubleBE = function(t, e) { + return e || L(t, 8, this.length), o.read(this, t, !1, 52, 8) + }, s.prototype.writeUIntLE = function(t, e, n, r) { + (t = +t, e |= 0, n |= 0, r) || C(this, t, e, n, Math.pow(2, 8 * n) - 1, 0); + var o = 1, + i = 0; + for (this[e] = 255 & t; ++i < n && (o *= 256);) this[e + i] = t / o & 255; + return e + n + }, s.prototype.writeUIntBE = function(t, e, n, r) { + (t = +t, e |= 0, n |= 0, r) || C(this, t, e, n, Math.pow(2, 8 * n) - 1, 0); + var o = n - 1, + i = 1; + for (this[e + o] = 255 & t; --o >= 0 && (i *= 256);) this[e + o] = t / i & 255; + return e + n + }, s.prototype.writeUInt8 = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 1, 255, 0), s.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), this[e] = 255 & t, e + 1 + }, s.prototype.writeUInt16LE = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 2, 65535, 0), s.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8) : U(this, t, e, !0), e + 2 + }, s.prototype.writeUInt16BE = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 2, 65535, 0), s.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 8, this[e + 1] = 255 & t) : U(this, t, e, !1), e + 2 + }, s.prototype.writeUInt32LE = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 4, 4294967295, 0), s.TYPED_ARRAY_SUPPORT ? (this[e + 3] = t >>> 24, this[e + 2] = t >>> 16, this[e + 1] = t >>> 8, this[e] = 255 & t) : k(this, t, e, !0), e + 4 + }, s.prototype.writeUInt32BE = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 4, 4294967295, 0), s.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t) : k(this, t, e, !1), e + 4 + }, s.prototype.writeIntLE = function(t, e, n, r) { + if (t = +t, e |= 0, !r) { + var o = Math.pow(2, 8 * n - 1); + C(this, t, e, n, o - 1, -o) + } + var i = 0, + a = 1, + u = 0; + for (this[e] = 255 & t; ++i < n && (a *= 256);) t < 0 && 0 === u && 0 !== this[e + i - 1] && (u = 1), this[e + i] = (t / a >> 0) - u & 255; + return e + n + }, s.prototype.writeIntBE = function(t, e, n, r) { + if (t = +t, e |= 0, !r) { + var o = Math.pow(2, 8 * n - 1); + C(this, t, e, n, o - 1, -o) + } + var i = n - 1, + a = 1, + u = 0; + for (this[e + i] = 255 & t; --i >= 0 && (a *= 256);) t < 0 && 0 === u && 0 !== this[e + i + 1] && (u = 1), this[e + i] = (t / a >> 0) - u & 255; + return e + n + }, s.prototype.writeInt8 = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 1, 127, -128), s.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), t < 0 && (t = 255 + t + 1), this[e] = 255 & t, e + 1 + }, s.prototype.writeInt16LE = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 2, 32767, -32768), s.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8) : U(this, t, e, !0), e + 2 + }, s.prototype.writeInt16BE = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 2, 32767, -32768), s.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 8, this[e + 1] = 255 & t) : U(this, t, e, !1), e + 2 + }, s.prototype.writeInt32LE = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 4, 2147483647, -2147483648), s.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8, this[e + 2] = t >>> 16, this[e + 3] = t >>> 24) : k(this, t, e, !0), e + 4 + }, s.prototype.writeInt32BE = function(t, e, n) { + return t = +t, e |= 0, n || C(this, t, e, 4, 2147483647, -2147483648), t < 0 && (t = 4294967295 + t + 1), s.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t) : k(this, t, e, !1), e + 4 + }, s.prototype.writeFloatLE = function(t, e, n) { + return j(this, t, e, !0, n) + }, s.prototype.writeFloatBE = function(t, e, n) { + return j(this, t, e, !1, n) + }, s.prototype.writeDoubleLE = function(t, e, n) { + return x(this, t, e, !0, n) + }, s.prototype.writeDoubleBE = function(t, e, n) { + return x(this, t, e, !1, n) + }, s.prototype.copy = function(t, e, n, r) { + if (n || (n = 0), r || 0 === r || (r = this.length), e >= t.length && (e = t.length), e || (e = 0), r > 0 && r < n && (r = n), r === n) return 0; + if (0 === t.length || 0 === this.length) return 0; + if (e < 0) throw new RangeError("targetStart out of bounds"); + if (n < 0 || n >= this.length) throw new RangeError("sourceStart out of bounds"); + if (r < 0) throw new RangeError("sourceEnd out of bounds"); + r > this.length && (r = this.length), t.length - e < r - n && (r = t.length - e + n); + var o, i = r - n; + if (this === t && n < e && e < r) + for (o = i - 1; o >= 0; --o) t[o + e] = this[o + n]; + else if (i < 1e3 || !s.TYPED_ARRAY_SUPPORT) + for (o = 0; o < i; ++o) t[o + e] = this[o + n]; + else Uint8Array.prototype.set.call(t, this.subarray(n, n + i), e); + return i + }, s.prototype.fill = function(t, e, n, r) { + if ("string" == typeof t) { + if ("string" == typeof e ? (r = e, e = 0, n = this.length) : "string" == typeof n && (r = n, n = this.length), 1 === t.length) { + var o = t.charCodeAt(0); + o < 256 && (t = o) + } + if (void 0 !== r && "string" != typeof r) throw new TypeError("encoding must be a string"); + if ("string" == typeof r && !s.isEncoding(r)) throw new TypeError("Unknown encoding: " + r) + } else "number" == typeof t && (t &= 255); + if (e < 0 || this.length < e || this.length < n) throw new RangeError("Out of range index"); + if (n <= e) return this; + var i; + if (e >>>= 0, n = void 0 === n ? this.length : n >>> 0, t || (t = 0), "number" == typeof t) + for (i = e; i < n; ++i) this[i] = t; + else { + var a = s.isBuffer(t) ? t : Y(new s(t, r).toString()), + u = a.length; + for (i = 0; i < n - e; ++i) this[i + e] = a[i % u] + } + return this + }; + var M = /[^+\/0-9A-Za-z-_]/g; + + function G(t) { + return t < 16 ? "0" + t.toString(16) : t.toString(16) + } + + function Y(t, e) { + var n; + e = e || 1 / 0; + for (var r = t.length, o = null, i = [], a = 0; a < r; ++a) { + if ((n = t.charCodeAt(a)) > 55295 && n < 57344) { + if (!o) { + if (n > 56319) { + (e -= 3) > -1 && i.push(239, 191, 189); + continue + } + if (a + 1 === r) { + (e -= 3) > -1 && i.push(239, 191, 189); + continue + } + o = n; + continue + } + if (n < 56320) { + (e -= 3) > -1 && i.push(239, 191, 189), o = n; + continue + } + n = 65536 + (o - 55296 << 10 | n - 56320) + } else o && (e -= 3) > -1 && i.push(239, 191, 189); + if (o = null, n < 128) { + if ((e -= 1) < 0) break; + i.push(n) + } else if (n < 2048) { + if ((e -= 2) < 0) break; + i.push(n >> 6 | 192, 63 & n | 128) + } else if (n < 65536) { + if ((e -= 3) < 0) break; + i.push(n >> 12 | 224, n >> 6 & 63 | 128, 63 & n | 128) + } else { + if (!(n < 1114112)) throw new Error("Invalid code point"); + if ((e -= 4) < 0) break; + i.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, 63 & n | 128) + } + } + return i + } + + function B(t) { + return r.toByteArray(function(t) { + if ((t = function(t) { + return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "") + }(t).replace(M, "")).length < 2) return ""; + for (; t.length % 4 != 0;) t += "="; + return t + }(t)) + } + + function q(t, e, n, r) { + for (var o = 0; o < r && !(o + n >= e.length || o >= t.length); ++o) e[o + n] = t[o]; + return o + } + }).call(this, n(10)) + }, function(t, e, n) { + "use strict"; + e.byteLength = function(t) { + var e = c(t), + n = e[0], + r = e[1]; + return 3 * (n + r) / 4 - r + }, e.toByteArray = function(t) { + for (var e, n = c(t), r = n[0], a = n[1], u = new i(function(t, e, n) { + return 3 * (e + n) / 4 - n + }(0, r, a)), s = 0, f = a > 0 ? r - 4 : r, l = 0; l < f; l += 4) e = o[t.charCodeAt(l)] << 18 | o[t.charCodeAt(l + 1)] << 12 | o[t.charCodeAt(l + 2)] << 6 | o[t.charCodeAt(l + 3)], u[s++] = e >> 16 & 255, u[s++] = e >> 8 & 255, u[s++] = 255 & e; + 2 === a && (e = o[t.charCodeAt(l)] << 2 | o[t.charCodeAt(l + 1)] >> 4, u[s++] = 255 & e); + 1 === a && (e = o[t.charCodeAt(l)] << 10 | o[t.charCodeAt(l + 1)] << 4 | o[t.charCodeAt(l + 2)] >> 2, u[s++] = e >> 8 & 255, u[s++] = 255 & e); + return u + }, e.fromByteArray = function(t) { + for (var e, n = t.length, o = n % 3, i = [], a = 0, u = n - o; a < u; a += 16383) i.push(f(t, a, a + 16383 > u ? u : a + 16383)); + 1 === o ? (e = t[n - 1], i.push(r[e >> 2] + r[e << 4 & 63] + "==")) : 2 === o && (e = (t[n - 2] << 8) + t[n - 1], i.push(r[e >> 10] + r[e >> 4 & 63] + r[e << 2 & 63] + "=")); + return i.join("") + }; + for (var r = [], o = [], i = "undefined" != typeof Uint8Array ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = 0, s = a.length; u < s; ++u) r[u] = a[u], o[a.charCodeAt(u)] = u; + + function c(t) { + var e = t.length; + if (e % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); + var n = t.indexOf("="); + return -1 === n && (n = e), [n, n === e ? 0 : 4 - n % 4] + } + + function f(t, e, n) { + for (var o, i, a = [], u = e; u < n; u += 3) o = (t[u] << 16 & 16711680) + (t[u + 1] << 8 & 65280) + (255 & t[u + 2]), a.push(r[(i = o) >> 18 & 63] + r[i >> 12 & 63] + r[i >> 6 & 63] + r[63 & i]); + return a.join("") + } + o["-".charCodeAt(0)] = 62, o["_".charCodeAt(0)] = 63 + }, function(t, e) { + e.read = function(t, e, n, r, o) { + var i, a, u = 8 * o - r - 1, + s = (1 << u) - 1, + c = s >> 1, + f = -7, + l = n ? o - 1 : 0, + h = n ? -1 : 1, + p = t[e + l]; + for (l += h, i = p & (1 << -f) - 1, p >>= -f, f += u; f > 0; i = 256 * i + t[e + l], l += h, f -= 8); + for (a = i & (1 << -f) - 1, i >>= -f, f += r; f > 0; a = 256 * a + t[e + l], l += h, f -= 8); + if (0 === i) i = 1 - c; + else { + if (i === s) return a ? NaN : 1 / 0 * (p ? -1 : 1); + a += Math.pow(2, r), i -= c + } + return (p ? -1 : 1) * a * Math.pow(2, i - r) + }, e.write = function(t, e, n, r, o, i) { + var a, u, s, c = 8 * i - o - 1, + f = (1 << c) - 1, + l = f >> 1, + h = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0, + p = r ? 0 : i - 1, + d = r ? 1 : -1, + y = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0; + for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (u = isNaN(e) ? 1 : 0, a = f) : (a = Math.floor(Math.log(e) / Math.LN2), e * (s = Math.pow(2, -a)) < 1 && (a--, s *= 2), (e += a + l >= 1 ? h / s : h * Math.pow(2, 1 - l)) * s >= 2 && (a++, s /= 2), a + l >= f ? (u = 0, a = f) : a + l >= 1 ? (u = (e * s - 1) * Math.pow(2, o), a += l) : (u = e * Math.pow(2, l - 1) * Math.pow(2, o), a = 0)); o >= 8; t[n + p] = 255 & u, p += d, u /= 256, o -= 8); + for (a = a << o | u, c += o; c > 0; t[n + p] = 255 & a, p += d, a /= 256, c -= 8); + t[n + p - d] |= 128 * y + } + }, function(t, e) { + var n = {}.toString; + t.exports = Array.isArray || function(t) { + return "[object Array]" == n.call(t) + } + }]) +}); +//# sourceMappingURL=sdk-wechat.2.0.6-a.js.map \ No newline at end of file diff --git a/src/WeLink/sitemap.json b/src/WeLink/sitemap.json new file mode 100644 index 0000000..ca02add --- /dev/null +++ b/src/WeLink/sitemap.json @@ -0,0 +1,7 @@ +{ + "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", + "rules": [{ + "action": "allow", + "page": "*" + }] +} \ No newline at end of file diff --git a/src/WeLink/utils/util.js b/src/WeLink/utils/util.js new file mode 100644 index 0000000..764bc2c --- /dev/null +++ b/src/WeLink/utils/util.js @@ -0,0 +1,19 @@ +const formatTime = date => { + const year = date.getFullYear() + const month = date.getMonth() + 1 + const day = date.getDate() + const hour = date.getHours() + const minute = date.getMinutes() + const second = date.getSeconds() + + return `${[year, month, day].map(formatNumber).join('/')} ${[hour, minute, second].map(formatNumber).join(':')}` +} + +const formatNumber = n => { + n = n.toString() + return n[1] ? n : `0${n}` +} + +module.exports = { + formatTime +}