@snap/push2web 0.15.0 → 0.16.2

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 (40) hide show
  1. package/README.md +11 -7
  2. package/dist/Push2Web.d.ts +8 -9
  3. package/dist/Push2Web.js +9 -8
  4. package/dist/Push2WebSDKExtension.d.ts +5 -6
  5. package/dist/Push2WebSDKExtension.js +33 -18
  6. package/dist/generated-api-client/camera_kit/v3/export.d.ts +19 -19
  7. package/dist/generated-api-client/camera_kit/v3/export.js +18 -21
  8. package/dist/generated-api-client/camera_kit/v3/push_to_device.d.ts +12 -12
  9. package/dist/generated-api-client/camera_kit/v3/push_to_device.js +14 -17
  10. package/dist/generated-api-client/google/protobuf/descriptor.d.ts +4830 -4830
  11. package/dist/generated-api-client/google/protobuf/descriptor.js +14 -17
  12. package/docs/html/assets/main.js +4 -3
  13. package/docs/html/assets/navigation.js +1 -0
  14. package/docs/html/assets/search.js +1 -1
  15. package/docs/html/assets/style.css +72 -25
  16. package/docs/html/classes/Push2Web.html +15 -147
  17. package/docs/html/enums/Code.html +28 -198
  18. package/docs/html/enums/ListenLensPushResponse_ExcludedLens_Code.html +8 -98
  19. package/docs/html/enums/State.html +5 -79
  20. package/docs/html/index.html +6 -69
  21. package/docs/html/interfaces/Lens.html +12 -143
  22. package/docs/html/modules.html +12 -66
  23. package/docs/html/types/CommunicationErrorEvent.html +6 -76
  24. package/docs/html/types/ErrorEvent.html +1 -50
  25. package/docs/html/types/GenericErrorEvent.html +4 -66
  26. package/docs/html/types/LensExcludedErrorEvent.html +7 -78
  27. package/docs/html/types/LensReceivedEvent.html +1 -50
  28. package/docs/html/types/Push2WebEvents.html +1 -50
  29. package/docs/html/types/SubscriptionChangedEvent.html +1 -50
  30. package/docs/html/types/SubscriptionInstance.html +5 -79
  31. package/docs/md/README.md +12 -7
  32. package/docs/md/classes/Push2Web.md +16 -12
  33. package/docs/md/enums/Code.md +1 -1
  34. package/docs/md/enums/ListenLensPushResponse_ExcludedLens_Code.md +1 -1
  35. package/docs/md/enums/State.md +1 -1
  36. package/docs/md/interfaces/Lens.md +2 -2
  37. package/docs/md/modules.md +6 -6
  38. package/package.json +8 -5
  39. package/dist/reportEvent.d.ts +0 -3
  40. package/dist/reportEvent.js +0 -30
@@ -11,6 +11,7 @@
11
11
  --light-color-text-aside: #6e6e6e;
12
12
  --light-color-link: #1f70c2;
13
13
 
14
+ --light-color-ts-keyword: #056bd6;
14
15
  --light-color-ts-project: #b111c9;
15
16
  --light-color-ts-module: var(--light-color-ts-project);
16
17
  --light-color-ts-namespace: var(--light-color-ts-project);
@@ -28,11 +29,10 @@
28
29
  --light-color-ts-constructor-signature: var(--light-color-ts-constructor);
29
30
  --light-color-ts-parameter: var(--light-color-ts-variable);
30
31
  /* type literal not included as links will never be generated to it */
31
- --light-color-ts-type-parameter: var(--light-color-ts-type-alias);
32
+ --light-color-ts-type-parameter: #a55c0e;
32
33
  --light-color-ts-accessor: var(--light-color-ts-property);
33
34
  --light-color-ts-get-signature: var(--light-color-ts-accessor);
34
35
  --light-color-ts-set-signature: var(--light-color-ts-accessor);
35
- /* object literal not included as it is not used and will be removed in 0.25 */
36
36
  --light-color-ts-type-alias: #d51270;
37
37
  /* reference not included as links will be colored with the kind that it points to */
38
38
 
@@ -51,6 +51,7 @@
51
51
  --dark-color-text-aside: #dddddd;
52
52
  --dark-color-link: #00aff4;
53
53
 
54
+ --dark-color-ts-keyword: #3399ff;
54
55
  --dark-color-ts-project: #e358ff;
55
56
  --dark-color-ts-module: var(--dark-color-ts-project);
