j1-template 2021.2.2 → 2021.2.6
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/ad/google-adsense.html +7 -0
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +11 -23
- data/_layouts/default.html +31 -26
- data/assets/data/cookieconsent.html +43 -33
- data/assets/data/iso-639-language-codes-flags.json +224 -0
- data/assets/data/iso-639-language-codes.json +111 -0
- data/assets/data/quicklinks.html +25 -4
- data/assets/data/translator.html +295 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +41 -34
- data/assets/themes/j1/adapter/js/fam.js +1 -1
- data/assets/themes/j1/adapter/js/j1.js +205 -160
- data/assets/themes/j1/adapter/js/themer.js +2 -2
- data/assets/themes/j1/adapter/js/translator.js +478 -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/bootstrap/bootstrap.css +27 -12
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +27 -12
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +62 -26
- 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 +8502 -10
- data/assets/themes/j1/core/js/template.min.js +16 -7
- 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 +388 -0
- data/assets/themes/j1/modules/j1Deepl/js/j1deepl.min.js +18 -0
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +257 -240
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +1 -2
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.js +16 -8
- 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 +586 -0
- data/assets/themes/j1/modules/translator/js/translator.min.js +15 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +6 -29
- 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 +155 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +32 -0
- data/lib/starter_web/_data/resources.yml +125 -100
- 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/package.json +2 -2
- 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/blog/navigator/archive/categoryview.html +9 -32
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -22
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -20
- data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -22
- 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 +581 -6
- data/assets/themes/j1/core/js/template.js.map +0 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-video.js +0 -342
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-video.min.js +0 -5
@@ -223,12 +223,12 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
223
223
|
// j1 adapter (displayPage)
|
224
224
|
//
|
225
225
|
// jadams, 2021-07-25: hide|show themes menu on cookie consent
|
226
|
-
// (
|
226
|
+
// (analysis|personalization) settings. BootSwatch is a 3rd party
|
227
227
|
// is using e.g GA. Because NO control is possible on 3rd parties,
|
228
228
|
// for GDPR compliance, themes feature may disabled on
|
229
229
|
// privacy settings
|
230
230
|
//
|
231
|
-
// if (!user_consent.
|
231
|
+
// if (!user_consent.analysis || !user_consent.personalization) {
|
232
232
|
// logger.warn('\n' + 'disable themes feature because of privacy settings');
|
233
233
|
// $("#themes_menu").hide();
|
234
234
|
// } else {
|
@@ -0,0 +1,478 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture cache %}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/themes/j1/adapter/js/translator.js
|
10
|
+
# Liquid template to create the Template Adapter for J1 Translator
|
11
|
+
#
|
12
|
+
# Product/Info:
|
13
|
+
# http://jekyll.one
|
14
|
+
#
|
15
|
+
# Copyright (C) 2021 Juergen Adams
|
16
|
+
#
|
17
|
+
# J1 Template is licensed under the MIT License.
|
18
|
+
# For details, see https://jekyll.one
|
19
|
+
# -----------------------------------------------------------------------------
|
20
|
+
# Test data:
|
21
|
+
# {{ liquid_var | debug }}
|
22
|
+
# -----------------------------------------------------------------------------
|
23
|
+
{% endcomment %}
|
24
|
+
|
25
|
+
{% comment %} Liquid var initialization
|
26
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
27
|
+
|
28
|
+
{% comment %} Set config files
|
29
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
+
{% assign environment = site.environment %}
|
31
|
+
{% assign blocks = site.data.blocks %}
|
32
|
+
{% assign modules = site.data.modules %}
|
33
|
+
{% assign template_config = site.data.j1_config %}
|
34
|
+
|
35
|
+
{% comment %} Set config data
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
{% assign translator_defaults = modules.defaults.translator.defaults %}
|
38
|
+
{% assign translator_settings = modules.translator.settings %}
|
39
|
+
{% assign tracking_enabled = template_config.analytics.enabled %}
|
40
|
+
|
41
|
+
|
42
|
+
{% comment %} Set config options
|
43
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
44
|
+
{% assign translator_options = translator_defaults | merge: translator_settings %}
|
45
|
+
|
46
|
+
{% assign production = false %}
|
47
|
+
{% if environment == 'prod' or environment == 'production' %}
|
48
|
+
{% assign production = true %}
|
49
|
+
{% endif %}
|
50
|
+
|
51
|
+
/*
|
52
|
+
# -----------------------------------------------------------------------------
|
53
|
+
# ~/assets/themes/j1/adapter/js/translator.js
|
54
|
+
# JS Adapter for J1 Translate
|
55
|
+
#
|
56
|
+
# Product/Info:
|
57
|
+
# http://jekyll.one
|
58
|
+
#
|
59
|
+
# Copyright (C) 2021 Juergen Adams
|
60
|
+
#
|
61
|
+
# J1 Template is licensed under MIT License.
|
62
|
+
# See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
|
63
|
+
# -----------------------------------------------------------------------------
|
64
|
+
# Adapter generated: {{site.time}}
|
65
|
+
# -----------------------------------------------------------------------------
|
66
|
+
*/
|
67
|
+
|
68
|
+
// -----------------------------------------------------------------------------
|
69
|
+
// ESLint shimming
|
70
|
+
// -----------------------------------------------------------------------------
|
71
|
+
/* eslint indent: "off" */
|
72
|
+
/* eslint quotes: "off" */
|
73
|
+
// -----------------------------------------------------------------------------
|
74
|
+
// https://github.com/EdwardBalaj/Simple-DeepL-API-Integration
|
75
|
+
// https://github.com/marghoobsuleman/ms-Dropdown
|
76
|
+
// https://www.marghoobsuleman.com/image-dropdown/help
|
77
|
+
// https://www.marghoobsuleman.com/image-dropdown/advanced-help
|
78
|
+
'use strict';
|
79
|
+
|
80
|
+
{% comment %} Main
|
81
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
82
|
+
j1.adapter['translator'] = (function (j1, window) {
|
83
|
+
|
84
|
+
var environment = '{{environment}}';
|
85
|
+
var tracking_enabled = ('{{tracking_enabled}}' === 'true') ? true: false; // Analytics/GA enabled?
|
86
|
+
var moduleOptions = {};
|
87
|
+
var user_translate = {};
|
88
|
+
var _this;
|
89
|
+
var $modal;
|
90
|
+
var cookie_names;
|
91
|
+
var user_consent;
|
92
|
+
var logger;
|
93
|
+
var url;
|
94
|
+
var baseUrl;
|
95
|
+
var hostname;
|
96
|
+
var domain;
|
97
|
+
var cookie_domain;
|
98
|
+
var secure;
|
99
|
+
var logText;
|
100
|
+
var cookie_written;
|
101
|
+
var modal_language;
|
102
|
+
var navigator_language;
|
103
|
+
var translation_language;
|
104
|
+
var ddSourceLanguage;
|
105
|
+
var head;
|
106
|
+
var script;
|
107
|
+
var languageList;
|
108
|
+
|
109
|
+
// ---------------------------------------------------------------------------
|
110
|
+
// helper functions
|
111
|
+
// ---------------------------------------------------------------------------
|
112
|
+
|
113
|
+
// ---------------------------------------------------------------------------
|
114
|
+
// setCookie()
|
115
|
+
// writes a flat cookie (not using an encoded JSON string)
|
116
|
+
// ---------------------------------------------------------------------------
|
117
|
+
function setCookie(options /*cName, cValue, expDays*/) {
|
118
|
+
var defaults = {};
|
119
|
+
var settings;
|
120
|
+
|
121
|
+
defaults = {
|
122
|
+
name: '',
|
123
|
+
path: '/',
|
124
|
+
expires: 0,
|
125
|
+
domain: 'localhost'
|
126
|
+
};
|
127
|
+
settings = $.extend(defaults, options);
|
128
|
+
|
129
|
+
document.cookie = settings.name + "=" + settings.data + "; path=/";
|
130
|
+
};
|
131
|
+
|
132
|
+
// ---------------------------------------------------------------------------
|
133
|
+
// Main object
|
134
|
+
// ---------------------------------------------------------------------------
|
135
|
+
return {
|
136
|
+
|
137
|
+
// -------------------------------------------------------------------------
|
138
|
+
// Initializer
|
139
|
+
// -------------------------------------------------------------------------
|
140
|
+
init: function (options) {
|
141
|
+
|
142
|
+
// -----------------------------------------------------------------------
|
143
|
+
// globals
|
144
|
+
// -----------------------------------------------------------------------
|
145
|
+
_this = j1.adapter.translator;
|
146
|
+
logger = log4javascript.getLogger('j1.adapter.translator');
|
147
|
+
url = new liteURL(window.location.href);
|
148
|
+
baseUrl = url.origin;
|
149
|
+
hostname = url.hostname;
|
150
|
+
domain = hostname.substring(hostname.lastIndexOf('.', hostname.lastIndexOf('.') - 1) + 1);
|
151
|
+
secure = (url.protocol.includes('https')) ? true : false;
|
152
|
+
modal_language = "{{site.language}}";
|
153
|
+
navigator_language = navigator.language || navigator.userLanguage; // userLanguage for MS IE compatibility
|
154
|
+
translation_language = navigator_language.split('-')[0];
|
155
|
+
cookie_names = j1.getCookieNames();
|
156
|
+
head = document.getElementsByTagName('head')[0];
|
157
|
+
script = document.createElement('script');
|
158
|
+
script.id = 'google-translate';
|
159
|
+
script.src = '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit';
|
160
|
+
|
161
|
+
user_translate = {
|
162
|
+
'translatorName': 'google',
|
163
|
+
'translationEnabled': false,
|
164
|
+
'analysis': true,
|
165
|
+
'personalization': true,
|
166
|
+
'translateAllPages': true,
|
167
|
+
'useLanguageFromBrowser': true,
|
168
|
+
'translationLanguage': translation_language,
|
169
|
+
};
|
170
|
+
|
171
|
+
if (j1.existsCookie(cookie_names.user_translate)) {
|
172
|
+
user_translate = j1.readCookie(cookie_names.user_translate);
|
173
|
+
} else {
|
174
|
+
logger.debug('\n' + 'write to cookie : ' + cookie_names.user_translate);
|
175
|
+
cookie_written = j1.writeCookie({
|
176
|
+
name: cookie_names.user_translate,
|
177
|
+
data: user_translate,
|
178
|
+
samesite: 'Strict',
|
179
|
+
expires: 365
|
180
|
+
});
|
181
|
+
}
|
182
|
+
|
183
|
+
// set domain used by cookies
|
184
|
+
if(domain !== 'localhost') {
|
185
|
+
cookie_domain = '.' + hostname;
|
186
|
+
} else {
|
187
|
+
cookie_domain = hostname;
|
188
|
+
}
|
189
|
+
|
190
|
+
// initialize state flag
|
191
|
+
_this.state = 'pending';
|
192
|
+
// _this.settings.languageList = '/assets/data/ms_select.json';
|
193
|
+
|
194
|
+
// -----------------------------------------------------------------------
|
195
|
+
// Default module settings
|
196
|
+
// -----------------------------------------------------------------------
|
197
|
+
var settings = $.extend({
|
198
|
+
module_name: 'j1.adapter.translator',
|
199
|
+
generated: '{{site.time}}'
|
200
|
+
}, options);
|
201
|
+
|
202
|
+
{% comment %} Load module config from yml data
|
203
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
204
|
+
// Load module DEFAULTS|CONFIG
|
205
|
+
/* eslint-disable */
|
206
|
+
moduleOptions = $.extend({}, {{translator_options | replace: '=>', ':' | replace: 'nil', '""'}});
|
207
|
+
/* eslint-enable */
|
208
|
+
|
209
|
+
if (typeof settings !== 'undefined') {
|
210
|
+
moduleOptions = j1.mergeData(moduleOptions, settings);
|
211
|
+
}
|
212
|
+
|
213
|
+
// -----------------------------------------------------------------------
|
214
|
+
// initializer
|
215
|
+
// -----------------------------------------------------------------------
|
216
|
+
var dependencies_met_page_ready = setInterval (function (options) {
|
217
|
+
user_consent = j1.readCookie(cookie_names.user_consent);
|
218
|
+
|
219
|
+
if ( j1.getState() === 'finished' ) {
|
220
|
+
_this.setState('started');
|
221
|
+
logger.info('\n' + 'state: ' + _this.getState());
|
222
|
+
logger.info('\n' + 'module is being initialized');
|
223
|
+
|
224
|
+
if ($('google_translate_element')) {
|
225
|
+
$('google_translate_element').hide();
|
226
|
+
}
|
227
|
+
|
228
|
+
// show|hide translate button if enabled
|
229
|
+
if (moduleOptions.hideTranslatorIcon) {
|
230
|
+
if (!user_consent.analysis || !user_consent.personalization) {
|
231
|
+
// disable google translate button if visible
|
232
|
+
if ($('#quickLinksTranslateButton').css('display') === 'block') {
|
233
|
+
$('#quickLinksTranslateButton').css('display', 'none');
|
234
|
+
}
|
235
|
+
}
|
236
|
+
if (user_consent.analysis && user_consent.personalization) {
|
237
|
+
// enable google translate button if not visible
|
238
|
+
if ($('#quickLinksTranslateButton').css('display') === 'none') {
|
239
|
+
$('#quickLinksTranslateButton').css('display', 'block');
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
// update user_translate cookie
|
245
|
+
user_translate.analysis = user_consent.analysis;
|
246
|
+
user_translate.personalization = user_consent.personalization;
|
247
|
+
cookie_written = j1.writeCookie({
|
248
|
+
name: cookie_names.user_translate,
|
249
|
+
data: user_translate,
|
250
|
+
samesite: 'Strict',
|
251
|
+
secure: secure
|
252
|
+
});
|
253
|
+
|
254
|
+
j1.translator = new Translator({
|
255
|
+
contentURL: moduleOptions.contentURL, // dialog content (modals) for all supported languages
|
256
|
+
cookieName: moduleOptions.cookieName, // the name of the User State Cookie (primary data)
|
257
|
+
cookieConsentName: moduleOptions.cookieConsentName, // the name of the Cookie Consent Cookie (secondary data)
|
258
|
+
disableLanguageSelector: moduleOptions.disableLanguageSelector, // disable language dropdown for translation in dialog (modal)
|
259
|
+
dialogContainerID: moduleOptions.dialogContainerID, // dest container, the dialog modal is loaded (dynamically)
|
260
|
+
dialogLanguage: moduleOptions.dialogLanguage, // language for the dialog (modal)
|
261
|
+
translationLanguage: moduleOptions.translationLanguage, // default language for translation
|
262
|
+
translationLanguages: moduleOptions.google.translationLanguages,// supported languages for translation
|
263
|
+
translationEnabled: moduleOptions.translationEnabled, // run translation enabled|disabled
|
264
|
+
translatorName: moduleOptions.translatorName, // translator used for translation
|
265
|
+
xhrDataElement: moduleOptions.xhrDataElement, // container for all language-specific dialogs (modals)
|
266
|
+
postSelectionCallback: moduleOptions.google.postSelectionCallback
|
267
|
+
});
|
268
|
+
|
269
|
+
if (user_consent.analysis && user_consent.personalization && user_translate.translationEnabled) {
|
270
|
+
if (moduleOptions.translatorName === 'google') {
|
271
|
+
head.appendChild(script);
|
272
|
+
$('google_translate_element').hide();
|
273
|
+
}
|
274
|
+
} else {
|
275
|
+
if (moduleOptions.translatorName === 'google') {
|
276
|
+
j1.removeCookie({name: 'googtrans'});
|
277
|
+
}
|
278
|
+
}
|
279
|
+
|
280
|
+
_this.setState('finished');
|
281
|
+
logger.info('\n' + 'state: ' + _this.getState());
|
282
|
+
logger.debug('\n' + 'module initialized successfully');
|
283
|
+
clearInterval(dependencies_met_page_ready);
|
284
|
+
}
|
285
|
+
});
|
286
|
+
}, // END init
|
287
|
+
|
288
|
+
// -------------------------------------------------------------------------
|
289
|
+
// messageHandler: MessageHandler for J1 google_translate module
|
290
|
+
// Manage messages send from other J1 modules
|
291
|
+
// -------------------------------------------------------------------------
|
292
|
+
messageHandler: function (sender, message) {
|
293
|
+
var json_message = JSON.stringify(message, undefined, 2);
|
294
|
+
|
295
|
+
logText = '\n' + 'received message from ' + sender + ': ' + json_message;
|
296
|
+
logger.debug(logText);
|
297
|
+
|
298
|
+
// -----------------------------------------------------------------------
|
299
|
+
// Process commands|actions
|
300
|
+
// -----------------------------------------------------------------------
|
301
|
+
if (message.type === 'command' && message.action === 'module_initialized') {
|
302
|
+
//
|
303
|
+
// Place handling of command|action here
|
304
|
+
//
|
305
|
+
logger.info('\n' + message.text);
|
306
|
+
}
|
307
|
+
|
308
|
+
//
|
309
|
+
// Place handling of other command|action here
|
310
|
+
//
|
311
|
+
|
312
|
+
return true;
|
313
|
+
}, // END messageHandler
|
314
|
+
|
315
|
+
// -------------------------------------------------------------------------
|
316
|
+
// setState()
|
317
|
+
// Sets the current (processing) state of the module
|
318
|
+
// -------------------------------------------------------------------------
|
319
|
+
setState: function (stat) {
|
320
|
+
_this.state = stat;
|
321
|
+
}, // END setState
|
322
|
+
|
323
|
+
// -------------------------------------------------------------------------
|
324
|
+
// getState()
|
325
|
+
// Returns the current (processing) state of the module
|
326
|
+
// -------------------------------------------------------------------------
|
327
|
+
getState: function () {
|
328
|
+
return _this.state;
|
329
|
+
}, // END getState
|
330
|
+
|
331
|
+
// -------------------------------------------------------------------------
|
332
|
+
// cbGoogle()
|
333
|
+
// Called by the translator CORE module after the user
|
334
|
+
// has made the lanuage selection for translation (callback)
|
335
|
+
// -------------------------------------------------------------------------
|
336
|
+
cbGoogle: function () {
|
337
|
+
var cookie_names = j1.getCookieNames();
|
338
|
+
var user_state = j1.readCookie(cookie_names.user_state);
|
339
|
+
var user_consent = j1.readCookie(cookie_names.user_consent);
|
340
|
+
var user_translate = j1.readCookie(cookie_names.user_translate);
|
341
|
+
var msDropdownLang = document.getElementById('dropdownJSON').msDropdown;
|
342
|
+
var msDropdown = document.getElementById('dropdownJSON').msDropdown;
|
343
|
+
var head;
|
344
|
+
var script;
|
345
|
+
var srcLang;
|
346
|
+
var destLang;
|
347
|
+
var transCode;
|
348
|
+
var cookie_written;
|
349
|
+
var htmlScriptElement;
|
350
|
+
var selectedTranslationLanguage;
|
351
|
+
|
352
|
+
logger.info('\n' + 'entered post selection callback from google_translate');
|
353
|
+
logger.debug('\n' + 'current values from cookie consent: ' + JSON.stringify(user_consent));
|
354
|
+
logger.debug('\n' + 'current values from user state: ' + JSON.stringify(user_state));
|
355
|
+
|
356
|
+
selectedTranslationLanguage = msDropdownLang.value;
|
357
|
+
logger.info('\n' + 'selected translation language: ' + selectedTranslationLanguage);
|
358
|
+
|
359
|
+
// update cookie consent settings
|
360
|
+
user_consent.analysis = user_translate.analysis;
|
361
|
+
user_consent.personalization = user_translate.personalization;
|
362
|
+
|
363
|
+
cookie_written = j1.writeCookie({
|
364
|
+
name: cookie_names.user_consent,
|
365
|
+
data: user_consent,
|
366
|
+
samesite: 'Strict',
|
367
|
+
secure: secure,
|
368
|
+
expires: 0
|
369
|
+
});
|
370
|
+
|
371
|
+
// translation allowed
|
372
|
+
if (user_consent.analysis && user_consent.personalization) {
|
373
|
+
head = document.getElementsByTagName('head')[0];
|
374
|
+
script = document.createElement('script');
|
375
|
+
script.id = 'google-translate';
|
376
|
+
script.src = '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit';
|
377
|
+
htmlScriptElement = document.getElementById(script.id);
|
378
|
+
|
379
|
+
if (user_translate.translationEnabled && moduleOptions.translatorName === 'google') {
|
380
|
+
head.appendChild(script);
|
381
|
+
|
382
|
+
if ($('google_translate_element')) {
|
383
|
+
$('google_translate_element').hide();
|
384
|
+
}
|
385
|
+
|
386
|
+
// set transCode settings
|
387
|
+
srcLang = "{{site.language}}";
|
388
|
+
destLang = translation_language;
|
389
|
+
transCode = '/' + srcLang + '/' + selectedTranslationLanguage;
|
390
|
+
|
391
|
+
// set the transCode cookie (googtrans)
|
392
|
+
setCookie({
|
393
|
+
name: 'googtrans',
|
394
|
+
data: transCode
|
395
|
+
});
|
396
|
+
|
397
|
+
// enable google transalate button if not visible
|
398
|
+
if ($('#quickLinksTranslateButton').css('display') === 'none') {
|
399
|
+
$('#quickLinksTranslateButton').css('display', 'block');
|
400
|
+
}
|
401
|
+
} else { // translation NOT allowed
|
402
|
+
|
403
|
+
// update cookie user translate settings
|
404
|
+
user_translate.translationEnabled = false;
|
405
|
+
cookie_written = j1.writeCookie({
|
406
|
+
name: cookie_names.user_translate,
|
407
|
+
data: user_translate,
|
408
|
+
samesite: 'Strict',
|
409
|
+
secure: secure
|
410
|
+
});
|
411
|
+
|
412
|
+
// stop translation for all pages
|
413
|
+
if (htmlScriptElement) { htmlScriptElement.remove(); }
|
414
|
+
j1.removeCookie({name: 'googtrans'});
|
415
|
+
}
|
416
|
+
}
|
417
|
+
|
418
|
+
// translation NOT allowed
|
419
|
+
if (!user_translate.analysis || !user_translate.personalization) {
|
420
|
+
head = document.getElementsByTagName('head')[0];
|
421
|
+
script = document.createElement('script');
|
422
|
+
script.id = 'google-translate';
|
423
|
+
|
424
|
+
// update cookie consent settings
|
425
|
+
user_consent.analysis = user_translate.analysis;
|
426
|
+
user_consent.personalization = user_translate.personalization;
|
427
|
+
cookie_written = j1.writeCookie({
|
428
|
+
name: cookie_names.user_consent,
|
429
|
+
data: user_consent,
|
430
|
+
samesite: 'Strict',
|
431
|
+
secure: secure,
|
432
|
+
expires: 0
|
433
|
+
});
|
434
|
+
|
435
|
+
// update cookie user translate settings
|
436
|
+
user_translate.translationEnabled = false;
|
437
|
+
cookie_written = j1.writeCookie({
|
438
|
+
name: cookie_names.user_translate,
|
439
|
+
data: user_consent,
|
440
|
+
samesite: 'Strict',
|
441
|
+
secure: secure,
|
442
|
+
expires: 0
|
443
|
+
});
|
444
|
+
|
445
|
+
// stop translation for all pages
|
446
|
+
if (htmlScriptElement) { htmlScriptElement.remove(); }
|
447
|
+
j1.removeCookie({name: 'googtrans'});
|
448
|
+
}
|
449
|
+
|
450
|
+
if (moduleOptions.reloadPageOnChange) {
|
451
|
+
// reload current page (skip cache)
|
452
|
+
location.reload(true);
|
453
|
+
}
|
454
|
+
|
455
|
+
// disable google translate button if visible
|
456
|
+
if ($('#quickLinksTranslateButton').css('display') === 'block') {
|
457
|
+
$('#quickLinksTranslateButton').css('display', 'none');
|
458
|
+
}
|
459
|
+
|
460
|
+
}, // END cbGoogle
|
461
|
+
|
462
|
+
// -------------------------------------------------------------------------
|
463
|
+
// cbDeepl()
|
464
|
+
// Called by the translator CORE module after the user
|
465
|
+
// has made the lanuage selection for translation (callback)
|
466
|
+
// -------------------------------------------------------------------------
|
467
|
+
cbDeepl: function () {
|
468
|
+
|
469
|
+
// code for post procession on Deepl translations
|
470
|
+
|
471
|
+
} // END cbDeepl
|
472
|
+
|
473
|
+
}; // END return
|
474
|
+
})(j1, window);
|
475
|
+
|
476
|
+
{% endcapture %}
|
477
|
+
{{ cache | strip_empty_lines }}
|
478
|
+
{% assign cache = nil %}
|