{
  "formatVersion": "1.0",
  "name": "Movie of the Day",
  "content": "<h2>My Description</h2><p>This is the water.<br>And this is the well.<br>Drink full<br>and descend.<br>The horse is the white of the eye<br>and dark within.</p><p></p>",
  "icon": "Clapperboard",
  "layout": {
    "nodes": [
      {
        "id": "fce679ab-07e1-4ae8-af2d-fa59b3c6d475",
        "type": "ai-prompt",
        "label": "Movie",
        "position": {
          "x": 113,
          "y": -50
        },
        "data": {
          "prompt": "vygeneruj nějakej náhodnej (i méně známé - opravdu čistě náhodnej. vygeneruj třeba 10 filmů a vyber ten až na devátém místě) japonskej film, který je poklidný slice of life typ filmu. napiš mi pár vět, proč se na ten film podívat, napiš jeho název a rok vydání a režiséra filmu. a ještě najdi a dej mi letterboxd url na profil toho filmu. v tom textu nezmiňuj nic o tom že jsi vybral náhodně devátou položku nebo tak něco.",
          "outputVariables": [
            "name",
            "year",
            "content",
            "url",
            "director"
          ]
        }
      },
      {
        "id": "8a58a3a3-e577-45ae-a44d-40fc61d9cf56",
        "type": "text",
        "label": "Director Name",
        "position": {
          "x": 511,
          "y": 31
        },
        "data": {
          "id": "8a58a3a3-e577-45ae-a44d-40fc61d9cf56",
          "content": "{{Movie.director}}",
          "formatting": {
            "spacingTop": 0,
            "spacingBottom": 0,
            "size": "small",
            "align": "center"
          },
          "type": "text"
        }
      },
      {
        "id": "6a02826b-0870-4490-9d1a-195b26812f46",
        "type": "text",
        "label": "Movie Name",
        "position": {
          "x": 511,
          "y": -56
        },
        "data": {
          "id": "6a02826b-0870-4490-9d1a-195b26812f46",
          "content": "{{Movie.name}}",
          "formatting": {
            "spacingTop": 0,
            "spacingBottom": 0,
            "align": "center",
            "bold": true,
            "size": "large"
          },
          "type": "text"
        }
      },
      {
        "id": "aacf8a75-ba7c-4e62-a716-1aaa7b4afde7",
        "type": "text",
        "label": "Release Date",
        "position": {
          "x": 511,
          "y": 118
        },
        "data": {
          "id": "aacf8a75-ba7c-4e62-a716-1aaa7b4afde7",
          "content": "{{Movie.year}}",
          "formatting": {
            "spacingTop": 0,
            "spacingBottom": 0,
            "align": "center",
            "size": "medium",
            "bold": true,
            "invert": true
          },
          "type": "text"
        }
      },
      {
        "id": "c389d955-ac26-4a46-8ba1-bb833fbd5a8a",
        "type": "website",
        "label": "Movie Image",
        "position": {
          "x": 511,
          "y": 205
        },
        "data": {
          "id": "c389d955-ac26-4a46-8ba1-bb833fbd5a8a",
          "content": "{{Movie.url}}",
          "formatting": {
            "spacingTop": 1,
            "spacingBottom": 1
          },
          "type": "website",
          "additionalJavaScript": "(async () => {\n\n  // 1. Načti html2canvas\n  await new Promise((resolve, reject) => {\n    const script = document.createElement('script');\n    script.src = 'https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js';\n    script.onload = resolve;\n    script.onerror = reject;\n    document.head.appendChild(script);\n  });\n\n  // 2. Najdi obrazek element\n  const target = document.querySelector('#film-page-wrapper .poster.film-poster>img');\n  if (!target) {\n    alert('Element .poster.film-poster>img nebyl nalezen.');\n    return;\n  }\n\n  // get src of the target img element\n  const src = target.getAttribute('src');\n\n  const img = document.createElement('img');\n  img.src = src;\n  img.style.width = '100%';\n  img.style.height = '100%';\n  img.style.display = 'block';\n  img.style.margin = '0 auto';\n\n  document.body.innerHTML = '';\n  document.body.style.margin = '0';\n  document.body.style.background = '#fff';\n  document.body.appendChild(img);\n})();",
          "showPreview": true,
          "applyAdditionalJavaScript": true,
          "waitBeforeExecutingJavascript": 1,
          "waitAfterExecutingJavascript": 1,
          "waitBeforeJsMs": 500,
          "waitAfterJsMs": 1000
        }
      },
      {
        "id": "30e911d0-82a2-4503-9b83-fd58d1aad505",
        "type": "text",
        "label": "description",
        "position": {
          "x": 511,
          "y": 312
        },
        "data": {
          "id": "30e911d0-82a2-4503-9b83-fd58d1aad505",
          "content": "{{Movie.content}}",
          "formatting": {
            "spacingTop": 0,
            "spacingBottom": 0,
            "size": "small"
          },
          "type": "text"
        }
      },
      {
        "id": "5395b7e5-0d2b-4f05-bf7b-143b7f7911cb",
        "type": "qrcode",
        "label": "URL QR Code",
        "position": {
          "x": 511,
          "y": 399
        },
        "data": {
          "id": "5395b7e5-0d2b-4f05-bf7b-143b7f7911cb",
          "content": "{{Movie.url}}",
          "formatting": {
            "spacingTop": 0,
            "spacingBottom": 0,
            "align": "center"
          },
          "type": "qrcode"
        }
      }
    ],
    "edges": [
      {
        "id": "1b3189cc-ed76-480c-b666-a32da773c6d1",
        "sourceNodeId": "fce679ab-07e1-4ae8-af2d-fa59b3c6d475",
        "sourcePortId": "out-name",
        "targetNodeId": "6a02826b-0870-4490-9d1a-195b26812f46",
        "targetPortId": "in-content"
      },
      {
        "id": "f615066c-0412-4507-80f6-2d3c25ca7d7c",
        "sourceNodeId": "fce679ab-07e1-4ae8-af2d-fa59b3c6d475",
        "sourcePortId": "out-year",
        "targetNodeId": "aacf8a75-ba7c-4e62-a716-1aaa7b4afde7",
        "targetPortId": "in-content"
      },
      {
        "id": "6aa955ec-aa4c-42c4-9548-54ab70018108",
        "sourceNodeId": "fce679ab-07e1-4ae8-af2d-fa59b3c6d475",
        "sourcePortId": "out-content",
        "targetNodeId": "30e911d0-82a2-4503-9b83-fd58d1aad505",
        "targetPortId": "in-content"
      },
      {
        "id": "7fde1523-f0cc-4b1f-a63f-18ab61bf3be9",
        "sourceNodeId": "fce679ab-07e1-4ae8-af2d-fa59b3c6d475",
        "sourcePortId": "out-url",
        "targetNodeId": "5395b7e5-0d2b-4f05-bf7b-143b7f7911cb",
        "targetPortId": "in-data"
      },
      {
        "id": "bdad55ff-b716-4bb2-aaf8-751efd656a42",
        "sourceNodeId": "fce679ab-07e1-4ae8-af2d-fa59b3c6d475",
        "sourcePortId": "out-url",
        "targetNodeId": "c389d955-ac26-4a46-8ba1-bb833fbd5a8a",
        "targetPortId": "in-url"
      },
      {
        "id": "aa200178-c87a-4300-abab-938279ee1ee6",
        "sourceNodeId": "fce679ab-07e1-4ae8-af2d-fa59b3c6d475",
        "sourcePortId": "out-director",
        "targetNodeId": "8a58a3a3-e577-45ae-a44d-40fc61d9cf56",
        "targetPortId": "in-content"
      }
    ],
    "outputSlots": [
      {
        "nodeId": "6a02826b-0870-4490-9d1a-195b26812f46",
        "formatting": {
          "spacingTop": 0,
          "spacingBottom": 0
        }
      },
      {
        "nodeId": "8a58a3a3-e577-45ae-a44d-40fc61d9cf56",
        "formatting": {
          "spacingTop": 0,
          "spacingBottom": 0
        }
      },
      {
        "nodeId": "aacf8a75-ba7c-4e62-a716-1aaa7b4afde7"
      },
      {
        "nodeId": "c389d955-ac26-4a46-8ba1-bb833fbd5a8a",
        "formatting": {
          "spacingTop": 1,
          "spacingBottom": 1
        }
      },
      {
        "nodeId": "30e911d0-82a2-4503-9b83-fd58d1aad505",
        "formatting": {
          "spacingTop": 0,
          "spacingBottom": 0
        }
      },
      {
        "nodeId": "5395b7e5-0d2b-4f05-bf7b-143b7f7911cb",
        "formatting": {
          "spacingTop": 0,
          "spacingBottom": 0
        }
      }
    ],
    "outputPosition": {
      "x": 491,
      "y": -112
    }
  },
  "isDefaultForTasks": false,
  "createdAt": "2026-04-18T10:16:44.000Z"
}