j1-template 2023.3.0 → 2023.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +11 -9
- data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +0 -3
- data/_includes/themes/j1/modules/navigator/generator.html +3 -3
- data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +5 -5
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +3 -3
- data/_includes/themes/j1/procedures/global/select_icon_size.proc +9 -2
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -8
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +2 -2
- data/_layouts/category.html +2 -2
- data/assets/data/authclient.html +10 -12
- data/assets/data/banner.html +3 -3
- data/assets/data/fab.html +11 -8
- data/assets/data/footer.html +2 -3
- data/assets/data/gallery_customizer.html +2 -2
- data/assets/data/masonry.html +5 -5
- data/assets/data/masterslider.html +1 -1
- data/assets/data/menu.html +9 -6
- data/assets/data/panel.html +8 -8
- data/assets/data/quicklinks.html +3 -1
- data/assets/data/rtext_resizer.html +1 -1
- data/assets/data/slick.html +2 -2
- data/assets/data/translator.html +1 -1
- data/assets/themes/j1/adapter/js/advertising.js +302 -96
- data/assets/themes/j1/adapter/js/carousel.js +2 -2
- data/assets/themes/j1/adapter/js/j1.js +92 -25
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -1
- data/assets/themes/j1/adapter/js/lazyLoader.js +221 -0
- data/assets/themes/j1/adapter/js/lunr.js +3 -3
- data/assets/themes/j1/adapter/js/navigator.js +3 -5
- data/assets/themes/j1/adapter/js/themeToggler.js +3 -3
- data/assets/themes/j1/adapter/js/themer.js +55 -21
- data/assets/themes/j1/core/css/icon-fonts/mdi.css +3 -7
- data/assets/themes/j1/core/css/icon-fonts/mdi.min.css +1 -1
- data/assets/themes/j1/core/css/icon-fonts/mdib.css +8337 -0
- data/assets/themes/j1/core/css/icon-fonts/mdib.min.css +1 -0
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +104 -30
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +19 -5
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +98 -31
- data/assets/themes/j1/core/js/template.min.js +2 -2
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-base.json +2690 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-base.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.json +2 -2
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.min.json +1 -1
- data/assets/themes/j1/modules/materialize/scss/components/_global.scss +1 -1
- data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +2 -2
- data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +1 -1
- data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +2 -2
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
- data/lib/starter_web/_data/blocks/footer.yml +4 -1
- data/lib/starter_web/_data/blocks/panel.yml +47 -47
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +29 -0
- data/lib/starter_web/_data/modules/advertising.yml +120 -42
- data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/attics.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +20 -20
- data/lib/starter_web/_data/modules/defaults/fab.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/iconPicker.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +33 -0
- data/lib/starter_web/_data/modules/defaults/lunr.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +18 -18
- data/lib/starter_web/_data/modules/defaults/themer.yml +2 -2
- data/lib/starter_web/_data/modules/fab.yml +7 -7
- data/lib/starter_web/_data/modules/iconPicker.yml +3 -3
- data/lib/starter_web/_data/modules/lazyLoader.yml +93 -0
- data/lib/starter_web/_data/modules/masonry.yml +2 -2
- data/lib/starter_web/_data/modules/navigator_menu.yml +190 -148
- data/lib/starter_web/_data/modules/slick.yml +47 -86
- data/lib/starter_web/_data/resources.yml +68 -70
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.0.asciidoc +626 -0
- data/lib/starter_web/_includes/attributes.asciidoc +26 -24
- data/lib/starter_web/_includes/custom/templates/collection_panel.html +2 -2
- data/lib/starter_web/_includes/google/static/google_ad_5128488466.html +19 -0
- data/lib/starter_web/_includes/google/static/google_ad_7284712660.html +19 -0
- data/lib/starter_web/_includes/google/templates/google_ads.html +55 -0
- data/lib/starter_web/_plugins/asciidoctor/fab-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/fas-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/badges/configBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/docsBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/notebookBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/scaleable/configBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/docsBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/myBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/notebookBinder.svg +1 -1
- data/lib/starter_web/assets/images/icons/hyvor-talk/jpg/hyvor-logo.512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/png/hyvor-logo.24x24.jpg +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/scalable/hyvor-logo.svg +1 -1
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-256x256.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-64x64.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-256x256.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-64x64.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/scalable/j1.svg +1 -1
- data/lib/starter_web/assets/images/modules/attics/1920x1280/brigitta-schneiter.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +1 -1
- data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/200-create-a-link-1.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jamstack-generators.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/static-web-access.jpg +0 -0
- data/lib/starter_web/assets/images/promo/home/screenshot.jpg +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/jekyll-faq.jpg +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/jekyll-generator.jpg +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/jekyll-generator.png +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/jekyll-og.png +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/scalable/jekyll-faq.psd +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +1 -1
- data/lib/starter_web/collections/_biography/becoming.adoc +1 -1
- data/lib/starter_web/collections/_biography/born-to-run.adoc +1 -1
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +1 -1
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +1 -1
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +1 -1
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +26 -1
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +17 -2
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +24 -1
- data/lib/starter_web/collections/_romance/{breath-of-snow-and-ashes-a.adoc → breath-of-snow-and-ashes.adoc} +13 -1
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +13 -1
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +1 -1
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +1 -1
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +1 -1
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +4 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +4 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +5 -3
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +4 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/index.html +0 -9
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +4 -4
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.0.asciidoc +112 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +152 -12
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +28 -4
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +11 -13
- data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/gem.adoc +5 -5
- data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/git.adoc +14 -14
- data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/j1.adoc +1 -1
- data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/yaml.adoc +1 -1
- data/lib/starter_web/pages/public/{previewer → tools/previewer}/preview_bootstrap_theme.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +58 -88
- data/assets/data/nbinteract.html +0 -129
- data/assets/themes/j1/adapter/js/nbinteract.js +0 -1485
- data/assets/themes/j1/modules/advertising/js/adInitializer.js +0 -160
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.json +0 -7312
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.min.json +0 -1
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.css +0 -1315
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.min.css +0 -7
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.css +0 -886
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.min.css +0 -5
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.css +0 -446
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.min.css +0 -5
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.js +0 -37
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.min.js +0 -17
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.js +0 -42
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.min.js +0 -17
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.js +0 -19057
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.min.js +0 -6
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.js +0 -10872
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.js +0 -2
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.map +0 -1
- data/assets/themes/j1/modules/jquery-3.5.1/js/require.js +0 -2145
- data/assets/themes/j1/modules/jquery-3.5.1/js/require.min.js +0 -5
- data/assets/themes/j1/modules/nbinteract-core/LICENSE.txt +0 -60
- data/assets/themes/j1/modules/nbinteract-core/README.md +0 -226
- data/assets/themes/j1/modules/nbinteract-core/css/nbinteract.css +0 -191
- data/assets/themes/j1/modules/nbinteract-core/css/nbinteract.min.css +0 -19
- data/assets/themes/j1/modules/nbinteract-core/css/theme/uno/nbinteract.css +0 -250
- data/assets/themes/j1/modules/nbinteract-core/css/theme/uno/nbinteract.min.css +0 -15
- data/assets/themes/j1/modules/nbinteract-core/js/mathjax/latest.js +0 -19
- data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-chtml-full.js +0 -34
- data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-chtml.js +0 -1
- data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-mml-chtml.js +0 -1
- data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/README +0 -1
- data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/j1-nbinteract-core.js +0 -94
- data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/j1-nbinteract-core.js.map +0 -1
- data/assets/themes/j1/modules/nbinteract-core/js/requireJS/require.js +0 -2068
- data/assets/themes/j1/modules/nbinteract-core/js/requireJS/require.min.js +0 -36
- data/lib/starter_web/_data/modules/defaults/nbinteract.yml +0 -281
- data/lib/starter_web/assets/images/icons/j1/j1-256x256.gif +0 -0
- data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.png +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.png +0 -0
- data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.png +0 -0
- data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.png +0 -0
- data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.png +0 -0
- data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.png +0 -0
- data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.png +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/jupyterlab-architecture.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi-textbook-example.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jamstack-generators.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/static-web-access.png +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +0 -117
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +0 -117
- /data/lib/starter_web/assets/images/badges/{configBinder.png → png/configBinder.png} +0 -0
- /data/lib/starter_web/assets/images/badges/{docsBinder.png → png/docsBinder.png} +0 -0
- /data/lib/starter_web/assets/images/badges/{notebookBinder.png → png/notebookBinder.png} +0 -0
- /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.24x24.png → png/hyvor-logo.24x24.png} +0 -0
- /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.512x512.png → png/hyvor-logo.512x512.png} +0 -0
@@ -1,5 +0,0 @@
|
|
1
|
-
/** vim: et:ts=4:sw=4:sts=4
|
2
|
-
* @license RequireJS 2.3.6 Copyright jQuery Foundation and other contributors.
|
3
|
-
* Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
|
4
|
-
*/
|
5
|
-
var requirejs,require,define;!function(global,setTimeout){var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.3.6",commentRegExp=/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;function commentReplace(e,t){return t||""}function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}function each(e,t){var i;if(e)for(i=0;i<e.length&&(!e[i]||!t(e[i],i,e));i+=1);}function eachReverse(e,t){var i;if(e)for(i=e.length-1;-1<i&&(!e[i]||!t(e[i],i,e));i-=1);}function hasProp(e,t){return hasOwn.call(e,t)}function getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){var i;for(i in e)if(hasProp(e,i)&&t(e[i],i))break}function mixin(i,e,r,n){return e&&eachProp(e,function(e,t){!r&&hasProp(i,t)||(!n||"object"!=typeof e||!e||isArray(e)||isFunction(e)||e instanceof RegExp?i[t]=e:(i[t]||(i[t]={}),mixin(i[t],e,r,n)))}),i}function bind(e,t){return function(){return t.apply(e,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(e){throw e}function getGlobal(e){if(!e)return e;var t=global;return each(e.split("."),function(e){t=t[e]}),t}function makeError(e,t,i,r){var n=new Error(t+"\nhttps://requirejs.org/docs/errors.html#"+e);return n.requireType=e,n.requireModules=r,i&&(n.originalError=i),n}if(void 0===define){if(void 0!==requirejs){if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}void 0===require||isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(e,t,i,r){var n,o,a=defContextName;return isArray(e)||"string"==typeof e||(o=e,isArray(t)?(e=t,t=i,i=r):e=[]),o&&o.context&&(a=o.context),(n=getOwn(contexts,a))||(n=contexts[a]=req.s.newContext(a)),o&&n.configure(o),n.require(e,t,i)},req.config=function(e){return req(e)},req.nextTick=void 0!==setTimeout?function(e){setTimeout(e,4)}:function(e){e()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(t){req[t]=function(){var e=contexts[defContextName];return e.require[t].apply(e,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(e,t,i){var r=e.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return r.type=e.scriptType||"text/javascript",r.charset="utf-8",r.async=!0,r},req.load=function(t,i,r){var e,n=t&&t.config||{};if(isBrowser)return(e=req.createNode(n,i,r)).setAttribute("data-requirecontext",t.contextName),e.setAttribute("data-requiremodule",i),!e.attachEvent||e.attachEvent.toString&&e.attachEvent.toString().indexOf("[native code")<0||isOpera?(e.addEventListener("load",t.onScriptLoad,!1),e.addEventListener("error",t.onScriptError,!1)):(useInteractive=!0,e.attachEvent("onreadystatechange",t.onScriptLoad)),e.src=r,n.onNodeCreated&&n.onNodeCreated(e,n,i,r),currentlyAddingScript=e,baseElement?head.insertBefore(e,baseElement):head.appendChild(e),currentlyAddingScript=null,e;if(isWebWorker)try{setTimeout(function(){},0),importScripts(r),t.completeLoad(i)}catch(e){t.onError(makeError("importscripts","importScripts failed for "+i+" at "+r,e,[i]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(e){if(head||(head=e.parentNode),dataMain=e.getAttribute("data-main"))return mainScript=dataMain,cfg.baseUrl||-1!==mainScript.indexOf("!")||(mainScript=(src=mainScript.split("/")).pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0}),define=function(e,i,t){var r,n;"string"!=typeof e&&(t=i,i=e,e=null),isArray(i)||(t=i,i=null),!i&&isFunction(t)&&(i=[],t.length&&(t.toString().replace(commentRegExp,commentReplace).replace(cjsRequireRegExp,function(e,t){i.push(t)}),i=(1===t.length?["require"]:["require","exports","module"]).concat(i))),useInteractive&&(r=currentlyAddingScript||getInteractiveScript())&&(e||(e=r.getAttribute("data-requiremodule")),n=contexts[r.getAttribute("data-requirecontext")]),n?(n.defQueue.push([e,i,t]),n.defQueueMap[e]=!0):globalDefQueue.push([e,i,t])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}function newContext(u){var i,e,l,c,d,g={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},p={},f={},r={},h=[],m={},n={},v={},x=1,b=1;function q(e,t,i){var r,n,o,a,s,u,c,d,p,f,l=t&&t.split("/"),h=g.map,m=h&&h["*"];if(e&&(u=(e=e.split("/")).length-1,g.nodeIdCompat&&jsSuffixRegExp.test(e[u])&&(e[u]=e[u].replace(jsSuffixRegExp,"")),"."===e[0].charAt(0)&&l&&(e=l.slice(0,l.length-1).concat(e)),function(e){var t,i;for(t=0;t<e.length;t++)if("."===(i=e[t]))e.splice(t,1),t-=1;else if(".."===i){if(0===t||1===t&&".."===e[2]||".."===e[t-1])continue;0<t&&(e.splice(t-1,2),t-=2)}}(e),e=e.join("/")),i&&h&&(l||m)){e:for(o=(n=e.split("/")).length;0<o;o-=1){if(s=n.slice(0,o).join("/"),l)for(a=l.length;0<a;a-=1)if((r=getOwn(h,l.slice(0,a).join("/")))&&(r=getOwn(r,s))){c=r,d=o;break e}!p&&m&&getOwn(m,s)&&(p=getOwn(m,s),f=o)}!c&&p&&(c=p,d=f),c&&(n.splice(0,d,c),e=n.join("/"))}return getOwn(g.pkgs,e)||e}function E(t){isBrowser&&each(scripts(),function(e){if(e.getAttribute("data-requiremodule")===t&&e.getAttribute("data-requirecontext")===l.contextName)return e.parentNode.removeChild(e),!0})}function w(e){var t=getOwn(g.paths,e);if(t&&isArray(t)&&1<t.length)return t.shift(),l.require.undef(e),l.makeRequire(null,{skipMap:!0})([e]),!0}function y(e){var t,i=e?e.indexOf("!"):-1;return-1<i&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function S(e,t,i,r){var n,o,a,s,u=null,c=t?t.name:null,d=e,p=!0,f="";return e||(p=!1,e="_@r"+(x+=1)),u=(s=y(e))[0],e=s[1],u&&(u=q(u,c,r),o=getOwn(m,u)),e&&(u?f=i?e:o&&o.normalize?o.normalize(e,function(e){return q(e,c,r)}):-1===e.indexOf("!")?q(e,c,r):e:(u=(s=y(f=q(e,c,r)))[0],f=s[1],i=!0,n=l.nameToUrl(f))),{prefix:u,name:f,parentMap:t,unnormalized:!!(a=!u||o||i?"":"_unnormalized"+(b+=1)),url:n,originalName:d,isDefine:p,id:(u?u+"!"+f:f)+a}}function k(e){var t=e.id,i=getOwn(p,t);return i||(i=p[t]=new l.Module(e)),i}function M(e,t,i){var r=e.id,n=getOwn(p,r);!hasProp(m,r)||n&&!n.defineEmitComplete?(n=k(e)).error&&"error"===t?i(n.error):n.on(t,i):"defined"===t&&i(m[r])}function O(i,e){var t=i.requireModules,r=!1;e?e(i):(each(t,function(e){var t=getOwn(p,e);t&&(t.error=i,t.events.error&&(r=!0,t.emit("error",i)))}),r||req.onError(i))}function j(){globalDefQueue.length&&(each(globalDefQueue,function(e){var t=e[0];"string"==typeof t&&(l.defQueueMap[t]=!0),h.push(e)}),globalDefQueue=[])}function P(e){delete p[e],delete f[e]}function R(){var e,r,t=1e3*g.waitSeconds,n=t&&l.startTime+t<(new Date).getTime(),o=[],a=[],s=!1,u=!0;if(!i){if(i=!0,eachProp(f,function(e){var t=e.map,i=t.id;if(e.enabled&&(t.isDefine||a.push(e),!e.error))if(!e.inited&&n)w(i)?s=r=!0:(o.push(i),E(i));else if(!e.inited&&e.fetched&&t.isDefine&&(s=!0,!t.prefix))return u=!1}),n&&o.length)return(e=makeError("timeout","Load timeout for modules: "+o,null,o)).contextName=l.contextName,O(e);u&&each(a,function(e){!function n(o,a,s){var e=o.map.id;o.error?o.emit("error",o.error):(a[e]=!0,each(o.depMaps,function(e,t){var i=e.id,r=getOwn(p,i);!r||o.depMatched[t]||s[i]||(getOwn(a,i)?(o.defineDep(t,m[i]),o.check()):n(r,a,s))}),s[e]=!0)}(e,{},{})}),n&&!r||!s||!isBrowser&&!isWebWorker||d||(d=setTimeout(function(){d=0,R()},50)),i=!1}}function a(e){hasProp(m,e[0])||k(S(e[0],null,!0)).init(e[1],e[2])}function o(e,t,i,r){e.detachEvent&&!isOpera?r&&e.detachEvent(r,t):e.removeEventListener(i,t,!1)}function s(e){var t=e.currentTarget||e.srcElement;return o(t,l.onScriptLoad,"load","onreadystatechange"),o(t,l.onScriptError,"error"),{node:t,id:t&&t.getAttribute("data-requiremodule")}}function T(){var e;for(j();h.length;){if(null===(e=h.shift())[0])return O(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-1]));a(e)}l.defQueueMap={}}return c={require:function(e){return e.require?e.require:e.require=l.makeRequire(e.map)},exports:function(e){if(e.usingExports=!0,e.map.isDefine)return e.exports?m[e.map.id]=e.exports:e.exports=m[e.map.id]={}},module:function(e){return e.module?e.module:e.module={id:e.map.id,uri:e.map.url,config:function(){return getOwn(g.config,e.map.id)||{}},exports:e.exports||(e.exports={})}}},(e=function(e){this.events=getOwn(r,e.id)||{},this.map=e,this.shim=getOwn(g.shim,e.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0}).prototype={init:function(e,t,i,r){r=r||{},this.inited||(this.factory=t,i?this.on("error",i):this.events.error&&(i=bind(this,function(e){this.emit("error",e)})),this.depMaps=e&&e.slice(0),this.errback=i,this.inited=!0,this.ignore=r.ignore,r.enabled||this.enabled?this.enable():this.check())},defineDep:function(e,t){this.depMatched[e]||(this.depMatched[e]=!0,this.depCount-=1,this.depExports[e]=t)},fetch:function(){if(!this.fetched){this.fetched=!0,l.startTime=(new Date).getTime();var e=this.map;if(!this.shim)return e.prefix?this.callPlugin():this.load();l.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return e.prefix?this.callPlugin():this.load()}))}},load:function(){var e=this.map.url;n[e]||(n[e]=!0,l.load(this.map.id,e))},check:function(){if(this.enabled&&!this.enabling){var t,e,i=this.map.id,r=this.depExports,n=this.exports,o=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(o)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{n=l.execCb(i,o,r,n)}catch(e){t=e}else n=l.execCb(i,o,r,n);if(this.map.isDefine&&void 0===n&&((e=this.module)?n=e.exports:this.usingExports&&(n=this.exports)),t)return t.requireMap=this.map,t.requireModules=this.map.isDefine?[this.map.id]:null,t.requireType=this.map.isDefine?"define":"require",O(this.error=t)}else n=o;if(this.exports=n,this.map.isDefine&&!this.ignore&&(m[i]=n,req.onResourceLoad)){var a=[];each(this.depMaps,function(e){a.push(e.normalizedMap||e)}),req.onResourceLoad(l,this.map,a)}P(i),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else hasProp(l.defQueueMap,i)||this.fetch()}},callPlugin:function(){var u=this.map,c=u.id,e=S(u.prefix);this.depMaps.push(e),M(e,"defined",bind(this,function(e){var o,t,i,r=getOwn(v,this.map.id),n=this.map.name,a=this.map.parentMap?this.map.parentMap.name:null,s=l.makeRequire(u.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(e.normalize&&(n=e.normalize(n,function(e){return q(e,a,!0)})||""),M(t=S(u.prefix+"!"+n,this.map.parentMap,!0),"defined",bind(this,function(e){this.map.normalizedMap=t,this.init([],function(){return e},null,{enabled:!0,ignore:!0})})),void((i=getOwn(p,t.id))&&(this.depMaps.push(t),this.events.error&&i.on("error",bind(this,function(e){this.emit("error",e)})),i.enable()))):r?(this.map.url=l.nameToUrl(r),void this.load()):((o=bind(this,function(e){this.init([],function(){return e},null,{enabled:!0})})).error=bind(this,function(e){this.inited=!0,(this.error=e).requireModules=[c],eachProp(p,function(e){0===e.map.id.indexOf(c+"_unnormalized")&&P(e.map.id)}),O(e)}),o.fromText=bind(this,function(e,t){var i=u.name,r=S(i),n=useInteractive;t&&(e=t),n&&(useInteractive=!1),k(r),hasProp(g.config,c)&&(g.config[i]=g.config[c]);try{req.exec(e)}catch(e){return O(makeError("fromtexteval","fromText eval for "+c+" failed: "+e,e,[c]))}n&&(useInteractive=!0),this.depMaps.push(r),l.completeLoad(i),s([i],o)}),void e.load(u.name,s,o,g))})),l.enable(e,this),this.pluginMaps[e.id]=e},enable:function(){(f[this.map.id]=this).enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(e,t){var i,r,n;if("string"==typeof e){if(e=S(e,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=e,n=getOwn(c,e.id))return void(this.depExports[t]=n(this));this.depCount+=1,M(e,"defined",bind(this,function(e){this.undefed||(this.defineDep(t,e),this.check())})),this.errback?M(e,"error",bind(this,this.errback)):this.events.error&&M(e,"error",bind(this,function(e){this.emit("error",e)}))}i=e.id,r=p[i],hasProp(c,i)||!r||r.enabled||l.enable(e,this)})),eachProp(this.pluginMaps,bind(this,function(e){var t=getOwn(p,e.id);t&&!t.enabled&&l.enable(e,this)})),this.enabling=!1,this.check()},on:function(e,t){var i=this.events[e];i||(i=this.events[e]=[]),i.push(t)},emit:function(e,t){each(this.events[e],function(e){e(t)}),"error"===e&&delete this.events[e]}},(l={config:g,contextName:u,registry:p,defined:m,urlFetched:n,defQueue:h,defQueueMap:{},Module:e,makeModuleMap:S,nextTick:req.nextTick,onError:O,configure:function(e){if(e.baseUrl&&"/"!==e.baseUrl.charAt(e.baseUrl.length-1)&&(e.baseUrl+="/"),"string"==typeof e.urlArgs){var i=e.urlArgs;e.urlArgs=function(e,t){return(-1===t.indexOf("?")?"?":"&")+i}}var r=g.shim,n={paths:!0,bundles:!0,config:!0,map:!0};eachProp(e,function(e,t){n[t]?(g[t]||(g[t]={}),mixin(g[t],e,!0,!0)):g[t]=e}),e.bundles&&eachProp(e.bundles,function(e,t){each(e,function(e){e!==t&&(v[e]=t)})}),e.shim&&(eachProp(e.shim,function(e,t){isArray(e)&&(e={deps:e}),!e.exports&&!e.init||e.exportsFn||(e.exportsFn=l.makeShimExports(e)),r[t]=e}),g.shim=r),e.packages&&each(e.packages,function(e){var t;t=(e="string"==typeof e?{name:e}:e).name,e.location&&(g.paths[t]=e.location),g.pkgs[t]=e.name+"/"+(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(p,function(e,t){e.inited||e.map.unnormalized||(e.map=S(t,null,!0))}),(e.deps||e.callback)&&l.require(e.deps||[],e.callback)},makeShimExports:function(t){return function(){var e;return t.init&&(e=t.init.apply(global,arguments)),e||t.exports&&getGlobal(t.exports)}},makeRequire:function(o,a){function s(e,t,i){var r,n;return a.enableBuildCallback&&t&&isFunction(t)&&(t.__requireJsBuild=!0),"string"==typeof e?isFunction(t)?O(makeError("requireargs","Invalid require call"),i):o&&hasProp(c,e)?c[e](p[o.id]):req.get?req.get(l,e,o,s):(r=S(e,o,!1,!0).id,hasProp(m,r)?m[r]:O(makeError("notloaded",'Module name "'+r+'" has not been loaded yet for context: '+u+(o?"":". Use require([])")))):(T(),l.nextTick(function(){T(),(n=k(S(null,o))).skipMap=a.skipMap,n.init(e,t,i,{enabled:!0}),R()}),s)}return a=a||{},mixin(s,{isBrowser:isBrowser,toUrl:function(e){var t,i=e.lastIndexOf("."),r=e.split("/")[0];return-1!==i&&(!("."===r||".."===r)||1<i)&&(t=e.substring(i,e.length),e=e.substring(0,i)),l.nameToUrl(q(e,o&&o.id,!0),t,!0)},defined:function(e){return hasProp(m,S(e,o,!1,!0).id)},specified:function(e){return e=S(e,o,!1,!0).id,hasProp(m,e)||hasProp(p,e)}}),o||(s.undef=function(i){j();var e=S(i,o,!0),t=getOwn(p,i);t.undefed=!0,E(i),delete m[i],delete n[e.url],delete r[i],eachReverse(h,function(e,t){e[0]===i&&h.splice(t,1)}),delete l.defQueueMap[i],t&&(t.events.defined&&(r[i]=t.events),P(i))}),s},enable:function(e){getOwn(p,e.id)&&k(e).enable()},completeLoad:function(e){var t,i,r,n=getOwn(g.shim,e)||{},o=n.exports;for(j();h.length;){if(null===(i=h.shift())[0]){if(i[0]=e,t)break;t=!0}else i[0]===e&&(t=!0);a(i)}if(l.defQueueMap={},r=getOwn(p,e),!t&&!hasProp(m,e)&&r&&!r.inited){if(!(!g.enforceDefine||o&&getGlobal(o)))return w(e)?void 0:O(makeError("nodefine","No define call for "+e,null,[e]));a([e,n.deps||[],n.exportsFn])}R()},nameToUrl:function(e,t,i){var r,n,o,a,s,u,c=getOwn(g.pkgs,e);if(c&&(e=c),u=getOwn(v,e))return l.nameToUrl(u,t,i);if(req.jsExtRegExp.test(e))a=e+(t||"");else{for(r=g.paths,o=(n=e.split("/")).length;0<o;o-=1)if(s=getOwn(r,n.slice(0,o).join("/"))){isArray(s)&&(s=s[0]),n.splice(0,o,s);break}a=n.join("/"),a=("/"===(a+=t||(/^data\:|^blob\:|\?/.test(a)||i?"":".js")).charAt(0)||a.match(/^[\w\+\.\-]+:/)?"":g.baseUrl)+a}return g.urlArgs&&!/^blob\:/.test(a)?a+g.urlArgs(e,a):a},load:function(e,t){req.load(l,e,t)},execCb:function(e,t,i,r){return t.apply(r,i)},onScriptLoad:function(e){if("load"===e.type||readyRegExp.test((e.currentTarget||e.srcElement).readyState)){interactiveScript=null;var t=s(e);l.completeLoad(t.id)}},onScriptError:function(e){var i=s(e);if(!w(i.id)){var r=[];return eachProp(p,function(e,t){0!==t.indexOf("_@r")&&each(e.depMaps,function(e){if(e.id===i.id)return r.push(t),!0})}),O(makeError("scripterror",'Script error for "'+i.id+(r.length?'", needed by: '+r.join(", "):'"'),e,[i.id]))}}}).require=l.makeRequire(),l}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState||eachReverse(scripts(),function(e){if("interactive"===e.readyState)return interactiveScript=e}),interactiveScript}}(this,"undefined"==typeof setTimeout?void 0:setTimeout);
|
@@ -1,60 +0,0 @@
|
|
1
|
-
j1-nbinteract
|
2
|
-
-------------
|
3
|
-
|
4
|
-
The MIT License (J1)
|
5
|
-
--------------------------------------------------------------------------------
|
6
|
-
|
7
|
-
Copyright (C) 2023 Juergen Adams
|
8
|
-
|
9
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
10
|
-
of this software and associated documentation files (the "Software"), to deal
|
11
|
-
in the Software without restriction, including without limitation the rights
|
12
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
13
|
-
copies of the Software, and to permit persons to whom the Software is
|
14
|
-
furnished to do so, subject to the following conditions:
|
15
|
-
|
16
|
-
The above copyright notice and this permission notice shall be included in
|
17
|
-
all copies or substantial portions of the Software.
|
18
|
-
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
20
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
21
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
23
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
24
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
25
|
-
THE SOFTWARE.
|
26
|
-
|
27
|
-
|
28
|
-
nbinteract
|
29
|
-
----------
|
30
|
-
|
31
|
-
BSD 3-Clause License (nbinteract)
|
32
|
-
--------------------------------------------------------------------------------
|
33
|
-
|
34
|
-
Copyright (c) 2017, Sam Lau
|
35
|
-
All rights reserved.
|
36
|
-
|
37
|
-
Redistribution and use in source and binary forms, with or without
|
38
|
-
modification, are permitted provided that the following conditions are met:
|
39
|
-
|
40
|
-
* Redistributions of source code must retain the above copyright notice, this
|
41
|
-
list of conditions and the following disclaimer.
|
42
|
-
|
43
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
44
|
-
this list of conditions and the following disclaimer in the documentation
|
45
|
-
and/or other materials provided with the distribution.
|
46
|
-
|
47
|
-
* Neither the name of the copyright holder nor the names of its
|
48
|
-
contributors may be used to endorse or promote products derived from
|
49
|
-
this software without specific prior written permission.
|
50
|
-
|
51
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
52
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
53
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
54
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
55
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
56
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
57
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
58
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
59
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
60
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,226 +0,0 @@
|
|
1
|
-
# j1-nbinteract
|
2
|
-
|
3
|
-
<!-- [//]: # [![PyPI](https://img.shields.io/pypi/v/nbinteract.svg)](https://pypi.python.org/pypi/j1-nbinteract/) -->
|
4
|
-
<!-- [//]: # [![NPM](https://img.shields.io/npm/v/nbinteract.svg)](https://www.npmjs.com/package/j1-nbinteract-core) -->
|
5
|
-
|
6
|
-
The Python package `j1-nbinteract` is based on `nbinteract` **v0.2.6** but
|
7
|
-
implements upgraded/modified Python packages for pip in `requirements.txt`:
|
8
|
-
|
9
|
-
```
|
10
|
-
# Python `pip` dependencies for j1-nbinteract
|
11
|
-
# ------------------------------------------------------------------------------
|
12
|
-
|
13
|
-
# Unchanged modules/ranges
|
14
|
-
#
|
15
|
-
ipython>=6, <8
|
16
|
-
ipywidgets>=7.5.0, <8
|
17
|
-
traitlets>=4.3, <5
|
18
|
-
toolz>=0.8, <1
|
19
|
-
docopt>=0.6.2, <1
|
20
|
-
nbformat>=4.4.0, <5
|
21
|
-
numpy>=1, <2
|
22
|
-
|
23
|
-
# Upgraded `bqplot` to make widgets usable in `Jupyter Lab`
|
24
|
-
#
|
25
|
-
bqplot>=0.12, <0.13
|
26
|
-
|
27
|
-
# Upgraded/Pinned to `Jinja2` latest that support func `contextfilter`
|
28
|
-
#
|
29
|
-
jinja2==3.0
|
30
|
-
|
31
|
-
# Set new range for `nbconvert`
|
32
|
-
#
|
33
|
-
nbconvert>=5.6, <7
|
34
|
-
|
35
|
-
# Pinned `markupsafe` latest that support func `soft_unicode`
|
36
|
-
#
|
37
|
-
markupsafe==2.0.1
|
38
|
-
```
|
39
|
-
|
40
|
-
**NOTE**: The functionality of `j1-nbinteract` is the **same** as provided by the original package `nbinteract` of version 0.2.6.
|
41
|
-
|
42
|
-
## CLI
|
43
|
-
|
44
|
-
For compatibility reasons, the (Python) module build-in **CLI** has the same
|
45
|
-
**name** `nbinteract` as used in the original package (nbinteract v0.2.6).
|
46
|
-
|
47
|
-
**NOTE**: The original CLI `nbinteract` of version 0.2.6 **cannot** be used
|
48
|
-
for J1 webpages.
|
49
|
-
|
50
|
-
## Javascript Core module
|
51
|
-
|
52
|
-
The Javascript Core module `j1-nbinteract-core` is heavily modified for the
|
53
|
-
use with J1-Template.
|
54
|
-
|
55
|
-
**NOTE**: The original JS core module `nbinteract-core` of version 0.2.6
|
56
|
-
**cannot** be used for J1 webpages.
|
57
|
-
|
58
|
-
|
59
|
-
# nbinteract v0.2.6
|
60
|
-
|
61
|
-
[![Read the Docs](https://img.shields.io/badge/docs-nbinteract.com-green.svg)][docs]
|
62
|
-
[![Gitter](https://badges.gitter.im/owner/repo.png)][gitter]
|
63
|
-
|
64
|
-
[![Build Status](https://travis-ci.org/SamLau95/nbinteract.svg?branch=master)](https://travis-ci.org/SamLau95/nbinteract)
|
65
|
-
[![PyPI](https://img.shields.io/pypi/v/nbinteract.svg)](https://pypi.python.org/pypi/nbinteract/)
|
66
|
-
[![npm](https://img.shields.io/npm/v/nbinteract.svg)](https://www.npmjs.com/package/nbinteract)
|
67
|
-
|
68
|
-
|
69
|
-
`nbinteract` is a Python package that creates interactive webpages from Jupyter
|
70
|
-
notebooks. `nbinteract` also has built-in support for interactive plotting.
|
71
|
-
These interactions are driven by data, not callbacks, allowing authors to focus
|
72
|
-
on the logic of their programs.
|
73
|
-
|
74
|
-
`nbinteract` is most useful for:
|
75
|
-
|
76
|
-
- Data scientists that want to create simple interactive blog posts without having
|
77
|
-
to know / work with Javascript.
|
78
|
-
- Instructors that want to include interactive examples in their textbooks.
|
79
|
-
- Students that want to publish data analysis that contains interactive demos.
|
80
|
-
|
81
|
-
Currently, `nbinteract` is in an alpha stage because of its quickly-changing
|
82
|
-
API.
|
83
|
-
|
84
|
-
## Examples
|
85
|
-
|
86
|
-
Most plotting functions from other libraries (e.g. `matplotlib`) take data as
|
87
|
-
input. `nbinteract`'s plotting functions take functions as input.
|
88
|
-
|
89
|
-
```python
|
90
|
-
import numpy as np
|
91
|
-
import nbinteract as nbi
|
92
|
-
|
93
|
-
def normal(mean, sd):
|
94
|
-
'''Returns 1000 points drawn at random fron N(mean, sd)'''
|
95
|
-
return np.random.normal(mean, sd, 1000)
|
96
|
-
|
97
|
-
# Pass in the `normal` function and let user change mean and sd.
|
98
|
-
# Whenever the user interacts with the sliders, the `normal` function
|
99
|
-
# is called and the returned data are plotted.
|
100
|
-
nbi.hist(normal, mean=(0, 10), sd=(0, 2.0), options=options)
|
101
|
-
```
|
102
|
-
|
103
|
-
![example1](https://github.com/SamLau95/nbinteract/raw/master/docs/images/example1.gif)
|
104
|
-
|
105
|
-
Simulations are easy to create using `nbinteract`. In this simulation, we roll
|
106
|
-
a die and plot the running average of the rolls. We can see that with more
|
107
|
-
rolls, the average gets closer to the expected value: 3.5.
|
108
|
-
|
109
|
-
```python
|
110
|
-
rolls = np.random.choice([1, 2, 3, 4, 5, 6], size=300)
|
111
|
-
averages = np.cumsum(rolls) / np.arange(1, 301)
|
112
|
-
|
113
|
-
def x_vals(num_rolls):
|
114
|
-
return range(num_rolls)
|
115
|
-
|
116
|
-
# The function to generate y-values gets called with the
|
117
|
-
# x-values as its first argument.
|
118
|
-
def y_vals(xs):
|
119
|
-
return averages[:len(xs)]
|
120
|
-
|
121
|
-
nbi.line(x_vals, y_vals, num_rolls=(1, 300))
|
122
|
-
```
|
123
|
-
|
124
|
-
![example2](https://github.com/SamLau95/nbinteract/raw/master/docs/images/example2.gif)
|
125
|
-
|
126
|
-
## Publishing
|
127
|
-
|
128
|
-
From a notebook cell:
|
129
|
-
|
130
|
-
```python
|
131
|
-
# Run in a notebook cell to convert the notebook into a publishable HTML page:
|
132
|
-
#
|
133
|
-
# nbi.publish('my_binder_spec', 'my_notebook.ipynb')
|
134
|
-
#
|
135
|
-
# Replace my_binder_spec with a Binder spec in the format
|
136
|
-
# {username}/{repo}/{branch} (e.g. SamLau95/nbinteract-image/master).
|
137
|
-
#
|
138
|
-
# Replace my_notebook.ipynb with the name of the notebook file to convert.
|
139
|
-
#
|
140
|
-
# Example:
|
141
|
-
nbi.publish('SamLau95/nbinteract-image/master', 'homepage.ipynb')
|
142
|
-
```
|
143
|
-
|
144
|
-
From the command line:
|
145
|
-
|
146
|
-
```bash
|
147
|
-
# Run on the command line to convert the notebook into a publishable HTML page.
|
148
|
-
#
|
149
|
-
# nbinteract my_binder_spec my_notebook.ipynb
|
150
|
-
#
|
151
|
-
# Replace my_binder_spec with a Binder spec in the format
|
152
|
-
# {username}/{repo}/{branch} (e.g. SamLau95/nbinteract-image/master).
|
153
|
-
#
|
154
|
-
# Replace my_notebook.ipynb with the name of the notebook file to convert.
|
155
|
-
#
|
156
|
-
# Example:
|
157
|
-
nbinteract SamLau95/nbinteract-image/master homepage.ipynb
|
158
|
-
```
|
159
|
-
|
160
|
-
For more information on publishing, see the [tutorial][] which has a complete
|
161
|
-
walkthrough on publishing a notebook to the web.
|
162
|
-
|
163
|
-
## Installation
|
164
|
-
|
165
|
-
Using `pip`:
|
166
|
-
|
167
|
-
```bash
|
168
|
-
pip install nbinteract
|
169
|
-
|
170
|
-
# The next two lines can be skipped for notebook version 5.3 and above
|
171
|
-
jupyter nbextension enable --py --sys-prefix widgetsnbextension
|
172
|
-
jupyter nbextension enable --py --sys-prefix bqplot
|
173
|
-
```
|
174
|
-
|
175
|
-
You may now import the `nbinteract` package in Python code and use the
|
176
|
-
`nbinteract` CLI command to convert notebooks to HTML pages.
|
177
|
-
|
178
|
-
## Tutorial and Documentation
|
179
|
-
|
180
|
-
[Here's a link to the tutorial and docs for this project.][docs]
|
181
|
-
|
182
|
-
## Developer Install
|
183
|
-
|
184
|
-
If you are interested in developing this project locally, run the following:
|
185
|
-
|
186
|
-
```
|
187
|
-
git clone https://github.com/SamLau95/nbinteract
|
188
|
-
cd nbinteract
|
189
|
-
|
190
|
-
# Installs the nbconvert exporter
|
191
|
-
pip install -e .
|
192
|
-
|
193
|
-
# To export a notebook to interactive HTML format:
|
194
|
-
jupyter nbconvert --to interact notebooks/Test.ipynb
|
195
|
-
|
196
|
-
pip install -U ipywidgets
|
197
|
-
jupyter nbextension enable --py --sys-prefix widgetsnbextension
|
198
|
-
|
199
|
-
brew install yarn
|
200
|
-
yarn install
|
201
|
-
|
202
|
-
# Start notebook and webpack servers
|
203
|
-
make -j2 serve
|
204
|
-
```
|
205
|
-
|
206
|
-
## Feedback
|
207
|
-
|
208
|
-
If you have any questions or comments, send us a message on the
|
209
|
-
[Gitter channel][gitter]. We appreciate your feedback!
|
210
|
-
|
211
|
-
## Contributors
|
212
|
-
|
213
|
-
`nbinteract` is originally developed by [Sam Lau][sam] and Caleb Siu as part of
|
214
|
-
a Masters project at UC Berkeley. The code lives under a BSD 3 license and we
|
215
|
-
welcome contributions and pull requests from the community.
|
216
|
-
|
217
|
-
[tutorial]: /tutorial/tutorial_getting_started.html
|
218
|
-
[ipywidgets]: https://github.com/jupyter-widgets/ipywidgets
|
219
|
-
[bqplot]: https://github.com/bloomberg/bqplot
|
220
|
-
[widgets]: http://jupyter.org/widgets.html
|
221
|
-
[gh-pages]: https://pages.github.com/
|
222
|
-
[gitbook]: http://gitbook.com/
|
223
|
-
[install-nb]: http://jupyter.readthedocs.io/en/latest/install.html
|
224
|
-
[docs]: https://www.nbinteract.com/
|
225
|
-
[sam]: http://www.samlau.me/
|
226
|
-
[gitter]: https://gitter.im/nbinteract/Lobby/
|
@@ -1,191 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/nbInteract/css/nbinteract/nbinteract-core.css
|
4
|
-
# Provides base styles for nbInteract
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
# https://github.com/SamLau95/nbinteract
|
9
|
-
#
|
10
|
-
# Copyright (C) 2023 Juergen Adams
|
11
|
-
# Copyright (C) 2017 Sam Lau
|
12
|
-
#
|
13
|
-
# J1 Theme is licensed under MIT License.
|
14
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
15
|
-
# nbInteract is licensed under BSD 3-Clause License.
|
16
|
-
# See: https://github.com/SamLau95/nbinteract/blob/master/LICENSE.txt
|
17
|
-
# -----------------------------------------------------------------------------
|
18
|
-
*/
|
19
|
-
|
20
|
-
/* Base Style/CSS (General Button Styling)
|
21
|
-
-------------------------------------------------------------------------------- */
|
22
|
-
|
23
|
-
/* jadams, 2022-06-15: taken from j1-nbinteract-core */
|
24
|
-
.jupyter-button {
|
25
|
-
background-color: var(--jp-layout-color2);
|
26
|
-
}
|
27
|
-
.jupyter-button:hover:enabled, .jupyter-button:focus:enabled {
|
28
|
-
/* MD Lite 2dp shadow */
|
29
|
-
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),
|
30
|
-
0 3px 1px -2px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity)),
|
31
|
-
0 1px 5px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity));
|
32
|
-
}
|
33
|
-
|
34
|
-
|
35
|
-
/* Base Style/CSS overwrites (General Button Styling)
|
36
|
-
-------------------------------------------------------------------------------- */
|
37
|
-
|
38
|
-
.container {
|
39
|
-
width: 100% !important;
|
40
|
-
}
|
41
|
-
|
42
|
-
.hidden {
|
43
|
-
display: none;
|
44
|
-
}
|
45
|
-
.code_cell.rendered {
|
46
|
-
margin-bottom: 1.75rem;
|
47
|
-
}
|
48
|
-
|
49
|
-
.widget-interact {
|
50
|
-
margin-top: 1.75rem;
|
51
|
-
}
|
52
|
-
|
53
|
-
pre {
|
54
|
-
line-height: 125%;
|
55
|
-
margin-top: 0.25rem;
|
56
|
-
padding: 0.75rem;
|
57
|
-
border: 1px solid #bdbdbd;
|
58
|
-
border-radius: 0.25rem;
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
/* Base Style/CSS for highlightning
|
63
|
-
-------------------------------------------------------------------------------- */
|
64
|
-
|
65
|
-
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
|
66
|
-
span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
|
67
|
-
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
|
68
|
-
span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
|
69
|
-
.highlight .hll { background-color: #ffffcc }
|
70
|
-
.highlight { background: #f8f8f8; }
|
71
|
-
.highlight .c { color: #408080; font-style: italic } /* Comment */
|
72
|
-
.highlight .err { border: 1px solid #FF0000 } /* Error */
|
73
|
-
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
74
|
-
.highlight .o { color: #666666 } /* Operator */
|
75
|
-
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
|
76
|
-
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
77
|
-
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
78
|
-
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
|
79
|
-
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
80
|
-
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
81
|
-
.highlight .gd { color: #A00000 } /* Generic.Deleted */
|
82
|
-
.highlight .ge { font-style: italic } /* Generic.Emph */
|
83
|
-
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
84
|
-
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
85
|
-
.highlight .gi { color: #00A000 } /* Generic.Inserted */
|
86
|
-
.highlight .go { color: #888888 } /* Generic.Output */
|
87
|
-
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
88
|
-
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
89
|
-
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
90
|
-
.highlight .gt { color: #0044DD } /* Generic.Traceback */
|
91
|
-
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
92
|
-
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
93
|
-
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
94
|
-
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
95
|
-
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
96
|
-
.highlight .kt { color: #B00040 } /* Keyword.Type */
|
97
|
-
.highlight .m { color: #666666 } /* Literal.Number */
|
98
|
-
.highlight .s { color: #BA2121 } /* Literal.String */
|
99
|
-
.highlight .na { color: #7D9029 } /* Name.Attribute */
|
100
|
-
.highlight .nb { color: #008000 } /* Name.Builtin */
|
101
|
-
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
102
|
-
.highlight .no { color: #880000 } /* Name.Constant */
|
103
|
-
.highlight .nd { color: #AA22FF } /* Name.Decorator */
|
104
|
-
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
105
|
-
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
106
|
-
.highlight .nf { color: #0000FF } /* Name.Function */
|
107
|
-
.highlight .nl { color: #A0A000 } /* Name.Label */
|
108
|
-
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
109
|
-
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
110
|
-
.highlight .nv { color: #19177C } /* Name.Variable */
|
111
|
-
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
112
|
-
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
113
|
-
.highlight .mb { color: #666666 } /* Literal.Number.Bin */
|
114
|
-
.highlight .mf { color: #666666 } /* Literal.Number.Float */
|
115
|
-
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
116
|
-
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
117
|
-
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
118
|
-
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
|
119
|
-
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
120
|
-
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
121
|
-
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
|
122
|
-
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
123
|
-
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
124
|
-
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
125
|
-
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
126
|
-
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
127
|
-
.highlight .sx { color: #008000 } /* Literal.String.Other */
|
128
|
-
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
129
|
-
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
130
|
-
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
131
|
-
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
132
|
-
.highlight .fm { color: #0000FF } /* Name.Function.Magic */
|
133
|
-
.highlight .vc { color: #19177C } /* Name.Variable.Class */
|
134
|
-
.highlight .vg { color: #19177C } /* Name.Variable.Global */
|
135
|
-
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
136
|
-
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
|
137
|
-
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
138
|
-
|
139
|
-
|
140
|
-
/* Base Style/CSS Overrides for static HTML export
|
141
|
-
-------------------------------------------------------------------------------- */
|
142
|
-
|
143
|
-
div#notebook {
|
144
|
-
overflow: visible;
|
145
|
-
border-top: none;
|
146
|
-
} @media print {
|
147
|
-
div.cell {
|
148
|
-
display: block;
|
149
|
-
page-break-inside: avoid;
|
150
|
-
}
|
151
|
-
div.output_wrapper {
|
152
|
-
display: block;
|
153
|
-
page-break-inside: avoid;
|
154
|
-
}
|
155
|
-
div.output {
|
156
|
-
display: block;
|
157
|
-
page-break-inside: avoid;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|
161
|
-
.cell.nbinteract-left {
|
162
|
-
width: 50%;
|
163
|
-
float: left;
|
164
|
-
}
|
165
|
-
|
166
|
-
.cell.nbinteract-right {
|
167
|
-
width: 50%;
|
168
|
-
float: right;
|
169
|
-
}
|
170
|
-
|
171
|
-
.cell.nbinteract-hide_in > .input {
|
172
|
-
display: none;
|
173
|
-
}
|
174
|
-
|
175
|
-
.cell.nbinteract-hide_out > .output_wrapper {
|
176
|
-
display: none;
|
177
|
-
}
|
178
|
-
|
179
|
-
.cell:after {
|
180
|
-
content: "";
|
181
|
-
display: table;
|
182
|
-
clear: both;
|
183
|
-
}
|
184
|
-
|
185
|
-
div.output_subarea {
|
186
|
-
max-width: initial;
|
187
|
-
}
|
188
|
-
|
189
|
-
.jp-OutputPrompt {
|
190
|
-
display: none;
|
191
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/nbInteract/css/nbinteract/nbinteract-core.css
|
4
|
-
# Provides base styles for nbInteract
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
# https://github.com/SamLau95/nbinteract
|
9
|
-
#
|
10
|
-
# Copyright (C) 2023 Juergen Adams
|
11
|
-
# Copyright (C) 2017 Sam Lau
|
12
|
-
#
|
13
|
-
# J1 Theme is licensed under MIT License.
|
14
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
15
|
-
# nbInteract is licensed under BSD 3-Clause License.
|
16
|
-
# See: https://github.com/SamLau95/nbinteract/blob/master/LICENSE.txt
|
17
|
-
# -----------------------------------------------------------------------------
|
18
|
-
*/
|
19
|
-
.container{width:100%!important}.hidden{display:none}.code_cell.rendered{margin-bottom:1.75rem}.widget-interact{margin-top:1.75rem}pre{line-height:125%;margin-top:.25rem;padding:.75rem;border:1px solid #bdbdbd;border-radius:.25rem}td.linenos pre{color:#000;background-color:#f0f0f0;padding:0 5px 0 5px}span.linenos{color:#000;background-color:#f0f0f0;padding:0 5px 0 5px}td.linenos pre.special{color:#000;background-color:#ffffc0;padding:0 5px 0 5px}span.linenos.special{color:#000;background-color:#ffffc0;padding:0 5px 0 5px}.highlight .hll{background-color:#ffc}.highlight{background:#f8f8f8}.highlight .c{color:#408080;font-style:italic}.highlight .err{border:1px solid #f00}.highlight .k{color:#008000;font-weight:bold}.highlight .o{color:#666}.highlight .ch{color:#408080;font-style:italic}.highlight .cm{color:#408080;font-style:italic}.highlight .cp{color:#bc7a00}.highlight .cpf{color:#408080;font-style:italic}.highlight .c1{color:#408080;font-style:italic}.highlight .cs{color:#408080;font-style:italic}.highlight .gd{color:#a00000}.highlight .ge{font-style:italic}.highlight .gr{color:#f00}.highlight .gh{color:#000080;font-weight:bold}.highlight .gi{color:#00a000}.highlight .go{color:#888}.highlight .gp{color:#000080;font-weight:bold}.highlight .gs{font-weight:bold}.highlight .gu{color:#800080;font-weight:bold}.highlight .gt{color:#04d}.highlight .kc{color:#008000;font-weight:bold}.highlight .kd{color:#008000;font-weight:bold}.highlight .kn{color:#008000;font-weight:bold}.highlight .kp{color:#008000}.highlight .kr{color:#008000;font-weight:bold}.highlight .kt{color:#b00040}.highlight .m{color:#666}.highlight .s{color:#ba2121}.highlight .na{color:#7d9029}.highlight .nb{color:#008000}.highlight .nc{color:#00f;font-weight:bold}.highlight .no{color:#800}.highlight .nd{color:#a2f}.highlight .ni{color:#999;font-weight:bold}.highlight .ne{color:#d2413a;font-weight:bold}.highlight .nf{color:#00f}.highlight .nl{color:#a0a000}.highlight .nn{color:#00f;font-weight:bold}.highlight .nt{color:#008000;font-weight:bold}.highlight .nv{color:#19177c}.highlight .ow{color:#a2f;font-weight:bold}.highlight .w{color:#bbb}.highlight .mb{color:#666}.highlight .mf{color:#666}.highlight .mh{color:#666}.highlight .mi{color:#666}.highlight .mo{color:#666}.highlight .sa{color:#ba2121}.highlight .sb{color:#ba2121}.highlight .sc{color:#ba2121}.highlight .dl{color:#ba2121}.highlight .sd{color:#ba2121;font-style:italic}.highlight .s2{color:#ba2121}.highlight .se{color:#b62;font-weight:bold}.highlight .sh{color:#ba2121}.highlight .si{color:#b68;font-weight:bold}.highlight .sx{color:#008000}.highlight .sr{color:#b68}.highlight .s1{color:#ba2121}.highlight .ss{color:#19177c}.highlight .bp{color:#008000}.highlight .fm{color:#00f}.highlight .vc{color:#19177c}.highlight .vg{color:#19177c}.highlight .vi{color:#19177c}.highlight .vm{color:#19177c}.highlight .il{color:#666}div#notebook{overflow:visible;border-top:0}@media print{div.cell{display:block;page-break-inside:avoid}div.output_wrapper{display:block;page-break-inside:avoid}div.output{display:block;page-break-inside:avoid}}.cell.nbinteract-left{width:50%;float:left}.cell.nbinteract-right{width:50%;float:right}.cell.nbinteract-hide_in>.input{display:none}.cell.nbinteract-hide_out>.output_wrapper{display:none}.cell:after{content:"";display:table;clear:both}div.output_subarea{max-width:initial}.jp-OutputPrompt{display:none}
|