56
57
  --dark-color-ts-namespace: var(--dark-color-ts-project);
@@ -68,11 +69,10 @@
68
69
  --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
69
70
  --dark-color-ts-parameter: var(--dark-color-ts-variable);
70
71
  /* type literal not included as links will never be generated to it */
71
- --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias);
72
+ --dark-color-ts-type-parameter: #e07d13;
72
73
  --dark-color-ts-accessor: var(--dark-color-ts-property);
73
74
  --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
74
75
  --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
75
- /* object literal not included as it is not used and will be removed in 0.25 */
76
76
  --dark-color-ts-type-alias: #ff6492;
77
77
  /* reference not included as links will be colored with the kind that it points to */
78
78
 
@@ -93,6 +93,7 @@
93
93
  --color-text-aside: var(--light-color-text-aside);
94
94
  --color-link: var(--light-color-link);
95
95
 
96
+ --color-ts-keyword: var(--light-color-ts-keyword);
96
97
  --color-ts-module: var(--light-color-ts-module);
97
98
  --color-ts-namespace: var(--light-color-ts-namespace);
98
99
  --color-ts-enum: var(--light-color-ts-enum);
@@ -134,6 +135,7 @@
134
135
  --color-text-aside: var(--dark-color-text-aside);
135
136
  --color-link: var(--dark-color-link);
136
137
 
138
+ --color-ts-keyword: var(--dark-color-ts-keyword);
137
139
  --color-ts-module: var(--dark-color-ts-module);
138
140
  --color-ts-namespace: var(--dark-color-ts-namespace);
139
141
  --color-ts-enum: var(--dark-color-ts-enum);
