diff --git a/dist/css/ckeditor-icons.css b/dist/css/ckeditor-icons.css index 0d0f73040..afbdd06c7 100644 --- a/dist/css/ckeditor-icons.css +++ b/dist/css/ckeditor-icons.css @@ -1 +1 @@ -[data-selected-icon=helsinki-ru]::before{-webkit-mask-image:var(--hel-icon--helsinki-ru);mask-image:var(--hel-icon--helsinki-ru)}[data-selected-icon=helsinki-sv]::before{-webkit-mask-image:var(--hel-icon--helsinki-sv);mask-image:var(--hel-icon--helsinki-sv)}[data-selected-icon=helsinki]::before{-webkit-mask-image:var(--hel-icon--helsinki);mask-image:var(--hel-icon--helsinki)}[data-selected-icon=email]::before{-webkit-mask-image:var(--hel-icon--email);mask-image:var(--hel-icon--email)}[data-selected-icon=abstract-1]::before{-webkit-mask-image:var(--hel-icon--abstract-1);mask-image:var(--hel-icon--abstract-1)}[data-selected-icon=abstract-2]::before{-webkit-mask-image:var(--hel-icon--abstract-2);mask-image:var(--hel-icon--abstract-2)}[data-selected-icon=abstract-3]::before{-webkit-mask-image:var(--hel-icon--abstract-3);mask-image:var(--hel-icon--abstract-3)}[data-selected-icon=abstract-4]::before{-webkit-mask-image:var(--hel-icon--abstract-4);mask-image:var(--hel-icon--abstract-4)}[data-selected-icon=abstract-5]::before{-webkit-mask-image:var(--hel-icon--abstract-5);mask-image:var(--hel-icon--abstract-5)}[data-selected-icon=abstract-6]::before{-webkit-mask-image:var(--hel-icon--abstract-6);mask-image:var(--hel-icon--abstract-6)}[data-selected-icon=hero-arrow-desktop]::before{-webkit-mask-image:var(--hel-icon--hero-arrow-desktop);mask-image:var(--hel-icon--hero-arrow-desktop)}[data-selected-icon=hero-arrow-mobile]::before{-webkit-mask-image:var(--hel-icon--hero-arrow-mobile);mask-image:var(--hel-icon--hero-arrow-mobile)}[data-selected-icon=info]::before{-webkit-mask-image:var(--hel-icon--info);mask-image:var(--hel-icon--info)}[data-selected-icon=link-external]::before{-webkit-mask-image:var(--hel-icon--link-external);mask-image:var(--hel-icon--link-external)}[data-selected-icon=mailto]::before{-webkit-mask-image:var(--hel-icon--mailto);mask-image:var(--hel-icon--mailto)}[data-selected-icon=tel]::before{-webkit-mask-image:var(--hel-icon--tel);mask-image:var(--hel-icon--tel)}[data-selected-icon=discord]::before{-webkit-mask-image:var(--hel-icon--discord);mask-image:var(--hel-icon--discord)}[data-selected-icon=facebook]::before{-webkit-mask-image:var(--hel-icon--facebook);mask-image:var(--hel-icon--facebook)}[data-selected-icon=google]::before{-webkit-mask-image:var(--hel-icon--google);mask-image:var(--hel-icon--google)}[data-selected-icon=instagram]::before{-webkit-mask-image:var(--hel-icon--instagram);mask-image:var(--hel-icon--instagram)}[data-selected-icon=linkedin]::before{-webkit-mask-image:var(--hel-icon--linkedin);mask-image:var(--hel-icon--linkedin)}[data-selected-icon=rss]::before{-webkit-mask-image:var(--hel-icon--rss);mask-image:var(--hel-icon--rss)}[data-selected-icon=snapchat]::before{-webkit-mask-image:var(--hel-icon--snapchat);mask-image:var(--hel-icon--snapchat)}[data-selected-icon=tiktok]::before{-webkit-mask-image:var(--hel-icon--tiktok);mask-image:var(--hel-icon--tiktok)}[data-selected-icon=twitch]::before{-webkit-mask-image:var(--hel-icon--twitch);mask-image:var(--hel-icon--twitch)}[data-selected-icon=twitter]::before{-webkit-mask-image:var(--hel-icon--twitter);mask-image:var(--hel-icon--twitter)}[data-selected-icon=vimeo]::before{-webkit-mask-image:var(--hel-icon--vimeo);mask-image:var(--hel-icon--vimeo)}[data-selected-icon=whatsapp]::before{-webkit-mask-image:var(--hel-icon--whatsapp);mask-image:var(--hel-icon--whatsapp)}[data-selected-icon=yle]::before{-webkit-mask-image:var(--hel-icon--yle);mask-image:var(--hel-icon--yle)}[data-selected-icon=youtube]::before{-webkit-mask-image:var(--hel-icon--youtube);mask-image:var(--hel-icon--youtube)}[data-selected-icon=alert-circle-fill]::before{-webkit-mask-image:var(--hel-icon--alert-circle-fill);mask-image:var(--hel-icon--alert-circle-fill)}[data-selected-icon=alert-circle]::before{-webkit-mask-image:var(--hel-icon--alert-circle);mask-image:var(--hel-icon--alert-circle)}[data-selected-icon=angle-down]::before{-webkit-mask-image:var(--hel-icon--angle-down);mask-image:var(--hel-icon--angle-down)}[data-selected-icon=angle-left]::before{-webkit-mask-image:var(--hel-icon--angle-left);mask-image:var(--hel-icon--angle-left)}[data-selected-icon=angle-right]::before{-webkit-mask-image:var(--hel-icon--angle-right);mask-image:var(--hel-icon--angle-right)}[data-selected-icon=angle-up]::before{-webkit-mask-image:var(--hel-icon--angle-up);mask-image:var(--hel-icon--angle-up)}[data-selected-icon=arrow-left]::before{-webkit-mask-image:var(--hel-icon--arrow-left);mask-image:var(--hel-icon--arrow-left)}[data-selected-icon=arrow-right]::before{-webkit-mask-image:var(--hel-icon--arrow-right);mask-image:var(--hel-icon--arrow-right)}[data-selected-icon=arrow-up]::before{-webkit-mask-image:var(--hel-icon--arrow-up);mask-image:var(--hel-icon--arrow-up)}[data-selected-icon=calendar-clock]::before{-webkit-mask-image:var(--hel-icon--calendar-clock);mask-image:var(--hel-icon--calendar-clock)}[data-selected-icon=calendar]::before{-webkit-mask-image:var(--hel-icon--calendar);mask-image:var(--hel-icon--calendar)}[data-selected-icon=camera]::before{-webkit-mask-image:var(--hel-icon--camera);mask-image:var(--hel-icon--camera)}[data-selected-icon=check-circle-fill]::before{-webkit-mask-image:var(--hel-icon--check-circle-fill);mask-image:var(--hel-icon--check-circle-fill)}[data-selected-icon=check-circle]::before{-webkit-mask-image:var(--hel-icon--check-circle);mask-image:var(--hel-icon--check-circle)}[data-selected-icon=check]::before{-webkit-mask-image:var(--hel-icon--check);mask-image:var(--hel-icon--check)}[data-selected-icon=clock]::before{-webkit-mask-image:var(--hel-icon--clock);mask-image:var(--hel-icon--clock)}[data-selected-icon=cogwheel]::before{-webkit-mask-image:var(--hel-icon--cogwheel);mask-image:var(--hel-icon--cogwheel)}[data-selected-icon=cross-circle]::before{-webkit-mask-image:var(--hel-icon--cross-circle);mask-image:var(--hel-icon--cross-circle)}[data-selected-icon=cross]::before{-webkit-mask-image:var(--hel-icon--cross);mask-image:var(--hel-icon--cross)}[data-selected-icon=customer-bot-neutral]::before{-webkit-mask-image:var(--hel-icon--customer-bot-neutral);mask-image:var(--hel-icon--customer-bot-neutral)}[data-selected-icon=display]::before{-webkit-mask-image:var(--hel-icon--display);mask-image:var(--hel-icon--display)}[data-selected-icon=document]::before{-webkit-mask-image:var(--hel-icon--document);mask-image:var(--hel-icon--document)}[data-selected-icon=download-cloud]::before{-webkit-mask-image:var(--hel-icon--download-cloud);mask-image:var(--hel-icon--download-cloud)}[data-selected-icon=download]::before{-webkit-mask-image:var(--hel-icon--download);mask-image:var(--hel-icon--download)}[data-selected-icon=envelope]::before{-webkit-mask-image:var(--hel-icon--envelope);mask-image:var(--hel-icon--envelope)}[data-selected-icon=error-fill]::before{-webkit-mask-image:var(--hel-icon--error-fill);mask-image:var(--hel-icon--error-fill)}[data-selected-icon=error]::before{-webkit-mask-image:var(--hel-icon--error);mask-image:var(--hel-icon--error)}[data-selected-icon=eye-crossed]::before{-webkit-mask-image:var(--hel-icon--eye-crossed);mask-image:var(--hel-icon--eye-crossed)}[data-selected-icon=eye]::before{-webkit-mask-image:var(--hel-icon--eye);mask-image:var(--hel-icon--eye)}[data-selected-icon=face-neutral]::before{-webkit-mask-image:var(--hel-icon--face-neutral);mask-image:var(--hel-icon--face-neutral)}[data-selected-icon=face-sad]::before{-webkit-mask-image:var(--hel-icon--face-sad);mask-image:var(--hel-icon--face-sad)}[data-selected-icon=face-smile]::before{-webkit-mask-image:var(--hel-icon--face-smile);mask-image:var(--hel-icon--face-smile)}[data-selected-icon=globe]::before{-webkit-mask-image:var(--hel-icon--globe);mask-image:var(--hel-icon--globe)}[data-selected-icon=glyph-at]::before{-webkit-mask-image:var(--hel-icon--glyph-at);mask-image:var(--hel-icon--glyph-at)}[data-selected-icon=glyph-euro]::before{-webkit-mask-image:var(--hel-icon--glyph-euro);mask-image:var(--hel-icon--glyph-euro)}[data-selected-icon=group]::before{-webkit-mask-image:var(--hel-icon--group);mask-image:var(--hel-icon--group)}[data-selected-icon=heart-fill]::before{-webkit-mask-image:var(--hel-icon--heart-fill);mask-image:var(--hel-icon--heart-fill)}[data-selected-icon=heart]::before{-webkit-mask-image:var(--hel-icon--heart);mask-image:var(--hel-icon--heart)}[data-selected-icon=home-smoke]::before{-webkit-mask-image:var(--hel-icon--home-smoke);mask-image:var(--hel-icon--home-smoke)}[data-selected-icon=home]::before{-webkit-mask-image:var(--hel-icon--home);mask-image:var(--hel-icon--home)}[data-selected-icon=info-circle-fill]::before{-webkit-mask-image:var(--hel-icon--info-circle-fill);mask-image:var(--hel-icon--info-circle-fill)}[data-selected-icon=info-circle]::before{-webkit-mask-image:var(--hel-icon--info-circle);mask-image:var(--hel-icon--info-circle)}[data-selected-icon=layers]::before{-webkit-mask-image:var(--hel-icon--layers);mask-image:var(--hel-icon--layers)}[data-selected-icon=link]::before{-webkit-mask-image:var(--hel-icon--link);mask-image:var(--hel-icon--link)}[data-selected-icon=locate]::before{-webkit-mask-image:var(--hel-icon--locate);mask-image:var(--hel-icon--locate)}[data-selected-icon=location]::before{-webkit-mask-image:var(--hel-icon--location);mask-image:var(--hel-icon--location)}[data-selected-icon=map]::before{-webkit-mask-image:var(--hel-icon--map);mask-image:var(--hel-icon--map)}[data-selected-icon=menu-dots]::before{-webkit-mask-image:var(--hel-icon--menu-dots);mask-image:var(--hel-icon--menu-dots)}[data-selected-icon=menu-hamburger]::before{-webkit-mask-image:var(--hel-icon--menu-hamburger);mask-image:var(--hel-icon--menu-hamburger)}[data-selected-icon=minus-circle-fill]::before{-webkit-mask-image:var(--hel-icon--minus-circle-fill);mask-image:var(--hel-icon--minus-circle-fill)}[data-selected-icon=minus-circle]::before{-webkit-mask-image:var(--hel-icon--minus-circle);mask-image:var(--hel-icon--minus-circle)}[data-selected-icon=minus]::before{-webkit-mask-image:var(--hel-icon--minus);mask-image:var(--hel-icon--minus)}[data-selected-icon=mobile]::before{-webkit-mask-image:var(--hel-icon--mobile);mask-image:var(--hel-icon--mobile)}[data-selected-icon=paperclip]::before{-webkit-mask-image:var(--hel-icon--paperclip);mask-image:var(--hel-icon--paperclip)}[data-selected-icon=person-female]::before{-webkit-mask-image:var(--hel-icon--person-female);mask-image:var(--hel-icon--person-female)}[data-selected-icon=person-male]::before{-webkit-mask-image:var(--hel-icon--person-male);mask-image:var(--hel-icon--person-male)}[data-selected-icon=person-wheelchair]::before{-webkit-mask-image:var(--hel-icon--person-wheelchair);mask-image:var(--hel-icon--person-wheelchair)}[data-selected-icon=phone]::before{-webkit-mask-image:var(--hel-icon--phone);mask-image:var(--hel-icon--phone)}[data-selected-icon=photo]::before{-webkit-mask-image:var(--hel-icon--photo);mask-image:var(--hel-icon--photo)}[data-selected-icon=plus-circle-fill]::before{-webkit-mask-image:var(--hel-icon--plus-circle-fill);mask-image:var(--hel-icon--plus-circle-fill)}[data-selected-icon=plus-circle]::before{-webkit-mask-image:var(--hel-icon--plus-circle);mask-image:var(--hel-icon--plus-circle)}[data-selected-icon=plus]::before{-webkit-mask-image:var(--hel-icon--plus);mask-image:var(--hel-icon--plus)}[data-selected-icon=podcast]::before{-webkit-mask-image:var(--hel-icon--podcast);mask-image:var(--hel-icon--podcast)}[data-selected-icon=printer]::before{-webkit-mask-image:var(--hel-icon--printer);mask-image:var(--hel-icon--printer)}[data-selected-icon=question-circle-fill]::before{-webkit-mask-image:var(--hel-icon--question-circle-fill);mask-image:var(--hel-icon--question-circle-fill)}[data-selected-icon=question-circle]::before{-webkit-mask-image:var(--hel-icon--question-circle);mask-image:var(--hel-icon--question-circle)}[data-selected-icon=refresh]::before{-webkit-mask-image:var(--hel-icon--refresh);mask-image:var(--hel-icon--refresh)}[data-selected-icon=search]::before{-webkit-mask-image:var(--hel-icon--search);mask-image:var(--hel-icon--search)}[data-selected-icon=share]::before{-webkit-mask-image:var(--hel-icon--share);mask-image:var(--hel-icon--share)}[data-selected-icon=signin]::before{-webkit-mask-image:var(--hel-icon--signin);mask-image:var(--hel-icon--signin)}[data-selected-icon=signout]::before{-webkit-mask-image:var(--hel-icon--signout);mask-image:var(--hel-icon--signout)}[data-selected-icon=sort-alphabetical-ascending]::before{-webkit-mask-image:var(--hel-icon--sort-alphabetical-ascending);mask-image:var(--hel-icon--sort-alphabetical-ascending)}[data-selected-icon=sort-alphabetical-descending]::before{-webkit-mask-image:var(--hel-icon--sort-alphabetical-descending);mask-image:var(--hel-icon--sort-alphabetical-descending)}[data-selected-icon=sort-ascending]::before{-webkit-mask-image:var(--hel-icon--sort-ascending);mask-image:var(--hel-icon--sort-ascending)}[data-selected-icon=sort-descending]::before{-webkit-mask-image:var(--hel-icon--sort-descending);mask-image:var(--hel-icon--sort-descending)}[data-selected-icon=sort]::before{-webkit-mask-image:var(--hel-icon--sort);mask-image:var(--hel-icon--sort)}[data-selected-icon=speechbubble-text]::before{-webkit-mask-image:var(--hel-icon--speechbubble-text);mask-image:var(--hel-icon--speechbubble-text)}[data-selected-icon=speechbubble]::before{-webkit-mask-image:var(--hel-icon--speechbubble);mask-image:var(--hel-icon--speechbubble)}[data-selected-icon=star-fill]::before{-webkit-mask-image:var(--hel-icon--star-fill);mask-image:var(--hel-icon--star-fill)}[data-selected-icon=star]::before{-webkit-mask-image:var(--hel-icon--star);mask-image:var(--hel-icon--star)}[data-selected-icon=ticket]::before{-webkit-mask-image:var(--hel-icon--ticket);mask-image:var(--hel-icon--ticket)}[data-selected-icon=trash]::before{-webkit-mask-image:var(--hel-icon--trash);mask-image:var(--hel-icon--trash)}[data-selected-icon=upload-cloud]::before{-webkit-mask-image:var(--hel-icon--upload-cloud);mask-image:var(--hel-icon--upload-cloud)}[data-selected-icon=upload]::before{-webkit-mask-image:var(--hel-icon--upload);mask-image:var(--hel-icon--upload)}[data-selected-icon=user]::before{-webkit-mask-image:var(--hel-icon--user);mask-image:var(--hel-icon--user)}[data-selected-icon=wifi-crossed]::before{-webkit-mask-image:var(--hel-icon--wifi-crossed);mask-image:var(--hel-icon--wifi-crossed)}[data-selected-icon=wifi]::before{-webkit-mask-image:var(--hel-icon--wifi);mask-image:var(--hel-icon--wifi)}[data-selected-icon=zoom-in]::before{-webkit-mask-image:var(--hel-icon--zoom-in);mask-image:var(--hel-icon--zoom-in)}[data-selected-icon=zoom-out]::before{-webkit-mask-image:var(--hel-icon--zoom-out);mask-image:var(--hel-icon--zoom-out)}[data-selected-icon=zoom-text]::before{-webkit-mask-image:var(--hel-icon--zoom-text);mask-image:var(--hel-icon--zoom-text)} \ No newline at end of file +[data-selected-icon=zoom-text]::before{-webkit-mask-image:var(--hel-icon--zoom-text);mask-image:var(--hel-icon--zoom-text)}[data-selected-icon=zoom-out]::before{-webkit-mask-image:var(--hel-icon--zoom-out);mask-image:var(--hel-icon--zoom-out)}[data-selected-icon=zoom-in]::before{-webkit-mask-image:var(--hel-icon--zoom-in);mask-image:var(--hel-icon--zoom-in)}[data-selected-icon=wifi]::before{-webkit-mask-image:var(--hel-icon--wifi);mask-image:var(--hel-icon--wifi)}[data-selected-icon=wifi-crossed]::before{-webkit-mask-image:var(--hel-icon--wifi-crossed);mask-image:var(--hel-icon--wifi-crossed)}[data-selected-icon=user]::before{-webkit-mask-image:var(--hel-icon--user);mask-image:var(--hel-icon--user)}[data-selected-icon=upload]::before{-webkit-mask-image:var(--hel-icon--upload);mask-image:var(--hel-icon--upload)}[data-selected-icon=upload-cloud]::before{-webkit-mask-image:var(--hel-icon--upload-cloud);mask-image:var(--hel-icon--upload-cloud)}[data-selected-icon=trash]::before{-webkit-mask-image:var(--hel-icon--trash);mask-image:var(--hel-icon--trash)}[data-selected-icon=ticket]::before{-webkit-mask-image:var(--hel-icon--ticket);mask-image:var(--hel-icon--ticket)}[data-selected-icon=star]::before{-webkit-mask-image:var(--hel-icon--star);mask-image:var(--hel-icon--star)}[data-selected-icon=star-fill]::before{-webkit-mask-image:var(--hel-icon--star-fill);mask-image:var(--hel-icon--star-fill)}[data-selected-icon=speechbubble]::before{-webkit-mask-image:var(--hel-icon--speechbubble);mask-image:var(--hel-icon--speechbubble)}[data-selected-icon=speechbubble-text]::before{-webkit-mask-image:var(--hel-icon--speechbubble-text);mask-image:var(--hel-icon--speechbubble-text)}[data-selected-icon=sort]::before{-webkit-mask-image:var(--hel-icon--sort);mask-image:var(--hel-icon--sort)}[data-selected-icon=sort-descending]::before{-webkit-mask-image:var(--hel-icon--sort-descending);mask-image:var(--hel-icon--sort-descending)}[data-selected-icon=sort-ascending]::before{-webkit-mask-image:var(--hel-icon--sort-ascending);mask-image:var(--hel-icon--sort-ascending)}[data-selected-icon=sort-alphabetical-descending]::before{-webkit-mask-image:var(--hel-icon--sort-alphabetical-descending);mask-image:var(--hel-icon--sort-alphabetical-descending)}[data-selected-icon=sort-alphabetical-ascending]::before{-webkit-mask-image:var(--hel-icon--sort-alphabetical-ascending);mask-image:var(--hel-icon--sort-alphabetical-ascending)}[data-selected-icon=signout]::before{-webkit-mask-image:var(--hel-icon--signout);mask-image:var(--hel-icon--signout)}[data-selected-icon=signin]::before{-webkit-mask-image:var(--hel-icon--signin);mask-image:var(--hel-icon--signin)}[data-selected-icon=share]::before{-webkit-mask-image:var(--hel-icon--share);mask-image:var(--hel-icon--share)}[data-selected-icon=search]::before{-webkit-mask-image:var(--hel-icon--search);mask-image:var(--hel-icon--search)}[data-selected-icon=refresh]::before{-webkit-mask-image:var(--hel-icon--refresh);mask-image:var(--hel-icon--refresh)}[data-selected-icon=question-circle]::before{-webkit-mask-image:var(--hel-icon--question-circle);mask-image:var(--hel-icon--question-circle)}[data-selected-icon=question-circle-fill]::before{-webkit-mask-image:var(--hel-icon--question-circle-fill);mask-image:var(--hel-icon--question-circle-fill)}[data-selected-icon=printer]::before{-webkit-mask-image:var(--hel-icon--printer);mask-image:var(--hel-icon--printer)}[data-selected-icon=podcast]::before{-webkit-mask-image:var(--hel-icon--podcast);mask-image:var(--hel-icon--podcast)}[data-selected-icon=plus]::before{-webkit-mask-image:var(--hel-icon--plus);mask-image:var(--hel-icon--plus)}[data-selected-icon=plus-circle]::before{-webkit-mask-image:var(--hel-icon--plus-circle);mask-image:var(--hel-icon--plus-circle)}[data-selected-icon=plus-circle-fill]::before{-webkit-mask-image:var(--hel-icon--plus-circle-fill);mask-image:var(--hel-icon--plus-circle-fill)}[data-selected-icon=photo]::before{-webkit-mask-image:var(--hel-icon--photo);mask-image:var(--hel-icon--photo)}[data-selected-icon=phone]::before{-webkit-mask-image:var(--hel-icon--phone);mask-image:var(--hel-icon--phone)}[data-selected-icon=person-wheelchair]::before{-webkit-mask-image:var(--hel-icon--person-wheelchair);mask-image:var(--hel-icon--person-wheelchair)}[data-selected-icon=person-male]::before{-webkit-mask-image:var(--hel-icon--person-male);mask-image:var(--hel-icon--person-male)}[data-selected-icon=person-female]::before{-webkit-mask-image:var(--hel-icon--person-female);mask-image:var(--hel-icon--person-female)}[data-selected-icon=paperclip]::before{-webkit-mask-image:var(--hel-icon--paperclip);mask-image:var(--hel-icon--paperclip)}[data-selected-icon=mobile]::before{-webkit-mask-image:var(--hel-icon--mobile);mask-image:var(--hel-icon--mobile)}[data-selected-icon=minus]::before{-webkit-mask-image:var(--hel-icon--minus);mask-image:var(--hel-icon--minus)}[data-selected-icon=minus-circle]::before{-webkit-mask-image:var(--hel-icon--minus-circle);mask-image:var(--hel-icon--minus-circle)}[data-selected-icon=minus-circle-fill]::before{-webkit-mask-image:var(--hel-icon--minus-circle-fill);mask-image:var(--hel-icon--minus-circle-fill)}[data-selected-icon=menu-hamburger]::before{-webkit-mask-image:var(--hel-icon--menu-hamburger);mask-image:var(--hel-icon--menu-hamburger)}[data-selected-icon=menu-dots]::before{-webkit-mask-image:var(--hel-icon--menu-dots);mask-image:var(--hel-icon--menu-dots)}[data-selected-icon=map]::before{-webkit-mask-image:var(--hel-icon--map);mask-image:var(--hel-icon--map)}[data-selected-icon=location]::before{-webkit-mask-image:var(--hel-icon--location);mask-image:var(--hel-icon--location)}[data-selected-icon=locate]::before{-webkit-mask-image:var(--hel-icon--locate);mask-image:var(--hel-icon--locate)}[data-selected-icon=link]::before{-webkit-mask-image:var(--hel-icon--link);mask-image:var(--hel-icon--link)}[data-selected-icon=layers]::before{-webkit-mask-image:var(--hel-icon--layers);mask-image:var(--hel-icon--layers)}[data-selected-icon=info-circle]::before{-webkit-mask-image:var(--hel-icon--info-circle);mask-image:var(--hel-icon--info-circle)}[data-selected-icon=info-circle-fill]::before{-webkit-mask-image:var(--hel-icon--info-circle-fill);mask-image:var(--hel-icon--info-circle-fill)}[data-selected-icon=home]::before{-webkit-mask-image:var(--hel-icon--home);mask-image:var(--hel-icon--home)}[data-selected-icon=home-smoke]::before{-webkit-mask-image:var(--hel-icon--home-smoke);mask-image:var(--hel-icon--home-smoke)}[data-selected-icon=heart]::before{-webkit-mask-image:var(--hel-icon--heart);mask-image:var(--hel-icon--heart)}[data-selected-icon=heart-fill]::before{-webkit-mask-image:var(--hel-icon--heart-fill);mask-image:var(--hel-icon--heart-fill)}[data-selected-icon=group]::before{-webkit-mask-image:var(--hel-icon--group);mask-image:var(--hel-icon--group)}[data-selected-icon=glyph-euro]::before{-webkit-mask-image:var(--hel-icon--glyph-euro);mask-image:var(--hel-icon--glyph-euro)}[data-selected-icon=glyph-at]::before{-webkit-mask-image:var(--hel-icon--glyph-at);mask-image:var(--hel-icon--glyph-at)}[data-selected-icon=globe]::before{-webkit-mask-image:var(--hel-icon--globe);mask-image:var(--hel-icon--globe)}[data-selected-icon=face-smile]::before{-webkit-mask-image:var(--hel-icon--face-smile);mask-image:var(--hel-icon--face-smile)}[data-selected-icon=face-sad]::before{-webkit-mask-image:var(--hel-icon--face-sad);mask-image:var(--hel-icon--face-sad)}[data-selected-icon=face-neutral]::before{-webkit-mask-image:var(--hel-icon--face-neutral);mask-image:var(--hel-icon--face-neutral)}[data-selected-icon=eye]::before{-webkit-mask-image:var(--hel-icon--eye);mask-image:var(--hel-icon--eye)}[data-selected-icon=eye-crossed]::before{-webkit-mask-image:var(--hel-icon--eye-crossed);mask-image:var(--hel-icon--eye-crossed)}[data-selected-icon=error]::before{-webkit-mask-image:var(--hel-icon--error);mask-image:var(--hel-icon--error)}[data-selected-icon=error-fill]::before{-webkit-mask-image:var(--hel-icon--error-fill);mask-image:var(--hel-icon--error-fill)}[data-selected-icon=envelope]::before{-webkit-mask-image:var(--hel-icon--envelope);mask-image:var(--hel-icon--envelope)}[data-selected-icon=download]::before{-webkit-mask-image:var(--hel-icon--download);mask-image:var(--hel-icon--download)}[data-selected-icon=download-cloud]::before{-webkit-mask-image:var(--hel-icon--download-cloud);mask-image:var(--hel-icon--download-cloud)}[data-selected-icon=document]::before{-webkit-mask-image:var(--hel-icon--document);mask-image:var(--hel-icon--document)}[data-selected-icon=display]::before{-webkit-mask-image:var(--hel-icon--display);mask-image:var(--hel-icon--display)}[data-selected-icon=customer-bot-neutral]::before{-webkit-mask-image:var(--hel-icon--customer-bot-neutral);mask-image:var(--hel-icon--customer-bot-neutral)}[data-selected-icon=cross]::before{-webkit-mask-image:var(--hel-icon--cross);mask-image:var(--hel-icon--cross)}[data-selected-icon=cross-circle]::before{-webkit-mask-image:var(--hel-icon--cross-circle);mask-image:var(--hel-icon--cross-circle)}[data-selected-icon=cogwheel]::before{-webkit-mask-image:var(--hel-icon--cogwheel);mask-image:var(--hel-icon--cogwheel)}[data-selected-icon=clock]::before{-webkit-mask-image:var(--hel-icon--clock);mask-image:var(--hel-icon--clock)}[data-selected-icon=check]::before{-webkit-mask-image:var(--hel-icon--check);mask-image:var(--hel-icon--check)}[data-selected-icon=check-circle]::before{-webkit-mask-image:var(--hel-icon--check-circle);mask-image:var(--hel-icon--check-circle)}[data-selected-icon=check-circle-fill]::before{-webkit-mask-image:var(--hel-icon--check-circle-fill);mask-image:var(--hel-icon--check-circle-fill)}[data-selected-icon=camera]::before{-webkit-mask-image:var(--hel-icon--camera);mask-image:var(--hel-icon--camera)}[data-selected-icon=calendar]::before{-webkit-mask-image:var(--hel-icon--calendar);mask-image:var(--hel-icon--calendar)}[data-selected-icon=calendar-clock]::before{-webkit-mask-image:var(--hel-icon--calendar-clock);mask-image:var(--hel-icon--calendar-clock)}[data-selected-icon=arrow-up]::before{-webkit-mask-image:var(--hel-icon--arrow-up);mask-image:var(--hel-icon--arrow-up)}[data-selected-icon=arrow-right]::before{-webkit-mask-image:var(--hel-icon--arrow-right);mask-image:var(--hel-icon--arrow-right)}[data-selected-icon=arrow-left]::before{-webkit-mask-image:var(--hel-icon--arrow-left);mask-image:var(--hel-icon--arrow-left)}[data-selected-icon=angle-up]::before{-webkit-mask-image:var(--hel-icon--angle-up);mask-image:var(--hel-icon--angle-up)}[data-selected-icon=angle-right]::before{-webkit-mask-image:var(--hel-icon--angle-right);mask-image:var(--hel-icon--angle-right)}[data-selected-icon=angle-left]::before{-webkit-mask-image:var(--hel-icon--angle-left);mask-image:var(--hel-icon--angle-left)}[data-selected-icon=angle-down]::before{-webkit-mask-image:var(--hel-icon--angle-down);mask-image:var(--hel-icon--angle-down)}[data-selected-icon=alert-circle]::before{-webkit-mask-image:var(--hel-icon--alert-circle);mask-image:var(--hel-icon--alert-circle)}[data-selected-icon=alert-circle-fill]::before{-webkit-mask-image:var(--hel-icon--alert-circle-fill);mask-image:var(--hel-icon--alert-circle-fill)}[data-selected-icon=youtube]::before{-webkit-mask-image:var(--hel-icon--youtube);mask-image:var(--hel-icon--youtube)}[data-selected-icon=yle]::before{-webkit-mask-image:var(--hel-icon--yle);mask-image:var(--hel-icon--yle)}[data-selected-icon=whatsapp]::before{-webkit-mask-image:var(--hel-icon--whatsapp);mask-image:var(--hel-icon--whatsapp)}[data-selected-icon=vimeo]::before{-webkit-mask-image:var(--hel-icon--vimeo);mask-image:var(--hel-icon--vimeo)}[data-selected-icon=twitter]::before{-webkit-mask-image:var(--hel-icon--twitter);mask-image:var(--hel-icon--twitter)}[data-selected-icon=twitch]::before{-webkit-mask-image:var(--hel-icon--twitch);mask-image:var(--hel-icon--twitch)}[data-selected-icon=tiktok]::before{-webkit-mask-image:var(--hel-icon--tiktok);mask-image:var(--hel-icon--tiktok)}[data-selected-icon=snapchat]::before{-webkit-mask-image:var(--hel-icon--snapchat);mask-image:var(--hel-icon--snapchat)}[data-selected-icon=rss]::before{-webkit-mask-image:var(--hel-icon--rss);mask-image:var(--hel-icon--rss)}[data-selected-icon=linkedin]::before{-webkit-mask-image:var(--hel-icon--linkedin);mask-image:var(--hel-icon--linkedin)}[data-selected-icon=instagram]::before{-webkit-mask-image:var(--hel-icon--instagram);mask-image:var(--hel-icon--instagram)}[data-selected-icon=google]::before{-webkit-mask-image:var(--hel-icon--google);mask-image:var(--hel-icon--google)}[data-selected-icon=facebook]::before{-webkit-mask-image:var(--hel-icon--facebook);mask-image:var(--hel-icon--facebook)}[data-selected-icon=discord]::before{-webkit-mask-image:var(--hel-icon--discord);mask-image:var(--hel-icon--discord)}[data-selected-icon=tel]::before{-webkit-mask-image:var(--hel-icon--tel);mask-image:var(--hel-icon--tel)}[data-selected-icon=mailto]::before{-webkit-mask-image:var(--hel-icon--mailto);mask-image:var(--hel-icon--mailto)}[data-selected-icon=link-external]::before{-webkit-mask-image:var(--hel-icon--link-external);mask-image:var(--hel-icon--link-external)}[data-selected-icon=info]::before{-webkit-mask-image:var(--hel-icon--info);mask-image:var(--hel-icon--info)}[data-selected-icon=hero-arrow-mobile]::before{-webkit-mask-image:var(--hel-icon--hero-arrow-mobile);mask-image:var(--hel-icon--hero-arrow-mobile)}[data-selected-icon=hero-arrow-desktop]::before{-webkit-mask-image:var(--hel-icon--hero-arrow-desktop);mask-image:var(--hel-icon--hero-arrow-desktop)}[data-selected-icon=abstract-6]::before{-webkit-mask-image:var(--hel-icon--abstract-6);mask-image:var(--hel-icon--abstract-6)}[data-selected-icon=abstract-5]::before{-webkit-mask-image:var(--hel-icon--abstract-5);mask-image:var(--hel-icon--abstract-5)}[data-selected-icon=abstract-4]::before{-webkit-mask-image:var(--hel-icon--abstract-4);mask-image:var(--hel-icon--abstract-4)}[data-selected-icon=abstract-3]::before{-webkit-mask-image:var(--hel-icon--abstract-3);mask-image:var(--hel-icon--abstract-3)}[data-selected-icon=abstract-2]::before{-webkit-mask-image:var(--hel-icon--abstract-2);mask-image:var(--hel-icon--abstract-2)}[data-selected-icon=abstract-1]::before{-webkit-mask-image:var(--hel-icon--abstract-1);mask-image:var(--hel-icon--abstract-1)}[data-selected-icon=email]::before{-webkit-mask-image:var(--hel-icon--email);mask-image:var(--hel-icon--email)}[data-selected-icon=helsinki]::before{-webkit-mask-image:var(--hel-icon--helsinki);mask-image:var(--hel-icon--helsinki)}[data-selected-icon=helsinki-sv]::before{-webkit-mask-image:var(--hel-icon--helsinki-sv);mask-image:var(--hel-icon--helsinki-sv)}[data-selected-icon=helsinki-ru]::before{-webkit-mask-image:var(--hel-icon--helsinki-ru);mask-image:var(--hel-icon--helsinki-ru)} \ No newline at end of file diff --git a/dist/css/component-library.min.css b/dist/css/component-library.min.css deleted file mode 100644 index 6f3c6495d..000000000 --- a/dist/css/component-library.min.css +++ /dev/null @@ -1 +0,0 @@ -/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--breakpoint-xs: 320px;--breakpoint-s: 576px;--breakpoint-m: 768px;--breakpoint-l: 992px;--breakpoint-xl: 1248px;--container-width-xs: 288px;--container-width-s: 544px;--container-width-m: 720px;--container-width-l: 944px;--container-width-xl: 1200px;--color-brick: #bd2719;--color-brick-light: #ffeeed;--color-brick-medium-light: #facbc8;--color-brick-dark: #800e04;--color-bus: #0000bf;--color-bus-light: #f0f0ff;--color-bus-medium-light: #ccccff;--color-bus-dark: #00005e;--color-coat-of-arms: #0072c6;--color-coat-of-arms-light: #e6f4ff;--color-coat-of-arms-medium-light: #b5daf7;--color-coat-of-arms-dark: #005799;--color-copper: #00d7a7;--color-copper-light: #cffaf1;--color-copper-medium-light: #9ef0de;--color-copper-dark: #00a17d;--color-engel: #ffe977;--color-engel-light: #fff9db;--color-engel-medium-light: #fff3b8;--color-engel-dark: #dbc030;--color-fog: #9fc9eb;--color-fog-light: #e8f3fc;--color-fog-medium-light: #d0e6f7;--color-fog-dark: #72a5cf;--color-gold: #c2a251;--color-gold-light: #f7f2e4;--color-gold-medium-light: #e8d7a7;--color-gold-dark: #9e823c;--color-metro: #fd4f00;--color-metro-light: #ffeee6;--color-metro-medium-light: #ffcab3;--color-metro-dark: #bd2f00;--color-silver: #dedfe1;--color-silver-light: #f7f7f8;--color-silver-medium-light: #efeff0;--color-silver-dark: #b0b8bf;--color-summer: #ffc61e;--color-summer-light: #fff4d4;--color-summer-medium-light: #ffe49c;--color-summer-dark: #cc9200;--color-suomenlinna: #f5a3c7;--color-suomenlinna-light: #fff0f7;--color-suomenlinna-medium-light: #ffdbeb;--color-suomenlinna-dark: #e673a5;--color-tram: #008741;--color-tram-light: #dff7eb;--color-tram-medium-light: #a3e3c2;--color-tram-dark: #006631;--color-black: #000000;--color-white: #ffffff;--color-black-5: #f1f1f1;--color-black-10: #e5e5e5;--color-black-20: #cccccc;--color-black-30: #b2b2b2;--color-black-40: #999898;--color-black-50: #808080;--color-black-60: #666666;--color-black-70: #4c4c4c;--color-black-80: #333333;--color-black-90: #1a1a1a;--color-error: #b01038;--color-error-light: #f6e2e6;--color-error-dark: #8d0d2d;--color-success: #007a64;--color-success-light: #e2f5f3;--color-success-dark: #006250;--color-alert: #ffda07;--color-alert-light: #fff4b4;--color-alert-dark: #d18200;--color-info: #0062b9;--color-info-light: #e5eff8;--color-info-dark: #004f94;--spacing-layout-2-xs: 1rem;--spacing-layout-xs: 1.5rem;--spacing-layout-s: 2rem;--spacing-layout-m: 3rem;--spacing-layout-l: 4rem;--spacing-layout-xl: 6rem;--spacing-layout-2-xl: 8rem;--spacing-4-xs: 0.125rem;--spacing-3-xs: 0.25rem;--spacing-2-xs: 0.5rem;--spacing-xs: 0.75rem;--spacing-s: 1rem;--spacing-m: 1.5rem;--spacing-l: 2rem;--spacing-xl: 2.5rem;--spacing-2-xl: 3.0rem;--spacing-3-xl: 3.5rem;--spacing-4-xl: 4rem;--spacing-5-xl: 4.5rem;--fontsize-heading-xl: 3.25rem;--fontsize-heading-l: 2.25rem;--fontsize-heading-m: 1.5rem;--fontsize-heading-s: 1.25rem;--fontsize-heading-xs: 1.125rem;--fontsize-heading-xxs: 1rem;--fontsize-body-s: 0.875rem;--fontsize-body-m: 1rem;--fontsize-body-l: 1.125rem;--fontsize-body-xl: 1.25rem;--font-default: HelsinkiGrotesk, Arial, sans-serif;--lineheight-s: 1;--lineheight-m: 1.2;--lineheight-l: 1.5;--lineheight-xl: 1.75}html,body{height:100%}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;background-color:#fff;color:#1a1a1a;display:flex;flex-direction:column;font-family:HelsinkiGrotesk,Arial,sans-serif;font-size:1rem;line-height:1.5}body.gin--horizontal-toolbar{padding-top:0 !important}:root{--hdbt-color-black: #121212;--hdbt-default-link-color: var(--color-black-90);--hdbt-theme-color: var(--color-black);--hdbt-text-color: var(--color-white);--hdbt-text-color--coat-of-arms: var(--color-white);--hdbt-text-color--brick: var(--color-white);--hdbt-text-color--bus: var(--color-white);--hdbt-text-color--metro: var(--color-white);--hdbt-text-color--tram: var(--color-white);--hdbt-text-color--gold: var(--hdbt-color-black);--hdbt-text-color--silver: var(--hdbt-color-black);--hdbt-text-color--copper: var(--hdbt-color-black);--hdbt-text-color--engel: var(--hdbt-color-black);--hdbt-text-color--fog: var(--hdbt-color-black);--hdbt-text-color--summer: var(--hdbt-color-black);--hdbt-text-color--suomenlinna: var(--hdbt-color-black);--hdbt-button-text-color--coat-of-arms: var(--hdbt-color-black);--hdbt-button-text-color--brick: var(--hdbt-color-black);--hdbt-button-text-color--bus: var(--hdbt-color-black);--hdbt-button-text-color--metro: var(--hdbt-color-black);--hdbt-button-text-color--tram: var(--hdbt-color-black);--hdbt-button-text-color--gold: var(--color-white);--hdbt-button-text-color--silver: var(--color-white);--hdbt-button-text-color--copper: var(--color-white);--hdbt-button-text-color--engel: var(--color-white);--hdbt-button-text-color--fog: var(--color-white);--hdbt-button-text-color--summer: var(--color-white);--hdbt-button-text-color--suomenlinna: var(--color-white);--hdbt-button-highlight-color--coat-of-arms: var(--color-black-90);--hdbt-button-highlight-color--brick: var(--color-black-90);--hdbt-button-highlight-color--bus: var(--color-black-90);--hdbt-button-highlight-color--metro: var(--color-black-90);--hdbt-button-highlight-color--tram: var(--color-black-90);--hdbt-button-highlight-color--gold: var(--color-white);--hdbt-button-highlight-color--silver: var(--color-white);--hdbt-button-highlight-color--copper: var(--color-white);--hdbt-button-highlight-color--engel: var(--color-white);--hdbt-button-highlight-color--fog: var(--color-white);--hdbt-button-highlight-color--summer: var(--color-white);--hdbt-button-highlight-color--suomenlinna: var(--color-white);--background-color-disabled: transparent;--border-color-disabled: transparent;--color-disabled: var(--color-black-40);--border-color-focus: var(--color-coat-of-arms);--border-color-hover-focus: var(--color-coat-of-arms-dark)}@font-face{text-rendering:optimizeLegibility;font-family:"HelsinkiGrotesk";font-style:normal;font-weight:400;src:url(../fonts/HelsinkiGrotesk-Regular.eot);src:url(../fonts/HelsinkiGrotesk-Regular.eot?#iefix) format("embedded-opentype"),url(../fonts/HelsinkiGrotesk-Regular.woff) format("woff"),url(../fonts/HelsinkiGrotesk-Regular.ttf) format("truetype"),url(../fonts/HelsinkiGrotesk-Regular.svg#HelsinkiGrotesk-Regular) format("svg")}@font-face{text-rendering:optimizeLegibility;font-family:"HelsinkiGrotesk";font-style:italic;font-weight:400;src:url(../fonts/HelsinkiGrotesk-RegularItalic.eot);src:url(../fonts/HelsinkiGrotesk-RegularItalic.eot?#iefix) format("embedded-opentype"),url(../fonts/HelsinkiGrotesk-RegularItalic.woff) format("woff"),url(../fonts/HelsinkiGrotesk-RegularItalic.ttf) format("truetype"),url(../fonts/HelsinkiGrotesk-RegularItalic.svg#HelsinkiGrotesk-RegularItalic) format("svg")}@font-face{text-rendering:optimizeLegibility;font-family:"HelsinkiGrotesk";font-style:normal;font-weight:500;src:url(../fonts/HelsinkiGrotesk-Medium.eot);src:url(../fonts/HelsinkiGrotesk-Medium.eot?#iefix) format("embedded-opentype"),url(../fonts/HelsinkiGrotesk-Medium.woff) format("woff"),url(../fonts/HelsinkiGrotesk-Medium.ttf) format("truetype"),url(../fonts/HelsinkiGrotesk-Medium.svg#HelsinkiGrotesk-Medium) format("svg")}@font-face{text-rendering:optimizeLegibility;font-family:"HelsinkiGrotesk";font-style:italic;font-weight:500;src:url(../fonts/HelsinkiGrotesk-MediumItalic.eot);src:url(../fonts/HelsinkiGrotesk-MediumItalic.eot?#iefix) format("embedded-opentype"),url(../fonts/HelsinkiGrotesk-MediumItalic.woff) format("woff"),url(../fonts/HelsinkiGrotesk-MediumItalic.ttf) format("truetype"),url(../fonts/HelsinkiGrotesk-MediumItalic.svg#HelsinkiGrotesk-MediumItalic) format("svg")}@font-face{text-rendering:optimizeLegibility;font-family:"HelsinkiGrotesk";font-style:normal;font-weight:700;src:url(../fonts/HelsinkiGrotesk-Bold.eot);src:url(../fonts/HelsinkiGrotesk-Bold.eot?#iefix) format("embedded-opentype"),url(../fonts/HelsinkiGrotesk-Bold.woff) format("woff"),url(../fonts/HelsinkiGrotesk-Bold.ttf) format("truetype"),url(../fonts/HelsinkiGrotesk-Bold.svg#HelsinkiGrotesk-Bold) format("svg")}@font-face{text-rendering:optimizeLegibility;font-family:"HelsinkiGrotesk";font-style:italic;font-weight:700;src:url(../fonts/HelsinkiGrotesk-BoldItalic.eot);src:url(../fonts/HelsinkiGrotesk-BoldItalic.eot?#iefix) format("embedded-opentype"),url(../fonts/HelsinkiGrotesk-BoldItalic.woff) format("woff"),url(../fonts/HelsinkiGrotesk-BoldItalic.ttf) format("truetype"),url(../fonts/HelsinkiGrotesk-BoldItalic.svg#HelsinkiGrotesk-BoldItalic) format("svg")}@font-face{text-rendering:optimizeLegibility;font-family:"HelsinkiGrotesk";font-style:normal;font-weight:800;src:url(../fonts/HelsinkiGrotesk-Black.eot);src:url(../fonts/HelsinkiGrotesk-Black.eot?#iefix) format("embedded-opentype"),url(../fonts/HelsinkiGrotesk-Black.woff) format("woff"),url(../fonts/HelsinkiGrotesk-Black.ttf) format("truetype"),url(../fonts/HelsinkiGrotesk-Black.svg#HelsinkiGrotesk-Black) format("svg")}@font-face{text-rendering:optimizeLegibility;font-family:"HelsinkiGrotesk";font-style:italic;font-weight:800;src:url(../fonts/HelsinkiGrotesk-BlackItalic.eot);src:url(../fonts/HelsinkiGrotesk-BlackItalic.eot?#iefix) format("embedded-opentype"),url(../fonts/HelsinkiGrotesk-BlackItalic.woff) format("woff"),url(../fonts/HelsinkiGrotesk-BlackItalic.ttf) format("truetype"),url(../fonts/HelsinkiGrotesk-BlackItalic.svg#HelsinkiGrotesk-BlackItalic) format("svg")}.component-library-wrapper{background-color:#fff;padding:16px}.component-library__nav-wrapper{align-items:center;display:flex;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.component-library__nav-wrapper label{display:block;margin-left:8px;position:relative;z-index:1}.component-library__nav-wrapper label .hel-icon{--icon-size: 2.5rem}.component-library__nav-wrapper span{margin-left:16px}.component-library__toggle{-webkit-touch-callout:none;cursor:pointer;display:block;height:32px;left:12px;opacity:0;padding:0;position:absolute;width:32px;z-index:2}.component-library__toggle+label .toggle--open{display:block}.component-library__toggle+label .toggle--close{display:none}.component-library__toggle:checked+label .toggle--open{display:none}.component-library__toggle:checked+label .toggle--close{display:block}.component-library__toggle:checked~ul{left:0;opacity:1}.component-library__nav{background-color:#e6e6e6;box-shadow:3px 3px 4px #ccc;left:-100%;list-style-type:none;min-width:250px;opacity:0;padding:16px 16px 16px 64px;position:absolute;top:-32px;transition:opacity .3s ease,left .3s ease}.component-library__nav li{padding:4px 0 0}.component-library__nav a{--line-height: 1.5;font-size:1rem;font-weight:400;line-height:1.5;line-height:var(--line-height);color:#4d4d4d;-webkit-text-decoration:none;text-decoration:none;transition:color .3s ease}.component-library__nav a:hover{color:#00005e}.component-library__accordion{--line-height: 1.5555555556;font-size:1.125rem;font-weight:400;line-height:1.5555555556;line-height:var(--line-height);background-color:#e6e6e6;border:none;color:#4d4d4d;cursor:pointer;outline:none;padding:16px;text-align:left;transition:.4s;width:100%}.component-library__accordion.active,.component-library__accordion:hover{background-color:#ccc}.component-library__panel{background-color:#fff;border:2px solid #ccc;margin:0 0 16px;max-height:0;overflow:hidden;transition:max-height .2s ease-out}.component-library__code,.component-library__example{padding:16px}.component-library__example--text-input{max-width:400px}.component-library__code{background-color:#f2f2f2;font-family:monospace}.component-library__icons{display:flex;flex-wrap:wrap;justify-content:space-between}.component-library__icon{align-items:center;border:1px solid #b3b3b3;display:flex;flex-flow:column;margin:8px}.component-library__icon__svg{padding:8px}.component-library__icon__svg .hel-icon{--icon-size: 4rem}.component-library__icon__name{--line-height: 1.5;font-size:1rem;font-weight:400;line-height:1.5;line-height:var(--line-height);background-color:#e6e6e6;height:100%;min-width:100%;padding:8px;text-align:center} diff --git a/dist/css/hdbt-icons.css b/dist/css/hdbt-icons.css index b7687b411..177d3a520 100644 --- a/dist/css/hdbt-icons.css +++ b/dist/css/hdbt-icons.css @@ -1 +1 @@ -:root{--hel-icon--helsinki-ru:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#helsinki-ru);--hel-icon--helsinki-sv:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#helsinki-sv);--hel-icon--helsinki:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#helsinki);--hel-icon--email:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#email);--hel-icon--abstract-1:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-1);--hel-icon--abstract-2:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-2);--hel-icon--abstract-3:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-3);--hel-icon--abstract-4:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-4);--hel-icon--abstract-5:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-5);--hel-icon--abstract-6:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-6);--hel-icon--hero-arrow-desktop:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#hero-arrow-desktop);--hel-icon--hero-arrow-mobile:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#hero-arrow-mobile);--hel-icon--info:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#info);--hel-icon--link-external:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#link-external);--hel-icon--mailto:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#mailto);--hel-icon--tel:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#tel);--hel-icon--discord:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#discord);--hel-icon--facebook:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#facebook);--hel-icon--google:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#google);--hel-icon--instagram:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#instagram);--hel-icon--linkedin:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#linkedin);--hel-icon--rss:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#rss);--hel-icon--snapchat:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#snapchat);--hel-icon--tiktok:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#tiktok);--hel-icon--twitch:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#twitch);--hel-icon--twitter:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#twitter);--hel-icon--vimeo:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#vimeo);--hel-icon--whatsapp:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#whatsapp);--hel-icon--yle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#yle);--hel-icon--youtube:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#youtube);--hel-icon--alert-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#alert-circle-fill);--hel-icon--alert-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#alert-circle);--hel-icon--angle-down:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#angle-down);--hel-icon--angle-left:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#angle-left);--hel-icon--angle-right:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#angle-right);--hel-icon--angle-up:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#angle-up);--hel-icon--arrow-left:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#arrow-left);--hel-icon--arrow-right:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#arrow-right);--hel-icon--arrow-up:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#arrow-up);--hel-icon--calendar-clock:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#calendar-clock);--hel-icon--calendar:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#calendar);--hel-icon--camera:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#camera);--hel-icon--check-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#check-circle-fill);--hel-icon--check-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#check-circle);--hel-icon--check:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#check);--hel-icon--clock:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#clock);--hel-icon--cogwheel:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#cogwheel);--hel-icon--cross-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#cross-circle);--hel-icon--cross:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#cross);--hel-icon--customer-bot-neutral:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#customer-bot-neutral);--hel-icon--display:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#display);--hel-icon--document:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#document);--hel-icon--download-cloud:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#download-cloud);--hel-icon--download:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#download);--hel-icon--envelope:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#envelope);--hel-icon--error-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#error-fill);--hel-icon--error:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#error);--hel-icon--eye-crossed:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#eye-crossed);--hel-icon--eye:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#eye);--hel-icon--face-neutral:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#face-neutral);--hel-icon--face-sad:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#face-sad);--hel-icon--face-smile:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#face-smile);--hel-icon--globe:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#globe);--hel-icon--glyph-at:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#glyph-at);--hel-icon--glyph-euro:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#glyph-euro);--hel-icon--group:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#group);--hel-icon--heart-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#heart-fill);--hel-icon--heart:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#heart);--hel-icon--home-smoke:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#home-smoke);--hel-icon--home:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#home);--hel-icon--info-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#info-circle-fill);--hel-icon--info-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#info-circle);--hel-icon--layers:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#layers);--hel-icon--link:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#link);--hel-icon--locate:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#locate);--hel-icon--location:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#location);--hel-icon--map:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#map);--hel-icon--menu-dots:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#menu-dots);--hel-icon--menu-hamburger:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#menu-hamburger);--hel-icon--minus-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#minus-circle-fill);--hel-icon--minus-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#minus-circle);--hel-icon--minus:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#minus);--hel-icon--mobile:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#mobile);--hel-icon--paperclip:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#paperclip);--hel-icon--person-female:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#person-female);--hel-icon--person-male:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#person-male);--hel-icon--person-wheelchair:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#person-wheelchair);--hel-icon--phone:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#phone);--hel-icon--photo:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#photo);--hel-icon--plus-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#plus-circle-fill);--hel-icon--plus-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#plus-circle);--hel-icon--plus:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#plus);--hel-icon--podcast:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#podcast);--hel-icon--printer:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#printer);--hel-icon--question-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#question-circle-fill);--hel-icon--question-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#question-circle);--hel-icon--refresh:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#refresh);--hel-icon--search:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#search);--hel-icon--share:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#share);--hel-icon--signin:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#signin);--hel-icon--signout:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#signout);--hel-icon--sort-alphabetical-ascending:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort-alphabetical-ascending);--hel-icon--sort-alphabetical-descending:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort-alphabetical-descending);--hel-icon--sort-ascending:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort-ascending);--hel-icon--sort-descending:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort-descending);--hel-icon--sort:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort);--hel-icon--speechbubble-text:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#speechbubble-text);--hel-icon--speechbubble:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#speechbubble);--hel-icon--star-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#star-fill);--hel-icon--star:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#star);--hel-icon--ticket:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#ticket);--hel-icon--trash:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#trash);--hel-icon--upload-cloud:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#upload-cloud);--hel-icon--upload:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#upload);--hel-icon--user:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#user);--hel-icon--wifi-crossed:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#wifi-crossed);--hel-icon--wifi:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#wifi);--hel-icon--zoom-in:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#zoom-in);--hel-icon--zoom-out:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#zoom-out);--hel-icon--zoom-text:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#zoom-text)}.hel-icon--helsinki-ru{--url:var(--hel-icon--helsinki-ru)}.hdbt-icon--helsinki-ru{--url:var(--hel-icon--helsinki-ru)}.hel-icon--helsinki-sv{--url:var(--hel-icon--helsinki-sv)}.hdbt-icon--helsinki-sv{--url:var(--hel-icon--helsinki-sv)}.hel-icon--helsinki{--url:var(--hel-icon--helsinki)}.hdbt-icon--helsinki{--url:var(--hel-icon--helsinki)}.hel-icon--email{--url:var(--hel-icon--email)}.hdbt-icon--email{--url:var(--hel-icon--email)}.hel-icon--abstract-1{--url:var(--hel-icon--abstract-1)}.hdbt-icon--abstract-1{--url:var(--hel-icon--abstract-1)}.hel-icon--abstract-2{--url:var(--hel-icon--abstract-2)}.hdbt-icon--abstract-2{--url:var(--hel-icon--abstract-2)}.hel-icon--abstract-3{--url:var(--hel-icon--abstract-3)}.hdbt-icon--abstract-3{--url:var(--hel-icon--abstract-3)}.hel-icon--abstract-4{--url:var(--hel-icon--abstract-4)}.hdbt-icon--abstract-4{--url:var(--hel-icon--abstract-4)}.hel-icon--abstract-5{--url:var(--hel-icon--abstract-5)}.hdbt-icon--abstract-5{--url:var(--hel-icon--abstract-5)}.hel-icon--abstract-6{--url:var(--hel-icon--abstract-6)}.hdbt-icon--abstract-6{--url:var(--hel-icon--abstract-6)}.hel-icon--hero-arrow-desktop{--url:var(--hel-icon--hero-arrow-desktop)}.hdbt-icon--hero-arrow-desktop{--url:var(--hel-icon--hero-arrow-desktop)}.hel-icon--hero-arrow-mobile{--url:var(--hel-icon--hero-arrow-mobile)}.hdbt-icon--hero-arrow-mobile{--url:var(--hel-icon--hero-arrow-mobile)}.hel-icon--info{--url:var(--hel-icon--info)}.hdbt-icon--info{--url:var(--hel-icon--info)}.hel-icon--link-external{--url:var(--hel-icon--link-external)}.hdbt-icon--link-external{--url:var(--hel-icon--link-external)}.hel-icon--mailto{--url:var(--hel-icon--mailto)}.hdbt-icon--mailto{--url:var(--hel-icon--mailto)}.hel-icon--tel{--url:var(--hel-icon--tel)}.hdbt-icon--tel{--url:var(--hel-icon--tel)}.hel-icon--discord{--url:var(--hel-icon--discord)}.hdbt-icon--discord{--url:var(--hel-icon--discord)}.hel-icon--facebook{--url:var(--hel-icon--facebook)}.hdbt-icon--facebook{--url:var(--hel-icon--facebook)}.hel-icon--google{--url:var(--hel-icon--google)}.hdbt-icon--google{--url:var(--hel-icon--google)}.hel-icon--instagram{--url:var(--hel-icon--instagram)}.hdbt-icon--instagram{--url:var(--hel-icon--instagram)}.hel-icon--linkedin{--url:var(--hel-icon--linkedin)}.hdbt-icon--linkedin{--url:var(--hel-icon--linkedin)}.hel-icon--rss{--url:var(--hel-icon--rss)}.hdbt-icon--rss{--url:var(--hel-icon--rss)}.hel-icon--snapchat{--url:var(--hel-icon--snapchat)}.hdbt-icon--snapchat{--url:var(--hel-icon--snapchat)}.hel-icon--tiktok{--url:var(--hel-icon--tiktok)}.hdbt-icon--tiktok{--url:var(--hel-icon--tiktok)}.hel-icon--twitch{--url:var(--hel-icon--twitch)}.hdbt-icon--twitch{--url:var(--hel-icon--twitch)}.hel-icon--twitter{--url:var(--hel-icon--twitter)}.hdbt-icon--twitter{--url:var(--hel-icon--twitter)}.hel-icon--vimeo{--url:var(--hel-icon--vimeo)}.hdbt-icon--vimeo{--url:var(--hel-icon--vimeo)}.hel-icon--whatsapp{--url:var(--hel-icon--whatsapp)}.hdbt-icon--whatsapp{--url:var(--hel-icon--whatsapp)}.hel-icon--yle{--url:var(--hel-icon--yle)}.hdbt-icon--yle{--url:var(--hel-icon--yle)}.hel-icon--youtube{--url:var(--hel-icon--youtube)}.hdbt-icon--youtube{--url:var(--hel-icon--youtube)}.hel-icon--alert-circle-fill{--url:var(--hel-icon--alert-circle-fill)}.hdbt-icon--alert-circle-fill{--url:var(--hel-icon--alert-circle-fill)}.hel-icon--alert-circle{--url:var(--hel-icon--alert-circle)}.hdbt-icon--alert-circle{--url:var(--hel-icon--alert-circle)}.hel-icon--angle-down{--url:var(--hel-icon--angle-down)}.hdbt-icon--angle-down{--url:var(--hel-icon--angle-down)}.hel-icon--angle-left{--url:var(--hel-icon--angle-left)}.hdbt-icon--angle-left{--url:var(--hel-icon--angle-left)}.hel-icon--angle-right{--url:var(--hel-icon--angle-right)}.hdbt-icon--angle-right{--url:var(--hel-icon--angle-right)}.hel-icon--angle-up{--url:var(--hel-icon--angle-up)}.hdbt-icon--angle-up{--url:var(--hel-icon--angle-up)}.hel-icon--arrow-left{--url:var(--hel-icon--arrow-left)}.hdbt-icon--arrow-left{--url:var(--hel-icon--arrow-left)}.hel-icon--arrow-right{--url:var(--hel-icon--arrow-right)}.hdbt-icon--arrow-right{--url:var(--hel-icon--arrow-right)}.hel-icon--arrow-up{--url:var(--hel-icon--arrow-up)}.hdbt-icon--arrow-up{--url:var(--hel-icon--arrow-up)}.hel-icon--calendar-clock{--url:var(--hel-icon--calendar-clock)}.hdbt-icon--calendar-clock{--url:var(--hel-icon--calendar-clock)}.hel-icon--calendar{--url:var(--hel-icon--calendar)}.hdbt-icon--calendar{--url:var(--hel-icon--calendar)}.hel-icon--camera{--url:var(--hel-icon--camera)}.hdbt-icon--camera{--url:var(--hel-icon--camera)}.hel-icon--check-circle-fill{--url:var(--hel-icon--check-circle-fill)}.hdbt-icon--check-circle-fill{--url:var(--hel-icon--check-circle-fill)}.hel-icon--check-circle{--url:var(--hel-icon--check-circle)}.hdbt-icon--check-circle{--url:var(--hel-icon--check-circle)}.hel-icon--check{--url:var(--hel-icon--check)}.hdbt-icon--check{--url:var(--hel-icon--check)}.hel-icon--clock{--url:var(--hel-icon--clock)}.hdbt-icon--clock{--url:var(--hel-icon--clock)}.hel-icon--cogwheel{--url:var(--hel-icon--cogwheel)}.hdbt-icon--cogwheel{--url:var(--hel-icon--cogwheel)}.hel-icon--cross-circle{--url:var(--hel-icon--cross-circle)}.hdbt-icon--cross-circle{--url:var(--hel-icon--cross-circle)}.hel-icon--cross{--url:var(--hel-icon--cross)}.hdbt-icon--cross{--url:var(--hel-icon--cross)}.hel-icon--customer-bot-neutral{--url:var(--hel-icon--customer-bot-neutral)}.hdbt-icon--customer-bot-neutral{--url:var(--hel-icon--customer-bot-neutral)}.hel-icon--display{--url:var(--hel-icon--display)}.hdbt-icon--display{--url:var(--hel-icon--display)}.hel-icon--document{--url:var(--hel-icon--document)}.hdbt-icon--document{--url:var(--hel-icon--document)}.hel-icon--download-cloud{--url:var(--hel-icon--download-cloud)}.hdbt-icon--download-cloud{--url:var(--hel-icon--download-cloud)}.hel-icon--download{--url:var(--hel-icon--download)}.hdbt-icon--download{--url:var(--hel-icon--download)}.hel-icon--envelope{--url:var(--hel-icon--envelope)}.hdbt-icon--envelope{--url:var(--hel-icon--envelope)}.hel-icon--error-fill{--url:var(--hel-icon--error-fill)}.hdbt-icon--error-fill{--url:var(--hel-icon--error-fill)}.hel-icon--error{--url:var(--hel-icon--error)}.hdbt-icon--error{--url:var(--hel-icon--error)}.hel-icon--eye-crossed{--url:var(--hel-icon--eye-crossed)}.hdbt-icon--eye-crossed{--url:var(--hel-icon--eye-crossed)}.hel-icon--eye{--url:var(--hel-icon--eye)}.hdbt-icon--eye{--url:var(--hel-icon--eye)}.hel-icon--face-neutral{--url:var(--hel-icon--face-neutral)}.hdbt-icon--face-neutral{--url:var(--hel-icon--face-neutral)}.hel-icon--face-sad{--url:var(--hel-icon--face-sad)}.hdbt-icon--face-sad{--url:var(--hel-icon--face-sad)}.hel-icon--face-smile{--url:var(--hel-icon--face-smile)}.hdbt-icon--face-smile{--url:var(--hel-icon--face-smile)}.hel-icon--globe{--url:var(--hel-icon--globe)}.hdbt-icon--globe{--url:var(--hel-icon--globe)}.hel-icon--glyph-at{--url:var(--hel-icon--glyph-at)}.hdbt-icon--glyph-at{--url:var(--hel-icon--glyph-at)}.hel-icon--glyph-euro{--url:var(--hel-icon--glyph-euro)}.hdbt-icon--glyph-euro{--url:var(--hel-icon--glyph-euro)}.hel-icon--group{--url:var(--hel-icon--group)}.hdbt-icon--group{--url:var(--hel-icon--group)}.hel-icon--heart-fill{--url:var(--hel-icon--heart-fill)}.hdbt-icon--heart-fill{--url:var(--hel-icon--heart-fill)}.hel-icon--heart{--url:var(--hel-icon--heart)}.hdbt-icon--heart{--url:var(--hel-icon--heart)}.hel-icon--home-smoke{--url:var(--hel-icon--home-smoke)}.hdbt-icon--home-smoke{--url:var(--hel-icon--home-smoke)}.hel-icon--home{--url:var(--hel-icon--home)}.hdbt-icon--home{--url:var(--hel-icon--home)}.hel-icon--info-circle-fill{--url:var(--hel-icon--info-circle-fill)}.hdbt-icon--info-circle-fill{--url:var(--hel-icon--info-circle-fill)}.hel-icon--info-circle{--url:var(--hel-icon--info-circle)}.hdbt-icon--info-circle{--url:var(--hel-icon--info-circle)}.hel-icon--layers{--url:var(--hel-icon--layers)}.hdbt-icon--layers{--url:var(--hel-icon--layers)}.hel-icon--link{--url:var(--hel-icon--link)}.hdbt-icon--link{--url:var(--hel-icon--link)}.hel-icon--locate{--url:var(--hel-icon--locate)}.hdbt-icon--locate{--url:var(--hel-icon--locate)}.hel-icon--location{--url:var(--hel-icon--location)}.hdbt-icon--location{--url:var(--hel-icon--location)}.hel-icon--map{--url:var(--hel-icon--map)}.hdbt-icon--map{--url:var(--hel-icon--map)}.hel-icon--menu-dots{--url:var(--hel-icon--menu-dots)}.hdbt-icon--menu-dots{--url:var(--hel-icon--menu-dots)}.hel-icon--menu-hamburger{--url:var(--hel-icon--menu-hamburger)}.hdbt-icon--menu-hamburger{--url:var(--hel-icon--menu-hamburger)}.hel-icon--minus-circle-fill{--url:var(--hel-icon--minus-circle-fill)}.hdbt-icon--minus-circle-fill{--url:var(--hel-icon--minus-circle-fill)}.hel-icon--minus-circle{--url:var(--hel-icon--minus-circle)}.hdbt-icon--minus-circle{--url:var(--hel-icon--minus-circle)}.hel-icon--minus{--url:var(--hel-icon--minus)}.hdbt-icon--minus{--url:var(--hel-icon--minus)}.hel-icon--mobile{--url:var(--hel-icon--mobile)}.hdbt-icon--mobile{--url:var(--hel-icon--mobile)}.hel-icon--paperclip{--url:var(--hel-icon--paperclip)}.hdbt-icon--paperclip{--url:var(--hel-icon--paperclip)}.hel-icon--person-female{--url:var(--hel-icon--person-female)}.hdbt-icon--person-female{--url:var(--hel-icon--person-female)}.hel-icon--person-male{--url:var(--hel-icon--person-male)}.hdbt-icon--person-male{--url:var(--hel-icon--person-male)}.hel-icon--person-wheelchair{--url:var(--hel-icon--person-wheelchair)}.hdbt-icon--person-wheelchair{--url:var(--hel-icon--person-wheelchair)}.hel-icon--phone{--url:var(--hel-icon--phone)}.hdbt-icon--phone{--url:var(--hel-icon--phone)}.hel-icon--photo{--url:var(--hel-icon--photo)}.hdbt-icon--photo{--url:var(--hel-icon--photo)}.hel-icon--plus-circle-fill{--url:var(--hel-icon--plus-circle-fill)}.hdbt-icon--plus-circle-fill{--url:var(--hel-icon--plus-circle-fill)}.hel-icon--plus-circle{--url:var(--hel-icon--plus-circle)}.hdbt-icon--plus-circle{--url:var(--hel-icon--plus-circle)}.hel-icon--plus{--url:var(--hel-icon--plus)}.hdbt-icon--plus{--url:var(--hel-icon--plus)}.hel-icon--podcast{--url:var(--hel-icon--podcast)}.hdbt-icon--podcast{--url:var(--hel-icon--podcast)}.hel-icon--printer{--url:var(--hel-icon--printer)}.hdbt-icon--printer{--url:var(--hel-icon--printer)}.hel-icon--question-circle-fill{--url:var(--hel-icon--question-circle-fill)}.hdbt-icon--question-circle-fill{--url:var(--hel-icon--question-circle-fill)}.hel-icon--question-circle{--url:var(--hel-icon--question-circle)}.hdbt-icon--question-circle{--url:var(--hel-icon--question-circle)}.hel-icon--refresh{--url:var(--hel-icon--refresh)}.hdbt-icon--refresh{--url:var(--hel-icon--refresh)}.hel-icon--search{--url:var(--hel-icon--search)}.hdbt-icon--search{--url:var(--hel-icon--search)}.hel-icon--share{--url:var(--hel-icon--share)}.hdbt-icon--share{--url:var(--hel-icon--share)}.hel-icon--signin{--url:var(--hel-icon--signin)}.hdbt-icon--signin{--url:var(--hel-icon--signin)}.hel-icon--signout{--url:var(--hel-icon--signout)}.hdbt-icon--signout{--url:var(--hel-icon--signout)}.hel-icon--sort-alphabetical-ascending{--url:var(--hel-icon--sort-alphabetical-ascending)}.hdbt-icon--sort-alphabetical-ascending{--url:var(--hel-icon--sort-alphabetical-ascending)}.hel-icon--sort-alphabetical-descending{--url:var(--hel-icon--sort-alphabetical-descending)}.hdbt-icon--sort-alphabetical-descending{--url:var(--hel-icon--sort-alphabetical-descending)}.hel-icon--sort-ascending{--url:var(--hel-icon--sort-ascending)}.hdbt-icon--sort-ascending{--url:var(--hel-icon--sort-ascending)}.hel-icon--sort-descending{--url:var(--hel-icon--sort-descending)}.hdbt-icon--sort-descending{--url:var(--hel-icon--sort-descending)}.hel-icon--sort{--url:var(--hel-icon--sort)}.hdbt-icon--sort{--url:var(--hel-icon--sort)}.hel-icon--speechbubble-text{--url:var(--hel-icon--speechbubble-text)}.hdbt-icon--speechbubble-text{--url:var(--hel-icon--speechbubble-text)}.hel-icon--speechbubble{--url:var(--hel-icon--speechbubble)}.hdbt-icon--speechbubble{--url:var(--hel-icon--speechbubble)}.hel-icon--star-fill{--url:var(--hel-icon--star-fill)}.hdbt-icon--star-fill{--url:var(--hel-icon--star-fill)}.hel-icon--star{--url:var(--hel-icon--star)}.hdbt-icon--star{--url:var(--hel-icon--star)}.hel-icon--ticket{--url:var(--hel-icon--ticket)}.hdbt-icon--ticket{--url:var(--hel-icon--ticket)}.hel-icon--trash{--url:var(--hel-icon--trash)}.hdbt-icon--trash{--url:var(--hel-icon--trash)}.hel-icon--upload-cloud{--url:var(--hel-icon--upload-cloud)}.hdbt-icon--upload-cloud{--url:var(--hel-icon--upload-cloud)}.hel-icon--upload{--url:var(--hel-icon--upload)}.hdbt-icon--upload{--url:var(--hel-icon--upload)}.hel-icon--user{--url:var(--hel-icon--user)}.hdbt-icon--user{--url:var(--hel-icon--user)}.hel-icon--wifi-crossed{--url:var(--hel-icon--wifi-crossed)}.hdbt-icon--wifi-crossed{--url:var(--hel-icon--wifi-crossed)}.hel-icon--wifi{--url:var(--hel-icon--wifi)}.hdbt-icon--wifi{--url:var(--hel-icon--wifi)}.hel-icon--zoom-in{--url:var(--hel-icon--zoom-in)}.hdbt-icon--zoom-in{--url:var(--hel-icon--zoom-in)}.hel-icon--zoom-out{--url:var(--hel-icon--zoom-out)}.hdbt-icon--zoom-out{--url:var(--hel-icon--zoom-out)}.hel-icon--zoom-text{--url:var(--hel-icon--zoom-text)}.hdbt-icon--zoom-text{--url:var(--hel-icon--zoom-text)}.hel-icon{-webkit-mask-image:var(--url);mask-image:var(--url)}.hdbt-icon::before{-webkit-mask-image:var(--url);mask-image:var(--url)} \ No newline at end of file +:root{--hel-icon--zoom-text:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#zoom-text);--hel-icon--zoom-out:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#zoom-out);--hel-icon--zoom-in:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#zoom-in);--hel-icon--wifi:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#wifi);--hel-icon--wifi-crossed:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#wifi-crossed);--hel-icon--user:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#user);--hel-icon--upload:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#upload);--hel-icon--upload-cloud:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#upload-cloud);--hel-icon--trash:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#trash);--hel-icon--ticket:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#ticket);--hel-icon--star:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#star);--hel-icon--star-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#star-fill);--hel-icon--speechbubble:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#speechbubble);--hel-icon--speechbubble-text:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#speechbubble-text);--hel-icon--sort:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort);--hel-icon--sort-descending:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort-descending);--hel-icon--sort-ascending:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort-ascending);--hel-icon--sort-alphabetical-descending:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort-alphabetical-descending);--hel-icon--sort-alphabetical-ascending:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#sort-alphabetical-ascending);--hel-icon--signout:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#signout);--hel-icon--signin:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#signin);--hel-icon--share:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#share);--hel-icon--search:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#search);--hel-icon--refresh:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#refresh);--hel-icon--question-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#question-circle);--hel-icon--question-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#question-circle-fill);--hel-icon--printer:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#printer);--hel-icon--podcast:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#podcast);--hel-icon--plus:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#plus);--hel-icon--plus-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#plus-circle);--hel-icon--plus-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#plus-circle-fill);--hel-icon--photo:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#photo);--hel-icon--phone:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#phone);--hel-icon--person-wheelchair:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#person-wheelchair);--hel-icon--person-male:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#person-male);--hel-icon--person-female:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#person-female);--hel-icon--paperclip:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#paperclip);--hel-icon--mobile:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#mobile);--hel-icon--minus:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#minus);--hel-icon--minus-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#minus-circle);--hel-icon--minus-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#minus-circle-fill);--hel-icon--menu-hamburger:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#menu-hamburger);--hel-icon--menu-dots:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#menu-dots);--hel-icon--map:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#map);--hel-icon--location:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#location);--hel-icon--locate:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#locate);--hel-icon--link:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#link);--hel-icon--layers:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#layers);--hel-icon--info-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#info-circle);--hel-icon--info-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#info-circle-fill);--hel-icon--home:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#home);--hel-icon--home-smoke:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#home-smoke);--hel-icon--heart:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#heart);--hel-icon--heart-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#heart-fill);--hel-icon--group:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#group);--hel-icon--glyph-euro:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#glyph-euro);--hel-icon--glyph-at:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#glyph-at);--hel-icon--globe:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#globe);--hel-icon--face-smile:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#face-smile);--hel-icon--face-sad:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#face-sad);--hel-icon--face-neutral:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#face-neutral);--hel-icon--eye:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#eye);--hel-icon--eye-crossed:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#eye-crossed);--hel-icon--error:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#error);--hel-icon--error-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#error-fill);--hel-icon--envelope:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#envelope);--hel-icon--download:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#download);--hel-icon--download-cloud:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#download-cloud);--hel-icon--document:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#document);--hel-icon--display:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#display);--hel-icon--customer-bot-neutral:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#customer-bot-neutral);--hel-icon--cross:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#cross);--hel-icon--cross-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#cross-circle);--hel-icon--cogwheel:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#cogwheel);--hel-icon--clock:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#clock);--hel-icon--check:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#check);--hel-icon--check-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#check-circle);--hel-icon--check-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#check-circle-fill);--hel-icon--camera:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#camera);--hel-icon--calendar:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#calendar);--hel-icon--calendar-clock:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#calendar-clock);--hel-icon--arrow-up:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#arrow-up);--hel-icon--arrow-right:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#arrow-right);--hel-icon--arrow-left:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#arrow-left);--hel-icon--angle-up:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#angle-up);--hel-icon--angle-right:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#angle-right);--hel-icon--angle-left:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#angle-left);--hel-icon--angle-down:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#angle-down);--hel-icon--alert-circle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#alert-circle);--hel-icon--alert-circle-fill:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#alert-circle-fill);--hel-icon--youtube:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#youtube);--hel-icon--yle:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#yle);--hel-icon--whatsapp:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#whatsapp);--hel-icon--vimeo:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#vimeo);--hel-icon--twitter:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#twitter);--hel-icon--twitch:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#twitch);--hel-icon--tiktok:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#tiktok);--hel-icon--snapchat:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#snapchat);--hel-icon--rss:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#rss);--hel-icon--linkedin:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#linkedin);--hel-icon--instagram:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#instagram);--hel-icon--google:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#google);--hel-icon--facebook:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#facebook);--hel-icon--discord:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#discord);--hel-icon--tel:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#tel);--hel-icon--mailto:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#mailto);--hel-icon--link-external:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#link-external);--hel-icon--info:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#info);--hel-icon--hero-arrow-mobile:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#hero-arrow-mobile);--hel-icon--hero-arrow-desktop:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#hero-arrow-desktop);--hel-icon--abstract-6:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-6);--hel-icon--abstract-5:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-5);--hel-icon--abstract-4:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-4);--hel-icon--abstract-3:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-3);--hel-icon--abstract-2:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-2);--hel-icon--abstract-1:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#abstract-1);--hel-icon--email:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#email);--hel-icon--helsinki:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#helsinki);--hel-icon--helsinki-sv:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#helsinki-sv);--hel-icon--helsinki-ru:url(../../../../contrib/hdbt/dist/icons/sprite-c23a0.svg#helsinki-ru)}.hel-icon--zoom-text{--url:var(--hel-icon--zoom-text)}.hdbt-icon--zoom-text{--url:var(--hel-icon--zoom-text)}.hel-icon--zoom-out{--url:var(--hel-icon--zoom-out)}.hdbt-icon--zoom-out{--url:var(--hel-icon--zoom-out)}.hel-icon--zoom-in{--url:var(--hel-icon--zoom-in)}.hdbt-icon--zoom-in{--url:var(--hel-icon--zoom-in)}.hel-icon--wifi{--url:var(--hel-icon--wifi)}.hdbt-icon--wifi{--url:var(--hel-icon--wifi)}.hel-icon--wifi-crossed{--url:var(--hel-icon--wifi-crossed)}.hdbt-icon--wifi-crossed{--url:var(--hel-icon--wifi-crossed)}.hel-icon--user{--url:var(--hel-icon--user)}.hdbt-icon--user{--url:var(--hel-icon--user)}.hel-icon--upload{--url:var(--hel-icon--upload)}.hdbt-icon--upload{--url:var(--hel-icon--upload)}.hel-icon--upload-cloud{--url:var(--hel-icon--upload-cloud)}.hdbt-icon--upload-cloud{--url:var(--hel-icon--upload-cloud)}.hel-icon--trash{--url:var(--hel-icon--trash)}.hdbt-icon--trash{--url:var(--hel-icon--trash)}.hel-icon--ticket{--url:var(--hel-icon--ticket)}.hdbt-icon--ticket{--url:var(--hel-icon--ticket)}.hel-icon--star{--url:var(--hel-icon--star)}.hdbt-icon--star{--url:var(--hel-icon--star)}.hel-icon--star-fill{--url:var(--hel-icon--star-fill)}.hdbt-icon--star-fill{--url:var(--hel-icon--star-fill)}.hel-icon--speechbubble{--url:var(--hel-icon--speechbubble)}.hdbt-icon--speechbubble{--url:var(--hel-icon--speechbubble)}.hel-icon--speechbubble-text{--url:var(--hel-icon--speechbubble-text)}.hdbt-icon--speechbubble-text{--url:var(--hel-icon--speechbubble-text)}.hel-icon--sort{--url:var(--hel-icon--sort)}.hdbt-icon--sort{--url:var(--hel-icon--sort)}.hel-icon--sort-descending{--url:var(--hel-icon--sort-descending)}.hdbt-icon--sort-descending{--url:var(--hel-icon--sort-descending)}.hel-icon--sort-ascending{--url:var(--hel-icon--sort-ascending)}.hdbt-icon--sort-ascending{--url:var(--hel-icon--sort-ascending)}.hel-icon--sort-alphabetical-descending{--url:var(--hel-icon--sort-alphabetical-descending)}.hdbt-icon--sort-alphabetical-descending{--url:var(--hel-icon--sort-alphabetical-descending)}.hel-icon--sort-alphabetical-ascending{--url:var(--hel-icon--sort-alphabetical-ascending)}.hdbt-icon--sort-alphabetical-ascending{--url:var(--hel-icon--sort-alphabetical-ascending)}.hel-icon--signout{--url:var(--hel-icon--signout)}.hdbt-icon--signout{--url:var(--hel-icon--signout)}.hel-icon--signin{--url:var(--hel-icon--signin)}.hdbt-icon--signin{--url:var(--hel-icon--signin)}.hel-icon--share{--url:var(--hel-icon--share)}.hdbt-icon--share{--url:var(--hel-icon--share)}.hel-icon--search{--url:var(--hel-icon--search)}.hdbt-icon--search{--url:var(--hel-icon--search)}.hel-icon--refresh{--url:var(--hel-icon--refresh)}.hdbt-icon--refresh{--url:var(--hel-icon--refresh)}.hel-icon--question-circle{--url:var(--hel-icon--question-circle)}.hdbt-icon--question-circle{--url:var(--hel-icon--question-circle)}.hel-icon--question-circle-fill{--url:var(--hel-icon--question-circle-fill)}.hdbt-icon--question-circle-fill{--url:var(--hel-icon--question-circle-fill)}.hel-icon--printer{--url:var(--hel-icon--printer)}.hdbt-icon--printer{--url:var(--hel-icon--printer)}.hel-icon--podcast{--url:var(--hel-icon--podcast)}.hdbt-icon--podcast{--url:var(--hel-icon--podcast)}.hel-icon--plus{--url:var(--hel-icon--plus)}.hdbt-icon--plus{--url:var(--hel-icon--plus)}.hel-icon--plus-circle{--url:var(--hel-icon--plus-circle)}.hdbt-icon--plus-circle{--url:var(--hel-icon--plus-circle)}.hel-icon--plus-circle-fill{--url:var(--hel-icon--plus-circle-fill)}.hdbt-icon--plus-circle-fill{--url:var(--hel-icon--plus-circle-fill)}.hel-icon--photo{--url:var(--hel-icon--photo)}.hdbt-icon--photo{--url:var(--hel-icon--photo)}.hel-icon--phone{--url:var(--hel-icon--phone)}.hdbt-icon--phone{--url:var(--hel-icon--phone)}.hel-icon--person-wheelchair{--url:var(--hel-icon--person-wheelchair)}.hdbt-icon--person-wheelchair{--url:var(--hel-icon--person-wheelchair)}.hel-icon--person-male{--url:var(--hel-icon--person-male)}.hdbt-icon--person-male{--url:var(--hel-icon--person-male)}.hel-icon--person-female{--url:var(--hel-icon--person-female)}.hdbt-icon--person-female{--url:var(--hel-icon--person-female)}.hel-icon--paperclip{--url:var(--hel-icon--paperclip)}.hdbt-icon--paperclip{--url:var(--hel-icon--paperclip)}.hel-icon--mobile{--url:var(--hel-icon--mobile)}.hdbt-icon--mobile{--url:var(--hel-icon--mobile)}.hel-icon--minus{--url:var(--hel-icon--minus)}.hdbt-icon--minus{--url:var(--hel-icon--minus)}.hel-icon--minus-circle{--url:var(--hel-icon--minus-circle)}.hdbt-icon--minus-circle{--url:var(--hel-icon--minus-circle)}.hel-icon--minus-circle-fill{--url:var(--hel-icon--minus-circle-fill)}.hdbt-icon--minus-circle-fill{--url:var(--hel-icon--minus-circle-fill)}.hel-icon--menu-hamburger{--url:var(--hel-icon--menu-hamburger)}.hdbt-icon--menu-hamburger{--url:var(--hel-icon--menu-hamburger)}.hel-icon--menu-dots{--url:var(--hel-icon--menu-dots)}.hdbt-icon--menu-dots{--url:var(--hel-icon--menu-dots)}.hel-icon--map{--url:var(--hel-icon--map)}.hdbt-icon--map{--url:var(--hel-icon--map)}.hel-icon--location{--url:var(--hel-icon--location)}.hdbt-icon--location{--url:var(--hel-icon--location)}.hel-icon--locate{--url:var(--hel-icon--locate)}.hdbt-icon--locate{--url:var(--hel-icon--locate)}.hel-icon--link{--url:var(--hel-icon--link)}.hdbt-icon--link{--url:var(--hel-icon--link)}.hel-icon--layers{--url:var(--hel-icon--layers)}.hdbt-icon--layers{--url:var(--hel-icon--layers)}.hel-icon--info-circle{--url:var(--hel-icon--info-circle)}.hdbt-icon--info-circle{--url:var(--hel-icon--info-circle)}.hel-icon--info-circle-fill{--url:var(--hel-icon--info-circle-fill)}.hdbt-icon--info-circle-fill{--url:var(--hel-icon--info-circle-fill)}.hel-icon--home{--url:var(--hel-icon--home)}.hdbt-icon--home{--url:var(--hel-icon--home)}.hel-icon--home-smoke{--url:var(--hel-icon--home-smoke)}.hdbt-icon--home-smoke{--url:var(--hel-icon--home-smoke)}.hel-icon--heart{--url:var(--hel-icon--heart)}.hdbt-icon--heart{--url:var(--hel-icon--heart)}.hel-icon--heart-fill{--url:var(--hel-icon--heart-fill)}.hdbt-icon--heart-fill{--url:var(--hel-icon--heart-fill)}.hel-icon--group{--url:var(--hel-icon--group)}.hdbt-icon--group{--url:var(--hel-icon--group)}.hel-icon--glyph-euro{--url:var(--hel-icon--glyph-euro)}.hdbt-icon--glyph-euro{--url:var(--hel-icon--glyph-euro)}.hel-icon--glyph-at{--url:var(--hel-icon--glyph-at)}.hdbt-icon--glyph-at{--url:var(--hel-icon--glyph-at)}.hel-icon--globe{--url:var(--hel-icon--globe)}.hdbt-icon--globe{--url:var(--hel-icon--globe)}.hel-icon--face-smile{--url:var(--hel-icon--face-smile)}.hdbt-icon--face-smile{--url:var(--hel-icon--face-smile)}.hel-icon--face-sad{--url:var(--hel-icon--face-sad)}.hdbt-icon--face-sad{--url:var(--hel-icon--face-sad)}.hel-icon--face-neutral{--url:var(--hel-icon--face-neutral)}.hdbt-icon--face-neutral{--url:var(--hel-icon--face-neutral)}.hel-icon--eye{--url:var(--hel-icon--eye)}.hdbt-icon--eye{--url:var(--hel-icon--eye)}.hel-icon--eye-crossed{--url:var(--hel-icon--eye-crossed)}.hdbt-icon--eye-crossed{--url:var(--hel-icon--eye-crossed)}.hel-icon--error{--url:var(--hel-icon--error)}.hdbt-icon--error{--url:var(--hel-icon--error)}.hel-icon--error-fill{--url:var(--hel-icon--error-fill)}.hdbt-icon--error-fill{--url:var(--hel-icon--error-fill)}.hel-icon--envelope{--url:var(--hel-icon--envelope)}.hdbt-icon--envelope{--url:var(--hel-icon--envelope)}.hel-icon--download{--url:var(--hel-icon--download)}.hdbt-icon--download{--url:var(--hel-icon--download)}.hel-icon--download-cloud{--url:var(--hel-icon--download-cloud)}.hdbt-icon--download-cloud{--url:var(--hel-icon--download-cloud)}.hel-icon--document{--url:var(--hel-icon--document)}.hdbt-icon--document{--url:var(--hel-icon--document)}.hel-icon--display{--url:var(--hel-icon--display)}.hdbt-icon--display{--url:var(--hel-icon--display)}.hel-icon--customer-bot-neutral{--url:var(--hel-icon--customer-bot-neutral)}.hdbt-icon--customer-bot-neutral{--url:var(--hel-icon--customer-bot-neutral)}.hel-icon--cross{--url:var(--hel-icon--cross)}.hdbt-icon--cross{--url:var(--hel-icon--cross)}.hel-icon--cross-circle{--url:var(--hel-icon--cross-circle)}.hdbt-icon--cross-circle{--url:var(--hel-icon--cross-circle)}.hel-icon--cogwheel{--url:var(--hel-icon--cogwheel)}.hdbt-icon--cogwheel{--url:var(--hel-icon--cogwheel)}.hel-icon--clock{--url:var(--hel-icon--clock)}.hdbt-icon--clock{--url:var(--hel-icon--clock)}.hel-icon--check{--url:var(--hel-icon--check)}.hdbt-icon--check{--url:var(--hel-icon--check)}.hel-icon--check-circle{--url:var(--hel-icon--check-circle)}.hdbt-icon--check-circle{--url:var(--hel-icon--check-circle)}.hel-icon--check-circle-fill{--url:var(--hel-icon--check-circle-fill)}.hdbt-icon--check-circle-fill{--url:var(--hel-icon--check-circle-fill)}.hel-icon--camera{--url:var(--hel-icon--camera)}.hdbt-icon--camera{--url:var(--hel-icon--camera)}.hel-icon--calendar{--url:var(--hel-icon--calendar)}.hdbt-icon--calendar{--url:var(--hel-icon--calendar)}.hel-icon--calendar-clock{--url:var(--hel-icon--calendar-clock)}.hdbt-icon--calendar-clock{--url:var(--hel-icon--calendar-clock)}.hel-icon--arrow-up{--url:var(--hel-icon--arrow-up)}.hdbt-icon--arrow-up{--url:var(--hel-icon--arrow-up)}.hel-icon--arrow-right{--url:var(--hel-icon--arrow-right)}.hdbt-icon--arrow-right{--url:var(--hel-icon--arrow-right)}.hel-icon--arrow-left{--url:var(--hel-icon--arrow-left)}.hdbt-icon--arrow-left{--url:var(--hel-icon--arrow-left)}.hel-icon--angle-up{--url:var(--hel-icon--angle-up)}.hdbt-icon--angle-up{--url:var(--hel-icon--angle-up)}.hel-icon--angle-right{--url:var(--hel-icon--angle-right)}.hdbt-icon--angle-right{--url:var(--hel-icon--angle-right)}.hel-icon--angle-left{--url:var(--hel-icon--angle-left)}.hdbt-icon--angle-left{--url:var(--hel-icon--angle-left)}.hel-icon--angle-down{--url:var(--hel-icon--angle-down)}.hdbt-icon--angle-down{--url:var(--hel-icon--angle-down)}.hel-icon--alert-circle{--url:var(--hel-icon--alert-circle)}.hdbt-icon--alert-circle{--url:var(--hel-icon--alert-circle)}.hel-icon--alert-circle-fill{--url:var(--hel-icon--alert-circle-fill)}.hdbt-icon--alert-circle-fill{--url:var(--hel-icon--alert-circle-fill)}.hel-icon--youtube{--url:var(--hel-icon--youtube)}.hdbt-icon--youtube{--url:var(--hel-icon--youtube)}.hel-icon--yle{--url:var(--hel-icon--yle)}.hdbt-icon--yle{--url:var(--hel-icon--yle)}.hel-icon--whatsapp{--url:var(--hel-icon--whatsapp)}.hdbt-icon--whatsapp{--url:var(--hel-icon--whatsapp)}.hel-icon--vimeo{--url:var(--hel-icon--vimeo)}.hdbt-icon--vimeo{--url:var(--hel-icon--vimeo)}.hel-icon--twitter{--url:var(--hel-icon--twitter)}.hdbt-icon--twitter{--url:var(--hel-icon--twitter)}.hel-icon--twitch{--url:var(--hel-icon--twitch)}.hdbt-icon--twitch{--url:var(--hel-icon--twitch)}.hel-icon--tiktok{--url:var(--hel-icon--tiktok)}.hdbt-icon--tiktok{--url:var(--hel-icon--tiktok)}.hel-icon--snapchat{--url:var(--hel-icon--snapchat)}.hdbt-icon--snapchat{--url:var(--hel-icon--snapchat)}.hel-icon--rss{--url:var(--hel-icon--rss)}.hdbt-icon--rss{--url:var(--hel-icon--rss)}.hel-icon--linkedin{--url:var(--hel-icon--linkedin)}.hdbt-icon--linkedin{--url:var(--hel-icon--linkedin)}.hel-icon--instagram{--url:var(--hel-icon--instagram)}.hdbt-icon--instagram{--url:var(--hel-icon--instagram)}.hel-icon--google{--url:var(--hel-icon--google)}.hdbt-icon--google{--url:var(--hel-icon--google)}.hel-icon--facebook{--url:var(--hel-icon--facebook)}.hdbt-icon--facebook{--url:var(--hel-icon--facebook)}.hel-icon--discord{--url:var(--hel-icon--discord)}.hdbt-icon--discord{--url:var(--hel-icon--discord)}.hel-icon--tel{--url:var(--hel-icon--tel)}.hdbt-icon--tel{--url:var(--hel-icon--tel)}.hel-icon--mailto{--url:var(--hel-icon--mailto)}.hdbt-icon--mailto{--url:var(--hel-icon--mailto)}.hel-icon--link-external{--url:var(--hel-icon--link-external)}.hdbt-icon--link-external{--url:var(--hel-icon--link-external)}.hel-icon--info{--url:var(--hel-icon--info)}.hdbt-icon--info{--url:var(--hel-icon--info)}.hel-icon--hero-arrow-mobile{--url:var(--hel-icon--hero-arrow-mobile)}.hdbt-icon--hero-arrow-mobile{--url:var(--hel-icon--hero-arrow-mobile)}.hel-icon--hero-arrow-desktop{--url:var(--hel-icon--hero-arrow-desktop)}.hdbt-icon--hero-arrow-desktop{--url:var(--hel-icon--hero-arrow-desktop)}.hel-icon--abstract-6{--url:var(--hel-icon--abstract-6)}.hdbt-icon--abstract-6{--url:var(--hel-icon--abstract-6)}.hel-icon--abstract-5{--url:var(--hel-icon--abstract-5)}.hdbt-icon--abstract-5{--url:var(--hel-icon--abstract-5)}.hel-icon--abstract-4{--url:var(--hel-icon--abstract-4)}.hdbt-icon--abstract-4{--url:var(--hel-icon--abstract-4)}.hel-icon--abstract-3{--url:var(--hel-icon--abstract-3)}.hdbt-icon--abstract-3{--url:var(--hel-icon--abstract-3)}.hel-icon--abstract-2{--url:var(--hel-icon--abstract-2)}.hdbt-icon--abstract-2{--url:var(--hel-icon--abstract-2)}.hel-icon--abstract-1{--url:var(--hel-icon--abstract-1)}.hdbt-icon--abstract-1{--url:var(--hel-icon--abstract-1)}.hel-icon--email{--url:var(--hel-icon--email)}.hdbt-icon--email{--url:var(--hel-icon--email)}.hel-icon--helsinki{--url:var(--hel-icon--helsinki)}.hdbt-icon--helsinki{--url:var(--hel-icon--helsinki)}.hel-icon--helsinki-sv{--url:var(--hel-icon--helsinki-sv)}.hdbt-icon--helsinki-sv{--url:var(--hel-icon--helsinki-sv)}.hel-icon--helsinki-ru{--url:var(--hel-icon--helsinki-ru)}.hdbt-icon--helsinki-ru{--url:var(--hel-icon--helsinki-ru)}.hel-icon{-webkit-mask-image:var(--url);mask-image:var(--url)}.hdbt-icon::before{-webkit-mask-image:var(--url);mask-image:var(--url)} \ No newline at end of file diff --git a/dist/icons.json b/dist/icons.json index 42619f5a1..3bccb2171 100644 --- a/dist/icons.json +++ b/dist/icons.json @@ -1 +1 @@ -["helsinki-ru","helsinki-sv","helsinki","email","abstract-1","abstract-2","abstract-3","abstract-4","abstract-5","abstract-6","hero-arrow-desktop","hero-arrow-mobile","info","link-external","mailto","tel","discord","facebook","google","instagram","linkedin","rss","snapchat","tiktok","twitch","twitter","vimeo","whatsapp","yle","youtube","alert-circle-fill","alert-circle","angle-down","angle-left","angle-right","angle-up","arrow-left","arrow-right","arrow-up","calendar-clock","calendar","camera","check-circle-fill","check-circle","check","clock","cogwheel","cross-circle","cross","customer-bot-neutral","display","document","download-cloud","download","envelope","error-fill","error","eye-crossed","eye","face-neutral","face-sad","face-smile","globe","glyph-at","glyph-euro","group","heart-fill","heart","home-smoke","home","info-circle-fill","info-circle","layers","link","locate","location","map","menu-dots","menu-hamburger","minus-circle-fill","minus-circle","minus","mobile","paperclip","person-female","person-male","person-wheelchair","phone","photo","plus-circle-fill","plus-circle","plus","podcast","printer","question-circle-fill","question-circle","refresh","search","share","signin","signout","sort-alphabetical-ascending","sort-alphabetical-descending","sort-ascending","sort-descending","sort","speechbubble-text","speechbubble","star-fill","star","ticket","trash","upload-cloud","upload","user","wifi-crossed","wifi","zoom-in","zoom-out","zoom-text"] \ No newline at end of file +["zoom-text","zoom-out","zoom-in","wifi","wifi-crossed","user","upload","upload-cloud","trash","ticket","star","star-fill","speechbubble","speechbubble-text","sort","sort-descending","sort-ascending","sort-alphabetical-descending","sort-alphabetical-ascending","signout","signin","share","search","refresh","question-circle","question-circle-fill","printer","podcast","plus","plus-circle","plus-circle-fill","photo","phone","person-wheelchair","person-male","person-female","paperclip","mobile","minus","minus-circle","minus-circle-fill","menu-hamburger","menu-dots","map","location","locate","link","layers","info-circle","info-circle-fill","home","home-smoke","heart","heart-fill","group","glyph-euro","glyph-at","globe","face-smile","face-sad","face-neutral","eye","eye-crossed","error","error-fill","envelope","download","download-cloud","document","display","customer-bot-neutral","cross","cross-circle","cogwheel","clock","check","check-circle","check-circle-fill","camera","calendar","calendar-clock","arrow-up","arrow-right","arrow-left","angle-up","angle-right","angle-left","angle-down","alert-circle","alert-circle-fill","youtube","yle","whatsapp","vimeo","twitter","twitch","tiktok","snapchat","rss","linkedin","instagram","google","facebook","discord","tel","mailto","link-external","info","hero-arrow-mobile","hero-arrow-desktop","abstract-6","abstract-5","abstract-4","abstract-3","abstract-2","abstract-1","email","helsinki","helsinki-sv","helsinki-ru"] \ No newline at end of file diff --git a/dist/js/daycare_payment.min.js b/dist/js/daycare_payment.min.js index f00904a9f..754b037ac 100644 --- a/dist/js/daycare_payment.min.js +++ b/dist/js/daycare_payment.min.js @@ -1 +1 @@ -!function(){"use strict";const e=(e,a)=>{const t={id:`child_${e}`,slotNumber:e,items:[{heading:{text:1===e?a("youngest_child_title"):a("nth_child_title",{childNumber:e}),level:4}},{radio:{id:`daycare_type_for_child_${e}`,label:a("daycare_type"),required:!0,radio_items:[{name:`daycare_type_for_child_${e}`,item_id:`daycare_type_for_child_${e}_1`,label:a("daycare_type_1"),value:1},{name:`daycare_type_for_child_${e}`,item_id:`daycare_type_for_child_${e}_2`,label:a("daycare_type_2"),value:2},{name:`daycare_type_for_child_${e}`,item_id:`daycare_type_for_child_${e}_3`,label:a("daycare_type_3"),value:3},{name:`daycare_type_for_child_${e}`,item_id:`daycare_type_for_child_${e}_4`,label:a("daycare_type_4"),value:4}]}},{group:{id:`daycare_type_1_${e}_group`,hide_group:!0,items:[{paragraph:{text:a("daycare_type_1_explanation")}},{radio:{id:`daycare_type_1_${e}_group_caretime`,label:a("daycare_type_1_caretime"),required:!0,radio_items:[{name:`daycare_type_1_${e}_group_caretime`,item_id:`daycare_type_1_${e}_group_caretime_1`,label:a("daycare_type_1_caretime_1"),value:1},{name:`daycare_type_1_${e}_group_caretime`,item_id:`daycare_type_1_${e}_group_caretime_2`,label:a("daycare_type_1_caretime_2"),value:2},{name:`daycare_type_1_${e}_group_caretime`,item_id:`daycare_type_1_${e}_group_caretime_3`,label:a("daycare_type_1_caretime_3"),value:3}]}},{input_integer:{id:`daycare_type_1_${e}_free_days`,label:a("daycare_free_days"),unit:a("unit_day"),min:0,max:12,size:2,required:!1,helper_text:a("daycare_free_days_explanation")}}]}},{group:{id:`daycare_type_2_${e}_group`,hide_group:!0,items:[{paragraph:{text:a("daycare_type_2_explanation")}},{radio:{id:`daycare_type_2_${e}_group_caretime`,label:a("daycare_type_2_caretime"),required:!0,radio_items:[{name:`daycare_type_2_${e}_group_caretime`,item_id:`daycare_type_2_${e}_group_caretime_1`,label:a("daycare_type_2_caretime_1"),value:1},{name:`daycare_type_2_${e}_group_caretime`,item_id:`daycare_type_2_${e}_group_caretime_2`,label:a("daycare_type_2_caretime_2"),value:2},{name:`daycare_type_2_${e}_group_caretime`,item_id:`daycare_type_2_${e}_group_caretime_3`,label:a("daycare_type_2_caretime_3"),value:3},{name:`daycare_type_2_${e}_group_caretime`,item_id:`daycare_type_2_${e}_group_caretime_4`,label:a("daycare_type_2_caretime_4"),value:4}]}},{input_integer:{id:`daycare_type_2_${e}_free_days`,label:a("daycare_free_days"),unit:a("unit_day"),min:0,max:12,size:2,required:!1,helper_text:a("daycare_free_days_explanation")}}]}},{group:{id:`daycare_type_3_${e}_group`,hide_group:!0,items:[{paragraph:{text:a("daycare_type_3_explanation")}},{radio:{id:`daycare_type_3_${e}_group_caretime`,label:a("daycare_type_3_caretime"),required:!0,radio_items:[{name:`daycare_type_3_${e}_group_caretime`,item_id:`daycare_type_3_${e}_group_caretime_1`,label:a("daycare_type_3_caretime_1"),value:1},{name:`daycare_type_3_${e}_group_caretime`,item_id:`daycare_type_3_${e}_group_caretime_2`,label:a("daycare_type_3_caretime_2"),value:2},{name:`daycare_type_3_${e}_group_caretime`,item_id:`daycare_type_3_${e}_group_caretime_3`,label:a("daycare_type_3_caretime_3"),value:3},{name:`daycare_type_3_${e}_group_caretime`,item_id:`daycare_type_3_${e}_group_caretime_4`,label:a("daycare_type_3_caretime_4"),value:4}]}},{input_integer:{id:`daycare_type_3_${e}_free_days`,label:a("daycare_free_days"),unit:a("unit_day"),min:0,max:12,size:2,required:!1,helper_text:a("daycare_free_days_explanation")}}]}},{group:{id:`daycare_type_4_${e}_group`,hide_group:!0,items:[{paragraph:{text:a("daycare_type_4_explanation")}},{radio:{id:`daycare_type_4_${e}_group_caretime`,label:a("daycare_type_4_caretime"),required:!0,radio_items:[{name:`daycare_type_4_${e}_group_caretime`,item_id:`daycare_type_4_${e}_group_caretime_1`,label:a("daycare_type_4_caretime_1"),value:1},{name:`daycare_type_4_${e}_group_caretime`,item_id:`daycare_type_4_${e}_group_caretime_2`,label:a("daycare_type_4_caretime_2"),value:2},{name:`daycare_type_4_${e}_group_caretime`,item_id:`daycare_type_4_${e}_group_caretime_3`,label:a("daycare_type_4_caretime_3"),value:3}]}},{checkbox:{id:`daycare_type_4_${e}_has_preschool`,label:a("daycare_has_preschool")}}]}}]};return 1!==e&&(t.remove_label=a("remove_child")),t};var a={getFormData:function(a,t){return{form_id:a,has_required_fields:!0,items:[{heading:{text:t("family_info"),level:3}},{input_integer:{id:"household_size",label:t("household_size"),unit:t("unit_person"),min:2,size:2,required:!0,helper_text:t("household_size_explanation")}},{input_float:{id:"gross_income_per_month",label:t("gross_income_per_month"),unit:t("unit_euro"),size:8,required:!1,strip:"[€eE ]",helper_text:t("gross_income_per_month_explanation")}},{heading:{text:t("child_info"),level:3}},{paragraph:{text:t("child_info_paragraph")}},{dynamic_area:{id:"first_child",dynamic_slots:[e(1,t)]}},{dynamic_area:{id:"nth_child",add_button_label:t("add_next_child"),dynamic_slots:[]}},{hr:{}}]}},dynamicChildData:e};var t={family_info:{fi:"Perheen tiedot",sv:null,en:null},household_size:{fi:"Perheen koko",sv:null,en:null},household_size_is_too_small_for_child_count:{fi:"Lukumäärän pitäisi olla vähintään ${minValue}, jos samassa osoitteessa asuu aikuinen ja ${childCount} lasta.",sv:null,en:null},household_size_explanation:{fi:"Samassa osoitteessa asuvien aikuisten ja alaikäisten lasten määrä.",sv:null,en:null},gross_income_per_month:{fi:"Perheen tulot kuukaudessa",sv:null,en:null},gross_income_per_month_explanation:{fi:"Koko perheen yhteenlasketut ansio- ja pääomatulot sekä etuudet ennen verojen vähentämistä. Jos jätät kentän tyhjäksi, lasketaan arvio korkeimman maksun mukaisesti.",sv:null,en:null},child_info:{fi:"Lasten tiedot",sv:null,en:null},child_info_paragraph:{fi:"Täytä tiedot koko perheen varhaiskasvatuksessa olevista tai sinne tulevista lapsista. Jos lapsia on useampi, maksu määräytyy nuorimmasta alkaen.",sv:null,en:null},add_next_child:{fi:"Lisää seuraavan lapsen tiedot",sv:null,en:null},remove_child:{fi:"Poista lapsen tiedot",sv:null,en:null},removed_child:{fi:"Lapsen tiedot on nyt poistettu lomakkeelta.",sv:null,en:null},youngest_child_title:{fi:"Nuorin tai ainoa varhaiskasvatuksessa oleva lapsi",sv:null,en:null},nth_child_title:{fi:"Seuraavaksi nuorin varhaiskasvatuksessa oleva lapsi",sv:null,en:null},daycare_type:{fi:"Varhaiskasvatuksen muoto",sv:null,en:null},daycare_type_1:{fi:"Varhaiskasvatus arkipäivisin",sv:null,en:null},daycare_type_3:{fi:"Esiopetus ja varhaiskasvatus arkipäivisin",sv:null,en:null},daycare_type_2:{fi:"5-vuotiaiden varhaiskasvatus arkipäivisin",sv:null,en:null},daycare_type_4:{fi:"Vuorohoito (hoitoa myös iltaisin ja viikonloppuisin)",sv:null,en:null},daycare_type_1_explanation:{fi:"Varhaiskasvatusta tarjotaan kunnallisissa päiväkodeissa arkipäivinä klo 6.15–17.30, ryhmäperhepäiväkodeissa noin klo 7.30–16.30 sekä perhepäiväkodeissa ja kolmiperhepäivähoidossa noin klo 8.00–16.00.",sv:null,en:null},daycare_type_1_caretime:{fi:"Hoitoaika",sv:null,en:null},daycare_type_1_caretime_1:{fi:"Yli 7 tuntia päivässä",sv:null,en:null},daycare_type_1_caretime_2:{fi:"5–7 tuntia päivässä",sv:null,en:null},daycare_type_1_caretime_3:{fi:"Enintään 5 tuntia päivässä",sv:null,en:null},daycare_free_days:{fi:"Säännöllisiä vapaapäiviä kuukaudessa",sv:null,en:null},daycare_free_days_explanation:{fi:"Säännölliset ja sovitut 4–12 vapaapäivää kuukaudessa alentavat varhaiskasvatusmaksua.",sv:null,en:null},daycare_type_2_explanation:{fi:"5-vuotiaiden varhaiskasvatus on maksutonta 4 tuntia päivässä, ja se koskee kuluvan kalenterivuoden aikana 5 vuotta täyttäviä. Maksuton varhaiskasvatus alkaa aina 1.8. ja päättyy, kun lapsella alkaa esiopetus.",sv:null,en:null},daycare_type_2_caretime:{fi:"Hoitoaika",sv:null,en:null},daycare_type_2_caretime_1:{fi:"Yli 7 tuntia päivässä",sv:null,en:null},daycare_type_2_caretime_2:{fi:"5–7 tuntia päivässä",sv:null,en:null},daycare_type_2_caretime_3:{fi:"4–5 tuntia päivässä",sv:null,en:null},daycare_type_2_caretime_4:{fi:"Enintään 4 tuntia päivässä (maksuton)",sv:null,en:null},daycare_type_3_explanation:{fi:"6-vuotiaiden esiopetus ja 5-vuotiaiden esiopetuskokeilu on maksutonta 4 tuntia päivässä. Valitse vaihtoehdoista, jos lapsi on esiopetuksen lisäksi varhaiskasvatuksessa.",sv:null,en:null},daycare_type_3_caretime:{fi:"Esiopetuksen ja varhaiskasvatuksen hoitoaika yhteensä ",sv:null,en:null},daycare_type_3_caretime_1:{fi:"Yli 7 tuntia päivässä (hoitoaika voi joustaa yli 8 tunnin)",sv:null,en:null},daycare_type_3_caretime_2:{fi:"7–8 tuntia päivässä (hoitoaika ei jousta yli 8 tunnin)",sv:null,en:null},daycare_type_3_caretime_3:{fi:"5–7 tuntia päivässä",sv:null,en:null},daycare_type_3_caretime_4:{fi:"Enintään 5 tuntia päivässä",sv:null,en:null},daycare_type_4_explanation:{fi:"Vuorohoito tarkoittaa varhaiskasvatusta päiväkodeissa myös illalla, yöllä ja viikonloppuna huoltajan vuorotyön tai opiskelun vuoksi.",sv:null,en:null},daycare_type_4_caretime:{fi:"Hoitoaika",sv:null,en:null},daycare_type_4_caretime_1:{fi:"Yli 161 tuntia kuukaudessa",sv:null,en:null},daycare_type_4_caretime_2:{fi:"101–160 tuntia kuukaudessa",sv:null,en:null},daycare_type_4_caretime_3:{fi:"61–100 tuntia kuukaudessa",sv:null,en:null},daycare_has_preschool:{fi:"Lapsi on esiopetuksessa tai 5-vuotiaiden varhaiskasvatuksessa",sv:null,en:null},receipt_estimate_of_payment:{fi:"Arvio asiakasmaksusta",sv:null,en:null},receipt_family_estimated_payment_prefix:{fi:"Perheen arvioitu asiakasmaksu on",sv:null,en:null},receipt_family_estimated_payment_suffix:{fi:"euroa kuukaudessa.",sv:null,en:null},receipt_family_estimated_payment_explanation_min:{fi:"Alle ${minimum_payment_euro} euron maksuja ei laskuteta. ",sv:null,en:null},receipt_family_empty_income:{fi:"Arvio on laskettu korkeimman maksun mukaisesti, koska et täyttänyt laskuriin perheen kuukausituloja. ",sv:null,en:null},receipt_family_estimated_payment_explanation:{fi:"Tämä arvio on suuntaa antava. Tarkan asiakasmaksun saat asiakasmaksupäätöksessä vuosittain.",sv:null,en:null},receipt_estimate_is_based_on:{fi:"Arvio muodostuu seuraavista tiedoista:",sv:null,en:null},receipt_subtotal_euros_per_month:{fi:"${value} €/kk",sv:null,en:null},receipt_subtotal_euros_per_month_screenreader:{fi:"${value} euroa kuukaudessa",sv:null,en:null},receipt_additional_details:{fi:"Lisähuomiot:",sv:null,en:null},receipt_daycare_type_2_details:{fi:"5-vuotiaiden varhaiskasvatus on maksutonta 4 tuntia päivässä, ja se koskee kuluvan kalenterivuoden aikana 5 vuotta täyttäviä. Maksuton varhaiskasvatus alkaa aina 1.8. ja päättyy, kun lapsella alkaa esiopetus.",sv:null,en:null},receipt_daycare_type_3_details:{fi:"6-vuotiaiden esiopetus ja 5-vuotiaiden esiopetuskokeilu ovat maksuttomia 4 tuntia päivässä. Maksutonta esiopetusta ei ole koulun lomien aikana, jolloin 6-vuotiaasta esiopetuksessa olevasta lapsesta peritään kokopäivähoidon mukainen maksu jokaiselta läsnäolopäivältä. 5-vuotias esiopetuskokeilussa oleva lapsi saa 4 tuntia maksutonta varhaiskasvatusta myös koulun lomien aikana.",sv:null,en:null},receipt_daycare_type_4_details:{fi:"Esiopetus ja 5-vuotiaiden varhaiskasvatus ovat maksuttomia 4 tuntia arkipäivässä, 20 tuntia viikossa. 5-vuotiaiden varhaiskasvatus koskee kuluvan kalenterivuoden aikana 5 vuotta täyttäviä. Maksuton varhaiskasvatus alkaa aina 1.8. ja päättyy, kun lapsella alkaa esiopetus. 6-vuotiaiden esiopetusta ja 5-vuotiaiden esiopetuskokeilua ei ole koulun lomien aikana, jolloin 6-vuotiaasta esiopetuksessa olevasta lapsesta peritään kokopäivähoidon mukainen maksu jokaiselta läsnäolopäivältä. 5-vuotias esiopetuskokeilussa oleva lapsi saa 4 tuntia maksutonta varhaiskasvatusta myös koulun lomien aikana.",sv:null,en:null},receipt_aria_live:{fi:"Varhaiskasvatusmaksun arvio on ${payment} euroa kuukaudessa, lue lisätietoja lomakkeen alta.",sv:null,en:null}};class i{constructor(e,i){this.id=e;const _=JSON.parse(i),l=e=>{switch(this.calculator.getFieldValue(`daycare_type_for_child_${e}`)){case"1":this.calculator.showGroup(`daycare_type_1_${e}_group`),this.calculator.hideGroup(`daycare_type_2_${e}_group`),this.calculator.hideGroup(`daycare_type_3_${e}_group`),this.calculator.hideGroup(`daycare_type_4_${e}_group`);break;case"2":this.calculator.hideGroup(`daycare_type_1_${e}_group`),this.calculator.showGroup(`daycare_type_2_${e}_group`),this.calculator.hideGroup(`daycare_type_3_${e}_group`),this.calculator.hideGroup(`daycare_type_4_${e}_group`);break;case"3":this.calculator.hideGroup(`daycare_type_1_${e}_group`),this.calculator.hideGroup(`daycare_type_2_${e}_group`),this.calculator.showGroup(`daycare_type_3_${e}_group`),this.calculator.hideGroup(`daycare_type_4_${e}_group`);break;case"4":this.calculator.hideGroup(`daycare_type_1_${e}_group`),this.calculator.hideGroup(`daycare_type_2_${e}_group`),this.calculator.hideGroup(`daycare_type_3_${e}_group`),this.calculator.showGroup(`daycare_type_4_${e}_group`);break;default:this.calculator.hideGroup(`daycare_type_1_${e}_group`),this.calculator.hideGroup(`daycare_type_2_${e}_group`),this.calculator.hideGroup(`daycare_type_3_${e}_group`),this.calculator.hideGroup(`daycare_type_4_${e}_group`)}},r=()=>{l(1);const e=this.calculator.getElement("slots_nth_child");for(let a=0;a{const a=[],t=`daycare_type_for_child_${e}`;a.push(...this.calculator.validateBasics(t));switch(this.calculator.getFieldValue(t)){case"1":a.push(...this.calculator.validateBasics(`daycare_type_1_${e}_group_caretime`)),a.push(...this.calculator.validateBasics(`daycare_type_1_${e}_free_days`));break;case"2":a.push(...this.calculator.validateBasics(`daycare_type_2_${e}_group_caretime`)),a.push(...this.calculator.validateBasics(`daycare_type_2_${e}_free_days`));break;case"3":a.push(...this.calculator.validateBasics(`daycare_type_3_${e}_group_caretime`)),a.push(...this.calculator.validateBasics(`daycare_type_3_${e}_free_days`));break;case"4":a.push(...this.calculator.validateBasics(`daycare_type_4_${e}_group_caretime`))}return a},n=e=>({daycareType:this.calculator.getFieldValue(`daycare_type_for_child_${e}`),daycareTypeData:{1:{careTime:this.calculator.getFieldValue(`daycare_type_1_${e}_group_caretime`),freeDays:this.calculator.getFieldValue(`daycare_type_1_${e}_free_days`)},2:{careTime:this.calculator.getFieldValue(`daycare_type_2_${e}_group_caretime`),freeDays:this.calculator.getFieldValue(`daycare_type_2_${e}_free_days`)},3:{careTime:this.calculator.getFieldValue(`daycare_type_3_${e}_group_caretime`),freeDays:this.calculator.getFieldValue(`daycare_type_3_${e}_free_days`)},4:{careTime:this.calculator.getFieldValue(`daycare_type_4_${e}_group_caretime`),roundTheClockCareWithPreschool:this.calculator.getFieldValue(`daycare_type_4_${e}_has_preschool`)}}});function u(e,a){const{careTime:t,freeDays:i}=e.daycareTypeData[e.daycareType],_={1:{type:"early_education_on_weekdays",careTime:{1:"over_7_hours_percentage",2:"over_5_and_at_most_7_hours_percentage",3:"at_most_5_hours_percentage"}},2:{type:"for_5_year_old",careTime:{1:"over_7_hours_percentage",2:"over_5_and_at_most_7_hours_percentage",3:"over_4_and_at_most_5_hours_percentage",4:"at_most_4_hours_percentage"}},3:{type:"for_6_year_old",careTime:{1:"over_7_hours_percentage",2:"from_7_to_8_hours_percentage",3:"over_5_and_at_most_7_hours_percentage",4:"at_most_5_hours_percentage"}},4:{type:"round_the_clock_care",careTime:{1:"from_161_hours_percentage",2:"from_101_to_160_hours_percentage",3:"from_61_to_100_hours_percentage"}}};let l=_[e.daycareType].type,r=!1;"round_the_clock_care"===l&&e.daycareTypeData[e.daycareType].roundTheClockCareWithPreschool&&(l="round_the_clock_care_with_preschool",r=!0);const s=_[e.daycareType].careTime[t],n=Number(a[l][s])/100;let u=1;const o=Number(i);o>=4&&o<=12&&(u=(100-Number(a.free_day_percentage)*Number(i))/100);return{carePaymentMultiplier:n,freeDayMultiplier:u,totalMultiplier:n*u,hasRoundTheClockCareWithPreschool:r}}const o=()=>{const e=[];e.push(...this.calculator.validateBasics("household_size"));const a=this.calculator.getElement("slots_nth_child");null!==this.calculator.getFieldValue("household_size")&&a.children.length&&a.children.length+2>Number(this.calculator.getFieldValue("household_size"))&&e.push(...this.calculator.getError("household_size","household_size_is_too_small_for_child_count",{minValue:a.children.length+2,childCount:a.children.length+1})),e.push(...this.calculator.validateBasics("gross_income_per_month")),e.push(...s(1));for(let t=0;t0)return{min:_*a.family_size_beyond_defined_multiplier_euro+a.family_size_income_limits[`${i}`].min,max:_*a.family_size_beyond_defined_multiplier_euro+a.family_size_income_limits[`${i}`].max};throw new Error(`Income limits error for householdSize ${e}`)}(t,_);let c=null,d="";if(i||0===i)if(lNumber(_.child_1_max_euro)&&(c=Number(_.child_1_max_euro))}else d=this.t("receipt_family_empty_income"),c=Number(_.child_1_max_euro);for(let e=0;e0&&u.details.push(`${this.t("daycare_free_days")}: ${l}`),a&&u.details.push(this.t("receipt_family_estimated_payment_explanation_min",{minimum_payment_euro:_.minimum_payment_euro})),s&&u.details.push(this.t("daycare_has_preschool")),y.push(u),"2"===t||"3"===t||s){let e=null;m.length||(e=this.t("receipt_additional_details")),m.push({title:e,text:this.t(`receipt_daycare_type_${t}_details`)})}p+=r[e].paymentRounded}p<_.minimum_payment_euro&&(p=0,d=this.t("receipt_family_estimated_payment_explanation_min",{minimum_payment_euro:_.minimum_payment_euro})+d),d+=this.t("receipt_family_estimated_payment_explanation");const h={id:this.id,title:this.t("receipt_estimate_of_payment"),total_prefix:this.t("receipt_family_estimated_payment_prefix"),total_value:p,total_suffix:this.t("receipt_family_estimated_payment_suffix"),total_explanation:d,hr:!0,breakdown:{title:this.t("receipt_estimate_is_based_on"),subtotals:y,additional_details:m}};return{receipt:this.calculator.getPartialRender("{{>receipt}}",h),ariaLive:this.t("receipt_aria_live",{payment:p})}},c={submit:e=>{this.calculator.clearResult(),e.preventDefault();const a=o();this.calculator.renderResult(a)},keydown:()=>{r()},change:()=>{r()},reset:()=>{window.setTimeout(r,1),this.calculator.clearResult(),this.calculator.showAriaLiveText(this.t("reset_aria_live"));this.calculator.getElement("slots_nth_child").innerHTML=""}},d=e=>{e.preventDefault();const a=e.target.closest(".helfi-calculator__dynamic-slot");if(a){const t=a.closest(".helfi-calculator__dynamic-area");e.target.removeEventListener("click",d),a.parentElement.removeChild(a),t?.querySelector(":scope > .hds-button")?.focus(),this.calculator.showAriaLiveText(this.t("removed_child"))}};this.calculator=window.HelfiCalculator({name:"daycare_payment",translations:t}),this.t=(e,a)=>this.calculator.translate(e,a),this.settings=this.calculator.parseSettings(i),this.calculator.init({id:e,formData:(()=>a.getFormData(this.id,this.t))(),eventHandlers:c});this.calculator.getElement("add-button_nth_child").addEventListener("click",(e=>{e.preventDefault();const t=this.calculator.getElement("slots_nth_child");t.dataset.itemCount=t.dataset.itemCount||t.childElementCount;const i=Number(t.dataset.itemCount)+2,_={form_id:this.id,dynamic_slot:a.dynamicChildData(i,this.t)},l=this.calculator.getPartialRender("\n {{#dynamic_slot}}\n {{>dynamic_slot}}\n {{/dynamic_slot}}\n ",_);t.insertAdjacentHTML("beforeend",l);const r=this.calculator.getElement(`child_${i}`);r.querySelector(".helfi-calculator__dynamic-remove").addEventListener("click",d),t.dataset.itemCount=i-1,r.querySelector("input").focus()}))}}window.helfi_calculator=window.helfi_calculator||{},window.helfi_calculator.daycare_payment=(e,a)=>new i(e,a)}(); \ No newline at end of file +!function(){"use strict";var e={365:function(e,a){const t=(e,a)=>{const t={id:`child_${e}`,slotNumber:e,items:[{heading:{text:1===e?a("youngest_child_title"):a("nth_child_title",{childNumber:e}),level:4}},{radio:{id:`daycare_type_for_child_${e}`,label:a("daycare_type"),required:!0,radio_items:[{name:`daycare_type_for_child_${e}`,item_id:`daycare_type_for_child_${e}_1`,label:a("daycare_type_1"),value:1},{name:`daycare_type_for_child_${e}`,item_id:`daycare_type_for_child_${e}_2`,label:a("daycare_type_2"),value:2},{name:`daycare_type_for_child_${e}`,item_id:`daycare_type_for_child_${e}_3`,label:a("daycare_type_3"),value:3},{name:`daycare_type_for_child_${e}`,item_id:`daycare_type_for_child_${e}_4`,label:a("daycare_type_4"),value:4}]}},{group:{id:`daycare_type_1_${e}_group`,hide_group:!0,items:[{paragraph:{text:a("daycare_type_1_explanation")}},{radio:{id:`daycare_type_1_${e}_group_caretime`,label:a("daycare_type_1_caretime"),required:!0,radio_items:[{name:`daycare_type_1_${e}_group_caretime`,item_id:`daycare_type_1_${e}_group_caretime_1`,label:a("daycare_type_1_caretime_1"),value:1},{name:`daycare_type_1_${e}_group_caretime`,item_id:`daycare_type_1_${e}_group_caretime_2`,label:a("daycare_type_1_caretime_2"),value:2},{name:`daycare_type_1_${e}_group_caretime`,item_id:`daycare_type_1_${e}_group_caretime_3`,label:a("daycare_type_1_caretime_3"),value:3}]}},{input_integer:{id:`daycare_type_1_${e}_free_days`,label:a("daycare_free_days"),unit:a("unit_day"),min:0,max:12,size:2,required:!1,helper_text:a("daycare_free_days_explanation")}}]}},{group:{id:`daycare_type_2_${e}_group`,hide_group:!0,items:[{paragraph:{text:a("daycare_type_2_explanation")}},{radio:{id:`daycare_type_2_${e}_group_caretime`,label:a("daycare_type_2_caretime"),required:!0,radio_items:[{name:`daycare_type_2_${e}_group_caretime`,item_id:`daycare_type_2_${e}_group_caretime_1`,label:a("daycare_type_2_caretime_1"),value:1},{name:`daycare_type_2_${e}_group_caretime`,item_id:`daycare_type_2_${e}_group_caretime_2`,label:a("daycare_type_2_caretime_2"),value:2},{name:`daycare_type_2_${e}_group_caretime`,item_id:`daycare_type_2_${e}_group_caretime_3`,label:a("daycare_type_2_caretime_3"),value:3},{name:`daycare_type_2_${e}_group_caretime`,item_id:`daycare_type_2_${e}_group_caretime_4`,label:a("daycare_type_2_caretime_4"),value:4}]}},{input_integer:{id:`daycare_type_2_${e}_free_days`,label:a("daycare_free_days"),unit:a("unit_day"),min:0,max:12,size:2,required:!1,helper_text:a("daycare_free_days_explanation")}}]}},{group:{id:`daycare_type_3_${e}_group`,hide_group:!0,items:[{paragraph:{text:a("daycare_type_3_explanation")}},{radio:{id:`daycare_type_3_${e}_group_caretime`,label:a("daycare_type_3_caretime"),required:!0,radio_items:[{name:`daycare_type_3_${e}_group_caretime`,item_id:`daycare_type_3_${e}_group_caretime_1`,label:a("daycare_type_3_caretime_1"),value:1},{name:`daycare_type_3_${e}_group_caretime`,item_id:`daycare_type_3_${e}_group_caretime_2`,label:a("daycare_type_3_caretime_2"),value:2},{name:`daycare_type_3_${e}_group_caretime`,item_id:`daycare_type_3_${e}_group_caretime_3`,label:a("daycare_type_3_caretime_3"),value:3},{name:`daycare_type_3_${e}_group_caretime`,item_id:`daycare_type_3_${e}_group_caretime_4`,label:a("daycare_type_3_caretime_4"),value:4}]}},{input_integer:{id:`daycare_type_3_${e}_free_days`,label:a("daycare_free_days"),unit:a("unit_day"),min:0,max:12,size:2,required:!1,helper_text:a("daycare_free_days_explanation")}}]}},{group:{id:`daycare_type_4_${e}_group`,hide_group:!0,items:[{paragraph:{text:a("daycare_type_4_explanation")}},{radio:{id:`daycare_type_4_${e}_group_caretime`,label:a("daycare_type_4_caretime"),required:!0,radio_items:[{name:`daycare_type_4_${e}_group_caretime`,item_id:`daycare_type_4_${e}_group_caretime_1`,label:a("daycare_type_4_caretime_1"),value:1},{name:`daycare_type_4_${e}_group_caretime`,item_id:`daycare_type_4_${e}_group_caretime_2`,label:a("daycare_type_4_caretime_2"),value:2},{name:`daycare_type_4_${e}_group_caretime`,item_id:`daycare_type_4_${e}_group_caretime_3`,label:a("daycare_type_4_caretime_3"),value:3}]}},{checkbox:{id:`daycare_type_4_${e}_has_preschool`,label:a("daycare_has_preschool")}}]}}]};return 1!==e&&(t.remove_label=a("remove_child")),t};a.Z={getFormData:function(e,a){return{form_id:e,has_required_fields:!0,items:[{heading:{text:a("family_info"),level:3}},{input_integer:{id:"household_size",label:a("household_size"),unit:a("unit_person"),min:2,size:2,required:!0,helper_text:a("household_size_explanation")}},{input_float:{id:"gross_income_per_month",label:a("gross_income_per_month"),unit:a("unit_euro"),size:8,required:!1,strip:"[€eE ]",helper_text:a("gross_income_per_month_explanation")}},{heading:{text:a("child_info"),level:3}},{paragraph:{text:a("child_info_paragraph")}},{dynamic_area:{id:"first_child",dynamic_slots:[t(1,a)]}},{dynamic_area:{id:"nth_child",add_button_label:a("add_next_child"),dynamic_slots:[]}},{hr:{}}]}},dynamicChildData:t}},1022:function(e,a){a.Z={family_info:{fi:"Perheen tiedot",sv:null,en:null},household_size:{fi:"Perheen koko",sv:null,en:null},household_size_is_too_small_for_child_count:{fi:"Lukumäärän pitäisi olla vähintään ${minValue}, jos samassa osoitteessa asuu aikuinen ja ${childCount} lasta.",sv:null,en:null},household_size_explanation:{fi:"Samassa osoitteessa asuvien aikuisten ja alaikäisten lasten määrä.",sv:null,en:null},gross_income_per_month:{fi:"Perheen tulot kuukaudessa",sv:null,en:null},gross_income_per_month_explanation:{fi:"Koko perheen yhteenlasketut ansio- ja pääomatulot sekä etuudet ennen verojen vähentämistä. Jos jätät kentän tyhjäksi, lasketaan arvio korkeimman maksun mukaisesti.",sv:null,en:null},child_info:{fi:"Lasten tiedot",sv:null,en:null},child_info_paragraph:{fi:"Täytä tiedot koko perheen varhaiskasvatuksessa olevista tai sinne tulevista lapsista. Jos lapsia on useampi, maksu määräytyy nuorimmasta alkaen.",sv:null,en:null},add_next_child:{fi:"Lisää seuraavan lapsen tiedot",sv:null,en:null},remove_child:{fi:"Poista lapsen tiedot",sv:null,en:null},removed_child:{fi:"Lapsen tiedot on nyt poistettu lomakkeelta.",sv:null,en:null},youngest_child_title:{fi:"Nuorin tai ainoa varhaiskasvatuksessa oleva lapsi",sv:null,en:null},nth_child_title:{fi:"Seuraavaksi nuorin varhaiskasvatuksessa oleva lapsi",sv:null,en:null},daycare_type:{fi:"Varhaiskasvatuksen muoto",sv:null,en:null},daycare_type_1:{fi:"Varhaiskasvatus arkipäivisin",sv:null,en:null},daycare_type_3:{fi:"Esiopetus ja varhaiskasvatus arkipäivisin",sv:null,en:null},daycare_type_2:{fi:"5-vuotiaiden varhaiskasvatus arkipäivisin",sv:null,en:null},daycare_type_4:{fi:"Vuorohoito (hoitoa myös iltaisin ja viikonloppuisin)",sv:null,en:null},daycare_type_1_explanation:{fi:"Varhaiskasvatusta tarjotaan kunnallisissa päiväkodeissa arkipäivinä klo 6.15–17.30, ryhmäperhepäiväkodeissa noin klo 7.30–16.30 sekä perhepäiväkodeissa ja kolmiperhepäivähoidossa noin klo 8.00–16.00.",sv:null,en:null},daycare_type_1_caretime:{fi:"Hoitoaika",sv:null,en:null},daycare_type_1_caretime_1:{fi:"Yli 7 tuntia päivässä",sv:null,en:null},daycare_type_1_caretime_2:{fi:"5–7 tuntia päivässä",sv:null,en:null},daycare_type_1_caretime_3:{fi:"Enintään 5 tuntia päivässä",sv:null,en:null},daycare_free_days:{fi:"Säännöllisiä vapaapäiviä kuukaudessa",sv:null,en:null},daycare_free_days_explanation:{fi:"Säännölliset ja sovitut 4–12 vapaapäivää kuukaudessa alentavat varhaiskasvatusmaksua.",sv:null,en:null},daycare_type_2_explanation:{fi:"5-vuotiaiden varhaiskasvatus on maksutonta 4 tuntia päivässä, ja se koskee kuluvan kalenterivuoden aikana 5 vuotta täyttäviä. Maksuton varhaiskasvatus alkaa aina 1.8. ja päättyy, kun lapsella alkaa esiopetus.",sv:null,en:null},daycare_type_2_caretime:{fi:"Hoitoaika",sv:null,en:null},daycare_type_2_caretime_1:{fi:"Yli 7 tuntia päivässä",sv:null,en:null},daycare_type_2_caretime_2:{fi:"5–7 tuntia päivässä",sv:null,en:null},daycare_type_2_caretime_3:{fi:"4–5 tuntia päivässä",sv:null,en:null},daycare_type_2_caretime_4:{fi:"Enintään 4 tuntia päivässä (maksuton)",sv:null,en:null},daycare_type_3_explanation:{fi:"6-vuotiaiden esiopetus ja 5-vuotiaiden esiopetuskokeilu on maksutonta 4 tuntia päivässä. Valitse vaihtoehdoista, jos lapsi on esiopetuksen lisäksi varhaiskasvatuksessa.",sv:null,en:null},daycare_type_3_caretime:{fi:"Esiopetuksen ja varhaiskasvatuksen hoitoaika yhteensä ",sv:null,en:null},daycare_type_3_caretime_1:{fi:"Yli 7 tuntia päivässä (hoitoaika voi joustaa yli 8 tunnin)",sv:null,en:null},daycare_type_3_caretime_2:{fi:"7–8 tuntia päivässä (hoitoaika ei jousta yli 8 tunnin)",sv:null,en:null},daycare_type_3_caretime_3:{fi:"5–7 tuntia päivässä",sv:null,en:null},daycare_type_3_caretime_4:{fi:"Enintään 5 tuntia päivässä",sv:null,en:null},daycare_type_4_explanation:{fi:"Vuorohoito tarkoittaa varhaiskasvatusta päiväkodeissa myös illalla, yöllä ja viikonloppuna huoltajan vuorotyön tai opiskelun vuoksi.",sv:null,en:null},daycare_type_4_caretime:{fi:"Hoitoaika",sv:null,en:null},daycare_type_4_caretime_1:{fi:"Yli 161 tuntia kuukaudessa",sv:null,en:null},daycare_type_4_caretime_2:{fi:"101–160 tuntia kuukaudessa",sv:null,en:null},daycare_type_4_caretime_3:{fi:"61–100 tuntia kuukaudessa",sv:null,en:null},daycare_has_preschool:{fi:"Lapsi on esiopetuksessa tai 5-vuotiaiden varhaiskasvatuksessa",sv:null,en:null},receipt_estimate_of_payment:{fi:"Arvio asiakasmaksusta",sv:null,en:null},receipt_family_estimated_payment_prefix:{fi:"Perheen arvioitu asiakasmaksu on",sv:null,en:null},receipt_family_estimated_payment_suffix:{fi:"euroa kuukaudessa.",sv:null,en:null},receipt_family_estimated_payment_explanation_min:{fi:"Alle ${minimum_payment_euro} euron maksuja ei laskuteta. ",sv:null,en:null},receipt_family_empty_income:{fi:"Arvio on laskettu korkeimman maksun mukaisesti, koska et täyttänyt laskuriin perheen kuukausituloja. ",sv:null,en:null},receipt_family_estimated_payment_explanation:{fi:"Tämä arvio on suuntaa antava. Tarkan asiakasmaksun saat asiakasmaksupäätöksessä vuosittain.",sv:null,en:null},receipt_estimate_is_based_on:{fi:"Arvio muodostuu seuraavista tiedoista:",sv:null,en:null},receipt_subtotal_euros_per_month:{fi:"${value} €/kk",sv:null,en:null},receipt_subtotal_euros_per_month_screenreader:{fi:"${value} euroa kuukaudessa",sv:null,en:null},receipt_additional_details:{fi:"Lisähuomiot:",sv:null,en:null},receipt_daycare_type_2_details:{fi:"5-vuotiaiden varhaiskasvatus on maksutonta 4 tuntia päivässä, ja se koskee kuluvan kalenterivuoden aikana 5 vuotta täyttäviä. Maksuton varhaiskasvatus alkaa aina 1.8. ja päättyy, kun lapsella alkaa esiopetus.",sv:null,en:null},receipt_daycare_type_3_details:{fi:"6-vuotiaiden esiopetus ja 5-vuotiaiden esiopetuskokeilu ovat maksuttomia 4 tuntia päivässä. Maksutonta esiopetusta ei ole koulun lomien aikana, jolloin 6-vuotiaasta esiopetuksessa olevasta lapsesta peritään kokopäivähoidon mukainen maksu jokaiselta läsnäolopäivältä. 5-vuotias esiopetuskokeilussa oleva lapsi saa 4 tuntia maksutonta varhaiskasvatusta myös koulun lomien aikana.",sv:null,en:null},receipt_daycare_type_4_details:{fi:"Esiopetus ja 5-vuotiaiden varhaiskasvatus ovat maksuttomia 4 tuntia arkipäivässä, 20 tuntia viikossa. 5-vuotiaiden varhaiskasvatus koskee kuluvan kalenterivuoden aikana 5 vuotta täyttäviä. Maksuton varhaiskasvatus alkaa aina 1.8. ja päättyy, kun lapsella alkaa esiopetus. 6-vuotiaiden esiopetusta ja 5-vuotiaiden esiopetuskokeilua ei ole koulun lomien aikana, jolloin 6-vuotiaasta esiopetuksessa olevasta lapsesta peritään kokopäivähoidon mukainen maksu jokaiselta läsnäolopäivältä. 5-vuotias esiopetuskokeilussa oleva lapsi saa 4 tuntia maksutonta varhaiskasvatusta myös koulun lomien aikana.",sv:null,en:null},receipt_aria_live:{fi:"Varhaiskasvatusmaksun arvio on ${payment} euroa kuukaudessa, lue lisätietoja lomakkeen alta.",sv:null,en:null}}}},a={};function t(i){var _=a[i];if(void 0!==_)return _.exports;var l=a[i]={exports:{}};return e[i](l,l.exports,t),l.exports}!function(){var e=t(365),a=t(1022);class i{constructor(t,i){this.id=t;const _=JSON.parse(i),l=e=>{switch(this.calculator.getFieldValue(`daycare_type_for_child_${e}`)){case"1":this.calculator.showGroup(`daycare_type_1_${e}_group`),this.calculator.hideGroup(`daycare_type_2_${e}_group`),this.calculator.hideGroup(`daycare_type_3_${e}_group`),this.calculator.hideGroup(`daycare_type_4_${e}_group`);break;case"2":this.calculator.hideGroup(`daycare_type_1_${e}_group`),this.calculator.showGroup(`daycare_type_2_${e}_group`),this.calculator.hideGroup(`daycare_type_3_${e}_group`),this.calculator.hideGroup(`daycare_type_4_${e}_group`);break;case"3":this.calculator.hideGroup(`daycare_type_1_${e}_group`),this.calculator.hideGroup(`daycare_type_2_${e}_group`),this.calculator.showGroup(`daycare_type_3_${e}_group`),this.calculator.hideGroup(`daycare_type_4_${e}_group`);break;case"4":this.calculator.hideGroup(`daycare_type_1_${e}_group`),this.calculator.hideGroup(`daycare_type_2_${e}_group`),this.calculator.hideGroup(`daycare_type_3_${e}_group`),this.calculator.showGroup(`daycare_type_4_${e}_group`);break;default:this.calculator.hideGroup(`daycare_type_1_${e}_group`),this.calculator.hideGroup(`daycare_type_2_${e}_group`),this.calculator.hideGroup(`daycare_type_3_${e}_group`),this.calculator.hideGroup(`daycare_type_4_${e}_group`)}},r=()=>{l(1);const e=this.calculator.getElement("slots_nth_child");for(let a=0;a{const a=[],t=`daycare_type_for_child_${e}`;a.push(...this.calculator.validateBasics(t));switch(this.calculator.getFieldValue(t)){case"1":a.push(...this.calculator.validateBasics(`daycare_type_1_${e}_group_caretime`)),a.push(...this.calculator.validateBasics(`daycare_type_1_${e}_free_days`));break;case"2":a.push(...this.calculator.validateBasics(`daycare_type_2_${e}_group_caretime`)),a.push(...this.calculator.validateBasics(`daycare_type_2_${e}_free_days`));break;case"3":a.push(...this.calculator.validateBasics(`daycare_type_3_${e}_group_caretime`)),a.push(...this.calculator.validateBasics(`daycare_type_3_${e}_free_days`));break;case"4":a.push(...this.calculator.validateBasics(`daycare_type_4_${e}_group_caretime`))}return a},n=e=>({daycareType:this.calculator.getFieldValue(`daycare_type_for_child_${e}`),daycareTypeData:{1:{careTime:this.calculator.getFieldValue(`daycare_type_1_${e}_group_caretime`),freeDays:this.calculator.getFieldValue(`daycare_type_1_${e}_free_days`)},2:{careTime:this.calculator.getFieldValue(`daycare_type_2_${e}_group_caretime`),freeDays:this.calculator.getFieldValue(`daycare_type_2_${e}_free_days`)},3:{careTime:this.calculator.getFieldValue(`daycare_type_3_${e}_group_caretime`),freeDays:this.calculator.getFieldValue(`daycare_type_3_${e}_free_days`)},4:{careTime:this.calculator.getFieldValue(`daycare_type_4_${e}_group_caretime`),roundTheClockCareWithPreschool:this.calculator.getFieldValue(`daycare_type_4_${e}_has_preschool`)}}});function u(e,a){const{careTime:t,freeDays:i}=e.daycareTypeData[e.daycareType],_={1:{type:"early_education_on_weekdays",careTime:{1:"over_7_hours_percentage",2:"over_5_and_at_most_7_hours_percentage",3:"at_most_5_hours_percentage"}},2:{type:"for_5_year_old",careTime:{1:"over_7_hours_percentage",2:"over_5_and_at_most_7_hours_percentage",3:"over_4_and_at_most_5_hours_percentage",4:"at_most_4_hours_percentage"}},3:{type:"for_6_year_old",careTime:{1:"over_7_hours_percentage",2:"from_7_to_8_hours_percentage",3:"over_5_and_at_most_7_hours_percentage",4:"at_most_5_hours_percentage"}},4:{type:"round_the_clock_care",careTime:{1:"from_161_hours_percentage",2:"from_101_to_160_hours_percentage",3:"from_61_to_100_hours_percentage"}}};let l=_[e.daycareType].type,r=!1;"round_the_clock_care"===l&&e.daycareTypeData[e.daycareType].roundTheClockCareWithPreschool&&(l="round_the_clock_care_with_preschool",r=!0);const s=_[e.daycareType].careTime[t],n=Number(a[l][s])/100;let u=1;const o=Number(i);o>=4&&o<=12&&(u=(100-Number(a.free_day_percentage)*Number(i))/100);return{carePaymentMultiplier:n,freeDayMultiplier:u,totalMultiplier:n*u,hasRoundTheClockCareWithPreschool:r}}const o=()=>{const e=[];e.push(...this.calculator.validateBasics("household_size"));const a=this.calculator.getElement("slots_nth_child");null!==this.calculator.getFieldValue("household_size")&&a.children.length&&a.children.length+2>Number(this.calculator.getFieldValue("household_size"))&&e.push(...this.calculator.getError("household_size","household_size_is_too_small_for_child_count",{minValue:a.children.length+2,childCount:a.children.length+1})),e.push(...this.calculator.validateBasics("gross_income_per_month")),e.push(...s(1));for(let t=0;t0)return{min:_*a.family_size_beyond_defined_multiplier_euro+a.family_size_income_limits[`${i}`].min,max:_*a.family_size_beyond_defined_multiplier_euro+a.family_size_income_limits[`${i}`].max};throw new Error(`Income limits error for householdSize ${e}`)}(t,_);let c=null,d="";if(i||0===i)if(lNumber(_.child_1_max_euro)&&(c=Number(_.child_1_max_euro))}else d=this.t("receipt_family_empty_income"),c=Number(_.child_1_max_euro);for(let e=0;e0&&u.details.push(`${this.t("daycare_free_days")}: ${l}`),a&&u.details.push(this.t("receipt_family_estimated_payment_explanation_min",{minimum_payment_euro:_.minimum_payment_euro})),s&&u.details.push(this.t("daycare_has_preschool")),y.push(u),"2"===t||"3"===t||s){let e=null;m.length||(e=this.t("receipt_additional_details")),m.push({title:e,text:this.t(`receipt_daycare_type_${t}_details`)})}p+=r[e].paymentRounded}p<_.minimum_payment_euro&&(p=0,d=this.t("receipt_family_estimated_payment_explanation_min",{minimum_payment_euro:_.minimum_payment_euro})+d),d+=this.t("receipt_family_estimated_payment_explanation");const h={id:this.id,title:this.t("receipt_estimate_of_payment"),total_prefix:this.t("receipt_family_estimated_payment_prefix"),total_value:p,total_suffix:this.t("receipt_family_estimated_payment_suffix"),total_explanation:d,hr:!0,breakdown:{title:this.t("receipt_estimate_is_based_on"),subtotals:y,additional_details:m}};return{receipt:this.calculator.getPartialRender("{{>receipt}}",h),ariaLive:this.t("receipt_aria_live",{payment:p})}},c={submit:e=>{this.calculator.clearResult(),e.preventDefault();const a=o();this.calculator.renderResult(a)},keydown:()=>{r()},change:()=>{r()},reset:()=>{window.setTimeout(r,1),this.calculator.clearResult(),this.calculator.showAriaLiveText(this.t("reset_aria_live"));this.calculator.getElement("slots_nth_child").innerHTML=""}},d=e=>{e.preventDefault();const a=e.target.closest(".helfi-calculator__dynamic-slot");if(a){const t=a.closest(".helfi-calculator__dynamic-area");e.target.removeEventListener("click",d),a.parentElement.removeChild(a),t?.querySelector(":scope > .hds-button")?.focus(),this.calculator.showAriaLiveText(this.t("removed_child"))}};this.calculator=window.HelfiCalculator({name:"daycare_payment",translations:a.Z}),this.t=(e,a)=>this.calculator.translate(e,a),this.settings=this.calculator.parseSettings(i),this.calculator.init({id:t,formData:(()=>e.Z.getFormData(this.id,this.t))(),eventHandlers:c});this.calculator.getElement("add-button_nth_child").addEventListener("click",(a=>{a.preventDefault();const t=this.calculator.getElement("slots_nth_child");t.dataset.itemCount=t.dataset.itemCount||t.childElementCount;const i=Number(t.dataset.itemCount)+2,_={form_id:this.id,dynamic_slot:e.Z.dynamicChildData(i,this.t)},l=this.calculator.getPartialRender("\n {{#dynamic_slot}}\n {{>dynamic_slot}}\n {{/dynamic_slot}}\n ",_);t.insertAdjacentHTML("beforeend",l);const r=this.calculator.getElement(`child_${i}`);r.querySelector(".helfi-calculator__dynamic-remove").addEventListener("click",d),t.dataset.itemCount=i-1,r.querySelector("input").focus()}))}}window.helfi_calculator=window.helfi_calculator||{},window.helfi_calculator.daycare_payment=(e,a)=>new i(e,a)}()}(); \ No newline at end of file diff --git a/dist/js/home_care_client_payment.min.js b/dist/js/home_care_client_payment.min.js index 49302ca0d..6e660d572 100644 --- a/dist/js/home_care_client_payment.min.js +++ b/dist/js/home_care_client_payment.min.js @@ -1 +1 @@ -!function(){"use strict";var e={1799:function(e,i){i.Z={getFormData:function(e,i,{firstPerWeekPrice:a,othersPerWeekPrice:t}){return{form_id:e,has_required_fields:!0,items:[{heading:{text:i("family_info"),level:3}},{input_integer:{id:"household_size",label:i("household_size"),unit:i("unit_person"),min:1,max:6,size:2,required:!0,helper_text:i("household_size_explanation")}},{input_float:{id:"gross_income_per_month",label:i("gross_income_per_month"),unit:i("unit_euro"),min:0,size:8,required:!1,strip:"[€eE ]",helper_text:i("gross_income_per_month_explanation")}},{input_integer:{id:"monthly_usage",label:i("monthly_usage"),unit:i("unit_hour"),min:0,max:744,size:3,required:!0,helper_text:i("monthly_usage_explanation")}},{heading:{text:i("living_at_home_heading"),level:3}},{paragraph:{text:i("living_at_home_paragraph")}},{heading:{text:i("safetyphone_heading"),level:3}},{paragraph:{text:i("safetyphone_paragraph")}},{radio:{id:"safetyphone",label:i("safetyphone"),required:!0,radio_items:[{name:"safetyphone",item_id:"safetyphone_1",label:i("yes_calculate"),value:1},{name:"safetyphone",item_id:"safetyphone_2",label:i("no"),value:2}]}},{heading:{text:i("shopping_service_heading"),level:3}},{paragraph:{text:i("shopping_service_paragraph")}},{radio:{id:"shopping_service",label:i("shopping_service"),required:!0,radio_items:[{name:"shopping_service",item_id:"shopping_service_1",label:i("yes_calculate"),value:1},{name:"shopping_service",item_id:"shopping_service_2",label:i("no"),value:2}]}},{group:{id:"shopping_service_group",hide_group:!0,items:[{input_integer:{id:"shopping_service_per_week",label:i("shopping_service_per_week"),unit:i("unit_amount"),min:1,size:2,required:!0,helper_text:i("shopping_service_per_week_explanation",{first_per_week_price:a,others_per_week_price:t})}}]}},{heading:{text:i("meal_service_heading"),level:3}},{paragraph:{text:i("meal_service_paragraph")}},{radio:{id:"meal_service",label:i("meal_service"),required:!0,radio_items:[{name:"meal_service",item_id:"meal_service_1",label:i("yes_calculate"),value:1},{name:"meal_service",item_id:"meal_service_2",label:i("no"),value:2}]}},{group:{id:"meal_service_group",hide_group:!0,items:[{input_integer:{id:"meal_service_per_week",label:i("meal_service_per_week"),unit:i("unit_amount"),min:1,max:7,size:2,required:!0,helper_text:i("meal_service_per_week_explanation")}}]}}]}}}}},i={};function a(t){var s=i[t];if(void 0!==s)return s.exports;var l=i[t]={exports:{}};return e[t](l,l.exports,a),l.exports}!function(){var e=a(1799);var i={family_info:{fi:"Talouden tiedot",sv:null,en:null},household_size:{fi:"Talouden koko",sv:null,en:null},household_size_explanation:{fi:"Samassa osoitteessa asuvien perheenjäsenten määrä.",sv:null,en:null},gross_income_per_month:{fi:"Talouden tulot kuukaudessa",sv:null,en:null},gross_income_per_month_explanation:{fi:"Koko talouden yhteenlasketut ansio- ja pääomatulot sekä etuudet ennen verojen vähentämistä. Tuloihin lasketaan palkka, eläke-, vuokra- ja korkotulot sekä etuudet, esimerkiksi eläkkeensaajan hoitotuki. Jos jätät kentän tyhjäksi, lasketaan arvio korkeimman maksun mukaisesti.",sv:null,en:null},monthly_usage:{fi:"Kotihoidon tuntimäärä kuukaudessa",sv:null,en:null},monthly_usage_explanation:{fi:"Löydät tuntimäärän kotihoidon päätöksestä.",sv:null,en:null},living_at_home_heading:{fi:"Kotona asumista tukevat palvelut",sv:null,en:null},living_at_home_paragraph:{fi:"Voit laskea mukaan kotona asumista tukevia palveluja. Palvelut ovat maksullisia.",sv:null,en:null},safetyphone_heading:{fi:"Turvapuhelin ja turvaranneke",sv:null,en:null},safetyphone_paragraph:{fi:"Turvapuhelinpalveluun kuuluu turvapuhelin ja turvaranneke, joilla saat tarvittaessa apua ympäri vuorokauden. Turvapuhelinpalvelun maksut riippuvat talouden tuloista.",sv:null,en:null},safetyphone:{fi:"Laske arvioon turvapuhelin ja turvaranneke",sv:null,en:null},yes_calculate:{fi:"Kyllä, laske arvioon.",sv:null,en:null},no:{fi:"Ei",sv:null,en:null},shopping_service_heading:{fi:"Kauppapalvelu",sv:null,en:null},shopping_service_paragraph:{fi:"Kauppapalvelussa tilaamasi ruokaostokset toimitetaan kotiovellesi. Palvelussa on toimitusmaksu.",sv:null,en:null},shopping_service:{fi:"Laske arvioon kauppapalvelu",sv:null,en:null},shopping_service_per_week:{fi:"Kauppapalvelun toimitusten määrä viikossa",sv:null,en:null},shopping_service_per_week_explanation:{fi:"Yksi toimitus viikossa maksaa ${first_per_week_price} euroa, muut toimitukset ${others_per_week_price} euroa per toimitus.",sv:null,en:null},meal_service_heading:{fi:"Ateriapalvelu",sv:null,en:null},meal_service_paragraph:{fi:"Ateriapalvelussa kotiisi kuljetetaan valmiita aterioita, jotka voit itse lämmittää. Ateriapalvelun hintaan kuuluu lounaan hinta ja kuljetusmaksu.",sv:null,en:null},meal_service:{fi:"Laske arvioon ateriapalvelu",sv:null,en:null},meal_service_per_week:{fi:"Aterioiden määrä viikossa",sv:null,en:null},meal_service_per_week_explanation:{fi:"Voit tilata ateriapalvelun hinnaston mukaisia aterioita enintään 7 ateriaa viikossa.",sv:null,en:null},receipt_estimate_of_payment:{fi:"Arvio kotihoidon asiakasmaksusta",sv:null,en:null},receipt_family_estimated_payment_prefix:{fi:"Arvioitu asiakasmaksu on yhteensä",sv:null,en:null},receipt_family_estimated_payment_suffix:{fi:"euroa kuukaudessa.",sv:null,en:null},receipt_family_estimated_payment_explanation_min:{fi:"Alle ${minimum_payment_euro} euron maksuja ei laskuteta. ",sv:null,en:null},receipt_family_empty_income:{fi:"Arvio on laskettu korkeimman maksun mukaisesti, koska et täyttänyt laskuriin talouden kuukausituloja. ",sv:null,en:null},receipt_family_estimated_payment_explanation:{fi:"Tämä arvio on suuntaa antava. Asiakasmaksujen tarkka määrä lasketaan kotihoidon maksupäätökseen.",sv:null,en:null},receipt_estimate_is_based_on:{fi:"Arvio muodostuu seuraavista tiedoista:",sv:null,en:null},receipt_subtotal_euros_per_month:{fi:"${value} €/kk",sv:null,en:null},receipt_subtotal_euros_per_month_screenreader:{fi:"${value} euroa kuukaudessa",sv:null,en:null},receipt_additional_details:{fi:"Lisähuomiot:",sv:null,en:null},receipt_homecare_payment:{fi:"Kotihoidon asiakasmaksu",sv:null,en:null},receipt_homecare_payment_two_or_more:{fi:"Jos molemmat puolisot ovat jatkuvan ja säännöllisen kotihoidon kuukausimaksuasiakkaita, maksu jakautuu kummallekin palvelu- ja hoitosuunnitelman mukaisesti.",sv:null,en:null},receipt_shopping_service_math_single:{fi:"Yksi toimitus viikossa eli neljä toimitusta kuukaudessa.",sv:null,en:null},receipt_shopping_service_math_multiple:{fi:"${delivery_count_per_week} toimitusta viikossa eli ${delivery_count_per_month} toimitusta kuukaudessa.",sv:null,en:null},receipt_shopping_service_explanation:{fi:"Kunkin viikon ensimmäinen toimitus maksaa ${first_per_week} euroa. Loput saman viikon toimitukset maksavat ${others_per_week} euroa kukin.",sv:null,en:null},receipt_shopping_service_algorithm:{fi:"Laskuri laskee kuljetukset tasaisesti viikoille, mutta voit itse vaikuttaa kauppakäyntien määrään tarpeesi mukaan.",sv:null,en:null},receipt_aria_live:{fi:"Kotihoidon asiakasmaksun arvio on ${payment} euroa kuukaudessa, lue lisätietoja lomakkeen alta.",sv:null,en:null},receipt_meal_service_count_single:{fi:"Yksi ateria viikossa, eli neljä ateriaa kuukaudessa.",sv:null,en:null},receipt_meal_service_count_multiple:{fi:"${meals_per_week} ateriaa viikossa, eli ${meals_per_month} ateriaa kuukaudessa",sv:null,en:null},receipt_meal_service_price:{fi:"Yksittäisen lounasaterian hinta on ${meal_service_price} euroa. Lounaan lisäksi voit tilata maksullisen jälkiruuan.",sv:null,en:null},receipt_meal_service_1_delivery_price:{fi:"Hintaan on laskettu yksi kuljetusmaksu viikossa (eli 4 kuukaudessa), hinnaltaan ${meal_service_delivery_price} euroa per kuljetus.",sv:null,en:null},receipt_meal_service_2_deliveries_price:{fi:"Hintaan on laskettu kaksi kuljetusmaksua (eli 8 kuukaudessa), ${meal_service_delivery_price} euroa per kuljetus.",sv:null,en:null},receipt_meal_service_menumat_notice:{fi:"Ateriapalvelun sijaan voit tilata Menumat-ateria-automaatin. Lounasateria maksaa silloin ${menumat_price} euroa kappale ja palvelumaksu on ${menumat_device_price} euroa vuorokaudessa. Lounaan lisäksi voit tilata maksullisen jälkiruoan.",sv:null,en:null}};class t{constructor(a,t){this.id=a;const s=JSON.parse(t),l=()=>{"1"===this.calculator.getFieldValue("shopping_service")?this.calculator.showGroup("shopping_service_group"):this.calculator.hideGroup("shopping_service_group");"1"===this.calculator.getFieldValue("meal_service")?this.calculator.showGroup("meal_service_group"):this.calculator.hideGroup("meal_service_group")},n=(e,i)=>{const a=Object.keys(i).reverse();for(let t=0;t{const e=[];e.push(...this.calculator.validateBasics("household_size")),e.push(...this.calculator.validateBasics("gross_income_per_month")),e.push(...this.calculator.validateBasics("monthly_usage")),e.push(...this.calculator.validateBasics("safetyphone")),e.push(...this.calculator.validateBasics("shopping_service"));const i=this.calculator.getFieldValue("shopping_service");"1"===i&&e.push(...this.calculator.validateBasics("shopping_service_per_week")),e.push(...this.calculator.validateBasics("meal_service"));const a=this.calculator.getFieldValue("meal_service");if("1"===a&&e.push(...this.calculator.validateBasics("meal_service_per_week")),e.length)return{error:{title:this.t("missing_input"),message:e}};const t=Number(this.calculator.getFieldValue("household_size")),l=Number(this.calculator.getFieldValue("gross_income_per_month")),_=this.calculator.getFieldValue("gross_income_per_month"),o=Number(this.calculator.getFieldValue("monthly_usage")),p=this.calculator.getFieldValue("safetyphone"),c=Number(this.calculator.getFieldValue("shopping_service_per_week")),m=Number(this.calculator.getFieldValue("meal_service_per_week"));let h=this.t("receipt_family_estimated_payment_explanation");const v=n(o,s.monthly_usage_max_payment),{grossIncomeLimit:k,paymentPercentage:d}=((e,i,a)=>{const t=n(e,a);return{grossIncomeLimit:t.gross_income_limit,paymentPercentage:n(i,t.monthly_usage_percentage)}})(t,o,s.household_size);let g=v;null!==_?g=d/100*(l-k):h=this.t("receipt_family_empty_income")+h;const f=Math.min(g,v),y={title:this.t("receipt_homecare_payment"),has_details:!1,details:[],sum:this.t("receipt_subtotal_euros_per_month",{value:u(f)}),sum_screenreader:this.t("receipt_subtotal_euros_per_month_screenreader",{value:r(f)})};t>=2&&(y.has_details=!0,y.details.push(this.t("receipt_homecare_payment_two_or_more")));const w=[y],x=[];let b=0;if("1"===p){const e=n(t,s.safetyphone_limits);b=n(l,e),w.push({title:this.t("safetyphone_heading"),has_details:!1,details:[],sum:this.t("receipt_subtotal_euros_per_month",{value:u(b)}),sum_screenreader:this.t("receipt_subtotal_euros_per_month_screenreader",{value:r(b)})})}let j=0,P=0;"1"===i&&(j=s.shopping_service_prices.first_per_week,j+=(c-1)*s.shopping_service_prices.others_per_week,P=4*j,w.push({title:this.t("shopping_service_heading"),has_details:!0,details:[this.t(1===c?"receipt_shopping_service_math_single":"receipt_shopping_service_math_multiple",{delivery_count_per_week:c,delivery_count_per_month:4*c}),this.t("receipt_shopping_service_explanation",{first_per_week:u(s.shopping_service_prices.first_per_week),others_per_week:u(s.shopping_service_prices.others_per_week)}),this.t("receipt_shopping_service_algorithm")],sum:this.t("receipt_subtotal_euros_per_month",{value:u(P)}),sum_screenreader:this.t("receipt_subtotal_euros_per_month_screenreader",{value:r(P)})}));let $=0,L=0,z=0;"1"===a&&($=m*s.meal_service_prices.lunch,L=m<=s.meal_service_prices.max_meals_for_single_delivery_per_week?1:2,$+=L*s.meal_service_prices.delivery,z=4*$,w.push({title:this.t("meal_service_heading"),has_details:!0,details:[this.t(1===m?"receipt_meal_service_count_single":"receipt_meal_service_count_multiple",{meals_per_week:m,meals_per_month:4*m}),this.t("receipt_meal_service_price",{meal_service_price:u(s.meal_service_prices.lunch),meal_deliveries_per_week:L,meal_deliveries_per_month:4*L}),this.t(`receipt_meal_service_${L}_delivery_price`,{meal_service_delivery_price:u(s.meal_service_prices.delivery)})],sum:this.t("receipt_subtotal_euros_per_month",{value:u(z)}),sum_screenreader:this.t("receipt_subtotal_euros_per_month_screenreader",{value:r(z)})}),x.push({title:this.t("receipt_additional_details"),text:this.t("receipt_meal_service_menumat_notice",{menumat_price:u(s.meal_service_prices.menumat.lunch),menumat_device_price:u(s.meal_service_prices.menumat.device_per_day)})})),console.log("maximumPayment",v,"\ngrossIncomeLimit",k,"\ngrossIncomeLimit",k,"\npaymentPercentage",d,"\nreferencePayment",g,"\n","\npayment",f,"\nsafetyphonePayment",b,"\nshoppingPaymentPerMonth",P,`(${j} € * 4 weeks)`,"\nmealPaymentPerMonth",z,`(${$} € * 4 weeks)`);const F=f+b+P+z,V={id:this.id,title:this.t("receipt_estimate_of_payment"),total_prefix:this.t("receipt_family_estimated_payment_prefix"),total_value:u(F),total_suffix:this.t("receipt_family_estimated_payment_suffix"),total_explanation:h,hr:!0,breakdown:{title:this.t("receipt_estimate_is_based_on"),subtotals:w,additional_details:x}};return{receipt:this.calculator.getPartialRender("{{>receipt}}",V),ariaLive:this.t("receipt_aria_live",{payment:F})}},o={submit:e=>{this.calculator.clearResult(),e.preventDefault();const i=_();this.calculator.renderResult(i)},keydown:()=>{l()},change:()=>{l()},reset:()=>{window.setTimeout(l,1),this.calculator.clearResult(),this.calculator.showAriaLiveText(this.t("reset_aria_live"))}};this.calculator=window.HelfiCalculator({name:"home_care_client_payment",translations:i}),this.t=(e,i)=>this.calculator.translate(e,i),this.settings=this.calculator.parseSettings(t),this.calculator.init({id:a,formData:(()=>e.Z.getFormData(this.id,this.t,{firstPerWeekPrice:s.shopping_service_prices.first_per_week,othersPerWeekPrice:s.shopping_service_prices.others_per_week}))(),eventHandlers:o})}}window.helfi_calculator=window.helfi_calculator||{},window.helfi_calculator.home_care_client_payment=(e,i)=>new t(e,i)}()}(); \ No newline at end of file +!function(){"use strict";var e={getFormData:function(e,i,{firstPerWeekPrice:a,othersPerWeekPrice:t}){return{form_id:e,has_required_fields:!0,items:[{heading:{text:i("family_info"),level:3}},{input_integer:{id:"household_size",label:i("household_size"),unit:i("unit_person"),min:1,max:6,size:2,required:!0,helper_text:i("household_size_explanation")}},{input_float:{id:"gross_income_per_month",label:i("gross_income_per_month"),unit:i("unit_euro"),min:0,size:8,required:!1,strip:"[€eE ]",helper_text:i("gross_income_per_month_explanation")}},{input_integer:{id:"monthly_usage",label:i("monthly_usage"),unit:i("unit_hour"),min:0,max:744,size:3,required:!0,helper_text:i("monthly_usage_explanation")}},{heading:{text:i("living_at_home_heading"),level:3}},{paragraph:{text:i("living_at_home_paragraph")}},{heading:{text:i("safetyphone_heading"),level:3}},{paragraph:{text:i("safetyphone_paragraph")}},{radio:{id:"safetyphone",label:i("safetyphone"),required:!0,radio_items:[{name:"safetyphone",item_id:"safetyphone_1",label:i("yes_calculate"),value:1},{name:"safetyphone",item_id:"safetyphone_2",label:i("no"),value:2}]}},{heading:{text:i("shopping_service_heading"),level:3}},{paragraph:{text:i("shopping_service_paragraph")}},{radio:{id:"shopping_service",label:i("shopping_service"),required:!0,radio_items:[{name:"shopping_service",item_id:"shopping_service_1",label:i("yes_calculate"),value:1},{name:"shopping_service",item_id:"shopping_service_2",label:i("no"),value:2}]}},{group:{id:"shopping_service_group",hide_group:!0,items:[{input_integer:{id:"shopping_service_per_week",label:i("shopping_service_per_week"),unit:i("unit_amount"),min:1,size:2,required:!0,helper_text:i("shopping_service_per_week_explanation",{first_per_week_price:a,others_per_week_price:t})}}]}},{heading:{text:i("meal_service_heading"),level:3}},{paragraph:{text:i("meal_service_paragraph")}},{radio:{id:"meal_service",label:i("meal_service"),required:!0,radio_items:[{name:"meal_service",item_id:"meal_service_1",label:i("yes_calculate"),value:1},{name:"meal_service",item_id:"meal_service_2",label:i("no"),value:2}]}},{group:{id:"meal_service_group",hide_group:!0,items:[{input_integer:{id:"meal_service_per_week",label:i("meal_service_per_week"),unit:i("unit_amount"),min:1,max:7,size:2,required:!0,helper_text:i("meal_service_per_week_explanation")}}]}}]}}};var i={family_info:{fi:"Talouden tiedot",sv:null,en:null},household_size:{fi:"Talouden koko",sv:null,en:null},household_size_explanation:{fi:"Samassa osoitteessa asuvien perheenjäsenten määrä.",sv:null,en:null},gross_income_per_month:{fi:"Talouden tulot kuukaudessa",sv:null,en:null},gross_income_per_month_explanation:{fi:"Koko talouden yhteenlasketut ansio- ja pääomatulot sekä etuudet ennen verojen vähentämistä. Tuloihin lasketaan palkka, eläke-, vuokra- ja korkotulot sekä etuudet, esimerkiksi eläkkeensaajan hoitotuki. Jos jätät kentän tyhjäksi, lasketaan arvio korkeimman maksun mukaisesti.",sv:null,en:null},monthly_usage:{fi:"Kotihoidon tuntimäärä kuukaudessa",sv:null,en:null},monthly_usage_explanation:{fi:"Löydät tuntimäärän kotihoidon päätöksestä.",sv:null,en:null},living_at_home_heading:{fi:"Kotona asumista tukevat palvelut",sv:null,en:null},living_at_home_paragraph:{fi:"Voit laskea mukaan kotona asumista tukevia palveluja. Palvelut ovat maksullisia.",sv:null,en:null},safetyphone_heading:{fi:"Turvapuhelin ja turvaranneke",sv:null,en:null},safetyphone_paragraph:{fi:"Turvapuhelinpalveluun kuuluu turvapuhelin ja turvaranneke, joilla saat tarvittaessa apua ympäri vuorokauden. Turvapuhelinpalvelun maksut riippuvat talouden tuloista.",sv:null,en:null},safetyphone:{fi:"Laske arvioon turvapuhelin ja turvaranneke",sv:null,en:null},yes_calculate:{fi:"Kyllä, laske arvioon.",sv:null,en:null},no:{fi:"Ei",sv:null,en:null},shopping_service_heading:{fi:"Kauppapalvelu",sv:null,en:null},shopping_service_paragraph:{fi:"Kauppapalvelussa tilaamasi ruokaostokset toimitetaan kotiovellesi. Palvelussa on toimitusmaksu.",sv:null,en:null},shopping_service:{fi:"Laske arvioon kauppapalvelu",sv:null,en:null},shopping_service_per_week:{fi:"Kauppapalvelun toimitusten määrä viikossa",sv:null,en:null},shopping_service_per_week_explanation:{fi:"Yksi toimitus viikossa maksaa ${first_per_week_price} euroa, muut toimitukset ${others_per_week_price} euroa per toimitus.",sv:null,en:null},meal_service_heading:{fi:"Ateriapalvelu",sv:null,en:null},meal_service_paragraph:{fi:"Ateriapalvelussa kotiisi kuljetetaan valmiita aterioita, jotka voit itse lämmittää. Ateriapalvelun hintaan kuuluu lounaan hinta ja kuljetusmaksu.",sv:null,en:null},meal_service:{fi:"Laske arvioon ateriapalvelu",sv:null,en:null},meal_service_per_week:{fi:"Aterioiden määrä viikossa",sv:null,en:null},meal_service_per_week_explanation:{fi:"Voit tilata ateriapalvelun hinnaston mukaisia aterioita enintään 7 ateriaa viikossa.",sv:null,en:null},receipt_estimate_of_payment:{fi:"Arvio kotihoidon asiakasmaksusta",sv:null,en:null},receipt_family_estimated_payment_prefix:{fi:"Arvioitu asiakasmaksu on yhteensä",sv:null,en:null},receipt_family_estimated_payment_suffix:{fi:"euroa kuukaudessa.",sv:null,en:null},receipt_family_estimated_payment_explanation_min:{fi:"Alle ${minimum_payment_euro} euron maksuja ei laskuteta. ",sv:null,en:null},receipt_family_empty_income:{fi:"Arvio on laskettu korkeimman maksun mukaisesti, koska et täyttänyt laskuriin talouden kuukausituloja. ",sv:null,en:null},receipt_family_estimated_payment_explanation:{fi:"Tämä arvio on suuntaa antava. Asiakasmaksujen tarkka määrä lasketaan kotihoidon maksupäätökseen.",sv:null,en:null},receipt_estimate_is_based_on:{fi:"Arvio muodostuu seuraavista tiedoista:",sv:null,en:null},receipt_subtotal_euros_per_month:{fi:"${value} €/kk",sv:null,en:null},receipt_subtotal_euros_per_month_screenreader:{fi:"${value} euroa kuukaudessa",sv:null,en:null},receipt_additional_details:{fi:"Lisähuomiot:",sv:null,en:null},receipt_homecare_payment:{fi:"Kotihoidon asiakasmaksu",sv:null,en:null},receipt_homecare_payment_two_or_more:{fi:"Jos molemmat puolisot ovat jatkuvan ja säännöllisen kotihoidon kuukausimaksuasiakkaita, maksu jakautuu kummallekin palvelu- ja hoitosuunnitelman mukaisesti.",sv:null,en:null},receipt_shopping_service_math_single:{fi:"Yksi toimitus viikossa eli neljä toimitusta kuukaudessa.",sv:null,en:null},receipt_shopping_service_math_multiple:{fi:"${delivery_count_per_week} toimitusta viikossa eli ${delivery_count_per_month} toimitusta kuukaudessa.",sv:null,en:null},receipt_shopping_service_explanation:{fi:"Kunkin viikon ensimmäinen toimitus maksaa ${first_per_week} euroa. Loput saman viikon toimitukset maksavat ${others_per_week} euroa kukin.",sv:null,en:null},receipt_shopping_service_algorithm:{fi:"Laskuri laskee kuljetukset tasaisesti viikoille, mutta voit itse vaikuttaa kauppakäyntien määrään tarpeesi mukaan.",sv:null,en:null},receipt_aria_live:{fi:"Kotihoidon asiakasmaksun arvio on ${payment} euroa kuukaudessa, lue lisätietoja lomakkeen alta.",sv:null,en:null},receipt_meal_service_count_single:{fi:"Yksi ateria viikossa, eli neljä ateriaa kuukaudessa.",sv:null,en:null},receipt_meal_service_count_multiple:{fi:"${meals_per_week} ateriaa viikossa, eli ${meals_per_month} ateriaa kuukaudessa",sv:null,en:null},receipt_meal_service_price:{fi:"Yksittäisen lounasaterian hinta on ${meal_service_price} euroa. Lounaan lisäksi voit tilata maksullisen jälkiruuan.",sv:null,en:null},receipt_meal_service_1_delivery_price:{fi:"Hintaan on laskettu yksi kuljetusmaksu viikossa (eli 4 kuukaudessa), hinnaltaan ${meal_service_delivery_price} euroa per kuljetus.",sv:null,en:null},receipt_meal_service_2_deliveries_price:{fi:"Hintaan on laskettu kaksi kuljetusmaksua (eli 8 kuukaudessa), ${meal_service_delivery_price} euroa per kuljetus.",sv:null,en:null},receipt_meal_service_menumat_notice:{fi:"Ateriapalvelun sijaan voit tilata Menumat-ateria-automaatin. Lounasateria maksaa silloin ${menumat_price} euroa kappale ja palvelumaksu on ${menumat_device_price} euroa vuorokaudessa. Lounaan lisäksi voit tilata maksullisen jälkiruoan.",sv:null,en:null}};class a{constructor(a,t){this.id=a;const s=JSON.parse(t),l=()=>{"1"===this.calculator.getFieldValue("shopping_service")?this.calculator.showGroup("shopping_service_group"):this.calculator.hideGroup("shopping_service_group");"1"===this.calculator.getFieldValue("meal_service")?this.calculator.showGroup("meal_service_group"):this.calculator.hideGroup("meal_service_group")},n=(e,i)=>{const a=Object.keys(i).reverse();for(let t=0;t{const e=[];e.push(...this.calculator.validateBasics("household_size")),e.push(...this.calculator.validateBasics("gross_income_per_month")),e.push(...this.calculator.validateBasics("monthly_usage")),e.push(...this.calculator.validateBasics("safetyphone")),e.push(...this.calculator.validateBasics("shopping_service"));const i=this.calculator.getFieldValue("shopping_service");"1"===i&&e.push(...this.calculator.validateBasics("shopping_service_per_week")),e.push(...this.calculator.validateBasics("meal_service"));const a=this.calculator.getFieldValue("meal_service");if("1"===a&&e.push(...this.calculator.validateBasics("meal_service_per_week")),e.length)return{error:{title:this.t("missing_input"),message:e}};const t=Number(this.calculator.getFieldValue("household_size")),l=Number(this.calculator.getFieldValue("gross_income_per_month")),_=this.calculator.getFieldValue("gross_income_per_month"),o=Number(this.calculator.getFieldValue("monthly_usage")),p=this.calculator.getFieldValue("safetyphone"),c=Number(this.calculator.getFieldValue("shopping_service_per_week")),m=Number(this.calculator.getFieldValue("meal_service_per_week"));let h=this.t("receipt_family_estimated_payment_explanation");const v=n(o,s.monthly_usage_max_payment),{grossIncomeLimit:k,paymentPercentage:d}=((e,i,a)=>{const t=n(e,a);return{grossIncomeLimit:t.gross_income_limit,paymentPercentage:n(i,t.monthly_usage_percentage)}})(t,o,s.household_size);let g=v;null!==_?g=d/100*(l-k):h=this.t("receipt_family_empty_income")+h;const f=Math.min(g,v),y={title:this.t("receipt_homecare_payment"),has_details:!1,details:[],sum:this.t("receipt_subtotal_euros_per_month",{value:u(f)}),sum_screenreader:this.t("receipt_subtotal_euros_per_month_screenreader",{value:r(f)})};t>=2&&(y.has_details=!0,y.details.push(this.t("receipt_homecare_payment_two_or_more")));const w=[y],x=[];let b=0;if("1"===p){const e=n(t,s.safetyphone_limits);b=n(l,e),w.push({title:this.t("safetyphone_heading"),has_details:!1,details:[],sum:this.t("receipt_subtotal_euros_per_month",{value:u(b)}),sum_screenreader:this.t("receipt_subtotal_euros_per_month_screenreader",{value:r(b)})})}let j=0,P=0;"1"===i&&(j=s.shopping_service_prices.first_per_week,j+=(c-1)*s.shopping_service_prices.others_per_week,P=4*j,w.push({title:this.t("shopping_service_heading"),has_details:!0,details:[this.t(1===c?"receipt_shopping_service_math_single":"receipt_shopping_service_math_multiple",{delivery_count_per_week:c,delivery_count_per_month:4*c}),this.t("receipt_shopping_service_explanation",{first_per_week:u(s.shopping_service_prices.first_per_week),others_per_week:u(s.shopping_service_prices.others_per_week)}),this.t("receipt_shopping_service_algorithm")],sum:this.t("receipt_subtotal_euros_per_month",{value:u(P)}),sum_screenreader:this.t("receipt_subtotal_euros_per_month_screenreader",{value:r(P)})}));let $=0,L=0,z=0;"1"===a&&($=m*s.meal_service_prices.lunch,L=m<=s.meal_service_prices.max_meals_for_single_delivery_per_week?1:2,$+=L*s.meal_service_prices.delivery,z=4*$,w.push({title:this.t("meal_service_heading"),has_details:!0,details:[this.t(1===m?"receipt_meal_service_count_single":"receipt_meal_service_count_multiple",{meals_per_week:m,meals_per_month:4*m}),this.t("receipt_meal_service_price",{meal_service_price:u(s.meal_service_prices.lunch),meal_deliveries_per_week:L,meal_deliveries_per_month:4*L}),this.t(`receipt_meal_service_${L}_delivery_price`,{meal_service_delivery_price:u(s.meal_service_prices.delivery)})],sum:this.t("receipt_subtotal_euros_per_month",{value:u(z)}),sum_screenreader:this.t("receipt_subtotal_euros_per_month_screenreader",{value:r(z)})}),x.push({title:this.t("receipt_additional_details"),text:this.t("receipt_meal_service_menumat_notice",{menumat_price:u(s.meal_service_prices.menumat.lunch),menumat_device_price:u(s.meal_service_prices.menumat.device_per_day)})})),console.log("maximumPayment",v,"\ngrossIncomeLimit",k,"\ngrossIncomeLimit",k,"\npaymentPercentage",d,"\nreferencePayment",g,"\n","\npayment",f,"\nsafetyphonePayment",b,"\nshoppingPaymentPerMonth",P,`(${j} € * 4 weeks)`,"\nmealPaymentPerMonth",z,`(${$} € * 4 weeks)`);const F=f+b+P+z,V={id:this.id,title:this.t("receipt_estimate_of_payment"),total_prefix:this.t("receipt_family_estimated_payment_prefix"),total_value:u(F),total_suffix:this.t("receipt_family_estimated_payment_suffix"),total_explanation:h,hr:!0,breakdown:{title:this.t("receipt_estimate_is_based_on"),subtotals:w,additional_details:x}};return{receipt:this.calculator.getPartialRender("{{>receipt}}",V),ariaLive:this.t("receipt_aria_live",{payment:F})}},o={submit:e=>{this.calculator.clearResult(),e.preventDefault();const i=_();this.calculator.renderResult(i)},keydown:()=>{l()},change:()=>{l()},reset:()=>{window.setTimeout(l,1),this.calculator.clearResult(),this.calculator.showAriaLiveText(this.t("reset_aria_live"))}};this.calculator=window.HelfiCalculator({name:"home_care_client_payment",translations:i}),this.t=(e,i)=>this.calculator.translate(e,i),this.settings=this.calculator.parseSettings(t),this.calculator.init({id:a,formData:(()=>e.getFormData(this.id,this.t,{firstPerWeekPrice:s.shopping_service_prices.first_per_week,othersPerWeekPrice:s.shopping_service_prices.others_per_week}))(),eventHandlers:o})}}window.helfi_calculator=window.helfi_calculator||{},window.helfi_calculator.home_care_client_payment=(e,i)=>new a(e,i)}(); \ No newline at end of file diff --git a/dist/js/house_cleaning_service_voucher.min.js b/dist/js/house_cleaning_service_voucher.min.js index 982e25061..846049537 100644 --- a/dist/js/house_cleaning_service_voucher.min.js +++ b/dist/js/house_cleaning_service_voucher.min.js @@ -1 +1 @@ -!function(){"use strict";var e={3630:function(e,t){t.Z={gross_income_per_month:{fi:"Bruttotulot kuukaudessa",sv:"Bruttoinkomst per månad",en:"Gross income per month"},household_size:{fi:"Talouden koko",sv:"Storleken på hushållet",en:"Household size"},one_person_household:{fi:"Yhden hengen talous",sv:"Enmanshushåll",en:"One person household"},two_person_household:{fi:"Kahden hengen talous",sv:"Två personers hushåll",en:"Two person household"},info_voucher_value:{fi:"Palvelusetelin arvo ${voucher_value} € / kk.",sv:"Värde på servicekupong ${voucher_value} € / månad",en:"Service voucher value ${voucher_value} € / month"},alert_voucher_not_applicable:{fi:"Ei oikeutta palveluseteliin",sv:"Ingen rätt till servicekupong",en:"No right to a service voucher"},error_gross_income_per_month:{fi:'Tarkista "Bruttotulot kuukaudessa"',sv:'Kolla upp "Bruttoinkomst per månad"',en:'Please check "Gross income per month"'},error_household_size:{fi:'Tarkista "Talouden koko"',sv:'Kolla upp "Storleken på hushållet"',en:'Please check "Household size"'}}}},t={};function o(s){var i=t[s];if(void 0!==i)return i.exports;var l=t[s]={exports:{}};return e[s](l,l.exports,o),l.exports}!function(){var e=o(3630);class t{constructor(t,o){this.id=t;const s=()=>{const e={title:"Arvio kotihoidon asiakasmaksun avusta",message:'Täytä kaikki pakolliset tiedot, ja paina "Laske arvio". Arvio mahdollisesta tuestasi tulee näkyviin tähän. Jos päivität laskurin sisältöä muista painaa "Laske arvio" uudelleen.'},t=[];if(t.push(...this.calculator.validateBasics("gross_income_per_month")),t.push(...this.calculator.validateBasics("household_size")),t.length)return{error:{title:this.t("missing_input"),message:t},info:e};const o=this.calculator.getFieldValue("household_size"),s=this.calculator.getFieldValue("gross_income_per_month"),i=this.settings[`household_size_${o}`];if(!i)throw new Error(`household_size_${o} missing from settings`);return s<=i.first_level.max_allowed_income?{info:{title:this.t("result"),message:this.t("info_voucher_value",{voucher_value:i.first_level.value})}}:s<=i.second_level.max_allowed_income?{info:{title:this.t("result"),message:this.t("info_voucher_value",{voucher_value:i.second_level.value})}}:{alert:{title:this.t("result"),message:this.t("alert_voucher_not_applicable")},info:e}},i={submit:e=>{e.preventDefault();const t=s(this.id);this.calculator.renderResult(t)},keydown:()=>{this.calculator.clearResult()},change:()=>{this.calculator.clearResult()},reset:()=>{this.calculator.clearResult()}};this.calculator=window.HelfiCalculator({name:"house_cleaning_service_voucher",translations:e.Z}),this.t=(e,t)=>this.calculator.translate(e,t),this.settings=this.calculator.parseSettings(o),this.calculator.init({id:t,formData:(()=>({form_id:this.id,items:[{input_float:{id:"gross_income_per_month",label:this.t("gross_income_per_month"),unit:this.t("unit_euro"),size:8,required:!0}},{radio:{id:"household_size",label:this.t("household_size"),required:!0,radio_items:[{name:"radio-item-koko",item_id:"radio-item-one",label:this.t("one_person_household"),value:1},{name:"radio-item-koko",item_id:"radio-item-two",label:this.t("two_person_household"),value:2}]}}]}))(),eventHandlers:i})}}window.helfi_calculator=window.helfi_calculator||{},window.helfi_calculator.house_cleaning_service_voucher=(e,o)=>new t(e,o)}()}(); \ No newline at end of file +!function(){"use strict";var e={gross_income_per_month:{fi:"Bruttotulot kuukaudessa",sv:"Bruttoinkomst per månad",en:"Gross income per month"},household_size:{fi:"Talouden koko",sv:"Storleken på hushållet",en:"Household size"},one_person_household:{fi:"Yhden hengen talous",sv:"Enmanshushåll",en:"One person household"},two_person_household:{fi:"Kahden hengen talous",sv:"Två personers hushåll",en:"Two person household"},info_voucher_value:{fi:"Palvelusetelin arvo ${voucher_value} € / kk.",sv:"Värde på servicekupong ${voucher_value} € / månad",en:"Service voucher value ${voucher_value} € / month"},alert_voucher_not_applicable:{fi:"Ei oikeutta palveluseteliin",sv:"Ingen rätt till servicekupong",en:"No right to a service voucher"},error_gross_income_per_month:{fi:'Tarkista "Bruttotulot kuukaudessa"',sv:'Kolla upp "Bruttoinkomst per månad"',en:'Please check "Gross income per month"'},error_household_size:{fi:'Tarkista "Talouden koko"',sv:'Kolla upp "Storleken på hushållet"',en:'Please check "Household size"'}};class t{constructor(t,o){this.id=t;const s=()=>{const e={title:"Arvio kotihoidon asiakasmaksun avusta",message:'Täytä kaikki pakolliset tiedot, ja paina "Laske arvio". Arvio mahdollisesta tuestasi tulee näkyviin tähän. Jos päivität laskurin sisältöä muista painaa "Laske arvio" uudelleen.'},t=[];if(t.push(...this.calculator.validateBasics("gross_income_per_month")),t.push(...this.calculator.validateBasics("household_size")),t.length)return{error:{title:this.t("missing_input"),message:t},info:e};const o=this.calculator.getFieldValue("household_size"),s=this.calculator.getFieldValue("gross_income_per_month"),i=this.settings[`household_size_${o}`];if(!i)throw new Error(`household_size_${o} missing from settings`);return s<=i.first_level.max_allowed_income?{info:{title:this.t("result"),message:this.t("info_voucher_value",{voucher_value:i.first_level.value})}}:s<=i.second_level.max_allowed_income?{info:{title:this.t("result"),message:this.t("info_voucher_value",{voucher_value:i.second_level.value})}}:{alert:{title:this.t("result"),message:this.t("alert_voucher_not_applicable")},info:e}},i={submit:e=>{e.preventDefault();const t=s(this.id);this.calculator.renderResult(t)},keydown:()=>{this.calculator.clearResult()},change:()=>{this.calculator.clearResult()},reset:()=>{this.calculator.clearResult()}};this.calculator=window.HelfiCalculator({name:"house_cleaning_service_voucher",translations:e}),this.t=(e,t)=>this.calculator.translate(e,t),this.settings=this.calculator.parseSettings(o),this.calculator.init({id:t,formData:(()=>({form_id:this.id,items:[{input_float:{id:"gross_income_per_month",label:this.t("gross_income_per_month"),unit:this.t("unit_euro"),size:8,required:!0}},{radio:{id:"household_size",label:this.t("household_size"),required:!0,radio_items:[{name:"radio-item-koko",item_id:"radio-item-one",label:this.t("one_person_household"),value:1},{name:"radio-item-koko",item_id:"radio-item-two",label:this.t("two_person_household"),value:2}]}}]}))(),eventHandlers:i})}}window.helfi_calculator=window.helfi_calculator||{},window.helfi_calculator.house_cleaning_service_voucher=(e,o)=>new t(e,o)}(); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index f9f9088c9..3004c77bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "chokidar": "^3.5.1", "classnames": "^2.3.1", "es6-promise": "^4.1.1", - "glob": "^8.0.0", + "glob": "^9.0.0", "handorgel": "^0.5.0", "hds-design-tokens": "^2.11.0", "hds-react": "^2.11.0", @@ -9950,19 +9950,17 @@ } }, "node_modules/glob": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.1.tgz", - "integrity": "sha512-cF7FYZZ47YzmCu7dDy50xSRRfO3ErRfrXuLZcNIuyiJEco0XSrGtuilG19L5xp3NcwTx7Gn+X6Tv3fmsUPTbow==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.2.1.tgz", + "integrity": "sha512-Pxxgq3W0HyA3XUvSXcFhRSs+43Jsx0ddxcFrbjxNGkL2Ak5BAUBxLqI5G6ADDeCHLfzzXFhe0b1yYcctGmytMA==", "dependencies": { "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^7.4.1", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" }, "engines": { - "node": ">=12" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -9993,14 +9991,17 @@ } }, "node_modules/glob/node_modules/minimatch": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", - "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-7.4.2.tgz", + "integrity": "sha512-xy4q7wou3vUoC9k1xGTXc+awNdGaGVHtFUaey8tiX4H1QRc04DZ/rmDFwNm2EBsuYEhAZ6SgMmYf3InGY6OauA==", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/global-modules": { @@ -14650,6 +14651,14 @@ "node": ">= 6" } }, + "node_modules/minipass": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.5.tgz", + "integrity": "sha512-+yQl7SX3bIT83Lhb4BVorMAHVuqsskxRdlmO9kTpyukp8vsm2Sn/fUOV9xlnG8/a5JsypJzap21lz/y3FBMJ8Q==", + "engines": { + "node": ">=8" + } + }, "node_modules/mixin-deep": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", @@ -15576,6 +15585,29 @@ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, + "node_modules/path-scurry": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.6.1.tgz", + "integrity": "sha512-OW+5s+7cw6253Q4E+8qQ/u1fVvcJQCJo/VFD8pje+dbJCF1n5ZRMV2AEHbGp+5Q7jxQIYJxkHopnj6nzdGeZLA==", + "dependencies": { + "lru-cache": "^7.14.1", + "minipass": "^4.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "engines": { + "node": ">=12" + } + }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -28307,16 +28339,14 @@ "peer": true }, "glob": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.1.tgz", - "integrity": "sha512-cF7FYZZ47YzmCu7dDy50xSRRfO3ErRfrXuLZcNIuyiJEco0XSrGtuilG19L5xp3NcwTx7Gn+X6Tv3fmsUPTbow==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.2.1.tgz", + "integrity": "sha512-Pxxgq3W0HyA3XUvSXcFhRSs+43Jsx0ddxcFrbjxNGkL2Ak5BAUBxLqI5G6ADDeCHLfzzXFhe0b1yYcctGmytMA==", "requires": { "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^7.4.1", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" }, "dependencies": { "brace-expansion": { @@ -28328,9 +28358,9 @@ } }, "minimatch": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", - "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-7.4.2.tgz", + "integrity": "sha512-xy4q7wou3vUoC9k1xGTXc+awNdGaGVHtFUaey8tiX4H1QRc04DZ/rmDFwNm2EBsuYEhAZ6SgMmYf3InGY6OauA==", "requires": { "brace-expansion": "^2.0.1" } @@ -31845,6 +31875,11 @@ "kind-of": "^6.0.3" } }, + "minipass": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.5.tgz", + "integrity": "sha512-+yQl7SX3bIT83Lhb4BVorMAHVuqsskxRdlmO9kTpyukp8vsm2Sn/fUOV9xlnG8/a5JsypJzap21lz/y3FBMJ8Q==" + }, "mixin-deep": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", @@ -32538,6 +32573,22 @@ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, + "path-scurry": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.6.1.tgz", + "integrity": "sha512-OW+5s+7cw6253Q4E+8qQ/u1fVvcJQCJo/VFD8pje+dbJCF1n5ZRMV2AEHbGp+5Q7jxQIYJxkHopnj6nzdGeZLA==", + "requires": { + "lru-cache": "^7.14.1", + "minipass": "^4.0.2" + }, + "dependencies": { + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + } + } + }, "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", diff --git a/package.json b/package.json index e8c52a690..f32487dc9 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "chokidar": "^3.5.1", "classnames": "^2.3.1", "es6-promise": "^4.1.1", - "glob": "^8.0.0", + "glob": "^9.0.0", "handorgel": "^0.5.0", "hds-design-tokens": "^2.11.0", "hds-react": "^2.11.0", diff --git a/webpack.config.js b/webpack.config.js index de4f42edf..c40db9d6a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -41,8 +41,8 @@ const Entries = () => { './src/js/component-library.js' ]; - glob.sync(pattern, {ignore: ignore}).map((item) => { - entries[path.parse(item).name] = item; } + glob.globSync(pattern, {ignore: ignore}).map((item) => { + entries[path.parse(item).name] = './' + item; } ); return entries; }; diff --git a/webpack.svgToSprite.js b/webpack.svgToSprite.js index a381f8366..9f832233d 100644 --- a/webpack.svgToSprite.js +++ b/webpack.svgToSprite.js @@ -214,7 +214,7 @@ class svgToSprite { // Map files to suitable variables. checkForFiles() { - glob.sync(this.inputPattern).map((match) => { + glob.globSync(this.inputPattern).map((match) => { const pathname = path.resolve(match); const stats = fs.lstatSync(pathname);