@prezly/theme-kit-nextjs 1.15.0-0 → 1.16.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/adapter-nextjs/page-props/category.d.ts +1 -1
- package/build/adapter-nextjs/page-props/category.js.map +1 -1
- package/build/adapter-nextjs/page-props/gallery.d.ts +1 -1
- package/build/adapter-nextjs/page-props/gallery.js.map +1 -1
- package/build/adapter-nextjs/page-props/galleryAlbum.d.ts +1 -1
- package/build/adapter-nextjs/page-props/galleryAlbum.js.map +1 -1
- package/build/adapter-nextjs/page-props/home.d.ts +1 -1
- package/build/adapter-nextjs/page-props/home.js.map +1 -1
- package/build/adapter-nextjs/page-props/lib/types.d.ts +1 -1
- package/build/adapter-nextjs/page-props/search.d.ts +2 -2
- package/build/adapter-nextjs/page-props/search.js.map +1 -1
- package/build/adapter-nextjs/page-props/story.d.ts +1 -1
- package/build/adapter-nextjs/page-props/story.js.map +1 -1
- package/build/components-nextjs/document.d.ts +6 -0
- package/build/components-nextjs/document.js +77 -0
- package/build/components-nextjs/document.js.map +1 -0
- package/build/components-nextjs/index.d.ts +1 -0
- package/build/components-nextjs/index.js +3 -1
- package/build/components-nextjs/index.js.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/sentry/client.d.ts +2 -0
- package/build/sentry/client.js +9 -0
- package/build/sentry/client.js.map +1 -0
- package/build/sentry/common.d.ts +2 -0
- package/build/sentry/common.js +29 -0
- package/build/sentry/common.js.map +1 -0
- package/build/sentry/index.d.ts +2 -0
- package/build/sentry/index.js +8 -0
- package/build/sentry/index.js.map +1 -0
- package/build/sentry/server.d.ts +2 -0
- package/build/sentry/server.js +9 -0
- package/build/sentry/server.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/src/adapter-nextjs/page-props/category.ts +5 -2
- package/src/adapter-nextjs/page-props/gallery.ts +5 -2
- package/src/adapter-nextjs/page-props/galleryAlbum.ts +5 -2
- package/src/adapter-nextjs/page-props/home.ts +5 -2
- package/src/adapter-nextjs/page-props/lib/types.ts +4 -4
- package/src/adapter-nextjs/page-props/search.ts +10 -3
- package/src/adapter-nextjs/page-props/story.ts +5 -2
- package/src/components-nextjs/document.tsx +38 -0
- package/src/components-nextjs/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/sentry/client.ts +7 -0
- package/src/sentry/common.ts +27 -0
- package/src/sentry/index.ts +2 -0
- package/src/sentry/server.ts +7 -0
|
@@ -11,6 +11,6 @@ interface Options {
|
|
|
11
11
|
pageSize?: number;
|
|
12
12
|
}
|
|
13
13
|
export declare function getCategoryPageServerSideProps<CustomProps extends Record<string, any>, StoryType extends Story = Story>(customProps: CustomProps | PropsFunction<CustomProps>, options?: Options): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<CategoryPageProps<StoryType> & CustomProps>>;
|
|
14
|
-
export declare function getCategoryPageStaticProps<CustomProps extends Record<string, any>, StoryType extends Story = Story>(customProps: CustomProps | PropsFunction<CustomProps>, options?: Options): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<CategoryPageProps<StoryType> & CustomProps>>;
|
|
14
|
+
export declare function getCategoryPageStaticProps<CustomProps extends Record<string, any>, StoryType extends Story = Story>(customProps: CustomProps | PropsFunction<CustomProps, GetStaticPropsContext>, options?: Options): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<CategoryPageProps<StoryType> & CustomProps>>;
|
|
15
15
|
export declare function getCategoryPageStaticPaths(): Promise<GetStaticPathsResult>;
|
|
16
16
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/category.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,qDAAmD;AAEnD,mCAA0C;AAC1C,qCAA0E;AAC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0B;;;;;;oBACtC,GAAG,GAAG,IAAA,4BAAY,GAAE,CAAC;oBACW,qBAAM,OAAO,CAAC,GAAG,CAAC;4BACpD,GAAG,CAAC,aAAa,EAAE;4BACnB,GAAG,CAAC,0BAA0B,EAAE;yBACnC,CAAC,EAAA;;oBAHI,KAAA,sBAAgC,SAGpC,KAAA,EAHK,UAAU,QAAA,EAAE,eAAe,QAAA;oBAI5B,MAAM,GAAG,mBAAY,CAAC,WAAW,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;oBAExD,KAAK,GAAG,UAAU;yBACnB,GAAG,CAAC,UAAC,QAAQ;wBACF,IAAA,IAAI,GAAK,IAAA,gCAAwB,EAAC,QAAQ,EAAE,MAAM,CAAC,KAA/C,CAAgD;wBAC5D,IAAI,CAAC,IAAI,EAAE;4BACP,OAAO,SAAS,CAAC;yBACpB;wBAED,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,MAAA,EAAE,EAAE,CAAC;oBAChC,CAAC,CAAC;yBACD,MAAM,CAA+B,OAAc,CAAC,CAAC;oBAE1D,sBAAO;4BACH,KAAK,OAAA;4BACL,QAAQ,EAAE,UAAU;yBACvB,EAAC;;;;CACL;AAvBD,gEAuBC"}
|
|
@@ -10,5 +10,5 @@ interface Options {
|
|
|
10
10
|
pageSize?: number;
|
|
11
11
|
}
|
|
12
12
|
export declare function getGalleryPageServerSideProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>, options?: Options): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<GalleryPageProps & CustomProps>>;
|
|
13
|
-
export declare function getGalleryPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>, options?: Options): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<GalleryPageProps & CustomProps>>;
|
|
13
|
+
export declare function getGalleryPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps, GetStaticPropsContext>, options?: Options): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<GalleryPageProps & CustomProps>>;
|
|
14
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/gallery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,qCAAwD;AACxD,4EAA2E;AAC3E,oEAAmE;AACnE,oDAAmD;AACnD,gEAA+D;AAa/D,SAAgB,6BAA6B,CACzC,WAAqD,EACrD,OAAiB;IAET,IAAA,KAAyC,CAAA,OAAO,IAAI,EAAE,CAAA,SAAlB,EAApC,QAAQ,mBAAG,iCAAyB,KAAA,CAAmB;IAE/D,OAAO,SAAe,kBAAkB,CACpC,OAAkC;;;;;4BAED,qBAAM,IAAA,uDAA0B,EAAC,OAAO,CAAC,EAAA;;wBAApE,KAA2B,SAAyC,EAAlE,GAAG,SAAA,EAAE,eAAe,qBAAA;wBACpB,KAAK,GAAK,OAAO,MAAZ,CAAa;wBAEpB,IAAI,GAAG,KAAK,CAAC,IAAI,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;wBACzD,qBAAM,GAAG,CAAC,YAAY,CAAC,EAAE,IAAI,MAAA,EAAE,QAAQ,UAAA,EAAE,CAAC,EAAA;;wBAAtE,KAA4B,SAA0C,EAApE,SAAS,eAAA,EAAE,UAAU,gBAAA;wBAE7B,0DAA0D;wBAC1D,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE;4BAChB,IAAI,GAAK,SAAS,CAAC,CAAC,CAAC,KAAjB,CAAkB;4BAE9B,sBAAO;oCACH,QAAQ,EAAE;wCACN,WAAW,EAAE,uBAAgB,IAAI,CAAE;wCACnC,SAAS,EAAE,KAAK;qCACnB;iCACJ,EAAC;yBACL;wBAEM,KAAA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Y,CAAC,EAAE,QAAQ,UAAA,EAAE,CAAC,EAAA;;wBAAhE,KAA4B,SAAoC,EAA9D,SAAS,eAAA,EAAE,UAAU,gBAAA;wBAE7B,0DAA0D;wBAC1D,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE;4BAChB,IAAI,GAAK,SAAS,CAAC,CAAC,CAAC,KAAjB,CAAkB;4BAE9B,sBAAO;oCACH,QAAQ,EAAE;wCACN,WAAW,EAAE,uBAAgB,IAAI,CAAE;wCACnC,SAAS,EAAE,KAAK;qCACnB;iCACJ,EAAC;yBACL;wBAEM,KAAA,2CAAoB,CAAA;8BAAC,OAAO;oDAC5B,WAAW,KACd,SAAS,WAAA,EACT,UAAU,EAAE;oCACR,UAAU,EAAE,UAAU,CAAC,sBAAsB;oCAC7C,WAAW,EAAE,CAAC;oCACd,QAAQ,UAAA;iCACX;6BACG,CAAA,OAAO,WAAW,KAAK,UAAU,CAAA,EAAjC,wBAAiC;wBAC/B,qBAAO,WAAiE,CACpE,OAAO,EACP,WAAW,CACd,EAAA;;wBAHD,KAAA,SAGC,CAAA;;;wBACD,KAAA,WAAW,CAAA;;4BAbrB,sBAAO,8DAQA,IAKe,MACpB,EAAC;;;;KACN,CAAC;AACN,CAAC;AAzCD,8DAyCC"}
|
|
@@ -5,5 +5,5 @@ export interface GalleryAlbumPageProps {
|
|
|
5
5
|
gallery: NewsroomGallery;
|
|
6
6
|
}
|
|
7
7
|
export declare function getGalleryAlbumPageServerSideProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<GalleryAlbumPageProps & CustomProps>>;
|
|
8
|
-
export declare function getGalleryAlbumPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<GalleryAlbumPageProps & CustomProps>>;
|
|
8
|
+
export declare function getGalleryAlbumPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps, GetStaticPropsContext>): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<GalleryAlbumPageProps & CustomProps>>;
|
|
9
9
|
export declare function getGalleryAlbumPageStaticPaths(): Promise<GetStaticPathsResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"galleryAlbum.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/galleryAlbum.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,qDAAmD;AACnD,4EAA2E;AAC3E,oEAAmE;AACnE,oDAAmD;AACnD,gEAA+D;AAQ/D,SAAgB,kCAAkC,CAC9C,WAAqD;IAErD,OAAO,SAAe,kBAAkB,CACpC,OAAkC;;;;;4BAED,qBAAM,IAAA,uDAA0B,EAAC,OAAO,CAAC,EAAA;;wBAApE,KAA2B,SAAyC,EAAlE,GAAG,SAAA,EAAE,eAAe,qBAAA;wBAEpB,IAAI,GAAK,OAAO,CAAC,MAA0B,KAAvC,CAAwC;wBACpC,qBAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,EAAA;;wBAApC,OAAO,GAAG,SAA0B;wBAE1C,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;4BACpC,sBAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAC;yBAC7B;wBAEM,KAAA,+BAAc,CAAA;8BACjB,OAAO;oDAEA,eAAe,KAClB,OAAO,SAAA;6BACH,CAAA,OAAO,WAAW,KAAK,UAAU,CAAA,EAAjC,wBAAiC;wBAC/B,qBAAO,WAA0C,CAAC,OAAO,EAAE,eAAe,CAAC,EAAA;;wBAA3E,KAAA,SAA2E,CAAA;;;wBAC3E,KAAA,WAAW,CAAA;;4BAPzB,sBAAO,8DAKI,IAEe,KAEtB,uBAAgB,IAAI,CAAE,GACzB,EAAC;;;;KACL,CAAC;AACN,CAAC;AA3BD,gFA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,EAA1D,GAAG,SAAA,EAAE,WAAW,iBAAA;wBAEhB,IAAI,GAAK,OAAO,CAAC,MAA0B,KAAvC,CAAwC;wBACpC,qBAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,EAAA;;wBAApC,OAAO,GAAG,SAA0B;wBAE1C,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;4BACpC,sBAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAC;yBAC7B;wBAEM,KAAA,2CAAoB,CAAA;8BAAC,OAAO;oDAC5B,WAAW,KACd,OAAO,SAAA;6BACH,CAAA,OAAO,WAAW,KAAK,UAAU,CAAA,EAAjC,wBAAiC;wBAC/B,qBAAO,WAAiE,CACpE,OAAO,EACP,WAAW,CACd,EAAA;;wBAHD,KAAA,SAGC,CAAA;;;wBACD,KAAA,WAAW,CAAA;;4BARrB,sBAAO,8DAGA,IAKe,MACpB,EAAC;;;;KACN,CAAC;AACN,CAAC;AA1BD,wEA0BC;AAED,SAAsB,8BAA8B;;;;;;oBAC1C,GAAG,GAAG,IAAA,4BAAY,GAAE,CAAC;oBACL,qBAAM,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,EAAA;;oBAAxC,SAAS,GAAK,CAAA,SAA0B,CAAA,UAA/B;oBAEX,KAAK,GAAG,SAAS,CAAC,GAAG,CAAC,UAAC,EAAQ;4BAAN,IAAI,UAAA;wBAAO,OAAA,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,MAAA,EAAE,EAAE,CAAC;oBAAtB,CAAsB,CAAC,CAAC;oBAElE,sBAAO;4BACH,KAAK,OAAA;4BACL,QAAQ,EAAE,UAAU;yBACvB,EAAC;;;;CACL;AAVD,wEAUC"}
|
|
@@ -11,5 +11,5 @@ interface Options {
|
|
|
11
11
|
pageSize?: number;
|
|
12
12
|
}
|
|
13
13
|
export declare function getHomepageServerSideProps<CustomProps extends Record<string, any>, StoryType extends Story = Story>(customProps: CustomProps | PropsFunction<CustomProps>, options?: Options): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<HomePageProps<StoryType> & CustomProps>>;
|
|
14
|
-
export declare function getHomepageStaticProps<CustomProps extends Record<string, any>, StoryType extends Story = Story>(customProps: CustomProps | PropsFunction<CustomProps>, options?: Options): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<HomePageProps<StoryType> & CustomProps>>;
|
|
14
|
+
export declare function getHomepageStaticProps<CustomProps extends Record<string, any>, StoryType extends Story = Story>(customProps: CustomProps | PropsFunction<CustomProps, GetStaticPropsContext>, options?: Options): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<HomePageProps<StoryType> & CustomProps>>;
|
|
15
15
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/home.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,qCAAgD;AAChD,4EAA2E;AAC3E,oEAAmE;AACnE,oDAAmD;AACnD,gEAA+D;AAc/D,SAAgB,0BAA0B,CAGxC,WAAqD,EAAE,OAAiB;IAChE,IAAA,KAAqD,OAAO,IAAI,EAAE,EAAhE,gBAA4B,EAA5B,QAAQ,mBAAG,yBAAiB,KAAA,EAAE,gBAAgB,sBAAkB,CAAC;IAEzE,OAAO,SAAe,kBAAkB,CACpC,OAAkC;;;;;4BAED,qBAAM,IAAA,uDAA0B,EAAC,OAAO,EAAE;4BACvE,oBAAoB,EAAE,IAAI;yBAC7B,CAAC,EAAA;;wBAFI,KAA2B,SAE/B,EAFM,GAAG,SAAA,EAAE,eAAe,qBAAA;wBAIpB,KAAK,GAAK,OAAO,MAAZ,CAAa;wBACpB,IAAI,GAAG,KAAK,CAAC,IAAI,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SA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A4E,EAAE,OAAiB;IACvF,IAAA,KAAqD,OAAO,IAAI,EAAE,EAAhE,gBAA4B,EAA5B,QAAQ,mBAAG,yBAAiB,KAAA,EAAE,gBAAgB,sBAAkB,CAAC;IAEzE,OAAO,SAAe,cAAc,CAChC,OAA8B;;;;;4BAED,qBAAM,IAAA,+CAAsB,EAAC,OAAO,EAAE;4BAC/D,oBAAoB,EAAE,IAAI;yBAC7B,CAAC,EAAA;;wBAFI,KAAuB,SAE3B,EAFM,GAAG,SAAA,EAAE,WAAW,iBAAA;wBAIhB,UAAU,GAAK,WAAW,CAAC,oBAAoB,WAArC,CAAsC;wBAE/B,qBAAM,GAAG,CAAC,UAAU,CAAC;gCAC1C,QAAQ,UAAA;gCACR,OAAO,EAAE,gBAAgB;gCACzB,UAAU,YAAA;6BACb,CAAC,EAAA;;wBAJI,gBAAgB,GAAG,SAIvB;wBACM,OAAO,GAAmB,gBAAgB,QAAnC,EAAE,YAAY,GAAK,gBAAgB,aAArB,CAAsB;wBAE5C,KAAA,2CAAoB,CAAA;8BAAC,OAAO;oDAC5B,WAAW;gCACd,sEAAsE;gCACtE,OAAO,EAAE,OAAsB,EAC/B,UAAU,EAAE;oCACR,UAAU,EAAE,YAAY;oCACxB,WAAW,EAAE,CAAC;oCACd,QAAQ,UAAA;iCACX;6BACG,CAAA,OAAO,WAAW,KAAK,UAAU,CAAA,EAAjC,wBAAiC;wBAC/B,qBAAO,WAAiE,CACpE,OAAO,EACP,WAAW,CACd,EAAA;;wBAHD,KAAA,SAGC,CAAA;;;wBACD,KAAA,WAAW,CAAA;;4BAdrB,sBAAO,8DASA,IAKe,MACpB,EAAC;;;;KACN,CAAC;AACN,CAAC;AAvCD,wDAuCC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { GetServerSidePropsContext, GetStaticPropsContext } from 'next';
|
|
2
2
|
import type { PageProps } from '../../../types';
|
|
3
|
-
export declare type PropsFunction<CustomProps> = (context:
|
|
3
|
+
export declare type PropsFunction<CustomProps, Context extends GetServerSidePropsContext | GetStaticPropsContext = GetServerSidePropsContext> = (context: Context, props: PageProps) => CustomProps | Promise<CustomProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GetServerSidePropsContext, GetServerSidePropsResult } from 'next';
|
|
1
|
+
import type { GetServerSidePropsContext, GetServerSidePropsResult, GetStaticPropsContext } from 'next';
|
|
2
2
|
import type { PropsFunction } from './lib/types';
|
|
3
3
|
export declare function getSearchPageServerSideProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<CustomProps>>;
|
|
4
|
-
export declare function getSearchPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<CustomProps>>;
|
|
4
|
+
export declare function getSearchPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps, GetStaticPropsContext>): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<CustomProps>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/search.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/search.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,4EAA2E;AAC3E,oEAAmE;AACnE,oDAAmD;AACnD,gEAA+D;AAI/D,SAAgB,4BAA4B,CACxC,WAAqD;IAErD,OAAO,SAAe,kBAAkB,CACpC,OAAkC;;;;;4BAEN,qBAAM,IAAA,uDAA0B,EAAC,OAAO,CAAC,EAAA;;wBAA7D,eAAe,GAAK,CAAA,SAAyC,CAAA,gBAA9C;wBAEhB,KAAA,+BAAc,CAAA;8BACjB,OAAO;2CAEA,eAAe;6BACd,CAAA,OAAO,WAAW,KAAK,UAAU,CAAA,EAAjC,wBAAiC;wBAC/B,qBAAO,WAA0C,CAAC,OAAO,EAAE,eAAe,CAAC,EAAA;;wBAA3E,KAAA,SAA2E,CAAA;;;wBAC3E,KAAA,WAAW,CAAA;;4BANzB,sBAAO,8DAII,IAEe,KAEtB,SAAS,GACZ,EAAC;;;;KACL,CAAC;AACN,CAAC;AAnBD,oEAmBC;AAED,SAAgB,wBAAwB,CACpC,WAA4E;IAE5E,OAAO,SAAe,cAAc,CAChC,OAAkC;;;;;4BAEV,qBAAM,IAAA,+CAAsB,EAAC,OAAO,CAAC,EAAA;;wBAArD,WAAW,GAAK,CAAA,SAAqC,CAAA,YAA1C;wBAEZ,KAAA,2CAAoB,CAAA;8BAAC,OAAO;2CAC5B,WAAW;6BACV,CAAA,OAAO,WAAW,KAAK,UAAU,CAAA,EAAjC,wBAAiC;wBAC/B,qBAAO,WAAiE,CACpE,OAAO,EACP,WAAW,CACd,EAAA;;wBAHD,KAAA,SAGC,CAAA;;;wBACD,KAAA,WAAW,CAAA;;4BAPrB,sBAAO,8DAEA,IAKe,MACpB,EAAC;;;;KACN,CAAC;AACN,CAAC;AAlBD,4DAkBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { GetServerSidePropsContext, GetServerSidePropsResult, GetStaticPropsContext, GetStaticPropsResult } from 'next';
|
|
2
2
|
import type { PropsFunction } from './lib/types';
|
|
3
3
|
export declare function getStoryPageServerSideProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<CustomProps>>;
|
|
4
|
-
export declare function getStoryPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<CustomProps>>;
|
|
4
|
+
export declare function getStoryPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps, GetStaticPropsContext>): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<CustomProps>>;
|
|
5
5
|
export declare function getStoryPageStaticPaths(): Promise<{
|
|
6
6
|
paths: {
|
|
7
7
|
params: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"story.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/story.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,qDAAmD;AACnD,mCAAkD;AAClD,4EAA2E;AAC3E,oEAAmE;AACnE,oDAAmD;AACnD,gEAA+D;AAI/D,SAAgB,2BAA2B,CACvC,WAAqD;IAErD,OAAO,SAAe,kBAAkB,CACpC,OAAkC;;;;;;wBAE5B,GAAG,GAAG,IAAA,4BAAY,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC;wBAE9B,IAAI,GAAK,OAAO,CAAC,MAA2B,KAAxC,CAAyC;6BACvC,IAAI,EAAJ,wBAAI;wBAAG,qBAAM,GAAG,CAAC,cAAc,CAAC,IAAI,CAAC,EAAA;;wBAA9B,KAAA,SAA8B,CAAA;;;wBAAG,KAAA,IAAI,CAAA;;;wBAApD,KAAK,KAA+C;wBAC1D,IAAI,CAAC,KAAK,EAAE;4BACR,sBAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAC;yBAC7B;wBAE2B,qBAAM,IAAA,uDAA0B,EAAC,OAAO,EAAE,EAAE,KAAK,OAAA,EAAE,CAAC,EAAA;;wBAAxE,eAAe,GAAK,CAAA,SAAoD,CAAA,gBAAzD;wBAEf,MAAM,GAAK,OAAO,OAAZ,CAAa;wBAC3B,IAAI,MAAM,IAAI,MAAM,KAAK,2BAAoB,EAAE;4BAC3C,sBAAO;oCACH,QAAQ,EAAE;wCACN,WAAW,EAAE,WAAI,IAAI,CAAE;wCACvB,SAAS,EAAE,IAAI;qCAClB;iCACJ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oB,wBACb,WAAW,CAAC,oBAAoB,KACnC,YAAY,EAAE,KAAK;6BAEnB,CAAA,OAAO,WAAW,KAAK,UAAU,CAAA,EAAjC,wBAAiC;wBAC/B,qBAAO,WAAiE,CACpE,OAAO,EACP,WAAW,CACd,EAAA;;wBAHD,KAAA,SAGC,CAAA;;;wBACD,KAAA,WAAW,CAAA;;4BAXrB,sBAAO,8DAMA,IAKe,MACpB,EAAC;;;;KACN,CAAC;AACN,CAAC;AA9BD,0DA8BC;AAED,SAAsB,uBAAuB;;;;;;oBACnC,GAAG,GAAG,IAAA,4BAAY,GAAE,CAAC;oBACX,qBAAM,GAAG,CAAC,aAAa,EAAE,EAAA;;oBAAnC,OAAO,GAAG,SAAyB;oBAEnC,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,UAAC,EAAQ;4BAAN,IAAI,UAAA;wBAAO,OAAA,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,MAAA,EAAE,EAAE,CAAC;oBAAtB,CAAsB,CAAC,CAAC;oBAEhE,sBAAO;4BACH,KAAK,OAAA;4BACL,QAAQ,EAAE,UAAU;yBACvB,EAAC;;;;CACL;AAVD,0DAUC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __assign = (this && this.__assign) || function () {
|
|
18
|
+
__assign = Object.assign || function(t) {
|
|
19
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
+
s = arguments[i];
|
|
21
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
22
|
+
t[p] = s[p];
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
return __assign.apply(this, arguments);
|
|
27
|
+
};
|
|
28
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
29
|
+
if (k2 === undefined) k2 = k;
|
|
30
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
31
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
32
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
33
|
+
}
|
|
34
|
+
Object.defineProperty(o, k2, desc);
|
|
35
|
+
}) : (function(o, m, k, k2) {
|
|
36
|
+
if (k2 === undefined) k2 = k;
|
|
37
|
+
o[k2] = m[k];
|
|
38
|
+
}));
|
|
39
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
40
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
41
|
+
}) : function(o, v) {
|
|
42
|
+
o["default"] = v;
|
|
43
|
+
});
|
|
44
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
45
|
+
if (mod && mod.__esModule) return mod;
|
|
46
|
+
var result = {};
|
|
47
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
48
|
+
__setModuleDefault(result, mod);
|
|
49
|
+
return result;
|
|
50
|
+
};
|
|
51
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52
|
+
exports.PrezlyThemeDocument = void 0;
|
|
53
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
54
|
+
var document_1 = __importStar(require("next/document"));
|
|
55
|
+
var intl_1 = require("../intl");
|
|
56
|
+
var PrezlyThemeDocument = /** @class */ (function (_super) {
|
|
57
|
+
__extends(PrezlyThemeDocument, _super);
|
|
58
|
+
function PrezlyThemeDocument() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
PrezlyThemeDocument.prototype.getLocaleCode = function () {
|
|
62
|
+
var newsroomContextProps = this.props.__NEXT_DATA__.props.pageProps.newsroomContextProps;
|
|
63
|
+
// In some cases (like server errors) the newsroom context props will not be loaded.
|
|
64
|
+
// We need to fall back to default locale to keep the app working.
|
|
65
|
+
var localeCode = (newsroomContextProps !== null && newsroomContextProps !== void 0 ? newsroomContextProps : { localeCode: intl_1.DEFAULT_LOCALE }).localeCode;
|
|
66
|
+
return localeCode;
|
|
67
|
+
};
|
|
68
|
+
PrezlyThemeDocument.prototype.render = function () {
|
|
69
|
+
var locale = intl_1.LocaleObject.fromAnyCode(this.getLocaleCode());
|
|
70
|
+
// TODO: The direction can be pulled from the Language object
|
|
71
|
+
var direction = (0, intl_1.getLocaleDirection)(locale);
|
|
72
|
+
return ((0, jsx_runtime_1.jsxs)(document_1.Html, __assign({ lang: locale.toHyphenCode(), dir: direction }, { children: [(0, jsx_runtime_1.jsx)(document_1.Head, { children: (0, jsx_runtime_1.jsx)("meta", { name: "og:locale", content: locale.toHyphenCode() }) }), (0, jsx_runtime_1.jsxs)("body", { children: [(0, jsx_runtime_1.jsx)(document_1.Main, {}), (0, jsx_runtime_1.jsx)(document_1.NextScript, {})] })] })));
|
|
73
|
+
};
|
|
74
|
+
return PrezlyThemeDocument;
|
|
75
|
+
}(document_1.default));
|
|
76
|
+
exports.PrezlyThemeDocument = PrezlyThemeDocument;
|
|
77
|
+
//# sourceMappingURL=document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document.js","sourceRoot":"","sources":["../../src/components-nextjs/document.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAuE;AAEvE,gCAA2E;AAG3E;IAAyC,uCAAQ;IAAjD;;IAgCA,CAAC;IA/BG,2CAAa,GAAb;QAEQ,IAAA,oBAAoB,GAEpB,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,SAAsB,qBAFjC,CAEkC;QAE1D,oFAAoF;QACpF,kEAAkE;QAC1D,IAAA,UAAU,GAAK,CAAA,oBAAoB,aAApB,oBAAoB,cAApB,oBAAoB,GAAI,EAAE,UAAU,EAAE,qBAAc,EAAE,CAAA,WAA3D,CAA4D;QAE9E,OAAO,UAAU,CAAC;IACtB,CAAC;IAED,oCAAM,GAAN;QACI,IAAM,MAAM,GAAG,mBAAY,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;QAC9D,6DAA6D;QAC7D,IAAM,SAAS,GAAG,IAAA,yBAAkB,EAAC,MAAM,CAAC,CAAC;QAE7C,OAAO,CACH,wBAAC,eAAI,aAAC,IAAI,EAAE,MAAM,CAAC,YAAY,EAAE,EAAE,GAAG,EAAE,SAAS,iBAC7C,uBAAC,eAAI,cACD,iCAAM,IAAI,EAAC,WAAW,EAAC,OAAO,EAAE,MAAM,CAAC,YAAY,EAAE,GAAI,GAEtD,EACP,6CACI,uBAAC,eAAI,KAAG,EACR,uBAAC,qBAAU,KAAG,IACX,KACJ,CACV,CAAC;IACN,CAAC;IACL,0BAAC;AAAD,CAAC,AAhCD,CAAyC,kBAAQ,GAgChD;AAhCY,kDAAmB"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StorySeo = exports.PageSeo = void 0;
|
|
3
|
+
exports.PrezlyThemeDocument = exports.StorySeo = exports.PageSeo = void 0;
|
|
4
4
|
var PageSeo_1 = require("./PageSeo");
|
|
5
5
|
Object.defineProperty(exports, "PageSeo", { enumerable: true, get: function () { return PageSeo_1.PageSeo; } });
|
|
6
6
|
var StorySeo_1 = require("./StorySeo");
|
|
7
7
|
Object.defineProperty(exports, "StorySeo", { enumerable: true, get: function () { return StorySeo_1.StorySeo; } });
|
|
8
|
+
var document_1 = require("./document");
|
|
9
|
+
Object.defineProperty(exports, "PrezlyThemeDocument", { enumerable: true, get: function () { return document_1.PrezlyThemeDocument; } });
|
|
8
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components-nextjs/index.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components-nextjs/index.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,uCAAiD;AAAxC,+GAAA,mBAAmB,OAAA"}
|
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./data-fetching"), exports);
|
|
|
20
20
|
__exportStar(require("./infinite-loading"), exports);
|
|
21
21
|
__exportStar(require("./intl"), exports);
|
|
22
22
|
__exportStar(require("./newsroom-context"), exports);
|
|
23
|
+
__exportStar(require("./sentry"), exports);
|
|
23
24
|
__exportStar(require("./types"), exports);
|
|
24
25
|
__exportStar(require("./utils"), exports);
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC;AAChC,qDAAmC;AACnC,yCAAuB;AACvB,qDAAmC;AACnC,0CAAwB;AACxB,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC;AAChC,qDAAmC;AACnC,yCAAuB;AACvB,qDAAmC;AACnC,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSentryClientOptions = void 0;
|
|
4
|
+
var common_1 = require("./common");
|
|
5
|
+
function getSentryClientOptions(dsn, themeName) {
|
|
6
|
+
return (0, common_1.getCommonClientOptions)(dsn, themeName);
|
|
7
|
+
}
|
|
8
|
+
exports.getSentryClientOptions = getSentryClientOptions;
|
|
9
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/sentry/client.ts"],"names":[],"mappings":";;;AAEA,mCAAkD;AAElD,SAAgB,sBAAsB,CAAC,GAAW,EAAE,SAAiB;IACjE,OAAO,IAAA,+BAAsB,EAAC,GAAG,EAAE,SAAS,CAAC,CAAC;AAClD,CAAC;AAFD,wDAEC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCommonClientOptions = void 0;
|
|
4
|
+
function getCommonClientOptions(dsn, themeName) {
|
|
5
|
+
return {
|
|
6
|
+
dsn: dsn,
|
|
7
|
+
// Adjust this value in production, or use tracesSampler for greater control
|
|
8
|
+
tracesSampleRate: 0.02,
|
|
9
|
+
// ...
|
|
10
|
+
// Note: if you want to override the automatic release value, do not set a
|
|
11
|
+
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
|
12
|
+
// that it will also get attached to your source maps
|
|
13
|
+
ignoreErrors: [
|
|
14
|
+
// This particular error is coming from Microsoft Outlook SafeLink crawler.
|
|
15
|
+
// It doesn't affect the user experience in any way, but produces a lot of unwanted Sentry events.
|
|
16
|
+
// See https://forum.sentry.io/t/unhandledrejection-non-error-promise-rejection-captured-with-value/14062
|
|
17
|
+
'Object Not Found Matching Id',
|
|
18
|
+
// This error is caused by `beacon.min.js` polyfill in Cloudflare Insights. From what we see, it doesn't affect the user experience.
|
|
19
|
+
'Illegal invocation',
|
|
20
|
+
],
|
|
21
|
+
// Attach theme tag to each event
|
|
22
|
+
initialScope: function (scope) {
|
|
23
|
+
scope.setTags({ prezly_theme: themeName });
|
|
24
|
+
return scope;
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
exports.getCommonClientOptions = getCommonClientOptions;
|
|
29
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/sentry/common.ts"],"names":[],"mappings":";;;AAEA,SAAgB,sBAAsB,CAAC,GAAW,EAAE,SAAiB;IACjE,OAAO;QACH,GAAG,KAAA;QACH,4EAA4E;QAC5E,gBAAgB,EAAE,IAAI;QACtB,MAAM;QACN,0EAA0E;QAC1E,2EAA2E;QAC3E,qDAAqD;QAErD,YAAY,EAAE;YACV,2EAA2E;YAC3E,kGAAkG;YAClG,yGAAyG;YACzG,8BAA8B;YAC9B,oIAAoI;YACpI,oBAAoB;SACvB;QACD,iCAAiC;QACjC,YAAY,EAAE,UAAC,KAAK;YAChB,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC;YAC3C,OAAO,KAAK,CAAC;QACjB,CAAC;KACJ,CAAC;AACN,CAAC;AAxBD,wDAwBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSentryServerOptions = exports.getSentryClientOptions = void 0;
|
|
4
|
+
var client_1 = require("./client");
|
|
5
|
+
Object.defineProperty(exports, "getSentryClientOptions", { enumerable: true, get: function () { return client_1.getSentryClientOptions; } });
|
|
6
|
+
var server_1 = require("./server");
|
|
7
|
+
Object.defineProperty(exports, "getSentryServerOptions", { enumerable: true, get: function () { return server_1.getSentryServerOptions; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sentry/index.ts"],"names":[],"mappings":";;;AAAA,mCAAkD;AAAzC,gHAAA,sBAAsB,OAAA;AAC/B,mCAAkD;AAAzC,gHAAA,sBAAsB,OAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSentryServerOptions = void 0;
|
|
4
|
+
var common_1 = require("./common");
|
|
5
|
+
function getSentryServerOptions(dsn, themeName) {
|
|
6
|
+
return (0, common_1.getCommonClientOptions)(dsn, themeName);
|
|
7
|
+
}
|
|
8
|
+
exports.getSentryServerOptions = getSentryServerOptions;
|
|
9
|
+
//# sourceMappingURL=server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/sentry/server.ts"],"names":[],"mappings":";;;AAEA,mCAAkD;AAElD,SAAgB,sBAAsB,CAAC,GAAW,EAAE,SAAiB;IACjE,OAAO,IAAA,+BAAsB,EAAC,GAAG,EAAE,SAAS,CAAC,CAAC;AAClD,CAAC;AAFD,wDAEC"}
|