@@ -182,6 +184,7 @@ body {
182
184
  --color-text-aside: var(--light-color-text-aside);
183
185
  --color-link: var(--light-color-link);
184
186
 
187
+ --color-ts-keyword: var(--light-color-ts-keyword);
185
188
  --color-ts-module: var(--light-color-ts-module);
186
189
  --color-ts-namespace: var(--light-color-ts-namespace);
187
190
  --color-ts-enum: var(--light-color-ts-enum);
@@ -221,6 +224,7 @@ body {
221
224
  --color-text-aside: var(--dark-color-text-aside);
222
225
  --color-link: var(--dark-color-link);
223
226
 
227
+ --color-ts-keyword: var(--dark-color-ts-keyword);
224
228
  --color-ts-module: var(--dark-color-ts-module);
225
229
  --color-ts-namespace: var(--dark-color-ts-namespace);
226
230
  --color-ts-enum: var(--dark-color-ts-enum);
@@ -262,12 +266,12 @@ h6 {
262
266
  line-height: 1.2;
263
267
  }
264
268
 
265
- h1 > a,
266
- h2 > a,
267
- h3 > a,
268
- h4 > a,
269
- h5 > a,
270
- h6 > a {
269
+ h1 > a:not(.link),
270
+ h2 > a:not(.link),
271
+ h3 > a:not(.link),
272
+ h4 > a:not(.link),
273
+ h5 > a:not(.link),
274
+ h6 > a:not(.link) {
271
275
  text-decoration: none;
272
276
  color: var(--color-text);
273
277
  }
@@ -468,13 +472,12 @@ blockquote {
468
472
  padding: 0 0 0 20px;
469
473
  margin: 0;
470
474
  }
471
- .tsd-typography h4,
472
475
  .tsd-typography .tsd-index-panel h3,
473
476
  .tsd-index-panel .tsd-typography h3,
477
+ .tsd-typography h4,
474
478
  .tsd-typography h5,
475
479
  .tsd-typography h6 {
476
480
  font-size: 1em;
477
- margin: 0;
478
481
  }
479
482
  .tsd-typography h5,
480
483
  .tsd-typography h6 {
@@ -485,6 +488,19 @@ blockquote {
485
488
  .tsd-typography ol {
486
489
  margin: 1em 0;
487
490
  }
491
+ .tsd-typography table {
492
+ border-collapse: collapse;
493
+ border: none;
494
+ }
495
+ .tsd-typography td,
496
+ .tsd-typography th {
497
+ padding: 6px 13px;
498
+ border: 1px solid var(--color-accent);
499
+ }
500
+ .tsd-typography thead,
501
+ .tsd-typography tr:nth-child(even) {
502
+ background-color: var(--color-background-secondary);
503
+ }
488
504
 
489
505
  .tsd-breadcrumb {
490
506
  margin: 0;
@@ -633,6 +649,28 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
633
649
  font-weight: bold;
634
650
  }
635
651
 
652
+ .tsd-full-hierarchy:not(:last-child) {
653
+ margin-bottom: 1em;
654
+ padding-bottom: 1em;
655
+ border-bottom: 1px solid var(--color-accent);
656
+ }
657
+ .tsd-full-hierarchy,
658
+ .tsd-full-hierarchy ul {
659
+ list-style: none;
660
+ margin: 0;
661
+ padding: 0;
662
+ }
663
+ .tsd-full-hierarchy ul {
664
+ padding-left: 1.5rem;
665
+ }
666
+ .tsd-full-hierarchy a {
667
+ padding: 0.25rem 0 !important;
668
+ font-size: 1rem;
669
+ display: inline-flex;
670
+ align-items: center;
671
+ color: var(--color-text);
672
+ }
673
+
636
674
  .tsd-panel-group.tsd-index-group {
637
675
  margin-bottom: 0;
638
676
  }
@@ -698,12 +736,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
698
736
  }
699
737
  .tsd-navigation > a,
700
738
  .tsd-navigation .tsd-accordion-summary {
701
- width: calc(100% - 0.5rem);
739
+ width: calc(100% - 0.25rem);
740
+ display: flex;
741
+ align-items: center;
702
742
  }
703
743
  .tsd-navigation a,
704
744
  .tsd-navigation summary > span,
705
745
  .tsd-page-navigation a {
706
- display: inline-flex;
746
+ display: flex;
747
+ width: calc(100% - 0.25rem);
707
748
  align-items: center;
708
749
  padding: 0.25rem;
709
750
  color: var(--color-text);
@@ -743,11 +784,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
743
784
  margin-left: -1.5rem;
744
785
  }
745
786
 
746
- .tsd-nested-navigation > li > a,
747
- .tsd-nested-navigation > li > span {
748
- width: calc(100% - 1.75rem - 0.5rem);
749
- }
750
-
751
787
  .tsd-page-navigation ul {
752
788
  padding-left: 1.75rem;
753
789
  }
@@ -900,8 +936,9 @@ a.tsd-index-link {
900
936
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
901
937
  }
902
938
  #tsd-search .results li {
903
- padding: 0 10px;
904
939
  background-color: var(--color-background);
940
+ line-height: initial;
941
+ padding: 4px;
905
942
  }
906
943
  #tsd-search .results li:nth-child(even) {
907
944
  background-color: var(--color-background-secondary);
@@ -909,12 +946,15 @@ a.tsd-index-link {
909
946
  #tsd-search .results li.state {
910
947
  display: none;
911
948
  }
912
- #tsd-search .results li.current,
913
- #tsd-search .results li:hover {
949
+ #tsd-search .results li.current:not(.no-results),
950
+ #tsd-search .results li:hover:not(.no-results) {
914
951
  background-color: var(--color-accent);
915
952
  }
916
953
  #tsd-search .results a {
917
- display: block;
954
+ display: flex;
955
+ align-items: center;
956
+ padding: 0.25rem;
957
+ box-sizing: border-box;
918
958
  }
919
959
  #tsd-search .results a:before {
920
960
  top: 10px;
@@ -970,6 +1010,11 @@ a.tsd-index-link {
970
1010
  overflow-x: auto;
971
1011
  }
972
1012
 
1013
+ .tsd-signature-keyword {
1014
+ color: var(--color-ts-keyword);
1015
+ font-weight: normal;
1016
+ }
1017
+
973
1018
  .tsd-signature-symbol {
974
1019
  color: var(--color-text-aside);
975
1020
  font-weight: normal;
@@ -1070,7 +1115,9 @@ ul.tsd-type-parameter-list h5 {
1070
1115
  overflow: hidden;
1071
1116
  opacity: 0.8;
1072
1117
  height: 40px;
1073
- transition: opacity 0.1s, background-color 0.2s;
1118
+ transition:
1119
+ opacity 0.1s,
1120
+ background-color 0.2s;
1074
1121
  vertical-align: bottom;
1075
1122
  cursor: pointer;
1076
1123
  }
@@ -1122,7 +1169,7 @@ img {
1122
1169
  }
1123
1170
 
1124
1171
  .deprecated {
1125
- text-decoration: line-through;
1172
+ text-decoration: line-through !important;
1126
1173
  }
1127
1174
 
1128
1175
  .warning {
@@ -1,159 +1,27 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Push2Web | CameraKit Web SDK - Push 2 Web - v0.15.0</title><meta name="description" content="Documentation for CameraKit Web SDK - Push 2 Web"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
- <div class="tsd-toolbar-contents container">
3
- <div class="table-cell" id="tsd-search" data-base="..">
4
- <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
- <div class="field">
6
- <div id="tsd-toolbar-links"></div></div>
7
- <ul class="results">
8
- <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">CameraKit Web SDK - Push 2 Web - v0.15.0</a></div>
10
- <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
- <div class="container container-main">
12
- <div class="col-content">
13
- <div class="tsd-page-title">
14
- <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">CameraKit Web SDK - Push 2 Web</a></li>
16
- <li><a href="Push2Web.html">Push2Web</a></li></ul>
17
- <h1>Class Push2Web</h1></div>
18
- <section class="tsd-panel tsd-hierarchy">
19
- <h4>Hierarchy</h4>
20
- <ul class="tsd-hierarchy">
21
- <li><span class="target">Push2Web</span></li></ul></section>
22
- <section class="tsd-panel-group tsd-index-group">
23
- <section class="tsd-panel tsd-index-panel">
24
- <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
25
- <h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
26
- <div class="tsd-accordion-details">
27
- <section class="tsd-index-section">
28
- <h3 class="tsd-index-heading">Constructors</h3>
29
- <div class="tsd-index-list"><a href="Push2Web.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>constructor</span></a>
30
- </div></section>
31
- <section class="tsd-index-section">
32
- <h3 class="tsd-index-heading">Properties</h3>
33
- <div class="tsd-index-list"><a href="Push2Web.html#events" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>events</span></a>
34
- </div></section>
35
- <section class="tsd-index-section">
36
- <h3 class="tsd-index-heading">Accessors</h3>
37
- <div class="tsd-index-list"><a href="Push2Web.html#extension" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-262144"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g></svg><span>extension</span></a>
38
- </div></section>
39
- <section class="tsd-index-section">
40
- <h3 class="tsd-index-heading">Methods</h3>
41
- <div class="tsd-index-list"><a href="Push2Web.html#subscribe" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>subscribe</span></a>
42
- </div></section></div></details></section></section>
43
- <section class="tsd-panel-group tsd-member-group">
44
- <h2>Constructors</h2>
45
- <section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a>
46
- <h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
47
- <ul class="tsd-signatures">
48
- <li class="tsd-signature tsd-anchor-link" id="constructor.new_Push2Web"><span class="tsd-kind-constructor-signature">new <wbr/>Push2<wbr/>Web</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Push2Web.html" class="tsd-signature-type tsd-kind-class">Push2Web</a><a href="#constructor.new_Push2Web" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
49
- <li class="tsd-description">
50
- <div class="tsd-comment tsd-typography"><p>Create new instance of Push2Web object,
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Push2Web | CameraKit Web SDK - Push 2 Web - v0.16.2</title><meta name="description" content="Documentation for CameraKit Web SDK - Push 2 Web"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">CameraKit Web SDK - Push 2 Web - v0.16.2</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">CameraKit Web SDK - Push 2 Web</a></li><li><a href="Push2Web.html">Push2Web</a></li></ul><h1>Class Push2Web</h1></div><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="Push2Web.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a>
2
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="Push2Web.html#events" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>events</span></a>
3
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="Push2Web.html#extension" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-262144"></use></svg><span>extension</span></a>
4
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="Push2Web.html#subscribe" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>subscribe</span></a>
5
+ </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_Push2Web" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Push2<wbr/>Web</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Push2Web.html" class="tsd-signature-type tsd-kind-class">Push2Web</a><a href="#constructor.new_Push2Web" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create new instance of Push2Web object,
51
6
  it can be used to start listening for the events,
52
7
  subscribe or unsubscribe for notifications from Lens Studio.
53
8
  Also provides the extension object for the @snap/camera-kit package.</p>
54
- </div>
55
- <h4 class="tsd-returns-title">Returns <a href="Push2Web.html" class="tsd-signature-type tsd-kind-class">Push2Web</a></h4>
56
- <div class="tsd-comment tsd-typography"></div></li></ul></section></section>
57
- <section class="tsd-panel-group tsd-member-group">
58
- <h2>Properties</h2>
59
- <section class="tsd-panel tsd-member"><a id="events" class="tsd-anchor"></a>
60
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>events</span><a href="#events" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
61
- <div class="tsd-signature"><span class="tsd-kind-property">events</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">TypedEventTarget</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/Push2WebEvents.html" class="tsd-signature-type tsd-kind-type-alias">Push2WebEvents</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
62
- <div class="tsd-comment tsd-typography"><p>Use this property to subscribe for the different types of events that can occur during push 2 web execution.</p>
9
+ </div><h4 class="tsd-returns-title">Returns <a href="Push2Web.html" class="tsd-signature-type tsd-kind-class">Push2Web</a></h4><div class="tsd-comment tsd-typography"></div></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member"><a id="events" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>events</span><a href="#events" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">events</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TypedEventTarget</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/Push2WebEvents.html" class="tsd-signature-type tsd-kind-type-alias">Push2WebEvents</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Use this property to subscribe for the different types of events that can occur during push 2 web execution.</p>
63
10
  <p>Subscribe to <code>error</code> event to be aware if something has happened during the lens push,
64
11
  with network communication or any other type of error,
65
- event object also contains detailed expalantion of the cause.</p>
12
+ event object also contains detailed explanation of the cause.</p>
66
13
  <p>Use <code>subscriptionChanged</code> event to be aware when subscription state is changed.</p>
67
14
  <p>Use <code>lensReceived</code> event to be aware when new lens is received from Lens Studio,
68
15
  also you can get the additional details about the pushed lens.</p>
69
- </div>
70
- <div class="tsd-comment tsd-typography">
71
- <h4>Example</h4><pre><code class="language-ts"><span class="hl-2">push2web</span><span class="hl-0">.</span><span class="hl-2">events</span><span class="hl-0">.</span><span class="hl-6">addEventListener</span><span class="hl-0">(</span><span class="hl-4">&#39;error&#39;</span><span class="hl-0">, ({ </span><span class="hl-2">detail</span><span class="hl-0"> }) </span><span class="hl-5">=&gt;</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">if</span><span class="hl-0"> (</span><span class="hl-2">detail</span><span class="hl-0">.</span><span class="hl-2">name</span><span class="hl-0"> === </span><span class="hl-4">&#39;LensExcludedError&#39;</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-2">console</span><span class="hl-0">.</span><span class="hl-6">log</span><span class="hl-0">(</span><span class="hl-4">`Lens is excluded from the push, by the following reason: </span><span class="hl-5">${</span><span class="hl-2">detail</span><span class="hl-7">.</span><span class="hl-2">reason</span><span class="hl-5">}</span><span class="hl-4">.`</span><span class="hl-0">)</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">})</span>
16
+ </div><div class="tsd-comment tsd-typography"><h4>Example</h4><pre><code class="language-ts"><span class="hl-2">push2web</span><span class="hl-0">.</span><span class="hl-2">events</span><span class="hl-0">.</span><span class="hl-6">addEventListener</span><span class="hl-0">(</span><span class="hl-4">&#39;error&#39;</span><span class="hl-0">, ({ </span><span class="hl-2">detail</span><span class="hl-0"> }) </span><span class="hl-5">=&gt;</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">if</span><span class="hl-0"> (</span><span class="hl-2">detail</span><span class="hl-0">.</span><span class="hl-2">name</span><span class="hl-0"> === </span><span class="hl-4">&#39;LensExcludedError&#39;</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-2">console</span><span class="hl-0">.</span><span class="hl-6">log</span><span class="hl-0">(</span><span class="hl-4">`Lens is excluded from the push, by the following reason: </span><span class="hl-5">${</span><span class="hl-2">detail</span><span class="hl-7">.</span><span class="hl-2">reason</span><span class="hl-5">}</span><span class="hl-4">.`</span><span class="hl-0">)</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">})</span>
72
17
  </code><button>Copy</button></pre>
73
- </div></section></section>
74
- <section class="tsd-panel-group tsd-member-group">
75
- <h2>Accessors</h2>
76
- <section class="tsd-panel tsd-member"><a id="extension" class="tsd-anchor"></a>
77
- <h3 class="tsd-anchor-link"><span>extension</span><a href="#extension" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
78
- <ul class="tsd-signatures">
79
- <li class="tsd-signature" id="extension.extension-1"><span class="tsd-signature-symbol">get</span> extension<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">PartialContainer</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">lensSources</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">LensSource</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">configuration</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">CameraKitConfiguration</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></li>
80
- <li class="tsd-description">
81
- <div class="tsd-comment tsd-typography"><p>The extension object must be passed to the Camera Kit object during its bootstrap process.
18
+ </div></section></section><section class="tsd-panel-group tsd-member-group"><h2>Accessors</h2><section class="tsd-panel tsd-member"><a id="extension" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>extension</span><a href="#extension" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="extension.extension-1"><span class="tsd-signature-keyword">get</span> extension<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PartialContainer</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">lensSources</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LensSource</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">externalMetricsSubject</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Subject</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Count</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">&gt;</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>The extension object must be passed to the Camera Kit object during its bootstrap process.
82
19
  This is a requirement for the proper functioning of push to web functionality.</p>
83
- </div>
84
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">PartialContainer</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">lensSources</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">LensSource</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">configuration</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">CameraKitConfiguration</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></h4>
85
- <div class="tsd-comment tsd-typography">
86
- <h4>Example</h4><pre><code class="language-ts"><span class="hl-3">import</span><span class="hl-0"> { </span><span class="hl-2">bootstrapCameraKit</span><span class="hl-0"> } </span><span class="hl-3">from</span><span class="hl-0"> </span><span class="hl-4">&quot;@snap/camera-kit&quot;</span><span class="hl-0">;</span><br/><br/><span class="hl-5">const</span><span class="hl-0"> </span><span class="hl-1">push2web</span><span class="hl-0"> = </span><span class="hl-5">new</span><span class="hl-0"> </span><span class="hl-6">Push2Web</span><span class="hl-0">();</span><br/><span class="hl-5">const</span><span class="hl-0"> </span><span class="hl-6">extensions</span><span class="hl-0"> = (</span><span class="hl-2">container</span><span class="hl-0">) </span><span class="hl-5">=&gt;</span><span class="hl-0"> </span><span class="hl-2">container</span><span class="hl-0">.</span><span class="hl-6">provides</span><span class="hl-0">(</span><span class="hl-2">push2Web</span><span class="hl-0">.</span><span class="hl-2">extension</span><span class="hl-0">);</span><br/><br/><span class="hl-5">const</span><span class="hl-0"> </span><span class="hl-1">cameraKit</span><span class="hl-0"> = </span><span class="hl-3">await</span><span class="hl-0"> </span><span class="hl-6">bootstrapCameraKit</span><span class="hl-0">({ </span><span class="hl-2">apiToken:</span><span class="hl-0"> </span><span class="hl-4">&quot;token from developer portal&quot;</span><span class="hl-0"> }, </span><span class="hl-2">extensions</span><span class="hl-0">);</span><br/><span class="hl-5">const</span><span class="hl-0"> </span><span class="hl-1">cameraKitSession</span><span class="hl-0"> = </span><span class="hl-3">await</span><span class="hl-0"> </span><span class="hl-2">cameraKit</span><span class="hl-0">.</span><span class="hl-6">createSession</span><span class="hl-0">();</span>
20
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">PartialContainer</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">lensSources</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LensSource</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">externalMetricsSubject</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Subject</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Count</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><h4>Example</h4><pre><code class="language-ts"><span class="hl-3">import</span><span class="hl-0"> { </span><span class="hl-2">bootstrapCameraKit</span><span class="hl-0"> } </span><span class="hl-3">from</span><span class="hl-0"> </span><span class="hl-4">&quot;@snap/camera-kit&quot;</span><span class="hl-0">;</span><br/><br/><span class="hl-5">const</span><span class="hl-0"> </span><span class="hl-1">push2web</span><span class="hl-0"> = </span><span class="hl-5">new</span><span class="hl-0"> </span><span class="hl-6">Push2Web</span><span class="hl-0">();</span><br/><span class="hl-5">const</span><span class="hl-0"> </span><span class="hl-6">extensions</span><span class="hl-0"> = (</span><span class="hl-2">container</span><span class="hl-0">) </span><span class="hl-5">=&gt;</span><span class="hl-0"> </span><span class="hl-2">container</span><span class="hl-0">.</span><span class="hl-6">provides</span><span class="hl-0">(</span><span class="hl-2">push2Web</span><span class="hl-0">.</span><span class="hl-2">extension</span><span class="hl-0">);</span><br/><br/><span class="hl-5">const</span><span class="hl-0"> </span><span class="hl-1">cameraKit</span><span class="hl-0"> = </span><span class="hl-3">await</span><span class="hl-0"> </span><span class="hl-6">bootstrapCameraKit</span><span class="hl-0">({ </span><span class="hl-2">apiToken:</span><span class="hl-0"> </span><span class="hl-4">&quot;token from developer portal&quot;</span><span class="hl-0"> }, </span><span class="hl-2">extensions</span><span class="hl-0">);</span><br/><span class="hl-5">const</span><span class="hl-0"> </span><span class="hl-1">cameraKitSession</span><span class="hl-0"> = </span><span class="hl-3">await</span><span class="hl-0"> </span><span class="hl-2">cameraKit</span><span class="hl-0">.</span><span class="hl-6">createSession</span><span class="hl-0">();</span>
87
21
  </code><button>Copy</button></pre>
88
- </div></li></ul></section></section>
89
- <section class="tsd-panel-group tsd-member-group">
90
- <h2>Methods</h2>
91
- <section class="tsd-panel tsd-member"><a id="subscribe" class="tsd-anchor"></a>
92
- <h3 class="tsd-anchor-link"><span>subscribe</span><a href="#subscribe" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
93
- <ul class="tsd-signatures">
94
- <li class="tsd-signature tsd-anchor-link" id="subscribe.subscribe-1"><span class="tsd-kind-call-signature">subscribe</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">accessToken</span>, <span class="tsd-kind-parameter">cameraKitSession</span>, <span class="tsd-kind-parameter">repository</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/SubscriptionInstance.html" class="tsd-signature-type tsd-kind-type-alias">SubscriptionInstance</a><a href="#subscribe.subscribe-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
95
- <li class="tsd-description">
96
- <div class="tsd-comment tsd-typography"><p>Initiate subscription for the events from Lens Studio.</p>
97
- </div>
98
- <div class="tsd-parameters">
99
- <h4 class="tsd-parameters-title">Parameters</h4>
100
- <ul class="tsd-parameter-list">
101
- <li>
102
- <h5><span class="tsd-kind-parameter">accessToken</span>: <span class="tsd-signature-type">string</span></h5>
103
- <div class="tsd-comment tsd-typography"><p>After user will be logged in to the web page,
22
+ </div></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="subscribe" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>subscribe</span><a href="#subscribe" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="subscribe.subscribe-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">subscribe</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">accessToken</span>, <span class="tsd-kind-parameter">cameraKitSession</span>, <span class="tsd-kind-parameter">repository</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/SubscriptionInstance.html" class="tsd-signature-type tsd-kind-type-alias">SubscriptionInstance</a><a href="#subscribe.subscribe-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Initiate subscription for the events from Lens Studio.</p>
23
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">accessToken</span>: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>After user will be logged in to the web page,
104
24
  using Snapchat account, you can get access token from Login Kit.</p>
105
- </div>
106
- <div class="tsd-comment tsd-typography"></div></li>
107
- <li>
108
- <h5><span class="tsd-kind-parameter">cameraKitSession</span>: <span class="tsd-signature-type ">CameraKitSession</span></h5>
109
- <div class="tsd-comment tsd-typography"><p>Instance of CameraKitSesion object form @snap/camera-kit package.</p>
110
- </div>
111
- <div class="tsd-comment tsd-typography"></div></li>
112
- <li>
113
- <h5><span class="tsd-kind-parameter">repository</span>: <span class="tsd-signature-type ">LensRepository</span></h5>
114
- <div class="tsd-comment tsd-typography"><p>Instance of LensRepository object from @snap/camera-kit package.</p>
115
- </div>
116
- <div class="tsd-comment tsd-typography"></div></li></ul></div>
117
- <h4 class="tsd-returns-title">Returns <a href="../types/SubscriptionInstance.html" class="tsd-signature-type tsd-kind-type-alias">SubscriptionInstance</a></h4>
118
- <div class="tsd-comment tsd-typography">
119
- <h4>Subscription Instance</h4></div></li></ul></section></section></div>
120
- <div class="col-sidebar">
121
- <div class="page-menu">
122
- <div class="tsd-navigation settings">
123
- <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
124
- <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
125
- <div class="tsd-accordion-details">
126
- <div class="tsd-filter-visibility">
127
- <h4 class="uppercase">Member Visibility</h4><form>
128
- <ul id="tsd-filter-options">
129
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
130
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
131
- <div class="tsd-theme-toggle">
132
- <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
133
- <details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
134
- <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
135
- <div class="tsd-accordion-details">
136
- <ul>
137
- <li><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a></li>
138
- <li><a href="#events" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>events</span></a></li>
139
- <li><a href="#extension" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-262144"></use></svg><span>extension</span></a></li>
140
- <li><a href="#subscribe" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>subscribe</span></a></li></ul></div></details></div>
141
- <div class="site-menu">
142
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Camera<wbr/>Kit <wbr/>Web SDK -<wbr/> <wbr/>Push 2 <wbr/>Web -<wbr/> v0.15.0</span></a>
143
- <ul class="tsd-small-nested-navigation">
144
- <li><a href="../enums/State.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g></svg><span>State</span></a></li>
145
- <li><a href="../enums/ListenLensPushResponse_ExcludedLens_Code.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Listen<wbr/>Lens<wbr/>Push<wbr/>Response_<wbr/>Excluded<wbr/>Lens_<wbr/>Code</span></a></li>
146
- <li><a href="../enums/Code.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Code</span></a></li>
147
- <li><a href="Push2Web.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Push2<wbr/>Web</span></a></li>
148
- <li><a href="../interfaces/Lens.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Lens</span></a></li>
149
- <li><a href="../types/GenericErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Generic<wbr/>Error<wbr/>Event</span></a></li>
150
- <li><a href="../types/CommunicationErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Communication<wbr/>Error<wbr/>Event</span></a></li>
151
- <li><a href="../types/LensExcludedErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Excluded<wbr/>Error<wbr/>Event</span></a></li>
152
- <li><a href="../types/SubscriptionInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Subscription<wbr/>Instance</span></a></li>
153
- <li><a href="../types/ErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Error<wbr/>Event</span></a></li>
154
- <li><a href="../types/LensReceivedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Received<wbr/>Event</span></a></li>
155
- <li><a href="../types/SubscriptionChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Subscription<wbr/>Changed<wbr/>Event</span></a></li>
156
- <li><a href="../types/Push2WebEvents.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Push2<wbr/>Web<wbr/>Events</span></a></li></ul></nav></div></div></div>
157
- <div class="tsd-generator">
158
- <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
159
- <div class="overlay"></div></body></html>
25
+ </div><div class="tsd-comment tsd-typography"></div></li><li><h5><span class="tsd-kind-parameter">cameraKitSession</span>: <span class="tsd-signature-type">CameraKitSession</span></h5><div class="tsd-comment tsd-typography"><p>Instance of CameraKitSession object form @snap/camera-kit package.</p>
26
+ </div><div class="tsd-comment tsd-typography"></div></li><li><h5><span class="tsd-kind-parameter">repository</span>: <span class="tsd-signature-type">LensRepository</span></h5><div class="tsd-comment tsd-typography"><p>Instance of LensRepository object from @snap/camera-kit package.</p>
27
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/SubscriptionInstance.html" class="tsd-signature-type tsd-kind-type-alias">SubscriptionInstance</a></h4><div class="tsd-comment tsd-typography"><h4>Subscription Instance</h4></div></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><ul><li><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a></li><li><a href="#events" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>events</span></a></li><li><a href="#extension" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-262144"></use></svg><span>extension</span></a></li><li><a href="#subscribe" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>subscribe</span></a></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1"></use></svg><span>CameraKit Web SDK - Push 2 Web - v0.16.2</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li><a href="../enums/State.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg>State</a></li><li><a href="../enums/ListenLensPushResponse_ExcludedLens_Code.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg>ListenLensPushResponse_ExcludedLens_Code</a></li><li><a href="../enums/Code.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg>Code</a></li><li><a href="Push2Web.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg>Push2Web</a></li><li><a href="../interfaces/Lens.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg>Lens</a></li><li><a href="../types/GenericErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>GenericErrorEvent</a></li><li><a href="../types/CommunicationErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>CommunicationErrorEvent</a></li><li><a href="../types/LensExcludedErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>LensExcludedErrorEvent</a></li><li><a href="../types/SubscriptionInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>SubscriptionInstance</a></li><li><a href="../types/ErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>ErrorEvent</a></li><li><a href="../types/LensReceivedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>LensReceivedEvent</a></li><li><a href="../types/SubscriptionChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>SubscriptionChangedEvent</a></li><li><a href="../types/Push2WebEvents.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>Push2WebEvents</a></li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><svg style="display: none"><g id="icon-1"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-2"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g><g id="icon-16"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-8192"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-16384"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-32768"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-65536"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-131072"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-262144"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-524288"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-1048576"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-2097152"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g><g id="icon-chevronDown"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></g><g id="icon-chevronSmall"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></g><g id="icon-menu"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></g><g id="icon-search"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></g><g id="icon-anchor"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g></svg></body></html>