@file-viewer/web 3.1.1 → 3.2.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.
@@ -0,0 +1,586 @@
1
+ dompurify@3.4.16
2
+
3
+ License: (MPL-2.0 OR Apache-2.0)
4
+
5
+ Source: git://github.com/cure53/DOMPurify.git
6
+
7
+ --- LICENSE ---
8
+
9
+ Apache License
10
+ Version 2.0, January 2004
11
+ http://www.apache.org/licenses/
12
+
13
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
14
+
15
+ 1. Definitions.
16
+
17
+ "License" shall mean the terms and conditions for use, reproduction,
18
+ and distribution as defined by Sections 1 through 9 of this document.
19
+
20
+ "Licensor" shall mean the copyright owner or entity authorized by
21
+ the copyright owner that is granting the License.
22
+
23
+ "Legal Entity" shall mean the union of the acting entity and all
24
+ other entities that control, are controlled by, or are under common
25
+ control with that entity. For the purposes of this definition,
26
+ "control" means (i) the power, direct or indirect, to cause the
27
+ direction or management of such entity, whether by contract or
28
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
29
+ outstanding shares, or (iii) beneficial ownership of such entity.
30
+
31
+ "You" (or "Your") shall mean an individual or Legal Entity
32
+ exercising permissions granted by this License.
33
+
34
+ "Source" form shall mean the preferred form for making modifications,
35
+ including but not limited to software source code, documentation
36
+ source, and configuration files.
37
+
38
+ "Object" form shall mean any form resulting from mechanical
39
+ transformation or translation of a Source form, including but
40
+ not limited to compiled object code, generated documentation,
41
+ and conversions to other media types.
42
+
43
+ "Work" shall mean the work of authorship, whether in Source or
44
+ Object form, made available under the License, as indicated by a
45
+ copyright notice that is included in or attached to the work
46
+ (an example is provided in the Appendix below).
47
+
48
+ "Derivative Works" shall mean any work, whether in Source or Object
49
+ form, that is based on (or derived from) the Work and for which the
50
+ editorial revisions, annotations, elaborations, or other modifications
51
+ represent, as a whole, an original work of authorship. For the purposes
52
+ of this License, Derivative Works shall not include works that remain
53
+ separable from, or merely link (or bind by name) to the interfaces of,
54
+ the Work and Derivative Works thereof.
55
+
56
+ "Contribution" shall mean any work of authorship, including
57
+ the original version of the Work and any modifications or additions
58
+ to that Work or Derivative Works thereof, that is intentionally
59
+ submitted to Licensor for inclusion in the Work by the copyright owner
60
+ or by an individual or Legal Entity authorized to submit on behalf of
61
+ the copyright owner. For the purposes of this definition, "submitted"
62
+ means any form of electronic, verbal, or written communication sent
63
+ to the Licensor or its representatives, including but not limited to
64
+ communication on electronic mailing lists, source code control systems,
65
+ and issue tracking systems that are managed by, or on behalf of, the
66
+ Licensor for the purpose of discussing and improving the Work, but
67
+ excluding communication that is conspicuously marked or otherwise
68
+ designated in writing by the copyright owner as "Not a Contribution."
69
+
70
+ "Contributor" shall mean Licensor and any individual or Legal Entity
71
+ on behalf of whom a Contribution has been received by Licensor and
72
+ subsequently incorporated within the Work.
73
+
74
+ 2. Grant of Copyright License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ copyright license to reproduce, prepare Derivative Works of,
78
+ publicly display, publicly perform, sublicense, and distribute the
79
+ Work and such Derivative Works in Source or Object form.
80
+
81
+ 3. Grant of Patent License. Subject to the terms and conditions of
82
+ this License, each Contributor hereby grants to You a perpetual,
83
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
84
+ (except as stated in this section) patent license to make, have made,
85
+ use, offer to sell, sell, import, and otherwise transfer the Work,
86
+ where such license applies only to those patent claims licensable
87
+ by such Contributor that are necessarily infringed by their
88
+ Contribution(s) alone or by combination of their Contribution(s)
89
+ with the Work to which such Contribution(s) was submitted. If You
90
+ institute patent litigation against any entity (including a
91
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
92
+ or a Contribution incorporated within the Work constitutes direct
93
+ or contributory patent infringement, then any patent licenses
94
+ granted to You under this License for that Work shall terminate
95
+ as of the date such litigation is filed.
96
+
97
+ 4. Redistribution. You may reproduce and distribute copies of the
98
+ Work or Derivative Works thereof in any medium, with or without
99
+ modifications, and in Source or Object form, provided that You
100
+ meet the following conditions:
101
+
102
+ (a) You must give any other recipients of the Work or
103
+ Derivative Works a copy of this License; and
104
+
105
+ (b) You must cause any modified files to carry prominent notices
106
+ stating that You changed the files; and
107
+
108
+ (c) You must retain, in the Source form of any Derivative Works
109
+ that You distribute, all copyright, patent, trademark, and
110
+ attribution notices from the Source form of the Work,
111
+ excluding those notices that do not pertain to any part of
112
+ the Derivative Works; and
113
+
114
+ (d) If the Work includes a "NOTICE" text file as part of its
115
+ distribution, then any Derivative Works that You distribute must
116
+ include a readable copy of the attribution notices contained
117
+ within such NOTICE file, excluding those notices that do not
118
+ pertain to any part of the Derivative Works, in at least one
119
+ of the following places: within a NOTICE text file distributed
120
+ as part of the Derivative Works; within the Source form or
121
+ documentation, if provided along with the Derivative Works; or,
122
+ within a display generated by the Derivative Works, if and
123
+ wherever such third-party notices normally appear. The contents
124
+ of the NOTICE file are for informational purposes only and
125
+ do not modify the License. You may add Your own attribution
126
+ notices within Derivative Works that You distribute, alongside
127
+ or as an addendum to the NOTICE text from the Work, provided
128
+ that such additional attribution notices cannot be construed
129
+ as modifying the License.
130
+
131
+ You may add Your own copyright statement to Your modifications and
132
+ may provide additional or different license terms and conditions
133
+ for use, reproduction, or distribution of Your modifications, or
134
+ for any such Derivative Works as a whole, provided Your use,
135
+ reproduction, and distribution of the Work otherwise complies with
136
+ the conditions stated in this License.
137
+
138
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
139
+ any Contribution intentionally submitted for inclusion in the Work
140
+ by You to the Licensor shall be under the terms and conditions of
141
+ this License, without any additional terms or conditions.
142
+ Notwithstanding the above, nothing herein shall supersede or modify
143
+ the terms of any separate license agreement you may have executed
144
+ with Licensor regarding such Contributions.
145
+
146
+ 6. Trademarks. This License does not grant permission to use the trade
147
+ names, trademarks, service marks, or product names of the Licensor,
148
+ except as required for reasonable and customary use in describing the
149
+ origin of the Work and reproducing the content of the NOTICE file.
150
+
151
+ 7. Disclaimer of Warranty. Unless required by applicable law or
152
+ agreed to in writing, Licensor provides the Work (and each
153
+ Contributor provides its Contributions) on an "AS IS" BASIS,
154
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
155
+ implied, including, without limitation, any warranties or conditions
156
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
157
+ PARTICULAR PURPOSE. You are solely responsible for determining the
158
+ appropriateness of using or redistributing the Work and assume any
159
+ risks associated with Your exercise of permissions under this License.
160
+
161
+ 8. Limitation of Liability. In no event and under no legal theory,
162
+ whether in tort (including negligence), contract, or otherwise,
163
+ unless required by applicable law (such as deliberate and grossly
164
+ negligent acts) or agreed to in writing, shall any Contributor be
165
+ liable to You for damages, including any direct, indirect, special,
166
+ incidental, or consequential damages of any character arising as a
167
+ result of this License or out of the use or inability to use the
168
+ Work (including but not limited to damages for loss of goodwill,
169
+ work stoppage, computer failure or malfunction, or any and all
170
+ other commercial damages or losses), even if such Contributor
171
+ has been advised of the possibility of such damages.
172
+
173
+ 9. Accepting Warranty or Additional Liability. While redistributing
174
+ the Work or Derivative Works thereof, You may choose to offer,
175
+ and charge a fee for, acceptance of support, warranty, indemnity,
176
+ or other liability obligations and/or rights consistent with this
177
+ License. However, in accepting such obligations, You may act only
178
+ on Your own behalf and on Your sole responsibility, not on behalf
179
+ of any other Contributor, and only if You agree to indemnify,
180
+ defend, and hold each Contributor harmless for any liability
181
+ incurred by, or claims asserted against, such Contributor by reason
182
+ of your accepting any such warranty or additional liability.
183
+
184
+ END OF TERMS AND CONDITIONS
185
+
186
+ APPENDIX: How to apply the Apache License to your work.
187
+
188
+ To apply the Apache License to your work, attach the following
189
+ boilerplate notice, with the fields enclosed by brackets "[]"
190
+ replaced with your own identifying information. (Don't include
191
+ the brackets!) The text should be enclosed in the appropriate
192
+ comment syntax for the file format. We also recommend that a
193
+ file or class name and description of purpose be included on the
194
+ same "printed page" as the copyright notice for easier
195
+ identification within third-party archives.
196
+
197
+ Copyright [yyyy] [name of copyright owner]
198
+
199
+ Licensed under the Apache License, Version 2.0 (the "License");
200
+ you may not use this file except in compliance with the License.
201
+ You may obtain a copy of the License at
202
+
203
+ http://www.apache.org/licenses/LICENSE-2.0
204
+
205
+ Unless required by applicable law or agreed to in writing, software
206
+ distributed under the License is distributed on an "AS IS" BASIS,
207
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
208
+ See the License for the specific language governing permissions and
209
+ limitations under the License.
210
+
211
+
212
+ --- LICENSE-MPL ---
213
+ Mozilla Public License Version 2.0
214
+ ==================================
215
+
216
+ 1. Definitions
217
+ --------------
218
+
219
+ 1.1. "Contributor"
220
+ means each individual or legal entity that creates, contributes to
221
+ the creation of, or owns Covered Software.
222
+
223
+ 1.2. "Contributor Version"
224
+ means the combination of the Contributions of others (if any) used
225
+ by a Contributor and that particular Contributor's Contribution.
226
+
227
+ 1.3. "Contribution"
228
+ means Covered Software of a particular Contributor.
229
+
230
+ 1.4. "Covered Software"
231
+ means Source Code Form to which the initial Contributor has attached
232
+ the notice in Exhibit A, the Executable Form of such Source Code
233
+ Form, and Modifications of such Source Code Form, in each case
234
+ including portions thereof.
235
+
236
+ 1.5. "Incompatible With Secondary Licenses"
237
+ means
238
+
239
+ (a) that the initial Contributor has attached the notice described
240
+ in Exhibit B to the Covered Software; or
241
+
242
+ (b) that the Covered Software was made available under the terms of
243
+ version 1.1 or earlier of the License, but not also under the
244
+ terms of a Secondary License.
245
+
246
+ 1.6. "Executable Form"
247
+ means any form of the work other than Source Code Form.
248
+
249
+ 1.7. "Larger Work"
250
+ means a work that combines Covered Software with other material, in
251
+ a separate file or files, that is not Covered Software.
252
+
253
+ 1.8. "License"
254
+ means this document.
255
+
256
+ 1.9. "Licensable"
257
+ means having the right to grant, to the maximum extent possible,
258
+ whether at the time of the initial grant or subsequently, any and
259
+ all of the rights conveyed by this License.
260
+
261
+ 1.10. "Modifications"
262
+ means any of the following:
263
+
264
+ (a) any file in Source Code Form that results from an addition to,
265
+ deletion from, or modification of the contents of Covered
266
+ Software; or
267
+
268
+ (b) any new file in Source Code Form that contains any Covered
269
+ Software.
270
+
271
+ 1.11. "Patent Claims" of a Contributor
272
+ means any patent claim(s), including without limitation, method,
273
+ process, and apparatus claims, in any patent Licensable by such
274
+ Contributor that would be infringed, but for the grant of the
275
+ License, by the making, using, selling, offering for sale, having
276
+ made, import, or transfer of either its Contributions or its
277
+ Contributor Version.
278
+
279
+ 1.12. "Secondary License"
280
+ means either the GNU General Public License, Version 2.0, the GNU
281
+ Lesser General Public License, Version 2.1, the GNU Affero General
282
+ Public License, Version 3.0, or any later versions of those
283
+ licenses.
284
+
285
+ 1.13. "Source Code Form"
286
+ means the form of the work preferred for making modifications.
287
+
288
+ 1.14. "You" (or "Your")
289
+ means an individual or a legal entity exercising rights under this
290
+ License. For legal entities, "You" includes any entity that
291
+ controls, is controlled by, or is under common control with You. For
292
+ purposes of this definition, "control" means (a) the power, direct
293
+ or indirect, to cause the direction or management of such entity,
294
+ whether by contract or otherwise, or (b) ownership of more than
295
+ fifty percent (50%) of the outstanding shares or beneficial
296
+ ownership of such entity.
297
+
298
+ 2. License Grants and Conditions
299
+ --------------------------------
300
+
301
+ 2.1. Grants
302
+
303
+ Each Contributor hereby grants You a world-wide, royalty-free,
304
+ non-exclusive license:
305
+
306
+ (a) under intellectual property rights (other than patent or trademark)
307
+ Licensable by such Contributor to use, reproduce, make available,
308
+ modify, display, perform, distribute, and otherwise exploit its
309
+ Contributions, either on an unmodified basis, with Modifications, or
310
+ as part of a Larger Work; and
311
+
312
+ (b) under Patent Claims of such Contributor to make, use, sell, offer
313
+ for sale, have made, import, and otherwise transfer either its
314
+ Contributions or its Contributor Version.
315
+
316
+ 2.2. Effective Date
317
+
318
+ The licenses granted in Section 2.1 with respect to any Contribution
319
+ become effective for each Contribution on the date the Contributor first
320
+ distributes such Contribution.
321
+
322
+ 2.3. Limitations on Grant Scope
323
+
324
+ The licenses granted in this Section 2 are the only rights granted under
325
+ this License. No additional rights or licenses will be implied from the
326
+ distribution or licensing of Covered Software under this License.
327
+ Notwithstanding Section 2.1(b) above, no patent license is granted by a
328
+ Contributor:
329
+
330
+ (a) for any code that a Contributor has removed from Covered Software;
331
+ or
332
+
333
+ (b) for infringements caused by: (i) Your and any other third party's
334
+ modifications of Covered Software, or (ii) the combination of its
335
+ Contributions with other software (except as part of its Contributor
336
+ Version); or
337
+
338
+ (c) under Patent Claims infringed by Covered Software in the absence of
339
+ its Contributions.
340
+
341
+ This License does not grant any rights in the trademarks, service marks,
342
+ or logos of any Contributor (except as may be necessary to comply with
343
+ the notice requirements in Section 3.4).
344
+
345
+ 2.4. Subsequent Licenses
346
+
347
+ No Contributor makes additional grants as a result of Your choice to
348
+ distribute the Covered Software under a subsequent version of this
349
+ License (see Section 10.2) or under the terms of a Secondary License (if
350
+ permitted under the terms of Section 3.3).
351
+
352
+ 2.5. Representation
353
+
354
+ Each Contributor represents that the Contributor believes its
355
+ Contributions are its original creation(s) or it has sufficient rights
356
+ to grant the rights to its Contributions conveyed by this License.
357
+
358
+ 2.6. Fair Use
359
+
360
+ This License is not intended to limit any rights You have under
361
+ applicable copyright doctrines of fair use, fair dealing, or other
362
+ equivalents.
363
+
364
+ 2.7. Conditions
365
+
366
+ Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
367
+ in Section 2.1.
368
+
369
+ 3. Responsibilities
370
+ -------------------
371
+
372
+ 3.1. Distribution of Source Form
373
+
374
+ All distribution of Covered Software in Source Code Form, including any
375
+ Modifications that You create or to which You contribute, must be under
376
+ the terms of this License. You must inform recipients that the Source
377
+ Code Form of the Covered Software is governed by the terms of this
378
+ License, and how they can obtain a copy of this License. You may not
379
+ attempt to alter or restrict the recipients' rights in the Source Code
380
+ Form.
381
+
382
+ 3.2. Distribution of Executable Form
383
+
384
+ If You distribute Covered Software in Executable Form then:
385
+
386
+ (a) such Covered Software must also be made available in Source Code
387
+ Form, as described in Section 3.1, and You must inform recipients of
388
+ the Executable Form how they can obtain a copy of such Source Code
389
+ Form by reasonable means in a timely manner, at a charge no more
390
+ than the cost of distribution to the recipient; and
391
+
392
+ (b) You may distribute such Executable Form under the terms of this
393
+ License, or sublicense it under different terms, provided that the
394
+ license for the Executable Form does not attempt to limit or alter
395
+ the recipients' rights in the Source Code Form under this License.
396
+
397
+ 3.3. Distribution of a Larger Work
398
+
399
+ You may create and distribute a Larger Work under terms of Your choice,
400
+ provided that You also comply with the requirements of this License for
401
+ the Covered Software. If the Larger Work is a combination of Covered
402
+ Software with a work governed by one or more Secondary Licenses, and the
403
+ Covered Software is not Incompatible With Secondary Licenses, this
404
+ License permits You to additionally distribute such Covered Software
405
+ under the terms of such Secondary License(s), so that the recipient of
406
+ the Larger Work may, at their option, further distribute the Covered
407
+ Software under the terms of either this License or such Secondary
408
+ License(s).
409
+
410
+ 3.4. Notices
411
+
412
+ You may not remove or alter the substance of any license notices
413
+ (including copyright notices, patent notices, disclaimers of warranty,
414
+ or limitations of liability) contained within the Source Code Form of
415
+ the Covered Software, except that You may alter any license notices to
416
+ the extent required to remedy known factual inaccuracies.
417
+
418
+ 3.5. Application of Additional Terms
419
+
420
+ You may choose to offer, and to charge a fee for, warranty, support,
421
+ indemnity or liability obligations to one or more recipients of Covered
422
+ Software. However, You may do so only on Your own behalf, and not on
423
+ behalf of any Contributor. You must make it absolutely clear that any
424
+ such warranty, support, indemnity, or liability obligation is offered by
425
+ You alone, and You hereby agree to indemnify every Contributor for any
426
+ liability incurred by such Contributor as a result of warranty, support,
427
+ indemnity or liability terms You offer. You may include additional
428
+ disclaimers of warranty and limitations of liability specific to any
429
+ jurisdiction.
430
+
431
+ 4. Inability to Comply Due to Statute or Regulation
432
+ ---------------------------------------------------
433
+
434
+ If it is impossible for You to comply with any of the terms of this
435
+ License with respect to some or all of the Covered Software due to
436
+ statute, judicial order, or regulation then You must: (a) comply with
437
+ the terms of this License to the maximum extent possible; and (b)
438
+ describe the limitations and the code they affect. Such description must
439
+ be placed in a text file included with all distributions of the Covered
440
+ Software under this License. Except to the extent prohibited by statute
441
+ or regulation, such description must be sufficiently detailed for a
442
+ recipient of ordinary skill to be able to understand it.
443
+
444
+ 5. Termination
445
+ --------------
446
+
447
+ 5.1. The rights granted under this License will terminate automatically
448
+ if You fail to comply with any of its terms. However, if You become
449
+ compliant, then the rights granted under this License from a particular
450
+ Contributor are reinstated (a) provisionally, unless and until such
451
+ Contributor explicitly and finally terminates Your grants, and (b) on an
452
+ ongoing basis, if such Contributor fails to notify You of the
453
+ non-compliance by some reasonable means prior to 60 days after You have
454
+ come back into compliance. Moreover, Your grants from a particular
455
+ Contributor are reinstated on an ongoing basis if such Contributor
456
+ notifies You of the non-compliance by some reasonable means, this is the
457
+ first time You have received notice of non-compliance with this License
458
+ from such Contributor, and You become compliant prior to 30 days after
459
+ Your receipt of the notice.
460
+
461
+ 5.2. If You initiate litigation against any entity by asserting a patent
462
+ infringement claim (excluding declaratory judgment actions,
463
+ counter-claims, and cross-claims) alleging that a Contributor Version
464
+ directly or indirectly infringes any patent, then the rights granted to
465
+ You by any and all Contributors for the Covered Software under Section
466
+ 2.1 of this License shall terminate.
467
+
468
+ 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
469
+ end user license agreements (excluding distributors and resellers) which
470
+ have been validly granted by You or Your distributors under this License
471
+ prior to termination shall survive termination.
472
+
473
+ ************************************************************************
474
+ * *
475
+ * 6. Disclaimer of Warranty *
476
+ * ------------------------- *
477
+ * *
478
+ * Covered Software is provided under this License on an "as is" *
479
+ * basis, without warranty of any kind, either expressed, implied, or *
480
+ * statutory, including, without limitation, warranties that the *
481
+ * Covered Software is free of defects, merchantable, fit for a *
482
+ * particular purpose or non-infringing. The entire risk as to the *
483
+ * quality and performance of the Covered Software is with You. *
484
+ * Should any Covered Software prove defective in any respect, You *
485
+ * (not any Contributor) assume the cost of any necessary servicing, *
486
+ * repair, or correction. This disclaimer of warranty constitutes an *
487
+ * essential part of this License. No use of any Covered Software is *
488
+ * authorized under this License except under this disclaimer. *
489
+ * *
490
+ ************************************************************************
491
+
492
+ ************************************************************************
493
+ * *
494
+ * 7. Limitation of Liability *
495
+ * -------------------------- *
496
+ * *
497
+ * Under no circumstances and under no legal theory, whether tort *
498
+ * (including negligence), contract, or otherwise, shall any *
499
+ * Contributor, or anyone who distributes Covered Software as *
500
+ * permitted above, be liable to You for any direct, indirect, *
501
+ * special, incidental, or consequential damages of any character *
502
+ * including, without limitation, damages for lost profits, loss of *
503
+ * goodwill, work stoppage, computer failure or malfunction, or any *
504
+ * and all other commercial damages or losses, even if such party *
505
+ * shall have been informed of the possibility of such damages. This *
506
+ * limitation of liability shall not apply to liability for death or *
507
+ * personal injury resulting from such party's negligence to the *
508
+ * extent applicable law prohibits such limitation. Some *
509
+ * jurisdictions do not allow the exclusion or limitation of *
510
+ * incidental or consequential damages, so this exclusion and *
511
+ * limitation may not apply to You. *
512
+ * *
513
+ ************************************************************************
514
+
515
+ 8. Litigation
516
+ -------------
517
+
518
+ Any litigation relating to this License may be brought only in the
519
+ courts of a jurisdiction where the defendant maintains its principal
520
+ place of business and such litigation shall be governed by laws of that
521
+ jurisdiction, without reference to its conflict-of-law provisions.
522
+ Nothing in this Section shall prevent a party's ability to bring
523
+ cross-claims or counter-claims.
524
+
525
+ 9. Miscellaneous
526
+ ----------------
527
+
528
+ This License represents the complete agreement concerning the subject
529
+ matter hereof. If any provision of this License is held to be
530
+ unenforceable, such provision shall be reformed only to the extent
531
+ necessary to make it enforceable. Any law or regulation which provides
532
+ that the language of a contract shall be construed against the drafter
533
+ shall not be used to construe this License against a Contributor.
534
+
535
+ 10. Versions of the License
536
+ ---------------------------
537
+
538
+ 10.1. New Versions
539
+
540
+ Mozilla Foundation is the license steward. Except as provided in Section
541
+ 10.3, no one other than the license steward has the right to modify or
542
+ publish new versions of this License. Each version will be given a
543
+ distinguishing version number.
544
+
545
+ 10.2. Effect of New Versions
546
+
547
+ You may distribute the Covered Software under the terms of the version
548
+ of the License under which You originally received the Covered Software,
549
+ or under the terms of any subsequent version published by the license
550
+ steward.
551
+
552
+ 10.3. Modified Versions
553
+
554
+ If you create software not governed by this License, and you want to
555
+ create a new license for such software, you may create and use a
556
+ modified version of this License if you rename the license and remove
557
+ any references to the name of the license steward (except to note that
558
+ such modified license differs from this License).
559
+
560
+ 10.4. Distributing Source Code Form that is Incompatible With Secondary
561
+ Licenses
562
+
563
+ If You choose to distribute Source Code Form that is Incompatible With
564
+ Secondary Licenses under the terms of this version of the License, the
565
+ notice described in Exhibit B of this License must be attached.
566
+
567
+ Exhibit A - Source Code Form License Notice
568
+ -------------------------------------------
569
+
570
+ This Source Code Form is subject to the terms of the Mozilla Public
571
+ License, v. 2.0. If a copy of the MPL was not distributed with this
572
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
573
+
574
+ If it is not possible or desirable to put the notice in a particular
575
+ file, then You may include the notice in a location (such as a LICENSE
576
+ file in a relevant directory) where a recipient would be likely to look
577
+ for such a notice.
578
+
579
+ You may add additional accurate notices of copyright ownership.
580
+
581
+ Exhibit B - "Incompatible With Secondary Licenses" Notice
582
+ ---------------------------------------------------------
583
+
584
+ This Source Code Form is "Incompatible With Secondary Licenses", as
585
+ defined by the Mozilla Public License, v. 2.0.
586
+
@@ -23,7 +23,6 @@ export function createFileViewerCustomEvent(owner, name, detail) {
23
23
  return legacyEvent;
24
24
  }
25
25
  catch {
26
- // Fall through to the standard Event constructor for partial DOM shims.
27
26
  }
28
27
  }
29
28
  const ownerEvent = ownerWindow === null || ownerWindow === void 0 ? void 0 : ownerWindow.Event;
package/dist/element.js CHANGED
@@ -473,10 +473,6 @@ export class FileViewerElement extends ElementBase {
473
473
  if (!this.shadowRoot || ((_a = this.mountNode) === null || _a === void 0 ? void 0 : _a.getRootNode()) !== this.shadowRoot) {
474
474
  return mountOptions;
475
475
  }
476
- // The custom element already owns this ShadowRoot. Ask the shared
477
- // controller to render its scoped shell inside it instead of creating a
478
- // redundant nested root. Framework containers inside a customer's Shadow
479
- // DOM still receive their own controller-owned root.
480
476
  return {
481
477
  ...mountOptions,
482
478
  options: {