react-voodoo 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,316 @@
1
+ Copyright (c) 2022 Braun Nathanael
2
+
3
+ Creative Commons Attribution-NoDerivatives 4.0 International
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright and
20
+ certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are intended for use
25
+ by those authorized to give the public permission to use material in
26
+ ways otherwise restricted by copyright and certain other rights. Our
27
+ licenses are irrevocable. Licensors should read and understand the terms
28
+ and conditions of the license they choose before applying it. Licensors
29
+ should also secure all rights necessary before applying our licenses so
30
+ that the public can reuse the material as expected. Licensors should
31
+ clearly mark any material not subject to the license. This includes
32
+ other CC-licensed material, or material used under an exception or
33
+ limitation to copyright. More considerations for licensors :
34
+ wiki.creativecommons.org/Considerations\_for\_licensors
35
+
36
+ Considerations for the public: By using one of our public licenses, a
37
+ licensor grants the public permission to use the licensed material under
38
+ specified terms and conditions. If the licensor's permission is not
39
+ necessary for any reason–for example, because of any applicable
40
+ exception or limitation to copyright–then that use is not regulated by
41
+ the license. Our licenses grant only permissions under copyright and
42
+ certain other rights that a licensor has authority to grant. Use of the
43
+ licensed material may still be restricted for other reasons, including
44
+ because others have copyright or other rights in the material. A
45
+ licensor may make special requests, such as asking that all changes be
46
+ marked or described. Although not required by our licenses, you are
47
+ encouraged to respect those requests where reasonable. More
48
+ considerations for the public :
49
+ wiki.creativecommons.org/Considerations\_for\_licensees
50
+
51
+ Creative Commons Attribution-NoDerivatives 4.0 International Public
52
+ License
53
+
54
+ By exercising the Licensed Rights (defined below), You accept and agree
55
+ to be bound by the terms and conditions of this Creative Commons
56
+ Attribution-NoDerivatives 4.0 International Public License ("Public
57
+ License"). To the extent this Public License may be interpreted as a
58
+ contract, You are granted the Licensed Rights in consideration of Your
59
+ acceptance of these terms and conditions, and the Licensor grants You
60
+ such rights in consideration of benefits the Licensor receives from
61
+ making the Licensed Material available under these terms and conditions.
62
+
63
+ Section 1 – Definitions.
64
+
65
+ - a. Adapted Material means material subject to Copyright and Similar
66
+ Rights that is derived from or based upon the Licensed Material and
67
+ in which the Licensed Material is translated, altered, arranged,
68
+ transformed, or otherwise modified in a manner requiring permission
69
+ under the Copyright and Similar Rights held by the Licensor. For
70
+ purposes of this Public License, where the Licensed Material is a
71
+ musical work, performance, or sound recording, Adapted Material is
72
+ always produced where the Licensed Material is synched in timed
73
+ relation with a moving image.
74
+ - b. Copyright and Similar Rights means copyright and/or similar
75
+ rights closely related to copyright including, without limitation,
76
+ performance, broadcast, sound recording, and Sui Generis Database
77
+ Rights, without regard to how the rights are labeled or categorized.
78
+ For purposes of this Public License, the rights specified in Section
79
+ 2(b)(1)-(2) are not Copyright and Similar Rights.
80
+ - c. Effective Technological Measures means those measures that, in
81
+ the absence of proper authority, may not be circumvented under laws
82
+ fulfilling obligations under Article 11 of the WIPO Copyright Treaty
83
+ adopted on December 20, 1996, and/or similar international
84
+ agreements.
85
+ - d. Exceptions and Limitations means fair use, fair dealing, and/or
86
+ any other exception or limitation to Copyright and Similar Rights
87
+ that applies to Your use of the Licensed Material.
88
+ - e. Licensed Material means the artistic or literary work, database,
89
+ or other material to which the Licensor applied this Public License.
90
+ - f. Licensed Rights means the rights granted to You subject to the
91
+ terms and conditions of this Public License, which are limited to
92
+ all Copyright and Similar Rights that apply to Your use of the
93
+ Licensed Material and that the Licensor has authority to license.
94
+ - g. Licensor means the individual(s) or entity(ies) granting rights
95
+ under this Public License.
96
+ - h. Share means to provide material to the public by any means or
97
+ process that requires permission under the Licensed Rights, such as
98
+ reproduction, public display, public performance, distribution,
99
+ dissemination, communication, or importation, and to make material
100
+ available to the public including in ways that members of the public
101
+ may access the material from a place and at a time individually
102
+ chosen by them.
103
+ - i. Sui Generis Database Rights means rights other than copyright
104
+ resulting from Directive 96/9/EC of the European Parliament and of
105
+ the Council of 11 March 1996 on the legal protection of databases,
106
+ as amended and/or succeeded, as well as other essentially equivalent
107
+ rights anywhere in the world.
108
+ - j. You means the individual or entity exercising the Licensed Rights
109
+ under this Public License. Your has a corresponding meaning.
110
+
111
+ Section 2 – Scope.
112
+
113
+ - a. License grant.
114
+ - 1. Subject to the terms and conditions of this Public License,
115
+ the Licensor hereby grants You a worldwide, royalty-free,
116
+ non-sublicensable, non-exclusive, irrevocable license to
117
+ exercise the Licensed Rights in the Licensed Material to:
118
+ - A. reproduce and Share the Licensed Material, in whole or in
119
+ part; and
120
+ - B. produce and reproduce, but not Share, Adapted Material.
121
+ - 2. Exceptions and Limitations. For the avoidance of doubt, where
122
+ Exceptions and Limitations apply to Your use, this Public
123
+ License does not apply, and You do not need to comply with its
124
+ terms and conditions.
125
+ - 3. Term. The term of this Public License is specified in Section
126
+ 6(a).
127
+ - 4. Media and formats; technical modifications allowed. The
128
+ Licensor authorizes You to exercise the Licensed Rights in all
129
+ media and formats whether now known or hereafter created, and to
130
+ make technical modifications necessary to do so. The Licensor
131
+ waives and/or agrees not to assert any right or authority to
132
+ forbid You from making technical modifications necessary to
133
+ exercise the Licensed Rights, including technical modifications
134
+ necessary to circumvent Effective Technological Measures. For
135
+ purposes of this Public License, simply making modifications
136
+ authorized by this Section 2(a)(4) never produces Adapted
137
+ Material.
138
+ - 5. Downstream recipients.
139
+ - A. Offer from the Licensor – Licensed Material. Every
140
+ recipient of the Licensed Material automatically receives an
141
+ offer from the Licensor to exercise the Licensed Rights
142
+ under the terms and conditions of this Public License.
143
+ - B. No downstream restrictions. You may not offer or impose
144
+ any additional or different terms or conditions on, or apply
145
+ any Effective Technological Measures to, the Licensed
146
+ Material if doing so restricts exercise of the Licensed
147
+ Rights by any recipient of the Licensed Material.
148
+ - 6. No endorsement. Nothing in this Public License constitutes or
149
+ may be construed as permission to assert or imply that You are,
150
+ or that Your use of the Licensed Material is, connected with, or
151
+ sponsored, endorsed, or granted official status by, the Licensor
152
+ or others designated to receive attribution as provided in
153
+ Section 3(a)(1)(A)(i).
154
+ - b. Other rights.
155
+ - 1. Moral rights, such as the right of integrity, are not
156
+ licensed under this Public License, nor are publicity, privacy,
157
+ and/or other similar personality rights; however, to the extent
158
+ possible, the Licensor waives and/or agrees not to assert any
159
+ such rights held by the Licensor to the limited extent necessary
160
+ to allow You to exercise the Licensed Rights, but not otherwise.
161
+ - 2. Patent and trademark rights are not licensed under this
162
+ Public License.
163
+ - 3. To the extent possible, the Licensor waives any right to
164
+ collect royalties from You for the exercise of the Licensed
165
+ Rights, whether directly or through a collecting society under
166
+ any voluntary or waivable statutory or compulsory licensing
167
+ scheme. In all other cases the Licensor expressly reserves any
168
+ right to collect such royalties.
169
+
170
+ Section 3 – License Conditions.
171
+
172
+ Your exercise of the Licensed Rights is expressly made subject to the
173
+ following conditions.
174
+
175
+ - a. Attribution.
176
+ - 1. If You Share the Licensed Material, You must:
177
+ - A. retain the following if it is supplied by the Licensor
178
+ with the Licensed Material:
179
+ - i. identification of the creator(s) of the Licensed
180
+ Material and any others designated to receive
181
+ attribution, in any reasonable manner requested by the
182
+ Licensor (including by pseudonym if designated);
183
+ - ii. a copyright notice;
184
+ - iii. a notice that refers to this Public License;
185
+ - iv. a notice that refers to the disclaimer of
186
+ warranties;
187
+ - v. a URI or hyperlink to the Licensed Material to the
188
+ extent reasonably practicable;
189
+ - B. indicate if You modified the Licensed Material and retain
190
+ an indication of any previous modifications; and
191
+ - C. indicate the Licensed Material is licensed under this
192
+ Public License, and include the text of, or the URI or
193
+ hyperlink to, this Public License.
194
+ - 2. For the avoidance of doubt, You do not have permission under
195
+ this Public License to Share Adapted Material.
196
+ - 3. You may satisfy the conditions in Section 3(a)(1) in any
197
+ reasonable manner based on the medium, means, and context in
198
+ which You Share the Licensed Material. For example, it may be
199
+ reasonable to satisfy the conditions by providing a URI or
200
+ hyperlink to a resource that includes the required information.
201
+ - 4. If requested by the Licensor, You must remove any of the
202
+ information required by Section 3(a)(1)(A) to the extent
203
+ reasonably practicable.
204
+
205
+ Section 4 – Sui Generis Database Rights.
206
+
207
+ Where the Licensed Rights include Sui Generis Database Rights that apply
208
+ to Your use of the Licensed Material:
209
+
210
+ - a. for the avoidance of doubt, Section 2(a)(1) grants You the right
211
+ to extract, reuse, reproduce, and Share all or a substantial portion
212
+ of the contents of the database, provided You do not Share Adapted
213
+ Material;
214
+ - b. if You include all or a substantial portion of the database
215
+ contents in a database in which You have Sui Generis Database
216
+ Rights, then the database in which You have Sui Generis Database
217
+ Rights (but not its individual contents) is Adapted Material; and
218
+ - c. You must comply with the conditions in Section 3(a) if You Share
219
+ all or a substantial portion of the contents of the database.
220
+ For the avoidance of doubt, this Section 4 supplements and does not
221
+ replace Your obligations under this Public License where the
222
+ Licensed Rights include other Copyright and Similar Rights.
223
+
224
+ Section 5 – Disclaimer of Warranties and Limitation of Liability.
225
+
226
+ - a. Unless otherwise separately undertaken by the Licensor, to the
227
+ extent possible, the Licensor offers the Licensed Material as-is and
228
+ as-available, and makes no representations or warranties of any kind
229
+ concerning the Licensed Material, whether express, implied,
230
+ statutory, or other. This includes, without limitation, warranties
231
+ of title, merchantability, fitness for a particular purpose,
232
+ non-infringement, absence of latent or other defects, accuracy, or
233
+ the presence or absence of errors, whether or not known or
234
+ discoverable. Where disclaimers of warranties are not allowed in
235
+ full or in part, this disclaimer may not apply to You.
236
+ - b. To the extent possible, in no event will the Licensor be liable
237
+ to You on any legal theory (including, without limitation,
238
+ negligence) or otherwise for any direct, special, indirect,
239
+ incidental, consequential, punitive, exemplary, or other losses,
240
+ costs, expenses, or damages arising out of this Public License or
241
+ use of the Licensed Material, even if the Licensor has been advised
242
+ of the possibility of such losses, costs, expenses, or damages.
243
+ Where a limitation of liability is not allowed in full or in part,
244
+ this limitation may not apply to You.
245
+ - c. The disclaimer of warranties and limitation of liability provided
246
+ above shall be interpreted in a manner that, to the extent possible,
247
+ most closely approximates an absolute disclaimer and waiver of all
248
+ liability.
249
+
250
+ Section 6 – Term and Termination.
251
+
252
+ - a. This Public License applies for the term of the Copyright and
253
+ Similar Rights licensed here. However, if You fail to comply with
254
+ this Public License, then Your rights under this Public License
255
+ terminate automatically.
256
+ - b. Where Your right to use the Licensed Material has terminated
257
+ under Section 6(a), it reinstates:
258
+ - 1. automatically as of the date the violation is cured, provided
259
+ it is cured within 30 days of Your discovery of the violation;
260
+ or
261
+ - 2. upon express reinstatement by the Licensor.
262
+ - c. For the avoidance of doubt, this Section 6(b) does not affect any
263
+ right the Licensor may have to seek remedies for Your violations of
264
+ this Public License.
265
+ - d. For the avoidance of doubt, the Licensor may also offer the
266
+ Licensed Material under separate terms or conditions or stop
267
+ distributing the Licensed Material at any time; however, doing so
268
+ will not terminate this Public License.
269
+ - e. Sections 1, 5, 6, 7, and 8 survive termination of this Public
270
+ License.
271
+
272
+ Section 7 – Other Terms and Conditions.
273
+
274
+ - a. The Licensor shall not be bound by any additional or different
275
+ terms or conditions communicated by You unless expressly agreed.
276
+ - b. Any arrangements, understandings, or agreements regarding the
277
+ Licensed Material not stated herein are separate from and
278
+ independent of the terms and conditions of this Public License.
279
+
280
+ Section 8 – Interpretation.
281
+
282
+ - a. For the avoidance of doubt, this Public License does not, and
283
+ shall not be interpreted to, reduce, limit, restrict, or impose
284
+ conditions on any use of the Licensed Material that could lawfully
285
+ be made without permission under this Public License.
286
+ - b. To the extent possible, if any provision of this Public License
287
+ is deemed unenforceable, it shall be automatically reformed to the
288
+ minimum extent necessary to make it enforceable. If the provision
289
+ cannot be reformed, it shall be severed from this Public License
290
+ without affecting the enforceability of the remaining terms and
291
+ conditions.
292
+ - c. No term or condition of this Public License will be waived and no
293
+ failure to comply consented to unless expressly agreed to by the
294
+ Licensor.
295
+ - d. Nothing in this Public License constitutes or may be interpreted
296
+ as a limitation upon, or waiver of, any privileges and immunities
297
+ that apply to the Licensor or You, including from the legal
298
+ processes of any jurisdiction or authority.
299
+
300
+ Creative Commons is not a party to its public licenses. Notwithstanding,
301
+ Creative Commons may elect to apply one of its public licenses to
302
+ material it publishes and in those instances will be considered the
303
+ "Licensor." The text of the Creative Commons public licenses is
304
+ dedicated to the public domain under the CC0 Public Domain Dedication.
305
+ Except for the limited purpose of indicating that material is shared
306
+ under a Creative Commons public license or as otherwise permitted by the
307
+ Creative Commons policies published at creativecommons.org/policies,
308
+ Creative Commons does not authorize the use of the trademark "Creative
309
+ Commons" or any other trademark or logo of Creative Commons without its
310
+ prior written consent including, without limitation, in connection with
311
+ any unauthorized modifications to any of its public licenses or any
312
+ other arrangements, understandings, or agreements concerning use of
313
+ licensed material. For the avoidance of doubt, this paragraph does not
314
+ form part of the public licenses.
315
+
316
+ Creative Commons may be contacted at creativecommons.org.
@@ -1,27 +1,12 @@
1
1
  /*!
2
- * MIT License
2
+ * Copyright (c) 2022-2023 Braun Nathanael
3
3
  *
4
- * Copyright (c) 2020 Braun Nathanael
4
+ * This project is dual licensed under one of the following licenses:
5
+ * - Creative Commons Attribution-NoDerivatives 4.0 International License.
6
+ * - GNU AFFERO GENERAL PUBLIC LICENSE Version 3
5
7
  *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
8
+ * You should have received a copy of theses licenses along with this work.
9
+ * If not, see <http://creativecommons.org/licenses/by-nd/4.0/> or <http://www.gnu.org/licenses/agpl-3.0.txt>.
23
10
  */
24
11
 
25
- //!(pos >= _.min && pos <= _.max) && console.warn("out", _.pos, pos, delta);
26
12
 
27
- //!_.tweenRefCSS[id] &&