icms-api 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -273,57 +273,6 @@ var k = {
273
273
  };
274
274
  return U.error(h), h;
275
275
  }
276
- }, Qe = "Post request error!", ie = {
277
- info: (e, t) => {
278
- console.info(t, JSON.stringify(e));
279
- },
280
- debug: (e, t) => {
281
- console.debug(t, JSON.stringify(e));
282
- },
283
- error: (e) => {
284
- console.error(JSON.stringify(e));
285
- }
286
- }, Xr = (e) => {
287
- if (e.get) {
288
- let t = e.get(k.IBOOT_USER);
289
- if (t && t.length > 0) return JSON.parse(t);
290
- }
291
- }, jt = async (e, t) => {
292
- let n = t?.data ?? {}, r = t?.headers, i, a = t?.headers, o = new Headers(a);
293
- if (n instanceof FormData ? i = n : (i = JSON.stringify(n), o.set(Y, M.applicationJson)), r) for (let e in r) {
294
- let t = r[e];
295
- t && o.set(e, t);
296
- }
297
- ie.info({
298
- url: e,
299
- headers: o
300
- }, "POST");
301
- let s = await fetch(e, {
302
- method: "POST",
303
- headers: o,
304
- body: i
305
- });
306
- if (s.ok) {
307
- let e = Object.fromEntries(s.headers.entries()), t = {
308
- ...await s.json(),
309
- headers: e
310
- };
311
- return ie.debug(t, "POST_RESULT"), t;
312
- }
313
- let c = {
314
- code: s.status,
315
- success: !1,
316
- msg: s.statusText
317
- };
318
- return ie.error(c), c;
319
- }, zr = async (e, t) => {
320
- let n = await jt(e, t);
321
- if (n.success) return n.data;
322
- if (t?.showError) {
323
- t.showError(n.msg ?? Qe);
324
- return;
325
- }
326
- throw Error(n.msg ?? Qe);
327
276
  }, ve = { exports: {} }, Te = {}, Ie = {}, Ae = {}, lt;
