@sapia-ai/chatbot 2.33.0 → 2.33.1-beta.2276

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## [2.33.1-beta.2276](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.33.1...v2.33.1-beta.2276) (2026-04-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **PlacesAutoComplete:** always show send button for normal mode ([82aba55](https://github.com/PredictiveHire/phapp-fi-widget/commit/82aba5527f57b2181c3303b39a143faaaab5dc72))
7
+ * **PlacesAutoComplete:** enable send button for manual location input when no location is suggested ([ce6fb5e](https://github.com/PredictiveHire/phapp-fi-widget/commit/ce6fb5e31827d7652fde4f600cafb0345bade1c7))
8
+ * **PlacesAutoComplete:** simplify send button logic for manual input ([b8b7c93](https://github.com/PredictiveHire/phapp-fi-widget/commit/b8b7c9399950d3cf2327cde1e4888a90aa57f239))
9
+
10
+
11
+
12
+ ## [2.33.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.33.0...v2.33.1) (2026-03-10)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **common:** [ED-1387] support Vimeo privacy hash in embed URL ([f37eac6](https://github.com/PredictiveHire/phapp-fi-widget/commit/f37eac6517bc97da5ff036254ebb4d688d4702d0))
18
+
19
+
20
+
1
21
  # [2.33.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.32.0...v2.33.0) (2026-03-02)
2
22
 
3
23
 
@@ -0,0 +1,245 @@
1
+ # Release Workflow Guide
2
+
3
+ ## Overview
4
+
5
+ This project follows GitFlow best practices with semantic-release. All releases are published from the `main` branch after PR review and merge.
6
+
7
+ The project supports two types of releases:
8
+ - **Beta Releases**: Test versions published from any branch for early testing (tagged as `beta` on npm)
9
+ - **Production Releases**: Official versions published from `main` branch (tagged as `latest` on npm)
10
+
11
+ ## Regular Release Process
12
+
13
+ ### 1. Prepare Release Branch
14
+
15
+ ```bash
16
+ # From develop branch, create a release branch
17
+ git checkout develop
18
+ git pull origin develop
19
+ git checkout -b release/YYYY.MM.DD
20
+ ```
21
+
22
+ ### 2. Create Pull Request
23
+
24
+ - Create PR from `release/YYYY.MM.DD` → `main`
25
+ - Request team review
26
+ - Address any feedback
27
+
28
+ ### 3. Merge to Main
29
+
30
+ - Get PR approval
31
+ - Merge PR to `main` branch
32
+
33
+ ### 4. Release via Buildkite
34
+
35
+ - Buildkite pipeline automatically runs on `main` branch
36
+ - Navigate through the pipeline:
37
+ - Tests and build will run automatically
38
+ - **Optional: Publish beta** - Select "No" (or "Yes" if you want a beta version too)
39
+ - Click through DEV and QA deployment blocks if needed
40
+ - **Click "Release phchatbot" block** when ready to publish production release
41
+ - Semantic-release will:
42
+ - Analyze commits since last release
43
+ - Determine version bump (major/minor/patch)
44
+ - Create git tag (e.g., `v2.34.0`)
45
+ - Publish to npm with `latest` tag
46
+ - Create GitHub release with changelog
47
+
48
+ ### 5. Sync Back to Develop
49
+
50
+ ```bash
51
+ # Merge main back to develop to keep them in sync
52
+ git checkout develop
53
+ git pull origin develop
54
+ git rebase main --rebase-merges
55
+ git push develop
56
+ ```
57
+
58
+ ## Beta Release Process
59
+
60
+ Beta releases allow you to publish test versions to npm for early testing without creating an official release. Beta versions are independent of the main release workflow.
61
+
62
+ ### When to Use Beta Releases
63
+
64
+ - Testing features before merging to `main`
65
+ - Sharing work-in-progress with QA or stakeholders
66
+ - Validating fixes in a production-like environment
67
+ - Testing integration with other packages
68
+
69
+ ### How to Publish a Beta Release
70
+
71
+ 1. **Push Your Branch**: Push your feature/release/hotfix branch to GitHub
72
+ ```bash
73
+ git push origin your-branch-name
74
+ ```
75
+
76
+ 2. **Trigger Buildkite Pipeline**: Buildkite will automatically run when you push
77
+
78
+ 3. **Navigate Through Pipeline**:
79
+ - Tests and build run automatically
80
+ - When you reach the "Release Beta?" block, you'll see a dropdown
81
+ - Select **"Yes - Publish beta"** from the dropdown
82
+ - Click "Continue"
83
+
84
+ 4. **Beta Version Published**:
85
+ - The beta release step will run
86
+ - Creates version: `{current-version}-beta.{build-number}`
87
+ - Example: `2.33.0-beta.456`
88
+ - Published to npm with `beta` tag
89
+ - Does NOT create git tags or GitHub releases
90
+ - Does NOT modify `package.json` in the repository
91
+
92
+ ### Installing Beta Versions
93
+
94
+ Users can install beta versions using the beta tag or specific version:
95
+
96
+ ```bash
97
+ # Install latest beta
98
+ npm install @sapia-ai/chatbot@beta
99
+
100
+ # Install specific beta version
101
+ npm install @sapia-ai/chatbot@2.33.0-beta.456
102
+ ```
103
+
104
+ ### Beta Release Notes
105
+
106
+ - Beta releases are **independent** of deployment steps (DEV/QA)
107
+ - You can publish beta WITHOUT deploying to environments
108
+ - You can deploy to DEV/QA WITHOUT publishing beta
109
+ - Beta releases do NOT affect the final production release
110
+ - The `package.json` is restored after beta publish to avoid conflicts
111
+ - Multiple beta releases can be published from the same branch
112
+
113
+ ### Beta vs Production Release
114
+
115
+ | Feature | Beta Release | Production Release |
116
+ |---------|-------------|-------------------|
117
+ | Source Branch | Any branch | `main` only |
118
+ | Version Format | `X.Y.Z-beta.BUILD` | `X.Y.Z` |
119
+ | npm Tag | `beta` | `latest` |
120
+ | Git Tag | ❌ No | ✅ Yes |
121
+ | GitHub Release | ❌ No | ✅ Yes |
122
+ | Semantic Versioning | ❌ Manual | ✅ Automatic |
123
+ | Modifies Repo | ❌ No | ✅ Yes (version bump) |
124
+
125
+ ## Regular Release Process
126
+
127
+ ### 1. Create Hotfix Branch
128
+
129
+ ```bash
130
+ # From main branch, create a hotfix branch
131
+ git checkout main
132
+ git pull origin main
133
+ git checkout -b hotfix/TICKET-123-description
134
+ ```
135
+
136
+ ### 2. Fix the Issue
137
+
138
+ - Make necessary fixes
139
+ - Test thoroughly
140
+ - Commit with conventional commit message (e.g., `fix: resolve critical bug`)
141
+
142
+ ### 3. Create Pull Request
143
+
144
+ - Create PR from `hotfix/TICKET-123` → `main`
145
+ - Request quick review
146
+ - Get approval
147
+
148
+ ### 4. Merge and Release
149
+
150
+ - Merge PR to `main`
151
+ - Follow same Buildkite release process as regular releases
152
+ - Click "Release phchatbot" block
153
+
154
+ ### 5. Sync Back to Develop
155
+
156
+ ```bash
157
+ # Merge main back to develop
158
+ git checkout develop
159
+ git pull origin develop
160
+ git rebase main --rebase-merges
161
+ git push origin develop
162
+ ```
163
+
164
+ ## Commit Message Convention
165
+
166
+ Use [Conventional Commits](https://www.conventionalcommits.org/) format:
167
+
168
+ - `feat: add new feature` → triggers MINOR version bump
169
+ - `fix: resolve bug` → triggers PATCH version bump
170
+ - `feat!: breaking change` or `BREAKING CHANGE:` in footer → triggers MAJOR version bump
171
+ - `chore:`, `docs:`, `style:`, `refactor:`, `test:` → no version bump
172
+
173
+ ## Key Points
174
+
175
+ ✅ **DO:**
176
+ - Create PRs for all releases and hotfixes
177
+ - Get code review before merging to `main`
178
+ - Release from `main` branch only (via Buildkite)
179
+ - Merge `main` back to `develop` after release
180
+ - Use conventional commit messages
181
+ - Use beta releases for testing before final release
182
+ - Keep beta and production releases independent
183
+
184
+ ❌ **DON'T:**
185
+ - Try to release from `release/*` or `hotfix/*` branches
186
+ - Manually create tags or versions
187
+ - Skip the PR review process
188
+ - Forget to sync `main` back to `develop`
189
+ - Rely on beta versions in production (use `latest` tag only)
190
+
191
+ ## Why This Workflow?
192
+
193
+ 1. **Review Before Release**: PR review ensures code quality
194
+ 2. **Release After Merge**: Follows semantic-release best practices
195
+ 3. **Single Source of Truth**: `main` always reflects production
196
+ 4. **Clean Git History**: All release tags are on `main` branch
197
+ 5. **No Duplicate Releases**: Only `main` can trigger releases
198
+ 6. **Automatic Versioning**: Semantic-release handles version bumps based on commits
199
+
200
+ ## Troubleshooting
201
+
202
+ ### "This run was triggered by a pull request and therefore a new version won't be published"
203
+
204
+ This is expected behavior. Production releases only work from the `main` branch, not from PR contexts. Solution: Merge the PR first, then run the release. If you need to test before merging, use a beta release instead.
205
+
206
+ ### Version didn't bump as expected
207
+
208
+ Check your commit messages. Only `feat:` and `fix:` (and breaking changes) trigger version bumps. Use `git log` to review commits since last release.
209
+
210
+ ### Need to test changes before merging
211
+
212
+ Use beta releases! Push your branch, run Buildkite, and select "Yes - Publish beta" in the Release Beta block. This creates a test version without affecting the main release.
213
+
214
+ ### Beta release failed
215
+
216
+ Check that:
217
+ - `NPM_TOKEN` is configured in Buildkite
218
+ - You selected "Yes - Publish beta" in the dropdown
219
+ - The build step completed successfully
220
+ - Check Buildkite logs for specific error messages
221
+
222
+ ### Need to release urgently
223
+
224
+ For urgent hotfixes:
225
+ 1. Create hotfix branch from `main`
226
+ 2. Make fix with `fix:` commit message
227
+ 3. Create PR and get quick review
228
+ 4. Merge to `main`
229
+ 5. Run Buildkite release immediately
230
+
231
+ ### Want to unpublish a beta version
232
+
233
+ Beta versions remain on npm but won't affect users who install `@latest`. If needed, you can deprecate or unpublish using npm CLI:
234
+
235
+ ```bash
236
+ # Deprecate a beta version
237
+ npm deprecate @sapia-ai/chatbot@2.33.0-beta.456 "Use latest stable version"
238
+
239
+ # Unpublish (only within 72 hours)
240
+ npm unpublish @sapia-ai/chatbot@2.33.0-beta.456
241
+ ```
242
+
243
+ ## Questions?
244
+
245
+ Contact the DevOps or Engineering team for assistance with the release process.
@@ -0,0 +1,40 @@
1
+ # Flow of Data Diagram
2
+
3
+ ```mermaid
4
+ flowchart TD
5
+
6
+ index["index.ts"] --> RootApp["RootApp"]
7
+
8
+ RootApp --> ChatBotInterview["ChatBotInterview"]
9
+
10
+ ChatBotInterview --> PHChatBot["PHChatBot"]
11
+
12
+ PHChatBot --> App["App"]
13
+ PHChatBot --> OrderAssessment["OrderAssessment"]
14
+ PHChatBot --> GenericLang["GenericLanguageSelectionPage"]
15
+ PHChatBot --> AppLang["ApplicationLanguageSelectionPage"]
16
+
17
+ OrderAssessment -.->|"OrderAssessment redirects to generic assessment page"|RootApp
18
+
19
+ App --> ChatbotApp["ChatbotApp"]
20
+
21
+ ChatbotApp --> AccessVerification["AccessVerification"]
22
+ ChatbotApp --> Layout["Layout"]
23
+
24
+ Layout --> Assessment["Assessment"]
25
+
26
+ Assessment --> DialogueFlow["AssessmentDialogueFlow"]
27
+ Assessment --> ResponseFlow["AssessmentResponseFlow"]
28
+
29
+ DialogueFlow --> AgentBubble["AgentMessage Bubble"]
30
+ DialogueFlow --> CandidateBubble["CandidateMessage Bubble"]
31
+
32
+ ResponseFlow --> VideoResponse["VideoResponse"]
33
+ ResponseFlow --> PlacesAutoComplete["PlacesAutoComplete"]
34
+ ResponseFlow --> FTQResponse["FTQResponse"]
35
+
36
+ PlacesAutoComplete --> FTQResponse
37
+
38
+ FTQResponse --> PhoneEditor["PhoneEditor"]
39
+ FTQResponse --> NameEditor["NameEditor"]
40
+ FTQResponse --> PlainTextEditor["PlainTextEditor"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapia-ai/chatbot",
3
- "version": "2.33.0",
3
+ "version": "2.33.1-beta.2276",
4
4
  "description": "",
5
5
  "main": "predictivehire.js",
6
6
  "scripts": {
@@ -0,0 +1,176 @@
1
+ {
2
+ "name": "@sapia-ai/chatbot",
3
+ "version": "2.33.1",
4
+ "description": "",
5
+ "main": "predictivehire.js",
6
+ "scripts": {
7
+ "start": "vite --host",
8
+ "build": "pnpm build-chatbot && vite build",
9
+ "serve": "vite preview",
10
+ "test": "vitest",
11
+ "test:coverage": "vitest run --coverage",
12
+ "lint": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx ./src",
13
+ "lint:fix": "eslint --fix .",
14
+ "clean-chatbot": "rm -rf dist-chatbot",
15
+ "build-chatbot": "pnpm clean-chatbot && vite build --config vite.chatbot.config.js && tsc -p tsconfig.build.json --emitDeclarationOnly --noEmit false",
16
+ "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
17
+ "version:get-bump": "conventional-recommended-bump -p angular",
18
+ "version:auto": "pnpm version --no-commit-hooks --$(pnpm -s version:get-bump)",
19
+ "prettier:lint": "pnpm prettier --config .prettierrc.yml --check './src/**/*.{ts,tsx}'",
20
+ "prettier:fix": "pnpm prettier --config .prettierrc.yml --write './src/**/*.{ts,tsx}'",
21
+ "prepare": "husky install",
22
+ "dep:upgrade": "ncu -u && pnpm install",
23
+ "semantic-release": "semantic-release"
24
+ },
25
+ "eslintConfig": {
26
+ "extends": [
27
+ "react-app",
28
+ "react-app/jest"
29
+ ]
30
+ },
31
+ "author": "",
32
+ "license": "ISC",
33
+ "devDependencies": {
34
+ "@babel/plugin-transform-runtime": "^7.16.0",
35
+ "@babel/preset-env": "^7.21.5",
36
+ "@babel/preset-typescript": "^7.16.0",
37
+ "@commitlint/cli": "^17.1.2",
38
+ "@commitlint/config-conventional": "^17.1.0",
39
+ "@rollup/plugin-babel": "^6.0.3",
40
+ "@semantic-release/git": "^10.0.1",
41
+ "@testing-library/dom": "^8.11.1",
42
+ "@testing-library/jest-dom": "^5.17.0",
43
+ "@testing-library/react": "^12.1.2",
44
+ "@testing-library/react-hooks": "^7.0.2",
45
+ "@testing-library/user-event": "^14.4.3",
46
+ "@types/jest": "^27.0.2",
47
+ "@types/markdown-draft-js": "^2.2.4",
48
+ "@types/node": "^16.11.7",
49
+ "@types/react": "^17.0.34",
50
+ "@types/react-dom": "^17.0.11",
51
+ "@types/react-draft-wysiwyg": "^1.13.3",
52
+ "@types/react-loadable": "^5.5.6",
53
+ "@types/react-places-autocomplete": "^7.2.9",
54
+ "@types/recordrtc": "^5.6.8",
55
+ "@types/testing-library__jest-dom": "^5.14.9",
56
+ "@types/uuid": "^8.3.1",
57
+ "@types/validator": "^13.6.6",
58
+ "@types/video.js": "^7.3.27",
59
+ "@typescript-eslint/eslint-plugin": "^5.3.1",
60
+ "@typescript-eslint/parser": "^5.3.1",
61
+ "@vitejs/plugin-react": "^3.1.0",
62
+ "@vitest/coverage-c8": "^0.30.1",
63
+ "@vitest/coverage-istanbul": "^0.34.6",
64
+ "autoprefixer": "^10.4.14",
65
+ "babel-plugin-import": "^1.13.3",
66
+ "babel-plugin-transform-class-properties": "^6.24.1",
67
+ "commitizen": "^4.2.4",
68
+ "conventional-changelog-cli": "^2.1.1",
69
+ "conventional-recommended-bump": "^6.1.0",
70
+ "cpx": "^1.5.0",
71
+ "customize-cra": "^1.0.0",
72
+ "cz-conventional-changelog": "^3.3.0",
73
+ "eslint": "^8.39.0",
74
+ "eslint-config-prettier": "^8.3.0",
75
+ "eslint-import-resolver-alias": "^1.1.2",
76
+ "eslint-plugin-import": "^2.25.3",
77
+ "eslint-plugin-node": "^11.1.0",
78
+ "eslint-plugin-prettier": "^4.0.0",
79
+ "eslint-plugin-promise": "^5.1.1",
80
+ "eslint-plugin-react": "^7.27.0",
81
+ "eslint-plugin-react-hooks": "^4.3.0",
82
+ "eslint-plugin-simple-import-sort": "^7.0.0",
83
+ "husky": "^7.0.4",
84
+ "identity-obj-proxy": "^3.0.0",
85
+ "jsdom": "^21.1.1",
86
+ "mockdate": "^3.0.5",
87
+ "npm-check-updates": "^12.0.2",
88
+ "postcss": "^8.4.23",
89
+ "prettier": "^2.4.1",
90
+ "react": "^17.0.2",
91
+ "react-dom": "^17.0.2",
92
+ "react-test-renderer": "^17.0.2",
93
+ "semantic-release": "^19.0.3",
94
+ "tscpaths": "^0.0.9",
95
+ "typescript": "^4.4.4",
96
+ "typescript-plugin-css-modules": "^3.4.0",
97
+ "vite": "^4.2.1",
98
+ "vite-plugin-checker": "^0.6.1",
99
+ "vite-plugin-css-injected-by-js": "^3.1.0",
100
+ "vite-plugin-eslint": "^1.8.1",
101
+ "vitest": "^0.30.1",
102
+ "webpack-cli": "^4.9.1"
103
+ },
104
+ "dependencies": {
105
+ "@ant-design/icons": "^4.7.0",
106
+ "@types/marked": "^6.0.0",
107
+ "@types/react-router-dom": "^5.3.2",
108
+ "@types/turndown": "^5.0.5",
109
+ "@vimeo/player": "^2.30.2",
110
+ "ahooks": "^2.10.12",
111
+ "antd": "4.17.0",
112
+ "axios": "^1.6.0",
113
+ "babel-loader": "8.1.0",
114
+ "bowser": "^2.11.0",
115
+ "classnames": "^2.3.1",
116
+ "detect-browser": "^5.2.1",
117
+ "emoji-regex": "^10.0.0",
118
+ "i18next": "^22.4.10",
119
+ "is-mobile": "^3.0.0",
120
+ "less": "^4.1.2",
121
+ "less-loader": "^5.0.0",
122
+ "libphonenumber-js": "^1.10.39",
123
+ "marked": "^15.0.11",
124
+ "quill-emoji": "^0.2.0",
125
+ "react-app-polyfill": "^2.0.0",
126
+ "react-google-autocomplete": "^2.6.0",
127
+ "react-loadable": "^5.5.0",
128
+ "react-markdown": "^5.0.3",
129
+ "react-places-autocomplete": "^7.3.0",
130
+ "react-player": "^3.4.0",
131
+ "react-quill": "^2.0.0",
132
+ "react-router-dom": "^6.0.2",
133
+ "recordrtc": "^5.6.2",
134
+ "resize-observer-polyfill": "^1.5.1",
135
+ "ts-ebml": "^2.0.2",
136
+ "turndown": "^7.2.0",
137
+ "url-loader": "^4.1.1",
138
+ "uuid": "^8.3.2",
139
+ "validator": "^13.7.0",
140
+ "video.js": "^7.15.4",
141
+ "videojs-record": "^4.5.0",
142
+ "webrtc-adapter": "^9.0.3"
143
+ },
144
+ "peerDependencies": {
145
+ "react": ">=16.8.0",
146
+ "react-dom": ">=16.8.0"
147
+ },
148
+ "browserslist": {
149
+ "production": [
150
+ ">0.2%",
151
+ "not dead",
152
+ "not op_mini all"
153
+ ],
154
+ "development": [
155
+ "last 1 chrome version",
156
+ "last 1 firefox version",
157
+ "last 1 safari version"
158
+ ]
159
+ },
160
+ "config": {
161
+ "commitizen": {
162
+ "path": "./node_modules/cz-conventional-changelog"
163
+ }
164
+ },
165
+ "repository": {
166
+ "type": "git",
167
+ "url": "git+https://github.com/PredictiveHire/phapp-fi-widget.git"
168
+ },
169
+ "publishConfig": {
170
+ "access": "public"
171
+ },
172
+ "volta": {
173
+ "node": "20.11.0",
174
+ "pnpm": "9.3.0"
175
+ }
176
+ }
package/predictivehire.js CHANGED
@@ -32198,20 +32198,21 @@ let si = {}, RC = class {
32198
32198
  };
32199
32199
  XL || (si = PDe(), wDe(), ADe(), FDe(), kDe(), ODe());
32200
32200
  const bu = () => Kf(GL), MDe = (t) => {
32201
- const e = [/vimeo\.com\/(\d+)/, /player\.vimeo\.com\/video\/(\d+)/, /vimeo\.com\/channels\/[\w-]+\/(\d+)/, /vimeo\.com\/groups\/[\w-]+\/videos\/(\d+)/];
32202
- for (const r of e) {
32203
- const i = t.match(r);
32204
- if (i)
32205
- return i[1];
32201
+ const e = /vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([a-zA-Z0-9]+))?/, r = t.match(e);
32202
+ if (!r) {
32203
+ const a = t.match(/player\.vimeo\.com\/video\/(\d+)/);
32204
+ return a ? { videoId: a[1] } : null;
32206
32205
  }
32207
- return null;
32208
- }, NDe = (t) => {
32209
- const e = new URLSearchParams({
32210
- dnt: "1",
32211
- // Do Not Track
32212
- fullscreen: "1"
32213
- });
32214
- return "https://player.vimeo.com/video/".concat(t, "?").concat(e.toString());
32206
+ const i = r[2];
32207
+ let n = r[3];
32208
+ try {
32209
+ n = new URL(t).searchParams.get("h") || n;
32210
+ } catch (a) {
32211
+ }
32212
+ return { videoId: i, privacyHash: n || void 0 };
32213
+ }, NDe = (t, e) => {
32214
+ const r = new URLSearchParams();
32215
+ return e && r.append("h", e), r.append("dnt", "1"), r.append("fullscreen", "1"), "https://player.vimeo.com/video/".concat(t, "?").concat(r.toString());
32215
32216
  }, LDe = (t) => {
32216
32217
  let { src: e, width: r = "100%", height: i = "100%", onPlay: n, onPause: a, onEnded: o, onError: s } = t;
32217
32218
  const u = Ge(null), l = Ge(null), c = Ge(null), [d, f] = Ve(!1), { assessmentState: { isVideoModuleOpen: h } } = bu();
@@ -32226,7 +32227,7 @@ const bu = () => Kf(GL), MDe = (t) => {
32226
32227
  return;
32227
32228
  }
32228
32229
  const m = document.createElement("iframe");
32229
- m.src = NDe(p), m.width = r, m.height = i, m.frameBorder = "0", m.referrerPolicy = "origin", m.allow = "autoplay; fullscreen; picture-in-picture", m.allowFullscreen = !0, m.style.width = "100%", m.style.height = "100%", m.style.border = "none", u.current.innerHTML = "", u.current.appendChild(m), l.current = m;
32230
+ m.src = NDe(p.videoId, p.privacyHash), m.width = r, m.height = i, m.frameBorder = "0", m.referrerPolicy = "origin", m.allow = "autoplay; fullscreen; picture-in-picture", m.allowFullscreen = !0, m.style.width = "100%", m.style.height = "100%", m.style.border = "none", u.current.innerHTML = "", u.current.appendChild(m), l.current = m;
32230
32231
  const v = new RC(m);
32231
32232
  return c.current = v, v.on("play", () => {
32232
32233
  f(!0), n == null || n();
@@ -43599,7 +43600,7 @@ const i7e = { "option-list": "_option-list_y65d5_1", "option-item": "_option-ite
43599
43600
  a(E), h(), e && await e(E);
43600
43601
  }
43601
43602
  }, y = () => c.length ? /* @__PURE__ */ le.jsx("div", { className: jA["option-list"], children: c.map((_) => /* @__PURE__ */ le.jsx("div", { className: jA["option-item"], onClick: () => g(_), children: /* @__PURE__ */ le.jsx("span", { children: _.description }) }, _.placeId)) }) : null;
43602
- return u ? /* @__PURE__ */ le.jsx(nE, { isSendButtonShown: !0, sendCircleButtonProps: i, wordCountRule: r, onChange: m, onSend: v, initialValue: o }) : /* @__PURE__ */ le.jsx(iI, { visible: c.length > 0, placement: "top", content: y, trigger: [], children: /* @__PURE__ */ le.jsx(nE, { isSendButtonShown: !1, sendCircleButtonProps: i, wordCountRule: r, onChange: m }) });
43603
+ return u ? /* @__PURE__ */ le.jsx(nE, { isSendButtonShown: !0, sendCircleButtonProps: i, wordCountRule: r, onChange: m, onSend: v, initialValue: o }) : (console.log("ALWAYS SHOW SEND BUTTON"), /* @__PURE__ */ le.jsx(iI, { visible: c.length > 0, placement: "top", content: y, trigger: [], children: /* @__PURE__ */ le.jsx(nE, { isSendButtonShown: !0, sendCircleButtonProps: i, wordCountRule: r, onChange: m, onSend: v }) }));
43603
43604
  };
43604
43605
  let e$ = !0, t$ = !0;
43605
43606
  function Yd(t, e, r) {