{"product_id":"handpan-somnia-super-offerta","title":"Handpan Somnia VibraSonic · D Kurd 9 note · Super Offerta","description":"\u003cdiv class=\"vs-wrap\" style=\"font-family:Arial,sans-serif;color:#294335;line-height:1.65\"\u003e\n\u003cdiv style=\"background:#28533f;color:white;border-radius:20px;padding:24px;margin-bottom:20px\"\u003e\n\u003cp style=\"margin:0 0 8px;color:#f0d59c;font-size:12px;font-weight:700;letter-spacing:.1em\"\u003eWHITE FRIDAY · SOLO 5 PEZZI IN OFFERTA\u003c\/p\u003e\n\u003ch2 style=\"margin:0 0 12px;color:white;font-size:28px;line-height:1.15\"\u003eHandpan Somnia VibraSonic\u003cbr\u003eD Kurd · 9 note\u003c\/h2\u003e\n\u003cdiv style=\"display:flex;gap:22px;align-items:center;flex-wrap:wrap\"\u003e\n\u003cstrong style=\"font-size:64px;line-height:1.1;color:white;letter-spacing:-.04em\"\u003e899 €\u003c\/strong\u003e\u003cdiv\u003e\n\u003cs style=\"color:#d7ddcf;font-size:22px\"\u003e1.100 €\u003c\/s\u003e\u003cbr\u003e\u003cstrong style=\"color:#f0d59c\"\u003eRisparmi 201 €\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp style=\"margin:14px 0 0\"\u003eIl suono caldo del Re minore, in uno strumento artigianale realizzato in Italia. Nove note per iniziare, improvvisare e trovare il tuo ritmo.\u003c\/p\u003e\n\u003ca href=\"#somnia-product-player\" style=\"display:inline-block;background:#ebce92;color:#203f2d;text-decoration:none;border-radius:30px;padding:12px 20px;font-weight:700;margin-top:18px\"\u003e♫ Suonalo realmente\u003c\/a\u003e\n\u003c\/div\u003e\n\u003cp\u003eIl \u003cstrong\u003eSomnia VibraSonic\u003c\/strong\u003e è un handpan nuovo in \u003cstrong\u003eacciaio inox, accordato in D Kurd (Re minore) a 440 Hz\u003c\/strong\u003e. Il suo timbro avvolgente e il sustain lungo invitano a esplorare melodie intuitive, anche se sei al tuo primo handpan.\u003c\/p\u003e\n\u003cp\u003ePremi \u003cstrong\u003eSuona! Provalo ora!\u003c\/strong\u003e sulla prima foto e tocca le note: ascolterai il \u003cstrong\u003esuono registrato direttamente dal Somnia, senza effetti\u003c\/strong\u003e. Puoi anche scegliere una melodia e regolarne la velocità.\u003c\/p\u003e\n\u003cdiv id=\"somnia-product-player\" style=\"scroll-margin-top:100px\"\u003e\u003c\/div\u003e\n\u003csection style=\"padding:20px;background:#f6f2e7;border:1px solid #e4d8bd;border-radius:16px;margin:20px 0\"\u003e\u003ch3 style=\"margin:0 0 10px;font-size:21px\"\u003eCon il tuo Somnia sono inclusi\u003c\/h3\u003e\n\u003cul style=\"margin:0;padding-left:20px\"\u003e\n\u003cli\u003e\u003cstrong\u003eHandpan Somnia VibraSonic D Kurd a 9 note\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e25 video del Corso Metodo Malte Marten\u003c\/strong\u003e, registrati da Emanuele Brunazzetto\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1 riaccordatura\u003c\/strong\u003e, da utilizzare entro i 2 anni di garanzia dello strumento\u003c\/li\u003e\n\u003c\/ul\u003e\u003c\/section\u003e\n\u003ch3\u003eUn suono da scoprire ogni giorno\u003c\/h3\u003e\n\u003cp\u003eNote profonde e luminose, una risposta sensibile al tocco e uno spazio tutto tuo per suonare. Somnia accompagna la pratica quotidiana, l’improvvisazione e i momenti di ascolto e meditazione.\u003c\/p\u003e\n\u003cdetails class=\"vs-details\"\u003e\u003csummary\u003e\u003cstrong\u003eSpecifiche tecniche\u003c\/strong\u003e\u003c\/summary\u003e\u003cdiv class=\"vs-small\"\u003e\u003ctable class=\"vs-spec\"\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccordatura\u003c\/td\u003e\n\u003ctd\u003eD Kurd \/ Re minore\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eNote\u003c\/td\u003e\n\u003ctd\u003eD A B♭ C D E F G A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eNote in italiano\u003c\/td\u003e\n\u003ctd\u003eRe · La · Si♭ · Do · Re · Mi · Fa · Sol · La\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMateriale\u003c\/td\u003e\n\u003ctd\u003eAcciaio inox\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eFrequenza\u003c\/td\u003e\n\u003ctd\u003e440 Hz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eDiametro\u003c\/td\u003e\n\u003ctd\u003e56 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAltezza\u003c\/td\u003e\n\u003ctd\u003e26 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePeso\u003c\/td\u003e\n\u003ctd\u003eCirca 4 kg\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003c\/div\u003e\u003c\/details\u003e\n\u003cdetails class=\"vs-details\"\u003e\u003csummary\u003e\u003cstrong\u003eAssistenza VibraSonic in Italia\u003c\/strong\u003e\u003c\/summary\u003e\u003cp\u003eAssistenza e manutenzione in Italia per accompagnarti nel tempo. Una riaccordatura è inclusa, da utilizzare entro i 2 anni di garanzia dello strumento.\u003c\/p\u003e\u003c\/details\u003e\n\u003cp style=\"padding:16px;border-left:4px solid #b58a3a;background:#faf5e9\"\u003e\u003cstrong\u003eInizia con pochi minuti al giorno.\u003c\/strong\u003e I 25 video inclusi ti accompagnano dai primi tocchi alle tue prime melodie.\u003c\/p\u003e\n\u003cp style=\"font-size:12px;color:#74806b\"\u003eMade in Italy. Ogni handpan può presentare lievi variazioni estetiche dovute alla lavorazione artigianale. Offerta a 899 € limitata ai 5 pezzi disponibili.\u003c\/p\u003e\n\u003c\/div\u003e\u003cscript\u003e(function(){var host=document.getElementById('somnia-product-player');if(!host||host.shadowRoot)return;var root=host.attachShadow({mode:'open'});root.innerHTML=\"\\u003cstyle\\u003e.hp-demo{margin:26px 0 48px;display:grid;grid-template-columns:1.1fr 1fr;gap:38px;align-items:center;padding:30px;border:1px solid #dce4da;border-radius:28px;background:linear-gradient(140deg,#edf1e7,#fffdf7);scroll-margin-top:20px}#pf-page .hp-demo h2{font-size:clamp(32px,4vw,48px);line-height:1.08;margin:12px 0 18px;color:#284738}.hp-demo p{line-height:1.65;color:#526255}.hp-demo .sd-stage{position:relative;isolation:isolate;min-width:0;aspect-ratio:1}.sd-stage svg{position:relative;z-index:1;width:100%;height:100%;filter:drop-shadow(0 18px 15px #263d3329);touch-action:manipulation}.sd-hit{cursor:pointer;fill:transparent;stroke:transparent;stroke-width:5;transition:fill .15s}.sd-hit:hover,.sd-hit:focus{fill:#ffffff24;stroke:#ffffffb0;outline:none}.sd-hit.active{fill:#fff8df55;stroke:white}.sd-label{font:28px system-ui;fill:white;text-anchor:middle;pointer-events:none;paint-order:stroke;stroke:#362d25aa;stroke-width:6}.sd-wave{position:absolute;inset:8%;border:2px solid var(--wave);border-radius:50%;z-index:0;animation:sd-ripple 2s ease-out forwards;pointer-events:none}.sd-keys{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}.sd-keys button{border:1px solid #00000012;border-radius:12px;padding:9px 11px;background:var(--key);color:#243e31;font:600 13px system-ui;cursor:pointer}.sd-keys button.active{box-shadow:0 0 0 2px #3a674a}.sd-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-top:18px}.sd-controls label{display:grid;gap:5px;font:12px system-ui;color:#536355}.sd-controls select,.sd-controls input{border:1px solid #cbd5c7;border-radius:10px;background:white;color:#293e30;padding:10px;font:14px system-ui;max-width:100%}.sd-controls input{width:76px}.sd-controls button,.sd-cta{border:0;border-radius:30px;background:#355640;color:white!important;padding:13px 22px;font:600 14px system-ui;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.sd-controls button:disabled{opacity:.5}.sd-score{display:flex;gap:6px;flex-wrap:wrap;max-height:150px;overflow:auto;margin:16px 0}.sd-score span{padding:10px;border-radius:10px;background:var(--key);font:600 14px system-ui;color:#304335;border:2px solid transparent}.sd-score span.active{border-color:#375640;background:white}.sd-help{font-size:12px!important;min-height:20px}.sd-cta{margin-top:8px}.sd-caption{font-size:12px!important;margin:8px 0!important}.sd-spark{fill:white;pointer-events:none;animation:sd-flash .5s forwards}@keyframes sd-flash{to{opacity:0;transform:translateY(-30px)}}@keyframes sd-ripple{from{transform:scale(.8);opacity:.4}to{transform:scale(1.35);opacity:0}}@media(max-width:760px){.hp-demo{grid-template-columns:1fr;gap:8px;padding:18px}.sd-stage{max-width:460px;width:100%;margin:auto}.sd-controls select{width:100%}.sd-controls label:first-child{width:100%}#pf-page .hp-demo h2{margin-top:8px}}@media(prefers-reduced-motion:reduce){.sd-wave{animation:none;display:none}.sd-spark{animation:none}}\\n\\n.sd-view-tools{display:flex;justify-content:flex-end;margin-bottom:8px}.sd-fullscreen{border:1px solid #cad4c4;background:#fffdf7;color:#31533f;padding:9px 14px;border-radius:25px;font:600 12px Arial,sans-serif;cursor:pointer}.sd-fullscreen:focus-visible{outline:2px solid #96723a;outline-offset:3px}.hp-demo.sd-expanded,.hp-demo:fullscreen{position:fixed;inset:0;z-index:2147483647;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;overflow:auto;background:#f5f5ed;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,1fr);gap:30px;padding:24px 38px;align-items:center}.hp-demo.sd-expanded .sd-stage,.hp-demo:fullscreen .sd-stage{width:min(100%,78dvh);max-width:none;margin:auto}.hp-demo.sd-expanded .sd-view-tools,.hp-demo:fullscreen .sd-view-tools{position:sticky;top:0;z-index:3}.hp-demo.sd-expanded .sd-fullscreen,.hp-demo:fullscreen .sd-fullscreen{background:#31533f;color:white}.hp-demo.sd-expanded .sd-score,.hp-demo:fullscreen .sd-score{max-height:25dvh}@media(max-width:760px){.hp-demo.sd-expanded,.hp-demo:fullscreen{grid-template-columns:1fr;align-items:start;padding:16px;gap:8px}.hp-demo.sd-expanded .sd-stage,.hp-demo:fullscreen .sd-stage{width:min(100%,62dvh)}}\\n\\n.sd-view-tools{justify-content:space-between;gap:10px;flex-wrap:wrap}.sd-view-tabs{display:flex;gap:4px;padding:3px;background:#e4e9dc;border-radius:24px}.sd-view-tabs button{border:0;background:transparent;color:#36533f;border-radius:20px;padding:7px 11px;font:600 12px Arial,sans-serif;cursor:pointer}.sd-view-tabs button[aria-pressed=true]{background:#365640;color:white}.sd-view-tabs button:disabled{opacity:.5}.sd-stage svg[hidden],.sd-three[hidden]{display:none!important}.sd-three{position:absolute;inset:0;overflow:hidden;border-radius:14px}.sd-three canvas{display:block;width:100%;height:100%;cursor:grab}.sd-three canvas:active{cursor:grabbing}.sd-three-hint{position:absolute;top:4px;left:0;right:0;text-align:center;font:11px\/1.4 Arial,sans-serif!important;color:#5c6d55;pointer-events:none}.sd-three-presets{display:flex;justify-content:center;gap:5px;position:absolute;bottom:7px;left:0;right:0}.sd-three-presets button{font:11px Arial,sans-serif;padding:6px 11px;border:1px solid #c7d1bf;background:#fffdf3e8;color:#31543e;border-radius:20px;cursor:pointer}\\n\\n:host{display:block;font-family:Arial,sans-serif;color:#294834}*{box-sizing:border-box}.hp-demo{display:block;padding:20px;margin:20px 0;border-radius:20px}.sd-stage{max-width:520px;margin:auto}.hp-demo h2{font-size:34px;margin:18px 0 12px}.sd-caption{line-height:1.5}.sd-super-price{display:none}.pf-kicker{font-size:10px;letter-spacing:.1em;color:#7b825f}.sd-controls{gap:10px}.sd-cta{margin-top:10px}.sd-keys button{font-size:13px}.sd-controls label:first-child{width:100%}.sd-controls select{width:100%}\\n\\u003c\/style\\u003e\\u003csection class=\\\"hp-demo\\\" id=\\\"prova-somnia\\\" aria-labelledby=\\\"sd-title\\\"\\u003e\\u003cdiv\\u003e\\u003cdiv class=\\\"sd-view-tools\\\"\\u003e\\u003cdiv class=\\\"sd-view-tabs\\\"\\u003e\\u003cbutton type=\\\"button\\\" class=\\\"sd-photo-view\\\" aria-pressed=\\\"true\\\"\\u003eFoto\\u003c\/button\\u003e\\u003cbutton type=\\\"button\\\" class=\\\"sd-three-view\\\" aria-pressed=\\\"false\\\"\\u003eVista 3D\\u003c\/button\\u003e\\u003c\/div\\u003e\\u003cbutton type=\\\"button\\\" class=\\\"sd-fullscreen\\\" aria-pressed=\\\"false\\\"\\u003e⛶ Schermo intero\\u003c\/button\\u003e\\u003c\/div\\u003e\\u003cdiv class=\\\"sd-stage\\\"\\u003e\\u003csvg viewBox=\\\"78 62 1094 1094\\\" role=\\\"group\\\" aria-label=\\\"Somnia dall’alto, tocca le note per suonare\\\"\\u003e\\u003cdefs\\u003e\\u003cclipPath id=\\\"sd-pan-clip\\\"\\u003e\\u003cellipse cx=\\\"625\\\" cy=\\\"607\\\" rx=\\\"533\\\" ry=\\\"530\\\"\/\\u003e\\u003c\/clipPath\\u003e\\u003c\/defs\\u003e\\u003cimage href=\\\"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-still-life-vibrasonic.png?v=1794836080\\\" width=\\\"1254\\\" height=\\\"1254\\\" clip-path=\\\"url(#sd-pan-clip)\\\"\/\\u003e\\u003cg class=\\\"sd-notes\\\"\\u003e\\u003c\/g\\u003e\\u003c\/svg\\u003e\\u003c\/div\\u003e\\u003cp class=\\\"sd-caption\\\"\\u003eIl Somnia, visto dall’alto. Tocca una nota e ascolta.\\u003c\/p\\u003e\\u003c\/div\\u003e\\u003cdiv\\u003e\\u003cp class=\\\"pf-kicker\\\"\\u003eTOCCA LE NOTE · ASCOLTA IL SOMNIA\\u003c\/p\\u003e\\u003ch2 id=\\\"sd-title\\\"\\u003eSuonalo realmente.\\u003c\/h2\\u003e\\u003cp\\u003e\\u003cstrong\\u003eSuono registrato direttamente dallo strumento, senza effetti.\\u003c\/strong\\u003e Ascolta il timbro reale del Somnia D Kurd. Esplora le 9 note o lasciati guidare da una piccola melodia, anche se non hai mai suonato.\\u003c\/p\\u003e\\u003cdiv class=\\\"sd-keys\\\" aria-label=\\\"Note e percussioni\\\"\\u003e\\u003c\/div\\u003e\\u003cdiv class=\\\"sd-controls\\\"\\u003e\\u003clabel\\u003eTi piacerebbe suonare\\u003cselect class=\\\"sd-select\\\" aria-label=\\\"Scegli melodia\\\"\\u003e\\u003c\/select\\u003e\\u003c\/label\\u003e\\u003clabel\\u003eBPM\\u003cinput class=\\\"sd-bpm\\\" type=\\\"number\\\" min=\\\"30\\\" max=\\\"240\\\" value=\\\"150\\\"\\u003e\\u003c\/label\\u003e\\u003cbutton class=\\\"sd-play\\\" type=\\\"button\\\" aria-pressed=\\\"false\\\"\\u003e▶ Ascolta e segui\\u003c\/button\\u003e\\u003c\/div\\u003e\\u003cdiv class=\\\"sd-score\\\" aria-label=\\\"Tablatura della melodia\\\"\\u003e\\u003c\/div\\u003e\\u003cp class=\\\"sd-help\\\" role=\\\"status\\\" aria-live=\\\"polite\\\"\\u003eTocca una nota per iniziare. T = Tak · S = Slap · N = Nocca.\\u003c\/p\\u003e\\u003ca class=\\\"sd-cta\\\" href=\\\"https:\/\/www.vibrasonic.it\/cart\/57502717477129:1\\\"\\u003eAcquista il Somnia a 899 € ↗\\u003c\/a\\u003e\\u003cp class=\\\"sd-caption\\\"\\u003eD Kurd · 9 note · Made in Italy · Offerta limitata a 5 pezzi\\u003c\/p\\u003e\\u003c\/div\\u003e\\u003c\/section\\u003e\\n\";\n(function(){\nconst demo=root.querySelector('.hp-demo');if(!demo)return;\nconst $=s=\u003edemo.querySelector(s),assets={\"0\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-shoulder.wav?v=1794834519\", \"1\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-note-1.wav?v=1794834519\", \"2\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-note-2.wav?v=1794834519\", \"3\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-note-3.wav?v=1794834519\", \"4\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-note-4.wav?v=1794834519\", \"5\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-note-5.wav?v=1794834519\", \"6\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-note-6.wav?v=1794834519\", \"7\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-note-7.wav?v=1794834519\", \"8\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-note-8.wav?v=1794834519\", \"9\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-ding.wav?v=1794834519\", \"-1\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-slap.wav?v=1794834519\", \"-2\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-play-nocca.wav?v=1794834518\"};\nconst fullButton=$('.sd-fullscreen');let fallbackExpanded=false,previousBodyOverflow='';\nfunction setExpanded(expanded){demo.classList.toggle('sd-expanded',expanded);fullButton.textContent=expanded?'× Chiudi schermo intero':'⛶ Schermo intero';fullButton.setAttribute('aria-pressed',String(expanded));}\nfunction closeExpanded(){if(document.fullscreenElement){document.exitFullscreen();}else if(fallbackExpanded){fallbackExpanded=false;document.body.style.overflow=previousBodyOverflow;setExpanded(false);fullButton.focus();}}\nfullButton.onclick=async()=\u003e{if(demo.classList.contains('sd-expanded')){closeExpanded();return;}if(demo.requestFullscreen){try{await demo.requestFullscreen();setExpanded(true);return;}catch(e){}}previousBodyOverflow=document.body.style.overflow;document.body.style.overflow='hidden';fallbackExpanded=true;setExpanded(true);};\ndocument.addEventListener('fullscreenchange',()=\u003e{if(!fallbackExpanded)setExpanded(Boolean(document.fullscreenElement));});\ndocument.addEventListener('keydown',e=\u003e{if(e.key==='Escape'\u0026\u0026fallbackExpanded)closeExpanded();});\n\nconst patterns=[\n {title:'Ding 1 4 1',groups:[[9],[1],[4],[1]],repeat:1,help:'Ding = la nota centrale'},\n {title:'Ding 2 4 2',groups:[[9],[2],[4],[2]],repeat:1,help:'Ding = la nota centrale'},\n {title:'Due note insieme',groups:[[2,4],[1,3],[4,6],[3,5]],repeat:4,help:'Suona le due note insieme, 4 volte. Poi passa alla coppia successiva.'},\n {title:'Giro dolce',groups:[[9],[1],[3],[1],[9],[2],[4],[2]],repeat:1,tempo:65,help:'Ding · 1 · 3 · 1 \/ Ding · 2 · 4 · 2. Una nota per battito, con un tocco leggero.'},\n {title:'Respiro',level:1,groups:[[9],[1],[4],[1],[9],[1],[3],[1]],repeat:1,tempo:60,help:'Una nota per battito. Ripeti due frasi brevi: la seconda cambia soltanto una nota. Ding = centro.'},\n {title:'Piccole onde',level:2,groups:[[9],[1],[3],[4],[3],[1],[2],[3],[9],[2],[4],[2],[3],[2],[1],[]],repeat:1,tempo:65,help:'Una nota per battito. Segui la salita e la discesa; sul trattino fai una pausa di un battito.'},\n {title:'Verso la luce',level:3,groups:[[9],[1],[4],[5],[6],[5],[4],[3],[9],[2],[4],[6],[7],[6],[5],[4]],repeat:1,tempo:70,help:'Una nota per battito. Esplora le note più alte e torna verso il centro con un tocco leggero.'},\n {title:'Intreccio',level:4,groups:[[9,1],[3],[4],[3],[9,2],[4],[6],[4],[1,3],[5],[6],[5],[2,4],[3],[2],[1]],repeat:1,tempo:70,help:'Una casella per battito. Il + indica due note insieme. Negli accordi usa una mano per ciascuna nota.'},\n {title:'Piccolo viaggio',level:5,groups:[[9],[1],[3],[4],[5],[4],[3],[1],[9,2],[4],[6],[7],[8],[7],[4,6],[]],durations:[1,.5,.5,2,.5,.5,1,2,1,.5,.5,2,.5,.5,1,2],repeat:1,tempo:70,help:'½ = mezzo battito; 2 = due battiti, lasciando risuonare. + = insieme; — = pausa. Inizia lentamente e segui la luce.'}\n,\n{\"title\": \"Tempo melodico\", \"category\": \"DALLA TUA REGISTRAZIONE\", \"groups\": [[9], [9], [0], [9], [9], [9], [0], [9], [9], [9], [0], [9], [9], [9], [9], [0], [9], [9], [9], [1], [2], [3], [4], [9], [9], [0], [9], [9], [9], [1], [2], [3], [4], [9], [9], [0], [9], [9], [9], [3], [4], [5], [6], [9], [9], [0], [9], [9], [9], [3], [4], [5], [6], [9], [9], [0], [9], [9], [9], [7], [6], [5], [4], [9], [9], [0], [9], [9], [9], [9], [7], [6], [5], [4], [9], [9], [0], [9], [9], [9], [5], [4], [3], [1], [9], [9], [0], [9], [9], [9], [9], [5], [4], [3], [1], [9], [9], [0], [9], [9], [9], [0]], \"durations\": [1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 0.5, 1.0, 0.5, 1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 0.5, 1.0, 0.5, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 0.5, 1.0, 0.5, 1.0, 1.0, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.5, 0.5, 1.0, 1.0, 1.5], \"repeat\": 1, \"help\": \"Ding e Tak, salite e discese. T = Tak. I tocchi più deboli sono approssimati; il ritmo segue i BPM scelti.\", \"reference\": true},\n{\"title\": \"Passo leggero\", \"category\": \"BRANO CON PERCUSSIONI\", \"groups\": [[9], [0], [1], [-2], [9], [0], [3], [-2], [9], [-1], [4], [0], [1], [-2], [-1], []], \"repeat\": 1, \"help\": \"Una casella per battito. T = Tak, S = Slap, N = Nocca. Sul trattino lascia una pausa.\"},\n{\"title\": \"Onde e accenti\", \"category\": \"BRANO CON PERCUSSIONI\", \"groups\": [[9, 1], [0], [3], [-2], [9, 2], [0], [4], [-1], [1, 3], [-2], [5], [0], [2, 4], [-1], [0], []], \"repeat\": 1, \"help\": \"Alterna accordi e colpi leggeri. + = insieme; T = Tak, S = Slap, N = Nocca; — = pausa.\"},\n{\"title\": \"Gioco di mani\", \"category\": \"BRANO CON PERCUSSIONI\", \"groups\": [[9], [0], [1], [-2], [3], [-1], [4], [0], [9, 2], [-2], [5], [-1], [4, 6], [0], [-2], []], \"durations\": [1, 0.5, 0.5, 2, 1, 0.5, 0.5, 2, 1, 0.5, 0.5, 2, 1, 0.5, 0.5, 2], \"repeat\": 1, \"help\": \"Segui le durate sotto le caselle. T = Tak, S = Slap, N = Nocca. Parti piano: alcuni colpi arrivano a mezzo battito.\"}\n];\n\nconst labels={9:'Ding',1:'1',2:'2',3:'3',4:'4',5:'5',6:'6',7:'7',8:'8',0:'T','-1':'S','-2':'N'},names={9:'Ding',1:'La',2:'Si♭',3:'Do',4:'Re',5:'Mi',6:'Fa',7:'Sol',8:'La',0:'Tak','-1':'Slap','-2':'Nocca'};\nconst positions={9:[625,550],1:[625,991],2:[329,846],3:[948,838],4:[220,500],5:[1022,520],6:[355,256],7:[898,275],8:[626,171],0:[800,747],'-1':[1080,740],'-2':[1010,725]};\nconst colours=['#dce6f3','#eee0f1','#f1dfdf','#f3e5d1','#f4edc9','#dfecd3','#d2e9e2','#d8e6f0','#e6dff0','#e7e3d3','#ebded3','#dde6ed'];\nconst ids=[9,1,2,3,4,5,6,7,8,0,-1,-2],buttons=new Map(),hits=new Map();let ctx,buffers,loading,timer,running=false,epoch=0,step=0;\nconst colour=id=\u003ecolours[ids.indexOf(id)];\nids.forEach(id=\u003e{const b=document.createElement('button');b.type='button';b.textContent=names[id]+(id\u003e0\u0026\u0026id!==9?' · '+id:'');b.style.setProperty('--key',colour(id));b.setAttribute('aria-label','Suona '+names[id]+', '+labels[id]);b.onclick=()=\u003eplay([id]);$('.sd-keys').append(b);buttons.set(id,b);\nconst [x,y]=positions[id],c=document.createElementNS('http:\/\/www.w3.org\/2000\/svg','circle');c.setAttribute('cx',x);c.setAttribute('cy',y);c.setAttribute('r',id===9?85:id\u003c=0?45:52);c.setAttribute('class','sd-hit');c.setAttribute('tabindex','0');c.setAttribute('role','button');c.setAttribute('aria-label','Suona '+names[id]+', '+labels[id]);c.onclick=()=\u003eplay([id]);c.onkeydown=e=\u003e{if(e.key===' '||e.key==='Enter'){e.preventDefault();play([id]);}};$('.sd-notes').append(c);hits.set(id,c);\nif(id\u003e0){const t=document.createElementNS(c.namespaceURI,'text');t.setAttribute('x',x);t.setAttribute('y',y+10);t.setAttribute('class','sd-label');t.textContent=labels[id];$('.sd-notes').append(t);}});\nasync function ready(){ctx=ctx||new(window.AudioContext||window.webkitAudioContext)();await ctx.resume();if(!loading)loading=Promise.all(ids.map(async id=\u003e{const response=await fetch(assets[id]);if(!response.ok)throw Error('sample');return [id,await ctx.decodeAudioData(await response.arrayBuffer())];})).then(a=\u003ebuffers=new Map(a)).catch(e=\u003e{loading=null;throw e;});await loading;}\nfunction flash(id){const glow=threeGlows.get(id);if(glow)glow.userData.struck=performance.now();const b=buttons.get(id),h=hits.get(id);b.classList.add('active');h.classList.add('active');setTimeout(()=\u003e{b.classList.remove('active');h.classList.remove('active');},350);const wave=document.createElement('i');wave.className='sd-wave';wave.style.setProperty('--wave',colour(id));$('.sd-stage').prepend(wave);setTimeout(()=\u003ewave.remove(),2050);if(id\u003c0){const [x,y]=positions[id],s=document.createElementNS(h.namespaceURI,'path');s.setAttribute('d',`M${x-28} ${y}h56 M${x} ${y-28}v56 M${x-35} ${y-35}l70 70 M${x+35} ${y-35}l-70 70`);s.setAttribute('stroke','white');s.setAttribute('stroke-width','7');s.setAttribute('class','sd-spark');$('.sd-notes').append(s);setTimeout(()=\u003es.remove(),500);}}\nasync function play(group){try{await ready();const when=ctx.currentTime+.015;group.forEach(id=\u003e{const source=ctx.createBufferSource(),gain=ctx.createGain();source.buffer=buffers.get(id);gain.gain.value=.8;source.connect(gain).connect(ctx.destination);source.start(when);flash(id);});return true;}catch(e){$('.sd-help').textContent='L’audio non è disponibile. Tocca di nuovo per riprovare.';return false;}}\npatterns.forEach((p,i)=\u003e{const o=document.createElement('option');o.value=i;o.textContent=p.title+(p.level?' · livello '+p.level:'');$('.sd-select').append(o);});\nfunction stop(){running=false;epoch++;clearTimeout(timer);$('.sd-play').textContent='▶ Ascolta e segui';$('.sd-play').setAttribute('aria-pressed','false');$('.sd-score').querySelectorAll('.active').forEach(x=\u003ex.classList.remove('active'));}\nfunction render(){stop();const p=patterns[$('.sd-select').value];$('.sd-score').replaceChildren();p.groups.forEach(g=\u003e{const s=document.createElement('span');s.textContent=g.length?g.map(id=\u003elabels[id]).join('+'):'—';if(p.repeat\u003e1)s.textContent+=' ×'+p.repeat;s.style.setProperty('--key',colour(g[0]??9));$('.sd-score').append(s);});$('.sd-help').textContent=p.help;}\n$('.sd-select').onchange=render;render();\n$('.sd-play').onclick=async()=\u003e{if(running){stop();return;}const token=++epoch;$('.sd-play').disabled=true;$('.sd-play').textContent='Caricamento…';try{await ready();if(epoch!==token)return;running=true;step=0;$('.sd-play').textContent='■ Stop';$('.sd-play').setAttribute('aria-pressed','true');tick(token);}catch(e){$('.sd-help').textContent='Audio non disponibile: premi di nuovo per riprovare.';$('.sd-play').textContent='▶ Ascolta e segui';}finally{$('.sd-play').disabled=false;}};\nfunction tick(token){if(!running||epoch!==token)return;const p=patterns[$('.sd-select').value],i=Math.floor(step\/p.repeat),g=p.groups[i];$('.sd-score').querySelectorAll('span').forEach((s,j)=\u003es.classList.toggle('active',i===j));play(g).then(ok=\u003e{if(!ok\u0026\u0026epoch===token)stop();});const bpm=Math.max(30,Math.min(240,Number($('.sd-bpm').value)||150));$('.sd-bpm').value=bpm;step=(step+1)%(p.groups.length*p.repeat);timer=setTimeout(()=\u003etick(token),60000\/bpm*(p.durations?.[i]||1));}\ndocument.addEventListener('visibilitychange',()=\u003e{if(document.hidden)stop();});\nroot.querySelectorAll('[data-somnia-preview]').forEach(b=\u003eb.onclick=()=\u003e{demo.scrollIntoView({behavior:'smooth',block:'start'});$('.sd-play').focus({preventScroll:true});if(!running)$('.sd-play').click();});\nconst threeGlows=new Map();let view3D=false,threeLoading=null;\nconst threeHost=document.createElement('div');threeHost.className='sd-three';threeHost.hidden=true;threeHost.setAttribute('aria-label','Modello 3D del Somnia. Trascina per ruotare e tocca le note per suonare.');$('.sd-stage').append(threeHost);\nconst threeInfo=document.createElement('p');threeInfo.className='sd-three-hint';threeInfo.textContent='Trascina per ruotare · tocca le note';threeHost.append(threeInfo);\nfunction setPanView(value){view3D=value;$('.sd-stage svg').toggleAttribute('hidden',value);threeHost.hidden=!value;$('.sd-photo-view').setAttribute('aria-pressed',String(!value));$('.sd-three-view').setAttribute('aria-pressed',String(value));}\n$('.sd-photo-view').onclick=()=\u003esetPanView(false);\n$('.sd-three-view').onclick=async()=\u003e{setPanView(true);const button=$('.sd-three-view');button.disabled=true;try{if(!threeLoading)threeLoading=setupThreePan();await threeLoading;}catch(e){threeLoading=null;setPanView(false);$('.sd-help').textContent='La vista 3D non è disponibile al momento. Puoi continuare a suonare dalla foto.';}finally{button.disabled=false;}};\nasync function setupThreePan(){\n const THREE=await import('https:\/\/cdn.jsdelivr.net\/npm\/three@0.170.0\/build\/three.module.js');\n const scene=new THREE.Scene(),camera=new THREE.PerspectiveCamera(36,1,.01,20),renderer=new THREE.WebGLRenderer({antialias:true,alpha:true});renderer.setPixelRatio(Math.min(devicePixelRatio,2));renderer.setClearColor(0,0);renderer.toneMapping=THREE.ACESFilmicToneMapping;renderer.toneMappingExposure=1.2;threeHost.prepend(renderer.domElement);\n scene.add(new THREE.HemisphereLight(0xfff7e3,0x435344,3));for(const [x,y,z,power]of [[-1,2,1,3],[1,1,-1,2]]){const light=new THREE.DirectionalLight(0xfff1d7,power);light.position.set(x,y,z);scene.add(light);}\n const env=new THREE.Scene();env.background=new THREE.Color('#bcb5a3');for(let i=0;i\u003c5;i++){const panel=new THREE.Mesh(new THREE.PlaneGeometry(3,5),new THREE.MeshBasicMaterial({color:i%2?0x92896e:0xfff7e7,side:THREE.DoubleSide}));panel.position.set(Math.sin(i*1.26)*4,1,Math.cos(i*1.26)*4);panel.lookAt(0,0,0);env.add(panel);}const pmrem=new THREE.PMREMGenerator(renderer);scene.environment=pmrem.fromScene(env,.025).texture;\n const pan=new THREE.Group();scene.add(pan);const coords=ids.filter(id=\u003eid\u003e0).map(id=\u003e{const [px,py]=positions[id];const x=(px-625)\/533*.28,z=(py-607)\/530*.28;return{id,x,z,a:Math.atan2(x,z),central:id===9};});\n function dome(x,z){return .12*Math.pow(Math.max(0,1-(Math.hypot(x,z)\/.28)**2),.95);}\n function height(x,z){let y=dome(x,z);for(const n of coords){const dx=x-n.x,dz=z-n.z,a=n.a,radial=dx*Math.sin(a)+dz*Math.cos(a),tangent=dx*Math.cos(a)-dz*Math.sin(a),size=n.central?.105:(n.id\u003c4?.07:.055),width=n.central?.104:(n.id\u003c4?.06:.05),q=(radial\/size)**2+(tangent\/width)**2,blend=Math.exp(-(q**3)*2.5),eps=.0001,gx=(dome(n.x+eps,n.z)-dome(n.x-eps,n.z))\/(2*eps),gz=(dome(n.x,n.z+eps)-dome(n.x,n.z-eps))\/(2*eps),plane=dome(n.x,n.z)+gx*dx+gz*dz-.003;y=y*(1-blend)+plane*blend;y-=.009*Math.exp(-q*13);if(n.central)y+=.019*Math.exp(-q*24);}return y;}\n const loader=new THREE.TextureLoader();const topTexture=await loader.loadAsync(\"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-still-life-vibrasonic.png?v=1794836080\");topTexture.colorSpace=THREE.SRGBColorSpace;\n const vertices=[],uvs=[],indices=[],seg=160,rings=70;for(let j=0;j\u003c=rings;j++){const r=.28*j\/rings;for(let i=0;i\u003c=seg;i++){const a=2*Math.PI*i\/seg,x=r*Math.cos(a),z=r*Math.sin(a);vertices.push(x,height(x,z),z);uvs.push((625+x\/.28*533)\/1254,1-(607+z\/.28*530)\/1254);}}for(let j=0;j\u003crings;j++)for(let i=0;i\u003cseg;i++){const a=j*(seg+1)+i,b=a+seg+1;indices.push(a,b,a+1,b,b+1,a+1);}const geom=new THREE.BufferGeometry();geom.setAttribute('position',new THREE.Float32BufferAttribute(vertices,3));geom.setAttribute('uv',new THREE.Float32BufferAttribute(uvs,2));geom.setIndex(indices);geom.computeVertexNormals();const shell=new THREE.Mesh(geom,new THREE.MeshBasicMaterial({map:topTexture,side:THREE.DoubleSide}));pan.add(shell);\n const profile=[];for(let j=0;j\u003c=80;j++){const r=.275*j\/80;profile.push(new THREE.Vector2(r,-.122*Math.pow(Math.max(0,1-(r\/.275)**2),.9)-.001));}const bottomGeom=new THREE.LatheGeometry(profile,128),bp=bottomGeom.attributes.position,bu=bottomGeom.attributes.uv;for(let i=0;i\u003cbp.count;i++)bu.setXY(i,(1150+bp.getX(i)\/.275*980)\/2394,1-(2170+bp.getZ(i)\/.275*980)\/4256);\n const bottomTexture=await loader.loadAsync(\"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-bottom-3d.jpg?v=1794837382\");bottomTexture.colorSpace=THREE.SRGBColorSpace;const bottom=new THREE.Mesh(bottomGeom,new THREE.MeshBasicMaterial({map:bottomTexture,side:THREE.DoubleSide}));pan.add(bottom);\n const rim=new THREE.Mesh(new THREE.LatheGeometry([new THREE.Vector2(.274,-.001),new THREE.Vector2(.28,-.0005),new THREE.Vector2(.28,.0002),new THREE.Vector2(.274,.0005)],128),new THREE.MeshStandardMaterial({color:0xaaa797,metalness:.8,roughness:.4,side:THREE.DoubleSide}));pan.add(rim);\n const hitMeshes=[],tags=[];for(const n of coords){const hit=new THREE.Mesh(new THREE.SphereGeometry(n.central?.065:.032,16,10),new THREE.MeshBasicMaterial({visible:false}));hit.position.set(n.x,height(n.x,n.z),n.z);hit.scale.y=.25;hit.userData.note=n.id;pan.add(hit);hitMeshes.push(hit);\n const glow=new THREE.Mesh(new THREE.RingGeometry(n.central?.04:.024,n.central?.05:.032,48),new THREE.MeshBasicMaterial({color:0xffffff,transparent:true,opacity:0,side:THREE.DoubleSide,depthTest:false}));glow.rotation.x=-Math.PI\/2;glow.position.copy(hit.position);glow.position.y+=.012;pan.add(glow);threeGlows.set(n.id,glow);\n const canvas=document.createElement('canvas');canvas.width=128;canvas.height=64;const cc=canvas.getContext('2d');cc.font='600 25px Arial';cc.textAlign='center';cc.fillStyle='white';cc.strokeStyle='#463420';cc.lineWidth=4;cc.strokeText(labels[n.id],64,39);cc.fillText(labels[n.id],64,39);const tag=new THREE.Sprite(new THREE.SpriteMaterial({map:new THREE.CanvasTexture(canvas),depthTest:false}));tag.position.copy(hit.position);tag.position.y+=.02;tag.scale.set(.055,.0275,1);pan.add(tag);tags.push(tag);}\n let targetX=.15,targetY=0,start=null,last=null,moved=false;const ray=new THREE.Raycaster(),pointer=new THREE.Vector2(),canvas=renderer.domElement;canvas.style.touchAction='none';canvas.setAttribute('aria-label','Trascina il modello 3D; tocca un campo per suonare');canvas.onpointerdown=e=\u003e{start={x:e.clientX,y:e.clientY};last=start;moved=false;canvas.setPointerCapture(e.pointerId);};canvas.onpointermove=e=\u003e{if(!start)return;const dx=e.clientX-last.x,dy=e.clientY-last.y;if(Math.hypot(e.clientX-start.x,e.clientY-start.y)\u003e5)moved=true;if(moved){targetY+=dx*.008;targetX+=dy*.008;}last={x:e.clientX,y:e.clientY};};canvas.onpointerup=e=\u003e{if(start\u0026\u0026!moved){const r=canvas.getBoundingClientRect();pointer.set((e.clientX-r.left)\/r.width*2-1,-(e.clientY-r.top)\/r.height*2+1);ray.setFromCamera(pointer,camera);const first=ray.intersectObjects([shell,bottom,...hitMeshes])[0];if(first?.object.userData.note)play([first.object.userData.note]);else if(first?.object===shell){const p=pan.worldToLocal(first.point.clone());const n=coords.reduce((a,b)=\u003eMath.hypot(p.x-a.x,p.z-a.z)\u003cMath.hypot(p.x-b.x,p.z-b.z)?a:b);if(Math.hypot(p.x-n.x,p.z-n.z)\u003c(n.central?.09:.065))play([n.id]);}}start=null;};canvas.onpointercancel=()=\u003estart=null;\n const presets=document.createElement('div');presets.className='sd-three-presets';for(const [label,rx]of [['Alto',.8],['Profilo',-.55],['Fondo',-2.4]]){const b=document.createElement('button');b.type='button';b.textContent=label;b.onclick=()=\u003e{targetX=rx;targetY=0;};presets.append(b);}threeHost.append(presets);\n function resize(){const w=threeHost.clientWidth,h=threeHost.clientHeight;if(!w||!h)return;renderer.setSize(w,h);camera.aspect=w\/h;camera.position.set(0,.72,.86);camera.zoom=1.35;camera.lookAt(0,0,0);camera.updateProjectionMatrix();}new ResizeObserver(resize).observe(threeHost);resize();\n renderer.setAnimationLoop(()=\u003e{if(!view3D||document.hidden||!demo.getBoundingClientRect().width)return;pan.rotation.x+=(targetX-pan.rotation.x)*.12;pan.rotation.y+=(targetY-pan.rotation.y)*.12;pan.updateMatrixWorld();const topFacing=new THREE.Vector3(0,1,0).transformDirection(pan.matrixWorld).dot(camera.position.clone().normalize())\u003e.2;tags.forEach(t=\u003et.visible=topFacing);for(const g of threeGlows.values()){const elapsed=(performance.now()-(g.userData.struck||-10000))\/700;g.material.opacity=elapsed\u003e=0\u0026\u0026elapsed\u003c1?.8*(1-elapsed):0;}renderer.render(scene,camera);});\n}\n\ndemo.addEventListener('somnia-player-stop',stop);\n})();\n\n})();\u003c\/script\u003e\u003cscript\u003e(function(){\nif(!document.getElementById('somnia-product-player'))return;\nconst old=document.querySelector('#MainContent .yv-product-gallery-slider.gallery-style');if(!old||document.getElementById('vs-somnia-gallery'))return;\nconst media=[{\"type\": \"IMAGE\", \"src\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-still-life-vibrasonic_7a02e8f5-b093-41cb-85e2-325f54aaac10.png?v=1794836167\", \"thumb\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-still-life-vibrasonic_7a02e8f5-b093-41cb-85e2-325f54aaac10.png?v=1794836167\", \"alt\": \"Somnia VibraSonic D Kurd · still life dorato\"}, {\"type\": \"IMAGE\", \"src\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/IMG_8650.jpg?v=1772450134\", \"thumb\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/IMG_8650.jpg?v=1772450134\", \"alt\": \"Handpan Somnia VibraSonic\"}, {\"type\": \"IMAGE\", \"src\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/IMG_8652.jpg?v=1772450134\", \"thumb\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/IMG_8652.jpg?v=1772450134\", \"alt\": \"Handpan Somnia VibraSonic\"}, {\"type\": \"IMAGE\", \"src\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/VideoMalte_Ema.png?v=1779691814\", \"thumb\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/VideoMalte_Ema.png?v=1779691814\", \"alt\": \"Handpan Somnia VibraSonic\"}, {\"type\": \"VIDEO\", \"src\": \"https:\/\/cdn.shopify.com\/videos\/c\/vp\/a892031cddd343978d83b037a230d718\/a892031cddd343978d83b037a230d718.HD-720p-4.5Mbps-63960378.mp4\", \"thumb\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/preview_images\/Screenshot_2025-12-23_alle_06.22.45.png?v=1766467382\", \"alt\": \"Handpan Somnia VibraSonic\"}, {\"type\": \"VIDEO\", \"src\": \"https:\/\/cdn.shopify.com\/videos\/c\/vp\/f1141b4c873b481d8b55123c463b8bd2\/f1141b4c873b481d8b55123c463b8bd2.HD-720p-4.5Mbps-76936702.mp4\", \"thumb\": \"https:\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/preview_images\/f1141b4c873b481d8b55123c463b8bd2.thumbnail.0000000000.jpg?v=1772450663\", \"alt\": \"Handpan Somnia VibraSonic\"}];\nconst style=document.createElement('style');style.textContent=`#vs-somnia-gallery{width:100%;padding:0 24px 0 0;box-sizing:border-box}#vs-somnia-gallery *{box-sizing:border-box}.vs-somnia-old-gallery{display:none!important}#vs-somnia-gallery .sg-main{width:100%;aspect-ratio:1;max-height:65vh;display:grid;place-items:center;background:#f7f4ed;border-radius:16px;overflow:hidden}#vs-somnia-gallery .sg-main\u003eimg,#vs-somnia-gallery .sg-main\u003evideo,#vs-somnia-gallery .sg-main\u003eiframe{display:block;width:100%;height:100%;object-fit:contain;border:0}#vs-somnia-gallery .sg-thumbs{display:flex;gap:9px;overflow-x:auto;padding:14px 2px 8px;scrollbar-width:thin}#vs-somnia-gallery .sg-thumbs button{position:relative;flex:0 0 78px;width:78px;height:78px;border:2px solid transparent;border-radius:10px;padding:3px;background:#f6f3eb;cursor:pointer;overflow:hidden}#vs-somnia-gallery .sg-thumbs button[aria-pressed=true]{border-color:#b28a47;background:#fff9e9}#vs-somnia-gallery .sg-thumbs button:focus-visible{outline:2px solid #315940;outline-offset:2px}#vs-somnia-gallery .sg-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:6px;display:block}#vs-somnia-gallery .sg-video-icon{position:absolute;inset:0;display:grid;place-items:center;color:white;font:700 23px Arial;text-shadow:0 1px 7px black;background:#0002;pointer-events:none}#vs-somnia-gallery .sg-caption{font:12px\/1.5 Arial,sans-serif;color:#687467;margin:6px 0 18px}@media(max-width:767px){#vs-somnia-gallery{padding:0}#vs-somnia-gallery .sg-thumbs button{flex-basis:64px;width:64px;height:64px}}`;\nstyle.textContent+=`#vs-somnia-gallery{scroll-margin-top:140px}#vs-somnia-gallery .sg-main{position:relative}#vs-somnia-gallery .sg-start{position:absolute;top:18px;left:18px;z-index:2;background:#28533f;color:#fff;border:1px solid #f0d59c;border-radius:30px;padding:13px 24px;font:700 20px\/1.2 Arial,sans-serif;cursor:pointer;box-shadow:0 5px 20px #182e3b30}#vs-somnia-gallery .sg-start:hover{background:#b28a47;color:white}#vs-somnia-gallery.sg-playing .sg-main{aspect-ratio:auto;max-height:none;height:auto;overflow:visible;display:block;background:#f5f5ed}#vs-somnia-gallery.sg-playing #somnia-product-player{display:block;width:100%}`;\ndocument.head.append(style);\nconst gallery=document.createElement('section');gallery.id='vs-somnia-gallery';gallery.setAttribute('aria-label','Foto e video del Somnia');\nconst main=document.createElement('div');main.className='sg-main';\nconst thumbs=document.createElement('div');thumbs.className='sg-thumbs';thumbs.setAttribute('aria-label','Scegli una foto o un video');\nconst caption=document.createElement('p');caption.className='sg-caption';caption.setAttribute('role','status');\ngallery.append(main,thumbs,caption);old.before(gallery);\nlet selected=0;const buttons=[];\nconst playerHost=document.getElementById('somnia-product-player');const parking=document.createElement('div');parking.hidden=true;playerHost.before(parking);parking.append(playerHost);\nconst playerDemo=playerHost.shadowRoot?.querySelector('.hp-demo');\nif(playerDemo){\n const instrument=playerDemo.children[0],controls=playerDemo.children[1];instrument.classList.add('sg-instrument');controls.classList.add('sg-controls');\n const toolbar=document.createElement('div');toolbar.className='sg-player-toolbar';\n const back=document.createElement('button');back.type='button';back.className='sg-player-back';back.textContent='← Torna a foto e video';back.onclick=returnToMedia;\n const full=playerDemo.querySelector('.sd-fullscreen');const views=playerDemo.querySelector('.sd-view-tabs');toolbar.append(back,views,full);playerDemo.prepend(toolbar);\n const footerBack=back.cloneNode(true);footerBack.classList.add('sg-player-back-bottom');footerBack.onclick=returnToMedia;controls.append(footerBack);\n playerDemo.querySelector('h2').textContent='Suona il Somnia';\n const intro=controls.querySelector('h2 + p');if(intro)intro.innerHTML='\u003cstrong\u003eRegistrato direttamente dallo strumento, senza effetti.\u003c\/strong\u003e Tocca le note o segui una melodia.';\n const compactStyle=document.createElement('style');compactStyle.textContent=`\n :host{container-type:inline-size}\n .sg-player-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;grid-column:1\/-1;margin:0 0 12px}\n .sg-player-back{border:1px solid #b7c9b5;background:#315640;color:white;border-radius:24px;padding:10px 14px;font:600 12px\/1.3 Arial,sans-serif;cursor:pointer}\n .sg-player-back:focus-visible{outline:2px solid #b58b43;outline-offset:3px}\n .sg-player-back-bottom{margin-top:10px;width:100%;background:transparent;color:#315640;border-color:#c7d2c1}\n .sg-instrument\u003e.sd-view-tools{display:none}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen){margin:0;border:1px solid #dce3d4;border-radius:16px;padding:16px;display:grid;grid-template-columns:minmax(0,1fr);gap:0;background:linear-gradient(135deg,#edf1e6,#fffdf5);align-items:start}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-stage{max-width:340px;width:100%;margin:auto}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sg-instrument\u003e.sd-caption{display:none}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) h2{font:700 23px\/1.15 Arial,sans-serif;margin:8px 0 10px;color:#294d38}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .pf-kicker{display:none}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sg-controls\u003ep:not(.sd-help):not(.sd-caption){font-size:12px;line-height:1.5;margin:0 0 12px}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-keys{gap:5px;margin:8px 0 12px}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-keys button{padding:6px 8px;font-size:11px;border-radius:9px}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-controls{display:grid;grid-template-columns:72px minmax(0,1fr);gap:9px;margin-top:10px;align-items:end}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-controls label:first-child{grid-column:1\/-1;width:auto}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-controls label{font-size:11px;min-width:0}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-controls input,.hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-controls select{width:100%;padding:9px;font-size:12px}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-play{font-size:12px;padding:11px 12px;width:100%}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-score{max-height:94px;margin:12px 0 8px;gap:5px}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-score span{padding:8px;font-size:12px}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-help{font-size:11px!important;line-height:1.5;margin:6px 0}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sd-cta{display:none}\n .hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sg-controls\u003e.sd-caption{display:none}\n @container(min-width:580px){.hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen){grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:20px}.hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) .sg-instrument{align-self:center}.hp-demo.sg-compact:not(.sd-expanded):not(:fullscreen) h2{margin-top:0}}\n .hp-demo.sg-compact.sd-expanded .sg-player-toolbar,.hp-demo.sg-compact:fullscreen .sg-player-toolbar{grid-column:1\/-1;margin:0;position:sticky;top:0;z-index:3}\n `;playerHost.shadowRoot.append(compactStyle);playerDemo.classList.add('sg-compact');\n}\nasync function returnToMedia(){\n if(document.fullscreenElement)await document.exitFullscreen();\n else if(playerDemo?.classList.contains('sd-expanded'))playerDemo.querySelector('.sd-fullscreen').click();\n select(0,false);main.scrollTop=0;gallery.scrollIntoView({behavior:'smooth',block:'start'});gallery.querySelector('.sg-start')?.focus({preventScroll:true});\n}\nfunction parkPlayer(){if(main.contains(playerHost)){playerDemo?.dispatchEvent(new Event('somnia-player-stop'));const stop=playerHost.shadowRoot?.querySelector('.sd-play');if(stop?.getAttribute('aria-pressed')==='true')stop.click();parking.append(playerHost);}gallery.classList.remove('sg-playing');}\nfunction showPlayer(){main.querySelectorAll('video').forEach(v=\u003e{v.pause();v.removeAttribute('src');v.load();});main.replaceChildren();main.append(playerHost);gallery.classList.add('sg-playing');buttons.forEach(b=\u003eb.setAttribute('aria-pressed','false'));caption.textContent='Tocca le note per suonare. Le miniature riportano alle foto e ai video.';}\ndocument.querySelectorAll('a[href=\"#somnia-product-player\"]').forEach(a=\u003ea.addEventListener('click',e=\u003e{e.preventDefault();showPlayer();gallery.scrollIntoView({behavior:'smooth',block:'start'});}));\nfunction select(index,play){parkPlayer();selected=index;main.querySelectorAll('video').forEach(v=\u003e{v.pause();v.removeAttribute('src');v.load();});old.querySelectorAll('video').forEach(v=\u003ev.pause());main.replaceChildren();const m=media[index];let el;\nif(m.type==='VIDEO'){el=document.createElement('video');el.src=m.src;el.poster=m.thumb;el.controls=true;el.preload='none';el.setAttribute('playsinline','');el.setAttribute('aria-label','Video Somnia '+(index+1));}\nelse if(m.type==='EXTERNAL_VIDEO'){el=document.createElement('iframe');el.src=m.src;el.title='Video Somnia';el.allow='autoplay; fullscreen; picture-in-picture';el.setAttribute('allowfullscreen','');}\nelse{el=document.createElement('img');el.src=m.src;el.alt=m.alt;el.decoding='async';}\nmain.append(el);if(index===0\u0026\u0026m.type==='IMAGE'){const start=document.createElement('button');start.type='button';start.className='sg-start';start.textContent='♫ Suona! Provalo ora!';start.setAttribute('aria-label','Suona il Somnia nella foto');start.onclick=showPlayer;main.append(start);}buttons.forEach((b,i)=\u003eb.setAttribute('aria-pressed',String(i===index)));caption.textContent=(m.type==='IMAGE'?'Foto':'Video')+' '+(index+1)+' di '+media.length+' · '+(m.type==='IMAGE'?'Scegli una miniatura per cambiare immagine.':'Usa i controlli per guardare e ascoltare.');\nif(play\u0026\u0026el.tagName==='VIDEO')el.play().catch(()=\u003e{});\n}\nmedia.forEach((m,i)=\u003e{const button=document.createElement('button');button.type='button';button.setAttribute('aria-label',(m.type==='IMAGE'?'Mostra foto ':'Guarda video ')+(i+1)+' del Somnia');button.setAttribute('aria-pressed','false');const img=document.createElement('img');img.src=m.thumb;img.alt='';img.loading='lazy';button.append(img);if(m.type!=='IMAGE'){const icon=document.createElement('span');icon.className='sg-video-icon';icon.textContent='▶';button.append(icon);}button.onclick=()=\u003eselect(i,true);button.onkeydown=e=\u003e{if(e.key==='ArrowRight'||e.key==='ArrowLeft'){e.preventDefault();const next=(selected+(e.key==='ArrowRight'?1:-1)+media.length)%media.length;select(next,false);buttons[next].focus();}};buttons.push(button);thumbs.append(button);});\nselect(0,false);old.classList.add('vs-somnia-old-gallery');\nif(new URLSearchParams(location.search).get('suona')==='1'){showPlayer();gallery.scrollIntoView({behavior:'smooth',block:'start'});}\n})();\n\u003c\/script\u003e","brand":"VibraSonic","offers":[{"title":"Default","offer_id":57502717477129,"sku":null,"price":899.0,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0678\/1783\/2713\/files\/somnia-still-life-vibrasonic_7a02e8f5-b093-41cb-85e2-325f54aaac10.png?v=1794836167","url":"https:\/\/www.vibrasonic.it\/products\/handpan-somnia-super-offerta","provider":"VibraSonic Music Store","version":"1.0","type":"link"}