328
277
  function hr() {
329
278
  return lt || (lt = 1, (function(e) {
@@ -730,7 +679,7 @@ function vr() {
730
679
  return c;
731
680
  },
732
681
  APP_DIR_ALIAS: function() {
733
- return D;
682
+ return fn;
734
683
  },
735
684
  CACHE_ONE_YEAR: function() {
736
685
  return b;
@@ -739,16 +688,16 @@ function vr() {
739
688
  return T;
740
689
  },
741
690
  ESLINT_DEFAULT_DIRS: function() {
742
- return wn;
691
+ return _n;
743
692
  },
744
693
  GSP_NO_RETURNED_VALUE: function() {
745
- return B;
694
+ return R;
746
695
  },
747
696
  GSSP_COMPONENT_MEMBER_ERROR: function() {
748
- return H;
697
+ return B;
749
698
  },
750
699
  GSSP_NO_RETURNED_VALUE: function() {
751
- return Sn;
700
+ return hn;
752
701
  },
753
702
  INSTRUMENTATION_HOOK_FILENAME: function() {
754
703
  return C;
@@ -799,7 +748,7 @@ function vr() {
799
748
  return n;
800
749
  },
801
750
  NON_STANDARD_NODE_ENV: function() {
802
- return W;
751
+ return V;
803
752
  },
804
753
  PAGES_DIR_ALIAS: function() {
805
754
  return w;
@@ -811,25 +760,25 @@ function vr() {
811
760
  return a;
812
761
  },
813
762
  PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
814
- return P;
763
+ return N;
815
764
  },
816
765
  ROOT_DIR_ALIAS: function() {
817
766
  return E;
818
767
  },
819
768
  RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
820
- return N;
769
+ return j;
821
770
  },
822
771
  RSC_ACTION_ENCRYPTION_ALIAS: function() {
823
- return xn;
772
+ return pn;
824
773
  },
825
774
  RSC_ACTION_PROXY_ALIAS: function() {
826
- return j;
775
+ return A;
827
776
  },
828
777
  RSC_ACTION_VALIDATE_ALIAS: function() {
829
- return A;
778
+ return O;
830
779
  },
831
780
  RSC_MOD_REF_PROXY_ALIAS: function() {
832
- return O;
781
+ return D;
833
782
  },
834
783
  RSC_PREFETCH_SUFFIX: function() {
835
784
  return o;
@@ -838,47 +787,47 @@ function vr() {
838
787
  return s;
839
788
  },
840
789
  SERVER_PROPS_EXPORT_ERROR: function() {
841
- return z;
790
+ return L;
842
791
  },
843
792
  SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
844
- return I;
793
+ return F;
845
794
  },
846
795
  SERVER_PROPS_SSG_CONFLICT: function() {
847
- return L;
796
+ return I;
848
797
  },
849
798
  SERVER_RUNTIME: function() {
850
- return Tn;
799
+ return vn;
851
800
  },
852
801
  SSG_FALLBACK_EXPORT_ERROR: function() {
853
- return Cn;
802
+ return gn;
854
803
  },
855
804
  SSG_GET_INITIAL_PROPS_CONFLICT: function() {
856
- return F;
805
+ return P;
857
806
  },
858
807
  STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
859
- return R;
808
+ return mn;
860
809
  },
861
810
  UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
862
- return V;
811
+ return z;
863
812
  },
864
813
  WEBPACK_LAYERS: function() {
865
- return q;
814
+ return W;
866
815
  },
867
816
  WEBPACK_RESOURCE_QUERIES: function() {
868
- return En;
817
+ return G;
869
818
  }
870
819
  });
871
- let n = "nxtP", r = "nxtI", i = "x-prerender-revalidate", a = "x-prerender-revalidate-if-generated", o = ".prefetch.rsc", s = ".rsc", c = ".action", l = ".json", u = ".meta", d = ".body", f = "x-next-cache-tags", p = "x-next-cache-soft-tags", m = "x-next-revalidated-tags", h = "x-next-revalidate-tag-token", g = 128, _ = 256, v = 1024, y = "_N_T_", b = 31536e3, x = "middleware", S = `(?:src/)?${x}`, C = "instrumentation", w = "private-next-pages", T = "private-dot-next", E = "private-next-root-dir", D = "private-next-app-dir", O = "private-next-rsc-mod-ref-proxy", A = "private-next-rsc-action-validate", j = "private-next-rsc-server-reference", xn = "private-next-rsc-action-encryption", N = "private-next-rsc-action-client-wrapper", P = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", F = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", I = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", L = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", R = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", z = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", B = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", Sn = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", V = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", H = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", W = "You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env", Cn = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", wn = [
820
+ let n = "nxtP", r = "nxtI", i = "x-prerender-revalidate", a = "x-prerender-revalidate-if-generated", o = ".prefetch.rsc", s = ".rsc", c = ".action", l = ".json", u = ".meta", d = ".body", f = "x-next-cache-tags", p = "x-next-cache-soft-tags", m = "x-next-revalidated-tags", h = "x-next-revalidate-tag-token", g = 128, _ = 256, v = 1024, y = "_N_T_", b = 31536e3, x = "middleware", S = `(?:src/)?${x}`, C = "instrumentation", w = "private-next-pages", T = "private-dot-next", E = "private-next-root-dir", fn = "private-next-app-dir", D = "private-next-rsc-mod-ref-proxy", O = "private-next-rsc-action-validate", A = "private-next-rsc-server-reference", pn = "private-next-rsc-action-encryption", j = "private-next-rsc-action-client-wrapper", N = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", P = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", F = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", I = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", mn = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", L = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", R = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", hn = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", z = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", B = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", V = "You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env", gn = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", _n = [
872
821
  "app",
873
822
  "pages",
874
823
  "components",
875
824
  "lib",
876
825
  "src"
877
- ], Tn = {
826
+ ], vn = {
878
827
  edge: "edge",
879
828
  experimentalEdge: "experimental-edge",
880
829
  nodejs: "nodejs"
881
- }, G = {
830
+ }, H = {
882
831
  shared: "shared",
883
832
  reactServerComponents: "rsc",
884
833
  serverSideRendering: "ssr",
@@ -890,30 +839,30 @@ function vr() {
890
839
  appPagesBrowser: "app-pages-browser",
891
840
  appMetadataRoute: "app-metadata-route",
892
841
  appRouteHandler: "app-route-handler"
893
- }, q = {
894
- ...G,
842
+ }, W = {
843
+ ...H,
895
844
  GROUP: {
896
845
  serverOnly: [
897
- G.reactServerComponents,
898
- G.actionBrowser,
899
- G.appMetadataRoute,
900
- G.appRouteHandler,
901
- G.instrument
846
+ H.reactServerComponents,
847
+ H.actionBrowser,
848
+ H.appMetadataRoute,
849
+ H.appRouteHandler,
850
+ H.instrument
902
851
  ],
903
- clientOnly: [G.serverSideRendering, G.appPagesBrowser],
904
- nonClientServerTarget: [G.middleware, G.api],
852
+ clientOnly: [H.serverSideRendering, H.appPagesBrowser],
853
+ nonClientServerTarget: [H.middleware, H.api],
905
854
  app: [
906
- G.reactServerComponents,
907
- G.actionBrowser,
908
- G.appMetadataRoute,
909
- G.appRouteHandler,
910
- G.serverSideRendering,
911
- G.appPagesBrowser,
912
- G.shared,
913
- G.instrument
855
+ H.reactServerComponents,
856
+ H.actionBrowser,
857
+ H.appMetadataRoute,
858
+ H.appRouteHandler,
859
+ H.serverSideRendering,
860
+ H.appPagesBrowser,
861
+ H.shared,
862
+ H.instrument
914
863
  ]
915
864
  }
916
- }, En = {
865
+ }, G = {
917
866
  edgeSSREntry: "__next_edge_ssr_entry__",
918
867
  metadata: "__next_metadata__",
919
868
  metadataRoute: "__next_metadata_route__",
@@ -1513,20 +1462,20 @@ function Ar() {
1513
1462
  return Ct || (Ct = 1, (() => {
1514
1463
  var e = { 226: function(e, t) {
1515
1464
  (function(n, r) {
1516
- var i = "1.0.35", a = "", o = "?", s = "function", c = "undefined", l = "object", u = "string", d = "major", f = "model", p = "name", m = "type", h = "vendor", g = "version", _ = "architecture", v = "console", y = "mobile", b = "tablet", x = "smarttv", S = "wearable", C = "embedded", w = 350, T = "Amazon", E = "Apple", D = "ASUS", O = "BlackBerry", A = "Browser", j = "Chrome", xn = "Edge", N = "Firefox", P = "Google", F = "Huawei", I = "LG", L = "Microsoft", R = "Motorola", z = "Opera", B = "Samsung", Sn = "Sharp", V = "Sony", H = "Xiaomi", W = "Zebra", Cn = "Facebook", wn = "Chromium OS", Tn = "Mac OS", G = function(e, t) {
1465
+ var i = "1.0.35", a = "", o = "?", s = "function", c = "undefined", l = "object", u = "string", d = "major", f = "model", p = "name", m = "type", h = "vendor", g = "version", _ = "architecture", v = "console", y = "mobile", b = "tablet", x = "smarttv", S = "wearable", C = "embedded", w = 350, T = "Amazon", E = "Apple", fn = "ASUS", D = "BlackBerry", O = "Browser", A = "Chrome", pn = "Edge", j = "Firefox", N = "Google", P = "Huawei", F = "LG", I = "Microsoft", mn = "Motorola", L = "Opera", R = "Samsung", hn = "Sharp", z = "Sony", B = "Xiaomi", V = "Zebra", gn = "Facebook", _n = "Chromium OS", vn = "Mac OS", H = function(e, t) {
1517
1466
  var n = {};
1518
1467
  for (var r in e) t[r] && t[r].length % 2 == 0 ? n[r] = t[r].concat(e[r]) : n[r] = e[r];
1519
1468
  return n;
1520
- }, q = function(e) {
1469
+ }, W = function(e) {
1521
1470
  for (var t = {}, n = 0; n < e.length; n++) t[e[n].toUpperCase()] = e[n];
1522
1471
  return t;
1523
- }, En = function(e, t) {
1524
- return typeof e === u ? J(t).indexOf(J(e)) !== -1 : !1;
1525
- }, J = function(e) {
1472
+ }, G = function(e, t) {
1473
+ return typeof e === u ? q(t).indexOf(q(e)) !== -1 : !1;
1474
+ }, q = function(e) {
1526
1475
  return e.toLowerCase();
1527
- }, Dn = function(e) {
1476
+ }, yn = function(e) {
1528
1477
  return typeof e === u ? e.replace(/[^\d\.]/g, a).split(".")[0] : r;
1529
- }, On = function(e, t) {
1478
+ }, J = function(e, t) {
1530
1479
  if (typeof e === u) return e = e.replace(/^\s\s*/, a), typeof t === c ? e : e.substring(0, w);
1531
1480
  }, X = function(e, t) {
1532
1481
  for (var n = 0, i, a, o, c, u, d; n < t.length && !u;) {
@@ -1534,12 +1483,12 @@ function Ar() {
1534
1483
  for (i = a = 0; i < f.length && !u && f[i];) if (u = f[i++].exec(e), u) for (o = 0; o < p.length; o++) d = u[++a], c = p[o], typeof c === l && c.length > 0 ? c.length === 2 ? typeof c[1] == s ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : c.length === 3 ? typeof c[1] === s && !(c[1].exec && c[1].test) ? this[c[0]] = d ? c[1].call(this, d, c[2]) : r : this[c[0]] = d ? d.replace(c[1], c[2]) : r : c.length === 4 && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : r) : this[c] = d || r;
1535
1484
  n += 2;
1536
1485
  }
1537
- }, kn = function(e, t) {
1486
+ }, bn = function(e, t) {
1538
1487
  for (var n in t) if (typeof t[n] === l && t[n].length > 0) {
1539
- for (var i = 0; i < t[n].length; i++) if (En(t[n][i], e)) return n === o ? r : n;
1540
- } else if (En(t[n], e)) return n === o ? r : n;
1488
+ for (var i = 0; i < t[n].length; i++) if (G(t[n][i], e)) return n === o ? r : n;
1489
+ } else if (G(t[n], e)) return n === o ? r : n;
1541
1490
  return e;
1542
- }, An = {
1491
+ }, xn = {
1543
1492
  "1.0": "/8",
1544
1493
  1.2: "/1",
1545
1494
  1.3: "/3",
@@ -1548,7 +1497,7 @@ function Ar() {
1548
1497
  "2.0.3": "/417",
1549
1498
  "2.0.4": "/419",
1550
1499
  "?": "/"
1551
- }, jn = {
1500
+ }, Sn = {
1552
1501
  ME: "4.90",
1553
1502
  "NT 3.11": "NT3.51",
1554
1503
  "NT 4.0": "NT4.0",
@@ -1560,7 +1509,7 @@ function Ar() {
1560
1509
  8.1: "NT 6.3",
1561
1510
  10: ["NT 6.4", "NT 10.0"],
1562
1511
  RT: "ARM"
1563
- }, Mn = {
1512
+ }, Cn = {
1564
1513
  browser: [
1565
1514
  [/\b(?:crmo|crios)\/([\w\.]+)/i],
1566
1515
  [g, [p, "Chrome"]],
@@ -1573,9 +1522,9 @@ function Ar() {
1573
1522
  ],
1574
1523
  [p, g],
1575
1524
  [/opios[\/ ]+([\w\.]+)/i],
1576
- [g, [p, z + " Mini"]],
1525
+ [g, [p, L + " Mini"]],
1577
1526
  [/\bopr\/([\w\.]+)/i],
1578
- [g, [p, z]],
1527
+ [g, [p, L]],
1579
1528
  [
1580
1529
  /(kindle)\/([\w\.]+)/i,
1581
1530
  /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,
@@ -1588,7 +1537,7 @@ function Ar() {
1588
1537
  ],
1589
1538
  [p, g],
1590
1539
  [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],
1591
- [g, [p, "UC" + A]],
1540
+ [g, [p, "UC" + O]],
1592
1541
  [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i],
1593
1542
  [g, [p, "WeChat(Win) Desktop"]],
1594
1543
  [/micromessenger\/([\w\.]+)/i],
@@ -1603,29 +1552,29 @@ function Ar() {
1603
1552
  [[
1604
1553
  p,
1605
1554
  /(.+)/,
1606
- "$1 Secure " + A
1555
+ "$1 Secure " + O
1607
1556
  ], g],
1608
1557
  [/\bfocus\/([\w\.]+)/i],
1609
- [g, [p, N + " Focus"]],
1558
+ [g, [p, j + " Focus"]],
1610
1559
  [/\bopt\/([\w\.]+)/i],
1611
- [g, [p, z + " Touch"]],
1560
+ [g, [p, L + " Touch"]],
1612
1561
  [/coc_coc\w+\/([\w\.]+)/i],
1613
1562
  [g, [p, "Coc Coc"]],
1614
1563
  [/dolfin\/([\w\.]+)/i],
1615
1564
  [g, [p, "Dolphin"]],
1616
1565
  [/coast\/([\w\.]+)/i],
1617
- [g, [p, z + " Coast"]],
1566
+ [g, [p, L + " Coast"]],
1618
1567
  [/miuibrowser\/([\w\.]+)/i],
1619
- [g, [p, "MIUI " + A]],
1568
+ [g, [p, "MIUI " + O]],
1620
1569
  [/fxios\/([-\w\.]+)/i],
1621
- [g, [p, N]],
1570
+ [g, [p, j]],
1622
1571
  [/\bqihu|(qi?ho?o?|360)browser/i],
1623
- [[p, "360 " + A]],
1572
+ [[p, "360 " + O]],
1624
1573
  [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],
1625
1574
  [[
1626
1575
  p,
1627
1576
  /(.+)/,
1628
- "$1 " + A
1577
+ "$1 " + O
1629
1578
  ], g],
1630
1579
  [/(comodo_dragon)\/([\w\.]+)/i],
1631
1580
  [[
@@ -1646,7 +1595,7 @@ function Ar() {
1646
1595
  ],
1647
1596
  [p],
1648
1597
  [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],
1649
- [[p, Cn], g],
1598
+ [[p, gn], g],
1650
1599
  [
1651
1600
  /(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
1652
1601
  /(naver)\(.*?(\d+\.[\w\.]+).*\)/i,
@@ -1660,11 +1609,11 @@ function Ar() {
1660
1609
  [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],
1661
1610
  [g, [p, "TikTok"]],
1662
1611
  [/headlesschrome(?:\/([\w\.]+)| )/i],
1663
- [g, [p, j + " Headless"]],
1612
+ [g, [p, A + " Headless"]],
1664
1613
  [/ wv\).+(chrome)\/([\w\.]+)/i],
1665
- [[p, j + " WebView"], g],
1614
+ [[p, A + " WebView"], g],
1666
1615
  [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],
1667
- [g, [p, "Android " + A]],
1616
+ [g, [p, "Android " + O]],
1668
1617
  [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],
1669
1618
  [p, g],
1670
1619
  [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],
@@ -1674,15 +1623,15 @@ function Ar() {
1674
1623
  [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],
1675
1624
  [p, [
1676
1625
  g,
1677
- kn,
1678
- An
1626
+ bn,
1627
+ xn
1679
1628
  ]],
1680
1629
  [/(webkit|khtml)\/([\w\.]+)/i],
1681
1630
  [p, g],
1682
1631
  [/(navigator|netscape\d?)\/([-\w\.]+)/i],
1683
1632
  [[p, "Netscape"], g],
1684
1633
  [/mobile vr; rv:([\w\.]+)\).+firefox/i],
1685
- [g, [p, N + " Reality"]],
1634
+ [g, [p, j + " Reality"]],
1686
1635
  [
1687
1636
  /ekiohf.+(flow)\/([\w\.]+)/i,
1688
1637
  /(swiftfox)/i,
@@ -1706,7 +1655,7 @@ function Ar() {
1706
1655
  [/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],
1707
1656
  [[_, "amd64"]],
1708
1657
  [/(ia32(?=;))/i],
1709
- [[_, J]],
1658
+ [[_, q]],
1710
1659
  [/((?:i[346]|x)86)[;\)]/i],
1711
1660
  [[_, "ia32"]],
1712
1661
  [/\b(aarch64|arm(v?8e?l?|_?64))\b/i],
@@ -1720,18 +1669,18 @@ function Ar() {
1720
1669
  _,
1721
1670
  /ower/,
1722
1671
  a,
1723
- J
1672
+ q
1724
1673
  ]],
1725
1674
  [/(sun4\w)[;\)]/i],
1726
1675
  [[_, "sparc"]],
1727
1676
  [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],
1728
- [[_, J]]
1677
+ [[_, q]]
1729
1678
  ],
1730
1679
  device: [
1731
1680
  [/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],
1732
1681
  [
1733
1682
  f,
1734
- [h, B],
1683
+ [h, R],
1735
1684
  [m, b]
1736
1685
  ],
1737
1686
  [
@@ -1741,7 +1690,7 @@ function Ar() {
1741
1690
  ],
1742
1691
  [
1743
1692
  f,
1744
- [h, B],
1693
+ [h, R],
1745
1694
  [m, y]
1746
1695
  ],
1747
1696
  [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],
@@ -1765,19 +1714,19 @@ function Ar() {
1765
1714
  [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],
1766
1715
  [
1767
1716
  f,
1768
- [h, Sn],
1717
+ [h, hn],
1769
1718
  [m, y]
1770
1719
  ],
1771
1720
  [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],
1772
1721
  [
1773
1722
  f,
1774
- [h, F],
1723
+ [h, P],
1775
1724
  [m, b]
1776
1725
  ],
1777
1726
  [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],
1778
1727
  [
1779
1728
  f,
1780
- [h, F],
1729
+ [h, P],
1781
1730
  [m, y]
1782
1731
  ],
1783
1732
  [
@@ -1793,7 +1742,7 @@ function Ar() {
1793
1742
  /_/g,
1794
1743
  " "
1795
1744
  ],
1796
- [h, H],
1745
+ [h, B],
1797
1746
  [m, y]
1798
1747
  ],
1799
1748
  [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],
@@ -1803,7 +1752,7 @@ function Ar() {
1803
1752
  /_/g,
1804
1753
  " "
1805
1754
  ],
1806
- [h, H],
1755
+ [h, B],
1807
1756
  [m, b]
1808
1757
  ],
1809
1758
  [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],
@@ -1831,19 +1780,19 @@ function Ar() {
1831
1780
  ],
1832
1781
  [
1833
1782
  f,
1834
- [h, R],
1783
+ [h, mn],
1835
1784
  [m, y]
1836
1785
  ],
1837
1786
  [/\b(mz60\d|xoom[2 ]{0,2}) build\//i],
1838
1787
  [
1839
1788
  f,
1840
- [h, R],
1789
+ [h, mn],
1841
1790
  [m, b]
1842
1791
  ],
1843
1792
  [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],
1844
1793
  [
1845
1794
  f,
1846
- [h, I],
1795
+ [h, F],
1847
1796
  [m, b]
1848
1797
  ],
1849
1798
  [
@@ -1853,7 +1802,7 @@ function Ar() {
1853
1802
  ],
1854
1803
  [
1855
1804
  f,
1856
- [h, I],
1805
+ [h, F],
1857
1806
  [m, y]
1858
1807
  ],
1859
1808
  [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],
@@ -1875,25 +1824,25 @@ function Ar() {
1875
1824
  [/(pixel c)\b/i],
1876
1825
  [
1877
1826
  f,
1878
- [h, P],
1827
+ [h, N],
1879
1828
  [m, b]
1880
1829
  ],
1881
1830
  [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],
1882
1831
  [
1883
1832
  f,
1884
- [h, P],
1833
+ [h, N],
1885
1834
  [m, y]
1886
1835
  ],
1887
1836
  [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],
1888
1837
  [
1889
1838
  f,
1890
- [h, V],
1839
+ [h, z],
1891
1840
  [m, y]
1892
1841
  ],
1893
1842
  [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i],
1894
1843
  [
1895
1844
  [f, "Xperia Tablet"],
1896
- [h, V],
1845
+ [h, z],
1897
1846
  [m, b]
1898
1847
  ],
1899
1848
  [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],
@@ -1931,19 +1880,19 @@ function Ar() {
1931
1880
  [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i],
1932
1881
  [
1933
1882
  f,
1934
- [h, O],
1883
+ [h, D],
1935
1884
  [m, y]
1936
1885
  ],
1937
1886
  [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],
1938
1887
  [
1939
1888
  f,
1940
- [h, D],
1889
+ [h, fn],
1941
1890
  [m, b]
1942
1891
  ],
1943
1892
  [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],
1944
1893
  [
1945
1894
  f,
1946
- [h, D],
1895
+ [h, fn],
1947
1896
  [m, y]
1948
1897
  ],
1949
1898
  [/(nexus 9)/i],
@@ -2012,7 +1961,7 @@ function Ar() {
2012
1961
  [/(surface duo)/i],
2013
1962
  [
2014
1963
  f,
2015
- [h, L],
1964
+ [h, I],
2016
1965
  [m, b]
2017
1966
  ],
2018
1967
  [/droid [\d\.]+; (fp\du?)(?: b|\))/i],
@@ -2166,19 +2115,19 @@ function Ar() {
2166
2115
  /\./g,
2167
2116
  " "
2168
2117
  ],
2169
- [h, L],
2118
+ [h, I],
2170
2119
  [m, y]
2171
2120
  ],
2172
2121
  [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],
2173
2122
  [
2174
2123
  f,
2175
- [h, W],
2124
+ [h, V],
2176
2125
  [m, b]
2177
2126
  ],
2178
2127
  [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],
2179
2128
  [
2180
2129
  f,
2181
- [h, W],
2130
+ [h, V],
2182
2131
  [m, y]
2183
2132
  ],
2184
2133
  [/smart-tv.+(samsung)/i],
@@ -2190,11 +2139,11 @@ function Ar() {
2190
2139
  /^/,
2191
2140
  "SmartTV"
2192
2141
  ],
2193
- [h, B],
2142
+ [h, R],
2194
2143
  [m, x]
2195
2144
  ],
2196
2145
  [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],
2197
- [[h, I], [m, x]],
2146
+ [[h, F], [m, x]],
2198
2147
  [/(apple) ?tv/i],
2199
2148
  [
2200
2149
  h,
@@ -2203,8 +2152,8 @@ function Ar() {
2203
2152
  ],
2204
2153
  [/crkey/i],
2205
2154
  [
2206
- [f, j + "cast"],
2207
- [h, P],
2155
+ [f, A + "cast"],
2156
+ [h, N],
2208
2157
  [m, x]
2209
2158
  ],
2210
2159
  [/droid.+aft(\w)( bui|\))/i],
@@ -2216,19 +2165,19 @@ function Ar() {
2216
2165
  [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i],
2217
2166
  [
2218
2167
  f,
2219
- [h, Sn],
2168
+ [h, hn],
2220
2169
  [m, x]
2221
2170
  ],
2222
2171
  [/(bravia[\w ]+)( bui|\))/i],
2223
2172
  [
2224
2173
  f,
2225
- [h, V],
2174
+ [h, z],
2226
2175
  [m, x]
2227
2176
  ],
2228
2177
  [/(mitv-\w{5}) bui/i],
2229
2178
  [
2230
2179
  f,
2231
- [h, H],
2180
+ [h, B],
2232
2181
  [m, x]
2233
2182
  ],
2234
2183
  [/Hbbtv.*(technisat) (.*);/i],
@@ -2239,8 +2188,8 @@ function Ar() {
2239
2188
  ],
2240
2189
  [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],
2241
2190
  [
2242
- [h, On],
2243
- [f, On],
2191
+ [h, J],
2192
+ [f, J],
2244
2193
  [m, x]
2245
2194
  ],
2246
2195
  [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],
@@ -2260,13 +2209,13 @@ function Ar() {
2260
2209
  [/(playstation [345portablevi]+)/i],
2261
2210
  [
2262
2211
  f,
2263
- [h, V],
2212
+ [h, z],
2264
2213
  [m, v]
2265
2214
  ],
2266
2215
  [/\b(xbox(?: one)?(?!; xbox))[\); ]/i],
2267
2216
  [
2268
2217
  f,
2269
- [h, L],
2218
+ [h, I],
2270
2219
  [m, v]
2271
2220
  ],
2272
2221
  [/((pebble))app/i],
@@ -2284,19 +2233,19 @@ function Ar() {
2284
2233
  [/droid.+; (glass) \d/i],
2285
2234
  [
2286
2235
  f,
2287
- [h, P],
2236
+ [h, N],
2288
2237
  [m, S]
2289
2238
  ],
2290
2239
  [/droid.+; (wt63?0{2,3})\)/i],
2291
2240
  [
2292
2241
  f,
2293
- [h, W],
2242
+ [h, V],
2294
2243
  [m, S]
2295
2244
  ],
2296
2245
  [/(quest( 2| pro)?)/i],
2297
2246
  [
2298
2247
  f,
2299
- [h, Cn],
2248
+ [h, gn],
2300
2249
  [m, S]
2301
2250
  ],
2302
2251
  [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],
@@ -2320,7 +2269,7 @@ function Ar() {
2320
2269
  ],
2321
2270
  engine: [
2322
2271
  [/windows.+ edge\/([\w\.]+)/i],
2323
- [g, [p, xn + "HTML"]],
2272
+ [g, [p, pn + "HTML"]],
2324
2273
  [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],
2325
2274
  [g, [p, "Blink"]],
2326
2275
  [
@@ -2345,14 +2294,14 @@ function Ar() {
2345
2294
  ],
2346
2295
  [p, [
2347
2296
  g,
2348
- kn,
2349
- jn
2297
+ bn,
2298
+ Sn
2350
2299
  ]],
2351
2300
  [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],
2352
2301
  [[p, "Windows"], [
2353
2302
  g,
2354
- kn,
2355
- jn
2303
+ bn,
2304
+ Sn
2356
2305
  ]],
2357
2306
  [
2358
2307
  /ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,
@@ -2365,7 +2314,7 @@ function Ar() {
2365
2314
  "."
2366
2315
  ], [p, "iOS"]],
2367
2316
  [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i],
2368
- [[p, Tn], [
2317
+ [[p, vn], [
2369
2318
  g,
2370
2319
  /_/g,
2371
2320
  "."
@@ -2380,19 +2329,19 @@ function Ar() {
2380
2329
  ],
2381
2330
  [p, g],
2382
2331
  [/\(bb(10);/i],
2383
- [g, [p, O]],
2332
+ [g, [p, D]],
2384
2333
  [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],
2385
2334
  [g, [p, "Symbian"]],
2386
2335
  [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
2387
- [g, [p, N + " OS"]],
2336
+ [g, [p, j + " OS"]],
2388
2337
  [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
2389
2338
  [g, [p, "webOS"]],
2390
2339
  [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],
2391
2340
  [g, [p, "watchOS"]],
2392
2341
  [/crkey\/([\d\.]+)/i],
2393
- [g, [p, j + "cast"]],
2342
+ [g, [p, A + "cast"]],
2394
2343
  [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],
2395
- [[p, wn], g],
2344
+ [[p, _n], g],
2396
2345
  [
2397
2346
  /panasonic;(viera)/i,
2398
2347
  /(netrange)mmh/i,
@@ -2421,10 +2370,10 @@ function Ar() {
2421
2370
  ]
2422
2371
  }, Z = function(e, t) {
2423
2372
  if (typeof e === l && (t = e, e = r), !(this instanceof Z)) return new Z(e, t).getResult();
2424
- var i = typeof n !== c && n.navigator ? n.navigator : r, o = e || (i && i.userAgent ? i.userAgent : a), v = i && i.userAgentData ? i.userAgentData : r, x = t ? G(Mn, t) : Mn, S = i && i.userAgent == o;
2373
+ var i = typeof n !== c && n.navigator ? n.navigator : r, o = e || (i && i.userAgent ? i.userAgent : a), v = i && i.userAgentData ? i.userAgentData : r, x = t ? H(Cn, t) : Cn, S = i && i.userAgent == o;
2425
2374
  return this.getBrowser = function() {
2426
2375
  var e = {};
2427
- return e[p] = r, e[g] = r, X.call(e, o, x.browser), e[d] = Dn(e[g]), S && i && i.brave && typeof i.brave.isBrave == s && (e[p] = "Brave"), e;
2376
+ return e[p] = r, e[g] = r, X.call(e, o, x.browser), e[d] = yn(e[g]), S && i && i.brave && typeof i.brave.isBrave == s && (e[p] = "Brave"), e;
2428
2377
  }, this.getCPU = function() {
2429
2378
  var e = {};
2430
2379
  return e[_] = r, X.call(e, o, x.cpu), e;
@@ -2436,7 +2385,7 @@ function Ar() {
2436
2385
  return e[p] = r, e[g] = r, X.call(e, o, x.engine), e;
2437
2386
  }, this.getOS = function() {
2438
2387
  var e = {};
2439
- return e[p] = r, e[g] = r, X.call(e, o, x.os), S && !e[p] && v && v.platform != "Unknown" && (e[p] = v.platform.replace(/chrome os/i, wn).replace(/macos/i, Tn)), e;
2388
+ return e[p] = r, e[g] = r, X.call(e, o, x.os), S && !e[p] && v && v.platform != "Unknown" && (e[p] = v.platform.replace(/chrome os/i, _n).replace(/macos/i, vn)), e;
2440
2389
  }, this.getResult = function() {
2441
2390
  return {
2442
2391
  ua: this.getUA(),
@@ -2449,14 +2398,14 @@ function Ar() {
2449
2398
  }, this.getUA = function() {
2450
2399
  return o;
2451
2400
  }, this.setUA = function(e) {
2452
- return o = typeof e === u && e.length > w ? On(e, w) : e, this;
2401
+ return o = typeof e === u && e.length > w ? J(e, w) : e, this;
2453
2402
  }, this.setUA(o), this;
2454
2403
  };
2455
- Z.VERSION = i, Z.BROWSER = q([
2404
+ Z.VERSION = i, Z.BROWSER = W([
2456
2405
  p,
2457
2406
  g,
2458
2407
  d
2459
- ]), Z.CPU = q([_]), Z.DEVICE = q([
2408
+ ]), Z.CPU = W([_]), Z.DEVICE = W([
2460
2409
  f,
2461
2410
  h,
2462
2411
  m,
@@ -2466,7 +2415,7 @@ function Ar() {
2466
2415
  b,
2467
2416
  S,
2468
2417
  C
2469
- ]), Z.ENGINE = Z.OS = q([p, g]), typeof t === c ? typeof n !== c && (n.UAParser = Z) : (e.exports && (t = e.exports = Z), t.UAParser = Z);
2418
+ ]), Z.ENGINE = Z.OS = W([p, g]), typeof t === c ? typeof n !== c && (n.UAParser = Z) : (e.exports && (t = e.exports = Z), t.UAParser = Z);
2470
2419
  var Q = typeof n !== c && (n.jQuery || n.Zepto);
2471
2420
  if (Q && !Q.ua) {
2472
2421
  var $ = new Z();
@@ -2860,6 +2809,120 @@ var ICMSServer = class {
2860
2809
  if (n.success) return n.data ?? [];
2861
2810
  throw Error(n.msg);
2862
2811
  }
2812
+ async loadPhotoDetail(e) {
2813
+ let t = baseUrl.site + "getPhoto", n = await this.http.get({
2814
+ url: t,
2815
+ data: { photoId: e }
2816
+ });
2817
+ if (n.success) return n.data;
2818
+ throw Error(n.msg);
2819
+ }
2820
+ async loadPhotoPageInfo(e) {
2821
+ let t = baseUrl.site + "searchPhotoForPage", n = await this.http.get({
2822
+ url: t,
2823
+ data: { ...e }
2824
+ });
2825
+ if (n.success) return n.data ?? buildEmptyPageInfo({
2826
+ pageNo: e.pageNo,
2827
+ pageSize: e.pageSize
2828
+ });
2829
+ throw Error(n.msg);
2830
+ }
2831
+ async loadPhotoPageInfoByGroup(e) {
2832
+ let t = baseUrl.site + "searchPhotoForPageByGroup", n = await this.http.get({
2833
+ url: t,
2834
+ data: { ...e }
2835
+ });
2836
+ if (n.success) return n.data ?? buildEmptyPageInfo({
2837
+ pageNo: e.pageNo,
2838
+ pageSize: e.pageSize
2839
+ });
2840
+ throw Error(n.msg);
2841
+ }
2842
+ async loadPhotoListByGroupId(e) {
2843
+ let t = baseUrl.site + "searchPhotoByGroup", n = await this.http.get({
2844
+ url: t,
2845
+ data: { ...e }
2846
+ });
2847
+ if (n.success) return n.data ?? [];
2848
+ throw Error(n.msg);
2849
+ }
2850
+ async loadVideoDetail(e) {
2851
+ let t = baseUrl.site + "getVideo", n = await this.http.get({
2852
+ url: t,
2853
+ data: { videoId: e }
2854
+ });
2855
+ if (n.success) return n.data;
2856
+ throw Error(n.msg);
2857
+ }
2858
+ async loadVideoPageInfo(e) {
2859
+ let t = baseUrl.site + "searchVideoForPage", n = await this.http.get({
2860
+ url: t,
2861
+ data: { ...e }
2862
+ });
2863
+ if (n.success) return n.data ?? buildEmptyPageInfo({
2864
+ pageNo: e.pageNo,
2865
+ pageSize: e.pageSize
2866
+ });
2867
+ throw Error(n.msg);
2868
+ }
2869
+ async loadVideoPageInfoByGroup(e) {
2870
+ let t = baseUrl.site + "searchVideoForPageByGroup", n = await this.http.get({
2871
+ url: t,
2872
+ data: { ...e }
2873
+ });
2874
+ if (n.success) return n.data ?? buildEmptyPageInfo({
2875
+ pageNo: e.pageNo,
2876
+ pageSize: e.pageSize
2877
+ });
2878
+ throw Error(n.msg);
2879
+ }
2880
+ async loadVideoListByGroupId(e) {
2881
+ let t = baseUrl.site + "searchVideoByGroup", n = await this.http.get({
2882
+ url: t,
2883
+ data: { ...e }
2884
+ });
2885
+ if (n.success) return n.data ?? [];
2886
+ throw Error(n.msg);
2887
+ }
2888
+ async loadActivityDetail(e) {
2889
+ let t = baseUrl.site + "getActivity", n = await this.http.get({
2890
+ url: t,
2891
+ data: { activityId: e }
2892
+ });
2893
+ if (n.success) return n.data;
2894
+ throw Error(n.msg);
2895
+ }
2896
+ async loadActivityPageInfo(e) {
2897
+ let t = baseUrl.site + "searchActivityForPage", n = await this.http.get({
2898
+ url: t,
2899
+ data: { ...e }
2900
+ });
2901
+ if (n.success) return n.data ?? buildEmptyPageInfo({
2902
+ pageNo: e.pageNo,
2903
+ pageSize: e.pageSize
2904
+ });
2905
+ throw Error(n.msg);
2906
+ }
2907
+ async loadActivityPageInfoByGroup(e) {
2908
+ let t = baseUrl.site + "searchActivityForPageByGroup", n = await this.http.get({
2909
+ url: t,
2910
+ data: { ...e }
2911
+ });
2912
+ if (n.success) return n.data ?? buildEmptyPageInfo({
2913
+ pageNo: e.pageNo,
2914
+ pageSize: e.pageSize
2915
+ });
2916
+ throw Error(n.msg);
2917
+ }
2918
+ async loadActivityListByGroupId(e) {
2919
+ let t = baseUrl.site + "searchActivityByGroup", n = await this.http.get({
2920
+ url: t,
2921
+ data: { ...e }
2922
+ });
2923
+ if (n.success) return n.data ?? [];
2924
+ throw Error(n.msg);
2925
+ }
2863
2926
  async loadReviewList(e) {
2864
2927
  let t = baseUrl.site + "getReviewList", n = await this.http.get({
2865
2928
  url: t,
@@ -2871,7 +2934,91 @@ var ICMSServer = class {
2871
2934
  if (n.success) return n.data ?? [];
2872
2935
  throw Error(n.msg);
2873
2936
  }
2874
- }, APIMAP = {};
2937
+ async submitComment(e) {
2938
+ let t = baseUrl.site + "comment";
2939
+ return (await this.http.post({
2940
+ url: t,
2941
+ data: e
2942
+ })).success;
2943
+ }
2944
+ async subscribe(e) {
2945
+ let t = baseUrl.site + "userSubscribe";
2946
+ return (await this.http.post({
2947
+ url: t,
2948
+ data: e
2949
+ })).success;
2950
+ }
2951
+ async submitContactUs(e) {
2952
+ let t = baseUrl.site + "contactUs";
2953
+ return (await this.http.post({
2954
+ url: t,
2955
+ data: e
2956
+ })).success;
2957
+ }
2958
+ async loadLinkGroups() {
2959
+ let e = baseUrl.site + "getLinkGroupList", t = await this.http.get({ url: e });
2960
+ if (t.success) return t.data ?? [];
2961
+ throw Error(t.msg);
2962
+ }
2963
+ async loadFriendLinks(e) {
2964
+ let t = baseUrl.site + "getFriendLinks", n = await this.http.get({
2965
+ url: t,
2966
+ data: e ? { count: String(e) } : void 0
2967
+ });
2968
+ if (n.success) return n.data ?? [];
2969
+ throw Error(n.msg);
2970
+ }
2971
+ async submitLink(e) {
2972
+ let t = baseUrl.site + "addLink";
2973
+ return (await this.http.post({
2974
+ url: t,
2975
+ data: e
2976
+ })).success;
2977
+ }
2978
+ async getSpecDescription(e) {
2979
+ let t = baseUrl.shop + "getSpecDescription", n = await this.http.get({
2980
+ url: t,
2981
+ data: { code: e }
2982
+ });
2983
+ if (n.success) return n.data;
2984
+ throw Error(n.msg);
2985
+ }
2986
+ }, APIMAP = {
2987
+ loadI18nList: "guest/site/i18nList",
2988
+ loadWebsite: "guest/site/currentWebSite",
2989
+ loadChannels: "guest/site/getChannelListByNo",
2990
+ loadChannelById: "guest/site/getChannelById",
2991
+ loadChannelByNo: "guest/site/getChannelByNo",
2992
+ loadChannelByUri: "guest/site/getChannelByUrl",
2993
+ loadProductDetail: "guest/site/getProduct",
2994
+ loadProductPageInfo: "guest/site/searchProductForPage",
2995
+ loadProductPageInfoByGroup: "guest/site/searchProductForPageByGroup",
2996
+ loadProductListByGroupId: "guest/site/searchProductByGroup",
2997
+ loadNewsDetail: "guest/site/getNewsDetail",
2998
+ loadNewsPageInfo: "guest/site/searchNewsForPage",
2999
+ loadNewsPageInfoByGroupId: "guest/site/searchNewsForPageByGroup",
3000
+ loadNewsListByGroupId: "guest/site/searchNewsByGroup",
3001
+ loadPhotoDetail: "guest/site/getPhoto",
3002
+ loadPhotoPageInfo: "guest/site/searchPhotoForPage",
3003
+ loadPhotoPageInfoByGroup: "guest/site/searchPhotoForPageByGroup",
3004
+ loadPhotoListByGroupId: "guest/site/searchPhotoByGroup",
3005
+ loadVideoDetail: "guest/site/getVideo",
3006
+ loadVideoPageInfo: "guest/site/searchVideoForPage",
3007
+ loadVideoPageInfoByGroup: "guest/site/searchVideoForPageByGroup",
3008
+ loadVideoListByGroupId: "guest/site/searchVideoByGroup",
3009
+ loadActivityDetail: "guest/site/getActivity",
3010
+ loadActivityPageInfo: "guest/site/searchActivityForPage",
3011
+ loadActivityPageInfoByGroup: "guest/site/searchActivityForPageByGroup",
3012
+ loadActivityListByGroupId: "guest/site/searchActivityByGroup",
3013
+ loadReviewList: "guest/site/getReviewList",
3014
+ submitComment: "guest/site/comment",
3015
+ subscribe: "guest/site/userSubscribe",
3016
+ submitContactUs: "guest/site/contactUs",
3017
+ loadLinkGroups: "guest/site/getLinkGroupList",
3018
+ loadFriendLinks: "guest/site/getFriendLinks",
3019
+ submitLink: "guest/site/addLink",
3020
+ getSpecDescription: "guest/site/shop/getSpecDescription"
3021
+ };
2875
3022
  const icmsRouter = async ({ request: e, routeAdapter: t, storage: n }) => await new Jr({
2876
3023
  config: {
2877
3024
  userType: Zt.TYPE_C,
@@ -2881,23 +3028,6 @@ const icmsRouter = async ({ request: e, routeAdapter: t, storage: n }) => await
2881
3028
  adapter: t,
2882
3029
  storage: n
2883
3030
  }).handleRequest(e);
2884
- var ICMSClient = class {
2885
- cookies = null;
2886
- constructor() {}
2887
- async submitComment() {}
2888
- setICookies(e) {
2889
- return this.cookies = e, this;
2890
- }
2891
- async login({ username: e, password: t }) {
2892
- if (await zr("login", { data: {
2893
- username: e,
2894
- password: t
2895
- } }), this.cookies) return Xr(this.cookies);
2896
- }
2897
- async logout() {
2898
- await zr("logout");
2899
- }
2900
- };
2901
- export { ICMSClient, ICMSServer, helloURL, icmsRouter };
3031
+ export { ICMSServer, helloURL, icmsRouter };
2902
3032
 
2903
3033
  //# sourceMappingURL=icms-api.es.js.map