j1-template 2021.2.3 → 2021.2.4
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/layout_metadata_generator.html +6 -1
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +11 -23
- data/assets/data/cookieconsent.html +43 -33
- data/assets/data/msdropdown.json +155 -0
- data/assets/data/quicklinks.html +24 -2
- data/assets/data/translator.html +291 -0
- data/assets/data/translator_languages.json +142 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +41 -34
- data/assets/themes/j1/adapter/js/j1.js +66 -20
- data/assets/themes/j1/adapter/js/themer.js +2 -2
- data/assets/themes/j1/adapter/js/translator.js +492 -0
- data/assets/themes/j1/core/country-flags/1x1/ad.svg +148 -0
- data/assets/themes/j1/core/country-flags/1x1/ae.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/af.svg +81 -0
- data/assets/themes/j1/core/country-flags/1x1/ag.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ai.svg +763 -0
- data/assets/themes/j1/core/country-flags/1x1/al.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/am.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ao.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/aq.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ar.svg +31 -0
- data/assets/themes/j1/core/country-flags/1x1/as.svg +33 -0
- data/assets/themes/j1/core/country-flags/1x1/at.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/au.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/aw.svg +186 -0
- data/assets/themes/j1/core/country-flags/1x1/ax.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/az.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/ba.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/bb.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/bd.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/be.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bg.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bh.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/bi.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/bj.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/bl.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bm.svg +98 -0
- data/assets/themes/j1/core/country-flags/1x1/bn.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/bo.svg +678 -0
- data/assets/themes/j1/core/country-flags/1x1/bq.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/br.svg +45 -0
- data/assets/themes/j1/core/country-flags/1x1/bs.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/bt.svg +89 -0
- data/assets/themes/j1/core/country-flags/1x1/bv.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/bw.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/by.svg +22 -0
- data/assets/themes/j1/core/country-flags/1x1/bz.svg +145 -0
- data/assets/themes/j1/core/country-flags/1x1/ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/cc.svg +19 -0
- data/assets/themes/j1/core/country-flags/1x1/cd.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/cf.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cg.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/ch.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/ci.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ck.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/cl.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cm.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cn.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/co.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/cr.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/cu.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cv.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cw.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/cx.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cy.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/cz.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/de.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/dj.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/dk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/dm.svg +152 -0
- data/assets/themes/j1/core/country-flags/1x1/do.svg +6745 -0
- data/assets/themes/j1/core/country-flags/1x1/dz.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ec.svg +138 -0
- data/assets/themes/j1/core/country-flags/1x1/ee.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/eg.svg +38 -0
- data/assets/themes/j1/core/country-flags/1x1/eh.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/er.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/es-ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/es-ga.svg +189 -0
- data/assets/themes/j1/core/country-flags/1x1/es.svg +547 -0
- data/assets/themes/j1/core/country-flags/1x1/et.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/eu.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/fi.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/fj.svg +125 -0
- data/assets/themes/j1/core/country-flags/1x1/fk.svg +93 -0
- data/assets/themes/j1/core/country-flags/1x1/fm.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/fo.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/fr.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ga.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-eng.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-nir.svg +131 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-sct.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-wls.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gb.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gd.svg +27 -0
- data/assets/themes/j1/core/country-flags/1x1/ge.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/gf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gg.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gh.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/gi.svg +32 -0
- data/assets/themes/j1/core/country-flags/1x1/gl.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/gm.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gn.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gp.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gq.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/gr.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/gs.svg +206 -0
- data/assets/themes/j1/core/country-flags/1x1/gt.svg +204 -0
- data/assets/themes/j1/core/country-flags/1x1/gu.svg +39 -0
- data/assets/themes/j1/core/country-flags/1x1/gw.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/gy.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/hk.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/hm.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/hn.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/hr.svg +56 -0
- data/assets/themes/j1/core/country-flags/1x1/ht.svg +116 -0
- data/assets/themes/j1/core/country-flags/1x1/hu.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/id.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ie.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/il.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/im.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/in.svg +25 -0
- data/assets/themes/j1/core/country-flags/1x1/io.svg +140 -0
- data/assets/themes/j1/core/country-flags/1x1/iq.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/ir.svg +219 -0
- data/assets/themes/j1/core/country-flags/1x1/is.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/it.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/je.svg +29 -0
- data/assets/themes/j1/core/country-flags/1x1/jm.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/jo.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/jp.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/ke.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/kg.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/kh.svg +61 -0
- data/assets/themes/j1/core/country-flags/1x1/ki.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/km.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/kn.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/kp.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/kr.svg +24 -0
- data/assets/themes/j1/core/country-flags/1x1/kw.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ky.svg +70 -0
- data/assets/themes/j1/core/country-flags/1x1/kz.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/la.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/lb.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/lc.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/li.svg +43 -0
- data/assets/themes/j1/core/country-flags/1x1/lk.svg +22 -0
- data/assets/themes/j1/core/country-flags/1x1/lr.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ls.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/lt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/lu.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/lv.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ly.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ma.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/mc.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/md.svg +71 -0
- data/assets/themes/j1/core/country-flags/1x1/me.svg +118 -0
- data/assets/themes/j1/core/country-flags/1x1/mf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mg.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mh.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/mk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ml.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mm.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/mn.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/mo.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/mp.svg +86 -0
- data/assets/themes/j1/core/country-flags/1x1/mq.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mr.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ms.svg +70 -0
- data/assets/themes/j1/core/country-flags/1x1/mt.svg +50 -0
- data/assets/themes/j1/core/country-flags/1x1/mu.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/mv.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/mw.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/mx.svg +378 -0
- data/assets/themes/j1/core/country-flags/1x1/my.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/mz.svg +21 -0
- data/assets/themes/j1/core/country-flags/1x1/na.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/nc.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ne.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/nf.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/ng.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ni.svg +129 -0
- data/assets/themes/j1/core/country-flags/1x1/nl.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/no.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/np.svg +19 -0
- data/assets/themes/j1/core/country-flags/1x1/nr.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/nu.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/nz.svg +41 -0
- data/assets/themes/j1/core/country-flags/1x1/om.svg +115 -0
- data/assets/themes/j1/core/country-flags/1x1/pa.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/pe.svg +244 -0
- data/assets/themes/j1/core/country-flags/1x1/pf.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/pg.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/ph.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/pk.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/pl.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/pm.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/pn.svg +67 -0
- data/assets/themes/j1/core/country-flags/1x1/pr.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ps.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/pt.svg +57 -0
- data/assets/themes/j1/core/country-flags/1x1/pw.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/py.svg +156 -0
- data/assets/themes/j1/core/country-flags/1x1/qa.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/re.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ro.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/rs.svg +296 -0
- data/assets/themes/j1/core/country-flags/1x1/ru.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/rw.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sa.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/sb.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sc.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/sd.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/se.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/sg.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sh.svg +81 -0
- data/assets/themes/j1/core/country-flags/1x1/si.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/sj.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/sk.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/sl.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/sm.svg +89 -0
- data/assets/themes/j1/core/country-flags/1x1/sn.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/so.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/sr.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ss.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/st.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/sv.svg +596 -0
- data/assets/themes/j1/core/country-flags/1x1/sx.svg +56 -0
- data/assets/themes/j1/core/country-flags/1x1/sy.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/sz.svg +45 -0
- data/assets/themes/j1/core/country-flags/1x1/tc.svg +74 -0
- data/assets/themes/j1/core/country-flags/1x1/td.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tf.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/tg.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/th.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tj.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/tk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/tl.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/tm.svg +203 -0
- data/assets/themes/j1/core/country-flags/1x1/tn.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/to.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/tr.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/tt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tv.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/tw.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/tz.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/ua.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ug.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/um.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/un.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/us.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/uy.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/uz.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/va.svg +479 -0
- data/assets/themes/j1/core/country-flags/1x1/vc.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/ve.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/vg.svg +128 -0
- data/assets/themes/j1/core/country-flags/1x1/vi.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/vn.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/vu.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/wf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ws.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/xk.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/ye.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/yt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/za.svg +17 -0
- data/assets/themes/j1/core/country-flags/1x1/zm.svg +27 -0
- data/assets/themes/j1/core/country-flags/1x1/zw.svg +21 -0
- data/assets/themes/j1/core/country-flags/4x3/ad.svg +150 -0
- data/assets/themes/j1/core/country-flags/4x3/ae.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/af.svg +81 -0
- data/assets/themes/j1/core/country-flags/4x3/ag.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ai.svg +763 -0
- data/assets/themes/j1/core/country-flags/4x3/al.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/am.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ao.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/aq.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ar.svg +31 -0
- data/assets/themes/j1/core/country-flags/4x3/as.svg +33 -0
- data/assets/themes/j1/core/country-flags/4x3/at.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/au.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/aw.svg +186 -0
- data/assets/themes/j1/core/country-flags/4x3/ax.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/az.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/ba.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/bb.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/bd.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/be.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bg.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bh.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/bi.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/bj.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/bl.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bm.svg +98 -0
- data/assets/themes/j1/core/country-flags/4x3/bn.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/bo.svg +676 -0
- data/assets/themes/j1/core/country-flags/4x3/bq.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/br.svg +45 -0
- data/assets/themes/j1/core/country-flags/4x3/bs.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/bt.svg +89 -0
- data/assets/themes/j1/core/country-flags/4x3/bv.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/bw.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/by.svg +20 -0
- data/assets/themes/j1/core/country-flags/4x3/bz.svg +145 -0
- data/assets/themes/j1/core/country-flags/4x3/ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/cc.svg +19 -0
- data/assets/themes/j1/core/country-flags/4x3/cd.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/cf.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cg.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/ch.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ci.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ck.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/cl.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cm.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cn.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/co.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/cr.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/cu.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cv.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cw.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/cx.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cy.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/cz.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/de.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/dj.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/dk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/dm.svg +152 -0
- data/assets/themes/j1/core/country-flags/4x3/do.svg +6745 -0
- data/assets/themes/j1/core/country-flags/4x3/dz.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ec.svg +138 -0
- data/assets/themes/j1/core/country-flags/4x3/ee.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/eg.svg +38 -0
- data/assets/themes/j1/core/country-flags/4x3/eh.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/er.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/es-ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/es-ga.svg +189 -0
- data/assets/themes/j1/core/country-flags/4x3/es.svg +544 -0
- data/assets/themes/j1/core/country-flags/4x3/et.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/eu.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/fi.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/fj.svg +122 -0
- data/assets/themes/j1/core/country-flags/4x3/fk.svg +90 -0
- data/assets/themes/j1/core/country-flags/4x3/fm.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/fo.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/fr.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ga.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-eng.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-nir.svg +132 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-sct.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-wls.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/gb.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gd.svg +27 -0
- data/assets/themes/j1/core/country-flags/4x3/ge.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/gf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gg.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/gh.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/gi.svg +32 -0
- data/assets/themes/j1/core/country-flags/4x3/gl.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/gm.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/gn.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gp.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gq.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/gr.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/gs.svg +201 -0
- data/assets/themes/j1/core/country-flags/4x3/gt.svg +204 -0
- data/assets/themes/j1/core/country-flags/4x3/gu.svg +39 -0
- data/assets/themes/j1/core/country-flags/4x3/gw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/gy.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/hk.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/hm.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/hn.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/hr.svg +58 -0
- data/assets/themes/j1/core/country-flags/4x3/ht.svg +116 -0
- data/assets/themes/j1/core/country-flags/4x3/hu.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/id.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ie.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/il.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/im.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/in.svg +25 -0
- data/assets/themes/j1/core/country-flags/4x3/io.svg +138 -0
- data/assets/themes/j1/core/country-flags/4x3/iq.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/ir.svg +219 -0
- data/assets/themes/j1/core/country-flags/4x3/is.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/it.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/je.svg +29 -0
- data/assets/themes/j1/core/country-flags/4x3/jm.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/jo.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/jp.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/ke.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/kg.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/kh.svg +61 -0
- data/assets/themes/j1/core/country-flags/4x3/ki.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/km.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/kn.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/kp.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/kr.svg +24 -0
- data/assets/themes/j1/core/country-flags/4x3/kw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ky.svg +63 -0
- data/assets/themes/j1/core/country-flags/4x3/kz.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/la.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/lb.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/lc.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/li.svg +43 -0
- data/assets/themes/j1/core/country-flags/4x3/lk.svg +22 -0
- data/assets/themes/j1/core/country-flags/4x3/lr.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ls.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/lt.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/lu.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/lv.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ly.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ma.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/mc.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/md.svg +70 -0
- data/assets/themes/j1/core/country-flags/4x3/me.svg +116 -0
- data/assets/themes/j1/core/country-flags/4x3/mf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mg.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mh.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ml.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mm.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/mn.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/mo.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/mp.svg +86 -0
- data/assets/themes/j1/core/country-flags/4x3/mq.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mr.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ms.svg +78 -0
- data/assets/themes/j1/core/country-flags/4x3/mt.svg +49 -0
- data/assets/themes/j1/core/country-flags/4x3/mu.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/mv.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/mw.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/mx.svg +382 -0
- data/assets/themes/j1/core/country-flags/4x3/my.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/mz.svg +21 -0
- data/assets/themes/j1/core/country-flags/4x3/na.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/nc.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ne.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/nf.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ng.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ni.svg +129 -0
- data/assets/themes/j1/core/country-flags/4x3/nl.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/no.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/np.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/nr.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/nu.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/nz.svg +41 -0
- data/assets/themes/j1/core/country-flags/4x3/om.svg +115 -0
- data/assets/themes/j1/core/country-flags/4x3/pa.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/pe.svg +244 -0
- data/assets/themes/j1/core/country-flags/4x3/pf.svg +19 -0
- data/assets/themes/j1/core/country-flags/4x3/pg.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ph.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/pk.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/pl.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/pm.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/pn.svg +62 -0
- data/assets/themes/j1/core/country-flags/4x3/pr.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ps.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/pt.svg +57 -0
- data/assets/themes/j1/core/country-flags/4x3/pw.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/py.svg +157 -0
- data/assets/themes/j1/core/country-flags/4x3/qa.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/re.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ro.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/rs.svg +292 -0
- data/assets/themes/j1/core/country-flags/4x3/ru.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/rw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sa.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/sb.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sc.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/sd.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/se.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/sg.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sh.svg +74 -0
- data/assets/themes/j1/core/country-flags/4x3/si.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/sj.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/sk.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/sl.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/sm.svg +91 -0
- data/assets/themes/j1/core/country-flags/4x3/sn.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/so.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/sr.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ss.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/st.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/sv.svg +594 -0
- data/assets/themes/j1/core/country-flags/4x3/sx.svg +56 -0
- data/assets/themes/j1/core/country-flags/4x3/sy.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/sz.svg +45 -0
- data/assets/themes/j1/core/country-flags/4x3/tc.svg +67 -0
- data/assets/themes/j1/core/country-flags/4x3/td.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/tf.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/tg.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/th.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/tj.svg +22 -0
- data/assets/themes/j1/core/country-flags/4x3/tk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/tl.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/tm.svg +206 -0
- data/assets/themes/j1/core/country-flags/4x3/tn.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/to.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/tr.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/tt.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/tv.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/tw.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/tz.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ua.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ug.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/um.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/un.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/us.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/uy.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/uz.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/va.svg +479 -0
- data/assets/themes/j1/core/country-flags/4x3/vc.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/ve.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/vg.svg +127 -0
- data/assets/themes/j1/core/country-flags/4x3/vi.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/vn.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/vu.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/wf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ws.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/xk.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/ye.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/yt.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/za.svg +17 -0
- data/assets/themes/j1/core/country-flags/4x3/zm.svg +27 -0
- data/assets/themes/j1/core/country-flags/4x3/zw.svg +21 -0
- data/assets/themes/j1/core/country-flags/css/theme/uno.css +73 -0
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3 -4
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +1400 -0
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +8496 -13
- data/assets/themes/j1/core/js/template.min.js +9 -9
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +49 -42
- data/assets/themes/j1/modules/j1Deepl/js/j1deepl.js +11 -8
- data/assets/themes/j1/modules/j1Deepl/js/j1deepl.min.js +1 -1
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +254 -240
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +1 -2
- data/assets/themes/j1/modules/msDropdown/css/flags.css +1033 -0
- data/assets/themes/j1/modules/msDropdown/css/flags.min.css +23 -0
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.css +278 -0
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.min.css +34 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/1273404841_tick_16.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Amex-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Cash-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Discover-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Mastercard-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Paypal-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Visa-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/blank.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-chrome.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-firefox.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-msie.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-opera.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-safari.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/button-large.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/demoaction.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/enabled.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/flagssprite_small.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/giftlelo_dot_com.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon-search.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_calendar.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_cart.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_cd.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_email.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_faq.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_games.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_lockopen.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_music.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_phone.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_sales.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_secure.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_video.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/jquery-msdropdown.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/msDropDown.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/preview.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/sprite.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/sprite.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/tick.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.js +2664 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js +33 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js.map +1 -0
- data/assets/themes/j1/modules/translator/css/translator.css +33 -0
- data/assets/themes/j1/modules/translator/css/translator.min.css +15 -0
- data/assets/themes/j1/modules/translator/js/translator.js +614 -0
- data/assets/themes/j1/modules/translator/js/translator.min.js +15 -0
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +4 -7
- data/lib/starter_web/_data/layouts/collection.yml +1 -12
- data/lib/starter_web/_data/layouts/home.yml +0 -12
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +100 -90
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/translator.yml +142 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +31 -0
- data/lib/starter_web/_data/resources.yml +108 -105
- data/lib/starter_web/_includes/attributes.asciidoc +7 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/flag-icon-inline.rb +37 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/markus-krisetya-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-2-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/percentage_global_mobile_tr.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +0 -8
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +3 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/learn/quickstart.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +7 -3
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +3 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +30 -28
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +112 -10
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +8 -5
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +4 -2
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +6 -8
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +42 -43
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +15 -15
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +0 -1
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +0 -2
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +0 -1
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -3
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -3
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +0 -2
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -2
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +743 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -0
- data/lib/starter_web/pages/public/previewer/{bootstrap_theme.adoc → preview_bootstrap_theme.adoc} +1 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +580 -4
- data/assets/themes/j1/core/js/template.js.map +0 -1
@@ -0,0 +1,614 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/translator/js/translator.js
|
4
|
+
# Provides JS Core functions|API for J1 Module Translator
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# http://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under MIT License.
|
12
|
+
# See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
*/
|
15
|
+
'use strict';
|
16
|
+
|
17
|
+
// -----------------------------------------------------------------------------
|
18
|
+
// ESLint shimming
|
19
|
+
// -----------------------------------------------------------------------------
|
20
|
+
/* eslint indent: "off" */
|
21
|
+
/* eslint no-unused-vars: "off" */
|
22
|
+
/* eslint no-undef: "off" */
|
23
|
+
/* eslint no-redeclare: "off" */
|
24
|
+
/* eslint indent: "off" */
|
25
|
+
/* eslint JSUnfilteredForInLoop: "off" */
|
26
|
+
// -----------------------------------------------------------------------------
|
27
|
+
|
28
|
+
function Translator(props) {
|
29
|
+
var logger = log4javascript.getLogger('j1.core.translator');
|
30
|
+
var dialogContainerID = 'translator-modal';
|
31
|
+
var self = this;
|
32
|
+
var detailedSettingsShown = false;
|
33
|
+
var url = new liteURL(window.location.href);
|
34
|
+
var cookieSecure = (url.protocol.includes('https')) ? true : false;
|
35
|
+
var logText;
|
36
|
+
var current_page;
|
37
|
+
var whitelisted;
|
38
|
+
var ddTranslationSourceLanguage;
|
39
|
+
var navigator_language;
|
40
|
+
var translation_language;
|
41
|
+
|
42
|
+
// ---------------------------------------------------------------------------
|
43
|
+
// var and propertiy settings
|
44
|
+
// ---------------------------------------------------------------------------
|
45
|
+
|
46
|
+
this.props = {
|
47
|
+
contentURL: '/assets/data/translator', // this URL must contain the dialog content (modals) in the needed languages
|
48
|
+
cookieName: 'j1.user.state', // the name of the User State Cookie (primary data)
|
49
|
+
cookieConsentName: 'j1.user.consent', // the name of the Cookie Consent Cookie (secondary data)
|
50
|
+
cookieStorageDays: 365, // the duration the cookie is stored on the client
|
51
|
+
cookieSameSite: 'Strict', // restrict consent cookie to first-party, do NOT send cookie to other domains
|
52
|
+
cookieSecure: false,
|
53
|
+
translationEnabled: false,
|
54
|
+
translatorName: 'google',
|
55
|
+
translationLanguage: 'auto',
|
56
|
+
translateAllPages: true, // enable tranlation on all pages
|
57
|
+
hideSuggestionBox: true, // disable suggestions on translated text
|
58
|
+
hidePoweredBy: true, // disable label "Powered by Google"
|
59
|
+
hideTopFrame: true, // disable the (google) translator frame
|
60
|
+
dialogLanguage: 'content', // language used for the consent dialog (modal)
|
61
|
+
dialogLanguages: ['en','de'], // supported languages for the consent dialog (modal), defaults to first in array//
|
62
|
+
dialogContainerID: 'translator-modal', // container, the dialog modal is (dynamically) loaded
|
63
|
+
xhrDataElement: '', // container for the language-specific consent modal taken from /assets/data/cookieconsent.html
|
64
|
+
postSelectionCallback: undefined, // callback function, called after the user has made his selection
|
65
|
+
};
|
66
|
+
|
67
|
+
// supported languages by Google Translate
|
68
|
+
this.googleTranslatorLanguages = {
|
69
|
+
'af': { 'name': 'Afrikaans' },
|
70
|
+
'sq': { 'name': 'Albanian' },
|
71
|
+
'ar': { 'name': 'Arabic' },
|
72
|
+
'hy': { 'name': 'Armenian' },
|
73
|
+
'az': { 'name': 'Azerbaijani' },
|
74
|
+
'eu': { 'name': 'Basque' },
|
75
|
+
'be': { 'name': 'Belarusian' },
|
76
|
+
'bn': { 'name': 'Bengali' },
|
77
|
+
'bg': { 'name': 'Bulgarian' },
|
78
|
+
'ca': { 'name': 'Catalan' },
|
79
|
+
'zh-CN': { 'name': 'Chinese (Simplified)' },
|
80
|
+
'zh-TW': { 'name': 'Chinese (Traditional)' },
|
81
|
+
'hr': { 'name': 'Croatian' },
|
82
|
+
'cs': { 'name': 'Czech' },
|
83
|
+
'da': { 'name': 'Danish' },
|
84
|
+
'nl': { 'name': 'Dutch' },
|
85
|
+
'eo': { 'name': 'Esperanto' },
|
86
|
+
'et': { 'name': 'Estonian' },
|
87
|
+
'tl': { 'name': 'Filipino' },
|
88
|
+
'fi': { 'name': 'Finnish' },
|
89
|
+
'fr': { 'name': 'French' },
|
90
|
+
'gl': { 'name': 'Galician' },
|
91
|
+
'ka': { 'name': 'Georgian' },
|
92
|
+
'de': { 'name': 'German' },
|
93
|
+
'el': { 'name': 'Greek' },
|
94
|
+
'gu': { 'name': 'Gujarati' },
|
95
|
+
'ht': { 'name': 'Haitian Creole' },
|
96
|
+
'iw': { 'name': 'Hebrew' },
|
97
|
+
'hi': { 'name': 'Hindi' },
|
98
|
+
'hu': { 'name': 'Hungarian' },
|
99
|
+
'is': { 'name': 'Icelandic' },
|
100
|
+
'id': { 'name': 'Indonesian' },
|
101
|
+
'ga': { 'name': 'Irish' },
|
102
|
+
'it': { 'name': 'Italian' },
|
103
|
+
'ja': { 'name': 'Japanese' },
|
104
|
+
'kn': { 'name': 'Kannada' },
|
105
|
+
'ko': { 'name': 'Korean' },
|
106
|
+
'la': { 'name': 'Latin' },
|
107
|
+
'lv': { 'name': 'Latvian' },
|
108
|
+
'lt': { 'name': 'Lithuanian' },
|
109
|
+
'mk': { 'name': 'Macedonian' },
|
110
|
+
'ms': { 'name': 'Malay' },
|
111
|
+
'mt': { 'name': 'Maltese' },
|
112
|
+
'no': { 'name': 'Norwegian' },
|
113
|
+
'fa': { 'name': 'Persian' },
|
114
|
+
'pl': { 'name': 'Polish' },
|
115
|
+
'pt': { 'name': 'Portuguese' },
|
116
|
+
'ro': { 'name': 'Romanian' },
|
117
|
+
'ru': { 'name': 'Russian' },
|
118
|
+
'sr': { 'name': 'Serbian' },
|
119
|
+
'sk': { 'name': 'Slovak' },
|
120
|
+
'sl': { 'name': 'Slovenian' },
|
121
|
+
'es': { 'name': 'Spanish' },
|
122
|
+
'sw': { 'name': 'Swahili' },
|
123
|
+
'sv': { 'name': 'Swedish' },
|
124
|
+
'ta': { 'name': 'Tamil' },
|
125
|
+
'te': { 'name': 'Telugu' },
|
126
|
+
'th': { 'name': 'Thai' },
|
127
|
+
'tr': { 'name': 'Turkish' },
|
128
|
+
'uk': { 'name': 'Ukrainian' },
|
129
|
+
'ur': { 'name': 'Urdu' },
|
130
|
+
'vi': { 'name': 'Vietnamese' },
|
131
|
+
'cy': { 'name': 'Welsh' },
|
132
|
+
'yi': { 'name': 'Yiddish' }
|
133
|
+
};
|
134
|
+
|
135
|
+
// supported languages by Deepl Translate
|
136
|
+
this.deeplTranslatorLanguages = {
|
137
|
+
'bg': { 'name': 'Bulgarian' },
|
138
|
+
'cs': { 'name': 'Czech' },
|
139
|
+
'da': { 'name': 'Danish' },
|
140
|
+
'de': { 'name': 'German' },
|
141
|
+
'el': { 'name': 'Greek' },
|
142
|
+
'es': { 'name': 'Spanish' },
|
143
|
+
'en': { 'name': 'English' },
|
144
|
+
'en-us': { 'name': 'English (American)' },
|
145
|
+
'en-uk': { 'name': 'English (British)' },
|
146
|
+
'et': { 'name': 'Estonian' },
|
147
|
+
'ft': { 'name': 'Finnish' },
|
148
|
+
'fr': { 'name': 'French' },
|
149
|
+
'hu': { 'name': 'Hungarian' },
|
150
|
+
'it': { 'name': 'Italian' },
|
151
|
+
'ja': { 'name': 'Japanese' },
|
152
|
+
'lv': { 'name': 'Latvian' },
|
153
|
+
'lt': { 'name': 'Lithuanian' },
|
154
|
+
'nl': { 'name': 'Dutch' },
|
155
|
+
'af': { 'name': 'Polish' },
|
156
|
+
'pt': { 'name': 'Portuguese' },
|
157
|
+
'pt-pt': { 'name': 'Portuguese (Portugal)' },
|
158
|
+
'pt-br': { 'name': 'Portuguese (Brazilian)' },
|
159
|
+
'ro': { 'name': 'Romanian' },
|
160
|
+
'ru': { 'name': 'Russian' },
|
161
|
+
'sk': { 'name': 'Slovak' },
|
162
|
+
'sl': { 'name': 'Slovenian' },
|
163
|
+
'sv': { 'name': 'Swedish' },
|
164
|
+
'zh': { 'name': 'Chinese' },
|
165
|
+
};
|
166
|
+
|
167
|
+
for (var property in props) {
|
168
|
+
this.props[property] = props[property];
|
169
|
+
}
|
170
|
+
|
171
|
+
// merge property settings
|
172
|
+
for (var property in props) {
|
173
|
+
this.props[property] = props[property];
|
174
|
+
}
|
175
|
+
|
176
|
+
if (this.props.dialogLanguage.indexOf("-") !== -1) {
|
177
|
+
this.props.dialogLanguage = this.props.dialogLanguage.split("-")[0];
|
178
|
+
}
|
179
|
+
|
180
|
+
// fallback on default language (modal) if dialogLanguage not suppported
|
181
|
+
if (!this.props.dialogLanguages.includes(this.props.dialogLanguage)) {
|
182
|
+
this.props.dialogLanguage = this.props.dialogLanguages[0];
|
183
|
+
}
|
184
|
+
|
185
|
+
// set modal by dialogLanguage that is loadad
|
186
|
+
this.props.xhrDataElement = this.props.xhrDataElement + '-' + this.props.dialogLanguage;
|
187
|
+
|
188
|
+
// set modal by dialogLanguage that is loadad
|
189
|
+
this.props.cookieSecure = cookieSecure;
|
190
|
+
|
191
|
+
logger.info('\n' + 'initializing core module: started');
|
192
|
+
logger.info('\n' + 'state: started');
|
193
|
+
|
194
|
+
// ---------------------------------------------------------------------------
|
195
|
+
// internal functions
|
196
|
+
// ---------------------------------------------------------------------------
|
197
|
+
|
198
|
+
// ---------------------------------------------------------------------------
|
199
|
+
// manage cookies
|
200
|
+
// ---------------------------------------------------------------------------
|
201
|
+
var Cookie = {
|
202
|
+
set: function (name, value, days, samesite, secure) {
|
203
|
+
var value_encoded = window.btoa(value);
|
204
|
+
var expires = '';
|
205
|
+
if (days) {
|
206
|
+
var date = new Date();
|
207
|
+
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
|
208
|
+
expires = '; expires=' + date.toUTCString();
|
209
|
+
}
|
210
|
+
if (secure) {
|
211
|
+
document.cookie = name + '=' + (value_encoded || '') + expires + '; Path=/; SameSite=' + samesite + '; ' + 'secure=' + secure + ';';
|
212
|
+
} else {
|
213
|
+
document.cookie = name + '=' + (value_encoded || '') + expires + '; Path=/; SameSite=' + samesite + ';';
|
214
|
+
}
|
215
|
+
},
|
216
|
+
get: function (name) {
|
217
|
+
var nameEQ = name + '=';
|
218
|
+
var ca = document.cookie.split(';');
|
219
|
+
for (var i = 0; i < ca.length; i++) {
|
220
|
+
var c = ca[i];
|
221
|
+
while (c.charAt(0) === ' ') {
|
222
|
+
c = c.substring(1, c.length);
|
223
|
+
}
|
224
|
+
if (c.indexOf(nameEQ) === 0) {
|
225
|
+
var value_encoded = c.substring(nameEQ.length, c.length);
|
226
|
+
var value = window.atob(value_encoded);
|
227
|
+
return value;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
return undefined;
|
231
|
+
}
|
232
|
+
};
|
233
|
+
|
234
|
+
// ---------------------------------------------------------------------------
|
235
|
+
// manage events
|
236
|
+
// ---------------------------------------------------------------------------
|
237
|
+
var Events = {
|
238
|
+
documentReady: function (onDocumentReady) {
|
239
|
+
if (document.readyState !== 'loading') {
|
240
|
+
onDocumentReady();
|
241
|
+
} else {
|
242
|
+
document.addEventListener('DOMContentLoaded', onDocumentReady);
|
243
|
+
}
|
244
|
+
}
|
245
|
+
};
|
246
|
+
|
247
|
+
// ---------------------------------------------------------------------------
|
248
|
+
// createMsDropdownFromJSON
|
249
|
+
// Create a msDropdown select DYNAMICALLY from JSON data located in a file
|
250
|
+
// specified by "url". The JSON file contaians mutiple msDropdown elements
|
251
|
+
// selected by "elm". The base (empty) <div> container the msDropdown will
|
252
|
+
// be created is specified by theID given by "selector".
|
253
|
+
// ---------------------------------------------------------------------------
|
254
|
+
function createMsDropdownFromJSON (options /* url, elm, selector */) {
|
255
|
+
var _this = this;
|
256
|
+
var selectorID = '#' + options.selector;
|
257
|
+
|
258
|
+
$.ajax({
|
259
|
+
url: options.url,
|
260
|
+
dataType: 'json',
|
261
|
+
success: function (data) {
|
262
|
+
MsDropdown.make(selectorID, {
|
263
|
+
byJson: {
|
264
|
+
data: data[options.elm],
|
265
|
+
name: options.selector,
|
266
|
+
// size: 0,
|
267
|
+
// selectedIndex: 0,
|
268
|
+
// width: 450,
|
269
|
+
// multiple: false
|
270
|
+
},
|
271
|
+
enableAutoFilter:false
|
272
|
+
});
|
273
|
+
|
274
|
+
// msDropdown = document.getElementById(options.selector).msDropdown;
|
275
|
+
// msDropdown.selectedIndex = 1;
|
276
|
+
// $(selectorID).show();
|
277
|
+
// msDropdown.on('close', function() {
|
278
|
+
// console.log(msDropdown.value)
|
279
|
+
// });
|
280
|
+
},
|
281
|
+
error: function (jqXHR, textStatus, errorThrown) {
|
282
|
+
logger.error('\n' + 'failed to retrieve JSON data from: ' + url);
|
283
|
+
}
|
284
|
+
});
|
285
|
+
}
|
286
|
+
|
287
|
+
function showDialog() {
|
288
|
+
Events.documentReady(function () {
|
289
|
+
|
290
|
+
self.modal = document.getElementById(self.props.dialogContainerID);
|
291
|
+
if (!self.modal) {
|
292
|
+
logger.info('\n' + 'load consent modal');
|
293
|
+
self.modal = document.createElement('div');
|
294
|
+
self.modal.id = self.props.dialogContainerID;
|
295
|
+
self.modal.setAttribute('class', 'modal fade');
|
296
|
+
self.modal.setAttribute('tabindex', '-1');
|
297
|
+
self.modal.setAttribute('role', 'dialog');
|
298
|
+
self.modal.setAttribute('aria-labelledby', dialogContainerID);
|
299
|
+
document.body.append(self.modal);
|
300
|
+
self.$modal = $(self.modal);
|
301
|
+
|
302
|
+
if (self.props.postSelectionCallback) {
|
303
|
+
self.$modal.on('hidden.bs.modal', function () {
|
304
|
+
self.props.postSelectionCallback();
|
305
|
+
});
|
306
|
+
}
|
307
|
+
|
308
|
+
// ---------------------------------------------------------------------
|
309
|
+
// register additional events for the dialog (modal)
|
310
|
+
// ---------------------------------------------------------------------
|
311
|
+
|
312
|
+
// ---------------------------------------------------------------------
|
313
|
+
// on 'shown'
|
314
|
+
self.$modal.on('shown.bs.modal', function () {
|
315
|
+
if (self.props.translationLanguage === 'auto') {
|
316
|
+
navigator_language = navigator.language || navigator.userLanguage;
|
317
|
+
translation_language = navigator_language.split('-')[0];
|
318
|
+
}
|
319
|
+
|
320
|
+
// $.when (
|
321
|
+
// createMsDropdownFromJSON({
|
322
|
+
// url: '/assets/data/ms_select.json',
|
323
|
+
// elm: 'googleLanguages',
|
324
|
+
// selector: 'dropdowsJSON',
|
325
|
+
// })
|
326
|
+
// )
|
327
|
+
// .then(function(data) {
|
328
|
+
// $('#dropdowsJSON').show();
|
329
|
+
// var msDropdown = document.getElementById('dropdowsJSON').msDropdown;
|
330
|
+
// msDropdown.selectedIndex = 1;
|
331
|
+
//
|
332
|
+
// msDropdown.on('close', function() {
|
333
|
+
// console.log(msDropdown.value)
|
334
|
+
// });
|
335
|
+
// });
|
336
|
+
|
337
|
+
var msDropdownSourceLanguage = document.getElementById("translate-source-language").msDropdown;
|
338
|
+
|
339
|
+
// msDropdownSourceLanguage.on('close', function() {
|
340
|
+
// var selectedLanguage = msDropdownSourceLanguage.value.toLowerCase();
|
341
|
+
//
|
342
|
+
// if (translation_language !== selectedLanguage) {
|
343
|
+
// settings = JSON.parse(Cookie.get(self.props.cookieName));
|
344
|
+
// settings.translationLanguage = selectedLanguage;
|
345
|
+
// Cookie.set(self.props.cookieName, JSON.stringify(settings), self.props.cookieStorageDays, self.props.sameSite, self.props.secure);
|
346
|
+
//
|
347
|
+
// logger.info('\n' + 'selected language: ' + selectedLanguage);
|
348
|
+
// return false;
|
349
|
+
// }
|
350
|
+
// });
|
351
|
+
|
352
|
+
// workaround: limit the height of the resulting list (UL)
|
353
|
+
// of the 'dd' select
|
354
|
+
// $('.ms-options').css('max-height', '10.5937rem');
|
355
|
+
|
356
|
+
// jadams, 2021-10-18: added stop scrolling on the body,
|
357
|
+
// if modal is OPEN
|
358
|
+
$('body').addClass('stop-scrolling');
|
359
|
+
|
360
|
+
// jadams, 2021-10-18: disable source language selection
|
361
|
+
if (self.props.translationLanguage === 'auto') {
|
362
|
+
msDropdownSourceLanguage.disabled = true;
|
363
|
+
// msDropdownSourceLanguage.disabled = false;
|
364
|
+
}
|
365
|
+
|
366
|
+
// jadams, 2021-10-18: doesn't work for sizes > 1 !!!
|
367
|
+
// get access to msDropdown elements (API)
|
368
|
+
// set the size to limit the list
|
369
|
+
// msDropdownSourceLanguage.size = 1;
|
370
|
+
|
371
|
+
});
|
372
|
+
|
373
|
+
// ---------------------------------------------------------------------
|
374
|
+
// on 'hidden'
|
375
|
+
self.$modal.on('hidden.bs.modal', function () {
|
376
|
+
var msDropdownSourceLanguage = document.getElementById("translate-source-language").msDropdown;
|
377
|
+
var selectedLanguage = msDropdownSourceLanguage.value.toLowerCase();
|
378
|
+
var settings;
|
379
|
+
|
380
|
+
if (translation_language !== selectedLanguage) {
|
381
|
+
settings = JSON.parse(Cookie.get(self.props.cookieName));
|
382
|
+
settings.translationLanguage = selectedLanguage;
|
383
|
+
Cookie.set(self.props.cookieName, JSON.stringify(settings), self.props.cookieStorageDays, self.props.sameSite, self.props.secure);
|
384
|
+
|
385
|
+
logger.info('\n' + 'selected language: ' + selectedLanguage);
|
386
|
+
return false;
|
387
|
+
}
|
388
|
+
$('body').removeClass('stop-scrolling');
|
389
|
+
});
|
390
|
+
|
391
|
+
// load dialog (modal content)
|
392
|
+
//
|
393
|
+
var templateUrl = self.props.contentURL + '/' + 'index.html';
|
394
|
+
$.get(templateUrl)
|
395
|
+
.done(function (data) {
|
396
|
+
logger.info('\n' + 'loading consent modal: successfully');
|
397
|
+
self.modal.innerHTML = data;
|
398
|
+
self.modal.innerHTML = $('#' + self.props.xhrDataElement).eq(0).html();
|
399
|
+
|
400
|
+
$(self.modal).modal({
|
401
|
+
backdrop: 'static',
|
402
|
+
keyboard: false
|
403
|
+
});
|
404
|
+
|
405
|
+
self.$buttonDoNotAgree = $('#translator-buttonDoNotAgree');
|
406
|
+
self.$buttonAgree = $('#translator-buttonAgree');
|
407
|
+
self.$buttonSave = $('#translator-buttonSave');
|
408
|
+
self.$buttonAgreeAll = $('#translator-buttonAgreeAll');
|
409
|
+
|
410
|
+
logger.info('\n' + 'load/initialze options from cookie');
|
411
|
+
updateButtons();
|
412
|
+
updateOptionsFromCookie();
|
413
|
+
|
414
|
+
$('#google-options').on('hide.bs.collapse', function () {
|
415
|
+
detailedSettingsShown = false;
|
416
|
+
updateButtons();
|
417
|
+
}).on('show.bs.collapse', function () {
|
418
|
+
detailedSettingsShown = true;
|
419
|
+
updateButtons();
|
420
|
+
});
|
421
|
+
|
422
|
+
logger.info('\n' + 'initialze button event handler');
|
423
|
+
|
424
|
+
self.$buttonDoNotAgree.click(function () {
|
425
|
+
doNotAgree();
|
426
|
+
});
|
427
|
+
self.$buttonAgree.click(function () {
|
428
|
+
agreeAll();
|
429
|
+
});
|
430
|
+
self.$buttonSave.click(function () {
|
431
|
+
$('#google-options').collapse('hide');
|
432
|
+
saveSettings();
|
433
|
+
updateOptionsFromCookie();
|
434
|
+
});
|
435
|
+
self.$buttonAgreeAll.click(function () {
|
436
|
+
$('#google-options').collapse('hide');
|
437
|
+
agreeAll();
|
438
|
+
});
|
439
|
+
})
|
440
|
+
.fail(function () {
|
441
|
+
logger.error('\n' + 'loading translator dialog (modal): failed');
|
442
|
+
logger.warn('\n' + 'probably no|wrong `contentURL` set');
|
443
|
+
});
|
444
|
+
} else {
|
445
|
+
self.$modal.modal('show');
|
446
|
+
}
|
447
|
+
}.bind(this));
|
448
|
+
}
|
449
|
+
|
450
|
+
// ---------------------------------------------------------------------------
|
451
|
+
// update all checkboxes in dialog (modal) from current cookie settings
|
452
|
+
// ---------------------------------------------------------------------------
|
453
|
+
function updateOptionsFromCookie() {
|
454
|
+
var settings = self.getSettings();
|
455
|
+
if (settings) {
|
456
|
+
for (var setting in settings) {
|
457
|
+
var $checkbox = self.$modal.find('#google-options .translator-option[data-name=' + setting + '] input[type="checkbox"]');
|
458
|
+
$checkbox.prop('checked', settings[setting]);
|
459
|
+
}
|
460
|
+
}
|
461
|
+
}
|
462
|
+
|
463
|
+
// ---------------------------------------------------------------------------
|
464
|
+
// toggle dialog (modal) buttons
|
465
|
+
// ---------------------------------------------------------------------------
|
466
|
+
function updateButtons() {
|
467
|
+
if (detailedSettingsShown) {
|
468
|
+
self.$buttonDoNotAgree.hide();
|
469
|
+
self.$buttonAgree.hide();
|
470
|
+
self.$buttonSave.show();
|
471
|
+
self.$buttonAgreeAll.show();
|
472
|
+
} else {
|
473
|
+
self.$buttonDoNotAgree.show();
|
474
|
+
self.$buttonAgree.show();
|
475
|
+
self.$buttonSave.hide();
|
476
|
+
self.$buttonAgreeAll.hide();
|
477
|
+
}
|
478
|
+
}
|
479
|
+
|
480
|
+
// ---------------------------------------------------------------------------
|
481
|
+
// collect current settings from checkboxes in dialog (modal)
|
482
|
+
// ---------------------------------------------------------------------------
|
483
|
+
function gatherOptions(setAllExceptNecessary) {
|
484
|
+
var $options = self.$modal.find('#google-options .translator-option');
|
485
|
+
var options = {};
|
486
|
+
for (var i = 0; i < $options.length; i++) {
|
487
|
+
var option = $options[i];
|
488
|
+
var name = option.getAttribute('data-name');
|
489
|
+
if (name === 'necessary') {
|
490
|
+
options[name] = true;
|
491
|
+
} else if (setAllExceptNecessary === undefined) {
|
492
|
+
var $checkbox = $(option).find('input[type="checkbox"]');
|
493
|
+
options[name] = $checkbox.prop('checked');
|
494
|
+
} else {
|
495
|
+
options[name] = !!setAllExceptNecessary;
|
496
|
+
}
|
497
|
+
}
|
498
|
+
return options;
|
499
|
+
}
|
500
|
+
|
501
|
+
// ---------------------------------------------------------------------------
|
502
|
+
// process current settings from checkboxes for `agreeAll`
|
503
|
+
// ---------------------------------------------------------------------------
|
504
|
+
function agreeAll() {
|
505
|
+
var settings;
|
506
|
+
var consentSettings = {};
|
507
|
+
|
508
|
+
settings = gatherOptions();
|
509
|
+
consentSettings = JSON.parse(Cookie.get(self.props.cookieConsentName));
|
510
|
+
consentSettings.analysis = settings.analysis;
|
511
|
+
consentSettings.personalization = settings.personalization;
|
512
|
+
|
513
|
+
Cookie.set(
|
514
|
+
self.props.cookieConsentName,
|
515
|
+
JSON.stringify(consentSettings),
|
516
|
+
self.props.cookieStorageDays,
|
517
|
+
self.props.sameSite,
|
518
|
+
self.props.secure
|
519
|
+
);
|
520
|
+
Cookie.set(
|
521
|
+
self.props.cookieName,
|
522
|
+
JSON.stringify(gatherOptions(true)),
|
523
|
+
self.props.cookieStorageDays,
|
524
|
+
self.props.sameSite,
|
525
|
+
self.props.secure
|
526
|
+
);
|
527
|
+
|
528
|
+
self.$modal.modal('hide');
|
529
|
+
}
|
530
|
+
|
531
|
+
// ---------------------------------------------------------------------------
|
532
|
+
// process current settings from checkboxes for `doNotAgree`
|
533
|
+
// ---------------------------------------------------------------------------
|
534
|
+
function doNotAgree() {
|
535
|
+
var settings = gatherOptions();
|
536
|
+
|
537
|
+
settings.translationEnabled = false;
|
538
|
+
Cookie.set(
|
539
|
+
self.props.cookieName,
|
540
|
+
JSON.stringify(settings),
|
541
|
+
self.props.cookieStorageDays,
|
542
|
+
self.props.sameSite,
|
543
|
+
self.props.secure
|
544
|
+
);
|
545
|
+
self.$modal.modal('hide');
|
546
|
+
}
|
547
|
+
|
548
|
+
// ---------------------------------------------------------------------------
|
549
|
+
// write current settings from checkboxes to cookie
|
550
|
+
// ---------------------------------------------------------------------------
|
551
|
+
function saveSettings() {
|
552
|
+
var settings;
|
553
|
+
var consentSettings = {};
|
554
|
+
|
555
|
+
// update all cookies required for (google-)translation
|
556
|
+
//
|
557
|
+
settings = gatherOptions();
|
558
|
+
consentSettings = JSON.parse(Cookie.get(self.props.cookieConsentName));
|
559
|
+
consentSettings.analysis = settings.analysis;
|
560
|
+
consentSettings.personalization = settings.personalization;
|
561
|
+
|
562
|
+
Cookie.set(
|
563
|
+
self.props.cookieConsentName,
|
564
|
+
JSON.stringify(consentSettings),
|
565
|
+
self.props.cookieStorageDays,
|
566
|
+
self.props.sameSite,
|
567
|
+
self.props.secure
|
568
|
+
);
|
569
|
+
Cookie.set(
|
570
|
+
self.props.cookieName,
|
571
|
+
JSON.stringify(gatherOptions()),
|
572
|
+
self.props.cookieStorageDays,
|
573
|
+
self.props.sameSite,
|
574
|
+
self.props.secure
|
575
|
+
);
|
576
|
+
self.$modal.modal('hide');
|
577
|
+
}
|
578
|
+
|
579
|
+
// ===========================================================================
|
580
|
+
// API functions
|
581
|
+
// ===========================================================================
|
582
|
+
|
583
|
+
// ---------------------------------------------------------------------------
|
584
|
+
// show the translator dialog (modal)
|
585
|
+
// ---------------------------------------------------------------------------
|
586
|
+
this.showDialog = function () {
|
587
|
+
showDialog();
|
588
|
+
}; // END showDialog
|
589
|
+
|
590
|
+
// ---------------------------------------------------------------------------
|
591
|
+
// collect settings from cookie
|
592
|
+
// ---------------------------------------------------------------------------
|
593
|
+
this.getSettings = function (optionName) {
|
594
|
+
var cookie = Cookie.get(self.props.cookieName);
|
595
|
+
if (cookie) {
|
596
|
+
var settings = JSON.parse(Cookie.get(self.props.cookieName));
|
597
|
+
if (optionName === undefined) {
|
598
|
+
return settings;
|
599
|
+
} else {
|
600
|
+
if (settings) {
|
601
|
+
return settings[optionName];
|
602
|
+
} else {
|
603
|
+
return false;
|
604
|
+
}
|
605
|
+
}
|
606
|
+
} else {
|
607
|
+
return undefined;
|
608
|
+
}
|
609
|
+
}; // END getSettings
|
610
|
+
|
611
|
+
logger.info('\n' + 'initializing core module finished');
|
612
|
+
logger.info('\n' + 'state: finished');
|
613
|
+
|
614
|
+
} // END Translator
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/translator/js/translator.js
|
4
|
+
# Provides JS Core functions|API for J1 Module Translator
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# http://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under MIT License.
|
12
|
+
# See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
*/
|
15
|
+
"use strict";function Translator(d){var x=log4javascript.getLogger("j1.core.translator");var w="translator-modal";var q=this;var r=false;var e=new liteURL(window.location.href);var c=(e.protocol.includes("https"))?true:false;var j;var g;var u;var v;var i;var t;this.props={contentURL:"/assets/data/translator",cookieName:"j1.user.state",cookieConsentName:"j1.user.consent",cookieStorageDays:365,cookieSameSite:"Strict",cookieSecure:false,translationEnabled:false,translatorName:"google",translationLanguage:"auto",translateAllPages:true,hideSuggestionBox:true,hidePoweredBy:true,hideTopFrame:true,dialogLanguage:"content",dialogLanguages:["en","de"],dialogContainerID:"translator-modal",xhrDataElement:"",postSelectionCallback:undefined,};this.googleTranslatorLanguages={af:{name:"Afrikaans"},sq:{name:"Albanian"},ar:{name:"Arabic"},hy:{name:"Armenian"},az:{name:"Azerbaijani"},eu:{name:"Basque"},be:{name:"Belarusian"},bn:{name:"Bengali"},bg:{name:"Bulgarian"},ca:{name:"Catalan"},"zh-CN":{name:"Chinese (Simplified)"},"zh-TW":{name:"Chinese (Traditional)"},hr:{name:"Croatian"},cs:{name:"Czech"},da:{name:"Danish"},nl:{name:"Dutch"},eo:{name:"Esperanto"},et:{name:"Estonian"},tl:{name:"Filipino"},fi:{name:"Finnish"},fr:{name:"French"},gl:{name:"Galician"},ka:{name:"Georgian"},de:{name:"German"},el:{name:"Greek"},gu:{name:"Gujarati"},ht:{name:"Haitian Creole"},iw:{name:"Hebrew"},hi:{name:"Hindi"},hu:{name:"Hungarian"},is:{name:"Icelandic"},id:{name:"Indonesian"},ga:{name:"Irish"},it:{name:"Italian"},ja:{name:"Japanese"},kn:{name:"Kannada"},ko:{name:"Korean"},la:{name:"Latin"},lv:{name:"Latvian"},lt:{name:"Lithuanian"},mk:{name:"Macedonian"},ms:{name:"Malay"},mt:{name:"Maltese"},no:{name:"Norwegian"},fa:{name:"Persian"},pl:{name:"Polish"},pt:{name:"Portuguese"},ro:{name:"Romanian"},ru:{name:"Russian"},sr:{name:"Serbian"},sk:{name:"Slovak"},sl:{name:"Slovenian"},es:{name:"Spanish"},sw:{name:"Swahili"},sv:{name:"Swedish"},ta:{name:"Tamil"},te:{name:"Telugu"},th:{name:"Thai"},tr:{name:"Turkish"},uk:{name:"Ukrainian"},ur:{name:"Urdu"},vi:{name:"Vietnamese"},cy:{name:"Welsh"},yi:{name:"Yiddish"}};this.deeplTranslatorLanguages={bg:{name:"Bulgarian"},cs:{name:"Czech"},da:{name:"Danish"},de:{name:"German"},el:{name:"Greek"},es:{name:"Spanish"},en:{name:"English"},"en-us":{name:"English (American)"},"en-uk":{name:"English (British)"},et:{name:"Estonian"},ft:{name:"Finnish"},fr:{name:"French"},hu:{name:"Hungarian"},it:{name:"Italian"},ja:{name:"Japanese"},lv:{name:"Latvian"},lt:{name:"Lithuanian"},nl:{name:"Dutch"},af:{name:"Polish"},pt:{name:"Portuguese"},"pt-pt":{name:"Portuguese (Portugal)"},"pt-br":{name:"Portuguese (Brazilian)"},ro:{name:"Romanian"},ru:{name:"Russian"},sk:{name:"Slovak"},sl:{name:"Slovenian"},sv:{name:"Swedish"},zh:{name:"Chinese"},};for(var f in d){this.props[f]=d[f]}for(var f in d){this.props[f]=d[f]}if(this.props.dialogLanguage.indexOf("-")!==-1){this.props.dialogLanguage=this.props.dialogLanguage.split("-")[0]}if(!this.props.dialogLanguages.includes(this.props.dialogLanguage)){this.props.dialogLanguage=this.props.dialogLanguages[0]}this.props.xhrDataElement=this.props.xhrDataElement+"-"+this.props.dialogLanguage;this.props.cookieSecure=c;x.info("\ninitializing core module: started");x.info("\nstate: started");var h={set:function(A,C,F,B,D){var E=window.btoa(C);var y="";if(F){var z=new Date();z.setTime(z.getTime()+(F*24*60*60*1000));y="; expires="+z.toUTCString()}if(D){document.cookie=A+"="+(E||"")+y+"; Path=/; SameSite="+B+"; secure="+D+";"}else{document.cookie=A+"="+(E||"")+y+"; Path=/; SameSite="+B+";"}},get:function(z){var C=z+"=";var y=document.cookie.split(";");for(var A=0;A<y.length;A++){var E=y[A];while(E.charAt(0)===" "){E=E.substring(1,E.length)}if(E.indexOf(C)===0){var D=E.substring(C.length,E.length);var B=window.atob(D);return B}}return undefined}};var o={documentReady:function(y){if(document.readyState!=="loading"){y()}else{document.addEventListener("DOMContentLoaded",y)}}};function l(z){var A=this;var y="#"+z.selector;$.ajax({url:z.url,dataType:"json",success:function(B){MsDropdown.make(y,{byJson:{data:B[z.elm],name:z.selector,},enableAutoFilter:false})},error:function(B,D,C){x.error("\nfailed to retrieve JSON data from: "+e)}})}function n(){o.documentReady(function(){q.modal=document.getElementById(q.props.dialogContainerID);if(!q.modal){x.info("\nload consent modal");q.modal=document.createElement("div");q.modal.id=q.props.dialogContainerID;q.modal.setAttribute("class","modal fade");q.modal.setAttribute("tabindex","-1");q.modal.setAttribute("role","dialog");q.modal.setAttribute("aria-labelledby",w);document.body.append(q.modal);q.$modal=$(q.modal);if(q.props.postSelectionCallback){q.$modal.on("hidden.bs.modal",function(){q.props.postSelectionCallback()})}q.$modal.on("shown.bs.modal",function(){if(q.props.translationLanguage==="auto"){i=navigator.language||navigator.userLanguage;t=i.split("-")[0]}var z=document.getElementById("translate-source-language").msDropdown;$(".ms-options").css("max-height","10.5937rem");$("body").addClass("stop-scrolling");if(q.props.translationLanguage==="auto"){z.disabled=true}});q.$modal.on("hidden.bs.modal",function(){var z=msDropdownSourceLanguage.value.toLowerCase();var A;if(t!==z){A=JSON.parse(h.get(q.props.cookieName));A.translationLanguage=z;h.set(q.props.cookieName,JSON.stringify(A),q.props.cookieStorageDays,q.props.sameSite,q.props.secure);x.info("\nselected language: "+z);return false}$("body").removeClass("stop-scrolling")});var y=q.props.contentURL+"/index.html";$.get(y).done(function(z){x.info("\nloading consent modal: successfully");q.modal.innerHTML=z;q.modal.innerHTML=$("#"+q.props.xhrDataElement).eq(0).html();$(q.modal).modal({backdrop:"static",keyboard:false});q.$buttonDoNotAgree=$("#translator-buttonDoNotAgree");q.$buttonAgree=$("#translator-buttonAgree");q.$buttonSave=$("#translator-buttonSave");q.$buttonAgreeAll=$("#translator-buttonAgreeAll");x.info("\nload/initialze options from cookie");m();k();$("#google-options").on("hide.bs.collapse",function(){r=false;m()}).on("show.bs.collapse",function(){r=true;m()});x.info("\ninitialze button event handler");q.$buttonDoNotAgree.click(function(){b()});q.$buttonAgree.click(function(){p()});q.$buttonSave.click(function(){$("#google-options").collapse("hide");s();k()});q.$buttonAgreeAll.click(function(){$("#google-options").collapse("hide");p()})}).fail(function(){x.error("\nloading translator dialog (modal): failed");x.warn("\nprobably no|wrong `contentURL` set")})}else{q.$modal.modal("show")}}.bind(this))}function k(){var A=q.getSettings();if(A){for(var z in A){var y=q.$modal.find("#google-options .translator-option[data-name="+z+'] input[type="checkbox"]');y.prop("checked",A[z])}}}function m(){if(r){q.$buttonDoNotAgree.hide();q.$buttonAgree.hide();q.$buttonSave.show();q.$buttonAgreeAll.show()}else{q.$buttonDoNotAgree.show();q.$buttonAgree.show();q.$buttonSave.hide();q.$buttonAgreeAll.hide()}}function a(z){var y=q.$modal.find("#google-options .translator-option");var B={};for(var C=0;C<y.length;C++){var E=y[C];var A=E.getAttribute("data-name");if(A==="necessary"){B[A]=true}else{if(z===undefined){var D=$(E).find('input[type="checkbox"]');B[A]=D.prop("checked")}else{B[A]=!!z}}}return B}function p(){var z;var y={};z=a();y=JSON.parse(h.get(q.props.cookieConsentName));y.analysis=z.analysis;y.personalization=z.personalization;h.set(q.props.cookieConsentName,JSON.stringify(y),q.props.cookieStorageDays,q.props.sameSite,q.props.secure);h.set(q.props.cookieName,JSON.stringify(a(true)),q.props.cookieStorageDays,q.props.sameSite,q.props.secure);q.$modal.modal("hide")}function b(){var y=a();y.translationEnabled=false;h.set(q.props.cookieName,JSON.stringify(y),q.props.cookieStorageDays,q.props.sameSite,q.props.secure);q.$modal.modal("hide")}function s(){var z;var y={};z=a();y=JSON.parse(h.get(q.props.cookieConsentName));y.analysis=z.analysis;y.personalization=z.personalization;h.set(q.props.cookieConsentName,JSON.stringify(y),q.props.cookieStorageDays,q.props.sameSite,q.props.secure);h.set(q.props.cookieName,JSON.stringify(a()),q.props.cookieStorageDays,q.props.sameSite,q.props.secure);q.$modal.modal("hide")}this.showDialog=function(){n()};this.getSettings=function(z){var y=h.get(q.props.cookieName);if(y){var A=JSON.parse(h.get(q.props.cookieName));if(z===undefined){return A}else{if(A){return A[z]}else{return false}}}else{return undefined}};x.info("\ninitializing core module finished");x.info("\nstate: finished")};
|
data/lib/j1/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module J1
|
2
|
-
VERSION = '2021.2.
|
3
|
-
end
|
1
|
+
module J1
|
2
|
+
VERSION = '2021.2.4'
|
3
|
+
end
|
data/lib/starter_web/Gemfile
CHANGED
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
|
|
53
53
|
|
54
54
|
# Theme Rubies, default: J1 Template (NOT used for the development system)
|
55
55
|
#
|
56
|
-
gem 'j1-template', '~> 2021.2.
|
56
|
+
gem 'j1-template', '~> 2021.2.4'
|
57
57
|
|
58
58
|
# ------------------------------------------------------------------------------
|
59
59
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
@@ -53,7 +53,7 @@ environment: development
|
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of J1 Template Gem
|
55
55
|
#
|
56
|
-
version: 2021.2.
|
56
|
+
version: 2021.2.4
|
57
57
|
|
58
58
|
# version
|
59
59
|
# ------------------------------------------------------------------------------
|