{
    "id": "95d3f97f-1f77-42b0-a7fa-5a59dace4c6b",
    "scriptName": "Сообщения",
    "findRegex": "/^([^\\n(]{1,40})\\n(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$)(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?(?:(\\(out\\)|\\(in\\))\\s*(.*?)(?:\\n|$))?/gm",
    "replaceString": "<div class=\"msg-wrap\"><style>.msg-wrap{margin:16px auto;max-width:400px;padding:0;border-radius:18px;border:1px solid rgba(255,255,255,0.08);background:linear-gradient(180deg,#2a2c30,#1f2124);box-shadow:0 6px 22px rgba(0,0,0,0.4),inset 0 1px 0 rgba(255,255,255,0.04);overflow:hidden;font-family:inherit;color:#e6e6e6}.msg-head{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,0.07);background:rgba(255,255,255,0.02)}.msg-meta{display:flex;flex-direction:column;line-height:1.15}.msg-name{font-size:0.95em;font-weight:600;color:#f0f0f0}.msg-status{font-size:0.72em;color:rgba(230,230,230,0.55)}.msg-chat{padding:14px 12px;display:flex;flex-direction:column;gap:5px;background:linear-gradient(180deg,#1c1d20,#17181a);min-height:60px}.msg-b{padding:9px 14px;border-radius:18px;font-size:0.92em;line-height:1.45;max-width:78%;word-wrap:break-word;text-align:left;display:none;position:relative;animation:msgIn 0.25s ease-out}.msg-b:not(:empty){display:block}@keyframes msgIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.msg-b[data-t*=\"(out)\"]{align-self:flex-start;background:linear-gradient(180deg,#f2f3f5,#e4e6eb);color:#1a1a1a;border:1px solid rgba(0,0,0,0.06);border-bottom-left-radius:6px;box-shadow:0 1px 2px rgba(0,0,0,0.12),inset 0 1px 0 rgba(255,255,255,0.6)}.msg-b[data-t*=\"(in)\"]{align-self:flex-end;background:linear-gradient(180deg,#1E96FF,#0A6FE0);color:#ffffff;border:1px solid rgba(10,111,224,0.5);border-bottom-right-radius:6px;box-shadow:0 2px 6px rgba(10,111,224,0.35),inset 0 1px 0 rgba(255,255,255,0.18)}.msg-b[data-t*=\"(out)\"]+.msg-b[data-t*=\"(out)\"],.msg-b[data-t*=\"(in)\"]+.msg-b[data-t*=\"(in)\"]{margin-top:-2px}.msg-input{display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid rgba(255,255,255,0.07);background:rgba(255,255,255,0.02)}.msg-field{flex:1;padding:7px 12px;border-radius:14px;background:rgba(255,255,255,0.06);font-size:0.82em;color:rgba(230,230,230,0.55);border:1px solid rgba(255,255,255,0.06);display:flex;align-items:center;gap:1px}.msg-caret{display:inline-block;width:1.5px;height:0.95em;background:rgba(230,230,230,0.85);animation:msgCaret 1.1s steps(1) infinite;border-radius:1px;vertical-align:middle}@keyframes msgCaret{0%,49%{opacity:1}50%,100%{opacity:0}}.msg-send{width:28px;height:28px;border-radius:50%;background:linear-gradient(180deg,#3a3d42,#2e3034);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.35),inset 0 1px 0 rgba(255,255,255,0.06);flex-shrink:0}.msg-send svg{width:16px;height:16px;display:block}.msg-wrap details{margin:0}.msg-wrap details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:10px 14px;background:rgba(255,255,255,0.03);transition:background 0.15s ease}.msg-wrap details>summary::-webkit-details-marker{display:none}.msg-wrap details>summary:hover{background:rgba(255,255,255,0.06)}.msg-notify-name{font-size:0.9em;font-weight:600;color:#f0f0f0}.msg-notify-sep{color:rgba(230,230,230,0.4);margin:0 2px}.msg-notify-txt{font-size:0.85em;color:rgba(230,230,230,0.7);flex:1;font-weight:500}.msg-notify-arr{width:8px;height:8px;border-right:1.5px solid rgba(230,230,230,0.55);border-bottom:1.5px solid rgba(230,230,230,0.55);transform:rotate(45deg);margin-right:4px;margin-top:-3px;transition:transform 0.2s ease}.msg-wrap details[open]>summary>.msg-notify-arr{transform:rotate(-135deg);margin-top:3px}.msg-wrap details[open]>summary{border-bottom:1px solid rgba(255,255,255,0.07)}.msg-wrap details:not([open]) .msg-head{display:none}</style><details><summary><span class=\"msg-notify-txt\">новое сообщение</span><span class=\"msg-notify-arr\"></span></summary><div class=\"msg-head\"><div class=\"msg-meta\"><span class=\"msg-name\">$1</span><span class=\"msg-status\">в сети</span></div></div><div class=\"msg-chat\"><div class=\"msg-b\" data-t=\"$2\">$3</div><div class=\"msg-b\" data-t=\"$4\">$5</div><div class=\"msg-b\" data-t=\"$6\">$7</div><div class=\"msg-b\" data-t=\"$8\">$9</div><div class=\"msg-b\" data-t=\"$10\">$11</div><div class=\"msg-b\" data-t=\"$12\">$13</div><div class=\"msg-b\" data-t=\"$14\">$15</div><div class=\"msg-b\" data-t=\"$16\">$17</div><div class=\"msg-b\" data-t=\"$18\">$19</div><div class=\"msg-b\" data-t=\"$20\">$21</div></div><div class=\"msg-input\"><div class=\"msg-field\">Сообщение<span class=\"msg-caret\"></span></div><div class=\"msg-send\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"12\" y1=\"19\" x2=\"12\" y2=\"6\"></line><polyline points=\"6,12 12,6 18,12\"></polyline></svg></div></div></details></div>",
    "trimStrings": [],
    "placement": [
        1,
        2
    ],
    "disabled": false,
    "markdownOnly": true,
    "promptOnly": false,
    "runOnEdit": true,
    "substituteRegex": 0,
    "minDepth": null,
    "maxDepth": null
}