{
const routes = JSON.parse('[\u0022content-list.tools.index\u0022]');
open = open && ($event.detail.md5 === '6845215967268131619319d7c5bb004c' || routes?.includes($event.detail?.route));
}" x-on:click="() => {
open = !open;
$dispatch('clicked-item', { md5: '6845215967268131619319d7c5bb004c' });
}" class="text-body-14 text-neutral-900 relative flex flex-col items-center w-full space-x-0.5 px-1 py-2.5 rounded-md" :class="{ 'bg-primary-30' : open }">
Issues
{
active = !active;
$dispatch('clicked-item', { md5: '2252c06709f2e010c39f58698edb7f5b', route: 'https://www.therapistaid.com/tools/anger' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '2252c06709f2e010c39f58698edb7f5b') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/anger', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Anger
{
active = !active;
$dispatch('clicked-item', { md5: '7cc9ccf10b6cc62f88e9723b04e4e753', route: 'https://www.therapistaid.com/tools/anxiety' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '7cc9ccf10b6cc62f88e9723b04e4e753') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/anxiety', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Anxiety
{
active = !active;
$dispatch('clicked-item', { md5: '795eba72bf80fca4b28b20cef30c15fe', route: 'https://www.therapistaid.com/tools/communication' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '795eba72bf80fca4b28b20cef30c15fe') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/communication', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Communication
{
active = !active;
$dispatch('clicked-item', { md5: '743d547e3bc65a3054dc8f91a8ab194b', route: 'https://www.therapistaid.com/tools/depression' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '743d547e3bc65a3054dc8f91a8ab194b') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/depression', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Depression
More +
{
active = !active;
$dispatch('clicked-item', { md5: '3e1d9b314ae9c31b7582d23dbcb02343', route: 'https://www.therapistaid.com/tools/emotions' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '3e1d9b314ae9c31b7582d23dbcb02343') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/emotions', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Emotions
{
active = !active;
$dispatch('clicked-item', { md5: 'a5f41630728dd6f56dd659cbdfa8866d', route: 'https://www.therapistaid.com/tools/grief' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'a5f41630728dd6f56dd659cbdfa8866d') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/grief', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Grief
{
active = !active;
$dispatch('clicked-item', { md5: '86c4301976c062c5a859cc6f302614a6', route: 'https://www.therapistaid.com/tools/relationships' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '86c4301976c062c5a859cc6f302614a6') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/relationships', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Relationships
{
active = !active;
$dispatch('clicked-item', { md5: 'c62410762ba5763bbf295f15c7eb6a8b', route: 'https://www.therapistaid.com/tools/self-esteem' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'c62410762ba5763bbf295f15c7eb6a8b') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/self-esteem', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Self-Esteem
{
active = !active;
$dispatch('clicked-item', { md5: 'b78a0b5187c416f1b042bbfd22206ffc', route: 'https://www.therapistaid.com/tools/stress' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'b78a0b5187c416f1b042bbfd22206ffc') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/stress', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Stress
{
active = !active;
$dispatch('clicked-item', { md5: 'f4151b6ec551bb708742e7d8593fa2bd', route: 'https://www.therapistaid.com/tools/substance-use' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'f4151b6ec551bb708742e7d8593fa2bd') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/substance-use', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Substance Use
Treatments
{
active = !active;
$dispatch('clicked-item', { md5: 'ec29ed5e24a76a49645b9ec0812c9086', route: 'https://www.therapistaid.com/tools/art' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'ec29ed5e24a76a49645b9ec0812c9086') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/art', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Art
{
active = !active;
$dispatch('clicked-item', { md5: 'e31d365cc315c3a703d90855ebf6a96a', route: 'https://www.therapistaid.com/tools/cbt' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'e31d365cc315c3a703d90855ebf6a96a') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/cbt', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
CBT
{
active = !active;
$dispatch('clicked-item', { md5: 'fc0d896535d8cae55752b67870bf42fa', route: 'https://www.therapistaid.com/tools/dbt' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'fc0d896535d8cae55752b67870bf42fa') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/dbt', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
DBT
{
active = !active;
$dispatch('clicked-item', { md5: '5236a67eaed9e2c3ee71048e47ac3337', route: 'https://www.therapistaid.com/tools/education' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '5236a67eaed9e2c3ee71048e47ac3337') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/education', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}">
Education
More +
{
active = !active;
$dispatch('clicked-item', { md5: '1660603c8e7f5444d68b8ee15b83ee7c', route: 'https://www.therapistaid.com/tools/goals' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '1660603c8e7f5444d68b8ee15b83ee7c') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/goals', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Goals
{
active = !active;
$dispatch('clicked-item', { md5: '2fbd64517c16f27e1720a032e5c36f8d', route: 'https://www.therapistaid.com/tools/behavior' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== '2fbd64517c16f27e1720a032e5c36f8d') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/behavior', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Parenting and Behavior
{
active = !active;
$dispatch('clicked-item', { md5: 'aac97e3798ddd08318b2a443b33f1946', route: 'https://www.therapistaid.com/tools/positive-psychology' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'aac97e3798ddd08318b2a443b33f1946') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/positive-psychology', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Positive Psychology
{
active = !active;
$dispatch('clicked-item', { md5: 'a9bac86fc43ef36c4259fdf46522ae29', route: 'https://www.therapistaid.com/tools/relaxation' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'a9bac86fc43ef36c4259fdf46522ae29') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/relaxation', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Relaxation
{
active = !active;
$dispatch('clicked-item', { md5: 'b5895a21df37131e72554e11a67b0754', route: 'https://www.therapistaid.com/tools/values' });
}" @clicked-item.window="() => {
if ($event.detail.md5 !== 'b5895a21df37131e72554e11a67b0754') {
return;
}
if(active){
$dispatch('close-mobile-menu');
setTimeout(() => window.location = 'https://www.therapistaid.com/tools/values', 300);
}
}" class="text-body-14 text-left w-full space-x-0.5 py-2 cursor-pointer font-medium pl-6 pr-3 text-neutral-900" x-show="openTopics" :class="{
'bg-primary-50 text-primary-800 rounded-md': active,
'text-neutral-900': active === false
}" style="display: none;">
Values