@orbe-agro/client-core 5.3.125 → 5.3.127

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.
Files changed (27) hide show
  1. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +0 -4
  2. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  3. package/dist/@types/base/configs/endpoints.config/racao/config/segmentoProduto.d.ts +0 -4
  4. package/dist/@types/base/configs/endpoints.config/racao/config/segmentoProduto.d.ts.map +1 -1
  5. package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts +0 -4
  6. package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts.map +1 -1
  7. package/dist/@types/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.d.ts +1 -1
  8. package/dist/@types/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.d.ts.map +1 -1
  9. package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts +0 -1
  10. package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts.map +1 -1
  11. package/dist/base/configs/endpoints.config/racao/config/segmentoProduto.js +0 -1
  12. package/dist/base/configs/endpoints.config/racao/config/segmentoProduto.js.map +1 -1
  13. package/dist/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.js +13 -13
  14. package/dist/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.js.map +1 -1
  15. package/dist/base/index.js +255 -256
  16. package/dist/base/services/index.js +231 -232
  17. package/dist/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.js +5 -5
  18. package/dist/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.js.map +1 -1
  19. package/dist/base/services/modules/index.js +238 -239
  20. package/dist/base/services/modules/racao/index.js +39 -40
  21. package/dist/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.js +10 -18
  22. package/dist/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.js.map +1 -1
  23. package/lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts +0 -1
  24. package/lib/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.tsx +9 -9
  25. package/lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx +2 -2
  26. package/lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts +0 -8
  27. package/package.json +1 -1
@@ -24,10 +24,6 @@ declare const endpointNavigationConfig: {
24
24
  endpoint: string;
25
25
  method: string;
26
26
  };
27
- find: {
28
- endpoint: string;
29
- method: string;
30
- };
31
27
  add: {
32
28
  endpoint: string;
33
29
  method: string;
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAyCA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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point: string;
4
4
  method: string;
5
5
  };
