1import{l as n}from"./DWLzPE2T.js";const a={options:{accurateTrackBounce:!0,clickmap:!0,defer:!1,ecommerce:!1,params:[],userParams:{},trackHash:!1,trackLinks:!0,type:0,webvisor:!0,triggerEvent:!1},env:"development",scriptSrc:"https://mc.yandex.ru/metrika/tag.js"};async function o(t){try{await n(a.scriptSrc);const e=new Ya.Metrika2({id:t,...a.options});return window[`yaCounter${t}`]=e,{trackEvent:r=>{e&&e.reachGoal&&e.reachGoal(r)},trackView:(r,c)=>{e.hit(c.path,{referer:r.path})},ecommerce:{getCid(){return e.getClientID()}}}}catch{return console.warn("[ya-metrika.analytics.ts] loadScript yandex.ru error"),{trackEvent:null,trackView:null}}}export{o as createMetrika};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.