<commit_before>cask "cloud-pbx" do
  version "172.16.58.3"
  sha256 "9f82127c2cc31be35032f37c7e9b6835524aff1f3133d38aa16f1d921c99eb68"

  url "https://cpbx-hilfe.deutschland-lan.de/downloads/desktop-clients/cloud-pbx.osx-#{version}",
      verified: "cpbx-hilfe.deutschland-lan.de/downloads/"
  name "Cloud PBX"
  homepage "https://geschaeftskunden.telekom.de/startseite/festnetz-internet/tarife/332198/telefonanlage-aus-der-cloud.html"

  livecheck do
    url "https://cpbx-hilfe.deutschland-lan.de/de/direkthilfe/hilfe-downloads"
    strategy :page_match
    regex(%r{href=.*?/cloud-pbx\.osx-(\d+(?:\.\d+)*)}i)
  end

  app "Cloud PBX.app"

  zap trash: [
    "~/Library/Application Support/Telekom Deutschland GmbH",
    "~/Library/Caches/Telekom Deutschland GmbH",
    "~/Library/Preferences/com.broadsoft.communicator.plist",
    "~/Library/Saved Application State/com.broadsoft.communicator.savedState",
    "~/Library/Preferences/de.deutschland-lan.Cloud PBX.plist",<commit_msg>Update cloud-pbx from 172.16.58.3 to 192.168.3.11 (#105214)<commit_after>cask "cloud-pbx" do
  version "192.168.3.11"
  sha256 "f06e282210ca2a49226f1d4e4e6ad8ef407bb53e5beec401b478ab1cebfbcf00"

  url "https://cpbx-hilfe.deutschland-lan.de/downloads/desktop-clients/cloud-pbx.osx-#{version}",
      verified: "cpbx-hilfe.deutschland-lan.de/downloads/"
  name "Cloud PBX"
  desc "Cloud-based telephone system"
  homepage "https://geschaeftskunden.telekom.de/startseite/festnetz-internet/tarife/332198/telefonanlage-aus-der-cloud.html"

  livecheck do
    url "https://cpbx-hilfe.deutschland-lan.de/de/direkthilfe/hilfe-downloads"
    strategy :page_match
    regex(%r{href=.*?/cloud-pbx\.osx-(\d+(?:\.\d+)*)}i)
  end

  app "Cloud PBX.app"

  zap trash: [
    "~/Library/Application Support/Telekom Deutschland GmbH",
    "~/Library/Caches/Telekom Deutschland GmbH",
    "~/Library/Preferences/com.broadsoft.communicator.plist",
    "~/Library/Saved Application State/com.broadsoft.communicator.savedState",
    "~/Library/Preferences/de.deutschland-lan.Cloud PBX.plist",
{'fraction_non_alphanumeric': 0.15425790754257906, 'fraction_numerical': 0.06520681265206812, 'mean_word_length': 4.258312020460358, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6567110', 'n_tokens_mistral': 922, 'n_tokens_neox': 816, 'n_words': 93}