6
- find: {
7
- endpoint: string;
8
- method: string;
9
- };
10
6
  add: {
11
7
  endpoint: string;
12
8
  method: string;
@@ -1 +1 @@
1
- {"version":3,"file":"segmentoProduto.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAOpB,CAAA;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"segmentoProduto.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;CAMpB,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -4,10 +4,6 @@ declare const racao: {
4
4
  endpoint: string;
5
5
  method: string;
6
6
  };
7
- find: {
8
- endpoint: string;
9
- method: string;
10
- };
11
7
  add: {
12
8
  endpoint: string;
13
9
  method: string;
@@ -1 +1 @@
1
- {"version":3,"file":"racao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUV,CAAA;AAED,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"racao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUV,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -3,7 +3,7 @@ import { TTipoVeiculo } from "@base/@types/models/dm/tipoVeiculo";
3
3
  type TipoVeiculoResponse = {
4
4
  content: TTipoVeiculo[];
5
5
  };
6
- export declare function apiFindDmTipoVeiculo(data?: {}): Promise<TipoVeiculoResponse>;
6
+ export declare function apiFindDmTipoVeiculo(body: any): Promise<TipoVeiculoResponse>;
7
7
  export declare function apiFindDmTipoVeiculoByCodigo(codigo: string): Promise<TTipoVeiculo>;
8
8
  export declare function apiFindMonitorTipoVeiculo(body?: IFilterParams): Promise<TQueryResponse<any>>;
9
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"TipoVeiculoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAKlE,KAAK,mBAAmB,GAAG;IACvB,OAAO,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAsB,oBAAoB,CAAC,IAAI,KAAK,gCAMnD;AAED,wBAAsB,4BAA4B,CAAC,MAAM,EAAE,MAAM,yBAKhE;AAED,wBAAsB,yBAAyB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMnE"}
1
+ {"version":3,"file":"TipoVeiculoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAKlE,KAAK,mBAAmB,GAAG;IACvB,OAAO,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAsB,oBAAoB,CAAC,IAAI,KAAA,gCAM9C;AAED,wBAAsB,4BAA4B,CAAC,MAAM,EAAE,MAAM,yBAKhE;AAED,wBAAsB,yBAAyB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMnE"}
@@ -1,7 +1,6 @@
1
1
  import { IFilterParams, TQueryResponse } from "@base/@types/api";
2
2
  import { TSegmentoProduto } from "@base/@types/models/racao/segmentoProduto";
3
3
  export declare function apiGetRacaoSegmentoProduto(id: string): Promise<TSegmentoProduto>;
4
- export declare function apiFindRacaoSegmentoProduto(data?: {}): Promise<TSegmentoProduto[]>;
5
4
  export declare function apiAddRacaoSegmentoProduto(body: TSegmentoProduto): Promise<TQueryResponse<TSegmentoProduto>>;
6
5
  export declare function apiUpdateRacaoSegmentoProduto(body: TSegmentoProduto): Promise<TQueryResponse<TSegmentoProduto>>;
7
6
  export declare function apiDeleteRacaoSegmentoProduto(id: string): Promise<TQueryResponse<TSegmentoProduto>>;
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentoProdutoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAK7E,wBAAsB,0BAA0B,CAAC,EAAE,EAAE,MAAM,6BAK1D;AAED,wBAAsB,2BAA2B,CAAC,IAAI,KAAK,+BAM1D;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,gBAAgB,6CAMtE;AAED,wBAAsB,6BAA6B,CAAC,IAAI,EAAE,gBAAgB,6CAMzE;AAED,wBAAsB,6BAA6B,CAAC,EAAE,EAAE,MAAM,6CAK7D;AAED,wBAAsB,kCAAkC,CAAC,IAAI,CAAC,EAAE,aAAa,6CAM5E"}
1
+ {"version":3,"file":"SegmentoProdutoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAK7E,wBAAsB,0BAA0B,CAAC,EAAE,EAAE,MAAM,6BAK1D;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,gBAAgB,6CAMtE;AAED,wBAAsB,6BAA6B,CAAC,IAAI,EAAE,gBAAgB,6CAMzE;AAED,wBAAsB,6BAA6B,CAAC,EAAE,EAAE,MAAM,6CAK7D;AAED,wBAAsB,kCAAkC,CAAC,IAAI,CAAC,EAAE,aAAa,6CAM5E"}
@@ -1,6 +1,5 @@
1
1
  const o = "/racao/api/racao/segmento-produto", t = {
2
2
  findOne: { endpoint: `${o}/`, method: "get" },
3
- find: { endpoint: `${o}/find`, method: "post" },
4
3
  add: { endpoint: `${o}`, method: "post" },
5
4
  update: { endpoint: `${o}`, method: "put" },
6
5
  delete: { endpoint: `${o}/`, method: "delete" },
@@ -1 +1 @@
1
- {"version":3,"file":"segmentoProduto.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts"],"sourcesContent":["const SEGMENTO_PRODUTO_BASE_URL = '/racao/api/racao/segmento-produto'\n\nconst segmentoProduto = {\n findOne: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/`, method: 'get' },\n find: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/find`, method: 'post' },\n add: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}`, method: 'post' },\n update: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/`, method: 'delete' },\n findMonitor: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/find-monitor`, method: 'post' },\n}\n\nexport default segmentoProduto"],"names":["SEGMENTO_PRODUTO_BASE_URL","segmentoProduto"],"mappings":"AAAA,MAAMA,IAA4B,qCAE5BC,IAAkB;AAAA,EACpB,SAAS,EAAE,UAAU,GAAGD,CAAyB,KAAK,QAAQ,MAAA;AAAA,EAC9D,MAAM,EAAE,UAAU,GAAGA,CAAyB,SAAS,QAAQ,OAAA;AAAA,EAC/D,KAAK,EAAE,UAAU,GAAGA,CAAyB,IAAI,QAAQ,OAAA;AAAA,EACzD,QAAQ,EAAE,UAAU,GAAGA,CAAyB,IAAI,QAAQ,MAAA;AAAA,EAC5D,QAAQ,EAAE,UAAU,GAAGA,CAAyB,KAAK,QAAQ,SAAA;AAAA,EAC7D,aAAa,EAAE,UAAU,GAAGA,CAAyB,iBAAiB,QAAQ,OAAA;AAClF;"}
1
+ {"version":3,"file":"segmentoProduto.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts"],"sourcesContent":["const SEGMENTO_PRODUTO_BASE_URL = '/racao/api/racao/segmento-produto'\n\nconst segmentoProduto = {\n findOne: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}`, method: 'post' },\n update: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/`, method: 'delete' },\n findMonitor: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/find-monitor`, method: 'post' },\n}\n\nexport default segmentoProduto"],"names":["SEGMENTO_PRODUTO_BASE_URL","segmentoProduto"],"mappings":"AAAA,MAAMA,IAA4B,qCAE5BC,IAAkB;AAAA,EACpB,SAAS,EAAE,UAAU,GAAGD,CAAyB,KAAK,QAAQ,MAAA;AAAA,EAC9D,KAAK,EAAE,UAAU,GAAGA,CAAyB,IAAI,QAAQ,OAAA;AAAA,EACzD,QAAQ,EAAE,UAAU,GAAGA,CAAyB,IAAI,QAAQ,MAAA;AAAA,EAC5D,QAAQ,EAAE,UAAU,GAAGA,CAAyB,KAAK,QAAQ,SAAA;AAAA,EAC7D,aAAa,EAAE,UAAU,GAAGA,CAAyB,iBAAiB,QAAQ,OAAA;AAClF;"}
@@ -2,22 +2,22 @@ import { apiFindDmTipoVeiculo as p } from "../../../services/modules/dm/tipoVeic
2
2
  import { useTipoVeiculoListStore as f } from "../../../store/dm/tipoVeiculo/tipoVeiculoListStore.js";
3
3
  import d from "swr";
4
4
  function P() {
5
- const { tableParams: i, filterParams: o, setTableParams: e, setFilterParams: s } = f((m) => m), a = ["/api/tipo-veiculo/find", o], { data: t, error: r, isLoading: n, mutate: c } = d(
6
- a,
7
- () => p(),
5
+ const { tableParams: e, filterParams: i, setTableParams: s, setFilterParams: a } = f((o) => o), r = ["/api/tipo-veiculo/find", i], { data: t, error: n, isLoading: c, mutate: l } = d(
6
+ r,
7
+ ([, o]) => p(o),
8
8
  { revalidateOnFocus: !1 }
9
- ), l = t?.content || [], u = t?.content.length || 0;
9
+ ), u = t?.content || [], m = t?.content.length || 0;
10
10
  return {
11
11
  data: t,
12
- tipoVeiculosList: l,
13
- tipoVeiculosListTotal: u,
14
- error: r,
15
- isLoading: n,
16
- tableParams: i,
17
- filterParams: o,
18
- mutate: c,
19
- setTableParams: e,
20
- setFilterParams: s
12
+ tipoVeiculosList: u,
13
+ tipoVeiculosListTotal: m,
14
+ error: n,
15
+ isLoading: c,
16
+ tableParams: e,
17
+ filterParams: i,
18
+ mutate: l,
19
+ setTableParams: s,
20
+ setFilterParams: a
21
21
  };
22
22
  }
23
23
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useTipoVeiculoList.js","sources":["../../../../../lib/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.tsx"],"sourcesContent":["import { apiFindDmTipoVeiculo } from '@base/services/modules/dm/tipoVeiculo/TipoVeiculoService';\nimport { useTipoVeiculoListStore } from '@base/store/dm/tipoVeiculo/tipoVeiculoListStore';\nimport useSWR from 'swr';\n\nexport default function useTipoVeiculoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useTipoVeiculoListStore((state) => state);\n\n const swrKey = [\"/api/tipo-veiculo/find\", filterParams];\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n () => apiFindDmTipoVeiculo(),\n { revalidateOnFocus: false }\n );\n\n const tipoVeiculosList = data?.content || []\n\n const tipoVeiculosListTotal = data?.content.length || 0\n\n return {\n data,\n tipoVeiculosList,\n tipoVeiculosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}"],"names":["useTipoVeiculoList","tableParams","filterParams","setTableParams","setFilterParams","useTipoVeiculoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","apiFindDmTipoVeiculo","tipoVeiculosList","tipoVeiculosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAqB;AACzC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAwB,CAACC,MAAUA,CAAK,GAEtCC,IAAS,CAAC,0BAA0BL,CAAY,GAEhD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,MAAMM,EAAA;AAAA,IACN,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBC,IAAmBN,GAAM,WAAW,CAAA,GAEpCO,IAAwBP,GAAM,QAAQ,UAAU;AAEtD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,kBAAAM;AAAA,IACA,uBAAAC;AAAA,IACA,OAAAN;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
1
+ {"version":3,"file":"useTipoVeiculoList.js","sources":["../../../../../lib/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.tsx"],"sourcesContent":["import { apiFindDmTipoVeiculo } from '@base/services/modules/dm/tipoVeiculo/TipoVeiculoService'\nimport { useTipoVeiculoListStore } from '@base/store/dm/tipoVeiculo/tipoVeiculoListStore'\nimport useSWR from 'swr'\n\nexport default function useTipoVeiculoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useTipoVeiculoListStore((state) => state)\n\n const swrKey = ['/api/tipo-veiculo/find', filterParams]\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n ([, body]) => apiFindDmTipoVeiculo(body),\n { revalidateOnFocus: false },\n )\n\n const tipoVeiculosList = data?.content || []\n\n const tipoVeiculosListTotal = data?.content.length || 0\n\n return {\n data,\n tipoVeiculosList,\n tipoVeiculosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}\n"],"names":["useTipoVeiculoList","tableParams","filterParams","setTableParams","setFilterParams","useTipoVeiculoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","body","apiFindDmTipoVeiculo","tipoVeiculosList","tipoVeiculosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAqB;AACzC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAwB,CAACC,MAAUA,CAAK,GAEtCC,IAAS,CAAC,0BAA0BL,CAAY,GAEhD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,CAAC,GAAGM,CAAI,MAAMC,EAAqBD,CAAI;AAAA,IACvC,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBE,IAAmBP,GAAM,WAAW,CAAA,GAEpCQ,IAAwBR,GAAM,QAAQ,UAAU;AAEtD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,kBAAAO;AAAA,IACA,uBAAAC;AAAA,IACA,OAAAP;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}