uawdijnntqw1x1x1
IP : 216.73.216.84
Hostname : webm003.cluster107.gra.hosting.ovh.net
Kernel : Linux webm003.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
opticamezl
/
www
/
newok
/
media
/
com_admin
/
..
/
com_mails
/
..
/
mod_languages
/
..
/
..
/
js.tar
/
/
theme-search.js000060400000005267151666571520007473 0ustar00/*! YOOtheme Pro v4.5.33 | https://yootheme.com */ (function(d,n){"use strict";d.component("Search",{args:"target",props:{target:String,mode:Boolean,preventSubmit:Boolean},data:{target:null,mode:!1,preventSubmit:!1},computed:{target:({target:e})=>n.$(e),dropdown({mode:e}){const t=e?null:this.target.closest(".uk-drop");return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")}},observe:[{target:e=>e.mode?e.$el.form.parentElement:e.target,observe:n.observeIntersection,handler(e){e.some(t=>t.isIntersecting)&&(this.updateForm(!0),this.$el.value&&!this._index&&this.update())}}],events:[{name:"submit",capture:!0,filter:e=>e.preventSubmit,delegate:()=>'form[role="search"]',el:e=>e.$el.form.parentElement,handler:e=>e.preventDefault()},{name:"input",handler(){this.show()}},{name:"input",el:e=>e.target,delegate:()=>'input[type="search"]',handler(e){e.target!==this.$el&&(this.$el.value=e.target.value,this.show())}},{name:"focus",filter:e=>!e.mode,handler(){this.showDropdown()}},{name:"keydown",filter:e=>!e.mode,handler(e){var t;e.key==="ArrowDown"&&(e.preventDefault(),this.dropdown.isToggled()||this.showDropdown(),n.isVisible(this.target)&&((t=n.$(n.selFocusable,this.target))==null||t.focus()))}}],methods:{async show(){await this.update(),this.showDropdown()},async update(){var c;(c=this._index)!=null||(this._index=0);const e=++this._index,t=await this.query();if(e!==this._index)return;const{activeElement:s}=this.$el.ownerDocument,r=n.$$('input[type="search"]',this.target),o=r.findIndex(f=>f===s);l(this.target,t);const h=n.$$('input[type="search"]',this.target);h[o]&&(h[o].replaceWith(r[o]),r[o].focus()),this.updateForm()},updateForm(e){if(!this.mode)return;const t=n.$$('input[type="search"]',this.target).find(n.isVisible);this.$el.form.hidden=!!t,n.toggleClass(this.$el.form,"uk-margin-remove-adjacent",!!t),t&&(t.autofocus=!0,e&&t.setSelectionRange(t.value.length,t.value.length))},async query(){const{form:e}=this.$el,t=new FormData(e),s=Object.entries(JSON.parse(e.dataset.liveSearch||"{}"));for(const[r,o]of[...s,["live-search",!0]])t.append(r,o);try{const r=await fetch(e.action,{method:"POST",body:t});if(r.ok)return await r.text()}catch{}},showDropdown(){this.dropdown&&(a(this.target)?this.dropdown.show(this.$el.form.parentElement,!1):this.dropdown.hide(!1))}}});function a(e){return Array.from(e.children).some(t=>n.css(t,"display")!=="none"&&(a(t)||!t.children.length))}const i=new Set;function l(e,t){for(const s of n.$$("script"))i.add(s.src);e.innerHTML=t;for(const s of n.$$("script",e))i.has(s.src)||(s.remove(),e.append(p(s)))}function p(e){const t=document.createElement("script");t.text=e.innerHTML;for(const{name:s,value:r}of e.attributes)t.setAttribute(s,r);return t}})(UIkit,UIkit.util); header.js000060400000004363151666571520006352 0ustar00import { $, before, css, hasAttr, matches, observeResize, offset, remove, toPx } from 'uikit-util'; const Section = { computed: { section: { get: () => $('.tm-header ~ [class*="uk-section"], .tm-header ~ * > [class*="uk-section"]'), observe: () => '.tm-page', }, }, watch: { section() { this.$emit(); }, }, }; export const Header = { mixins: [Section], computed: { anchor: { get() { return ( this.section && !matches(this.section, '[tm-header-transparent-noplaceholder]') && ($('.uk-grid,.uk-panel:not(.uk-container)', this.section) || $('.tm-main > *')) ); }, }, }, observe: [ { observe: observeResize, handler() { this.$emit(); }, }, ], watch: { anchor() { this.$emit(); }, section(section, prev) { prev && this.$update(); }, }, update: [ { read() { return { height: this.$el.offsetHeight }; }, write({ height }) { if (!height || !this.anchor) { remove(this.placeholder); return; } this.placeholder ||= $( '<div class="tm-header-placeholder uk-margin-remove-adjacent">' ); if (this.anchor.previousElementSibling !== this.placeholder) { before(this.anchor, this.placeholder); } css(this.placeholder, { height }); }, }, ], }; export const Sticky = { mixins: [Section], update: { read() { return ( this.section && hasAttr(this.$el, 'tm-section-start') && { start: this.section.offsetHeight <= toPx('100vh') ? offset(this.section).bottom : offset(this.section).top + 300, } ); }, events: ['resize'], }, }; theme.js000060400000003066151666571520006223 0ustar00/*! YOOtheme Pro v4.5.33 | https://yootheme.com */ (function(o,e){"use strict";const r={computed:{section:{get:()=>e.$('.tm-header ~ [class*="uk-section"], .tm-header ~ * > [class*="uk-section"]'),observe:()=>".tm-page"}},watch:{section(){this.$emit()}}},a={mixins:[r],computed:{anchor:{get(){return this.section&&!e.matches(this.section,"[tm-header-transparent-noplaceholder]")&&(e.$(".uk-grid,.uk-panel:not(.uk-container)",this.section)||e.$(".tm-main > *"))}}},observe:[{observe:e.observeResize,handler(){this.$emit()}}],watch:{anchor(){this.$emit()},section(s,t){t&&this.$update()}},update:[{read(){return{height:this.$el.offsetHeight}},write({height:s}){if(!s||!this.anchor){e.remove(this.placeholder);return}this.placeholder||(this.placeholder=e.$('<div class="tm-header-placeholder uk-margin-remove-adjacent">')),this.anchor.previousElementSibling!==this.placeholder&&e.before(this.anchor,this.placeholder),e.css(this.placeholder,{height:s})}}]},i={mixins:[r],update:{read(){return this.section&&e.hasAttr(this.$el,"tm-section-start")&&{start:this.section.offsetHeight<=e.toPx("100vh")?e.offset(this.section).bottom:e.offset(this.section).top+300}},events:["resize"]}};if(o.component("Header",a),o.mixin(i,"sticky"),e.isRtl){const s={created(){this.$props.pos=e.swap(this.$props.pos,"left","right")}};o.mixin(s,"drop"),o.mixin(s,"tooltip")}e.once(document,"uikit:init",()=>{const{$theme:{i18n:s={}}={}}=window;for(const t in s)o.mixin({i18n:s[t]},t)}),e.ready(()=>{const{$load:s=[],$theme:t={}}=window;function c(n,h){n.length&&n.shift()(h,()=>c(n,h))}c(s,t)})})(UIkit,UIkit.util); main.js000060400000001447151666571520006046 0ustar00import UIkit from 'uikit'; import { isRtl, once, ready, swap } from 'uikit-util'; import { Header, Sticky } from './header'; UIkit.component('Header', Header); UIkit.mixin(Sticky, 'sticky'); if (isRtl) { const mixin = { created() { this.$props.pos = swap(this.$props.pos, 'left', 'right'); }, }; UIkit.mixin(mixin, 'drop'); UIkit.mixin(mixin, 'tooltip'); } once(document, 'uikit:init', () => { const { $theme: { i18n = {} } = {} } = window; for (const component in i18n) { UIkit.mixin({ i18n: i18n[component] }, component); } }); ready(() => { const { $load = [], $theme = {} } = window; function load(stack, config) { stack.length && stack.shift()(config, () => load(stack, config)); } load($load, $theme); }); search.js000060400000012733151666571520006367 0ustar00import UIkit from 'uikit'; import { $, $$, css, isVisible, observeIntersection, selFocusable, toggleClass } from 'uikit-util'; UIkit.component('Search', { args: 'target', props: { target: String, mode: Boolean, preventSubmit: Boolean, }, data: { target: null, mode: false, preventSubmit: false, }, computed: { target: ({ target }) => $(target), dropdown({ mode }) { const dropdown = mode ? null : this.target.closest('.uk-drop'); return this.$getComponent(dropdown, 'drop') || this.$getComponent(dropdown, 'dropdown'); }, }, observe: [ { target: (vm) => (vm.mode ? vm.$el.form.parentElement : vm.target), observe: observeIntersection, handler(records) { if (records.some((record) => record.isIntersecting)) { this.updateForm(true); if (this.$el.value && !this._index) { this.update(); } } }, }, ], events: [ { name: 'submit', capture: true, filter: (vm) => vm.preventSubmit, delegate: () => 'form[role="search"]', el: (vm) => vm.$el.form.parentElement, handler: (e) => e.preventDefault(), }, { name: 'input', handler() { this.show(); }, }, { name: 'input', el: (vm) => vm.target, delegate: () => 'input[type="search"]', handler(e) { if (e.target !== this.$el) { this.$el.value = e.target.value; this.show(); } }, }, { name: 'focus', filter: (vm) => !vm.mode, handler() { this.showDropdown(); }, }, { name: 'keydown', filter: (vm) => !vm.mode, handler(e) { if (e.key === 'ArrowDown') { e.preventDefault(); if (!this.dropdown.isToggled()) { this.showDropdown(); } if (isVisible(this.target)) { $(selFocusable, this.target)?.focus(); } } }, }, ], methods: { async show() { await this.update(); this.showDropdown(); }, async update() { this._index ??= 0; const index = ++this._index; const html = await this.query(); if (index !== this._index) { return; } const { activeElement } = this.$el.ownerDocument; const inputs = $$('input[type="search"]', this.target); const focused = inputs.findIndex((el) => el === activeElement); setInnerHtml(this.target, html); const newInputs = $$('input[type="search"]', this.target); if (newInputs[focused]) { newInputs[focused].replaceWith(inputs[focused]); inputs[focused].focus(); } this.updateForm(); }, updateForm(focus) { if (!this.mode) { return; } const input = $$('input[type="search"]', this.target).find(isVisible); this.$el.form.hidden = !!input; toggleClass(this.$el.form, 'uk-margin-remove-adjacent', !!input); if (input) { input.autofocus = true; if (focus) { input.setSelectionRange(input.value.length, input.value.length); } } }, async query() { const { form } = this.$el; const formData = new FormData(form); const data = Object.entries(JSON.parse(form.dataset.liveSearch || '{}')); for (const [key, value] of [...data, ['live-search', true]]) { formData.append(key, value); } try { const response = await fetch(form.action, { method: 'POST', body: formData }); if (response.ok) { return await response.text(); } } catch {} }, showDropdown() { if (!this.dropdown) { return; } if (hasVisibleChildren(this.target)) { this.dropdown.show(this.$el.form.parentElement, false); } else { this.dropdown.hide(false); } }, }, }); function hasVisibleChildren(el) { return Array.from(el.children).some( (child) => css(child, 'display') !== 'none' && (hasVisibleChildren(child) || !child.children.length) ); } const scripts = new Set(); function setInnerHtml(target, html) { for (const el of $$('script')) { scripts.add(el.src); } target.innerHTML = html; for (const el of $$('script', target)) { if (!scripts.has(el.src)) { el.remove(); target.append(cloneScript(el)); } } } function cloneScript(node) { const script = document.createElement('script'); script.text = node.innerHTML; for (const { name, value } of node.attributes) { script.setAttribute(name, value); } return script; }
/home/opticamezl/www/newok/media/com_admin/../com_mails/../mod_languages/../../js.tar