diff --git a/app/assets/fonts/open-sauce/Open Sauce One OFL.txt b/app/assets/fonts/open-sauce/Open Sauce One OFL.txt new file mode 100644 index 0000000..5984869 --- /dev/null +++ b/app/assets/fonts/open-sauce/Open Sauce One OFL.txt @@ -0,0 +1,93 @@ +Copyright (c) 2020 The Open Sauce One Authors (https://github.com/marcologous/Open-Sauce-Fonts) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/app/assets/fonts/open-sauce/Open Sauce Sans OFL.txt b/app/assets/fonts/open-sauce/Open Sauce Sans OFL.txt new file mode 100644 index 0000000..c90f19e --- /dev/null +++ b/app/assets/fonts/open-sauce/Open Sauce Sans OFL.txt @@ -0,0 +1,93 @@ +Copyright (c) 2020 The Open Sauce Sans Authors (https://github.com/marcologous/Open-Sauce-Fonts) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/app/assets/fonts/open-sauce/Open Sauce Two OFL.txt b/app/assets/fonts/open-sauce/Open Sauce Two OFL.txt new file mode 100644 index 0000000..af6ff98 --- /dev/null +++ b/app/assets/fonts/open-sauce/Open Sauce Two OFL.txt @@ -0,0 +1,93 @@ +Copyright (c) 2020 The Open Sauce Two Authors (https://github.com/marcologous/Open-Sauce-Fonts) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-Black.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-Black.ttf new file mode 100644 index 0000000..a3a0a2a Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-Black.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-BlackItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-BlackItalic.ttf new file mode 100644 index 0000000..bd9c573 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-BlackItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-Bold.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-Bold.ttf new file mode 100644 index 0000000..7693d46 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-Bold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-BoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-BoldItalic.ttf new file mode 100644 index 0000000..4540aee Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-BoldItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-ExtraBold.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-ExtraBold.ttf new file mode 100644 index 0000000..105393d Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-ExtraBold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-ExtraBoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-ExtraBoldItalic.ttf new file mode 100644 index 0000000..886f4a5 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-ExtraBoldItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-Italic.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-Italic.ttf new file mode 100644 index 0000000..2e1b133 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-Italic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-Light.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-Light.ttf new file mode 100644 index 0000000..dd7645a Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-Light.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-LightItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-LightItalic.ttf new file mode 100644 index 0000000..587c030 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-LightItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-Medium.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-Medium.ttf new file mode 100644 index 0000000..e2daa1b Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-Medium.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-MediumItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-MediumItalic.ttf new file mode 100644 index 0000000..248c44c Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-MediumItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-Regular.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-Regular.ttf new file mode 100644 index 0000000..395a857 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-Regular.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-SemiBold.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-SemiBold.ttf new file mode 100644 index 0000000..d04ee46 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-SemiBold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceOne-SemiBoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceOne-SemiBoldItalic.ttf new file mode 100644 index 0000000..ae84944 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceOne-SemiBoldItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-Black.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-Black.ttf new file mode 100644 index 0000000..ea2105d Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-Black.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-BlackItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-BlackItalic.ttf new file mode 100644 index 0000000..2400937 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-BlackItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-Bold.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-Bold.ttf new file mode 100644 index 0000000..64ed838 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-Bold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-BoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-BoldItalic.ttf new file mode 100644 index 0000000..8ea6d83 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-BoldItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-ExtraBold.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-ExtraBold.ttf new file mode 100644 index 0000000..12c3d23 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-ExtraBold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-ExtraBoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-ExtraBoldItalic.ttf new file mode 100644 index 0000000..33105f2 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-ExtraBoldItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-Italic.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-Italic.ttf new file mode 100644 index 0000000..2b6b633 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-Italic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-Light.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-Light.ttf new file mode 100644 index 0000000..336aa5b Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-Light.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-LightItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-LightItalic.ttf new file mode 100644 index 0000000..db2df5c Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-LightItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-Medium.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-Medium.ttf new file mode 100644 index 0000000..efa6ee2 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-Medium.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-MediumItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-MediumItalic.ttf new file mode 100644 index 0000000..56d49a5 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-MediumItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-Regular.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-Regular.ttf new file mode 100644 index 0000000..974a809 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-Regular.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-SemiBold.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-SemiBold.ttf new file mode 100644 index 0000000..16db4ee Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-SemiBold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceSans-SemiBoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceSans-SemiBoldItalic.ttf new file mode 100644 index 0000000..3587a94 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceSans-SemiBoldItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-Black.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-Black.ttf new file mode 100644 index 0000000..692d8f1 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-Black.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-BlackItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-BlackItalic.ttf new file mode 100644 index 0000000..37956c2 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-BlackItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-Bold.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-Bold.ttf new file mode 100644 index 0000000..f1e2eab Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-Bold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-BoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-BoldItalic.ttf new file mode 100644 index 0000000..643a4d9 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-BoldItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-ExtraBold.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-ExtraBold.ttf new file mode 100644 index 0000000..9df7394 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-ExtraBold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-ExtraBoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-ExtraBoldItalic.ttf new file mode 100644 index 0000000..12ecb42 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-ExtraBoldItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-Italic.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-Italic.ttf new file mode 100644 index 0000000..6fd1572 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-Italic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-Light.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-Light.ttf new file mode 100644 index 0000000..49234e6 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-Light.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-LightItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-LightItalic.ttf new file mode 100644 index 0000000..affb112 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-LightItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-Medium.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-Medium.ttf new file mode 100644 index 0000000..7a12f46 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-Medium.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-MediumItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-MediumItalic.ttf new file mode 100644 index 0000000..bbf61fd Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-MediumItalic.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-Regular.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-Regular.ttf new file mode 100644 index 0000000..8d0cd82 Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-Regular.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-SemiBold.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-SemiBold.ttf new file mode 100644 index 0000000..9c22f3e Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-SemiBold.ttf differ diff --git a/app/assets/fonts/open-sauce/OpenSauceTwo-SemiBoldItalic.ttf b/app/assets/fonts/open-sauce/OpenSauceTwo-SemiBoldItalic.ttf new file mode 100644 index 0000000..fe09b7f Binary files /dev/null and b/app/assets/fonts/open-sauce/OpenSauceTwo-SemiBoldItalic.ttf differ diff --git a/app/assets/stylesheets/application.tailwind.css b/app/assets/stylesheets/application.tailwind.css index a12f8d2..7d47070 100644 --- a/app/assets/stylesheets/application.tailwind.css +++ b/app/assets/stylesheets/application.tailwind.css @@ -1,4 +1,3 @@ -@import url('https://fonts.cdnfonts.com/css/open-sauce-one'); @tailwind base; @tailwind components; @tailwind utilities; @@ -67,4 +66,8 @@ .display_block { display: block; } + + .toc-right-height { + height: calc(100dvh - 10rem); + } } diff --git a/app/assets/stylesheets/open-sauce.css b/app/assets/stylesheets/open-sauce.css new file mode 100644 index 0000000..dacc78c --- /dev/null +++ b/app/assets/stylesheets/open-sauce.css @@ -0,0 +1,253 @@ +@font-face { + font-family: 'Open Sauce One'; + font-style: normal; + font-weight: 400; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-Regular.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: italic; + font-weight: 400; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-Italic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: normal; + font-weight: 300; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-Light.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: italic; + font-weight: 300; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-LightItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: normal; + font-weight: 500; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-Medium.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: italic; + font-weight: 500; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-MediumItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: normal; + font-weight: 600; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-SemiBold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: italic; + font-weight: 600; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-SemiBoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: normal; + font-weight: 700; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-Bold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: italic; + font-weight: 700; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-BoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: normal; + font-weight: 800; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-ExtraBold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: italic; + font-weight: 800; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-ExtraBoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: normal; + font-weight: 900; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-Black.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce One'; + font-style: italic; + font-weight: 900; + src: local('Open Sauce One'), url('/assets/open-sauce/OpenSauceOne-BlackItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: normal; + font-weight: 400; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-Regular.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: normal; + font-weight: 400; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-Regular.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: italic; + font-weight: 400; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-Italic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: italic; + font-weight: 400; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-Italic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: normal; + font-weight: 300; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-Light.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: normal; + font-weight: 300; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-Light.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: italic; + font-weight: 300; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-LightItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: italic; + font-weight: 300; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-LightItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: normal; + font-weight: 500; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-Medium.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: normal; + font-weight: 500; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-Medium.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: italic; + font-weight: 500; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-MediumItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: italic; + font-weight: 500; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-MediumItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: normal; + font-weight: 600; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-SemiBold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: normal; + font-weight: 600; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-SemiBold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: italic; + font-weight: 600; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-SemiBoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: italic; + font-weight: 600; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-SemiBoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: normal; + font-weight: 700; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-Bold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: normal; + font-weight: 700; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-Bold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: italic; + font-weight: 700; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-BoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: italic; + font-weight: 700; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-BoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: normal; + font-weight: 800; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-ExtraBold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: normal; + font-weight: 800; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-ExtraBold.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: italic; + font-weight: 800; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-ExtraBoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: italic; + font-weight: 800; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-ExtraBoldItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: normal; + font-weight: 900; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-Black.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: normal; + font-weight: 900; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-Black.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Sans'; + font-style: italic; + font-weight: 900; + src: local('Open Sauce Sans'), url('/assets/open-sauce/OpenSauceSans-BlackItalic.ttf') format('truetype'); +} +@font-face { + font-family: 'Open Sauce Two'; + font-style: italic; + font-weight: 900; + src: local('Open Sauce Two'), url('/assets/open-sauce/OpenSauceTwo-BlackItalic.ttf') format('truetype'); +} + diff --git a/app/concepts/cell/application/container.erb b/app/concepts/cell/application/container.erb index a4b12b4..3b0f9bf 100644 --- a/app/concepts/cell/application/container.erb +++ b/app/concepts/cell/application/container.erb @@ -10,8 +10,6 @@ <%= stylesheet_link_tag "application" %> <%= script_for_page_identifier %> <%= javascript_importmap_tags %> - -
<%= yield %> diff --git a/app/concepts/cell/documentation/toc_right.erb b/app/concepts/cell/documentation/toc_right.erb index 338beef..5e5f5b4 100644 --- a/app/concepts/cell/documentation/toc_right.erb +++ b/app/concepts/cell/documentation/toc_right.erb @@ -1,4 +1,4 @@ -2&&void 0!==arguments[2]?arguments[2]:t,o=arguments.length>3?arguments[3]:void 0;if(e===b)return e;var l=void 0!==o?null===(r=n._$Cl)||void 0===r?void 0:r[o]:n._$Cu,h=r$1(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===h?l=void 0:(l=new h(t))._$AT(t,n,o),void 0!==o?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:n._$Cu=l),void 0!==l&&(e=P(t,l._$AS(t,e.values),l,o)),e}class V{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e,{el:{content:r},parts:i}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:l$2).importNode(r,!0);A.currentNode=s;for(var a=A.nextNode(),n=0,o=0,l=i[0];void 0!==l;){if(n===l.index){var h=void 0;2===l.type?h=new N(a,a.nextSibling,this,t):1===l.type?h=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(h=new L(a,this,t)),this.v.push(h),l=i[++o]}n!==(null==l?void 0:l.index)&&(a=A.nextNode(),n++)}return s}m(t){var e=0;for(var r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class N{constructor(t,e,r,i){var s;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cg=null===(s=null==i?void 0:i.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){var t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=P(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),r$1(t)?t===w||null==t||""===t?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==b&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):u(t)?this.A(t):this.$(t)}M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._$AB;return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==w&&r$1(this._$AH)?this._$AA.nextSibling.data=t:this.S(l$2.createTextNode(t)),this._$AH=t}T(t){var e,{values:r,_$litType$:i}=t,s="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=E.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(r);else{var a=new V(s,this),n=a.p(this.options);a.m(r),this.S(n),this._$AH=a}}_$AC(t){var e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new E(t)),e}A(t){d(this._$AH)||(this._$AH=[],this._$AR());var e,r=this._$AH,i=0;for(var s of t)i===r.length?r.push(e=new N(this.M(h$1()),this.M(h$1()),this,this.options)):e=r[i],e._$AI(s),i++;i n?-1:1,h=!0;h;)if(i[a]<=n&&i[a+1]>n?(o=(n-i[a])/(i[a+1]-i[a]),h=!1):a+=l,a<0||a>=s-1){if(a===s-1)return r[a];h=!1}return r[a]+(r[a+1]-r[a])*o}var l=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segmentsLengthPool.newElement(),s=t.c,a=t.v,n=t.o,o=t.i,l=t._length,h=i.lengths,p=0;for(e=0;e1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,r=1,i=[],s={onmessage:function(){},postMessage:function(e){t({data:e})}},_workerSelf={postMessage:function(t){s.onmessage({data:t})}};function a(){e||(e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(r);return new Worker(i)}return t=e,s}((function(t){if(_workerSelf.dataManager||(_workerSelf.dataManager=function(){function t(s,a){var n,o,l,h,p,f,u=s.length;for(o=0;o=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(a=t[e].ks.k.length,s=0;sr[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var a,n=function(){var t=[4,4,14];function e(t){var e,r,i,s=t.length;for(e=0;e=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(s=t[r].ks.k.length,i=0;i500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=i(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function n(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return n.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var i=t.length;for(r=0;rthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,s=i.length,a=t.layers,n=a.length;for(r=0;r0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(t,a),h.push(offsetSegmentSplit(o,e));h=pruneIntersections(h);var p=null,c=null;for(a=0;a0&&(p=!1),p){var c=createTag("style");c.setAttribute("f-forigin",i[r].fOrigin),c.setAttribute("f-origin",i[r].origin),c.setAttribute("f-family",i[r].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",e.appendChild(c)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),h=0;h=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;te);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,i=[],s=0,a=t.length,n=!1,o=!1,l="";s=55296&&e<=56319?FontManager.isRegionalFlag(t,s)?l=t.substr(s,14):(r=t.charCodeAt(s+1))>=56320&&r<=57343&&(FontManager.isModifier(e,r)?(l=t.substr(s,2),n=!0):l=FontManager.isFlagEmoji(t.substr(s,4))?t.substr(s,4):t.substr(s,2)):e>56319?(r=t.charCodeAt(s+1),FontManager.isVariationSelector(e)&&(n=!0)):FontManager.isZeroWidthJoiner(e)&&(n=!0,o=!0),n?(i[i.length-1]+=l,n=!1):i.push(l),s+=l.length;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,s,a,n,o,l=this.elem.globalData.fontManager,h=this.data,p=[],c=0,f=h.m.g,u=0,d=0,m=0,y=[],g=0,v=0,b=l.getFontByName(t.f),_=0,P=getFontProperties(b);t.fWeight=P.weight,t.fStyle=P.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var x,S=t.tr/1e3*t.finalSize;if(t.sz)for(var E,C,A=!0,w=t.sz[0],k=t.sz[1];A;){E=0,g=0,r=(C=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var T=-1;for(e=0;es&&"slice"===o)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===h&&(as&&"slice"===o)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===p&&(a>s&&"meet"===o||as&&"meet"===o||a=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=0;for(e=this._length;e1?e=1:e<0&&(e=0);var n=t(e);if($bm_isInstanceOfArray(s)){var o,l=s.length,h=createTypedArray("float32",l);for(o=0;o